@esri/calcite-components 5.1.0-next.4 → 5.1.0-next.41
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/cdn/{CAAZHUX4.js → 24MYDDCX.js} +1 -1
- package/dist/cdn/2CMEG656.js +2 -0
- package/dist/cdn/{SYSNPKVM.js → 2ERRVHOG.js} +1 -1
- package/dist/cdn/{5WKPS2ZT.js → 2FA462GH.js} +1 -1
- package/dist/cdn/2HNLUEFE.js +2 -0
- package/dist/cdn/{3W4NT367.js → 2S7YK3XB.js} +1 -1
- package/dist/cdn/2ZVRANSV.js +2 -0
- package/dist/cdn/3JPPSAVC.js +2 -0
- package/dist/cdn/{5TWM6GKK.js → 3PMEQAA4.js} +1 -1
- package/dist/cdn/3Z3BLSQV.js +2 -0
- package/dist/cdn/45PPV4KB.js +2 -0
- package/dist/cdn/{HRUVPNCI.js → 4BN3NFQE.js} +1 -1
- package/dist/cdn/{X7JEHH2B.js → 4EQVX3RN.js} +1 -1
- package/dist/cdn/4JQR5BFT.js +2 -0
- package/dist/cdn/{EW6277QZ.js → 4LF7JOWB.js} +1 -1
- package/dist/cdn/4R2OUXIA.js +2 -0
- package/dist/cdn/4RK74RAX.js +2 -0
- package/dist/cdn/{F7XISEIT.js → 4Y2EOU6I.js} +1 -1
- package/dist/cdn/{RRHN2PDB.js → 564OQMMG.js} +1 -1
- package/dist/cdn/{WR6QBFCR.js → 5DNRIF2T.js} +1 -1
- package/dist/cdn/5LFL3RZM.js +2 -0
- package/dist/cdn/{RROGXGP5.js → 5W3NUC35.js} +1 -1
- package/dist/cdn/{AYPT6VGV.js → 5XXHCJWT.js} +1 -1
- package/dist/cdn/{UTFS3HNB.js → 5YJHDAMC.js} +1 -1
- package/dist/cdn/{FAHLSHDH.js → 6ALR2RKE.js} +1 -1
- package/dist/cdn/{HXS3PD57.js → 6FYE5EO4.js} +1 -1
- package/dist/cdn/{DFXECQ6Z.js → 6HUNPYIU.js} +1 -1
- package/dist/cdn/6IXX24B5.js +2 -0
- package/dist/cdn/6OIJRLWE.js +2 -0
- package/dist/cdn/6OJ75BQL.js +2 -0
- package/dist/cdn/6W5UQMJB.js +2 -0
- package/dist/cdn/6WINJYQB.js +2 -0
- package/dist/cdn/{XDOFVA4S.js → 7FDVLRYA.js} +1 -1
- package/dist/cdn/{R6D5F2V7.js → 7MRRY2FG.js} +1 -1
- package/dist/cdn/7ZM7AHRH.js +2 -0
- package/dist/cdn/A3EVLDK2.js +2 -0
- package/dist/cdn/ABWDY3S3.js +2 -0
- package/dist/cdn/{GM6FZWSL.js → AGJOJXT7.js} +1 -1
- package/dist/cdn/AGT4E2MR.js +2 -0
- package/dist/cdn/AKNE222R.js +2 -0
- package/dist/cdn/AMBU24RT.js +2 -0
- package/dist/cdn/B5HEG3NU.js +2 -0
- package/dist/cdn/B6IJE67V.js +2 -0
- package/dist/cdn/{7DA7BZM3.js → B74NISG7.js} +1 -1
- package/dist/cdn/C3ZMZ6DZ.js +2 -0
- package/dist/cdn/CKN7KBBX.js +2 -0
- package/dist/cdn/{LGKOEBZ4.js → CQTKLBEA.js} +1 -1
- package/dist/cdn/CUEFJU5M.js +2 -0
- package/dist/cdn/CX6NYW6U.js +2 -0
- package/dist/cdn/DAN2REQH.js +2 -0
- package/dist/cdn/{EHIAXJAL.js → DCWL5FUH.js} +1 -1
- package/dist/cdn/DM4TDFHC.js +2 -0
- package/dist/cdn/DNCPJ3MF.js +2 -0
- package/dist/cdn/DQX5RKEG.js +2 -0
- package/dist/cdn/DREDLWCT.js +2 -0
- package/dist/cdn/{MTNYIXZQ.js → DSZEUV6U.js} +1 -1
- package/dist/cdn/DVT6XGRX.js +2 -0
- package/dist/cdn/{VLGFWPBL.js → E4G4YBUV.js} +1 -1
- package/dist/cdn/EDZNJS2P.js +2 -0
- package/dist/cdn/{XLGGANFA.js → EYQJAUTS.js} +1 -1
- package/dist/cdn/F2OT6ZS7.js +2 -0
- package/dist/cdn/FNUCXO5T.js +2 -0
- package/dist/cdn/FO5KZ2B4.js +2 -0
- package/dist/cdn/{TCAGY7OI.js → FUAQVSMM.js} +1 -1
- package/dist/cdn/FUUTIPHY.js +2 -0
- package/dist/cdn/FVJPSUND.js +2 -0
- package/dist/cdn/{A4OYPK5D.js → FWIH6QX6.js} +1 -1
- package/dist/cdn/FXPBVOSU.js +2 -0
- package/dist/cdn/G2N5QQQC.js +2 -0
- package/dist/cdn/{Z22BRBT4.js → GA7UTPCH.js} +1 -1
- package/dist/cdn/GEWK7CNC.js +2 -0
- package/dist/cdn/{QOSBMGOZ.js → GF6UHDWG.js} +1 -1
- package/dist/cdn/{TLAXB6HU.js → GPB37IZK.js} +1 -1
- package/dist/cdn/GRAXNZVF.js +2 -0
- package/dist/cdn/{KKH2HVQW.js → I2C2U4EG.js} +1 -1
- package/dist/cdn/{CZYFEVKF.js → II5Q35BQ.js} +1 -1
- package/dist/cdn/J75WMG5K.js +2 -0
- package/dist/cdn/JGCSNM6I.js +2 -0
- package/dist/cdn/{BWUA5WU5.js → JIPOSCDQ.js} +1 -1
- package/dist/cdn/{MXRMT4RB.js → JMESEQBV.js} +1 -1
- package/dist/cdn/{HCJDTU7F.js → JQ2SIN67.js} +1 -1
- package/dist/cdn/{AMZPSRIA.js → JQWPSLVQ.js} +1 -1
- package/dist/cdn/{OVU2NGHU.js → JTIOKO5Z.js} +1 -1
- package/dist/cdn/K2J5VOGN.js +2 -0
- package/dist/cdn/K3TXMTAA.js +2 -0
- package/dist/cdn/KGN7LNPW.js +2 -0
- package/dist/cdn/{IFHMJCAE.js → KKCLSEGI.js} +1 -1
- package/dist/cdn/KT5ZBHYJ.js +2 -0
- package/dist/cdn/KZ26ANWU.js +2 -0
- package/dist/cdn/LQJ57QQT.js +2 -0
- package/dist/cdn/M2AV52WE.js +2 -0
- package/dist/cdn/M3F5QBVV.js +2 -0
- package/dist/cdn/MDIOA3TB.js +2 -0
- package/dist/cdn/MHY3UNM6.js +4 -0
- package/dist/cdn/MWRUONCP.js +2 -0
- package/dist/cdn/{3GV45XL7.js → MYDCGCGV.js} +1 -1
- package/dist/cdn/N7RECCIH.js +2 -0
- package/dist/cdn/{ED2GANBI.js → NBJNGORU.js} +1 -1
- package/dist/cdn/{ZZNRLKQQ.js → NPL2RAJH.js} +1 -1
- package/dist/cdn/{6IZMIAV2.js → NT3HJBBX.js} +1 -1
- package/dist/cdn/OW7J4OUX.js +2 -0
- package/dist/cdn/PQFBEGNW.js +2 -0
- package/dist/cdn/{LIJYENWJ.js → PS3RNTX7.js} +1 -1
- package/dist/cdn/{4MFRMO5M.js → Q43RHQO7.js} +1 -1
- package/dist/cdn/{ZIOXZBYF.js → QA5WKG2V.js} +1 -1
- package/dist/cdn/{YQY6DOSF.js → QB4POCYZ.js} +1 -1
- package/dist/cdn/{QKUQGG2M.js → QH3YRMT7.js} +1 -1
- package/dist/cdn/QKTDNEVV.js +2 -0
- package/dist/cdn/R6ION3EX.js +2 -0
- package/dist/cdn/{A22XLAKZ.js → RBNGWGBY.js} +3 -3
- package/dist/cdn/{IMOAPVVW.js → RGLX6ZUD.js} +1 -1
- package/dist/cdn/RLDG7JKF.js +2 -0
- package/dist/cdn/{HYYJZO6T.js → RUV4NSFE.js} +1 -1
- package/dist/cdn/RVXWIAKA.js +2 -0
- package/dist/cdn/S6W6A66Z.js +2 -0
- package/dist/cdn/{Z3IVC2AV.js → S7XRYSLC.js} +1 -1
- package/dist/cdn/{7TEW7OYZ.js → SOV3TN4E.js} +1 -1
- package/dist/cdn/{XYAZINKS.js → T5FTXYCC.js} +1 -1
- package/dist/cdn/T5OE6UXW.js +2 -0
- package/dist/cdn/T5QTQYSJ.js +2 -0
- package/dist/cdn/{GZNBU3BV.js → TDPJ5IO7.js} +1 -1
- package/dist/cdn/{5HQ3O27G.js → TIOSPWRC.js} +1 -1
- package/dist/cdn/{KVSU3DLB.js → TRGMORRC.js} +1 -1
- package/dist/cdn/TWAQRNOV.js +2 -0
- package/dist/cdn/U4RNEEDS.js +2 -0
- package/dist/cdn/U66XQE3L.js +2 -0
- package/dist/cdn/UWTFVQZZ.js +2 -0
- package/dist/cdn/V2V4HEZE.js +2 -0
- package/dist/cdn/{IOSK2I75.js → V3MIT2UF.js} +1 -1
- package/dist/cdn/{RA4KNUNM.js → V7U5TUOP.js} +1 -1
- package/dist/cdn/{7B4D4WJ2.js → VFQ6FGYV.js} +1 -1
- package/dist/cdn/{LHJSBAM5.js → VG74OPNP.js} +1 -1
- package/dist/cdn/VIV5RTB5.js +2 -0
- package/dist/cdn/VJUAN25O.js +2 -0
- package/dist/cdn/{CDTY6WOM.js → VS7QNWXR.js} +1 -1
- package/dist/cdn/WLMV5NME.js +2 -0
- package/dist/cdn/{GJE7FY35.js → XDZU4ZCM.js} +1 -1
- package/dist/cdn/{HXVXRVZW.js → XL6HVXTT.js} +1 -1
- package/dist/cdn/{5YROPSGB.js → XQ2A5CAB.js} +1 -1
- package/dist/cdn/XWE4Y4LH.js +2 -0
- package/dist/cdn/Y73IXKXQ.js +2 -0
- package/dist/cdn/YK2YMJCK.js +2 -0
- package/dist/cdn/YZZ2SHC2.js +2 -0
- package/dist/cdn/{QBLAE2O5.js → Z3PR5L6P.js} +1 -1
- package/dist/cdn/{MJCRT7H4.js → ZDXIPCCV.js} +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/icon/arcgisQuickcapture16.json +1 -0
- package/dist/cdn/assets/icon/arcgisQuickcapture24.json +1 -0
- package/dist/cdn/assets/icon/arcgisQuickcapture32.json +1 -0
- package/dist/cdn/assets/icon/arcgisSurvey12316.json +1 -0
- package/dist/cdn/assets/icon/arcgisSurvey12324.json +1 -0
- package/dist/cdn/assets/icon/arcgisSurvey12332.json +1 -0
- package/dist/cdn/assets/icon/gpsReceiver16.json +1 -0
- package/dist/cdn/assets/icon/gpsReceiver24.json +1 -0
- package/dist/cdn/assets/icon/gpsReceiver32.json +1 -0
- package/dist/cdn/assets/icon/layerStreamSetting16.json +1 -0
- package/dist/cdn/assets/icon/layerStreamSetting24.json +1 -0
- package/dist/cdn/assets/icon/layerStreamSetting32.json +1 -0
- package/dist/cdn/assets/icon/publish16.json +1 -0
- package/dist/cdn/assets/icon/publish24.json +1 -0
- package/dist/cdn/assets/icon/publish32.json +1 -0
- package/dist/cdn/assets/icon/totalStation16.json +1 -0
- package/dist/cdn/assets/icon/totalStation24.json +1 -0
- package/dist/cdn/assets/icon/totalStation32.json +1 -0
- package/dist/cdn/assets/icon/velocityServer16.json +1 -0
- package/dist/cdn/assets/icon/velocityServer24.json +1 -0
- package/dist/cdn/assets/icon/velocityServer32.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/ClearButton.js +16 -0
- package/dist/chunks/ExpandToggle.js +4 -5
- package/dist/chunks/Heading.js +3 -3
- package/dist/chunks/dom.js +63 -49
- package/dist/chunks/floating-ui.js +3 -6
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/locale.js +29 -12
- package/dist/chunks/manager.js +505 -0
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources5.js +2 -1
- package/dist/chunks/resources6.js +2 -0
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useFocusTrap.js +22 -1
- package/dist/chunks/useForm.js +294 -0
- package/dist/chunks/useFormTrigger.js +25 -0
- package/dist/chunks/useSetFocus.js +1 -1
- package/dist/chunks/{sortableComponent.js → useSortable.js} +70 -44
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.d.ts +6 -6
- package/dist/components/calcite-accordion-item/customElement.js +4 -3
- package/dist/components/calcite-action/customElement.d.ts +14 -12
- package/dist/components/calcite-action/customElement.js +8 -14
- package/dist/components/calcite-action-bar/customElement.d.ts +12 -3
- package/dist/components/calcite-action-bar/customElement.js +43 -15
- package/dist/components/calcite-action-group/customElement.d.ts +6 -6
- package/dist/components/calcite-action-menu/customElement.d.ts +2 -2
- package/dist/components/calcite-action-pad/customElement.d.ts +3 -3
- package/dist/components/calcite-action-pad/customElement.js +5 -3
- package/dist/components/calcite-alert/customElement.d.ts +2 -2
- package/dist/components/calcite-alert/customElement.js +2 -2
- package/dist/components/calcite-autocomplete/customElement.d.ts +16 -13
- package/dist/components/calcite-autocomplete/customElement.js +23 -32
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +6 -0
- package/dist/components/calcite-autocomplete-item/customElement.js +9 -4
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.d.ts +5 -5
- package/dist/components/calcite-block/customElement.js +2 -2
- package/dist/components/calcite-block-group/customElement.d.ts +1 -1
- package/dist/components/calcite-block-group/customElement.js +5 -12
- package/dist/components/calcite-block-group/interfaces.d.ts +2 -6
- package/dist/components/calcite-block-section/customElement.d.ts +1 -1
- package/dist/components/calcite-button/customElement.d.ts +6 -6
- package/dist/components/calcite-button/customElement.js +11 -23
- package/dist/components/calcite-card/customElement.d.ts +4 -4
- package/dist/components/calcite-card/customElement.js +5 -3
- package/dist/components/calcite-card-group/customElement.d.ts +9 -3
- package/dist/components/calcite-card-group/customElement.js +11 -1
- package/dist/components/calcite-carousel/customElement.d.ts +1 -1
- package/dist/components/calcite-carousel/customElement.js +27 -25
- package/dist/components/calcite-checkbox/customElement.d.ts +4 -5
- package/dist/components/calcite-checkbox/customElement.js +10 -23
- package/dist/components/calcite-chip/customElement.d.ts +2 -2
- package/dist/components/calcite-chip/customElement.js +2 -2
- package/dist/components/calcite-chip-group/customElement.d.ts +1 -1
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.d.ts +2 -2
- package/dist/components/calcite-color-picker/customElement.js +4 -2
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.d.ts +16 -6
- package/dist/components/calcite-combobox/customElement.js +189 -106
- package/dist/components/calcite-combobox/index.js +2 -1
- package/dist/components/calcite-combobox-item/customElement.d.ts +1 -1
- package/dist/components/calcite-combobox-item/customElement.js +10 -4
- package/dist/components/calcite-date-picker/customElement.d.ts +1 -1
- package/dist/components/calcite-date-picker-day/customElement.d.ts +1 -1
- package/dist/components/calcite-date-picker-month/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
- package/dist/components/calcite-dialog/customElement.d.ts +8 -6
- package/dist/components/calcite-dialog/customElement.js +5 -3
- package/dist/components/calcite-dropdown/customElement.d.ts +15 -5
- package/dist/components/calcite-dropdown/customElement.js +168 -90
- package/dist/components/calcite-dropdown-item/customElement.d.ts +2 -2
- package/dist/components/calcite-dropdown-item/customElement.js +14 -32
- package/dist/components/calcite-fab/customElement.d.ts +1 -1
- package/dist/components/calcite-filter/customElement.d.ts +1 -1
- package/dist/components/calcite-flow/customElement.d.ts +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +9 -7
- package/dist/components/calcite-flow-item/customElement.js +6 -4
- package/dist/components/calcite-handle/customElement.d.ts +1 -1
- package/dist/components/calcite-icon/customElement.d.ts +1 -1
- package/dist/components/calcite-icon/customElement.js +4 -3
- package/dist/components/calcite-inline-editable/customElement.d.ts +1 -1
- package/dist/components/calcite-inline-editable/customElement.js +1 -1
- package/dist/components/calcite-input/customElement.d.ts +17 -18
- package/dist/components/calcite-input/customElement.js +30 -52
- package/dist/components/calcite-input/index.js +1 -0
- package/dist/components/calcite-input-date-picker/customElement.d.ts +6 -7
- package/dist/components/calcite-input-date-picker/customElement.js +34 -28
- package/dist/components/calcite-input-message/customElement.d.ts +1 -1
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.d.ts +13 -14
- package/dist/components/calcite-input-number/customElement.js +26 -51
- package/dist/components/calcite-input-number/index.js +1 -0
- package/dist/components/calcite-input-text/customElement.d.ts +11 -12
- package/dist/components/calcite-input-text/customElement.js +20 -44
- package/dist/components/calcite-input-text/index.js +1 -0
- package/dist/components/calcite-input-time-picker/customElement.d.ts +6 -7
- package/dist/components/calcite-input-time-picker/customElement.js +14 -25
- package/dist/components/calcite-input-time-zone/customElement.d.ts +5 -6
- package/dist/components/calcite-input-time-zone/customElement.js +21 -19
- package/dist/components/calcite-link/customElement.d.ts +9 -9
- package/dist/components/calcite-link/customElement.js +31 -25
- package/dist/components/calcite-list/customElement.d.ts +1 -1
- package/dist/components/calcite-list/customElement.js +30 -11
- package/dist/components/calcite-list/interfaces.d.ts +2 -6
- package/dist/components/calcite-list-item/customElement.d.ts +2 -2
- package/dist/components/calcite-list-item/customElement.js +6 -4
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.d.ts +1 -1
- package/dist/components/calcite-menu/customElement.d.ts +1 -1
- package/dist/components/calcite-menu/customElement.js +2 -2
- package/dist/components/calcite-menu-item/customElement.d.ts +3 -3
- package/dist/components/calcite-menu-item/customElement.js +4 -2
- package/dist/components/calcite-meter/customElement.d.ts +7 -1
- package/dist/components/calcite-meter/customElement.js +4 -8
- package/dist/components/calcite-navigation/customElement.d.ts +2 -2
- package/dist/components/calcite-navigation-logo/customElement.d.ts +3 -3
- package/dist/components/calcite-navigation-user/customElement.d.ts +1 -1
- package/dist/components/calcite-notice/customElement.d.ts +3 -3
- package/dist/components/calcite-notice/customElement.js +2 -2
- package/dist/components/calcite-pagination/customElement.d.ts +1 -1
- package/dist/components/calcite-pagination/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.d.ts +11 -9
- package/dist/components/calcite-panel/customElement.js +20 -8
- package/dist/components/calcite-popover/customElement.d.ts +2 -2
- package/dist/components/calcite-popover/customElement.js +14 -175
- package/dist/components/calcite-progress/customElement.js +3 -2
- package/dist/components/calcite-radio-button/customElement.d.ts +1 -1
- package/dist/components/calcite-radio-button/customElement.js +173 -5
- package/dist/components/calcite-radio-button-group/customElement.d.ts +1 -1
- package/dist/components/calcite-rating/customElement.d.ts +3 -4
- package/dist/components/calcite-rating/customElement.js +12 -18
- package/dist/components/calcite-scrim/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.d.ts +3 -4
- package/dist/components/calcite-segmented-control/customElement.js +13 -22
- package/dist/components/calcite-segmented-control-item/customElement.js +2 -2
- package/dist/components/calcite-select/customElement.d.ts +3 -4
- package/dist/components/calcite-select/customElement.js +8 -19
- package/dist/components/calcite-sheet/customElement.d.ts +2 -2
- package/dist/components/calcite-sheet/customElement.js +10 -11
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-shell-panel/customElement.d.ts +2 -2
- package/dist/components/calcite-shell-panel/customElement.js +11 -5
- package/dist/components/calcite-slider/customElement.d.ts +3 -4
- package/dist/components/calcite-slider/customElement.js +12 -22
- package/dist/components/calcite-sort-handle/customElement.d.ts +4 -4
- package/dist/components/calcite-sort-handle/customElement.js +44 -17
- package/dist/components/calcite-sortable-list/customElement.d.ts +1 -1
- package/dist/components/calcite-sortable-list/customElement.js +4 -4
- package/dist/components/calcite-split-button/customElement.d.ts +8 -8
- package/dist/components/calcite-stepper/customElement.d.ts +2 -2
- package/dist/components/calcite-stepper/customElement.js +30 -43
- package/dist/components/calcite-stepper-item/customElement.d.ts +1 -1
- package/dist/components/calcite-stepper-item/customElement.js +3 -9
- package/dist/components/calcite-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-swatch-group/customElement.js +1 -1
- package/dist/components/calcite-switch/customElement.d.ts +4 -4
- package/dist/components/calcite-switch/customElement.js +9 -8
- package/dist/components/calcite-tab/customElement.d.ts +1 -1
- package/dist/components/calcite-tab/customElement.js +2 -2
- package/dist/components/calcite-tab-nav/customElement.js +4 -2
- package/dist/components/calcite-tab-title/customElement.js +6 -4
- package/dist/components/calcite-table/customElement.js +1 -1
- package/dist/components/calcite-table-cell/customElement.d.ts +2 -2
- package/dist/components/calcite-table-cell/customElement.js +3 -2
- package/dist/components/calcite-table-header/customElement.d.ts +2 -2
- package/dist/components/calcite-table-row/customElement.d.ts +1 -1
- package/dist/components/calcite-tabs/customElement.js +1 -1
- package/dist/components/calcite-text-area/customElement.d.ts +13 -14
- package/dist/components/calcite-text-area/customElement.js +32 -37
- package/dist/components/calcite-tile/customElement.d.ts +1 -1
- package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
- package/dist/components/calcite-time-picker/customElement.js +5 -4
- package/dist/components/calcite-tooltip/customElement.d.ts +15 -2
- package/dist/components/calcite-tooltip/customElement.js +27 -315
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +5 -4
- package/dist/controllers/useSortable.d.ts +7 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +25 -25
- package/dist/types/lumina.d.ts +6 -6
- package/dist/types/preact.d.ts +6 -6
- package/dist/types/react.d.ts +6 -6
- package/dist/types/stencil.d.ts +6 -6
- package/package.json +14 -13
- package/dist/cdn/256EMMKX.js +0 -2
- package/dist/cdn/2ZJ5ADD2.js +0 -2
- package/dist/cdn/37APBABQ.js +0 -2
- package/dist/cdn/3OIE2RR5.js +0 -2
- package/dist/cdn/3TCEXRVB.js +0 -2
- package/dist/cdn/43T3HPVW.js +0 -2
- package/dist/cdn/4ET37OQN.js +0 -2
- package/dist/cdn/4SJVPWEI.js +0 -2
- package/dist/cdn/6NGWODBG.js +0 -2
- package/dist/cdn/7CLOFSLV.js +0 -2
- package/dist/cdn/7CZHE7FZ.js +0 -2
- package/dist/cdn/7KCC74EE.js +0 -2
- package/dist/cdn/7WPF3NTF.js +0 -2
- package/dist/cdn/CPDXUV3S.js +0 -2
- package/dist/cdn/EIFNZZAD.js +0 -2
- package/dist/cdn/F7SGO63N.js +0 -2
- package/dist/cdn/FAOX7WLQ.js +0 -2
- package/dist/cdn/FCNCDBSI.js +0 -2
- package/dist/cdn/FDGUUC3D.js +0 -2
- package/dist/cdn/FRI4RPRX.js +0 -2
- package/dist/cdn/G6R56WT6.js +0 -2
- package/dist/cdn/GAUJK4Z7.js +0 -2
- package/dist/cdn/GDTRICJF.js +0 -2
- package/dist/cdn/GFZYTB3O.js +0 -2
- package/dist/cdn/GW7IPUQS.js +0 -2
- package/dist/cdn/HBVQ77SB.js +0 -2
- package/dist/cdn/HD23H6LX.js +0 -2
- package/dist/cdn/HVBNJRAQ.js +0 -2
- package/dist/cdn/I6CQ5UW5.js +0 -2
- package/dist/cdn/ILES2J66.js +0 -2
- package/dist/cdn/IR6Z2XSF.js +0 -2
- package/dist/cdn/IUAHSZQ6.js +0 -2
- package/dist/cdn/JKLX623E.js +0 -2
- package/dist/cdn/JLB2FYLL.js +0 -2
- package/dist/cdn/JRCEHRYP.js +0 -2
- package/dist/cdn/KNDQJ2XX.js +0 -2
- package/dist/cdn/L6F7C3O7.js +0 -2
- package/dist/cdn/LIZ5IMMJ.js +0 -2
- package/dist/cdn/LR57FDVO.js +0 -2
- package/dist/cdn/LRL6N22U.js +0 -2
- package/dist/cdn/LYKD5N65.js +0 -2
- package/dist/cdn/MASQZEFU.js +0 -2
- package/dist/cdn/MAXAPKJ5.js +0 -2
- package/dist/cdn/MQPFYNQR.js +0 -2
- package/dist/cdn/MUGKSK5F.js +0 -2
- package/dist/cdn/N6QRZM7N.js +0 -2
- package/dist/cdn/NQEVKT6K.js +0 -2
- package/dist/cdn/OS7NHPEF.js +0 -2
- package/dist/cdn/P7RXOG72.js +0 -2
- package/dist/cdn/P7U46JDU.js +0 -2
- package/dist/cdn/PBMFDSRI.js +0 -2
- package/dist/cdn/PS64W4X6.js +0 -2
- package/dist/cdn/Q52SIZ3L.js +0 -2
- package/dist/cdn/Q7WYXKFZ.js +0 -2
- package/dist/cdn/R3EE76WN.js +0 -2
- package/dist/cdn/R6YSSNOG.js +0 -2
- package/dist/cdn/RSCA2AM5.js +0 -2
- package/dist/cdn/S22OVJTO.js +0 -3
- package/dist/cdn/SBPWZDAB.js +0 -2
- package/dist/cdn/SFEXJ2YW.js +0 -2
- package/dist/cdn/SXVCUXNL.js +0 -2
- package/dist/cdn/TPXLAPIE.js +0 -2
- package/dist/cdn/TSZAQNPK.js +0 -2
- package/dist/cdn/U6LKEFFT.js +0 -2
- package/dist/cdn/UAADJQTQ.js +0 -2
- package/dist/cdn/ULBA6IRN.js +0 -2
- package/dist/cdn/UOIMVKXE.js +0 -2
- package/dist/cdn/V4KATS7H.js +0 -2
- package/dist/cdn/WAC3IAWB.js +0 -2
- package/dist/cdn/WJXZ7BPV.js +0 -2
- package/dist/cdn/XSSG2WBN.js +0 -2
- package/dist/cdn/YHGC7HRA.js +0 -2
- package/dist/cdn/YOYLPMEA.js +0 -2
- package/dist/cdn/YUJ33VWR.js +0 -2
- package/dist/cdn/Z53AVC5H.js +0 -2
- package/dist/cdn/ZQLGBHLZ.js +0 -2
- package/dist/cdn/ZXUITROT.js +0 -2
- package/dist/chunks/form.js +0 -268
- package/dist/chunks/input.js +0 -30
- package/dist/utils/form.d.ts +0 -3
- package/dist/utils/sortableComponent.d.ts +0 -7
package/dist/chunks/dom.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { g as guid } from "./guid.js";
|
|
3
3
|
import { C as CSS_UTILITY } from "./runtime.js";
|
|
4
|
-
var candidateSelectors = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"];
|
|
4
|
+
var candidateSelectors = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert] *)", "textarea:not([inert]):not([inert] *)", "a[href]:not([inert]):not([inert] *)", "button:not([inert]):not([inert] *)", "[tabindex]:not(slot):not([inert]):not([inert] *)", "audio[controls]:not([inert]):not([inert] *)", "video[controls]:not([inert]):not([inert] *)", '[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)', "details>summary:first-of-type:not([inert]):not([inert] *)", "details:not([inert]):not([inert] *)"];
|
|
5
5
|
var candidateSelector = /* @__PURE__ */ candidateSelectors.join(",");
|
|
6
6
|
var NoElement = typeof Element === "undefined";
|
|
7
7
|
var matches = NoElement ? function() {
|
|
@@ -12,14 +12,16 @@ var getRootNode$1 = !NoElement && Element.prototype.getRootNode ? function(eleme
|
|
|
12
12
|
} : function(element) {
|
|
13
13
|
return element === null || element === void 0 ? void 0 : element.ownerDocument;
|
|
14
14
|
};
|
|
15
|
-
var
|
|
15
|
+
var _isInert = function isInert(node, lookUp) {
|
|
16
16
|
var _node$getAttribute;
|
|
17
17
|
if (lookUp === void 0) {
|
|
18
18
|
lookUp = true;
|
|
19
19
|
}
|
|
20
20
|
var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, "inert");
|
|
21
21
|
var inert = inertAtt === "" || inertAtt === "true";
|
|
22
|
-
var result = inert || lookUp && node &&
|
|
22
|
+
var result = inert || lookUp && node && // closest does not exist on shadow roots, so we fall back to a manual
|
|
23
|
+
// lookup upward, in case it is not defined.
|
|
24
|
+
(typeof node.closest === "function" ? node.closest("[inert]") : _isInert(node.parentNode));
|
|
23
25
|
return result;
|
|
24
26
|
};
|
|
25
27
|
var isContentEditable = function isContentEditable2(node) {
|
|
@@ -28,7 +30,7 @@ var isContentEditable = function isContentEditable2(node) {
|
|
|
28
30
|
return attValue === "" || attValue === "true";
|
|
29
31
|
};
|
|
30
32
|
var getCandidates = function getCandidates2(el, includeContainer, filter) {
|
|
31
|
-
if (
|
|
33
|
+
if (_isInert(el)) {
|
|
32
34
|
return [];
|
|
33
35
|
}
|
|
34
36
|
var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));
|
|
@@ -38,18 +40,18 @@ var getCandidates = function getCandidates2(el, includeContainer, filter) {
|
|
|
38
40
|
candidates = candidates.filter(filter);
|
|
39
41
|
return candidates;
|
|
40
42
|
};
|
|
41
|
-
var
|
|
43
|
+
var _getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {
|
|
42
44
|
var candidates = [];
|
|
43
45
|
var elementsToCheck = Array.from(elements);
|
|
44
46
|
while (elementsToCheck.length) {
|
|
45
47
|
var element = elementsToCheck.shift();
|
|
46
|
-
if (
|
|
48
|
+
if (_isInert(element, false)) {
|
|
47
49
|
continue;
|
|
48
50
|
}
|
|
49
51
|
if (element.tagName === "SLOT") {
|
|
50
52
|
var assigned = element.assignedElements();
|
|
51
53
|
var content = assigned.length ? assigned : element.children;
|
|
52
|
-
var nestedCandidates =
|
|
54
|
+
var nestedCandidates = _getCandidatesIteratively(content, true, options);
|
|
53
55
|
if (options.flatten) {
|
|
54
56
|
candidates.push.apply(candidates, nestedCandidates);
|
|
55
57
|
} else {
|
|
@@ -65,9 +67,9 @@ var getCandidatesIteratively = function getCandidatesIteratively2(elements, incl
|
|
|
65
67
|
}
|
|
66
68
|
var shadowRoot = element.shadowRoot || // check for an undisclosed shadow
|
|
67
69
|
typeof options.getShadowRoot === "function" && options.getShadowRoot(element);
|
|
68
|
-
var validShadowRoot = !
|
|
70
|
+
var validShadowRoot = !_isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));
|
|
69
71
|
if (shadowRoot && validShadowRoot) {
|
|
70
|
-
var _nestedCandidates =
|
|
72
|
+
var _nestedCandidates = _getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);
|
|
71
73
|
if (options.flatten) {
|
|
72
74
|
candidates.push.apply(candidates, _nestedCandidates);
|
|
73
75
|
} else {
|
|
@@ -177,6 +179,24 @@ var isZeroArea = function isZeroArea2(node) {
|
|
|
177
179
|
};
|
|
178
180
|
var isHidden = function isHidden2(node, _ref) {
|
|
179
181
|
var displayCheck = _ref.displayCheck, getShadowRoot = _ref.getShadowRoot;
|
|
182
|
+
if (displayCheck === "full-native") {
|
|
183
|
+
if ("checkVisibility" in node) {
|
|
184
|
+
var visible = node.checkVisibility({
|
|
185
|
+
// Checking opacity might be desirable for some use cases, but natively,
|
|
186
|
+
// opacity zero elements _are_ focusable and tabbable.
|
|
187
|
+
checkOpacity: false,
|
|
188
|
+
opacityProperty: false,
|
|
189
|
+
contentVisibilityAuto: true,
|
|
190
|
+
visibilityProperty: true,
|
|
191
|
+
// This is an alias for `visibilityProperty`. Contemporary browsers
|
|
192
|
+
// support both. However, this alias has wider browser support (Chrome
|
|
193
|
+
// >= 105 and Firefox >= 106, vs. Chrome >= 121 and Firefox >= 122), so
|
|
194
|
+
// we include it anyway.
|
|
195
|
+
checkVisibilityCSS: true
|
|
196
|
+
});
|
|
197
|
+
return !visible;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
180
200
|
if (getComputedStyle(node).visibility === "hidden") {
|
|
181
201
|
return true;
|
|
182
202
|
}
|
|
@@ -185,7 +205,9 @@ var isHidden = function isHidden2(node, _ref) {
|
|
|
185
205
|
if (matches.call(nodeUnderDetails, "details:not([open]) *")) {
|
|
186
206
|
return true;
|
|
187
207
|
}
|
|
188
|
-
if (!displayCheck || displayCheck === "full" ||
|
|
208
|
+
if (!displayCheck || displayCheck === "full" || // full-native can run this branch when it falls through in case
|
|
209
|
+
// Element#checkVisibility is unsupported
|
|
210
|
+
displayCheck === "full-native" || displayCheck === "legacy-full") {
|
|
189
211
|
if (typeof getShadowRoot === "function") {
|
|
190
212
|
var originalNode = node;
|
|
191
213
|
while (node) {
|
|
@@ -233,10 +255,7 @@ var isDisabledFromFieldset = function isDisabledFromFieldset2(node) {
|
|
|
233
255
|
return false;
|
|
234
256
|
};
|
|
235
257
|
var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable2(options, node) {
|
|
236
|
-
if (node.disabled ||
|
|
237
|
-
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
238
|
-
// note related to `candidateSelectors`)
|
|
239
|
-
isInert(node) || isHiddenInput(node) || isHidden(node, options) || // For a details element with a summary, the summary element gets the focus
|
|
258
|
+
if (node.disabled || isHiddenInput(node) || isHidden(node, options) || // For a details element with a summary, the summary element gets the focus
|
|
240
259
|
isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {
|
|
241
260
|
return false;
|
|
242
261
|
}
|
|
@@ -248,21 +267,21 @@ var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable2(op
|
|
|
248
267
|
}
|
|
249
268
|
return true;
|
|
250
269
|
};
|
|
251
|
-
var
|
|
270
|
+
var isShadowRootTabbable = function isShadowRootTabbable2(shadowHostNode) {
|
|
252
271
|
var tabIndex = parseInt(shadowHostNode.getAttribute("tabindex"), 10);
|
|
253
272
|
if (isNaN(tabIndex) || tabIndex >= 0) {
|
|
254
273
|
return true;
|
|
255
274
|
}
|
|
256
275
|
return false;
|
|
257
276
|
};
|
|
258
|
-
var
|
|
277
|
+
var _sortByOrder = function sortByOrder(candidates) {
|
|
259
278
|
var regularTabbables = [];
|
|
260
279
|
var orderedTabbables = [];
|
|
261
280
|
candidates.forEach(function(item, i) {
|
|
262
281
|
var isScope = !!item.scopeParent;
|
|
263
282
|
var element = isScope ? item.scopeParent : item;
|
|
264
283
|
var candidateTabindex = getSortOrderTabIndex(element, isScope);
|
|
265
|
-
var elements = isScope ?
|
|
284
|
+
var elements = isScope ? _sortByOrder(item.candidates) : element;
|
|
266
285
|
if (candidateTabindex === 0) {
|
|
267
286
|
isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);
|
|
268
287
|
} else {
|
|
@@ -284,22 +303,22 @@ var tabbable = function tabbable2(container, options) {
|
|
|
284
303
|
options = options || {};
|
|
285
304
|
var candidates;
|
|
286
305
|
if (options.getShadowRoot) {
|
|
287
|
-
candidates =
|
|
306
|
+
candidates = _getCandidatesIteratively([container], options.includeContainer, {
|
|
288
307
|
filter: isNodeMatchingSelectorTabbable.bind(null, options),
|
|
289
308
|
flatten: false,
|
|
290
309
|
getShadowRoot: options.getShadowRoot,
|
|
291
|
-
shadowRootFilter:
|
|
310
|
+
shadowRootFilter: isShadowRootTabbable
|
|
292
311
|
});
|
|
293
312
|
} else {
|
|
294
313
|
candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));
|
|
295
314
|
}
|
|
296
|
-
return
|
|
315
|
+
return _sortByOrder(candidates);
|
|
297
316
|
};
|
|
298
317
|
var focusable = function focusable2(container, options) {
|
|
299
318
|
options = options || {};
|
|
300
319
|
var candidates;
|
|
301
320
|
if (options.getShadowRoot) {
|
|
302
|
-
candidates =
|
|
321
|
+
candidates = _getCandidatesIteratively([container], options.includeContainer, {
|
|
303
322
|
filter: isNodeMatchingSelectorFocusable.bind(null, options),
|
|
304
323
|
flatten: true,
|
|
305
324
|
getShadowRoot: options.getShadowRoot
|
|
@@ -328,12 +347,6 @@ function getModeName(el) {
|
|
|
328
347
|
);
|
|
329
348
|
return closestElWithMode?.classList.contains("calcite-mode-dark") || closestElWithMode?.classList.contains("calcite-mode-auto") && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
330
349
|
}
|
|
331
|
-
function getElementDir(el) {
|
|
332
|
-
const prop = "dir";
|
|
333
|
-
const selector = `[${prop}]`;
|
|
334
|
-
const closest = closestElementCrossShadowBoundary(el, selector);
|
|
335
|
-
return closest ? closest.getAttribute(prop) : "ltr";
|
|
336
|
-
}
|
|
337
350
|
function getElementWidth(el) {
|
|
338
351
|
if (!el) {
|
|
339
352
|
return 0;
|
|
@@ -537,33 +550,34 @@ function viewportUnitToPixel(value, viewportSize) {
|
|
|
537
550
|
return value * viewportSize / 100;
|
|
538
551
|
}
|
|
539
552
|
export {
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
slotChangeGetAssignedElements as
|
|
553
|
+
slotChangeHasTextContent as A,
|
|
554
|
+
ensureId as B,
|
|
555
|
+
filterDirectChildren as C,
|
|
556
|
+
getSlotAssignedElements as D,
|
|
557
|
+
slotChangeGetAssignedElements as a,
|
|
558
|
+
setRequestedIcon as b,
|
|
545
559
|
closestElementCrossShadowBoundary as c,
|
|
546
|
-
|
|
547
|
-
|
|
560
|
+
getModeName as d,
|
|
561
|
+
getRootNode as e,
|
|
548
562
|
focusElementInGroup as f,
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
563
|
+
getStylePixelValue as g,
|
|
564
|
+
hasVisibleContent as h,
|
|
565
|
+
focusElement as i,
|
|
566
|
+
isPrimaryPointerButton as j,
|
|
567
|
+
getElementWidth as k,
|
|
568
|
+
getTextWidth as l,
|
|
569
|
+
slotChangeHasContent as m,
|
|
570
|
+
nodeListToArray as n,
|
|
571
|
+
whenTransitionDone as o,
|
|
572
|
+
isBefore as p,
|
|
559
573
|
queryElementRoots as q,
|
|
560
|
-
|
|
574
|
+
isCalciteFocusable as r,
|
|
561
575
|
slotChangeHasAssignedElement as s,
|
|
562
576
|
tabbableOptions as t,
|
|
563
577
|
nextFrame as u,
|
|
564
|
-
|
|
578
|
+
getShadowRootNode as v,
|
|
565
579
|
whenAnimationDone as w,
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
580
|
+
isKeyboardTriggeredClick as x,
|
|
581
|
+
getFirstTabbable as y,
|
|
582
|
+
intersects as z
|
|
569
583
|
};
|
|
@@ -4,7 +4,6 @@ import { autoUpdate, computePosition, shift, hide, flip, offset, autoPlacement,
|
|
|
4
4
|
import { debounce } from "es-toolkit";
|
|
5
5
|
import { offsetParent } from "composed-offset-position";
|
|
6
6
|
import { D as DEBOUNCE } from "./runtime.js";
|
|
7
|
-
import { g as getElementDir } from "./dom.js";
|
|
8
7
|
(function setUpFloatingUiForShadowDomPositioning() {
|
|
9
8
|
if (!isServer) {
|
|
10
9
|
const originalGetOffsetParent = platform.getOffsetParent;
|
|
@@ -19,6 +18,7 @@ const positionFloatingUI = (
|
|
|
19
18
|
/* we export arrow function to allow us to spy on it during testing */
|
|
20
19
|
(async (component, {
|
|
21
20
|
arrowEl,
|
|
21
|
+
direction,
|
|
22
22
|
flipDisabled,
|
|
23
23
|
flipPlacements: flipPlacements2,
|
|
24
24
|
floatingEl,
|
|
@@ -32,7 +32,7 @@ const positionFloatingUI = (
|
|
|
32
32
|
if (!referenceEl || !floatingEl) {
|
|
33
33
|
return;
|
|
34
34
|
}
|
|
35
|
-
const isRTL =
|
|
35
|
+
const isRTL = direction === "rtl";
|
|
36
36
|
const {
|
|
37
37
|
x,
|
|
38
38
|
y,
|
|
@@ -248,11 +248,8 @@ function hideFloatingUI(component) {
|
|
|
248
248
|
async function connectFloatingUI(component) {
|
|
249
249
|
const { floatingEl, referenceEl } = component;
|
|
250
250
|
hideFloatingUI(component);
|
|
251
|
-
if (!floatingEl || !referenceEl) {
|
|
252
|
-
return;
|
|
253
|
-
}
|
|
254
251
|
disconnectFloatingUI(component);
|
|
255
|
-
if (!component.open) {
|
|
252
|
+
if (!floatingEl || !referenceEl || !component.open) {
|
|
256
253
|
return;
|
|
257
254
|
}
|
|
258
255
|
return runAutoUpdate(component);
|
package/dist/chunks/label.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { q as queryElementRoots, c as closestElementCrossShadowBoundary,
|
|
2
|
+
import { q as queryElementRoots, c as closestElementCrossShadowBoundary, p as isBefore } from "./dom.js";
|
|
3
3
|
const labelClickEvent = "calciteInternalLabelClick";
|
|
4
4
|
const labelConnectedEvent = "calciteInternalLabelConnected";
|
|
5
5
|
const labelDisconnectedEvent = "calciteInternalLabelDisconnected";
|
package/dist/chunks/locale.js
CHANGED
|
@@ -212,19 +212,21 @@ function getDateFormatSupportedLocale(locale) {
|
|
|
212
212
|
}
|
|
213
213
|
class NumberStringFormat {
|
|
214
214
|
constructor() {
|
|
215
|
-
this.delocalize = (numberString) =>
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
215
|
+
this.delocalize = (numberString) => {
|
|
216
|
+
if (!this._numberFormatOptions) {
|
|
217
|
+
return numberString;
|
|
218
|
+
}
|
|
219
|
+
return sanitizeExponentialNumberString(
|
|
220
220
|
numberString,
|
|
221
|
-
(
|
|
222
|
-
)
|
|
223
|
-
|
|
224
|
-
this.localize = (numberString) =>
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
221
|
+
(nonExponentialNumberString) => this.#normalizeDigitsAndSign(this.#normalizeSeparators(nonExponentialNumberString))
|
|
222
|
+
);
|
|
223
|
+
};
|
|
224
|
+
this.localize = (numberString) => {
|
|
225
|
+
return this._numberFormatOptions ? sanitizeExponentialNumberString(
|
|
226
|
+
numberString,
|
|
227
|
+
(nonExpoNumString) => isValidNumber(nonExpoNumString.trim()) ? new BigDecimal(nonExpoNumString.trim()).format(this).replace(new RegExp(`[${this._actualGroup}]`, "g"), this._group) : nonExpoNumString
|
|
228
|
+
) : numberString;
|
|
229
|
+
};
|
|
228
230
|
}
|
|
229
231
|
get group() {
|
|
230
232
|
return this._group;
|
|
@@ -278,6 +280,21 @@ class NumberStringFormat {
|
|
|
278
280
|
this._minusSign = parts.find((d) => d.type === "minusSign").value;
|
|
279
281
|
this._getDigitIndex = (d) => index.get(d);
|
|
280
282
|
}
|
|
283
|
+
#normalizeDigitsAndSign(value) {
|
|
284
|
+
return value.replace(new RegExp(`[${this._minusSign}]`, "g"), "-").replace(new RegExp(`[${this._digits.join("")}]`, "g"), this._getDigitIndex);
|
|
285
|
+
}
|
|
286
|
+
#normalizeSeparators(value) {
|
|
287
|
+
if (this._group !== this._decimal) {
|
|
288
|
+
return value.replace(new RegExp(`[${this._group}]`, "g"), "").replace(new RegExp(`[${this._decimal}]`, "g"), ".");
|
|
289
|
+
}
|
|
290
|
+
const lastSeparatorIndex = value.lastIndexOf(this._decimal);
|
|
291
|
+
if (lastSeparatorIndex === -1) {
|
|
292
|
+
return value;
|
|
293
|
+
}
|
|
294
|
+
const wholePart = value.slice(0, lastSeparatorIndex).replace(new RegExp(`[${this._group}]`, "g"), "");
|
|
295
|
+
const fractionalPart = value.slice(lastSeparatorIndex + 1);
|
|
296
|
+
return `${wholePart}.${fractionalPart}`;
|
|
297
|
+
}
|
|
281
298
|
}
|
|
282
299
|
const numberStringFormatter = new NumberStringFormat();
|
|
283
300
|
let dateTimeFormatCache;
|