@esri/calcite-components 6.0.0-next.45 → 6.0.0-next.47
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/{LDDO47AD.js → 25SNGF6A.js} +1 -1
- package/dist/cdn/{TBJXZCJK.js → 2K2SS5WB.js} +1 -1
- package/dist/cdn/{KZAKOROX.js → 2O6TUC4L.js} +1 -1
- package/dist/cdn/{4HUPCETD.js → 2T2PV7GZ.js} +1 -1
- package/dist/cdn/{NDAIR3XA.js → 36J6QQRK.js} +1 -1
- package/dist/cdn/{L3HMVANK.js → 3BVJNWQR.js} +1 -1
- package/dist/cdn/{JJJBNWTY.js → 3FH2K6DN.js} +1 -1
- package/dist/cdn/{2HVWMIXF.js → 3JE3O6I4.js} +1 -1
- package/dist/cdn/{M37EX7MP.js → 4LLBWDWM.js} +1 -1
- package/dist/cdn/{LHJ5CGO4.js → 4XI7L4LA.js} +1 -1
- package/dist/cdn/{VF7KL4A5.js → 4YHXQEWX.js} +1 -1
- package/dist/cdn/{R6XPJG3I.js → 4ZNTG3SG.js} +1 -1
- package/dist/cdn/{6XG4QOCM.js → 5VT4DNXP.js} +1 -1
- package/dist/cdn/{F5S6VMMZ.js → 7FP3C3G7.js} +1 -1
- package/dist/cdn/{4JDB4ESH.js → 7LEDAYR7.js} +1 -1
- package/dist/cdn/{QBGRBD75.js → 7PW5EN4S.js} +1 -1
- package/dist/cdn/{34MDAXOX.js → 7SKASZJ2.js} +1 -1
- package/dist/cdn/{FZHXD6BS.js → A2WZGKSB.js} +1 -1
- package/dist/cdn/{34CJLGUM.js → A6DBNE6U.js} +1 -1
- package/dist/cdn/{X6F6GYSO.js → A7IJALIC.js} +1 -1
- package/dist/cdn/{VCZSRR5D.js → ADT2WKCD.js} +1 -1
- package/dist/cdn/{6B3MOZIA.js → ARZBOBX3.js} +1 -1
- package/dist/cdn/{FRZORQAM.js → AVCJAE5R.js} +1 -1
- package/dist/cdn/{G7TG6NG6.js → AWYDSBYZ.js} +1 -1
- package/dist/cdn/{CAUI7BYL.js → BGPK6T7V.js} +1 -1
- package/dist/cdn/{RWZC2XKT.js → BSJIVNZA.js} +1 -1
- package/dist/cdn/{YYB3V3FA.js → BYNOESIT.js} +1 -1
- package/dist/cdn/{F7WX2UIN.js → BZDLIPDY.js} +1 -1
- package/dist/cdn/{5L3SBVVK.js → C435RQW4.js} +1 -1
- package/dist/cdn/{XYJIYNCG.js → C4LVVY5D.js} +1 -1
- package/dist/cdn/{UI6AYIRK.js → CJXX6DKY.js} +1 -1
- package/dist/cdn/{KE6XDJG4.js → CR5VILMB.js} +1 -1
- package/dist/cdn/{D6CAUHNL.js → CV5RRQ4L.js} +1 -1
- package/dist/cdn/{SJLU737V.js → CWS7XFIF.js} +1 -1
- package/dist/cdn/{YRR3PUGK.js → D55JAGGJ.js} +1 -1
- package/dist/cdn/{KHKYZGRZ.js → DAQ5NJ2T.js} +1 -1
- package/dist/cdn/{C7VNQIOE.js → DDCEYU5I.js} +1 -1
- package/dist/cdn/{FQCIOXC6.js → DJAB7EV2.js} +1 -1
- package/dist/cdn/{2FBLLPR3.js → DJUBDTAA.js} +1 -1
- package/dist/cdn/{EBRZUBPI.js → DYX3P3RT.js} +1 -1
- package/dist/cdn/{MFE2PLXT.js → EDMY4ZQ7.js} +1 -1
- package/dist/cdn/{MTM7VABB.js → EKM66NKZ.js} +1 -1
- package/dist/cdn/{3ABKL52M.js → EM45DQMY.js} +1 -1
- package/dist/cdn/ET5BRIOF.js +2 -0
- package/dist/cdn/{M5M2KVGR.js → ETWZWHCS.js} +1 -1
- package/dist/cdn/{ZTDESRDK.js → FGRUPOWX.js} +1 -1
- package/dist/cdn/{SFIHVHUM.js → FGVK23LY.js} +1 -1
- package/dist/cdn/{JOSWADID.js → G6VD4D77.js} +1 -1
- package/dist/cdn/{T2Q5VTYE.js → GK2PIYTF.js} +1 -1
- package/dist/cdn/{LR56TC5M.js → GMOY5VNK.js} +1 -1
- package/dist/cdn/{ROTQFWHY.js → GNDIDKEV.js} +1 -1
- package/dist/cdn/{6JYFRCL2.js → GOXS34HG.js} +1 -1
- package/dist/cdn/{PWZGFWOM.js → GRHVUCTC.js} +1 -1
- package/dist/cdn/{2H2OYEBM.js → GU2ZZO67.js} +1 -1
- package/dist/cdn/{NEXZINWS.js → GY2B763O.js} +1 -1
- package/dist/cdn/{P54FRB23.js → H7BM6DGY.js} +1 -1
- package/dist/cdn/{KUEPNPKO.js → HG2GAIZC.js} +1 -1
- package/dist/cdn/{4MB4W6QQ.js → HORFBENW.js} +1 -1
- package/dist/cdn/{Z6TJIXO7.js → HQT4PC6K.js} +1 -1
- package/dist/cdn/{4L4QYBCT.js → HUZXXP7H.js} +1 -1
- package/dist/cdn/{ONR4D7M6.js → I5PKABOQ.js} +1 -1
- package/dist/cdn/{UI2FYJXI.js → I6AV34LI.js} +1 -1
- package/dist/cdn/{DMECBOWN.js → I6PXCEI7.js} +1 -1
- package/dist/cdn/{MX5BTLD5.js → IGDI4W46.js} +1 -1
- package/dist/cdn/{7A7RZ6FX.js → ITZ4ZBHV.js} +1 -1
- package/dist/cdn/{7EMKTKXE.js → IX4RZDNN.js} +1 -1
- package/dist/cdn/{FCT5GPFK.js → IY7IBKIZ.js} +1 -1
- package/dist/cdn/{OXX6CCPA.js → J4X6LBE4.js} +1 -1
- package/dist/cdn/{HKQLIXK4.js → JBNQOMHU.js} +1 -1
- package/dist/cdn/{WTZT5KRN.js → JIDPP75H.js} +1 -1
- package/dist/cdn/{O7PNJVUF.js → JIE4Z6BV.js} +1 -1
- package/dist/cdn/{XPWLA23P.js → JSNQUR4X.js} +1 -1
- package/dist/cdn/JTVZJXGN.js +2 -0
- package/dist/cdn/{ERJB3YHY.js → JWSUEQNN.js} +1 -1
- package/dist/cdn/{VM4COOKU.js → KGP3ZKOJ.js} +1 -1
- package/dist/cdn/{TQ57Q3JQ.js → KYZ3NOQO.js} +1 -1
- package/dist/cdn/{GAHDUXCB.js → L7Q36D6I.js} +1 -1
- package/dist/cdn/{CRPPRHQB.js → LA6AJHOW.js} +1 -1
- package/dist/cdn/{NLCNLC4I.js → MF2RU4S2.js} +1 -1
- package/dist/cdn/{PREALUNT.js → MIJDVGQF.js} +1 -1
- package/dist/cdn/{RL3MGXVK.js → MREB3C45.js} +1 -1
- package/dist/cdn/{FIMAKXGQ.js → MVKQTMGK.js} +1 -1
- package/dist/cdn/{ENQD4KJA.js → MZ3THECV.js} +1 -1
- package/dist/cdn/{XZ2QTCWH.js → N4BIIFRE.js} +1 -1
- package/dist/cdn/{ZEZAVNIG.js → N7KXWM3F.js} +1 -1
- package/dist/cdn/{QCI7E7NI.js → NZ4K2ZYH.js} +1 -1
- package/dist/cdn/{3M6M4U5C.js → O3QAXI5C.js} +1 -1
- package/dist/cdn/{3YJNMDNR.js → OC7LUWSJ.js} +1 -1
- package/dist/cdn/{DWZ74JD7.js → OIHKVYAG.js} +1 -1
- package/dist/cdn/{26DODVH5.js → OR6HW6JU.js} +1 -1
- package/dist/cdn/{XSN6ROXT.js → OZFZB5DC.js} +1 -1
- package/dist/cdn/{6HJWDZHT.js → P2UGAKIT.js} +1 -1
- package/dist/cdn/{X6U5ODAE.js → PAFE4RKI.js} +1 -1
- package/dist/cdn/{RLS4LQWH.js → PQHN7HHW.js} +1 -1
- package/dist/cdn/{B7WSIKMX.js → Q6ONJSIN.js} +1 -1
- package/dist/cdn/{GUKXTXVN.js → QF6SF7UX.js} +1 -1
- package/dist/cdn/{MLS526NK.js → R3TVNHNA.js} +1 -1
- package/dist/cdn/{DZVMWCOM.js → RHSBPRH7.js} +1 -1
- package/dist/cdn/{SWMMD4H5.js → RMW4ZMMT.js} +1 -1
- package/dist/cdn/{LSA3PERR.js → RRL7QGPG.js} +1 -1
- package/dist/cdn/{V3TWPU3T.js → S7NWDVQQ.js} +1 -1
- package/dist/cdn/{6SX3ITD4.js → SBRB36TL.js} +1 -1
- package/dist/cdn/{CNNZUX2A.js → SM2B5B6A.js} +1 -1
- package/dist/cdn/{VAXMIDPA.js → SRZN3VWR.js} +1 -1
- package/dist/cdn/{7GBJQ4FI.js → SXF4IHLX.js} +1 -1
- package/dist/cdn/{K5NVTVMK.js → T6D3NCCB.js} +1 -1
- package/dist/cdn/{4IHIALNQ.js → TMKZ7Z2H.js} +1 -1
- package/dist/cdn/{YTX53CIX.js → TWLRXMWR.js} +1 -1
- package/dist/cdn/{C4BG4VYS.js → U75YXQHG.js} +1 -1
- package/dist/cdn/{3JFXFQ2P.js → UGGGMWUW.js} +1 -1
- package/dist/cdn/{XBCDGCEZ.js → ULENI4TW.js} +1 -1
- package/dist/cdn/{AMB3M3OP.js → UUSDHPHV.js} +1 -1
- package/dist/cdn/{PXZ2XIID.js → VI5PNBMA.js} +1 -1
- package/dist/cdn/{U4XDMTIM.js → VJWTZOIB.js} +1 -1
- package/dist/cdn/{FQF5KOVN.js → VW6EBA5C.js} +1 -1
- package/dist/cdn/{Z3UOGATM.js → VWU5TGFO.js} +1 -1
- package/dist/cdn/{V7LESKPF.js → W7OO4WX5.js} +1 -1
- package/dist/cdn/{MZAV4AQ7.js → WBPGBBFS.js} +1 -1
- package/dist/cdn/{JGOE7QEG.js → WBQJHFGR.js} +1 -1
- package/dist/cdn/{YVXV3GZT.js → WYNHF2HN.js} +1 -1
- package/dist/cdn/{HW4DTINV.js → WZA2RJDU.js} +1 -1
- package/dist/cdn/{BGNMVMTJ.js → XCCEUIEM.js} +1 -1
- package/dist/cdn/{2BIOP4MZ.js → XDJH3AOD.js} +1 -1
- package/dist/cdn/{EWTLQ7IM.js → XNZJMTBL.js} +1 -1
- package/dist/cdn/{A2EQLDFB.js → XONWXPKL.js} +1 -1
- package/dist/cdn/{7LX2HH4J.js → XSI4QYHY.js} +1 -1
- package/dist/cdn/{453XPXSM.js → XSJCN3KK.js} +1 -1
- package/dist/cdn/{ITCOUUXS.js → XT4MNKTE.js} +1 -1
- package/dist/cdn/{RF2EH4W5.js → XVOO4NYP.js} +1 -1
- package/dist/cdn/{7G7EMTUF.js → YELXBHC2.js} +1 -1
- package/dist/cdn/YMYSO7W5.js +4 -0
- package/dist/cdn/{WPEOUBDT.js → YSKZAWFQ.js} +1 -1
- package/dist/cdn/{BBT33BLB.js → YSXXJBPK.js} +1 -1
- package/dist/cdn/{V7LEFNX3.js → YUSDYF2W.js} +1 -1
- package/dist/cdn/{ITBA55JA.js → YUWDS22O.js} +1 -1
- package/dist/cdn/{AZQ6AVBH.js → ZBSWXZB4.js} +1 -1
- package/dist/cdn/{ZTACZSAI.js → ZCZ5GPMM.js} +1 -1
- package/dist/cdn/{KLA3MAFG.js → ZFJ744XQ.js} +1 -1
- package/dist/cdn/{QXKA464H.js → ZGSGTFHH.js} +1 -1
- package/dist/cdn/{QE7VKFYE.js → ZV5F7RFE.js} +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/input-time-zone/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/table/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useTime.js +1 -3
- package/dist/components/calcite-accordion/customElement.js +3 -1
- package/dist/components/calcite-accordion-item/customElement.js +3 -1
- package/dist/components/calcite-action-bar/customElement.js +6 -1
- package/dist/components/calcite-action-group/customElement.d.ts +0 -3
- package/dist/components/calcite-action-group/customElement.js +4 -1
- package/dist/components/calcite-action-menu/customElement.d.ts +40 -6
- package/dist/components/calcite-autocomplete-item-group/customElement.js +3 -1
- package/dist/components/calcite-block-group/customElement.js +25 -5
- package/dist/components/calcite-color-picker/utils.d.ts +2 -2
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +21 -3
- package/dist/components/calcite-combobox/customElement.js +10 -3
- package/dist/components/calcite-combobox/types.d.ts +1 -0
- package/dist/components/calcite-combobox-item/customElement.d.ts +6 -1
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +6 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +6 -2
- package/dist/components/calcite-dialog/customElement.js +8 -2
- package/dist/components/calcite-dropdown/customElement.js +4 -1
- package/dist/components/calcite-dropdown-group/customElement.js +7 -2
- package/dist/components/calcite-dropdown-item/customElement.js +3 -1
- package/dist/components/calcite-flow/customElement.js +4 -1
- package/dist/components/calcite-graph/customElement.d.ts +22 -3
- package/dist/components/calcite-graph/types.d.ts +7 -7
- package/dist/components/calcite-icon/types.d.ts +4 -4
- package/dist/components/calcite-inline-editable/customElement.js +7 -2
- package/dist/components/calcite-input-date-picker/customElement.js +4 -1
- package/dist/components/calcite-input-time-picker/customElement.js +4 -1
- package/dist/components/calcite-input-time-zone/customElement.js +4 -1
- package/dist/components/calcite-list/customElement.js +16 -2
- package/dist/components/calcite-list-item/customElement.js +9 -2
- package/dist/components/calcite-list-item-group/customElement.js +3 -1
- package/dist/components/calcite-loader/customElement.d.ts +0 -3
- package/dist/components/calcite-menu/customElement.d.ts +3 -3
- package/dist/components/calcite-menu-item/customElement.js +4 -1
- package/dist/components/calcite-meter/customElement.d.ts +0 -3
- package/dist/components/calcite-navigation/customElement.js +13 -1
- package/dist/components/calcite-panel/customElement.js +4 -1
- package/dist/components/calcite-sheet/customElement.d.ts +0 -3
- package/dist/components/calcite-sheet/customElement.js +25 -6
- package/dist/components/calcite-shell/customElement.js +4 -1
- package/dist/components/calcite-shell-panel/customElement.d.ts +3 -21
- package/dist/components/calcite-shell-panel/customElement.js +24 -10
- package/dist/components/calcite-slider/customElement.js +14 -4
- package/dist/components/calcite-sort-handle/customElement.d.ts +81 -14
- package/dist/components/calcite-sort-handle/types.d.ts +14 -3
- package/dist/components/calcite-split-button/customElement.js +4 -1
- package/dist/components/calcite-stack/customElement.d.ts +12 -2
- package/dist/components/calcite-stepper/customElement.js +4 -1
- package/dist/components/calcite-stepper-item/customElement.js +3 -1
- package/dist/components/calcite-tab-nav/customElement.js +3 -1
- package/dist/components/calcite-tab-title/customElement.js +6 -2
- package/dist/components/calcite-table/customElement.js +3 -1
- package/dist/components/calcite-table-row/customElement.js +3 -1
- package/dist/components/calcite-text/customElement.d.ts +3 -3
- package/dist/components/calcite-text-area/customElement.js +3 -1
- package/dist/components/calcite-time-picker/customElement.d.ts +0 -3
- package/dist/components/calcite-tree-item/customElement.js +3 -1
- package/dist/components/types.d.ts +3 -3
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +2 -9
- package/dist/loader.js +4 -4
- package/dist/types/lumina.d.ts +2 -13
- package/dist/types/preact.d.ts +2 -15
- package/dist/types/react.d.ts +2 -17
- package/dist/types/stencil.d.ts +2 -13
- package/dist/utils/config.d.ts +16 -16
- package/dist/utils/date.d.ts +4 -0
- package/dist/utils/floating-ui.d.ts +7 -7
- package/dist/utils/locale.d.ts +3 -3
- package/dist/utils/time.d.ts +1 -3
- package/package.json +7 -7
- package/dist/cdn/6WNKZVIE.js +0 -2
- package/dist/cdn/RRBGCYLX.js +0 -2
- package/dist/cdn/Y5PMHXQ3.js +0 -4
- package/dist/components/calcite-date-picker-day/customElement.d.ts +0 -77
- package/dist/components/calcite-date-picker-day/index.d.ts +0 -1
- package/dist/components/calcite-date-picker-month/customElement.d.ts +0 -40
- package/dist/components/calcite-date-picker-month/index.d.ts +0 -1
- package/dist/controllers/useTime.d.ts +0 -136
- package/dist/utils/dom.d.ts +0 -19
|
@@ -43,7 +43,9 @@ class InlineEditable extends LitElement {
|
|
|
43
43
|
this.scale = "m";
|
|
44
44
|
this.calciteInlineEditableEditCancel = createEvent({ cancelable: false });
|
|
45
45
|
this.calciteInlineEditableEditConfirm = createEvent({ cancelable: false });
|
|
46
|
-
this.calciteInternalInlineEditableEnableEditingChange = createEvent({
|
|
46
|
+
this.calciteInternalInlineEditableEnableEditingChange = createEvent({
|
|
47
|
+
cancelable: false
|
|
48
|
+
});
|
|
47
49
|
useLabel(this);
|
|
48
50
|
this.listen("calciteInternalInputBlur", this.blurHandler);
|
|
49
51
|
this.listen("calciteInternalInputNumberBlur", this.blurHandler);
|
|
@@ -54,7 +56,10 @@ class InlineEditable extends LitElement {
|
|
|
54
56
|
this.properties = { afterConfirm: [0, {}, { attribute: false }], controls: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], editingEnabled: [7, {}, { reflect: true, type: Boolean }], loading: [7, {}, { reflect: true, type: Boolean }], messageOverrides: [0, {}, { attribute: false }], scale: [3, {}, { reflect: true }] };
|
|
55
57
|
}
|
|
56
58
|
static {
|
|
57
|
-
this.shadowRootOptions = {
|
|
59
|
+
this.shadowRootOptions = {
|
|
60
|
+
mode: "open",
|
|
61
|
+
delegatesFocus: true
|
|
62
|
+
};
|
|
58
63
|
}
|
|
59
64
|
static {
|
|
60
65
|
this.styles = styles;
|
|
@@ -148,7 +148,10 @@ class InputDatePicker extends LitElement {
|
|
|
148
148
|
this.formAssociated = true;
|
|
149
149
|
}
|
|
150
150
|
static {
|
|
151
|
-
this.shadowRootOptions = {
|
|
151
|
+
this.shadowRootOptions = {
|
|
152
|
+
mode: "open",
|
|
153
|
+
delegatesFocus: true
|
|
154
|
+
};
|
|
152
155
|
}
|
|
153
156
|
static {
|
|
154
157
|
this.styles = [styles, styles$1];
|
|
@@ -100,7 +100,10 @@ class InputTimePicker extends LitElement {
|
|
|
100
100
|
this.formAssociated = true;
|
|
101
101
|
}
|
|
102
102
|
static {
|
|
103
|
-
this.shadowRootOptions = {
|
|
103
|
+
this.shadowRootOptions = {
|
|
104
|
+
mode: "open",
|
|
105
|
+
delegatesFocus: true
|
|
106
|
+
};
|
|
104
107
|
}
|
|
105
108
|
static {
|
|
106
109
|
this.styles = styles;
|
|
@@ -241,7 +241,10 @@ class InputTimeZone extends LitElement {
|
|
|
241
241
|
this.formAssociated = true;
|
|
242
242
|
}
|
|
243
243
|
static {
|
|
244
|
-
this.shadowRootOptions = {
|
|
244
|
+
this.shadowRootOptions = {
|
|
245
|
+
mode: "open",
|
|
246
|
+
delegatesFocus: true
|
|
247
|
+
};
|
|
245
248
|
}
|
|
246
249
|
static {
|
|
247
250
|
this.styles = styles;
|
|
@@ -580,7 +580,14 @@ class List extends LitElement {
|
|
|
580
580
|
const fromElItems = Array.from(fromEl.children).filter(isListItem);
|
|
581
581
|
const oldIndex = fromElItems.indexOf(dragEl);
|
|
582
582
|
const newIndex = 0;
|
|
583
|
-
if (!this.validateSortMenuItem({
|
|
583
|
+
if (!this.validateSortMenuItem({
|
|
584
|
+
type: "add",
|
|
585
|
+
fromEl,
|
|
586
|
+
toEl,
|
|
587
|
+
dragEl,
|
|
588
|
+
newIndex,
|
|
589
|
+
oldIndex
|
|
590
|
+
})) {
|
|
584
591
|
return;
|
|
585
592
|
}
|
|
586
593
|
dragEl.sortHandleOpen = false;
|
|
@@ -608,7 +615,14 @@ class List extends LitElement {
|
|
|
608
615
|
const fromElItems = Array.from(fromEl.children).filter(isListItem);
|
|
609
616
|
const oldIndex = fromElItems.indexOf(dragEl);
|
|
610
617
|
const newIndex = 0;
|
|
611
|
-
if (!this.validateSortMenuItem({
|
|
618
|
+
if (!this.validateSortMenuItem({
|
|
619
|
+
type: "move",
|
|
620
|
+
fromEl,
|
|
621
|
+
toEl,
|
|
622
|
+
dragEl,
|
|
623
|
+
newIndex,
|
|
624
|
+
oldIndex
|
|
625
|
+
})) {
|
|
612
626
|
return;
|
|
613
627
|
}
|
|
614
628
|
dragEl.sortHandleOpen = false;
|
|
@@ -101,7 +101,11 @@ class ListItem extends LitElement {
|
|
|
101
101
|
return;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
return {
|
|
104
|
+
return {
|
|
105
|
+
target: containerRef.value,
|
|
106
|
+
includeContainer: true,
|
|
107
|
+
strategy: "focusable"
|
|
108
|
+
};
|
|
105
109
|
}, options);
|
|
106
110
|
}
|
|
107
111
|
connectedCallback() {
|
|
@@ -459,7 +463,10 @@ class ListItem extends LitElement {
|
|
|
459
463
|
const showSelectionBorder = selectionMode !== "none" && selectionAppearance === "border";
|
|
460
464
|
const showSelectionHighlight = selectionMode !== "none" && selectionAppearance === "highlight";
|
|
461
465
|
const containerInteractive = interactionMode === "interactive";
|
|
462
|
-
return this.interactiveContainer({ disabled, children: html`<div class=${safeClassMap({
|
|
466
|
+
return this.interactiveContainer({ disabled, children: html`<div class=${safeClassMap({
|
|
467
|
+
[CSS.wrapper]: true,
|
|
468
|
+
[CSS.wrapperBordered]: wrapperBordered
|
|
469
|
+
})}><div .ariaExpanded=${expandable ? expanded : void 0} .ariaLabel=${label} .ariaLevel=${level} .ariaSelected=${selected} class=${safeClassMap({
|
|
463
470
|
[CSS.row]: true,
|
|
464
471
|
[CSS.container]: true,
|
|
465
472
|
[CSS.containerHover]: containerInteractive,
|
|
@@ -13,7 +13,9 @@ class ListItemGroup extends LitElement {
|
|
|
13
13
|
this.filterHidden = false;
|
|
14
14
|
this.scale = "m";
|
|
15
15
|
this.calciteInternalListItemGroupChange = createEvent({ cancelable: false });
|
|
16
|
-
this.calciteInternalListItemGroupDefaultSlotChange = createEvent({
|
|
16
|
+
this.calciteInternalListItemGroupDefaultSlotChange = createEvent({
|
|
17
|
+
cancelable: false
|
|
18
|
+
});
|
|
17
19
|
}
|
|
18
20
|
static {
|
|
19
21
|
this.properties = { disabled: [7, {}, { reflect: true, type: Boolean }], filterHidden: [7, {}, { reflect: true, type: Boolean }], heading: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }] };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { Scale } from "../types.js";
|
|
4
|
-
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
5
4
|
|
|
6
5
|
declare module "@arcgis/lumina" {
|
|
7
6
|
export interface DeclareCssProperties {
|
|
@@ -39,8 +38,6 @@ export abstract class Loader extends LitElement {
|
|
|
39
38
|
* @required
|
|
40
39
|
*/
|
|
41
40
|
accessor label: string;
|
|
42
|
-
/** @internal */
|
|
43
|
-
protected messages: Partial<Record<string, never>> & T9nMeta<Record<string, never>>;
|
|
44
41
|
/**
|
|
45
42
|
* Specifies the size of the component.
|
|
46
43
|
*
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { Scale } from "../types.js";
|
|
4
4
|
|
|
5
|
+
export type Layout = "horizontal" | "vertical";
|
|
6
|
+
|
|
5
7
|
/** @docGroup Menu */
|
|
6
8
|
export abstract class Menu extends LitElement {
|
|
7
9
|
/**
|
|
@@ -35,6 +37,4 @@ export abstract class Menu extends LitElement {
|
|
|
35
37
|
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
36
38
|
*/
|
|
37
39
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export type Layout = "horizontal" | "vertical";
|
|
40
|
+
}
|
|
@@ -159,7 +159,10 @@ class MenuItem extends LitElement {
|
|
|
159
159
|
return html`<li class=${safeClassMap({
|
|
160
160
|
[CSS.container]: true,
|
|
161
161
|
[CSS.isParentVertical]: this.topLevelMenuLayout === "vertical"
|
|
162
|
-
})} role=none><div class=${safeClassMap(CSS.itemContent)}><a .ariaCurrent=${this.isFocused ? "page" : false} .ariaExpanded=${this.open} .ariaHasPopup=${this.hasSubmenu} .ariaLabel=${this.label} class=${safeClassMap({
|
|
162
|
+
})} role=none><div class=${safeClassMap(CSS.itemContent)}><a .ariaCurrent=${this.isFocused ? "page" : false} .ariaExpanded=${this.open} .ariaHasPopup=${this.hasSubmenu} .ariaLabel=${this.label} class=${safeClassMap({
|
|
163
|
+
[CSS.layoutVertical]: this.layout === "vertical",
|
|
164
|
+
[CSS.content]: true
|
|
165
|
+
})} href=${this.href ?? nothing} @click=${this.clickHandler} @keydown=${this.keyDownHandler} rel=${this.rel ?? nothing} role=menuitem .tabIndex=${this.isTopLevelItem ? 0 : -1} target=${this.target ?? nothing} ${ref(this.anchorRef)}>${this.renderItemContent(dir)}</a>${this.href && this.hasSubmenu ? this.renderDropdownAction(dir) : null}</div>${this.renderSubmenuItems(dir)}</li>`;
|
|
163
166
|
}
|
|
164
167
|
}
|
|
165
168
|
customElement("calcite-menu-item", MenuItem);
|
|
@@ -3,7 +3,6 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
import type { Appearance, Scale } from "../types.js";
|
|
4
4
|
import type { NumberingSystem } from "../../utils/locale.js";
|
|
5
5
|
import type { MeterFillType, MeterLabelType } from "./types.js";
|
|
6
|
-
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
6
|
|
|
8
7
|
declare module "@arcgis/lumina" {
|
|
9
8
|
export interface DeclareCssProperties {
|
|
@@ -74,8 +73,6 @@ export abstract class Meter extends LitElement {
|
|
|
74
73
|
* @default 100
|
|
75
74
|
*/
|
|
76
75
|
accessor max: number;
|
|
77
|
-
/** @internal */
|
|
78
|
-
protected messages: Partial<Record<string, never>> & T9nMeta<Record<string, never>>;
|
|
79
76
|
/**
|
|
80
77
|
* Specifies the component's lowest allowed value.
|
|
81
78
|
*
|
|
@@ -173,7 +173,19 @@ class Navigation extends LitElement {
|
|
|
173
173
|
[CSS.secondary]: slotName === SLOTS.navSecondary,
|
|
174
174
|
[CSS.tertiary]: slotName === SLOTS.navTertiary,
|
|
175
175
|
[CSS.primary]: primaryLevelHasElements
|
|
176
|
-
})}><div class=${safeClassMap({
|
|
176
|
+
})}><div class=${safeClassMap({
|
|
177
|
+
[CSS.hide]: !this.progressSlotHasElement,
|
|
178
|
+
[SLOTS.progress]: true
|
|
179
|
+
})}><slot name=${SLOTS.progress} @slotchange=${this.handleProgressSlotChange}></slot></div><div class=${safeClassMap({
|
|
180
|
+
[CSS.containerContent]: true,
|
|
181
|
+
[CSS.hasProgress]: this.progressSlotHasElement
|
|
182
|
+
})}>${this.renderMenuAction()}<div class=${safeClassMap({
|
|
183
|
+
[CSS.hide]: !this.logoSlotHasElements,
|
|
184
|
+
[SLOTS.logo]: true
|
|
185
|
+
})}><slot name=${SLOTS.logo} @slotchange=${this.handleLogoSlotChange}></slot></div><slot name=${SLOTS.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot><slot name=${SLOTS.contentCenter} @slotchange=${this.handleContentCenterSlotChange}></slot><slot name=${SLOTS.contentEnd} @slotchange=${this.handleContentEndSlotChange}></slot><div class=${safeClassMap({
|
|
186
|
+
[CSS.hide]: !this.userSlotHasElements,
|
|
187
|
+
[SLOTS.user]: true
|
|
188
|
+
})}><slot name=${SLOTS.user} @slotchange=${this.handleUserSlotChange}></slot></div></div></div><slot name=${SLOTS.navSecondary} @slotchange=${this.handleSecondarySlotChange}></slot><slot name=${SLOTS.navTertiary} @slotchange=${this.handleTertiarySlotChange}></slot>`;
|
|
177
189
|
}
|
|
178
190
|
}
|
|
179
191
|
customElement("calcite-navigation", Navigation);
|
|
@@ -246,7 +246,10 @@ class Panel extends LitElement {
|
|
|
246
246
|
const iconNode = icon ? html`<calcite-icon class=${safeClassMap(CSS.icon)} .flipRtl=${this.iconFlipRtl} .icon=${icon} .scale=${getIconScale(scale)}></calcite-icon>` : null;
|
|
247
247
|
const headingNode = Heading({ class: CSS.heading, hidden: !showHeaderHeading, id: IDS.heading, level: headingLevel, children: html`<slot .hidden=${!hasHeaderHeading} name=${SLOTS.heading} @slotchange=${this.handleHeaderHeadingSlotChange}></slot>${!hasHeaderHeading ? heading : null}` });
|
|
248
248
|
const descriptionNode = html`<span class=${safeClassMap(CSS.description)} .hidden=${!showHeaderDescription}><slot .hidden=${!hasHeaderDescription} name=${SLOTS.description} @slotchange=${this.handleHeaderDescriptionSlotChange}></slot>${!hasHeaderDescription ? description : null}</span>`;
|
|
249
|
-
return keyed("header-content", html`<div class=${safeClassMap({
|
|
249
|
+
return keyed("header-content", html`<div class=${safeClassMap({
|
|
250
|
+
[CSS.headerContent]: true,
|
|
251
|
+
[CSS.headerNonSlottedContent]: true
|
|
252
|
+
})} .hidden=${hasHeaderContent || !showHeaderTextContent}>${iconNode}<div class=${safeClassMap(CSS.headingTextContent)}>${headingNode}${descriptionNode}</div></div>`);
|
|
250
253
|
}
|
|
251
254
|
renderActionBar() {
|
|
252
255
|
return html`<div class=${safeClassMap(CSS.actionBarContainer)} .hidden=${!this.hasActionBar}><slot name=${SLOTS.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`;
|
|
@@ -3,7 +3,6 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
import type { Height, LogicalFlowPosition, Scale, Width } from "../types.js";
|
|
4
4
|
import type { FocusTrapOptions } from "../../controllers/useFocusTrap.js";
|
|
5
5
|
import type { DisplayMode } from "./types.js";
|
|
6
|
-
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
6
|
|
|
8
7
|
declare module "@arcgis/lumina" {
|
|
9
8
|
export interface DeclareCssProperties {
|
|
@@ -90,8 +89,6 @@ export abstract class Sheet extends LitElement {
|
|
|
90
89
|
* _**Note**: Individual message keys may change between releases._
|
|
91
90
|
*/
|
|
92
91
|
accessor messageOverrides: { resizeEnabled?: string | undefined; };
|
|
93
|
-
/** @internal */
|
|
94
|
-
protected messages: Partial<{ resizeEnabled: string; }> & T9nMeta<{ resizeEnabled: string; }>;
|
|
95
92
|
/**
|
|
96
93
|
* When `true`, displays a scrim blocking interaction underneath the component.
|
|
97
94
|
*
|
|
@@ -55,8 +55,14 @@ class Sheet extends LitElement {
|
|
|
55
55
|
this.sizeOverride = useSizeOverride({
|
|
56
56
|
targetElement: this.contentRef,
|
|
57
57
|
getBounds: () => ({
|
|
58
|
-
inline: {
|
|
59
|
-
|
|
58
|
+
inline: {
|
|
59
|
+
min: this.resizeValues.minInlineSize,
|
|
60
|
+
max: this.resizeValues.maxInlineSize
|
|
61
|
+
},
|
|
62
|
+
block: {
|
|
63
|
+
min: this.resizeValues.minBlockSize,
|
|
64
|
+
max: this.resizeValues.maxBlockSize
|
|
65
|
+
}
|
|
60
66
|
}),
|
|
61
67
|
onResize: (resizeValues) => {
|
|
62
68
|
this.resizeValues = { ...resizeValues };
|
|
@@ -252,16 +258,29 @@ class Sheet extends LitElement {
|
|
|
252
258
|
return;
|
|
253
259
|
}
|
|
254
260
|
const rtl = this.direction === "rtl";
|
|
255
|
-
const restrictSizeMin = this.resizeValues.minInlineSize === null || this.resizeValues.minBlockSize === null ? void 0 : {
|
|
256
|
-
|
|
257
|
-
|
|
261
|
+
const restrictSizeMin = this.resizeValues.minInlineSize === null || this.resizeValues.minBlockSize === null ? void 0 : {
|
|
262
|
+
width: this.resizeValues.minInlineSize,
|
|
263
|
+
height: this.resizeValues.minBlockSize
|
|
264
|
+
};
|
|
265
|
+
const restrictSizeMax = this.resizeValues.maxInlineSize === null || this.resizeValues.maxBlockSize === null ? void 0 : {
|
|
266
|
+
width: this.resizeValues.maxInlineSize,
|
|
267
|
+
height: this.resizeValues.maxBlockSize
|
|
268
|
+
};
|
|
269
|
+
this.interaction = interact(contentRef.value, {
|
|
270
|
+
context: el.ownerDocument
|
|
271
|
+
}).resizable({
|
|
258
272
|
edges: {
|
|
259
273
|
top: position === "block-end" ? resizeHandleEl : false,
|
|
260
274
|
right: position === (rtl ? "inline-end" : "inline-start") ? resizeHandleEl : false,
|
|
261
275
|
bottom: position === "block-start" ? resizeHandleEl : false,
|
|
262
276
|
left: position === (rtl ? "inline-start" : "inline-end") ? resizeHandleEl : false
|
|
263
277
|
},
|
|
264
|
-
modifiers: [
|
|
278
|
+
modifiers: [
|
|
279
|
+
interact.modifiers.restrictSize({
|
|
280
|
+
min: restrictSizeMin,
|
|
281
|
+
max: restrictSizeMax
|
|
282
|
+
})
|
|
283
|
+
],
|
|
265
284
|
listeners: {
|
|
266
285
|
move: ({ rect }) => {
|
|
267
286
|
const isBlock = position === "block-start" || position === "block-end";
|
|
@@ -223,7 +223,10 @@ class Shell extends LitElement {
|
|
|
223
223
|
[CSS.contentBottom]: this.hasOnlyPanelBottom
|
|
224
224
|
})}>${panelTopSlotNode}${panelBottomSlotNode}</div>`
|
|
225
225
|
] : [
|
|
226
|
-
keyed(contentContainerKey, html`<div class=${safeClassMap({
|
|
226
|
+
keyed(contentContainerKey, html`<div class=${safeClassMap({
|
|
227
|
+
[CSS.content]: true,
|
|
228
|
+
[CSS.contentBottom]: this.hasOnlyPanelBottom
|
|
229
|
+
})}>${panelTopSlotNode}${defaultSlotContainerNode}${panelBottomSlotNode}</div>`)
|
|
227
230
|
];
|
|
228
231
|
return content;
|
|
229
232
|
}
|
|
@@ -58,12 +58,6 @@ export abstract class ShellPanel extends LitElement {
|
|
|
58
58
|
accessor displayMode: DisplayMode;
|
|
59
59
|
/** Specifies the component's height. */
|
|
60
60
|
accessor height: Height | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* When `layout` is `horizontal`, specifies the component's maximum height.
|
|
63
|
-
*
|
|
64
|
-
* @deprecated in v3.0.0, removal target v6.0.0 - Use the `height` property instead.
|
|
65
|
-
*/
|
|
66
|
-
accessor heightScale: Scale | undefined;
|
|
67
61
|
/**
|
|
68
62
|
* Specifies the component's direction.
|
|
69
63
|
*
|
|
@@ -90,17 +84,12 @@ export abstract class ShellPanel extends LitElement {
|
|
|
90
84
|
* @default false
|
|
91
85
|
*/
|
|
92
86
|
accessor resizable: boolean;
|
|
93
|
-
/** @internal */
|
|
94
|
-
accessor shellSizingDataProvider: ShellSizingDataProvider | undefined;
|
|
95
|
-
/** Specifies the component's width. */
|
|
96
|
-
accessor width: Extract<Width, Scale> | undefined;
|
|
97
87
|
/**
|
|
98
|
-
*
|
|
88
|
+
* Specifies the component's width.
|
|
99
89
|
*
|
|
100
|
-
* @deprecated in v3.0.0, removal target v6.0.0 - Use the `width` property instead.
|
|
101
90
|
* @default "m"
|
|
102
91
|
*/
|
|
103
|
-
accessor
|
|
92
|
+
accessor width: Extract<Width, Scale>;
|
|
104
93
|
/**
|
|
105
94
|
* Updates the component's size by setting its inline and/or block dimensions.
|
|
106
95
|
*
|
|
@@ -121,11 +110,4 @@ export abstract class ShellPanel extends LitElement {
|
|
|
121
110
|
calciteShellPanelCollapse: ShellPanel["calciteShellPanelCollapse"]["detail"];
|
|
122
111
|
calciteShellPanelExpand: ShellPanel["calciteShellPanelExpand"]["detail"];
|
|
123
112
|
};
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
/** @param axis */
|
|
127
|
-
export type ShellSizingDataProvider = (axis: "inline" | "block") => ShellPanelSizingData | null;
|
|
128
|
-
|
|
129
|
-
export type ShellPanelSizingData = {
|
|
130
|
-
availableSize: number;
|
|
131
|
-
};
|
|
113
|
+
}
|
|
@@ -13,7 +13,7 @@ import { u as useT9n } from "../../chunks/useT9n.js";
|
|
|
13
13
|
import { i as isActionBar } from "../../chunks/resources12.js";
|
|
14
14
|
import { I as ICONS, S as SLOTS, C as CSS } from "../../chunks/resources25.js";
|
|
15
15
|
const styles$1 = css`.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@keyframes in{0%{opacity:0}to{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0,-5px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(.95,.95,1)}to{opacity:1;transform:scaleZ(1)}}`;
|
|
16
|
-
const styles = css`:host{position:relative;pointer-events:none;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-max-height: unset;--calcite-internal-shell-panel-shadow-block-start: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-block-end: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-start: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical]:not([display-mode=float-all])) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][display-mode=float-all]) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical]:not([display-mode=float-all])) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][display-mode=float-all]) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical]:not([display-mode=float-all])) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][display-mode=float-all]) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 30vh)}:host([layout=horizontal]) .height-s{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 20vh)}:host([layout=horizontal]) .height-l{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 40vh)}:host([display-mode=float-all][height=s]),:host([display-mode=float-all][height-scale=s]) .content{min-block-size:var(--calcite-shell-panel-height, 20vh)}:host([display-mode=float-all][height=m]),:host([display-mode=float-all][height-scale=m]) .content{min-block-size:var(--calcite-shell-panel-height, 30vh)}:host([display-mode=float-all][height=l]),:host([display-mode=float-all][height-scale=l]) .content{min-block-size:var(--calcite-shell-panel-height, 40vh)}.container{font-size:var(--calcite-font-size-relative-base);pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:var(--calcite-color-transparent);block-size:100%;color:var(--calcite-shell-panel-text-color, var(--calcite-color-text-2))}.container *{box-sizing:border-box}.container.float-all{margin-block:var(--calcite-theme-space-sm, var(--calcite-spacing-sm));margin-inline:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}.float-all{max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) );box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)));overflow:hidden}:host([layout=vertical][position=start]) .float-all{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-panel-border-color, var(--calcite-color-border-3))}:host([layout=vertical][position=end]) .float-all{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .float-all{border-inline:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .container{inline-size:100%;block-size:auto;flex-direction:column}.resize-handle{outline:var(--calcite-border-width-md) solid transparent;outline-offset:var(--calcite-border-width-md);position:absolute;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none;box-sizing:border-box;--calcite-internal-shell-panel-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );z-index:var(--calcite-z-index-header);touch-action:none}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3)))}.resize-handle-bar{display:flex;justify-content:center;align-items:center;pointer-events:none;color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-theme-color-surface-1, var(--calcite-color-background)))}.resize-handle:focus .resize-handle-bar{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}:host([position=start][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-end:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=start][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)));border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)))}:host([position=end][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-start:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=end][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)))}:host([position=start][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=start][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)))}:host([position=end][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=end][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)));border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)))}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}.action-bar-container{pointer-events:auto;display:flex;flex:1 1 auto;box-sizing:border-box}.content-container{display:flex;flex:1 1 auto;align-items:stretch;align-self:stretch;position:relative;box-sizing:border-box;inline-size:100%;block-size:100%}:host([layout=horizontal]) .action-bar-container,:host([layout=horizontal]) .content-container{flex-direction:column}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;padding:var(--calcite-space-none);position:relative;box-sizing:border-box;flex:1 1 auto;background-color:var(--calcite-shell-panel-background-color, var(--calcite-theme-color-surface-1, var(--calcite-color-background)));transition:max-block-size var(--calcite-animation-timing),max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}:host([resizable][layout=vertical][position=start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=vertical][position=end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm))}:host([layout=vertical]) .content--overlay{inset-block-start:var(--calcite-space-none);block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:var(--calcite-space-none);inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-block-end:auto;block-size:auto;overflow:hidden;box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)));margin-inline:var(--calcite-theme-space-sm, var(--calcite-spacing-sm));margin-block-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm));max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) )}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start]:not([slot=panel-end])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([resizable][layout=vertical]) .content ::slotted(calcite-flow),:host([resizable][layout=vertical]) .content ::slotted(calcite-panel){border-inline-start:none;border-inline-end:none}:host([resizable][layout=horizontal]) .content ::slotted(calcite-flow),:host([resizable][layout=horizontal]) .content ::slotted(calcite-panel){border-block-start:none;border-block-end:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([display-mode=dock]) .resize-handle-bar,:host([display-mode=float-all]) .resize-handle-bar,:host([display-mode=overlay]) .resize-handle-bar{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
16
|
+
const styles = css`:host{position:relative;pointer-events:none;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-max-height: unset;--calcite-internal-shell-panel-shadow-block-start: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-block-end: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-start: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical]:not([display-mode=float-all])) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][display-mode=float-all]) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical]:not([display-mode=float-all])) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][display-mode=float-all]) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical]:not([display-mode=float-all])) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][display-mode=float-all]) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 30vh)}:host([layout=horizontal]) .height-s{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 20vh)}:host([layout=horizontal]) .height-l{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 40vh)}:host([display-mode=float-all][height=s]) .content{min-block-size:var(--calcite-shell-panel-height, 20vh)}:host([display-mode=float-all][height=m]) .content{min-block-size:var(--calcite-shell-panel-height, 30vh)}:host([display-mode=float-all][height=l]) .content{min-block-size:var(--calcite-shell-panel-height, 40vh)}.container{font-size:var(--calcite-font-size-relative-base);pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:var(--calcite-color-transparent);block-size:100%;color:var(--calcite-shell-panel-text-color, var(--calcite-color-text-2))}.container *{box-sizing:border-box}.container.float-all{margin-block:var(--calcite-theme-space-sm, var(--calcite-spacing-sm));margin-inline:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}.float-all{max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) );box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)));overflow:hidden}:host([layout=vertical][position=start]) .float-all{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-panel-border-color, var(--calcite-color-border-3))}:host([layout=vertical][position=end]) .float-all{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .float-all{border-inline:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .container{inline-size:100%;block-size:auto;flex-direction:column}.resize-handle{outline:var(--calcite-border-width-md) solid transparent;outline-offset:var(--calcite-border-width-md);position:absolute;display:flex;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none;box-sizing:border-box;--calcite-internal-shell-panel-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );z-index:var(--calcite-z-index-header);touch-action:none}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3)))}.resize-handle-bar{display:flex;justify-content:center;align-items:center;pointer-events:none;color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-theme-color-surface-1, var(--calcite-color-background)))}.resize-handle:focus .resize-handle-bar{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}:host([position=start][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-end:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=start][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)));border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)))}:host([position=end][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-start:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=end][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)))}:host([position=start][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=start][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)))}:host([position=end][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=end][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)));border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)))}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}.action-bar-container{pointer-events:auto;display:flex;flex:1 1 auto;box-sizing:border-box}.content-container{display:flex;flex:1 1 auto;align-items:stretch;align-self:stretch;position:relative;box-sizing:border-box;inline-size:100%;block-size:100%}:host([layout=horizontal]) .action-bar-container,:host([layout=horizontal]) .content-container{flex-direction:column}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;padding:var(--calcite-space-none);position:relative;box-sizing:border-box;flex:1 1 auto;background-color:var(--calcite-shell-panel-background-color, var(--calcite-theme-color-surface-1, var(--calcite-color-background)));transition:max-block-size var(--calcite-animation-timing),max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}:host([resizable][layout=vertical][position=start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=vertical][position=end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm))}:host([layout=vertical]) .content--overlay{inset-block-start:var(--calcite-space-none);block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:var(--calcite-space-none);inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-block-end:auto;block-size:auto;overflow:hidden;box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)));margin-inline:var(--calcite-theme-space-sm, var(--calcite-spacing-sm));margin-block-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm));max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) )}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start]:not([slot=panel-end])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([resizable][layout=vertical]) .content ::slotted(calcite-flow),:host([resizable][layout=vertical]) .content ::slotted(calcite-panel){border-inline-start:none;border-inline-end:none}:host([resizable][layout=horizontal]) .content ::slotted(calcite-flow),:host([resizable][layout=horizontal]) .content ::slotted(calcite-panel){border-block-start:none;border-block-end:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([display-mode=dock]) .resize-handle-bar,:host([display-mode=float-all]) .resize-handle-bar,:host([display-mode=overlay]) .resize-handle-bar{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
17
17
|
class ShellPanel extends LitElement {
|
|
18
18
|
constructor() {
|
|
19
19
|
super(...arguments);
|
|
@@ -26,8 +26,14 @@ class ShellPanel extends LitElement {
|
|
|
26
26
|
this.sizeOverride = useSizeOverride({
|
|
27
27
|
targetElement: this.contentRef,
|
|
28
28
|
getBounds: () => ({
|
|
29
|
-
inline: {
|
|
30
|
-
|
|
29
|
+
inline: {
|
|
30
|
+
min: this.resizeValues.minInlineSize,
|
|
31
|
+
max: this.getMaxInlineSize()
|
|
32
|
+
},
|
|
33
|
+
block: {
|
|
34
|
+
min: this.resizeValues.minBlockSize,
|
|
35
|
+
max: this.getMaxBlockSize()
|
|
36
|
+
}
|
|
31
37
|
}),
|
|
32
38
|
onResize: (resizeValues) => {
|
|
33
39
|
this.resizeValues = resizeValues;
|
|
@@ -47,14 +53,14 @@ class ShellPanel extends LitElement {
|
|
|
47
53
|
this.layout = "vertical";
|
|
48
54
|
this.position = "start";
|
|
49
55
|
this.resizable = false;
|
|
50
|
-
this.
|
|
56
|
+
this.width = "m";
|
|
51
57
|
this.calciteInternalShellPanelResizeEnd = createEvent({ cancelable: false });
|
|
52
58
|
this.calciteInternalShellPanelResizeStart = createEvent({ cancelable: false });
|
|
53
59
|
this.calciteShellPanelCollapse = createEvent({ cancelable: false });
|
|
54
60
|
this.calciteShellPanelExpand = createEvent({ cancelable: false });
|
|
55
61
|
}
|
|
56
62
|
static {
|
|
57
|
-
this.properties = { resizeValues: [16, {}, { state: true }], hasHeader: [16, {}, { state: true }], collapsed: [7, {}, { reflect: true, type: Boolean }], displayMode: [3, {}, { reflect: true }],
|
|
63
|
+
this.properties = { resizeValues: [16, {}, { state: true }], hasHeader: [16, {}, { state: true }], collapsed: [7, {}, { reflect: true, type: Boolean }], displayMode: [3, {}, { reflect: true }], layout: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], position: [3, {}, { reflect: true }], resizable: [7, {}, { reflect: true, type: Boolean }], shellSizingDataProvider: [0, {}, { attribute: false }], height: [3, {}, { reflect: true }], width: [3, {}, { reflect: true }] };
|
|
58
64
|
}
|
|
59
65
|
static {
|
|
60
66
|
this.styles = [styles, styles$1];
|
|
@@ -256,8 +262,13 @@ class ShellPanel extends LitElement {
|
|
|
256
262
|
return;
|
|
257
263
|
}
|
|
258
264
|
const rtl = this.direction === "rtl";
|
|
259
|
-
const restrictSizeMin = this.resizeValues.minInlineSize === null || this.resizeValues.minBlockSize === null ? void 0 : {
|
|
260
|
-
|
|
265
|
+
const restrictSizeMin = this.resizeValues.minInlineSize === null || this.resizeValues.minBlockSize === null ? void 0 : {
|
|
266
|
+
width: this.resizeValues.minInlineSize,
|
|
267
|
+
height: this.resizeValues.minBlockSize
|
|
268
|
+
};
|
|
269
|
+
this.interaction = interact(contentRef.value, {
|
|
270
|
+
context: el.ownerDocument
|
|
271
|
+
}).resizable({
|
|
261
272
|
edges: {
|
|
262
273
|
top: position === "end" && layout === "horizontal" ? resizeHandle : false,
|
|
263
274
|
right: position === (rtl ? "end" : "start") && layout === "vertical" ? resizeHandle : false,
|
|
@@ -317,15 +328,18 @@ class ShellPanel extends LitElement {
|
|
|
317
328
|
[CSS.floatContent]: displayMode === "float-content",
|
|
318
329
|
[CSS_UTILITY.calciteAnimate]: displayMode === "overlay",
|
|
319
330
|
[getAnimationDir()]: displayMode === "overlay",
|
|
320
|
-
[getDimensionClass("width", this.width
|
|
321
|
-
[getDimensionClass("height", this.height
|
|
331
|
+
[getDimensionClass("width", this.width)]: true,
|
|
332
|
+
[getDimensionClass("height", this.height)]: !!this.height
|
|
322
333
|
})} .hidden=${collapsed} ${ref(this.contentRef)}>${this.renderHeader()}<div class=${safeClassMap(CSS.contentBody)}><slot></slot></div>${separatorNode}</div>`)}</div>`;
|
|
323
334
|
const actionBarNode = keyed("action-bar-container", html`<div class=${safeClassMap(CSS.actionBarContainer)}><slot name=${SLOTS.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`);
|
|
324
335
|
const mainNodes = [actionBarNode, contentNode];
|
|
325
336
|
if (position === "end") {
|
|
326
337
|
mainNodes.reverse();
|
|
327
338
|
}
|
|
328
|
-
return html`<div class=${safeClassMap({
|
|
339
|
+
return html`<div class=${safeClassMap({
|
|
340
|
+
[CSS.container]: true,
|
|
341
|
+
[CSS.floatAll]: displayMode === "float-all"
|
|
342
|
+
})} ${ref(this.containerRef)}>${mainNodes}</div>`;
|
|
329
343
|
}
|
|
330
344
|
}
|
|
331
345
|
customElement("calcite-shell-panel", ShellPanel);
|
|
@@ -107,10 +107,14 @@ class Slider extends LitElement {
|
|
|
107
107
|
this.dragProp = "minValue";
|
|
108
108
|
this.minHandleRef.value.focus();
|
|
109
109
|
} else {
|
|
110
|
-
this.setValue({
|
|
110
|
+
this.setValue({
|
|
111
|
+
[this.dragProp]: this.clamp(value, this.dragProp)
|
|
112
|
+
});
|
|
111
113
|
}
|
|
112
114
|
} else {
|
|
113
|
-
this.setValue({
|
|
115
|
+
this.setValue({
|
|
116
|
+
[this.dragProp]: this.clamp(value, this.dragProp)
|
|
117
|
+
});
|
|
114
118
|
}
|
|
115
119
|
}
|
|
116
120
|
};
|
|
@@ -183,7 +187,10 @@ class Slider extends LitElement {
|
|
|
183
187
|
this.formAssociated = true;
|
|
184
188
|
}
|
|
185
189
|
static {
|
|
186
|
-
this.shadowRootOptions = {
|
|
190
|
+
this.shadowRootOptions = {
|
|
191
|
+
mode: "open",
|
|
192
|
+
delegatesFocus: true
|
|
193
|
+
};
|
|
187
194
|
}
|
|
188
195
|
static {
|
|
189
196
|
this.styles = styles;
|
|
@@ -467,7 +474,10 @@ class Slider extends LitElement {
|
|
|
467
474
|
}
|
|
468
475
|
mapToRange(x) {
|
|
469
476
|
const range = this.max - this.min;
|
|
470
|
-
const { left, width } = this.trackRef.value.getBoundingClientRect() || {
|
|
477
|
+
const { left, width } = this.trackRef.value.getBoundingClientRect() || {
|
|
478
|
+
left: 0,
|
|
479
|
+
width: 0
|
|
480
|
+
};
|
|
471
481
|
const percent = (x - left) / width;
|
|
472
482
|
const mirror = this.shouldMirror();
|
|
473
483
|
const clampedValue = this.clamp(this.min + range * (mirror ? 1 - percent : percent));
|