@esri/calcite-components 5.0.0-next.86 → 5.0.0-next.88
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/{LNNXYZGH.js → 2B7WGWZT.js} +2 -2
- package/dist/cdn/{WTZ5ELSG.js → 2QZXHCFD.js} +2 -2
- package/dist/cdn/{X67ED5ZX.js → 2RA5HH5O.js} +2 -2
- package/dist/cdn/{VPKGL5MV.js → 2YJHITCD.js} +2 -2
- package/dist/cdn/{IA2VWER5.js → 2YZLPQBK.js} +2 -2
- package/dist/cdn/{JGE77A6R.js → 2ZYK7TYN.js} +2 -2
- package/dist/cdn/{CB4TKLJV.js → 35AO2CZ7.js} +2 -2
- package/dist/cdn/{RLV3NTMY.js → 3I4NM5P2.js} +2 -2
- package/dist/cdn/{USVGIGD2.js → 3QAVXUOG.js} +2 -2
- package/dist/cdn/{3TBNQFN2.js → 3UAG7K5W.js} +2 -2
- package/dist/cdn/{WO5BT3M7.js → 3VHRFRUQ.js} +2 -2
- package/dist/cdn/{KCWYN4MG.js → 4F56XYEX.js} +2 -2
- package/dist/cdn/{UFARZ6LX.js → 4ISE6QSM.js} +1 -1
- package/dist/cdn/4POTSVRK.js +4 -0
- package/dist/cdn/{4IRTN23G.js → 4RZKXIRR.js} +2 -2
- package/dist/cdn/{PVPMLCXY.js → 4YGBY7AH.js} +2 -2
- package/dist/cdn/{R2N5YMIX.js → 4YGP4R44.js} +2 -2
- package/dist/cdn/{PAK22M5C.js → 5C4TSPFE.js} +2 -2
- package/dist/cdn/{265LZPSS.js → 5CUBAP7O.js} +2 -2
- package/dist/cdn/{QNFGMZYR.js → 5DOHXWZH.js} +2 -2
- package/dist/cdn/{GI2NJ4HI.js → 5DVDEYEI.js} +2 -2
- package/dist/cdn/{IIC64NTV.js → 5FZMCWMO.js} +2 -2
- package/dist/cdn/{ETNO4FCO.js → 5RCNA2RB.js} +2 -2
- package/dist/cdn/{IEHHI67O.js → 5TX5GQJC.js} +2 -2
- package/dist/cdn/{MDTMHCRJ.js → 5Z432T42.js} +2 -2
- package/dist/cdn/{D3RZQWBA.js → 62N2PXM7.js} +2 -2
- package/dist/cdn/{HXPW2KQ5.js → 6ICU7CZA.js} +2 -2
- package/dist/cdn/{CPLX2NNO.js → 6MGGOBIX.js} +2 -2
- package/dist/cdn/{MQR23NC7.js → 6QXINKX2.js} +2 -2
- package/dist/cdn/{VCTG3II6.js → 6YPGUB7K.js} +2 -2
- package/dist/cdn/{JHOPF723.js → 7FGHJCIU.js} +2 -2
- package/dist/cdn/7MQGQUXX.js +4 -0
- package/dist/cdn/{VEJ7VUSN.js → 7O4KYDQA.js} +2 -2
- package/dist/cdn/{CPPPO7DD.js → 7OQV6IIP.js} +2 -2
- package/dist/cdn/{XPLKFVPY.js → A5EH7UV2.js} +2 -2
- package/dist/cdn/{GR5AFKI5.js → AEZGDR43.js} +2 -2
- package/dist/cdn/{YE2IEAVJ.js → AIBB5O5P.js} +2 -2
- package/dist/cdn/{2ZBLUFKN.js → AIYN7HUH.js} +2 -2
- package/dist/cdn/{SPHA7ZGV.js → AQIJUGFU.js} +2 -2
- package/dist/cdn/{DVCMEWZ3.js → B2ZPP7JL.js} +2 -2
- package/dist/cdn/{GGC5MM77.js → BBRT3W3F.js} +2 -2
- package/dist/cdn/{4N7GGDYF.js → BMTSUAAM.js} +1 -1
- package/dist/cdn/{SVR27ET5.js → BPBUMGVM.js} +2 -2
- package/dist/cdn/{XFMJXJ4G.js → BSGJJKF7.js} +2 -2
- package/dist/cdn/{CYSLJACL.js → CD3J4TLI.js} +1 -1
- package/dist/cdn/{SKGO6HLV.js → CETKRQOK.js} +2 -2
- package/dist/cdn/{7O3B34IO.js → CH2LOU5Y.js} +2 -2
- package/dist/cdn/{3YE26UGT.js → CIO54O5A.js} +2 -2
- package/dist/cdn/{MBL643OF.js → CRABNI3B.js} +2 -2
- package/dist/cdn/{4WQZM2DO.js → DO4OYFDZ.js} +2 -2
- package/dist/cdn/{DF4OPPSM.js → DQPCOPV3.js} +2 -2
- package/dist/cdn/{3YPGTT6K.js → DS7OW5PS.js} +2 -2
- package/dist/cdn/{PQYZJA3V.js → E7QB63HE.js} +2 -2
- package/dist/cdn/{BXHZLH5C.js → EMFOVAUX.js} +2 -2
- package/dist/cdn/{CGB4W7AQ.js → EOET2ACX.js} +1 -1
- package/dist/cdn/{R25RK4LC.js → EOR33TW2.js} +2 -2
- package/dist/cdn/{7VOFORAF.js → FEUI6H35.js} +2 -2
- package/dist/cdn/{XXJGFNWJ.js → FEWA6LQK.js} +2 -2
- package/dist/cdn/{HKLMBQOB.js → FG4UA6D6.js} +1 -1
- package/dist/cdn/{G6WKZFLJ.js → FJA7Y7VA.js} +2 -2
- package/dist/cdn/{D6TJWYOO.js → FOT2F54U.js} +2 -2
- package/dist/cdn/{QD6UQOR5.js → FSRAWGUG.js} +1 -1
- package/dist/cdn/{GH3OBJBY.js → G3CEARTA.js} +2 -2
- package/dist/cdn/{BPMHVCV2.js → G3LKP2IV.js} +1 -1
- package/dist/cdn/{2NDNB5KH.js → GB3XSPDJ.js} +2 -2
- package/dist/cdn/{MTCFDW63.js → GBIZXPH6.js} +2 -2
- package/dist/cdn/{T562VRPK.js → GK2U7ESI.js} +2 -2
- package/dist/cdn/{RTQ52OFV.js → GKOCKF4A.js} +2 -2
- package/dist/cdn/{MUNMMTPD.js → GLMPRSV4.js} +1 -1
- package/dist/cdn/{C534KEBU.js → H7SAPASI.js} +1 -1
- package/dist/cdn/{B23BUOQP.js → HFIXWD2W.js} +2 -2
- package/dist/cdn/{H4NQV5OF.js → HGCYRFII.js} +2 -2
- package/dist/cdn/{5SSAX7QY.js → HH5T3FXJ.js} +2 -2
- package/dist/cdn/{F3BZUVQS.js → HKC3B47J.js} +2 -2
- package/dist/cdn/{PTZGOVXI.js → HWTAELXY.js} +2 -2
- package/dist/cdn/{K7EIX6OB.js → HXY3H2PS.js} +1 -1
- package/dist/cdn/{TQGB6WJH.js → I6ZKRGOM.js} +2 -2
- package/dist/cdn/{XGGNP6H5.js → IALP5CDY.js} +2 -2
- package/dist/cdn/{PE4FJDWY.js → IESOUZK3.js} +2 -2
- package/dist/cdn/{LPCVYKLE.js → IHTKD2WA.js} +1 -1
- package/dist/cdn/{KJHHU73B.js → IM6OX44A.js} +1 -1
- package/dist/cdn/{BDQGAMWA.js → IMXLBS5R.js} +2 -2
- package/dist/cdn/{SDJV7PMH.js → IQ22MCNH.js} +2 -2
- package/dist/cdn/{WYVGACIJ.js → IQH6DZTH.js} +2 -2
- package/dist/cdn/{7OSYB6BP.js → IWNKYOCT.js} +2 -2
- package/dist/cdn/{K7NS2AMX.js → IYI4TSIB.js} +2 -2
- package/dist/cdn/{4YDOGNCB.js → IYZNVE7O.js} +2 -2
- package/dist/cdn/{BJYROWVL.js → IZSXSJX2.js} +2 -2
- package/dist/cdn/{4F36ERWD.js → J7JCGVUG.js} +1 -1
- package/dist/cdn/{UFMOJ6BP.js → JEKNLQYF.js} +2 -2
- package/dist/cdn/{7CZDVZBA.js → JGXR5K5I.js} +2 -2
- package/dist/cdn/{CQGYPSEK.js → JKUYKVTP.js} +2 -2
- package/dist/cdn/{XB3BMWQA.js → JXV4E5JI.js} +1 -1
- package/dist/cdn/JYDJAZHI.js +4 -0
- package/dist/cdn/{OBTAW3FT.js → K6UAEBYP.js} +2 -2
- package/dist/cdn/{DDZ4I2DA.js → KPNJULQX.js} +2 -2
- package/dist/cdn/{I7M2FNP2.js → L4ZDCUZR.js} +2 -2
- package/dist/cdn/{FAWC2LXX.js → LHAOY3CL.js} +2 -2
- package/dist/cdn/{7JOJIZSP.js → LHE7YL4K.js} +2 -2
- package/dist/cdn/{M2OQVEFA.js → LT5BR3RS.js} +2 -2
- package/dist/cdn/{66L4L6CO.js → LUYHYXD3.js} +2 -2
- package/dist/cdn/{JY6HDRMX.js → MAGCHPNI.js} +2 -2
- package/dist/cdn/{NPM4KIF4.js → MCCZITQC.js} +1 -1
- package/dist/cdn/{MHU64UOV.js → MJKLSP2P.js} +2 -2
- package/dist/cdn/{X3DPELVQ.js → MM4QCCLO.js} +2 -2
- package/dist/cdn/{UUJIFHR3.js → MZWMITSG.js} +1 -1
- package/dist/cdn/{IW2PABZ2.js → N4UEVBJV.js} +1 -1
- package/dist/cdn/{LPTXS5CC.js → NAXKTUE5.js} +2 -2
- package/dist/cdn/{MM5RJ37O.js → NQH4VLLT.js} +2 -2
- package/dist/cdn/{IGUQVDMG.js → NVD7JPTR.js} +1 -1
- package/dist/cdn/{AXEHK3LE.js → ODV6CLLO.js} +2 -2
- package/dist/cdn/{IDWLI73G.js → OINR5OC3.js} +2 -2
- package/dist/cdn/{6AIPNFS6.js → OKSUNAK3.js} +2 -2
- package/dist/cdn/{DVE2UKPP.js → OZOEPKES.js} +2 -2
- package/dist/cdn/{WKTY2TT3.js → PQGEFRXW.js} +2 -2
- package/dist/cdn/{GXZLMJNC.js → PTULIBMG.js} +2 -2
- package/dist/cdn/{I2H4EA7W.js → PUR5J76U.js} +2 -2
- package/dist/cdn/{GZ6OZTTY.js → PWCMPHTR.js} +2 -2
- package/dist/cdn/{ZQKVMXYU.js → Q7LYBTY6.js} +2 -2
- package/dist/cdn/{NQA37JEY.js → QE2P3453.js} +2 -2
- package/dist/cdn/{OUB2G64Q.js → QETY3BCC.js} +2 -2
- package/dist/cdn/{5XN3Y3V4.js → QK5XVIUJ.js} +2 -2
- package/dist/cdn/{XQZSRN5A.js → QLQFPA45.js} +2 -2
- package/dist/cdn/{OLSTY4QA.js → QUGOJYRK.js} +1 -1
- package/dist/cdn/{LAPF2X2D.js → R2FEBUQ3.js} +2 -2
- package/dist/cdn/{5N4TM6IC.js → RDI2S6S3.js} +2 -2
- package/dist/cdn/{4LUNXMA2.js → RQQQEPSC.js} +2 -2
- package/dist/cdn/{GFCCAASY.js → RRPDHTEI.js} +1 -1
- package/dist/cdn/{WTXBPSHB.js → RTCV6EC7.js} +2 -2
- package/dist/cdn/{BJ3BSHB7.js → S24ZROAT.js} +2 -2
- package/dist/cdn/{AHYGUJFY.js → S7I3XRAV.js} +2 -2
- package/dist/cdn/{YB3DFN4R.js → SASS5M3V.js} +2 -2
- package/dist/cdn/{HNIKUPY3.js → SBTAFILO.js} +2 -2
- package/dist/cdn/{SVXLZBGE.js → SLOTYR4N.js} +1 -1
- package/dist/cdn/{75WBKLAF.js → SOA5G6E4.js} +2 -2
- package/dist/cdn/{BBGEPDDE.js → SPM7U4QK.js} +2 -2
- package/dist/cdn/{KPDT5CVJ.js → SYR7EN3D.js} +2 -2
- package/dist/cdn/T3IG7WCW.js +4 -0
- package/dist/cdn/TBBJYCRA.js +4 -0
- package/dist/cdn/{SXRV3RIK.js → TITR7KAS.js} +1 -1
- package/dist/cdn/{ELPVYVTD.js → TQCODZFF.js} +1 -1
- package/dist/cdn/{LZXYJ3BV.js → TRFLKRZ4.js} +2 -2
- package/dist/cdn/{7HU3UQ3T.js → U2ACL5CX.js} +2 -2
- package/dist/cdn/{6SQ3FVMJ.js → U4Z6HR7Y.js} +2 -2
- package/dist/cdn/{YB2FTLLM.js → U6QH7DFS.js} +2 -2
- package/dist/cdn/{3QUHWKWI.js → UDZ2H2CE.js} +2 -2
- package/dist/cdn/UGNSSGCY.js +4 -0
- package/dist/cdn/{7RLSNUNU.js → VEF7JFQZ.js} +2 -2
- package/dist/cdn/{HTF2JIW2.js → VF5A4CV2.js} +2 -2
- package/dist/cdn/{JJNZESCC.js → VO4OD52K.js} +2 -2
- package/dist/cdn/{D7ZOWYKB.js → VP3E7QIB.js} +2 -2
- package/dist/cdn/{CFOCSPSL.js → VPW4TMKN.js} +2 -2
- package/dist/cdn/{WRXXJYTS.js → VUW7L4K7.js} +2 -2
- package/dist/cdn/{ALIWLWXW.js → W25QNUU7.js} +2 -2
- package/dist/cdn/{OOZPOQPU.js → W7BJHTOS.js} +2 -2
- package/dist/cdn/{XB7RQ3KO.js → WCQQMQ4U.js} +2 -2
- package/dist/cdn/{EQAOU3A7.js → WMXDO3QI.js} +1 -1
- package/dist/cdn/{YUHCAPQZ.js → WNKLW2QH.js} +2 -2
- package/dist/cdn/{TMERZAGC.js → WPLIPWWJ.js} +2 -2
- package/dist/cdn/{7ET55HJN.js → WTUDT6B3.js} +2 -2
- package/dist/cdn/{7UABX7SR.js → XIKCSTRR.js} +1 -1
- package/dist/cdn/{XTQB7RP2.js → XMEUPVB6.js} +2 -2
- package/dist/cdn/{KAXTRCIT.js → Y2VVECCH.js} +2 -2
- package/dist/cdn/{I4OZL7RR.js → YRHEFBFC.js} +2 -2
- package/dist/cdn/{LUMK2N7N.js → YTQIGWYQ.js} +2 -2
- package/dist/cdn/{HNKPDR4V.js → YXXKVIPW.js} +2 -2
- package/dist/cdn/{KKFNPVKR.js → Z4ETK22W.js} +2 -2
- package/dist/cdn/{HG7EWFXA.js → Z7N7ZFPG.js} +2 -2
- package/dist/cdn/{UTOVKWT3.js → ZCJPHXW3.js} +2 -2
- package/dist/cdn/{MWMPO4JF.js → ZDTHINC7.js} +2 -2
- package/dist/cdn/{UMBUQSG7.js → ZHS4MHBE.js} +2 -2
- package/dist/cdn/{5ONVNF6P.js → ZKJUCMQI.js} +2 -2
- package/dist/cdn/{TXGMUILM.js → ZQBQQYRW.js} +2 -2
- package/dist/cdn/{OR6ON54D.js → ZWY7TYXV.js} +2 -2
- package/dist/cdn/{N42SIHEY.js → ZZO4GIL7.js} +2 -2
- package/dist/cdn/index.js +3 -3
- package/dist/cdn/main.css +1 -1
- 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/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/resources9.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/{interact.min.js → useSizeOverride.js} +58 -2
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useTime.js +1 -1
- package/dist/chunks/useTopLayer.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 -1
- package/dist/components/calcite-action/customElement.js +1 -1
- package/dist/components/calcite-action-bar/customElement.d.ts +0 -9
- package/dist/components/calcite-action-bar/customElement.js +3 -4
- package/dist/components/calcite-action-group/customElement.js +1 -1
- package/dist/components/calcite-action-menu/customElement.js +1 -1
- package/dist/components/calcite-action-pad/customElement.d.ts +0 -9
- package/dist/components/calcite-action-pad/customElement.js +3 -4
- package/dist/components/calcite-alert/customElement.js +1 -1
- package/dist/components/calcite-autocomplete/customElement.js +1 -1
- 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.d.ts +12 -12
- package/dist/components/calcite-combobox/customElement.js +1 -1
- package/dist/components/calcite-combobox-item/customElement.d.ts +7 -7
- package/dist/components/calcite-combobox-item/customElement.js +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +3 -3
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.d.ts +27 -27
- 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.d.ts +42 -30
- package/dist/components/calcite-dialog/customElement.js +60 -31
- package/dist/components/calcite-dropdown/customElement.d.ts +14 -14
- package/dist/components/calcite-dropdown/customElement.js +1 -1
- package/dist/components/calcite-dropdown-group/customElement.d.ts +2 -2
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.d.ts +10 -10
- package/dist/components/calcite-dropdown-item/customElement.js +1 -1
- package/dist/components/calcite-fab/customElement.d.ts +4 -4
- package/dist/components/calcite-fab/customElement.js +1 -1
- package/dist/components/calcite-filter/customElement.d.ts +17 -17
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow/customElement.d.ts +2 -2
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +22 -22
- 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.d.ts +4 -4
- package/dist/components/calcite-icon/customElement.js +1 -1
- package/dist/components/calcite-inline-editable/customElement.d.ts +9 -9
- package/dist/components/calcite-inline-editable/customElement.js +1 -1
- package/dist/components/calcite-input/customElement.d.ts +25 -27
- package/dist/components/calcite-input/customElement.js +1 -1
- package/dist/components/calcite-input-date-picker/customElement.d.ts +32 -32
- package/dist/components/calcite-input-date-picker/customElement.js +1 -1
- package/dist/components/calcite-input-message/customElement.d.ts +3 -3
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.d.ts +32 -32
- package/dist/components/calcite-input-number/customElement.js +1 -1
- package/dist/components/calcite-input-text/customElement.d.ts +20 -20
- package/dist/components/calcite-input-text/customElement.js +1 -1
- package/dist/components/calcite-input-time-picker/customElement.d.ts +10 -10
- package/dist/components/calcite-input-time-picker/customElement.js +5 -2
- package/dist/components/calcite-input-time-zone/customElement.d.ts +6 -8
- 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.d.ts +2 -2
- package/dist/components/calcite-popover/customElement.js +1 -1
- 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.d.ts +12 -0
- package/dist/components/calcite-sheet/customElement.js +53 -55
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-shell-panel/customElement.js +2 -37
- 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.d.ts +2 -2
- package/dist/components/calcite-tooltip/customElement.js +1 -1
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +5 -5
- package/dist/cdn/ECVDI5K3.js +0 -4
- package/dist/cdn/IQYO3YLL.js +0 -4
- package/dist/cdn/MQKJIHCG.js +0 -4
- package/dist/cdn/OEC3VYWR.js +0 -4
- package/dist/cdn/VJ5ESOPH.js +0 -4
- package/dist/cdn/XMM4Z4DP.js +0 -4
|
@@ -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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { html } from "lit";
|
|
6
6
|
import { LitElement, createEvent } 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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, html, nothing } from "lit";
|
|
@@ -62,10 +62,10 @@ export abstract class Popover extends LitElement {
|
|
|
62
62
|
accessor label: string;
|
|
63
63
|
/** Overrides individual strings used by the component. */
|
|
64
64
|
accessor messageOverrides: { close?: string; };
|
|
65
|
-
/**
|
|
65
|
+
/** Specifies the distance to position the component away from the `referenceElement`. */
|
|
66
66
|
accessor offsetDistance: number;
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* Specifies the distance to position the component along the `referenceElement`.
|
|
69
69
|
*
|
|
70
70
|
* @default 0
|
|
71
71
|
*/
|
|
@@ -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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
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.88 */
|
|
4
4
|
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, safeClassMap, safeStyleMap } 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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, nothing, 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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, stringOrBoolean, 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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { live } from "lit/directives/live.js";
|
|
6
6
|
import { html, css } 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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, 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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, isServer, nothing, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, stringOrBoolean, 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.88 */
|
|
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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, stringOrBoolean, safeClassMap } from "@arcgis/lumina";
|
|
@@ -127,6 +127,18 @@ export abstract class Sheet extends LitElement {
|
|
|
127
127
|
* @param extraContainers - Additional elements to include in the focus trap. This is useful for including elements that may have related parts rendered outside the main focus trapping element.
|
|
128
128
|
*/
|
|
129
129
|
updateFocusTrapElements(extraContainers?: FocusTrapOptions["extraContainers"]): Promise<void>;
|
|
130
|
+
/**
|
|
131
|
+
* Updates the sheet's inline and/or block size via method call.
|
|
132
|
+
*
|
|
133
|
+
* Use this method to programmatically override the sheet's width (inline) and/or height (block).
|
|
134
|
+
* Pass `null` to clear the override and revert to the default or CSS variable size.
|
|
135
|
+
*
|
|
136
|
+
* @param size
|
|
137
|
+
*/
|
|
138
|
+
updateSize(size: {
|
|
139
|
+
inline?: number | null;
|
|
140
|
+
block?: number | null;
|
|
141
|
+
}): Promise<void>;
|
|
130
142
|
/** Fires when the component is requested to be closed and before the closing transition begins. */
|
|
131
143
|
readonly calciteSheetBeforeClose: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
132
144
|
/** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */
|
|
@@ -1,17 +1,16 @@
|
|
|
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.88 */
|
|
4
4
|
import { C as CSS_UTILITY, b as resizeShiftStep, d as resizeStep, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
|
-
import { i as interact } from "../../chunks/
|
|
6
|
+
import { u as useSizeOverride, i as interact } from "../../chunks/useSizeOverride.js";
|
|
7
7
|
import { css, html } from "lit";
|
|
8
8
|
import { LitElement, createEvent, setAttribute, safeClassMap } from "@arcgis/lumina";
|
|
9
9
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
10
|
-
import {
|
|
10
|
+
import { A as ensureId, g as getElementDir, a as getStylePixelValue } from "../../chunks/dom.js";
|
|
11
11
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
12
12
|
import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
|
|
13
13
|
import { g as getDimensionClass } from "../../chunks/dynamicClasses.js";
|
|
14
|
-
import { c as clamp } from "../../chunks/math.js";
|
|
15
14
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
16
15
|
import { u as usePreventDocumentScroll } from "../../chunks/usePreventDocumentScroll.js";
|
|
17
16
|
import { u as useFocusTrap } from "../../chunks/useFocusTrap.js";
|
|
@@ -38,6 +37,7 @@ const styles = css`:host{position:absolute;inset:0;display:flex;visibility:hidde
|
|
|
38
37
|
class Sheet extends LitElement {
|
|
39
38
|
constructor() {
|
|
40
39
|
super();
|
|
40
|
+
this.contentRef = createRef();
|
|
41
41
|
this.focusTrap = useFocusTrap({
|
|
42
42
|
triggerProp: "open",
|
|
43
43
|
focusTrapOptions: {
|
|
@@ -67,6 +67,13 @@ class Sheet extends LitElement {
|
|
|
67
67
|
this.open = false;
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
|
+
this.sizeOverride = useSizeOverride({
|
|
71
|
+
targetElement: this.contentRef,
|
|
72
|
+
getBounds: () => ({
|
|
73
|
+
inline: { min: this.resizeValues.minInlineSize, max: this.resizeValues.maxInlineSize },
|
|
74
|
+
block: { min: this.resizeValues.minBlockSize, max: this.resizeValues.maxBlockSize }
|
|
75
|
+
})
|
|
76
|
+
});
|
|
70
77
|
this.topLayer = useTopLayer({
|
|
71
78
|
disabledOverride: () => this.embedded,
|
|
72
79
|
target: this.transitionRef
|
|
@@ -121,18 +128,24 @@ class Sheet extends LitElement {
|
|
|
121
128
|
this.focusTrap.setExtraContainers(extraContainers);
|
|
122
129
|
this.focusTrap.updateContainerElements();
|
|
123
130
|
}
|
|
131
|
+
async updateSize(size) {
|
|
132
|
+
this.updateSizeInternal(size);
|
|
133
|
+
}
|
|
124
134
|
connectedCallback() {
|
|
125
135
|
super.connectedCallback();
|
|
126
136
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
127
137
|
this.setupInteractions();
|
|
128
138
|
}
|
|
129
139
|
willUpdate(changes) {
|
|
130
|
-
if (changes.has("opened") && (this.hasUpdated || this.opened !== false)) {
|
|
140
|
+
if (changes.has("opened") && (this.hasUpdated || this.opened !== false) && this.transitionRef.value) {
|
|
131
141
|
toggleOpenClose(this);
|
|
132
142
|
}
|
|
133
143
|
if (changes.has("open") && (this.hasUpdated || this.open !== false) || changes.has("position") && (this.hasUpdated || this.position !== "inline-start") || changes.has("resizable") && (this.hasUpdated || this.resizable !== false)) {
|
|
134
144
|
this.setupInteractions();
|
|
135
145
|
}
|
|
146
|
+
if (this.contentRef.value) {
|
|
147
|
+
this.contentId = ensureId(this.contentRef.value);
|
|
148
|
+
}
|
|
136
149
|
}
|
|
137
150
|
disconnectedCallback() {
|
|
138
151
|
super.disconnectedCallback();
|
|
@@ -158,93 +171,85 @@ class Sheet extends LitElement {
|
|
|
158
171
|
const { position } = this;
|
|
159
172
|
return position === "block-start" || position === "block-end" ? ICONS.dragVertical : ICONS.dragHorizontal;
|
|
160
173
|
}
|
|
161
|
-
|
|
162
|
-
return this.
|
|
174
|
+
getContentRefDOMRect() {
|
|
175
|
+
return this.contentRef.value?.getBoundingClientRect();
|
|
163
176
|
}
|
|
164
177
|
handleKeyDown(event) {
|
|
165
178
|
const { key, defaultPrevented, shiftKey } = event;
|
|
166
|
-
const { position, resizable,
|
|
179
|
+
const { contentRef, position, resizable, el, resizeValues: { maxBlockSize, maxInlineSize, minBlockSize, minInlineSize } } = this;
|
|
167
180
|
const arrowKeys = position === "block-end" || position === "block-start" ? ["ArrowUp", "ArrowDown"] : ["ArrowLeft", "ArrowRight"];
|
|
168
181
|
const keys = [...arrowKeys, "Home", "End"];
|
|
169
|
-
if (!resizable || !
|
|
182
|
+
if (!resizable || !contentRef.value || defaultPrevented || !keys.includes(key)) {
|
|
170
183
|
return;
|
|
171
184
|
}
|
|
172
|
-
const rect = this.
|
|
185
|
+
const rect = this.getContentRefDOMRect();
|
|
173
186
|
const invertRTL = getElementDir(el) === "rtl" ? -1 : 1;
|
|
174
187
|
const stepValue = shiftKey ? resizeShiftStep : resizeStep;
|
|
175
188
|
switch (key) {
|
|
176
189
|
case "ArrowUp":
|
|
177
|
-
this.
|
|
178
|
-
|
|
179
|
-
type: "blockSize"
|
|
190
|
+
this.updateSizeInternal({
|
|
191
|
+
block: rect.height + (position === "block-end" ? stepValue : -stepValue)
|
|
180
192
|
});
|
|
181
193
|
event.preventDefault();
|
|
182
194
|
break;
|
|
183
195
|
case "ArrowDown":
|
|
184
|
-
this.
|
|
185
|
-
|
|
186
|
-
type: "blockSize"
|
|
196
|
+
this.updateSizeInternal({
|
|
197
|
+
block: rect.height + (position === "block-end" ? -stepValue : stepValue)
|
|
187
198
|
});
|
|
188
199
|
event.preventDefault();
|
|
189
200
|
break;
|
|
190
201
|
case "ArrowLeft":
|
|
191
|
-
this.
|
|
192
|
-
|
|
193
|
-
type: "inlineSize"
|
|
202
|
+
this.updateSizeInternal({
|
|
203
|
+
inline: rect.width + (position === "inline-end" ? stepValue : -stepValue) * invertRTL
|
|
194
204
|
});
|
|
195
205
|
event.preventDefault();
|
|
196
206
|
break;
|
|
197
207
|
case "ArrowRight":
|
|
198
|
-
this.
|
|
199
|
-
|
|
200
|
-
type: "inlineSize"
|
|
208
|
+
this.updateSizeInternal({
|
|
209
|
+
inline: rect.width + (position === "inline-end" ? -stepValue : stepValue) * invertRTL
|
|
201
210
|
});
|
|
202
211
|
event.preventDefault();
|
|
203
212
|
break;
|
|
204
213
|
case "Home":
|
|
205
|
-
this.
|
|
206
|
-
size: position === "block-start" || position === "block-end" ? minBlockSize : minInlineSize,
|
|
207
|
-
type: position === "block-start" || position === "block-end" ? "blockSize" : "inlineSize"
|
|
208
|
-
});
|
|
214
|
+
this.updateSizeInternal(position === "block-start" || position === "block-end" ? { block: minBlockSize } : { inline: minInlineSize });
|
|
209
215
|
event.preventDefault();
|
|
210
216
|
break;
|
|
211
217
|
case "End":
|
|
212
|
-
this.
|
|
213
|
-
size: position === "block-start" || position === "block-end" ? maxBlockSize : maxInlineSize,
|
|
214
|
-
type: position === "block-start" || position === "block-end" ? "blockSize" : "inlineSize"
|
|
215
|
-
});
|
|
218
|
+
this.updateSizeInternal(position === "block-start" || position === "block-end" ? { block: maxBlockSize } : { inline: maxInlineSize });
|
|
216
219
|
event.preventDefault();
|
|
217
220
|
break;
|
|
218
221
|
}
|
|
219
222
|
}
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
if (!contentEl) {
|
|
223
|
+
updateSizeInternal(size) {
|
|
224
|
+
if (!this.contentRef.value) {
|
|
223
225
|
return;
|
|
224
226
|
}
|
|
225
|
-
const
|
|
226
|
-
const resizeMax = type === "blockSize" ? "maxBlockSize" : "maxInlineSize";
|
|
227
|
-
const clamped = resizeValues[resizeMin] && resizeValues[resizeMax] ? clamp(size, resizeValues[resizeMin], resizeValues[resizeMax]) : size;
|
|
228
|
-
const rounded = Math.round(clamped);
|
|
227
|
+
const appliedSize = this.sizeOverride.resize(size);
|
|
229
228
|
this.resizeValues = {
|
|
230
|
-
...resizeValues,
|
|
231
|
-
|
|
229
|
+
...this.resizeValues,
|
|
230
|
+
...appliedSize.inline !== void 0 && {
|
|
231
|
+
inlineSize: appliedSize.inline
|
|
232
|
+
},
|
|
233
|
+
...appliedSize.block !== void 0 && {
|
|
234
|
+
blockSize: appliedSize.block
|
|
235
|
+
}
|
|
232
236
|
};
|
|
233
|
-
contentEl.style[type] = size !== null ? `${rounded}px` : null;
|
|
234
237
|
}
|
|
235
238
|
cleanupInteractions() {
|
|
236
239
|
this.interaction?.unset();
|
|
237
|
-
this.
|
|
238
|
-
|
|
240
|
+
this.updateSizeInternal({
|
|
241
|
+
inline: null,
|
|
242
|
+
block: null
|
|
243
|
+
});
|
|
239
244
|
}
|
|
240
245
|
async setupInteractions() {
|
|
241
246
|
this.cleanupInteractions();
|
|
242
|
-
const {
|
|
243
|
-
if (!
|
|
247
|
+
const { contentRef, el, resizable, position, open, resizeHandleEl } = this;
|
|
248
|
+
if (!contentRef.value || !open || !resizable || !resizeHandleEl) {
|
|
244
249
|
return;
|
|
245
250
|
}
|
|
246
251
|
await this.el.componentOnReady();
|
|
247
|
-
const { inlineSize, minInlineSize, blockSize, minBlockSize, maxInlineSize, maxBlockSize } = window.getComputedStyle(
|
|
252
|
+
const { inlineSize, minInlineSize, blockSize, minBlockSize, maxInlineSize, maxBlockSize } = window.getComputedStyle(contentRef.value);
|
|
248
253
|
const values = {
|
|
249
254
|
inlineSize: getStylePixelValue(inlineSize),
|
|
250
255
|
blockSize: getStylePixelValue(blockSize),
|
|
@@ -255,7 +260,7 @@ class Sheet extends LitElement {
|
|
|
255
260
|
};
|
|
256
261
|
this.resizeValues = values;
|
|
257
262
|
const rtl = getElementDir(el) === "rtl";
|
|
258
|
-
this.interaction = interact(
|
|
263
|
+
this.interaction = interact(contentRef.value, { context: el.ownerDocument }).resizable({
|
|
259
264
|
edges: {
|
|
260
265
|
top: position === "block-end" ? resizeHandleEl : false,
|
|
261
266
|
right: position === (rtl ? "inline-end" : "inline-start") ? resizeHandleEl : false,
|
|
@@ -277,10 +282,7 @@ class Sheet extends LitElement {
|
|
|
277
282
|
listeners: {
|
|
278
283
|
move: ({ rect }) => {
|
|
279
284
|
const isBlock = position === "block-start" || position === "block-end";
|
|
280
|
-
this.
|
|
281
|
-
size: isBlock ? rect.height : rect.width,
|
|
282
|
-
type: isBlock ? "blockSize" : "inlineSize"
|
|
283
|
-
});
|
|
285
|
+
this.updateSizeInternal(isBlock ? { block: rect.height } : { inline: rect.width });
|
|
284
286
|
}
|
|
285
287
|
}
|
|
286
288
|
});
|
|
@@ -308,10 +310,6 @@ class Sheet extends LitElement {
|
|
|
308
310
|
this.resizeHandleEl = el;
|
|
309
311
|
this.setupInteractions();
|
|
310
312
|
}
|
|
311
|
-
setContentEl(el) {
|
|
312
|
-
this.contentEl = el;
|
|
313
|
-
this.contentId = ensureId(el);
|
|
314
|
-
}
|
|
315
313
|
handleOutsideClose() {
|
|
316
314
|
if (this.outsideCloseDisabled) {
|
|
317
315
|
return;
|
|
@@ -336,7 +334,7 @@ class Sheet extends LitElement {
|
|
|
336
334
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
337
335
|
[getDimensionClass("width", this.width, this.widthScale)]: !!(this.width || this.widthScale),
|
|
338
336
|
[getDimensionClass("height", this.height, this.heightScale)]: !!(this.height || this.heightScale)
|
|
339
|
-
})} .popover=${!this.embedded ? "manual" : null} ${ref(this.transitionRef)}><calcite-scrim class=${safeClassMap(CSS.scrim)} @click=${this.handleOutsideClose}></calcite-scrim><div class=${safeClassMap(CSS.content)} id=${IDS.sheetContent} ${ref(this.
|
|
337
|
+
})} .popover=${!this.embedded ? "manual" : null} ${ref(this.transitionRef)}><calcite-scrim class=${safeClassMap(CSS.scrim)} @click=${this.handleOutsideClose}></calcite-scrim><div class=${safeClassMap(CSS.content)} id=${IDS.sheetContent} ${ref(this.contentRef)}><div class=${safeClassMap(CSS.contentContainer)}><slot></slot></div>${resizable ? keyed("resize-handle", html`<div .ariaLabel=${this.messages.resizeEnabled} .ariaOrientation=${isBlockPosition ? "vertical" : "horizontal"} .ariaValueMax=${isBlockPosition ? resizeValues.maxBlockSize : resizeValues.maxInlineSize} .ariaValueMin=${isBlockPosition ? resizeValues.minBlockSize : resizeValues.minInlineSize} .ariaValueNow=${isBlockPosition ? resizeValues.blockSize : resizeValues.inlineSize} class=${safeClassMap(CSS.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 touch-action=none ${ref(this.setResizeHandleEl)}><div class=${safeClassMap(CSS.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`) : null}</div></div>`;
|
|
340
338
|
}
|
|
341
339
|
}
|
|
342
340
|
customElement("calcite-sheet", Sheet);
|
|
@@ -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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, html } from "lit";
|
|
@@ -1,50 +1,15 @@
|
|
|
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.88 */
|
|
4
4
|
import { C as CSS_UTILITY, b as resizeShiftStep, d as resizeStep, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
|
-
import { i as interact } from "../../chunks/
|
|
6
|
+
import { u as useSizeOverride, i as interact } from "../../chunks/useSizeOverride.js";
|
|
7
7
|
import { css, html } from "lit";
|
|
8
8
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
9
9
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
10
10
|
import { g as getElementDir, a as getStylePixelValue, b as slotChangeGetAssignedElements, s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
11
11
|
import { g as getDimensionClass } from "../../chunks/dynamicClasses.js";
|
|
12
12
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
13
|
-
import { makeController } from "@arcgis/lumina/controllers";
|
|
14
|
-
const useSizeOverride = (context) => makeController(() => {
|
|
15
|
-
const applyAxis = (requestedSize, axis, el) => {
|
|
16
|
-
if (requestedSize === void 0) {
|
|
17
|
-
return void 0;
|
|
18
|
-
}
|
|
19
|
-
const prop = axis === "block" ? "block-size" : "inline-size";
|
|
20
|
-
if (requestedSize === null) {
|
|
21
|
-
el.style.removeProperty(prop);
|
|
22
|
-
return null;
|
|
23
|
-
}
|
|
24
|
-
let clampedSize = requestedSize;
|
|
25
|
-
const bounds = context.getBounds?.() ?? { inline: { min: null, max: null }, block: { min: null, max: null } };
|
|
26
|
-
const { min, max } = axis === "inline" ? bounds.inline : bounds.block;
|
|
27
|
-
if (min !== null) {
|
|
28
|
-
clampedSize = Math.round(Math.max(clampedSize, min));
|
|
29
|
-
}
|
|
30
|
-
if (max !== null) {
|
|
31
|
-
clampedSize = Math.round(Math.min(clampedSize, max));
|
|
32
|
-
}
|
|
33
|
-
el.style.setProperty(prop, `${Math.round(clampedSize)}px`);
|
|
34
|
-
return clampedSize;
|
|
35
|
-
};
|
|
36
|
-
return {
|
|
37
|
-
resize(sizes) {
|
|
38
|
-
const targetElement = context.targetElement.value;
|
|
39
|
-
const inline = applyAxis(sizes.inline, "inline", targetElement);
|
|
40
|
-
const block = applyAxis(sizes.block, "block", targetElement);
|
|
41
|
-
return {
|
|
42
|
-
inline,
|
|
43
|
-
block
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
});
|
|
48
13
|
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)}}`;
|
|
49
14
|
const CSS = {
|
|
50
15
|
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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.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.88 */
|
|
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";
|
|
@@ -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.88 */
|
|
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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, stringOrBoolean, 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.88 */
|
|
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";
|
|
@@ -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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { svg, html, css, nothing } from "lit";
|
|
6
6
|
import { safeClassMap, LitElement, createEvent } 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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, nothing, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, html, nothing, svg } 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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.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.88 */
|
|
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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, setAttribute, 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.88 */
|
|
4
4
|
import { C as CSS_UTILITY, 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";
|
|
@@ -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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, isServer, 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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { isServer, css, nothing, html, render } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.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.88 */
|
|
4
4
|
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, nothing, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, nothing, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, html, render } 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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, 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.88 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { live } from "lit/directives/live.js";
|