@esri/calcite-components 5.0.0-next.37 → 5.0.0-next.39
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/THIRD-PARTY-LICENSES.md +1 -1
- package/dist/cdn/{YV7NVGYT.js → 23YL6F2I.js} +2 -2
- package/dist/cdn/{K4GRUAR4.js → 2H6XSLXX.js} +2 -2
- package/dist/cdn/{3D6YFUSR.js → 2KBW5CL2.js} +1 -1
- package/dist/cdn/{GSDHT2A3.js → 2LQXATKS.js} +2 -2
- package/dist/cdn/{X5OTEVWQ.js → 2PE2CYH6.js} +2 -2
- package/dist/cdn/{CKWUB5W4.js → 2QIZAMST.js} +1 -1
- package/dist/cdn/{RFUBUZKV.js → 2SQD4REA.js} +2 -2
- package/dist/cdn/{63QW5I4L.js → 3AFHETSK.js} +2 -2
- package/dist/cdn/{5XR5GVLH.js → 3K36IR43.js} +2 -2
- package/dist/cdn/{P7AJ754W.js → 3KL3H74L.js} +2 -2
- package/dist/cdn/{KNYM23HF.js → 3LUVCYHC.js} +2 -2
- package/dist/cdn/{XFOXBVJ4.js → 4YATPAJR.js} +1 -1
- package/dist/cdn/{ZKFZQPQE.js → 57KDQUX5.js} +1 -1
- package/dist/cdn/{X2HB76E3.js → 5HW4STSF.js} +2 -2
- package/dist/cdn/{RPFBHGAX.js → 5KUGAFMR.js} +2 -2
- package/dist/cdn/{XQKTLBG5.js → 5QME6W4E.js} +2 -2
- package/dist/cdn/{VHPGSWAR.js → 5REHH56A.js} +2 -2
- package/dist/cdn/{M74DCDQO.js → 62QORHIZ.js} +2 -2
- package/dist/cdn/{3CH5KZPZ.js → 6EITVL52.js} +2 -2
- package/dist/cdn/{K6PPNPAH.js → 6XCJYKCU.js} +2 -2
- package/dist/cdn/{GEQPFTCT.js → 6YRAV4PL.js} +1 -1
- package/dist/cdn/{RWQEUYEN.js → 73DHBZEN.js} +1 -1
- package/dist/cdn/{VYSDHTDL.js → 7QWILAKQ.js} +1 -1
- package/dist/cdn/{FQ5PNVQS.js → 7WUJJXZR.js} +2 -2
- package/dist/cdn/{NIGVVZDU.js → 7Z2YXGNX.js} +2 -2
- package/dist/cdn/{FA6Q2IUK.js → AHSLPNFO.js} +2 -2
- package/dist/cdn/{3FBXR3AR.js → AOVBJRCC.js} +2 -2
- package/dist/cdn/{2FBGK6XG.js → AOYZ2OJJ.js} +2 -2
- package/dist/cdn/{MXFJ74TP.js → ATAORBVR.js} +2 -2
- package/dist/cdn/{XN3NLEYQ.js → AXVVGPCD.js} +2 -2
- package/dist/cdn/{BVL3XN6K.js → B2XWVXVJ.js} +2 -2
- package/dist/cdn/{SMGAO2K6.js → B5QJ7F47.js} +2 -2
- package/dist/cdn/{6M52YQAH.js → B7VSWUEZ.js} +2 -2
- package/dist/cdn/{5MAS2N6B.js → BADDMHKU.js} +2 -2
- package/dist/cdn/{FZZSUQ7G.js → BKZKIKZX.js} +1 -1
- package/dist/cdn/{2ATIJK4A.js → BNGQIZN4.js} +2 -2
- package/dist/cdn/{QEE5I2VB.js → BTXVFA5T.js} +2 -2
- package/dist/cdn/{FEYN2PXR.js → BWLUQHMB.js} +2 -2
- package/dist/cdn/{KTLLMPOR.js → CCJBJCWY.js} +2 -2
- package/dist/cdn/{33LH3MJD.js → CCZ7LKY5.js} +2 -2
- package/dist/cdn/{TMU5MWTD.js → CWMS5YFT.js} +2 -2
- package/dist/cdn/{FO5MQJNI.js → D64KUL7B.js} +2 -2
- package/dist/cdn/{XTJ5ATHZ.js → DCUE2BMD.js} +2 -2
- package/dist/cdn/{N6EWVFYK.js → DGVLRMTE.js} +2 -2
- package/dist/cdn/{ICX6W5XQ.js → DLUVVUOA.js} +2 -2
- package/dist/cdn/{Q3XHAZBB.js → DUCSPCHD.js} +2 -2
- package/dist/cdn/{JWPNFCHB.js → DVKY3YD2.js} +2 -2
- package/dist/cdn/{EAYT3PIF.js → DZTHWIGA.js} +2 -2
- package/dist/cdn/{2VMUNJVH.js → E6HBZ5KY.js} +2 -2
- package/dist/cdn/{VD2IRLDX.js → E6WVBQA6.js} +2 -2
- package/dist/cdn/{SB5OEVL7.js → EGGVB4S7.js} +2 -2
- package/dist/cdn/{QLQID746.js → EJOBO7QX.js} +2 -2
- package/dist/cdn/{QZBLX7RK.js → EVWTN6NO.js} +2 -2
- package/dist/cdn/{JPLCTPS3.js → EZFNCZME.js} +2 -2
- package/dist/cdn/{V73MQTW2.js → F7B3ZWGQ.js} +2 -2
- package/dist/cdn/{PTAYS4E2.js → F7IV6F6T.js} +2 -2
- package/dist/cdn/{VPIMGMZH.js → FWQAAJ2O.js} +2 -2
- package/dist/cdn/{2JVES652.js → FXLTRITL.js} +2 -2
- package/dist/cdn/{RW2DBUPM.js → G34PKLOG.js} +2 -2
- package/dist/cdn/{6KYMVTF5.js → G6BPHKAE.js} +1 -1
- package/dist/cdn/{Q47YBHGM.js → GBKLX3U4.js} +2 -2
- package/dist/cdn/{5S5JSHXK.js → GFTRXOGK.js} +2 -2
- package/dist/cdn/{6WHZ2J4J.js → GHZ7RA3P.js} +2 -2
- package/dist/cdn/{CTHHQWPI.js → GL2RPTFF.js} +2 -2
- package/dist/cdn/{QSVXWEJE.js → GQWX2TON.js} +2 -2
- package/dist/cdn/{5SGTACRV.js → GWQJDHIY.js} +2 -2
- package/dist/cdn/{SQTEDE5W.js → GZXQHFGL.js} +2 -2
- package/dist/cdn/{CQVG3AHH.js → H6WQQJGZ.js} +2 -2
- package/dist/cdn/{VNTUOVWK.js → H7QJSG6W.js} +2 -2
- package/dist/cdn/{DBXJXZML.js → HAD4SJRW.js} +2 -2
- package/dist/cdn/{S42C2YER.js → HJ6WMOCS.js} +2 -2
- package/dist/cdn/{XURZVGSP.js → HOSP4M4O.js} +1 -1
- package/dist/cdn/{WMOZ2PUI.js → HQMGI6D4.js} +2 -2
- package/dist/cdn/{ZSHEDBHA.js → HSK3VA3Z.js} +2 -2
- package/dist/cdn/{BB6J3GU4.js → HYKKFDEB.js} +2 -2
- package/dist/cdn/{4GYXSVF7.js → HZRR55BO.js} +2 -2
- package/dist/cdn/{GHCPOF24.js → I5V4SMQR.js} +2 -2
- package/dist/cdn/{GLZXU7TH.js → ICFIE47X.js} +2 -2
- package/dist/cdn/{HMQQFWGJ.js → IGRFWYZN.js} +2 -2
- package/dist/cdn/{V24WDQ6B.js → INUFPMY4.js} +2 -2
- package/dist/cdn/{IU7Z34IR.js → IOEA3ZGO.js} +2 -2
- package/dist/cdn/{SLII4CZC.js → IUYCGPLD.js} +2 -2
- package/dist/cdn/{3LX7YN5X.js → IVGQHHEJ.js} +2 -2
- package/dist/cdn/{KQREYQRP.js → J2PCXOTL.js} +2 -2
- package/dist/cdn/{FRVXGJ45.js → JDORC4L5.js} +2 -2
- package/dist/cdn/{7HQHZ2K7.js → JELLL5R2.js} +2 -2
- package/dist/cdn/{ENMN3GPW.js → KBYRGWNP.js} +2 -2
- package/dist/cdn/{BGE323CJ.js → KK4UYQDU.js} +1 -1
- package/dist/cdn/{XGELES5N.js → KQ4TKZXR.js} +2 -2
- package/dist/cdn/{IQGUHXQF.js → KTWHUUX4.js} +2 -2
- package/dist/cdn/{WLRP3U5Z.js → L5LNVS4H.js} +1 -1
- package/dist/cdn/{XAE24V4I.js → LARFOSKE.js} +2 -2
- package/dist/cdn/{A36TXSAV.js → LE2D57BX.js} +1 -1
- package/dist/cdn/{VTMOVG4F.js → LHJECDFZ.js} +1 -1
- package/dist/cdn/{KHRBGDL4.js → LJVTRIYF.js} +2 -2
- package/dist/cdn/{KV23CSDF.js → M2D27GCQ.js} +2 -2
- package/dist/cdn/{EB5JLZNI.js → MCNCVAFJ.js} +2 -2
- package/dist/cdn/MIAVIXXT.js +4 -0
- package/dist/cdn/{MTCIEGX2.js → MK7JLZLJ.js} +2 -2
- package/dist/cdn/{CYS7FNRJ.js → MMBG32EP.js} +2 -2
- package/dist/cdn/{DBZK57AA.js → MO6K6WPD.js} +2 -2
- package/dist/cdn/{GCPRIETS.js → MS5FJHZE.js} +2 -2
- package/dist/cdn/{G6K2ON6L.js → MWF3YVFP.js} +1 -1
- package/dist/cdn/{6L53OGOE.js → N2THE6LC.js} +2 -2
- package/dist/cdn/{MKQZNRSV.js → NBGX4PB4.js} +1 -1
- package/dist/cdn/{FVRPTQI3.js → NFF3XJCU.js} +2 -2
- package/dist/cdn/{QO2ZTNZX.js → NIJPA4SM.js} +1 -1
- package/dist/cdn/{ZHGFA3G6.js → NJIU7ZSH.js} +2 -2
- package/dist/cdn/{ABDZFRNQ.js → NOQOCKQ7.js} +1 -1
- package/dist/cdn/{AROZZTLC.js → NUJQANNG.js} +2 -2
- package/dist/cdn/{ZFXHCTR7.js → OGC56H6W.js} +2 -2
- package/dist/cdn/{PR3LYKHL.js → OGDXHA2A.js} +2 -2
- package/dist/cdn/{RM6TDFDN.js → OVXMSNFT.js} +2 -2
- package/dist/cdn/{OGTTXDAK.js → OYQEWB4W.js} +2 -2
- package/dist/cdn/{ZJFSSOGQ.js → P4GRNK3A.js} +2 -2
- package/dist/cdn/{V75YSWB3.js → P7H6BWG6.js} +2 -2
- package/dist/cdn/{EEXFEVWD.js → PAIE4GH5.js} +2 -2
- package/dist/cdn/{JLLN2ENS.js → PSKAIEC4.js} +2 -2
- package/dist/cdn/{KB3AJXYF.js → QA5LSCXN.js} +1 -1
- package/dist/cdn/{YTBMZ5YG.js → QFHNK3QF.js} +2 -2
- package/dist/cdn/{VWLGDVVA.js → QIJP4FAI.js} +2 -2
- package/dist/cdn/{FOIQNWOU.js → QJDRCVIE.js} +2 -2
- package/dist/cdn/{YWMO3LZG.js → QL24A7L7.js} +2 -2
- package/dist/cdn/{R3QLKTXH.js → R5IQLQ2R.js} +2 -2
- package/dist/cdn/{WY3CKD6G.js → RJBSVLEC.js} +2 -2
- package/dist/cdn/{SBPSYNHT.js → S6VI3OG2.js} +2 -2
- package/dist/cdn/SAJCTWLM.js +4 -0
- package/dist/cdn/{XAKENHG2.js → SHW6X4UL.js} +2 -2
- package/dist/cdn/{ZJ6G4KZA.js → SK6DZVNL.js} +2 -2
- package/dist/cdn/{64LJVFN7.js → SS327FZS.js} +2 -2
- package/dist/cdn/T2TEG2DI.js +4 -0
- package/dist/cdn/{GFU2TOBF.js → T6W6SSIU.js} +2 -2
- package/dist/cdn/{5MIFZZ7B.js → TCFIKMQ6.js} +2 -2
- package/dist/cdn/{YDBR6QEI.js → TQYEOF4I.js} +1 -1
- package/dist/cdn/{QM6PACZG.js → TUGLGSSG.js} +2 -2
- package/dist/cdn/{GYYSR2JM.js → TULGXAWB.js} +2 -2
- package/dist/cdn/{VA772WSH.js → TWMOMCPF.js} +2 -2
- package/dist/cdn/{4TTNKKGN.js → UAJH5KLP.js} +2 -2
- package/dist/cdn/{HEWCAU4S.js → UDNHR5QM.js} +2 -2
- package/dist/cdn/{SN7UB3HH.js → UJXE4P72.js} +1 -1
- package/dist/cdn/{ZLKSYMKF.js → UKOFHGWG.js} +2 -2
- package/dist/cdn/{REYX6FGD.js → UZIURP2C.js} +2 -2
- package/dist/cdn/{KFAVJ7HY.js → V3WW4VTV.js} +1 -1
- package/dist/cdn/{VFERTG5F.js → VDJ7XYC2.js} +2 -2
- package/dist/cdn/{6M45FMWP.js → VFEKI45R.js} +1 -1
- package/dist/cdn/{DJOUDO4O.js → VG4H56N7.js} +2 -2
- package/dist/cdn/{3THBZN6T.js → VOG67DRD.js} +2 -2
- package/dist/cdn/W3QTXZXM.js +4 -0
- package/dist/cdn/{MM4UAGPO.js → WBSEUVFA.js} +2 -2
- package/dist/cdn/{NLWEQT6O.js → WBYUT7V2.js} +1 -1
- package/dist/cdn/{GSVVUM4W.js → WKNBFT7A.js} +2 -2
- package/dist/cdn/{E4RDL4V2.js → WNAZBUM2.js} +2 -2
- package/dist/cdn/{TNQNBOFR.js → WSFXUOZK.js} +2 -2
- package/dist/cdn/{QZBMGMIT.js → XAZWPEMZ.js} +2 -2
- package/dist/cdn/{W7IVSERE.js → XFNV4IWM.js} +2 -2
- package/dist/cdn/{VBA7RYCZ.js → XJRV6WIY.js} +2 -2
- package/dist/cdn/{NK45KQY3.js → XRFS3W5T.js} +2 -2
- package/dist/cdn/{JORCO56U.js → XY5TGWB2.js} +2 -2
- package/dist/cdn/{ECL5QTYY.js → XZW6ZZNZ.js} +2 -2
- package/dist/cdn/{DY2Z6YH2.js → Y2M6PUET.js} +2 -2
- package/dist/cdn/{YBUI7RK7.js → Y4SA56C6.js} +2 -2
- package/dist/cdn/{TRBDTLQP.js → YB677EUC.js} +2 -2
- package/dist/cdn/{M5VQNB53.js → YD3STALX.js} +2 -2
- package/dist/cdn/{6P2UUJ3P.js → YIXYUAIW.js} +1 -1
- package/dist/cdn/{O4QNOO24.js → YL3FMJEP.js} +2 -2
- package/dist/cdn/{WWBDX5B7.js → Z435UJGU.js} +2 -2
- package/dist/cdn/{Z7JTH3FM.js → Z7VBRK75.js} +2 -2
- package/dist/cdn/{SZ4QCEHF.js → ZA2M7Y7R.js} +2 -2
- package/dist/cdn/{AYDEGZQZ.js → ZGBIUJKF.js} +2 -2
- package/dist/cdn/{MTNZRX4E.js → ZP4JEW42.js} +2 -2
- package/dist/cdn/{2OQKVEUK.js → ZQG6STQO.js} +2 -2
- package/dist/cdn/{JN55WZ7Q.js → ZYZPWDPP.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/InternalLabel.js +1 -1
- package/dist/chunks/Validation.js +1 -1
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +1 -1
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +1 -1
- package/dist/chunks/dynamicClasses.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/form.js +1 -1
- package/dist/chunks/global.js +1 -1
- package/dist/chunks/guid.js +1 -1
- package/dist/chunks/header.js +1 -1
- package/dist/chunks/input.js +1 -1
- package/dist/chunks/interact.min.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/observers.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/resources2.js +1 -1
- package/dist/chunks/resources3.js +1 -1
- package/dist/chunks/resources4.js +1 -1
- package/dist/chunks/resources5.js +1 -1
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/resources8.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +5 -5
- package/dist/chunks/sortable.js +1 -1
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/text.js +1 -1
- package/dist/chunks/useCancelable.js +1 -1
- package/dist/chunks/useFocusTrap.js +1 -1
- package/dist/chunks/useInteractive.js +1 -1
- package/dist/chunks/usePreventDocumentScroll.js +1 -1
- package/dist/chunks/useSetFocus.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useTime.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-action/customElement.d.ts +1 -0
- package/dist/components/calcite-action/customElement.js +2 -2
- package/dist/components/calcite-action-bar/customElement.js +1 -1
- package/dist/components/calcite-action-group/customElement.js +18 -4
- package/dist/components/calcite-action-menu/customElement.js +1 -1
- package/dist/components/calcite-action-pad/customElement.js +1 -1
- package/dist/components/calcite-alert/customElement.js +3 -3
- package/dist/components/calcite-autocomplete/customElement.js +8 -8
- package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.js +1 -1
- package/dist/components/calcite-block-group/customElement.js +1 -1
- package/dist/components/calcite-block-section/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.js +1 -1
- package/dist/components/calcite-card/customElement.js +1 -1
- package/dist/components/calcite-card-group/customElement.js +1 -1
- package/dist/components/calcite-carousel/customElement.js +1 -1
- package/dist/components/calcite-carousel-item/customElement.js +1 -1
- package/dist/components/calcite-checkbox/customElement.js +1 -1
- package/dist/components/calcite-chip/customElement.js +1 -1
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.js +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +4 -4
- package/dist/components/calcite-combobox-item/customElement.js +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.js +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +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.js +3 -3
- package/dist/components/calcite-dropdown/customElement.js +4 -4
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.js +1 -1
- package/dist/components/calcite-fab/customElement.js +1 -1
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.js +1 -1
- package/dist/components/calcite-graph/customElement.js +1 -1
- package/dist/components/calcite-handle/customElement.js +1 -1
- package/dist/components/calcite-icon/customElement.js +1 -1
- package/dist/components/calcite-inline-editable/customElement.js +1 -1
- package/dist/components/calcite-input/customElement.js +1 -1
- package/dist/components/calcite-input-date-picker/customElement.js +4 -4
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.js +1 -1
- package/dist/components/calcite-input-text/customElement.js +1 -1
- package/dist/components/calcite-input-time-picker/customElement.js +1 -1
- package/dist/components/calcite-input-time-zone/customElement.js +1 -1
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.js +1 -1
- package/dist/components/calcite-list-item/customElement.js +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.js +1 -1
- package/dist/components/calcite-menu/customElement.js +1 -1
- package/dist/components/calcite-menu-item/customElement.js +1 -1
- package/dist/components/calcite-meter/customElement.js +1 -1
- package/dist/components/calcite-navigation/customElement.js +1 -1
- package/dist/components/calcite-navigation-logo/customElement.js +1 -1
- package/dist/components/calcite-navigation-user/customElement.js +1 -1
- package/dist/components/calcite-notice/customElement.js +1 -1
- package/dist/components/calcite-option/customElement.js +1 -1
- package/dist/components/calcite-option-group/customElement.js +1 -1
- package/dist/components/calcite-pagination/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-popover/customElement.js +6 -3
- package/dist/components/calcite-progress/customElement.js +1 -1
- package/dist/components/calcite-radio-button/customElement.js +1 -1
- package/dist/components/calcite-radio-button-group/customElement.js +1 -1
- package/dist/components/calcite-rating/customElement.js +1 -1
- package/dist/components/calcite-scrim/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.js +1 -1
- package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
- package/dist/components/calcite-select/customElement.js +1 -1
- package/dist/components/calcite-sheet/customElement.js +3 -3
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-shell-panel/customElement.js +2 -2
- package/dist/components/calcite-slider/customElement.js +1 -1
- package/dist/components/calcite-sort-handle/customElement.js +1 -1
- package/dist/components/calcite-sortable-list/customElement.js +1 -1
- package/dist/components/calcite-split-button/customElement.js +1 -1
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.js +1 -1
- package/dist/components/calcite-stepper-item/customElement.js +1 -1
- package/dist/components/calcite-swatch/customElement.js +1 -1
- package/dist/components/calcite-swatch-group/customElement.js +1 -1
- package/dist/components/calcite-switch/customElement.js +1 -1
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab-nav/customElement.js +1 -1
- package/dist/components/calcite-tab-title/customElement.js +1 -1
- package/dist/components/calcite-table/customElement.js +1 -1
- package/dist/components/calcite-table-cell/customElement.js +1 -1
- package/dist/components/calcite-table-header/customElement.js +1 -1
- package/dist/components/calcite-table-row/customElement.js +1 -1
- package/dist/components/calcite-tabs/customElement.js +1 -1
- package/dist/components/calcite-text-area/customElement.js +1 -1
- package/dist/components/calcite-tile/customElement.js +1 -1
- package/dist/components/calcite-tile-group/customElement.js +1 -1
- package/dist/components/calcite-time-picker/customElement.js +1 -1
- package/dist/components/calcite-tooltip/customElement.js +6 -3
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +1 -1
- package/dist/docs/api.json +4 -2
- package/dist/docs/docs.json +2 -1
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +2 -2
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +7 -7
- package/dist/cdn/KQ3YUIKX.js +0 -4
- package/dist/cdn/URCLPXEQ.js +0 -4
- package/dist/cdn/WZQ2VTA5.js +0 -4
- package/dist/cdn/XG2O37AU.js +0 -4
package/dist/chunks/input.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
const minMaxStepTypes = ["date", "datetime-local", "month", "number", "range", "time", "week"];
|
|
5
5
|
const patternTypes = ["email", "password", "search", "tel", "text", "url"];
|
|
6
6
|
const minMaxLengthTypes = ["email", "password", "search", "tel", "text", "textarea", "url"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
function getDefaultExportFromCjs(x) {
|
|
5
5
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
6
6
|
}
|
package/dist/chunks/key.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
function isActivationKey(key) {
|
|
5
5
|
return key === "Enter" || key === " ";
|
|
6
6
|
}
|
package/dist/chunks/label.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { q as queryElementRoots, o as closestElementCrossShadowBoundary, p as isBefore } from "./dom.js";
|
|
5
5
|
const labelClickEvent = "calciteInternalLabelClick";
|
|
6
6
|
const labelConnectedEvent = "calciteInternalLabelConnected";
|
package/dist/chunks/locale.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { defaultLocale } from "@arcgis/toolkit/intl";
|
|
5
5
|
import { n as numberKeys } from "./key.js";
|
|
6
6
|
const unnecessaryDecimal = new RegExp(`\\${"."}(0+)?$`);
|
package/dist/chunks/logger.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { d as getConfig } from "./runtime.js";
|
|
5
5
|
const loggedDeprecations = /* @__PURE__ */ new Set();
|
|
6
6
|
const logLevels = {
|
package/dist/chunks/math.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
5
5
|
const decimalNumberRegex = new RegExp(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);
|
|
6
6
|
const decimalPlaces = (value) => {
|
package/dist/chunks/observers.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { isServer } from "lit";
|
|
5
5
|
function createObserver(type, callback, options) {
|
|
6
6
|
if (isServer) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { w as whenTransitionDone } from "./dom.js";
|
|
5
5
|
function isOpen(component) {
|
|
6
6
|
return component[component.openProp || "open"];
|
package/dist/chunks/resources.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
const CSS = {
|
|
5
5
|
container: "container",
|
|
6
6
|
actionsStart: "actions-start",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
const CSS = {
|
|
5
5
|
menu: "menu",
|
|
6
6
|
defaultTrigger: "default-trigger"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
const CSS = {
|
|
5
5
|
actionBarContainer: "action-bar-container",
|
|
6
6
|
container: "container",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
const KindIcons = {
|
|
5
5
|
brand: "lightbulb",
|
|
6
6
|
danger: "exclamationMarkTriangle",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
const CSS = {
|
|
5
5
|
actionsEnd: "actions-end",
|
|
6
6
|
actionsStart: "actions-start",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
const ComboboxItemSelector = "CALCITE-COMBOBOX-ITEM";
|
|
5
5
|
const ComboboxItemGroupSelector = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
6
6
|
const AllComboboxChildrenSelector = `${ComboboxItemSelector}, ${ComboboxItemGroupSelector}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
const CSS = {
|
|
5
5
|
container: "container",
|
|
6
6
|
containerNone: "container--none-selection",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
const SLOTS = {
|
|
5
5
|
menuActions: "menu-actions",
|
|
6
6
|
menuTooltip: "menu-tooltip"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { d as calciteContainerSizeWidthXxs, e as calciteContainerSizeWidthXs, f as calciteContainerSizeWidthSm, g as calciteContainerSizeWidthMd } from "./global.js";
|
|
5
5
|
const breakpoints = {
|
|
6
6
|
width: {
|
package/dist/chunks/runtime.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../cdn/main.css";
|
|
2
2
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
v5.0.0-next.
|
|
4
|
+
v5.0.0-next.39 */
|
|
5
5
|
import { makeRuntime } from "@arcgis/lumina";
|
|
6
6
|
import { isServer } from "lit";
|
|
7
7
|
import "lit-html/is-server.js";
|
|
@@ -63,9 +63,9 @@ function getConfig() {
|
|
|
63
63
|
}
|
|
64
64
|
return effectiveConfig;
|
|
65
65
|
}
|
|
66
|
-
const version = "5.0.0-next.
|
|
67
|
-
const buildDate = "2025-12-
|
|
68
|
-
const revision = "
|
|
66
|
+
const version = "5.0.0-next.39";
|
|
67
|
+
const buildDate = "2025-12-23";
|
|
68
|
+
const revision = "8a48508d1";
|
|
69
69
|
function stampVersion() {
|
|
70
70
|
const config = getConfig();
|
|
71
71
|
if (config && config.version) {
|
|
@@ -88,7 +88,7 @@ if (!isServer) {
|
|
|
88
88
|
if (process.env.NODE_ENV !== "test") {
|
|
89
89
|
queueMicrotask(stampVersion);
|
|
90
90
|
}
|
|
91
|
-
const runtime = makeRuntime({ defaultAssetPath: "https://cdn.jsdelivr.net/npm/@esri/calcite-components@5.0.0-next.
|
|
91
|
+
const runtime = makeRuntime({ defaultAssetPath: "https://cdn.jsdelivr.net/npm/@esri/calcite-components@5.0.0-next.39/dist/calcite/", hydratedAttribute: "calcite-hydrated" });
|
|
92
92
|
const { customElement, getAssetPath, setAssetPath } = runtime;
|
|
93
93
|
export {
|
|
94
94
|
CSS_UTILITY as C,
|
package/dist/chunks/sortable.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { css } from "lit";
|
|
5
5
|
const styles = css`:host(.calcite-sortable--chosen),:host(.calcite-sortable--drag),:host(.calcite-sortable--fallback),:host(.calcite-sortable--ghost){position:relative;overflow:hidden}:host(.calcite-sortable--ghost):before{content:"";position:absolute;inset-block:0px;inset-inline-start:0px;inset-inline-end:0px;z-index:var(--calcite-z-index);box-sizing:border-box;border-width:1px;border-style:dashed;border-color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-2)}:host(.calcite-sortable--drag){--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}`;
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import Sortable from "sortablejs";
|
|
5
5
|
const sortableComponentSet = /* @__PURE__ */ new Set();
|
|
6
6
|
const CSS = {
|
package/dist/chunks/text.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { html } from "lit";
|
|
5
5
|
import { safeClassMap } from "@arcgis/lumina";
|
|
6
6
|
const CSS = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { makeGenericController } from "@arcgis/lumina/controllers";
|
|
5
5
|
const useCancelable = () => {
|
|
6
6
|
return makeGenericController((_, controller) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { makeGenericController } from "@arcgis/lumina/controllers";
|
|
5
5
|
import { createFocusTrap } from "focus-trap";
|
|
6
6
|
import { r as tabbableOptions, b as focusElement } from "./dom.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { makeGenericController } from "@arcgis/lumina/controllers";
|
|
5
5
|
import { safeClassMap } from "@arcgis/lumina";
|
|
6
6
|
import { html } from "lit-html";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { makeGenericController } from "@arcgis/lumina/controllers";
|
|
5
5
|
let openedComponentCount = 0;
|
|
6
6
|
let initialDocumentOverflowStyle = "";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { makeGenericController } from "@arcgis/lumina/controllers";
|
|
5
5
|
import { c as componentFocusable } from "./component.js";
|
|
6
6
|
import { m as getRootNode, b as focusElement } from "./dom.js";
|
package/dist/chunks/useT9n.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { makeT9nController } from "@arcgis/lumina/controllers";
|
|
5
5
|
import { g as getAssetPath } from "./runtime.js";
|
|
6
6
|
const useT9n = makeT9nController(getAssetPath);
|
package/dist/chunks/useTime.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { toFunction, GenericController } from "@arcgis/lumina/controllers";
|
|
5
5
|
import { createEvent } from "@arcgis/lumina";
|
|
6
6
|
import { l as localizedTwentyFourHourMeridiems, i as isValidNumber, n as numberStringFormatter, g as getDateTimeFormat, a as getSupportedNumberingSystem } from "./locale.js";
|
package/dist/chunks/utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import Color from "color";
|
|
5
5
|
import { c as calciteSpacingFixedXl, a as calciteSpacingFixedMd, b as calciteSpacingFixedSm } from "./global.js";
|
|
6
6
|
const CSS = {
|
package/dist/chunks/utils2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { isServer } from "lit";
|
|
5
5
|
const listSelector = "calcite-list";
|
|
6
6
|
const listItemGroupSelector = "calcite-list-item-group";
|
package/dist/chunks/utils3.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { defaultLocale, normalizeLocale, supportedLocales } from "@arcgis/toolkit/intl";
|
|
5
5
|
import { a as dateFromISO } from "./date.js";
|
|
6
6
|
import { g as getAssetPath } from "./runtime.js";
|
package/dist/chunks/utils4.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { isServer } from "lit";
|
|
5
5
|
import { n as nodeListToArray } from "./dom.js";
|
|
6
6
|
import { A as AllComboboxChildrenSelector, C as ComboboxItemSelector, a as ComboboxItemGroupSelector } from "./resources6.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, html, nothing } from "lit";
|
|
@@ -23,6 +23,7 @@ export declare class Action extends LitElement {
|
|
|
23
23
|
/**
|
|
24
24
|
* Specifies the appearance of the component.
|
|
25
25
|
*
|
|
26
|
+
* @deprecated in v5.0.0, removal target v6.0.0 - No longer necessary.
|
|
26
27
|
* @default "transparent"
|
|
27
28
|
*/
|
|
28
29
|
appearance: Extract<"solid" | "transparent", Appearance>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { keyed } from "lit/directives/keyed.js";
|
|
@@ -31,7 +31,7 @@ const IDS = {
|
|
|
31
31
|
button: (id) => `${prefixId}-${id}-button`,
|
|
32
32
|
indicator: (id) => `${prefixId}-${id}-indicator`
|
|
33
33
|
};
|
|
34
|
-
const styles = css`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-action-font-size: var(--calcite-font-size--2);--calcite-internal-action-height: var(--calcite-size-sm);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-font-size: var(--calcite-font-size--1);--calcite-internal-action-height: var(--calcite-size-md);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-font-size: var(--calcite-font-size-0);--calcite-internal-action-height: var(--calcite-size-lg);--calcite-internal-action-line-height: 1.25rem;--calcite-internal-action-spacing: var(--calcite-spacing-sm-plus)}:host{display:flex;cursor:pointer;background-color:transparent;--calcite-internal-action-text-color: var(--calcite-color-text-3);border-radius:var(--calcite-action-corner-radius, var(--calcite-action-corner-radius-start-start, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-start-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-start, var(--calcite-corner-radius-xs)))}.interaction-container{border-radius:inherit}:host([width=full]){flex:1 0 auto}:host([width=full]) .button{justify-content:center}:host([width=full]) .button .text-container--visible{flex:none}:host([drag-handle]){cursor:move;--calcite-internal-action-text-color: var(--calcite-color-border-input);--calcite-internal-action-padding-inline: var(--calcite-spacing-xxs)}.button{position:relative;margin:0;display:flex;inline-size:auto;align-items:center;justify-content:flex-start;border-style:none;outline-color:transparent;background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1));border-radius:inherit;color:var(--calcite-action-text-color, var(--calcite-internal-action-text-color));cursor:inherit;flex:1 0 auto;font-family:inherit;font-size:var(--calcite-internal-action-font-size);font-weight:var(--calcite-font-weight-normal);line-height:var(--calcite-internal-action-line-height);min-block-size:var(--calcite-internal-action-height);padding-block:var(--calcite-internal-action-padding-block, var(--calcite-internal-action-spacing));padding-inline:var(--calcite-internal-action-padding-inline, var(--calcite-internal-action-spacing));text-align:start}.button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}.button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}.button--text-visible{gap:var(--calcite-internal-action-spacing);inline-size:100%}.icon-container{pointer-events:none;margin:0;display:flex;align-items:center;justify-content:center}.text-container{margin:0;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:0;transition-property:opacity;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:inline-size}.text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1}:host([active]) .button{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-3));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}:host([active]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-foreground-3))}:host([active]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1))}:host([loading]) calcite-loader[inline]{margin-inline-end:0px}:host([appearance=transparent]):host([active]) .button{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([appearance=transparent]) .button{
|
|
34
|
+
const styles = css`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-action-font-size: var(--calcite-font-size--2);--calcite-internal-action-height: var(--calcite-size-sm);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-font-size: var(--calcite-font-size--1);--calcite-internal-action-height: var(--calcite-size-md);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-font-size: var(--calcite-font-size-0);--calcite-internal-action-height: var(--calcite-size-lg);--calcite-internal-action-line-height: 1.25rem;--calcite-internal-action-spacing: var(--calcite-spacing-sm-plus)}:host{display:flex;cursor:pointer;background-color:transparent;--calcite-internal-action-text-color: var(--calcite-color-text-3);border-radius:var(--calcite-action-corner-radius, var(--calcite-action-corner-radius-start-start, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-start-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-start, var(--calcite-corner-radius-xs)))}.interaction-container{border-radius:inherit}:host([width=full]){flex:1 0 auto}:host([width=full]) .button{justify-content:center}:host([width=full]) .button .text-container--visible{flex:none}:host([drag-handle]){cursor:move;--calcite-internal-action-text-color: var(--calcite-color-border-input);--calcite-internal-action-padding-inline: var(--calcite-spacing-xxs)}.button{position:relative;margin:0;display:flex;inline-size:auto;align-items:center;justify-content:flex-start;border-style:none;outline-color:transparent;background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1));border-radius:inherit;color:var(--calcite-action-text-color, var(--calcite-internal-action-text-color));cursor:inherit;flex:1 0 auto;font-family:inherit;font-size:var(--calcite-internal-action-font-size);font-weight:var(--calcite-font-weight-normal);line-height:var(--calcite-internal-action-line-height);min-block-size:var(--calcite-internal-action-height);padding-block:var(--calcite-internal-action-padding-block, var(--calcite-internal-action-spacing));padding-inline:var(--calcite-internal-action-padding-inline, var(--calcite-internal-action-spacing));text-align:start}.button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}.button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}.button--text-visible{gap:var(--calcite-internal-action-spacing);inline-size:100%}.icon-container{pointer-events:none;margin:0;display:flex;align-items:center;justify-content:center}.text-container{margin:0;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:0;transition-property:opacity;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:inline-size}.text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1}:host([active]) .button{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-3));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}:host([active]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-foreground-3))}:host([active]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1))}:host([loading]) calcite-loader[inline]{margin-inline-end:0px}:host([appearance=transparent]):host([active]) .button{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([appearance=transparent]) .button{transition-property:box-shadow;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);background-color:var(--calcite-action-background-color, var(--calcite-color-transparent))}:host([appearance=transparent]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-transparent-hover))}:host([appearance=transparent]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([selection-appearance=highlight][active]) .button{background-color:var(--calcite-color-surface-highlight);color:var(--calcite-color-text-highlight)}:host([active-descendant]) .button{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:flex}.slot-container--hidden{display:none}.indicator-with-icon{position:relative}.indicator-with-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}.indicator-without-icon{margin-inline:.25rem;inline-size:1rem;position:relative}.indicator-without-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}:host([scale=s]) .indicator-with-icon{position:relative}:host([scale=s]) .indicator-with-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.125rem;inset-inline-end:-.125rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}:host([scale=s]) .indicator-without-icon{position:relative}:host([scale=s]) .indicator-without-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.175rem;inset-inline-end:-.175rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}.indicator-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
|
|
35
35
|
class Action extends LitElement {
|
|
36
36
|
constructor() {
|
|
37
37
|
super(...arguments);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { D as DEBOUNCE, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { debounce } from "es-toolkit";
|
|
6
6
|
import { css, html } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
@@ -35,7 +35,6 @@ class ActionGroup extends LitElement {
|
|
|
35
35
|
this.calciteActionGroupCollapse = createEvent({ cancelable: false });
|
|
36
36
|
this.calciteActionGroupExpand = createEvent({ cancelable: false });
|
|
37
37
|
this.listen("click", this.handleActionClick);
|
|
38
|
-
this.setRoleOnActions();
|
|
39
38
|
}
|
|
40
39
|
static {
|
|
41
40
|
this.properties = { hasMenuActions: [16, {}, { state: true }], columns: [11, {}, { type: Number, reflect: true }], expanded: [7, {}, { reflect: true, type: Boolean }], label: 1, layout: [3, {}, { reflect: true }], menuFlipPlacements: [0, {}, { attribute: false }], menuOpen: [7, {}, { reflect: true, type: Boolean }], menuPlacement: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selectionMode: [3, {}, { reflect: true }] };
|
|
@@ -51,7 +50,11 @@ class ActionGroup extends LitElement {
|
|
|
51
50
|
}
|
|
52
51
|
willUpdate(changes) {
|
|
53
52
|
if (this.hasUpdated || changes.has("selectionMode")) {
|
|
54
|
-
this.
|
|
53
|
+
if (this.selectionMode !== "none") {
|
|
54
|
+
this.setRoleOnActions();
|
|
55
|
+
} else if (this.selectionMode === "none") {
|
|
56
|
+
this.clearActionAriaAttributes();
|
|
57
|
+
}
|
|
55
58
|
}
|
|
56
59
|
if (changes.has("expanded")) {
|
|
57
60
|
if (this.hasUpdated || this.expanded !== false) {
|
|
@@ -107,7 +110,7 @@ class ActionGroup extends LitElement {
|
|
|
107
110
|
this.setActiveAction(index, target);
|
|
108
111
|
}
|
|
109
112
|
setRoleOnActions() {
|
|
110
|
-
this.actions
|
|
113
|
+
this.actions.forEach((action) => {
|
|
111
114
|
action.aria = {
|
|
112
115
|
...action.aria,
|
|
113
116
|
role: this.selectionMode === "single" || this.selectionMode === "single-persist" ? "radio" : "checkbox"
|
|
@@ -121,6 +124,17 @@ class ActionGroup extends LitElement {
|
|
|
121
124
|
checked: checked ? "true" : "false"
|
|
122
125
|
};
|
|
123
126
|
}
|
|
127
|
+
clearActionAriaAttributes() {
|
|
128
|
+
if (this.selectionMode === "none") {
|
|
129
|
+
this.actions.forEach((action) => {
|
|
130
|
+
if (action.aria) {
|
|
131
|
+
action.aria.checked = void 0;
|
|
132
|
+
action.aria.role = void 0;
|
|
133
|
+
action.aria = { ...action.aria };
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
}
|
|
124
138
|
renderMenu() {
|
|
125
139
|
const { expanded, menuOpen, scale, layout, messages, overlayPositioning, hasMenuActions, menuFlipPlacements, menuPlacement } = this;
|
|
126
140
|
return html`<calcite-action-menu .expanded=${expanded} .flipPlacements=${menuFlipPlacements ?? (layout === "horizontal" ? ["top", "bottom"] : ["left", "right"])} .hidden=${!hasMenuActions} .label=${messages.more} @calciteActionMenuOpen=${this.setMenuOpen} .open=${menuOpen} .overlayPositioning=${overlayPositioning} .placement=${menuPlacement ?? (layout === "horizontal" ? "bottom-start" : "leading-start")} .scale=${scale}><calcite-action .aria=${{ expanded }} .icon=${ICONS.menu} .scale=${scale} slot=${SLOTS.trigger} .text=${messages.more} .textEnabled=${expanded}></calcite-action><slot name=${SLOTS$1.menuActions} @slotchange=${this.handleMenuActionsSlotChange}></slot><slot name=${SLOTS$1.menuTooltip} slot=${SLOTS.tooltip}></slot></calcite-action-menu>`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { ref } from "lit/directives/ref.js";
|
|
6
6
|
import { css, html, nothing } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { ref } from "lit/directives/ref.js";
|
|
6
6
|
import { keyed } from "lit/directives/keyed.js";
|
|
@@ -194,7 +194,6 @@ class Alert extends LitElement {
|
|
|
194
194
|
} else {
|
|
195
195
|
manager.unregisterElement(this.el);
|
|
196
196
|
}
|
|
197
|
-
this.handlePopover();
|
|
198
197
|
}
|
|
199
198
|
updateDuration() {
|
|
200
199
|
if (this.autoClose && this.autoCloseTimeoutId) {
|
|
@@ -241,7 +240,6 @@ class Alert extends LitElement {
|
|
|
241
240
|
return;
|
|
242
241
|
}
|
|
243
242
|
this.transitionEl = el;
|
|
244
|
-
this.handlePopover();
|
|
245
243
|
}
|
|
246
244
|
closeAlert() {
|
|
247
245
|
this.open = false;
|
|
@@ -249,6 +247,7 @@ class Alert extends LitElement {
|
|
|
249
247
|
}
|
|
250
248
|
onBeforeOpen() {
|
|
251
249
|
this.calciteAlertBeforeOpen.emit();
|
|
250
|
+
this.handlePopover();
|
|
252
251
|
}
|
|
253
252
|
onOpen() {
|
|
254
253
|
this.calciteAlertOpen.emit();
|
|
@@ -258,6 +257,7 @@ class Alert extends LitElement {
|
|
|
258
257
|
}
|
|
259
258
|
onClose() {
|
|
260
259
|
this.calciteAlertClose.emit();
|
|
260
|
+
this.handlePopover();
|
|
261
261
|
}
|
|
262
262
|
actionsEndSlotChangeHandler(event) {
|
|
263
263
|
this.hasEndActions = slotChangeHasAssignedElement(event);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { repeat } from "lit/directives/repeat.js";
|
|
6
6
|
import { css, nothing, html } from "lit";
|
|
@@ -10,7 +10,6 @@ import { debounce } from "es-toolkit";
|
|
|
10
10
|
import { escapeRegExp } from "es-toolkit/compat";
|
|
11
11
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
12
12
|
import { b as defaultMenuPlacement, r as reposition, c as connectFloatingUI, a as disconnectFloatingUI, F as FloatingCSS } from "../../chunks/floating-ui.js";
|
|
13
|
-
import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
|
|
14
13
|
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from "../../chunks/label.js";
|
|
15
14
|
import { c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, s as submitForm, H as HiddenFormInputSlot } from "../../chunks/form.js";
|
|
16
15
|
import { a as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
@@ -22,6 +21,7 @@ import { V as Validation } from "../../chunks/Validation.js";
|
|
|
22
21
|
import { c as createObserver, u as updateRefObserver } from "../../chunks/observers.js";
|
|
23
22
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
24
23
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
24
|
+
import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
|
|
25
25
|
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:block}.input-container{position:relative;display:flex;flex:1 1 auto;flex-wrap:nowrap}.input{width:100%;--calcite-input-prefix-size: var(--calcite-autocomplete-input-prefix-size);--calcite-input-suffix-size: var(--calcite-autocomplete-input-suffix-size);--calcite-input-background-color: var(--calcite-autocomplete-input-background-color);--calcite-input-border-color: var(--calcite-autocomplete-input-border-color);--calcite-input-corner-radius: var(--calcite-autocomplete-input-corner-radius);--calcite-input-shadow: var(--calcite-autocomplete-input-shadow);--calcite-input-icon-color: var(--calcite-autocomplete-input-icon-color);--calcite-input-text-color: var(--calcite-autocomplete-input-text-color);--calcite-input-placeholder-text-color: var(--calcite-autocomplete-input-placeholder-text-color);--calcite-input-actions-background-color: var(--calcite-autocomplete-input-actions-background-color);--calcite-input-actions-background-color-hover: var(--calcite-autocomplete-input-actions-background-color-hover);--calcite-input-actions-background-color-press: var(--calcite-autocomplete-input-actions-background-color-press);--calcite-input-actions-icon-color: var(--calcite-autocomplete-input-actions-icon-color);--calcite-input-actions-icon-color-hover: var(--calcite-autocomplete-input-actions-icon-color-hover);--calcite-input-actions-icon-color-press: var(--calcite-autocomplete-input-actions-icon-color-press);--calcite-input-loading-background-color: var(--calcite-autocomplete-input-loading-background-color);--calcite-input-loading-fill-color: var(--calcite-autocomplete-input-loading-fill-color);--calcite-input-prefix-text-color: var(--calcite-autocomplete-input-prefix-text-color);--calcite-input-suffix-text-color: var(--calcite-autocomplete-input-suffix-text-color)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.content-container{box-sizing:border-box;width:100%}.floating-ui-container{inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0}@starting-style{.floating-ui-container{opacity:0;inset-block-start:0;left:0}}.floating-ui-container[popover]{padding:0;margin:0;border:none;background-color:transparent;overflow:visible;display:none}.floating-ui-container:popover-open{display:block}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition-duration:var(--calcite-floating-ui-transition);transition-property:inset-block-start,left,opacity,display;transition-behavior:allow-discrete;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}@starting-style{.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:0}}.content-container .calcite-floating-ui-anim{max-height:45vh;width:100%;overflow-y:auto;color:var(--calcite-autocomplete-text-color, var(--calcite-color-text-1));background-color:var(--calcite-autocomplete-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-autocomplete-corner-radius, var(--calcite-corner-radius-round))}.content--hidden{display:none}@media(forced-colors:active){.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-spacing-base)}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-xxs)}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
26
26
|
const SLOTS = {
|
|
27
27
|
contentBottom: "content-bottom",
|
|
@@ -216,17 +216,16 @@ class Autocomplete extends LitElement {
|
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
openHandler() {
|
|
219
|
-
toggleOpenClose(this);
|
|
220
|
-
if (!this.open) {
|
|
221
|
-
this.activeIndex = -1;
|
|
222
|
-
}
|
|
223
219
|
if (this.disabled) {
|
|
224
220
|
this.open = false;
|
|
225
221
|
return;
|
|
226
222
|
}
|
|
223
|
+
if (!this.open) {
|
|
224
|
+
this.activeIndex = -1;
|
|
225
|
+
}
|
|
226
|
+
toggleOpenClose(this);
|
|
227
227
|
this.setFloatingElSize();
|
|
228
228
|
this.reposition(true);
|
|
229
|
-
this.handlePopover();
|
|
230
229
|
}
|
|
231
230
|
async documentClickHandler(event) {
|
|
232
231
|
if (this.disabled || event.composedPath().includes(this.el)) {
|
|
@@ -248,6 +247,7 @@ class Autocomplete extends LitElement {
|
|
|
248
247
|
}
|
|
249
248
|
onBeforeOpen() {
|
|
250
249
|
this.calciteAutocompleteBeforeOpen.emit();
|
|
250
|
+
this.handlePopover();
|
|
251
251
|
}
|
|
252
252
|
onOpen() {
|
|
253
253
|
this.calciteAutocompleteOpen.emit();
|
|
@@ -257,6 +257,7 @@ class Autocomplete extends LitElement {
|
|
|
257
257
|
}
|
|
258
258
|
onClose() {
|
|
259
259
|
this.calciteAutocompleteClose.emit();
|
|
260
|
+
this.handlePopover();
|
|
260
261
|
}
|
|
261
262
|
emitChange() {
|
|
262
263
|
this.calciteAutocompleteChange.emit();
|
|
@@ -396,7 +397,6 @@ class Autocomplete extends LitElement {
|
|
|
396
397
|
setFloatingEl(el) {
|
|
397
398
|
this.floatingEl = el;
|
|
398
399
|
connectFloatingUI(this);
|
|
399
|
-
this.handlePopover();
|
|
400
400
|
}
|
|
401
401
|
render() {
|
|
402
402
|
const { disabled, listId, inputId, isOpen } = this;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|