@react-spectrum/inlinealert 3.0.0-nightly.4070 → 3.0.0

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.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;;AEVD,4BAAiB;IAAG,QAAQ,CAAC,OAAO,CAAC;IACnC,YAAY,CAAC,GAAG,CAAC;IACjB,UAAU,CAAC,KAAK,CAAC;IACjB,YAAY,CAAC,QAAQ,CAAC;AACxB;;;;ACJA,4BAAiB;IAAG,QAAQ,CAAC,UAAU,CAAC;IACtC,YAAY,CAAC,MAAM,CAAC;IACpB,UAAU,CAAC,cAAc,CAAC;IAC1B,YAAY,CAAC,OAAO,CAAC;AACvB;;;;ACJA,4BAAiB;IAAG,QAAQ,CAAC,SAAS,CAAC;IACrC,YAAY,CAAC,KAAK,CAAC;IACnB,UAAU,CAAC,QAAQ,CAAC;IACpB,YAAY,CAAC,MAAM,CAAC;AACtB;;;;ACJA,4BAAiB;IAAG,QAAQ,CAAC,WAAW,CAAC;IACvC,YAAY,CAAC,IAAI,CAAC;IAClB,UAAU,CAAC,QAAQ,CAAC;IACpB,YAAY,CAAC,QAAQ,CAAC;AACxB;;;;ACJA,4BAAiB;IAAG,QAAQ,CAAC,aAAa,CAAC;IACzC,YAAY,CAAC,MAAM,CAAC;IACpB,UAAU,CAAC,OAAO,CAAC;IACnB,YAAY,CAAC,MAAM,CAAC;AACtB;;;;ACJA,4BAAiB;IAAG,QAAQ,CAAC,WAAW,CAAC;IACvC,YAAY,CAAC,MAAM,CAAC;IACpB,UAAU,CAAC,aAAa,CAAC;IACzB,YAAY,CAAC,QAAQ,CAAC;AACxB;;;;ACJA,4BAAiB;IAAG,YAAY,CAAC,KAAK,CAAC;IACrC,UAAU,CAAC,OAAO,CAAC;IACnB,QAAQ,CA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Q,WACR,UAAU,YACV,GAAG,YACJ,GAAG;IAEJ,IAAI,cAAC,WAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IACjC,IAAI,SAAS,CAAA,GAAA,mCAAQ,EAAE;IAEvB,IAAI,QAAQ;QACV,SAAS;YAAC,kBAAkB,CAAA,GAAA,gEAAK,CAAC,CAAC,+BAA+B;QAAA;QAClE,SAAS;YAAC,kBAAkB,CAAA,GAAA,gEAAK,CAAC,CAAC,+BAA+B;QAAA;IACpE;IAEA,IAAI,kBAAkB,CAAA,GAAA,gDAA0B,EAAE,CAAA,GAAA,gEAAW;IAC7D,IAAI,OAAO;IACX,IAAI;IACJ,IAAI,WAAW,6BAAO;QACpB,OAAO,2BAAK,CAAC,QAAQ;QACrB,UAAU,gBAAgB,OAAO;IACnC;IAEA,qBACE,0DAAC;QACE,GAAG,CAAA,GAAA,oCAAa,EAAE,MAAM;QACxB,GAAG,UAAU;QACd,KAAK;QACL,WAAW,CAAA,GAAA,oCAAS,EAClB,CAAA,GAAA,gEAAK,GACL,wBACA,CAAC,sBAAsB,EAAE,QAAQ,CAAC,EAClC,WAAW;QAEb,MAAK;qBACL,0DAAC,CAAA,GAAA,+BAAG;QAAE,kBAAkB,CAAA,GAAA,gEAAK,CAAC,CAAC,4BAA4B;qBACzD,0DAAC,CAAA,GAAA,sCAAW;QAAE,OAAO;OAClB,sBAAQ,0DAAC;QAAK,kBAAkB,CAAA,GAAA,gEAAK,CAAC,CAAC,4BAA4B;QAAE,cAAY;QACjF;AAKX;AAEA;;;CAGC,GACD,MAAM,0DAAe,CAAA,GAAA,sCAAI,EAAE,WAAW;","sources":["packages/@react-spectrum/inlinealert/src/index.ts","packages/@react-spectrum/inlinealert/src/InlineAlert.tsx","packages/@react-spectrum/inlinealert/src/*.js","packages/@react-spectrum/inlinealert/intl/ar-AE.json","packages/@react-spectrum/inlinealert/intl/bg-BG.json","packages/@react-spectrum/inlinealert/intl/cs-CZ.json","packages/@react-spectrum/inlinealert/intl/da-DK.json","packages/@react-spectrum/inlinealert/intl/de-DE.json","packages/@react-spectrum/inlinealert/intl/el-GR.json","packages/@react-spectrum/inlinealert/intl/en-US.json","packages/@react-spectrum/inlinealert/intl/es-ES.json","packages/@react-spectrum/inlinealert/intl/et-EE.json","packages/@react-spectrum/inlinealert/intl/fi-FI.json","packages/@react-spectrum/inlinealert/intl/fr-FR.json","packages/@react-spectrum/inlinealert/intl/he-IL.json","packages/@react-spectrum/inlinealert/intl/hr-HR.json","packages/@react-spectrum/inlinealert/intl/hu-HU.json","packages/@react-spectrum/inlinealert/intl/it-IT.json","packages/@react-spectrum/inlinealert/intl/ja-JP.json","packages/@react-spectrum/inlinealert/intl/ko-KR.json","packages/@react-spectrum/inlinealert/intl/lt-LT.json","packages/@react-spectrum/inlinealert/intl/lv-LV.json","packages/@react-spectrum/inlinealert/intl/nb-NO.json","packages/@react-spectrum/inlinealert/intl/nl-NL.json","packages/@react-spectrum/inlinealert/intl/pl-PL.json","packages/@react-spectrum/inlinealert/intl/pt-BR.json","packages/@react-spectrum/inlinealert/intl/pt-PT.json","packages/@react-spectrum/inlinealert/intl/ro-RO.json","packages/@react-spectrum/inlinealert/intl/ru-RU.json","packages/@react-spectrum/inlinealert/intl/sk-SK.json","packages/@react-spectrum/inlinealert/intl/sl-SI.json","packages/@react-spectrum/inlinealert/intl/sr-SP.json","packages/@react-spectrum/inlinealert/intl/sv-SE.json","packages/@react-spectrum/inlinealert/intl/tr-TR.json","packages/@react-spectrum/inlinealert/intl/uk-UA.json","packages/@react-spectrum/inlinealert/intl/zh-CN.json","packages/@react-spectrum/inlinealert/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/inlinealert/vars.css"],"sourcesContent":["/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {InlineAlert} from './InlineAlert';\n","/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport AlertMedium from '@spectrum-icons/ui/AlertMedium';\nimport {classNames, SlotProvider, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {Grid} from '@react-spectrum/layout';\nimport InfoMedium from '@spectrum-icons/ui/InfoMedium';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React from 'react';\nimport {SpectrumInlineAlertProps} from '@react-types/inlinealert';\nimport styles from '@adobe/spectrum-css-temp/components/inlinealert/vars.css';\nimport SuccessMedium from '@spectrum-icons/ui/SuccessMedium';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nlet ICONS = {\n info: InfoMedium,\n positive: SuccessMedium,\n notice: AlertMedium,\n negative: AlertMedium\n};\n\nfunction InlineAlert(props: SpectrumInlineAlertProps, ref: DOMRef<HTMLDivElement>) {\n props = useProviderProps(props);\n let {\n children,\n variant = 'neutral',\n ...otherProps\n } = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n\n let slots = {\n heading: {UNSAFE_className: styles['spectrum-InLineAlert-heading']},\n content: {UNSAFE_className: styles['spectrum-InLineAlert-content']}\n };\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let Icon = null;\n let iconAlt: string;\n if (variant in ICONS) {\n Icon = ICONS[variant];\n iconAlt = stringFormatter.format(variant);\n }\n\n return (\n <div\n {...filterDOMProps(props)}\n {...styleProps}\n ref={domRef}\n className={classNames(\n styles,\n 'spectrum-InLineAlert',\n `spectrum-InLineAlert--${variant}`,\n styleProps.className\n )}\n role=\"alert\">\n <Grid UNSAFE_className={styles['spectrum-InLineAlert-grid']}>\n <SlotProvider slots={slots}>\n {Icon && <Icon UNSAFE_className={styles['spectrum-InLineAlert-icon']} aria-label={iconAlt} />}\n {children}\n </SlotProvider>\n </Grid>\n </div>\n );\n}\n\n/**\n * Inline alerts display a non-modal message associated with objects in a view.\n * These are often used in form validation, providing a place to aggregate feedback related to multiple fields.\n */\nconst _InlineAlert = React.forwardRef(InlineAlert);\nexport {_InlineAlert as InlineAlert};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"info\": \"معلومات\",\n \"negative\": \"خطأ\",\n \"notice\": \"تحذير\",\n \"positive\": \"تم بنجاح\"\n}\n","{\n \"info\": \"Информация\",\n \"negative\": \"Грешка\",\n \"notice\": \"Предупреждение\",\n \"positive\": \"Успешно\"\n}\n","{\n \"info\": \"Informace\",\n \"negative\": \"Chyba\",\n \"notice\": \"Varování\",\n \"positive\": \"Úspěch\"\n}\n","{\n \"info\": \"Oplysninger\",\n \"negative\": \"Fejl\",\n \"notice\": \"Advarsel\",\n \"positive\": \"Fuldført\"\n}\n","{\n \"info\": \"Informationen\",\n \"negative\": \"Fehler\",\n \"notice\": \"Warnung\",\n \"positive\": \"Erfolg\"\n}\n","{\n \"info\": \"Πληροφορίες\",\n \"negative\": \"Σφάλμα\",\n \"notice\": \"Προειδοποίηση\",\n \"positive\": \"Επιτυχία\"\n}\n","{\n \"negative\": \"Error\",\n \"notice\": \"Warning\",\n \"info\": \"Information\",\n \"positive\": \"Success\"\n}\n","{\n \"info\": \"Información\",\n \"negative\": \"Error\",\n \"notice\": \"Advertencia\",\n \"positive\": \"Éxito\"\n}\n","{\n \"info\": \"Teave\",\n \"negative\": \"Tõrge\",\n \"notice\": \"Hoiatus\",\n \"positive\": \"Valmis\"\n}\n","{\n \"info\": \"Tiedot\",\n \"negative\": \"Virhe\",\n \"notice\": \"Varoitus\",\n \"positive\": \"Onnistui\"\n}\n","{\n \"info\": \"Informations\",\n \"negative\": \"Erreur\",\n \"notice\": \"Avertissement\",\n \"positive\": \"Succès\"\n}\n","{\n \"info\": \"מידע\",\n \"negative\": \"שגיאה\",\n \"notice\": \"אזהרה\",\n \"positive\": \"הצלחה\"\n}\n","{\n \"info\": \"Informacije\",\n \"negative\": \"Pogreška\",\n \"notice\": \"Upozorenje\",\n \"positive\": \"Uspješno\"\n}\n","{\n \"info\": \"Információ\",\n \"negative\": \"Hiba\",\n \"notice\": \"Figyelmeztetés\",\n \"positive\": \"Siker\"\n}\n","{\n \"info\": \"Informazioni\",\n \"negative\": \"Errore\",\n \"notice\": \"Avviso\",\n \"positive\": \"Operazione riuscita\"\n}\n","{\n \"info\": \"情報\",\n \"negative\": \"エラー\",\n \"notice\": \"警告\",\n \"positive\": \"成功\"\n}\n","{\n \"info\": \"정보\",\n \"negative\": \"오류\",\n \"notice\": \"경고\",\n \"positive\": \"성공\"\n}\n","{\n \"info\": \"Informacija\",\n \"negative\": \"Klaida\",\n \"notice\": \"Įspėjimas\",\n \"positive\": \"Sėkmingai\"\n}\n","{\n \"info\": \"Informācija\",\n \"negative\": \"Kļūda\",\n \"notice\": \"Brīdinājums\",\n \"positive\": \"Izdevās\"\n}\n","{\n \"info\": \"Informasjon\",\n \"negative\": \"Feil\",\n \"notice\": \"Advarsel\",\n \"positive\": \"Vellykket\"\n}\n","{\n \"info\": \"Informatie\",\n \"negative\": \"Fout\",\n \"notice\": \"Waarschuwing\",\n \"positive\": \"Geslaagd\"\n}\n","{\n \"info\": \"Informacja\",\n \"negative\": \"Błąd\",\n \"notice\": \"Ostrzeżenie\",\n \"positive\": \"Powodzenie\"\n}\n","{\n \"info\": \"Informações\",\n \"negative\": \"Erro\",\n \"notice\": \"Aviso\",\n \"positive\": \"Sucesso\"\n}\n","{\n \"info\": \"Informação\",\n \"negative\": \"Erro\",\n \"notice\": \"Aviso\",\n \"positive\": \"Sucesso\"\n}\n","{\n \"info\": \"Informații\",\n \"negative\": \"Eroare\",\n \"notice\": \"Avertisment\",\n \"positive\": \"Succes\"\n}\n","{\n \"info\": \"Информация\",\n \"negative\": \"Ошибка\",\n \"notice\": \"Предупреждение\",\n \"positive\": \"Успешно\"\n}\n","{\n \"info\": \"Informácie\",\n \"negative\": \"Chyba\",\n \"notice\": \"Upozornenie\",\n \"positive\": \"Úspech\"\n}\n","{\n \"info\": \"Informacije\",\n \"negative\": \"Napaka\",\n \"notice\": \"Opozorilo\",\n \"positive\": \"Uspešno\"\n}\n","{\n \"info\": \"Informacije\",\n \"negative\": \"Greška\",\n \"notice\": \"Upozorenje\",\n \"positive\": \"Uspešno\"\n}\n","{\n \"info\": \"Information\",\n \"negative\": \"Fel\",\n \"notice\": \"Varning\",\n \"positive\": \"Lyckades\"\n}\n","{\n \"info\": \"Bilgiler\",\n \"negative\": \"Hata\",\n \"notice\": \"Uyarı\",\n \"positive\": \"Başarılı\"\n}\n","{\n \"info\": \"Інформація\",\n \"negative\": \"Помилка\",\n \"notice\": \"Попередження\",\n \"positive\": \"Успішно\"\n}\n","{\n \"info\": \"信息\",\n \"negative\": \"错误\",\n \"notice\": \"警告\",\n \"positive\": \"成功\"\n}\n","{\n \"info\": \"資訊\",\n \"negative\": \"錯誤\",\n \"notice\": \"警告\",\n \"positive\": \"成功\"\n}\n","/*\nCopyright 2023 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.js.map"}
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;;AEVD,4BAAiB;IAAG,QAAQ,CAAC,OAAO,CAAC;IACnC,YAAY,CAAC,GAAG,CAAC;IACjB,UAAU,CAAC,KAAK,CAAC;IACjB,YAAY,CAAC,QAAQ,CAAC;AACxB;;;;ACJA,4BAAiB;IAAG,QAAQ,CAAC,UAAU,CAAC;IACtC,YAAY,CAAC,MAAM,CAAC;IACpB,UAAU,CAAC,cAAc,CAAC;IAC1B,YAAY,CAAC,OAAO,CAAC;AACvB;;;;ACJA,4BAAiB;IAAG,QAAQ,CAAC,SAAS,CAAC;IACrC,YAAY,CAAC,KAAK,CAAC;IACnB,UAAU,CAAC,QAAQ,CAAC;IACpB,YAAY,CAAC,MAAM,CAAC;AACtB;;;;ACJA,4BAAiB;IAAG,QAAQ,CAAC,WAAW,CAAC;IACvC,YAAY,CAAC,IA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GAAA,gEAAK,CAAC,CAAC,4BAA4B;qBACzD,0DAAC,CAAA,GAAA,sCAAW;QAAE,OAAO;OAClB,sBAAQ,0DAAC;QAAK,kBAAkB,CAAA,GAAA,gEAAK,CAAC,CAAC,4BAA4B;QAAE,cAAY;QACjF;AAKX;AAEA;;;CAGC,GACD,MAAM,0DAAe,CAAA,GAAA,sCAAI,EAAE,WAAW;","sources":["packages/@react-spectrum/inlinealert/src/index.ts","packages/@react-spectrum/inlinealert/src/InlineAlert.tsx","packages/@react-spectrum/inlinealert/src/*.js","packages/@react-spectrum/inlinealert/intl/ar-AE.json","packages/@react-spectrum/inlinealert/intl/bg-BG.json","packages/@react-spectrum/inlinealert/intl/cs-CZ.json","packages/@react-spectrum/inlinealert/intl/da-DK.json","packages/@react-spectrum/inlinealert/intl/de-DE.json","packages/@react-spectrum/inlinealert/intl/el-GR.json","packages/@react-spectrum/inlinealert/intl/en-US.json","packages/@react-spectrum/inlinealert/intl/es-ES.json","packages/@react-spectrum/inlinealert/intl/et-EE.json","packages/@react-spectrum/inlinealert/intl/fi-FI.json","packages/@react-spectrum/inlinealert/intl/fr-FR.json","packages/@react-spectrum/inlinealert/intl/he-IL.json","packages/@react-spectrum/inlinealert/intl/hr-HR.json","packages/@react-spectrum/inlinealert/intl/hu-HU.json","packages/@react-spectrum/inlinealert/intl/it-IT.json","packages/@react-spectrum/inlinealert/intl/ja-JP.json","packages/@react-spectrum/inlinealert/intl/ko-KR.json","packages/@react-spectrum/inlinealert/intl/lt-LT.json","packages/@react-spectrum/inlinealert/intl/lv-LV.json","packages/@react-spectrum/inlinealert/intl/nb-NO.json","packages/@react-spectrum/inlinealert/intl/nl-NL.json","packages/@react-spectrum/inlinealert/intl/pl-PL.json","packages/@react-spectrum/inlinealert/intl/pt-BR.json","packages/@react-spectrum/inlinealert/intl/pt-PT.json","packages/@react-spectrum/inlinealert/intl/ro-RO.json","packages/@react-spectrum/inlinealert/intl/ru-RU.json","packages/@react-spectrum/inlinealert/intl/sk-SK.json","packages/@react-spectrum/inlinealert/intl/sl-SI.json","packages/@react-spectrum/inlinealert/intl/sr-SP.json","packages/@react-spectrum/inlinealert/intl/sv-SE.json","packages/@react-spectrum/inlinealert/intl/tr-TR.json","packages/@react-spectrum/inlinealert/intl/uk-UA.json","packages/@react-spectrum/inlinealert/intl/zh-CN.json","packages/@react-spectrum/inlinealert/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/inlinealert/vars.css"],"sourcesContent":["/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {InlineAlert} from './InlineAlert';\nexport type {SpectrumInlineAlertProps} from './InlineAlert';\n","/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport AlertMedium from '@spectrum-icons/ui/AlertMedium';\nimport {classNames, SlotProvider, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMProps, DOMRef, StyleProps} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {Grid} from '@react-spectrum/layout';\nimport InfoMedium from '@spectrum-icons/ui/InfoMedium';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React, {ReactNode} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/inlinealert/vars.css';\nimport SuccessMedium from '@spectrum-icons/ui/SuccessMedium';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nexport interface SpectrumInlineAlertProps extends DOMProps, StyleProps {\n /**\n * The [visual style](https://spectrum.adobe.com/page/in-line-alert/#Options) of the Inline Alert.\n * @default 'neutral'\n */\n variant?: 'neutral' | 'info' | 'positive' | 'notice' | 'negative',\n /**\n * The contents of the Inline Alert.\n */\n children: ReactNode\n}\n\nlet ICONS = {\n info: InfoMedium,\n positive: SuccessMedium,\n notice: AlertMedium,\n negative: AlertMedium\n};\n\nfunction InlineAlert(props: SpectrumInlineAlertProps, ref: DOMRef<HTMLDivElement>) {\n props = useProviderProps(props);\n let {\n children,\n variant = 'neutral',\n ...otherProps\n } = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n\n let slots = {\n heading: {UNSAFE_className: styles['spectrum-InLineAlert-heading']},\n content: {UNSAFE_className: styles['spectrum-InLineAlert-content']}\n };\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let Icon = null;\n let iconAlt: string;\n if (variant in ICONS) {\n Icon = ICONS[variant];\n iconAlt = stringFormatter.format(variant);\n }\n\n return (\n <div\n {...filterDOMProps(props)}\n {...styleProps}\n ref={domRef}\n className={classNames(\n styles,\n 'spectrum-InLineAlert',\n `spectrum-InLineAlert--${variant}`,\n styleProps.className\n )}\n role=\"alert\">\n <Grid UNSAFE_className={styles['spectrum-InLineAlert-grid']}>\n <SlotProvider slots={slots}>\n {Icon && <Icon UNSAFE_className={styles['spectrum-InLineAlert-icon']} aria-label={iconAlt} />}\n {children}\n </SlotProvider>\n </Grid>\n </div>\n );\n}\n\n/**\n * Inline alerts display a non-modal message associated with objects in a view.\n * These are often used in form validation, providing a place to aggregate feedback related to multiple fields.\n */\nconst _InlineAlert = React.forwardRef(InlineAlert);\nexport {_InlineAlert as InlineAlert};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"info\": \"معلومات\",\n \"negative\": \"خطأ\",\n \"notice\": \"تحذير\",\n \"positive\": \"تم بنجاح\"\n}\n","{\n \"info\": \"Информация\",\n \"negative\": \"Грешка\",\n \"notice\": \"Предупреждение\",\n \"positive\": \"Успешно\"\n}\n","{\n \"info\": \"Informace\",\n \"negative\": \"Chyba\",\n \"notice\": \"Varování\",\n \"positive\": \"Úspěch\"\n}\n","{\n \"info\": \"Oplysninger\",\n \"negative\": \"Fejl\",\n \"notice\": \"Advarsel\",\n \"positive\": \"Fuldført\"\n}\n","{\n \"info\": \"Informationen\",\n \"negative\": \"Fehler\",\n \"notice\": \"Warnung\",\n \"positive\": \"Erfolg\"\n}\n","{\n \"info\": \"Πληροφορίες\",\n \"negative\": \"Σφάλμα\",\n \"notice\": \"Προειδοποίηση\",\n \"positive\": \"Επιτυχία\"\n}\n","{\n \"negative\": \"Error\",\n \"notice\": \"Warning\",\n \"info\": \"Information\",\n \"positive\": \"Success\"\n}\n","{\n \"info\": \"Información\",\n \"negative\": \"Error\",\n \"notice\": \"Advertencia\",\n \"positive\": \"Éxito\"\n}\n","{\n \"info\": \"Teave\",\n \"negative\": \"Tõrge\",\n \"notice\": \"Hoiatus\",\n \"positive\": \"Valmis\"\n}\n","{\n \"info\": \"Tiedot\",\n \"negative\": \"Virhe\",\n \"notice\": \"Varoitus\",\n \"positive\": \"Onnistui\"\n}\n","{\n \"info\": \"Informations\",\n \"negative\": \"Erreur\",\n \"notice\": \"Avertissement\",\n \"positive\": \"Succès\"\n}\n","{\n \"info\": \"מידע\",\n \"negative\": \"שגיאה\",\n \"notice\": \"אזהרה\",\n \"positive\": \"הצלחה\"\n}\n","{\n \"info\": \"Informacije\",\n \"negative\": \"Pogreška\",\n \"notice\": \"Upozorenje\",\n \"positive\": \"Uspješno\"\n}\n","{\n \"info\": \"Információ\",\n \"negative\": \"Hiba\",\n \"notice\": \"Figyelmeztetés\",\n \"positive\": \"Siker\"\n}\n","{\n \"info\": \"Informazioni\",\n \"negative\": \"Errore\",\n \"notice\": \"Avviso\",\n \"positive\": \"Operazione riuscita\"\n}\n","{\n \"info\": \"情報\",\n \"negative\": \"エラー\",\n \"notice\": \"警告\",\n \"positive\": \"成功\"\n}\n","{\n \"info\": \"정보\",\n \"negative\": \"오류\",\n \"notice\": \"경고\",\n \"positive\": \"성공\"\n}\n","{\n \"info\": \"Informacija\",\n \"negative\": \"Klaida\",\n \"notice\": \"Įspėjimas\",\n \"positive\": \"Sėkmingai\"\n}\n","{\n \"info\": \"Informācija\",\n \"negative\": \"Kļūda\",\n \"notice\": \"Brīdinājums\",\n \"positive\": \"Izdevās\"\n}\n","{\n \"info\": \"Informasjon\",\n \"negative\": \"Feil\",\n \"notice\": \"Advarsel\",\n \"positive\": \"Vellykket\"\n}\n","{\n \"info\": \"Informatie\",\n \"negative\": \"Fout\",\n \"notice\": \"Waarschuwing\",\n \"positive\": \"Geslaagd\"\n}\n","{\n \"info\": \"Informacja\",\n \"negative\": \"Błąd\",\n \"notice\": \"Ostrzeżenie\",\n \"positive\": \"Powodzenie\"\n}\n","{\n \"info\": \"Informações\",\n \"negative\": \"Erro\",\n \"notice\": \"Aviso\",\n \"positive\": \"Sucesso\"\n}\n","{\n \"info\": \"Informação\",\n \"negative\": \"Erro\",\n \"notice\": \"Aviso\",\n \"positive\": \"Sucesso\"\n}\n","{\n \"info\": \"Informații\",\n \"negative\": \"Eroare\",\n \"notice\": \"Avertisment\",\n \"positive\": \"Succes\"\n}\n","{\n \"info\": \"Информация\",\n \"negative\": \"Ошибка\",\n \"notice\": \"Предупреждение\",\n \"positive\": \"Успешно\"\n}\n","{\n \"info\": \"Informácie\",\n \"negative\": \"Chyba\",\n \"notice\": \"Upozornenie\",\n \"positive\": \"Úspech\"\n}\n","{\n \"info\": \"Informacije\",\n \"negative\": \"Napaka\",\n \"notice\": \"Opozorilo\",\n \"positive\": \"Uspešno\"\n}\n","{\n \"info\": \"Informacije\",\n \"negative\": \"Greška\",\n \"notice\": \"Upozorenje\",\n \"positive\": \"Uspešno\"\n}\n","{\n \"info\": \"Information\",\n \"negative\": \"Fel\",\n \"notice\": \"Varning\",\n \"positive\": \"Lyckades\"\n}\n","{\n \"info\": \"Bilgiler\",\n \"negative\": \"Hata\",\n \"notice\": \"Uyarı\",\n \"positive\": \"Başarılı\"\n}\n","{\n \"info\": \"Інформація\",\n \"negative\": \"Помилка\",\n \"notice\": \"Попередження\",\n \"positive\": \"Успішно\"\n}\n","{\n \"info\": \"信息\",\n \"negative\": \"错误\",\n \"notice\": \"警告\",\n \"positive\": \"成功\"\n}\n","{\n \"info\": \"資訊\",\n \"negative\": \"錯誤\",\n \"notice\": \"警告\",\n \"positive\": \"成功\"\n}\n","/*\nCopyright 2023 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.js.map"}
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;;AEVD,4BAAiB;IAAG,QAAQ,CAAC,OAAO,CAAC;IACnC,YAAY,CAAC,GAAG,CAAC;IACjB,UAAU,CAAC,KAAK,CAAC;IACjB,YAAY,CAAC,QAAQ,CAAC;AACxB;;;;ACJA,4BAAiB;IAAG,QAAQ,CAAC,UAAU,CAAC;IACtC,YAAY,CAAC,MAAM,CAAC;IACpB,UAAU,CAAC,cAAc,CAAC;IAC1B,YAAY,CAAC,OAAO,CAAC;AACvB;;;;ACJA,4BAAiB;IAAG,QAAQ,CAAC,SAAS,CAAC;IACrC,YAAY,CAAC,KAAK,CAAC;IACnB,UAAU,CAAC,QAAQ,CAAC;IACpB,YAAY,CAAC,MAAM,CAAC;AACtB;;;;ACJA,4BAAiB;IAAG,QAAQ,CAAC,WAAW,CAAC;IACvC,YAAY,CAAC,IAAI,CAAC;IAClB,UAAU,CAAC,QAAQ,CAAC;IACpB,YAAY,CAAC,QAAQ,CAAC;AACxB;;;;ACJA,4BAAiB;IAAG,QAAQ,CAAC,aAAa,CAAC;IACzC,YAAY,CAAC,MAAM,CAAC;IACpB,UAAU,CAAC,OAAO,CAAC;IACnB,YAAY,CAAC,MAAM,CAAC;AACtB;;;;ACJA,4BAAiB;IAAG,QAAQ,CAAC,WAAW,CAAC;IACvC,YAAY,CAAC,MAAM,CAAC;IACpB,UAAU,CAAC,aAAa,CAAC;IACzB,YAAY,CAAC,QAAQ,CAAC;AACxB;;;;ACJA,4BAAiB;IAAG,YAAY,CAAC,KAAK,CAAC;IACrC,UAAU,CAAC,OAAO,CAAC;IACnB,QAAQ,CAAC,WAAW,CAAC;IACrB,YAAY,CAAC,OAAO,CAAC;AACvB;;;;ACJA,4BAAiB;IA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G,CAAA,GAAA,oBAAY,EAAE;IACjC,IAAI,SAAS,CAAA,GAAA,gBAAQ,EAAE;IAEvB,IAAI,QAAQ;QACV,SAAS;YAAC,kBAAkB,CAAA,GAAA,gEAAK,CAAC,CAAC,+BAA+B;QAAA;QAClE,SAAS;YAAC,kBAAkB,CAAA,GAAA,gEAAK,CAAC,CAAC,+BAA+B;QAAA;IACpE;IAEA,IAAI,kBAAkB,CAAA,GAAA,kCAA0B,EAAE,CAAA,GAAA,gEAAW;IAC7D,IAAI,OAAO;IACX,IAAI;IACJ,IAAI,WAAW,6BAAO;QACpB,OAAO,2BAAK,CAAC,QAAQ;QACrB,UAAU,gBAAgB,OAAO;IACnC;IAEA,qBACE,gCAAC;QACE,GAAG,CAAA,GAAA,qBAAa,EAAE,MAAM;QACxB,GAAG,UAAU;QACd,KAAK;QACL,WAAW,CAAA,GAAA,iBAAS,EAClB,CAAA,GAAA,gEAAK,GACL,wBACA,CAAC,sBAAsB,EAAE,QAAQ,CAAC,EAClC,WAAW;QAEb,MAAK;qBACL,gCAAC,CAAA,GAAA,WAAG;QAAE,kBAAkB,CAAA,GAAA,gEAAK,CAAC,CAAC,4BAA4B;qBACzD,gCAAC,CAAA,GAAA,mBAAW;QAAE,OAAO;OAClB,sBAAQ,gCAAC;QAAK,kBAAkB,CAAA,GAAA,gEAAK,CAAC,CAAC,4BAA4B;QAAE,cAAY;QACjF;AAKX;AAEA;;;CAGC,GACD,MAAM,0DAAe,CAAA,GAAA,YAAI,EAAE,WAAW;","sources":["packages/@react-spectrum/inlinealert/src/index.ts","packages/@react-spectrum/inlinealert/src/InlineAlert.tsx","packages/@react-spectrum/inlinealert/src/*.js","packages/@react-spectrum/inlinealert/intl/ar-AE.json","packages/@react-spectrum/inlinealert/intl/bg-BG.json","packages/@react-spectrum/inlinealert/intl/cs-CZ.json","packages/@react-spectrum/inlinealert/intl/da-DK.json","packages/@react-spectrum/inlinealert/intl/de-DE.json","packages/@react-spectrum/inlinealert/intl/el-GR.json","packages/@react-spectrum/inlinealert/intl/en-US.json","packages/@react-spectrum/inlinealert/intl/es-ES.json","packages/@react-spectrum/inlinealert/intl/et-EE.json","packages/@react-spectrum/inlinealert/intl/fi-FI.json","packages/@react-spectrum/inlinealert/intl/fr-FR.json","packages/@react-spectrum/inlinealert/intl/he-IL.json","packages/@react-spectrum/inlinealert/intl/hr-HR.json","packages/@react-spectrum/inlinealert/intl/hu-HU.json","packages/@react-spectrum/inlinealert/intl/it-IT.json","packages/@react-spectrum/inlinealert/intl/ja-JP.json","packages/@react-spectrum/inlinealert/intl/ko-KR.json","packages/@react-spectrum/inlinealert/intl/lt-LT.json","packages/@react-spectrum/inlinealert/intl/lv-LV.json","packages/@react-spectrum/inlinealert/intl/nb-NO.json","packages/@react-spectrum/inlinealert/intl/nl-NL.json","packages/@react-spectrum/inlinealert/intl/pl-PL.json","packages/@react-spectrum/inlinealert/intl/pt-BR.json","packages/@react-spectrum/inlinealert/intl/pt-PT.json","packages/@react-spectrum/inlinealert/intl/ro-RO.json","packages/@react-spectrum/inlinealert/intl/ru-RU.json","packages/@react-spectrum/inlinealert/intl/sk-SK.json","packages/@react-spectrum/inlinealert/intl/sl-SI.json","packages/@react-spectrum/inlinealert/intl/sr-SP.json","packages/@react-spectrum/inlinealert/intl/sv-SE.json","packages/@react-spectrum/inlinealert/intl/tr-TR.json","packages/@react-spectrum/inlinealert/intl/uk-UA.json","packages/@react-spectrum/inlinealert/intl/zh-CN.json","packages/@react-spectrum/inlinealert/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/inlinealert/vars.css"],"sourcesContent":["/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {InlineAlert} from './InlineAlert';\n","/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport AlertMedium from '@spectrum-icons/ui/AlertMedium';\nimport {classNames, SlotProvider, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMRef} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {Grid} from '@react-spectrum/layout';\nimport InfoMedium from '@spectrum-icons/ui/InfoMedium';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React from 'react';\nimport {SpectrumInlineAlertProps} from '@react-types/inlinealert';\nimport styles from '@adobe/spectrum-css-temp/components/inlinealert/vars.css';\nimport SuccessMedium from '@spectrum-icons/ui/SuccessMedium';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nlet ICONS = {\n info: InfoMedium,\n positive: SuccessMedium,\n notice: AlertMedium,\n negative: AlertMedium\n};\n\nfunction InlineAlert(props: SpectrumInlineAlertProps, ref: DOMRef<HTMLDivElement>) {\n props = useProviderProps(props);\n let {\n children,\n variant = 'neutral',\n ...otherProps\n } = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n\n let slots = {\n heading: {UNSAFE_className: styles['spectrum-InLineAlert-heading']},\n content: {UNSAFE_className: styles['spectrum-InLineAlert-content']}\n };\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let Icon = null;\n let iconAlt: string;\n if (variant in ICONS) {\n Icon = ICONS[variant];\n iconAlt = stringFormatter.format(variant);\n }\n\n return (\n <div\n {...filterDOMProps(props)}\n {...styleProps}\n ref={domRef}\n className={classNames(\n styles,\n 'spectrum-InLineAlert',\n `spectrum-InLineAlert--${variant}`,\n styleProps.className\n )}\n role=\"alert\">\n <Grid UNSAFE_className={styles['spectrum-InLineAlert-grid']}>\n <SlotProvider slots={slots}>\n {Icon && <Icon UNSAFE_className={styles['spectrum-InLineAlert-icon']} aria-label={iconAlt} />}\n {children}\n </SlotProvider>\n </Grid>\n </div>\n );\n}\n\n/**\n * Inline alerts display a non-modal message associated with objects in a view.\n * These are often used in form validation, providing a place to aggregate feedback related to multiple fields.\n */\nconst _InlineAlert = React.forwardRef(InlineAlert);\nexport {_InlineAlert as InlineAlert};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"info\": \"معلومات\",\n \"negative\": \"خطأ\",\n \"notice\": \"تحذير\",\n \"positive\": \"تم بنجاح\"\n}\n","{\n \"info\": \"Информация\",\n \"negative\": \"Грешка\",\n \"notice\": \"Предупреждение\",\n \"positive\": \"Успешно\"\n}\n","{\n \"info\": \"Informace\",\n \"negative\": \"Chyba\",\n \"notice\": \"Varování\",\n \"positive\": \"Úspěch\"\n}\n","{\n \"info\": \"Oplysninger\",\n \"negative\": \"Fejl\",\n \"notice\": \"Advarsel\",\n \"positive\": \"Fuldført\"\n}\n","{\n \"info\": \"Informationen\",\n \"negative\": \"Fehler\",\n \"notice\": \"Warnung\",\n \"positive\": \"Erfolg\"\n}\n","{\n \"info\": \"Πληροφορίες\",\n \"negative\": \"Σφάλμα\",\n \"notice\": \"Προειδοποίηση\",\n \"positive\": \"Επιτυχία\"\n}\n","{\n \"negative\": \"Error\",\n \"notice\": \"Warning\",\n \"info\": \"Information\",\n \"positive\": \"Success\"\n}\n","{\n \"info\": \"Información\",\n \"negative\": \"Error\",\n \"notice\": \"Advertencia\",\n \"positive\": \"Éxito\"\n}\n","{\n \"info\": \"Teave\",\n \"negative\": \"Tõrge\",\n \"notice\": \"Hoiatus\",\n \"positive\": \"Valmis\"\n}\n","{\n \"info\": \"Tiedot\",\n \"negative\": \"Virhe\",\n \"notice\": \"Varoitus\",\n \"positive\": \"Onnistui\"\n}\n","{\n \"info\": \"Informations\",\n \"negative\": \"Erreur\",\n \"notice\": \"Avertissement\",\n \"positive\": \"Succès\"\n}\n","{\n \"info\": \"מידע\",\n \"negative\": \"שגיאה\",\n \"notice\": \"אזהרה\",\n \"positive\": \"הצלחה\"\n}\n","{\n \"info\": \"Informacije\",\n \"negative\": \"Pogreška\",\n \"notice\": \"Upozorenje\",\n \"positive\": \"Uspješno\"\n}\n","{\n \"info\": \"Információ\",\n \"negative\": \"Hiba\",\n \"notice\": \"Figyelmeztetés\",\n \"positive\": \"Siker\"\n}\n","{\n \"info\": \"Informazioni\",\n \"negative\": \"Errore\",\n \"notice\": \"Avviso\",\n \"positive\": \"Operazione riuscita\"\n}\n","{\n \"info\": \"情報\",\n \"negative\": \"エラー\",\n \"notice\": \"警告\",\n \"positive\": \"成功\"\n}\n","{\n \"info\": \"정보\",\n \"negative\": \"오류\",\n \"notice\": \"경고\",\n \"positive\": \"성공\"\n}\n","{\n \"info\": \"Informacija\",\n \"negative\": \"Klaida\",\n \"notice\": \"Įspėjimas\",\n \"positive\": \"Sėkmingai\"\n}\n","{\n \"info\": \"Informācija\",\n \"negative\": \"Kļūda\",\n \"notice\": \"Brīdinājums\",\n \"positive\": \"Izdevās\"\n}\n","{\n \"info\": \"Informasjon\",\n \"negative\": \"Feil\",\n \"notice\": \"Advarsel\",\n \"positive\": \"Vellykket\"\n}\n","{\n \"info\": \"Informatie\",\n \"negative\": \"Fout\",\n \"notice\": \"Waarschuwing\",\n \"positive\": \"Geslaagd\"\n}\n","{\n \"info\": \"Informacja\",\n \"negative\": \"Błąd\",\n \"notice\": \"Ostrzeżenie\",\n \"positive\": \"Powodzenie\"\n}\n","{\n \"info\": \"Informações\",\n \"negative\": \"Erro\",\n \"notice\": \"Aviso\",\n \"positive\": \"Sucesso\"\n}\n","{\n \"info\": \"Informação\",\n \"negative\": \"Erro\",\n \"notice\": \"Aviso\",\n \"positive\": \"Sucesso\"\n}\n","{\n \"info\": \"Informații\",\n \"negative\": \"Eroare\",\n \"notice\": \"Avertisment\",\n \"positive\": \"Succes\"\n}\n","{\n \"info\": \"Информация\",\n \"negative\": \"Ошибка\",\n \"notice\": \"Предупреждение\",\n \"positive\": \"Успешно\"\n}\n","{\n \"info\": \"Informácie\",\n \"negative\": \"Chyba\",\n \"notice\": \"Upozornenie\",\n \"positive\": \"Úspech\"\n}\n","{\n \"info\": \"Informacije\",\n \"negative\": \"Napaka\",\n \"notice\": \"Opozorilo\",\n \"positive\": \"Uspešno\"\n}\n","{\n \"info\": \"Informacije\",\n \"negative\": \"Greška\",\n \"notice\": \"Upozorenje\",\n \"positive\": \"Uspešno\"\n}\n","{\n \"info\": \"Information\",\n \"negative\": \"Fel\",\n \"notice\": \"Varning\",\n \"positive\": \"Lyckades\"\n}\n","{\n \"info\": \"Bilgiler\",\n \"negative\": \"Hata\",\n \"notice\": \"Uyarı\",\n \"positive\": \"Başarılı\"\n}\n","{\n \"info\": \"Інформація\",\n \"negative\": \"Помилка\",\n \"notice\": \"Попередження\",\n \"positive\": \"Успішно\"\n}\n","{\n \"info\": \"信息\",\n \"negative\": \"错误\",\n \"notice\": \"警告\",\n \"positive\": \"成功\"\n}\n","{\n \"info\": \"資訊\",\n \"negative\": \"錯誤\",\n \"notice\": \"警告\",\n \"positive\": \"成功\"\n}\n","/*\nCopyright 2023 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.js.map"}
1
+ {"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;;;;AEVD,4BAAiB;IAAG,QAAQ,CAAC,OAAO,CAAC;IACnC,YAAY,CAAC,GAAG,CAAC;IACjB,UAAU,CAAC,KAAK,CAAC;IACjB,YAAY,CAAC,QAAQ,CAAC;AACxB;;;;ACJA,4BAAiB;IAAG,QAAQ,CAAC,UAAU,CAAC;IACtC,YAAY,CAAC,MAAM,CAAC;IACpB,UAAU,CAAC,cAAc,CAAC;IAC1B,YAAY,CAAC,OAAO,CAAC;AACvB;;;;ACJA,4BAAiB;IAAG,QAAQ,CAAC,SAAS,CAAC;IACrC,YAAY,CAAC,KAAK,CAAC;IACnB,UAAU,CAAC,QAAQ,CAAC;IACpB,YAAY,CAAC,MAAM,CAAC;AACtB;;;;ACJA,4BAAiB;IAAG,QAAQ,CAAC,WAAW,CAAC;IACvC,YAAY,CAAC,IAAI,CAAC;IAClB,UAAU,CAAC,QAAQ,CAAC;IACpB,YAAY,CAAC,QAAQ,CAAC;AACxB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;OAClB,sBAAQ,gCAAC;QAAK,kBAAkB,CAAA,GAAA,gEAAK,CAAC,CAAC,4BAA4B;QAAE,cAAY;QACjF;AAKX;AAEA;;;CAGC,GACD,MAAM,0DAAe,CAAA,GAAA,YAAI,EAAE,WAAW;","sources":["packages/@react-spectrum/inlinealert/src/index.ts","packages/@react-spectrum/inlinealert/src/InlineAlert.tsx","packages/@react-spectrum/inlinealert/src/*.js","packages/@react-spectrum/inlinealert/intl/ar-AE.json","packages/@react-spectrum/inlinealert/intl/bg-BG.json","packages/@react-spectrum/inlinealert/intl/cs-CZ.json","packages/@react-spectrum/inlinealert/intl/da-DK.json","packages/@react-spectrum/inlinealert/intl/de-DE.json","packages/@react-spectrum/inlinealert/intl/el-GR.json","packages/@react-spectrum/inlinealert/intl/en-US.json","packages/@react-spectrum/inlinealert/intl/es-ES.json","packages/@react-spectrum/inlinealert/intl/et-EE.json","packages/@react-spectrum/inlinealert/intl/fi-FI.json","packages/@react-spectrum/inlinealert/intl/fr-FR.json","packages/@react-spectrum/inlinealert/intl/he-IL.json","packages/@react-spectrum/inlinealert/intl/hr-HR.json","packages/@react-spectrum/inlinealert/intl/hu-HU.json","packages/@react-spectrum/inlinealert/intl/it-IT.json","packages/@react-spectrum/inlinealert/intl/ja-JP.json","packages/@react-spectrum/inlinealert/intl/ko-KR.json","packages/@react-spectrum/inlinealert/intl/lt-LT.json","packages/@react-spectrum/inlinealert/intl/lv-LV.json","packages/@react-spectrum/inlinealert/intl/nb-NO.json","packages/@react-spectrum/inlinealert/intl/nl-NL.json","packages/@react-spectrum/inlinealert/intl/pl-PL.json","packages/@react-spectrum/inlinealert/intl/pt-BR.json","packages/@react-spectrum/inlinealert/intl/pt-PT.json","packages/@react-spectrum/inlinealert/intl/ro-RO.json","packages/@react-spectrum/inlinealert/intl/ru-RU.json","packages/@react-spectrum/inlinealert/intl/sk-SK.json","packages/@react-spectrum/inlinealert/intl/sl-SI.json","packages/@react-spectrum/inlinealert/intl/sr-SP.json","packages/@react-spectrum/inlinealert/intl/sv-SE.json","packages/@react-spectrum/inlinealert/intl/tr-TR.json","packages/@react-spectrum/inlinealert/intl/uk-UA.json","packages/@react-spectrum/inlinealert/intl/zh-CN.json","packages/@react-spectrum/inlinealert/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/inlinealert/vars.css"],"sourcesContent":["/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {InlineAlert} from './InlineAlert';\nexport type {SpectrumInlineAlertProps} from './InlineAlert';\n","/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport AlertMedium from '@spectrum-icons/ui/AlertMedium';\nimport {classNames, SlotProvider, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMProps, DOMRef, StyleProps} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {Grid} from '@react-spectrum/layout';\nimport InfoMedium from '@spectrum-icons/ui/InfoMedium';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React, {ReactNode} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/inlinealert/vars.css';\nimport SuccessMedium from '@spectrum-icons/ui/SuccessMedium';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nexport interface SpectrumInlineAlertProps extends DOMProps, StyleProps {\n /**\n * The [visual style](https://spectrum.adobe.com/page/in-line-alert/#Options) of the Inline Alert.\n * @default 'neutral'\n */\n variant?: 'neutral' | 'info' | 'positive' | 'notice' | 'negative',\n /**\n * The contents of the Inline Alert.\n */\n children: ReactNode\n}\n\nlet ICONS = {\n info: InfoMedium,\n positive: SuccessMedium,\n notice: AlertMedium,\n negative: AlertMedium\n};\n\nfunction InlineAlert(props: SpectrumInlineAlertProps, ref: DOMRef<HTMLDivElement>) {\n props = useProviderProps(props);\n let {\n children,\n variant = 'neutral',\n ...otherProps\n } = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n\n let slots = {\n heading: {UNSAFE_className: styles['spectrum-InLineAlert-heading']},\n content: {UNSAFE_className: styles['spectrum-InLineAlert-content']}\n };\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let Icon = null;\n let iconAlt: string;\n if (variant in ICONS) {\n Icon = ICONS[variant];\n iconAlt = stringFormatter.format(variant);\n }\n\n return (\n <div\n {...filterDOMProps(props)}\n {...styleProps}\n ref={domRef}\n className={classNames(\n styles,\n 'spectrum-InLineAlert',\n `spectrum-InLineAlert--${variant}`,\n styleProps.className\n )}\n role=\"alert\">\n <Grid UNSAFE_className={styles['spectrum-InLineAlert-grid']}>\n <SlotProvider slots={slots}>\n {Icon && <Icon UNSAFE_className={styles['spectrum-InLineAlert-icon']} aria-label={iconAlt} />}\n {children}\n </SlotProvider>\n </Grid>\n </div>\n );\n}\n\n/**\n * Inline alerts display a non-modal message associated with objects in a view.\n * These are often used in form validation, providing a place to aggregate feedback related to multiple fields.\n */\nconst _InlineAlert = React.forwardRef(InlineAlert);\nexport {_InlineAlert as InlineAlert};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"info\": \"معلومات\",\n \"negative\": \"خطأ\",\n \"notice\": \"تحذير\",\n \"positive\": \"تم بنجاح\"\n}\n","{\n \"info\": \"Информация\",\n \"negative\": \"Грешка\",\n \"notice\": \"Предупреждение\",\n \"positive\": \"Успешно\"\n}\n","{\n \"info\": \"Informace\",\n \"negative\": \"Chyba\",\n \"notice\": \"Varování\",\n \"positive\": \"Úspěch\"\n}\n","{\n \"info\": \"Oplysninger\",\n \"negative\": \"Fejl\",\n \"notice\": \"Advarsel\",\n \"positive\": \"Fuldført\"\n}\n","{\n \"info\": \"Informationen\",\n \"negative\": \"Fehler\",\n \"notice\": \"Warnung\",\n \"positive\": \"Erfolg\"\n}\n","{\n \"info\": \"Πληροφορίες\",\n \"negative\": \"Σφάλμα\",\n \"notice\": \"Προειδοποίηση\",\n \"positive\": \"Επιτυχία\"\n}\n","{\n \"negative\": \"Error\",\n \"notice\": \"Warning\",\n \"info\": \"Information\",\n \"positive\": \"Success\"\n}\n","{\n \"info\": \"Información\",\n \"negative\": \"Error\",\n \"notice\": \"Advertencia\",\n \"positive\": \"Éxito\"\n}\n","{\n \"info\": \"Teave\",\n \"negative\": \"Tõrge\",\n \"notice\": \"Hoiatus\",\n \"positive\": \"Valmis\"\n}\n","{\n \"info\": \"Tiedot\",\n \"negative\": \"Virhe\",\n \"notice\": \"Varoitus\",\n \"positive\": \"Onnistui\"\n}\n","{\n \"info\": \"Informations\",\n \"negative\": \"Erreur\",\n \"notice\": \"Avertissement\",\n \"positive\": \"Succès\"\n}\n","{\n \"info\": \"מידע\",\n \"negative\": \"שגיאה\",\n \"notice\": \"אזהרה\",\n \"positive\": \"הצלחה\"\n}\n","{\n \"info\": \"Informacije\",\n \"negative\": \"Pogreška\",\n \"notice\": \"Upozorenje\",\n \"positive\": \"Uspješno\"\n}\n","{\n \"info\": \"Információ\",\n \"negative\": \"Hiba\",\n \"notice\": \"Figyelmeztetés\",\n \"positive\": \"Siker\"\n}\n","{\n \"info\": \"Informazioni\",\n \"negative\": \"Errore\",\n \"notice\": \"Avviso\",\n \"positive\": \"Operazione riuscita\"\n}\n","{\n \"info\": \"情報\",\n \"negative\": \"エラー\",\n \"notice\": \"警告\",\n \"positive\": \"成功\"\n}\n","{\n \"info\": \"정보\",\n \"negative\": \"오류\",\n \"notice\": \"경고\",\n \"positive\": \"성공\"\n}\n","{\n \"info\": \"Informacija\",\n \"negative\": \"Klaida\",\n \"notice\": \"Įspėjimas\",\n \"positive\": \"Sėkmingai\"\n}\n","{\n \"info\": \"Informācija\",\n \"negative\": \"Kļūda\",\n \"notice\": \"Brīdinājums\",\n \"positive\": \"Izdevās\"\n}\n","{\n \"info\": \"Informasjon\",\n \"negative\": \"Feil\",\n \"notice\": \"Advarsel\",\n \"positive\": \"Vellykket\"\n}\n","{\n \"info\": \"Informatie\",\n \"negative\": \"Fout\",\n \"notice\": \"Waarschuwing\",\n \"positive\": \"Geslaagd\"\n}\n","{\n \"info\": \"Informacja\",\n \"negative\": \"Błąd\",\n \"notice\": \"Ostrzeżenie\",\n \"positive\": \"Powodzenie\"\n}\n","{\n \"info\": \"Informações\",\n \"negative\": \"Erro\",\n \"notice\": \"Aviso\",\n \"positive\": \"Sucesso\"\n}\n","{\n \"info\": \"Informação\",\n \"negative\": \"Erro\",\n \"notice\": \"Aviso\",\n \"positive\": \"Sucesso\"\n}\n","{\n \"info\": \"Informații\",\n \"negative\": \"Eroare\",\n \"notice\": \"Avertisment\",\n \"positive\": \"Succes\"\n}\n","{\n \"info\": \"Информация\",\n \"negative\": \"Ошибка\",\n \"notice\": \"Предупреждение\",\n \"positive\": \"Успешно\"\n}\n","{\n \"info\": \"Informácie\",\n \"negative\": \"Chyba\",\n \"notice\": \"Upozornenie\",\n \"positive\": \"Úspech\"\n}\n","{\n \"info\": \"Informacije\",\n \"negative\": \"Napaka\",\n \"notice\": \"Opozorilo\",\n \"positive\": \"Uspešno\"\n}\n","{\n \"info\": \"Informacije\",\n \"negative\": \"Greška\",\n \"notice\": \"Upozorenje\",\n \"positive\": \"Uspešno\"\n}\n","{\n \"info\": \"Information\",\n \"negative\": \"Fel\",\n \"notice\": \"Varning\",\n \"positive\": \"Lyckades\"\n}\n","{\n \"info\": \"Bilgiler\",\n \"negative\": \"Hata\",\n \"notice\": \"Uyarı\",\n \"positive\": \"Başarılı\"\n}\n","{\n \"info\": \"Інформація\",\n \"negative\": \"Помилка\",\n \"notice\": \"Попередження\",\n \"positive\": \"Успішно\"\n}\n","{\n \"info\": \"信息\",\n \"negative\": \"错误\",\n \"notice\": \"警告\",\n \"positive\": \"成功\"\n}\n","{\n \"info\": \"資訊\",\n \"negative\": \"錯誤\",\n \"notice\": \"警告\",\n \"positive\": \"成功\"\n}\n","/*\nCopyright 2023 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.js.map"}
package/dist/types.d.ts CHANGED
@@ -1,5 +1,16 @@
1
- import React from "react";
2
- import { SpectrumInlineAlertProps } from "@react-types/inlinealert";
1
+ import { DOMProps, StyleProps } from "@react-types/shared";
2
+ import React, { ReactNode } from "react";
3
+ export interface SpectrumInlineAlertProps extends DOMProps, StyleProps {
4
+ /**
5
+ * The [visual style](https://spectrum.adobe.com/page/in-line-alert/#Options) of the Inline Alert.
6
+ * @default 'neutral'
7
+ */
8
+ variant?: 'neutral' | 'info' | 'positive' | 'notice' | 'negative';
9
+ /**
10
+ * The contents of the Inline Alert.
11
+ */
12
+ children: ReactNode;
13
+ }
3
14
  /**
4
15
  * Inline alerts display a non-modal message associated with objects in a view.
5
16
  * These are often used in form validation, providing a place to aggregate feedback related to multiple fields.
@@ -1 +1 @@
1
- {"mappings":";;AAgFA;;;GAGG;AACH,OAAA,MAAM,uJAA4C,CAAC","sources":["packages/@react-spectrum/inlinealert/src/packages/@react-spectrum/inlinealert/src/InlineAlert.tsx","packages/@react-spectrum/inlinealert/src/packages/@react-spectrum/inlinealert/src/index.ts","packages/@react-spectrum/inlinealert/src/index.ts"],"sourcesContent":[null,null,"/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {InlineAlert} from './InlineAlert';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
1
+ {"mappings":";;AA0BA,yCAA0C,SAAQ,QAAQ,EAAE,UAAU;IACpE;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,UAAU,CAAC;IAClE;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAA;CACpB;AAuDD;;;GAGG;AACH,OAAA,MAAM,uJAA4C,CAAC","sources":["packages/@react-spectrum/inlinealert/src/packages/@react-spectrum/inlinealert/src/InlineAlert.tsx","packages/@react-spectrum/inlinealert/src/packages/@react-spectrum/inlinealert/src/index.ts","packages/@react-spectrum/inlinealert/src/index.ts"],"sourcesContent":[null,null,"/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {InlineAlert} from './InlineAlert';\nexport type {SpectrumInlineAlertProps} from './InlineAlert';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-spectrum/inlinealert",
3
- "version": "3.0.0-nightly.4070+8e6cefdb5",
3
+ "version": "3.0.0",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -36,17 +36,16 @@
36
36
  "url": "https://github.com/adobe/react-spectrum"
37
37
  },
38
38
  "dependencies": {
39
- "@react-aria/i18n": "3.0.0-nightly.2365+8e6cefdb5",
40
- "@react-aria/utils": "3.0.0-nightly.2365+8e6cefdb5",
41
- "@react-spectrum/layout": "3.5.4-nightly.4070+8e6cefdb5",
42
- "@react-spectrum/utils": "3.0.0-nightly.2365+8e6cefdb5",
43
- "@react-types/inlinealert": "3.0.0-nightly.4070+8e6cefdb5",
44
- "@react-types/shared": "3.0.0-nightly.2365+8e6cefdb5",
45
- "@spectrum-icons/ui": "3.0.0-nightly.2365+8e6cefdb5",
39
+ "@react-aria/i18n": "^3.8.1",
40
+ "@react-aria/utils": "^3.19.0",
41
+ "@react-spectrum/layout": "^3.5.4",
42
+ "@react-spectrum/utils": "^3.10.1",
43
+ "@react-types/shared": "^3.19.0",
44
+ "@spectrum-icons/ui": "^3.5.4",
46
45
  "@swc/helpers": "^0.5.0"
47
46
  },
48
47
  "devDependencies": {
49
- "@adobe/spectrum-css-temp": "3.0.0-nightly.2365+8e6cefdb5"
48
+ "@adobe/spectrum-css-temp": "3.0.0-alpha.1"
50
49
  },
51
50
  "peerDependencies": {
52
51
  "@react-spectrum/provider": "^3.0.0",
@@ -55,5 +54,5 @@
55
54
  "publishConfig": {
56
55
  "access": "public"
57
56
  },
58
- "gitHead": "8e6cefdb5f13aa61eab9fcf5c91f2eaac1d807b5"
57
+ "gitHead": "d4dfe4bb842a914f10045ee63fc6b92f034c5b30"
59
58
  }
@@ -12,19 +12,30 @@
12
12
 
13
13
  import AlertMedium from '@spectrum-icons/ui/AlertMedium';
14
14
  import {classNames, SlotProvider, useDOMRef, useStyleProps} from '@react-spectrum/utils';
15
- import {DOMRef} from '@react-types/shared';
15
+ import {DOMProps, DOMRef, StyleProps} from '@react-types/shared';
16
16
  import {filterDOMProps} from '@react-aria/utils';
17
17
  import {Grid} from '@react-spectrum/layout';
18
18
  import InfoMedium from '@spectrum-icons/ui/InfoMedium';
19
19
  // @ts-ignore
20
20
  import intlMessages from '../intl/*.json';
21
- import React from 'react';
22
- import {SpectrumInlineAlertProps} from '@react-types/inlinealert';
21
+ import React, {ReactNode} from 'react';
23
22
  import styles from '@adobe/spectrum-css-temp/components/inlinealert/vars.css';
24
23
  import SuccessMedium from '@spectrum-icons/ui/SuccessMedium';
25
24
  import {useLocalizedStringFormatter} from '@react-aria/i18n';
26
25
  import {useProviderProps} from '@react-spectrum/provider';
27
26
 
27
+ export interface SpectrumInlineAlertProps extends DOMProps, StyleProps {
28
+ /**
29
+ * The [visual style](https://spectrum.adobe.com/page/in-line-alert/#Options) of the Inline Alert.
30
+ * @default 'neutral'
31
+ */
32
+ variant?: 'neutral' | 'info' | 'positive' | 'notice' | 'negative',
33
+ /**
34
+ * The contents of the Inline Alert.
35
+ */
36
+ children: ReactNode
37
+ }
38
+
28
39
  let ICONS = {
29
40
  info: InfoMedium,
30
41
  positive: SuccessMedium,
package/src/index.ts CHANGED
@@ -13,3 +13,4 @@
13
13
  /// <reference types="css-module-types" />
14
14
 
15
15
  export {InlineAlert} from './InlineAlert';
16
+ export type {SpectrumInlineAlertProps} from './InlineAlert';