@esri/calcite-components 5.1.0-next.3 → 5.1.0-next.31
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/{ILHS3TD7.js → 2FY6Y3KB.js} +1 -1
- package/dist/cdn/{4PZDI5YW.js → 2HLG7UV4.js} +1 -1
- package/dist/cdn/2WJZN3SE.js +2 -0
- package/dist/cdn/3CSPQFYG.js +2 -0
- package/dist/cdn/3D37MG6S.js +2 -0
- package/dist/cdn/{VZDUTHQS.js → 3J23LBKG.js} +1 -1
- package/dist/cdn/{ZJ34LWXC.js → 3OJOZM7O.js} +1 -1
- package/dist/cdn/{RMERVJA5.js → 4DSWDYTW.js} +1 -1
- package/dist/cdn/{A26SXPLB.js → 4GDNWSBT.js} +1 -1
- package/dist/cdn/4LICFI5E.js +2 -0
- package/dist/cdn/4TQMO6XE.js +2 -0
- package/dist/cdn/{4NDBPQOW.js → 4XU5DIJP.js} +1 -1
- package/dist/cdn/56JSGQ7R.js +2 -0
- package/dist/cdn/5KWGBEQK.js +2 -0
- package/dist/cdn/5PG6XVN5.js +2 -0
- package/dist/cdn/{MTIRRGHA.js → 5XQF5HT3.js} +1 -1
- package/dist/cdn/6APLHKV4.js +2 -0
- package/dist/cdn/6X2G45YI.js +2 -0
- package/dist/cdn/76VYSGOM.js +2 -0
- package/dist/cdn/7B3CSEFX.js +2 -0
- package/dist/cdn/7QQ3ZHWE.js +2 -0
- package/dist/cdn/A6KBEIHP.js +2 -0
- package/dist/cdn/{TG6MK4QD.js → A6NA5UEM.js} +1 -1
- package/dist/cdn/{EPKWV7TT.js → ALVHCKBH.js} +1 -1
- package/dist/cdn/AZ3SJIEO.js +2 -0
- package/dist/cdn/B3TQROHD.js +2 -0
- package/dist/cdn/B4MOL677.js +2 -0
- package/dist/cdn/{SK7CWKMU.js → BOIBM27V.js} +1 -1
- package/dist/cdn/BSY77NDG.js +2 -0
- package/dist/cdn/BYK5NZWZ.js +2 -0
- package/dist/cdn/C5JSSYMS.js +2 -0
- package/dist/cdn/CLPDI4AD.js +2 -0
- package/dist/cdn/{LJIHBKNI.js → CMY5JTRJ.js} +1 -1
- package/dist/cdn/{4ILCK5CI.js → CPBEJ7PE.js} +1 -1
- package/dist/cdn/{PNBC2B77.js → CT3KT5N6.js} +1 -1
- package/dist/cdn/DCWCREQB.js +2 -0
- package/dist/cdn/{EHIAXJAL.js → DCWL5FUH.js} +1 -1
- package/dist/cdn/{HJ45IHRA.js → DPYLSPFO.js} +1 -1
- package/dist/cdn/DYUJ6M6W.js +2 -0
- package/dist/cdn/EWOKHGGQ.js +2 -0
- package/dist/cdn/F6PPIHC3.js +2 -0
- package/dist/cdn/FL4R3VI3.js +2 -0
- package/dist/cdn/FMRVUJNK.js +2 -0
- package/dist/cdn/{UG6FM2IU.js → FX3JCGKM.js} +1 -1
- package/dist/cdn/FZ2DQJMS.js +2 -0
- package/dist/cdn/{NPTVRXRO.js → G2FHJH4X.js} +1 -1
- package/dist/cdn/GCA7VP5J.js +2 -0
- package/dist/cdn/GECXZAED.js +2 -0
- package/dist/cdn/{R265ZYQR.js → GPFAPIMQ.js} +1 -1
- package/dist/cdn/GUYCL365.js +2 -0
- package/dist/cdn/GXG2HXM2.js +2 -0
- package/dist/cdn/HEIAHUGO.js +2 -0
- package/dist/cdn/HHNY5BVB.js +2 -0
- package/dist/cdn/HIZYPAHR.js +2 -0
- package/dist/cdn/{FXFRKJEJ.js → HR6HUVUN.js} +1 -1
- package/dist/cdn/HSU7RHQU.js +2 -0
- package/dist/cdn/HUOEEJPS.js +2 -0
- package/dist/cdn/{RRN6YM7F.js → I73M4QTE.js} +1 -1
- package/dist/cdn/{EYR3DX5M.js → IBPR4B6K.js} +1 -1
- package/dist/cdn/IV2LYB4K.js +2 -0
- package/dist/cdn/JC3W3VFU.js +2 -0
- package/dist/cdn/{B4VMCAZI.js → JFHDMXCV.js} +1 -1
- package/dist/cdn/JFJZUDWN.js +2 -0
- package/dist/cdn/JGVQCJAB.js +2 -0
- package/dist/cdn/{XGISY6QA.js → JJHBNLQZ.js} +1 -1
- package/dist/cdn/JMWTP3WJ.js +2 -0
- package/dist/cdn/{KHE57SV3.js → JOUNLCUT.js} +1 -1
- package/dist/cdn/{SQLDNSI6.js → K33MRKAV.js} +1 -1
- package/dist/cdn/K3SMZG5Y.js +2 -0
- package/dist/cdn/KDLF67DG.js +2 -0
- package/dist/cdn/{QOXTJ7PA.js → KFLMJM55.js} +1 -1
- package/dist/cdn/KIJOD4RX.js +2 -0
- package/dist/cdn/{HFPBP7XA.js → KOMEPMEI.js} +1 -1
- package/dist/cdn/{7CVLFVE5.js → KS3FZP6L.js} +1 -1
- package/dist/cdn/{GIV3RH7X.js → LALMVDHP.js} +1 -1
- package/dist/cdn/{RTSHUMUI.js → LRMKTDPG.js} +1 -1
- package/dist/cdn/{3ZYN3227.js → LVCGEXFP.js} +1 -1
- package/dist/cdn/LWLBGCPP.js +2 -0
- package/dist/cdn/M435GHQH.js +2 -0
- package/dist/cdn/MFLHUJKN.js +2 -0
- package/dist/cdn/{Z2R5VRT7.js → MJPA63EU.js} +1 -1
- package/dist/cdn/{D3ZA3ZSE.js → MMNZTRN2.js} +1 -1
- package/dist/cdn/{3GV45XL7.js → MYDCGCGV.js} +1 -1
- package/dist/cdn/{UQBN3Z6H.js → NG74XAQM.js} +1 -1
- package/dist/cdn/{QGBPRJIT.js → NGQAR6ST.js} +1 -1
- package/dist/cdn/{XRVUSKBQ.js → NI4C5BIY.js} +1 -1
- package/dist/cdn/NKC2SKDB.js +4 -0
- package/dist/cdn/{WUW46I4S.js → NM2VFNZK.js} +1 -1
- package/dist/cdn/NPGVLUJ6.js +2 -0
- package/dist/cdn/NX3OJH3O.js +2 -0
- package/dist/cdn/OKFVTSL6.js +2 -0
- package/dist/cdn/{FUL4JV2P.js → OTQIG2DS.js} +1 -1
- package/dist/cdn/OZ3GVTFW.js +2 -0
- package/dist/cdn/PELPACWP.js +2 -0
- package/dist/cdn/{LDLJRK76.js → PHS5IFBP.js} +1 -1
- package/dist/cdn/{ECURCDZ2.js → PKHNR6BT.js} +1 -1
- package/dist/cdn/{MSGQMPT6.js → PWGEOPVK.js} +1 -1
- package/dist/cdn/PX2BIXVR.js +2 -0
- package/dist/cdn/{WTL6TTVY.js → PYRGK5TY.js} +1 -1
- package/dist/cdn/{RBGGE65K.js → Q3QP362C.js} +1 -1
- package/dist/cdn/QDAHA6T4.js +2 -0
- package/dist/cdn/QENXILW4.js +2 -0
- package/dist/cdn/{SDDDIVHA.js → QODNYMC7.js} +1 -1
- package/dist/cdn/QUJ6B5X4.js +2 -0
- package/dist/cdn/{LKHFQ3U6.js → R62MT5IC.js} +1 -1
- package/dist/cdn/{ULGKAMEK.js → S356JGI4.js} +1 -1
- package/dist/cdn/{6C5JMRKM.js → S44DA5E6.js} +1 -1
- package/dist/cdn/S5QUU5FC.js +2 -0
- package/dist/cdn/SGGYGV2T.js +2 -0
- package/dist/cdn/SMBWLEQN.js +2 -0
- package/dist/cdn/SZ27TJP7.js +2 -0
- package/dist/cdn/TBVMNBBK.js +2 -0
- package/dist/cdn/{2EN543JD.js → TRJVOPN7.js} +1 -1
- package/dist/cdn/{732QLUKT.js → TS5IUUAT.js} +1 -1
- package/dist/cdn/{I5LZP3DC.js → TSKV4757.js} +1 -1
- package/dist/cdn/TTPB5GTW.js +2 -0
- package/dist/cdn/{GY6M2LPM.js → U6EAR7KV.js} +1 -1
- package/dist/cdn/{KBSNJSUL.js → UJMG5BRX.js} +1 -1
- package/dist/cdn/UT5VEP6F.js +2 -0
- package/dist/cdn/UVJECVUP.js +2 -0
- package/dist/cdn/UVXKGIP2.js +2 -0
- package/dist/cdn/{2HPKL5UL.js → UYOP4WLK.js} +1 -1
- package/dist/cdn/{RHJW4CXA.js → V6BSWWNB.js} +1 -1
- package/dist/cdn/{N234JPQQ.js → VBUQ2CKN.js} +1 -1
- package/dist/cdn/{QQYOGIVS.js → VDJUQ5EV.js} +1 -1
- package/dist/cdn/{N5SFF63Q.js → VNF3BHV2.js} +1 -1
- package/dist/cdn/VOPQXYVP.js +2 -0
- package/dist/cdn/W2QJJNHF.js +2 -0
- package/dist/cdn/WEBZCJOE.js +2 -0
- package/dist/cdn/WRGTNJJX.js +2 -0
- package/dist/cdn/{DKD23HP3.js → WZ3Y5NR5.js} +1 -1
- package/dist/cdn/X3ULSSUX.js +2 -0
- package/dist/cdn/{IF5AIFNS.js → XCAJQEDD.js} +1 -1
- package/dist/cdn/{XLOC3L55.js → XLVTX3C7.js} +3 -3
- package/dist/cdn/{6KLHDA5V.js → XW6LMJ7U.js} +1 -1
- package/dist/cdn/{EQ4Z4LBA.js → Y755YA7A.js} +1 -1
- package/dist/cdn/{IZBELXZC.js → YCERO4N4.js} +1 -1
- package/dist/cdn/{4ZGFXXYL.js → YEM55U5Y.js} +1 -1
- package/dist/cdn/YFOBRLUX.js +2 -0
- package/dist/cdn/YVBTJEOB.js +2 -0
- package/dist/cdn/{YKP66AQ5.js → Z2UQ42VA.js} +1 -1
- package/dist/cdn/{YX5LYAIV.js → ZP5GIML7.js} +1 -1
- package/dist/cdn/ZSXEVWWM.js +2 -0
- package/dist/cdn/{YQST67WD.js → ZWYD2BVT.js} +1 -1
- package/dist/cdn/{LCPYWUGK.js → ZY7OKDXI.js} +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/combobox/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/icon/arcgisQuickcapture16.json +1 -0
- package/dist/cdn/assets/icon/arcgisQuickcapture24.json +1 -0
- package/dist/cdn/assets/icon/arcgisQuickcapture32.json +1 -0
- package/dist/cdn/assets/icon/arcgisSurvey12316.json +1 -0
- package/dist/cdn/assets/icon/arcgisSurvey12324.json +1 -0
- package/dist/cdn/assets/icon/arcgisSurvey12332.json +1 -0
- package/dist/cdn/assets/icon/layerStreamSetting16.json +1 -0
- package/dist/cdn/assets/icon/layerStreamSetting24.json +1 -0
- package/dist/cdn/assets/icon/layerStreamSetting32.json +1 -0
- package/dist/cdn/assets/icon/publish16.json +1 -0
- package/dist/cdn/assets/icon/publish24.json +1 -0
- package/dist/cdn/assets/icon/publish32.json +1 -0
- package/dist/cdn/assets/icon/velocityServer16.json +1 -0
- package/dist/cdn/assets/icon/velocityServer24.json +1 -0
- package/dist/cdn/assets/icon/velocityServer32.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/ClearButton.js +16 -0
- package/dist/chunks/ExpandToggle.js +4 -5
- package/dist/chunks/Heading.js +3 -3
- package/dist/chunks/dom.js +63 -49
- package/dist/chunks/floating-ui.js +3 -6
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/locale.js +29 -12
- package/dist/chunks/manager.js +505 -0
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources5.js +2 -1
- package/dist/chunks/resources6.js +2 -0
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useFocusTrap.js +1 -1
- package/dist/chunks/useForm.js +294 -0
- package/dist/chunks/useFormTrigger.js +25 -0
- package/dist/chunks/useSetFocus.js +1 -1
- package/dist/chunks/{sortableComponent.js → useSortable.js} +67 -44
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.d.ts +6 -6
- package/dist/components/calcite-accordion-item/customElement.js +4 -3
- package/dist/components/calcite-action/customElement.d.ts +12 -12
- package/dist/components/calcite-action/customElement.js +8 -14
- package/dist/components/calcite-action-bar/customElement.d.ts +20 -4
- package/dist/components/calcite-action-bar/customElement.js +43 -15
- package/dist/components/calcite-action-group/customElement.d.ts +6 -6
- package/dist/components/calcite-action-menu/customElement.d.ts +2 -2
- package/dist/components/calcite-action-pad/customElement.d.ts +3 -3
- package/dist/components/calcite-action-pad/customElement.js +5 -3
- package/dist/components/calcite-alert/customElement.d.ts +2 -2
- package/dist/components/calcite-alert/customElement.js +2 -2
- package/dist/components/calcite-autocomplete/customElement.d.ts +11 -12
- package/dist/components/calcite-autocomplete/customElement.js +23 -32
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +6 -0
- package/dist/components/calcite-autocomplete-item/customElement.js +9 -4
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.d.ts +5 -5
- package/dist/components/calcite-block/customElement.js +2 -2
- package/dist/components/calcite-block-group/customElement.d.ts +1 -1
- package/dist/components/calcite-block-group/customElement.js +4 -4
- package/dist/components/calcite-block-group/interfaces.d.ts +2 -6
- package/dist/components/calcite-block-section/customElement.d.ts +1 -1
- package/dist/components/calcite-button/customElement.d.ts +5 -5
- package/dist/components/calcite-button/customElement.js +11 -23
- package/dist/components/calcite-card/customElement.d.ts +4 -4
- package/dist/components/calcite-card-group/customElement.d.ts +2 -2
- package/dist/components/calcite-carousel/customElement.d.ts +1 -1
- package/dist/components/calcite-carousel/customElement.js +27 -25
- package/dist/components/calcite-checkbox/customElement.d.ts +4 -5
- package/dist/components/calcite-checkbox/customElement.js +10 -23
- package/dist/components/calcite-chip/customElement.d.ts +2 -2
- package/dist/components/calcite-chip/customElement.js +2 -2
- package/dist/components/calcite-chip-group/customElement.d.ts +1 -1
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.d.ts +2 -2
- package/dist/components/calcite-color-picker/customElement.js +4 -2
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.d.ts +16 -6
- package/dist/components/calcite-combobox/customElement.js +189 -106
- package/dist/components/calcite-combobox/index.js +2 -1
- package/dist/components/calcite-combobox-item/customElement.d.ts +1 -1
- package/dist/components/calcite-combobox-item/customElement.js +10 -4
- package/dist/components/calcite-date-picker/customElement.d.ts +1 -1
- package/dist/components/calcite-date-picker-day/customElement.d.ts +1 -1
- package/dist/components/calcite-date-picker-month/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
- package/dist/components/calcite-dialog/customElement.d.ts +7 -3
- package/dist/components/calcite-dialog/customElement.js +5 -3
- package/dist/components/calcite-dropdown/customElement.d.ts +15 -5
- package/dist/components/calcite-dropdown/customElement.js +168 -90
- package/dist/components/calcite-dropdown-item/customElement.d.ts +2 -2
- package/dist/components/calcite-dropdown-item/customElement.js +14 -32
- package/dist/components/calcite-fab/customElement.d.ts +1 -1
- package/dist/components/calcite-filter/customElement.d.ts +1 -1
- package/dist/components/calcite-flow/customElement.d.ts +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +9 -5
- package/dist/components/calcite-flow-item/customElement.js +7 -5
- package/dist/components/calcite-handle/customElement.d.ts +1 -1
- package/dist/components/calcite-icon/customElement.d.ts +1 -1
- package/dist/components/calcite-icon/customElement.js +4 -3
- package/dist/components/calcite-inline-editable/customElement.d.ts +1 -1
- package/dist/components/calcite-inline-editable/customElement.js +1 -1
- package/dist/components/calcite-input/customElement.d.ts +17 -18
- package/dist/components/calcite-input/customElement.js +30 -52
- package/dist/components/calcite-input/index.js +1 -0
- package/dist/components/calcite-input-date-picker/customElement.d.ts +6 -7
- package/dist/components/calcite-input-date-picker/customElement.js +34 -28
- package/dist/components/calcite-input-message/customElement.d.ts +1 -1
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.d.ts +13 -14
- package/dist/components/calcite-input-number/customElement.js +26 -51
- package/dist/components/calcite-input-number/index.js +1 -0
- package/dist/components/calcite-input-text/customElement.d.ts +11 -12
- package/dist/components/calcite-input-text/customElement.js +20 -44
- package/dist/components/calcite-input-text/index.js +1 -0
- package/dist/components/calcite-input-time-picker/customElement.d.ts +6 -7
- package/dist/components/calcite-input-time-picker/customElement.js +14 -25
- package/dist/components/calcite-input-time-zone/customElement.d.ts +5 -6
- package/dist/components/calcite-input-time-zone/customElement.js +21 -19
- package/dist/components/calcite-link/customElement.d.ts +2 -2
- package/dist/components/calcite-link/customElement.js +4 -3
- package/dist/components/calcite-list/customElement.d.ts +1 -1
- package/dist/components/calcite-list/customElement.js +29 -7
- package/dist/components/calcite-list/interfaces.d.ts +2 -6
- package/dist/components/calcite-list-item/customElement.d.ts +2 -2
- package/dist/components/calcite-list-item/customElement.js +6 -4
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.d.ts +1 -1
- package/dist/components/calcite-menu/customElement.d.ts +1 -1
- package/dist/components/calcite-menu/customElement.js +2 -2
- package/dist/components/calcite-menu-item/customElement.d.ts +3 -3
- package/dist/components/calcite-menu-item/customElement.js +4 -2
- package/dist/components/calcite-meter/customElement.d.ts +7 -1
- package/dist/components/calcite-meter/customElement.js +4 -8
- package/dist/components/calcite-navigation/customElement.d.ts +2 -2
- package/dist/components/calcite-navigation-logo/customElement.d.ts +3 -3
- package/dist/components/calcite-navigation-user/customElement.d.ts +1 -1
- package/dist/components/calcite-notice/customElement.d.ts +3 -3
- package/dist/components/calcite-notice/customElement.js +1 -1
- package/dist/components/calcite-pagination/customElement.d.ts +1 -1
- package/dist/components/calcite-pagination/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.d.ts +11 -7
- package/dist/components/calcite-panel/customElement.js +21 -9
- package/dist/components/calcite-popover/customElement.d.ts +2 -2
- package/dist/components/calcite-popover/customElement.js +14 -175
- package/dist/components/calcite-progress/customElement.js +3 -2
- package/dist/components/calcite-radio-button/customElement.d.ts +1 -1
- package/dist/components/calcite-radio-button/customElement.js +173 -5
- package/dist/components/calcite-radio-button-group/customElement.d.ts +1 -1
- package/dist/components/calcite-rating/customElement.d.ts +3 -4
- package/dist/components/calcite-rating/customElement.js +12 -18
- package/dist/components/calcite-scrim/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.d.ts +3 -4
- package/dist/components/calcite-segmented-control/customElement.js +13 -22
- package/dist/components/calcite-segmented-control-item/customElement.js +2 -2
- package/dist/components/calcite-select/customElement.d.ts +3 -4
- package/dist/components/calcite-select/customElement.js +8 -19
- package/dist/components/calcite-sheet/customElement.d.ts +2 -2
- package/dist/components/calcite-sheet/customElement.js +9 -6
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-shell-panel/customElement.d.ts +2 -2
- package/dist/components/calcite-shell-panel/customElement.js +7 -5
- package/dist/components/calcite-slider/customElement.d.ts +3 -4
- package/dist/components/calcite-slider/customElement.js +12 -22
- package/dist/components/calcite-sort-handle/customElement.d.ts +4 -4
- package/dist/components/calcite-sort-handle/customElement.js +44 -17
- package/dist/components/calcite-sortable-list/customElement.d.ts +1 -1
- package/dist/components/calcite-sortable-list/customElement.js +4 -4
- package/dist/components/calcite-split-button/customElement.d.ts +8 -8
- package/dist/components/calcite-stepper/customElement.d.ts +2 -2
- package/dist/components/calcite-stepper/customElement.js +30 -43
- package/dist/components/calcite-stepper-item/customElement.d.ts +1 -1
- package/dist/components/calcite-stepper-item/customElement.js +4 -10
- package/dist/components/calcite-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-swatch-group/customElement.js +1 -1
- package/dist/components/calcite-switch/customElement.d.ts +4 -4
- package/dist/components/calcite-switch/customElement.js +9 -8
- package/dist/components/calcite-tab/customElement.d.ts +1 -1
- package/dist/components/calcite-tab/customElement.js +2 -2
- package/dist/components/calcite-tab-nav/customElement.js +4 -2
- package/dist/components/calcite-tab-title/customElement.js +6 -4
- package/dist/components/calcite-table/customElement.js +1 -1
- package/dist/components/calcite-table-cell/customElement.d.ts +2 -2
- package/dist/components/calcite-table-cell/customElement.js +3 -2
- package/dist/components/calcite-table-header/customElement.d.ts +2 -2
- package/dist/components/calcite-table-row/customElement.d.ts +1 -1
- package/dist/components/calcite-tabs/customElement.js +1 -1
- package/dist/components/calcite-text-area/customElement.d.ts +13 -14
- package/dist/components/calcite-text-area/customElement.js +32 -37
- package/dist/components/calcite-tile/customElement.d.ts +1 -1
- package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
- package/dist/components/calcite-time-picker/customElement.js +4 -3
- package/dist/components/calcite-tooltip/customElement.d.ts +15 -2
- package/dist/components/calcite-tooltip/customElement.js +27 -315
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +5 -4
- package/dist/controllers/useSortable.d.ts +7 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +23 -23
- package/dist/types/lumina.d.ts +5 -5
- package/dist/types/preact.d.ts +5 -5
- package/dist/types/react.d.ts +5 -5
- package/dist/types/stencil.d.ts +5 -5
- package/package.json +14 -13
- package/dist/cdn/2CCRLQOV.js +0 -2
- package/dist/cdn/2SXQFDOQ.js +0 -2
- package/dist/cdn/2UXQ7FQU.js +0 -2
- package/dist/cdn/32TBZZTY.js +0 -2
- package/dist/cdn/3KAMTN22.js +0 -2
- package/dist/cdn/3TLJ5JOP.js +0 -2
- package/dist/cdn/46F46R3T.js +0 -2
- package/dist/cdn/4DX77VVY.js +0 -2
- package/dist/cdn/4ET37OQN.js +0 -2
- package/dist/cdn/4I67VFAN.js +0 -2
- package/dist/cdn/5XFHSV4Z.js +0 -2
- package/dist/cdn/66NDMEG2.js +0 -2
- package/dist/cdn/76VE6QGI.js +0 -2
- package/dist/cdn/7AJLMSNL.js +0 -2
- package/dist/cdn/7J3JDTWK.js +0 -2
- package/dist/cdn/7PFEVHWG.js +0 -2
- package/dist/cdn/ALRQOPMQ.js +0 -2
- package/dist/cdn/AO7ZTAVY.js +0 -2
- package/dist/cdn/BEHKDUR6.js +0 -2
- package/dist/cdn/BKAZFAPN.js +0 -2
- package/dist/cdn/C7TED56N.js +0 -2
- package/dist/cdn/CSRCARFW.js +0 -2
- package/dist/cdn/DADGP3DW.js +0 -2
- package/dist/cdn/EC3GCET5.js +0 -2
- package/dist/cdn/EREDWMAC.js +0 -2
- package/dist/cdn/ETXIJA2R.js +0 -2
- package/dist/cdn/EVZEXLBF.js +0 -2
- package/dist/cdn/FH7GL6DM.js +0 -2
- package/dist/cdn/GETIWK4G.js +0 -2
- package/dist/cdn/GJ5VSZCN.js +0 -2
- package/dist/cdn/HSNJW6OM.js +0 -2
- package/dist/cdn/I6XABN6A.js +0 -2
- package/dist/cdn/IQ23RSWK.js +0 -2
- package/dist/cdn/JC2AVKOO.js +0 -2
- package/dist/cdn/JLJULYTE.js +0 -2
- package/dist/cdn/JRAIIHMU.js +0 -2
- package/dist/cdn/JZWQZ5BO.js +0 -2
- package/dist/cdn/KFPRUCQK.js +0 -2
- package/dist/cdn/LFGU3E4X.js +0 -2
- package/dist/cdn/LGDOYO5J.js +0 -2
- package/dist/cdn/MHSIIKU2.js +0 -2
- package/dist/cdn/MOZ5AAJM.js +0 -2
- package/dist/cdn/MTQHRNJW.js +0 -2
- package/dist/cdn/N6YVNJ3O.js +0 -2
- package/dist/cdn/NB3LG2PS.js +0 -2
- package/dist/cdn/NNVU3JV4.js +0 -2
- package/dist/cdn/O5XHZCXZ.js +0 -2
- package/dist/cdn/OXJIN4W5.js +0 -2
- package/dist/cdn/OXZJMSLQ.js +0 -2
- package/dist/cdn/P2745LUP.js +0 -2
- package/dist/cdn/QHUMJCWK.js +0 -2
- package/dist/cdn/QJ2FRJRU.js +0 -2
- package/dist/cdn/QUJE6MIQ.js +0 -2
- package/dist/cdn/REAIBS67.js +0 -2
- package/dist/cdn/RKSFMXT4.js +0 -2
- package/dist/cdn/RMKYCARB.js +0 -2
- package/dist/cdn/S5KQDAMG.js +0 -2
- package/dist/cdn/SUIJIBLR.js +0 -2
- package/dist/cdn/TDDLSMO5.js +0 -2
- package/dist/cdn/TQQTV5HV.js +0 -2
- package/dist/cdn/U63GYZ74.js +0 -3
- package/dist/cdn/UMLQ6PVE.js +0 -2
- package/dist/cdn/UODBUSON.js +0 -2
- package/dist/cdn/WJXZ7BPV.js +0 -2
- package/dist/cdn/X2HWVZ5U.js +0 -2
- package/dist/cdn/X6LSQXQT.js +0 -2
- package/dist/cdn/XPGAQQQC.js +0 -2
- package/dist/cdn/XSMU7S2O.js +0 -2
- package/dist/cdn/YT6UJRLT.js +0 -2
- package/dist/cdn/YUZXLNNW.js +0 -2
- package/dist/cdn/YZ4W6DFR.js +0 -2
- package/dist/cdn/Z2BYWKFB.js +0 -2
- package/dist/cdn/ZCBRPKAV.js +0 -2
- package/dist/cdn/ZQLGBHLZ.js +0 -2
- package/dist/chunks/form.js +0 -268
- package/dist/chunks/input.js +0 -30
- package/dist/utils/form.d.ts +0 -3
- package/dist/utils/sortableComponent.d.ts +0 -7
|
@@ -4,7 +4,8 @@ import { keyed } from "lit/directives/keyed.js";
|
|
|
4
4
|
import { css, html, nothing } from "lit";
|
|
5
5
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
7
|
-
import {
|
|
7
|
+
import { useDirection } from "@arcgis/lumina/controllers";
|
|
8
|
+
import { s as slotChangeHasAssignedElement, y as getFirstTabbable } from "../../chunks/dom.js";
|
|
8
9
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
9
10
|
import { g as getIconScale } from "../../chunks/component.js";
|
|
10
11
|
import { l as logger } from "../../chunks/logger.js";
|
|
@@ -13,7 +14,7 @@ import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
|
13
14
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
14
15
|
import { a as listSelector, g as getDepth, c as getListItemChildren } from "../../chunks/utils4.js";
|
|
15
16
|
import { a as activeCellTestAttribute, I as ICONS, C as CSS, S as SLOTS } from "../../chunks/resources9.js";
|
|
16
|
-
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column}:host([scale=s]){--calcite-internal-list-action-spacing: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-list-action-spacing: var(--calcite-spacing-xxs)}:host([scale=l]){--calcite-internal-list-action-spacing: var(--calcite-spacing-xs)}:host([filter-hidden]),:host([closed]){display:none}.wrapper--bordered{border-block-end:1px solid var(--calcite-list-border-color, var(--calcite-color-border-3))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{box-sizing:border-box;display:flex;flex:1 1 0%;overflow:hidden;background-color:var(--calcite-list-background-color, var(--calcite-color-foreground-1))}.container *{box-sizing:border-box}.container--hover:hover{cursor:pointer;background-color:var(--calcite-list-background-color-hover, var(--calcite-color-foreground-2))}.container:active{background-color:var(--calcite-list-background-color-press, var(--calcite-color-foreground-3))}.container--border{position:relative}.container--border:before{position:absolute;inline-size:var(--calcite-border-width-lg);inset-block:0;inset-inline-start:0;background-color:transparent;content:""}.container--border-selected:before{background-color:var(--calcite-list-selection-border-color, var(--calcite-color-brand))}.container--border-selected:focus{box-shadow:inset var(--calcite-border-width-lg) 0 0 0 var(--calcite-list-selection-border-color, var(--calcite-color-brand))}.container--highlight-selected{background-color:var(--calcite-color-surface-highlight)}.nested-container{display:none;flex-direction:column;border-width:0px;border-style:solid;border-color:1px solid var(--calcite-list-border-color, var(--calcite-color-border-3));margin-inline-start:var(--calcite-list-spacing-indent, 1.5rem)}.nested-container--expanded{display:flex}.selection-container{display:flex;padding-block:0px;color:var(--calcite-list-icon-color, var(--calcite-color-border-input))}:host(:not([disabled]):not([selected])) .container:hover .selection-container--single{color:var(--calcite-list-icon-color, var(--calcite-color-border-input))}:host([selected]:hover) .selection-container,:host([selected]:hover) .selection-container--single,:host([selected]) .selection-container{color:var(--calcite-list-icon-color, var(--calcite-color-brand))}.content-container-wrapper{display:flex;flex:1 1 auto}.content-container-wrapper--bordered{border-block-end:1px solid var(--calcite-list-border-color, var(--calcite-color-border-3))}.content-container{display:flex;flex:1 1 auto;-webkit-user-select:none;user-select:none;align-items:stretch;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-list-content-text-color, var(--calcite-color-text-2))}.content-container--unavailable{opacity:var(--calcite-opacity-disabled)}.row,.grid-cell{outline-color:transparent}.row{position:relative}.row:focus,.grid-cell:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:var(--calcite-font-line-height-relative-snug)}.label{color:var(--calcite-list-label-text-color, var(--calcite-color-text-1))}.description{color:var(--calcite-list-description-text-color, var(--calcite-color-text-3))}.icon{align-self:center;color:var(--calcite-list-icon-color, var(--calcite-color-text-3))}.icon:hover,.icon:active{color:var(--calcite-color-text-1)}.actions-start,.actions-end{margin-inline-end:var(--calcite-internal-list-action-spacing);gap:var(--calcite-internal-list-action-spacing)}:host([scale=s]) .content-container{gap:var(--calcite-spacing-sm);min-block-size:32px;padding-block:var(--calcite-spacing-xxs);padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .content,:host([scale=s]) .custom-content,:host([scale=s]) .label{font-size:var(--calcite-font-size--2)}:host([scale=s]) .description{font-size:var(--calcite-font-size--3)}:host([scale=s][display-mode=flat]:not([drag-handle])) .container{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=s][display-mode=flat]:not([drag-handle])) .selection-container{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s][display-mode=flat][drag-handle]) .selection-container{padding-inline:var(--calcite-spacing-xxs) var(--calcite-spacing-sm)}:host([scale=s][display-mode=nested]) .selection-container{padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=s][display-mode=nested][selection-appearance=icon]:not([selection-mode=none]):not([drag-handle])) .container{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=s][display-mode=nested][selection-appearance=icon]:not([selection-mode=none]):not([drag-handle])) .selection-container{padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=s][display-mode=nested][drag-handle]) .selection-container{padding-inline:var(--calcite-spacing-xxs)}:host([scale=m]) .content-container{gap:var(--calcite-spacing-sm);min-block-size:40px;padding-block:var(--calcite-spacing-sm);padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .content,:host([scale=m]) .custom-content{font-size:var(--calcite-font-size--2)}:host([scale=m]) .label{font-size:var(--calcite-font-size--1)}:host([scale=m]) .description{font-size:var(--calcite-font-size--2)}:host([scale=m][display-mode=flat]) .container{padding-inline-start:var(--calcite-spacing-md)}:host([scale=m][display-mode=flat]) .selection-container{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=m][display-mode=flat][drag-handle]) .container{padding-inline-start:0}:host([scale=m][display-mode=flat][drag-handle]) .selection-container{padding-inline:var(--calcite-spacing-xxs) var(--calcite-spacing-sm)}:host([scale=m][display-mode=nested]) .container{padding-inline-start:var(--calcite-spacing-xxs)}:host([scale=m][display-mode=nested]) .selection-container{padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=m][display-mode=nested][selection-appearance=icon]:not([selection-mode=none]):not([drag-handle])) .container{padding-inline-start:var(--calcite-spacing-md)}:host([scale=m][display-mode=nested][drag-handle]) .container{padding-inline-start:0}:host([scale=m][display-mode=nested][drag-handle]) .selection-container{padding-inline:var(--calcite-spacing-xxs)}:host([scale=l]) .content-container{gap:var(--calcite-spacing-md);min-block-size:56px;padding-block:.625rem;padding-inline-end:var(--calcite-spacing-lg)}:host([scale=l]) .content,:host([scale=l]) .custom-content,:host([scale=l]) .label{font-size:var(--calcite-font-size-0)}:host([scale=l]) .description{font-size:var(--calcite-font-size--1)}:host([scale=l]) .nested-container{margin-inline-start:1.75rem}:host([scale=l][display-mode=flat]) .container{padding-inline-start:var(--calcite-spacing-lg)}:host([scale=l][display-mode=flat]) .selection-container{padding-inline-end:var(--calcite-spacing-md)}:host([scale=l][display-mode=flat][drag-handle]) .container{padding-inline-start:0}:host([scale=l][display-mode=flat][drag-handle]) .selection-container{padding-inline-end:var(--calcite-spacing-md)}:host([scale=l][display-mode=nested]) .container{padding-inline-start:var(--calcite-spacing-xxs)}:host([scale=l][display-mode=nested][drag-handle]) .container{padding-inline-start:0}:host([scale=l][display-mode=nested][selection-appearance=icon]:not([selection-mode=none]):not([drag-handle])) .container{padding-inline-start:var(--calcite-spacing-lg)}.label,.description,.content-bottom{font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}:host([selected]) .label{font-weight:var(--calcite-font-weight-medium)}:host([selected]) .icon{color:var(--calcite-list-icon-color, var(--calcite-color-text-1))}:host([selected]) .description{color:var(--calcite-list-description-text-color, var(--calcite-color-text-2))}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){align-self:center}.content-bottom{display:flex;flex-direction:column}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.expanded-container{color:var(--calcite-list-icon-color, var(--calcite-color-text-3));padding-inline:var(--calcite-spacing-xxs)}:host(:not([disabled])) .expanded-container:hover{color:var(--calcite-list-icon-color, var(--calcite-color-text-1))}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.drag-container,.expanded-container,.close{display:flex;align-items:center}.drag-container,.selection-container,.expanded-container{padding-block-end:var(--calcite-spacing-px)}.expanded-container,.selection-container{cursor:pointer}.actions-start,.actions-end{position:relative;padding:0}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-sort-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-sort-handle),.actions-end ::slotted(calcite-dropdown){color:inherit}.row:focus:after,.row:focus:before{position:absolute;content:"";inline-size:.125rem;z-index:var(--calcite-z-index-header);background-color:var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));inset-block:0}.row:focus:before{inset-inline-start:0}.row:focus:after{inset-inline-end:0}.container--border:focus:before{display:none}::slotted(calcite-list:empty){border-block-start-width:0px}.drag-container calcite-action,.drag-container ::slotted(calcite-action),.actions-start calcite-action,.actions-start ::slotted(calcite-action),.actions-end calcite-action,.actions-end ::slotted(calcite-action),.close calcite-action,.close ::slotted(calcite-action){align-items:center}.drag-container{margin-inline:var(--calcite-spacing-xxs)}:host([display-mode=nested]) .drag-container,:host([selection-appearance=icon]:not([selection-mode=none])) .drag-container{margin-inline:var(--calcite-spacing-xxs) 0}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
17
|
+
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column}:host([scale=s]){--calcite-internal-list-action-spacing: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-list-action-spacing: var(--calcite-spacing-xxs)}:host([scale=l]){--calcite-internal-list-action-spacing: var(--calcite-spacing-xs)}:host([filter-hidden]),:host([closed]){display:none}.wrapper--bordered{border-block-end:1px solid var(--calcite-list-border-color, var(--calcite-color-border-3))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{box-sizing:border-box;display:flex;flex:1 1 0%;overflow:hidden;background-color:var(--calcite-list-background-color, var(--calcite-color-foreground-1))}.container *{box-sizing:border-box}.container--hover:hover{cursor:pointer;background-color:var(--calcite-list-background-color-hover, var(--calcite-color-foreground-2))}.container:active{background-color:var(--calcite-list-background-color-press, var(--calcite-color-foreground-3))}.container--border{position:relative}.container--border:before{position:absolute;inline-size:var(--calcite-border-width-lg);inset-block:0;inset-inline-start:0;background-color:transparent;content:""}.container--border-selected:before{background-color:var(--calcite-list-selection-border-color, var(--calcite-color-brand))}.container--border-selected:focus{box-shadow:inset var(--calcite-border-width-lg) 0 0 0 var(--calcite-list-selection-border-color, var(--calcite-color-brand))}.container--highlight-selected{background-color:var(--calcite-color-surface-highlight)}.nested-container{display:none;flex-direction:column;border-width:0px;border-style:solid;border-color:1px solid var(--calcite-list-border-color, var(--calcite-color-border-3));margin-inline-start:var(--calcite-list-spacing-indent, 1.5rem)}.nested-container--expanded{display:flex}.selection-container{display:flex;padding-block:0px;color:var(--calcite-list-icon-color, var(--calcite-color-border-input))}:host(:not([disabled]):not([selected])) .container:hover .selection-container--single{color:var(--calcite-list-icon-color, var(--calcite-color-border-input))}:host([selected]:hover) .selection-container,:host([selected]:hover) .selection-container--single,:host([selected]) .selection-container{color:var(--calcite-list-icon-color, var(--calcite-color-brand))}.content-container-wrapper{display:flex;flex:1 1 auto}.content-container-wrapper--bordered{border-block-end:1px solid var(--calcite-list-border-color, var(--calcite-color-border-3))}.content-container{display:flex;flex:1 1 auto;-webkit-user-select:none;user-select:none;align-items:stretch;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-list-content-text-color, var(--calcite-color-text-2))}.content-container--unavailable{opacity:var(--calcite-opacity-disabled)}.row,.grid-cell{outline-color:transparent}.row{position:relative}.row:focus,.grid-cell:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:var(--calcite-font-line-height-relative-snug)}.label{color:var(--calcite-list-label-text-color, var(--calcite-color-text-1))}.description{color:var(--calcite-list-description-text-color, var(--calcite-color-text-3))}.icon{align-self:center;color:var(--calcite-list-icon-color, var(--calcite-color-text-3))}.icon:hover,.icon:active{color:var(--calcite-color-text-1)}.actions-start,.actions-end{margin-inline-end:var(--calcite-internal-list-action-spacing);gap:var(--calcite-internal-list-action-spacing)}:host([scale=s]) .content-container{gap:var(--calcite-spacing-sm);min-block-size:32px;padding-block:var(--calcite-spacing-xxs);padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .content,:host([scale=s]) .custom-content,:host([scale=s]) .label{font-size:var(--calcite-font-size--2)}:host([scale=s]) .description{font-size:var(--calcite-font-size--3)}:host([scale=s][display-mode=flat]:not([drag-handle])) .container{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=s][display-mode=flat]:not([drag-handle])) .selection-container{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s][display-mode=flat][drag-handle]) .selection-container{padding-inline:var(--calcite-spacing-xxs) var(--calcite-spacing-sm)}:host([scale=s][display-mode=nested]) .selection-container{padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=s][display-mode=nested][selection-appearance=icon]:not([selection-mode=none]):not([drag-handle])) .container{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=s][display-mode=nested][selection-appearance=icon]:not([selection-mode=none]):not([drag-handle])) .selection-container{padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=s][display-mode=nested][drag-handle]) .selection-container{padding-inline:var(--calcite-spacing-xxs)}:host([scale=m]) .content-container{gap:var(--calcite-spacing-sm);min-block-size:40px;padding-block:var(--calcite-spacing-sm);padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .content,:host([scale=m]) .custom-content{font-size:var(--calcite-font-size--2)}:host([scale=m]) .label{font-size:var(--calcite-font-size--1)}:host([scale=m]) .description{font-size:var(--calcite-font-size--2)}:host([scale=m][display-mode=flat]) .container{padding-inline-start:var(--calcite-spacing-md)}:host([scale=m][display-mode=flat]) .selection-container{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=m][display-mode=flat][drag-handle]) .container{padding-inline-start:0}:host([scale=m][display-mode=flat][drag-handle]) .selection-container{padding-inline:var(--calcite-spacing-xxs) var(--calcite-spacing-sm)}:host([scale=m][display-mode=nested]) .container{padding-inline-start:var(--calcite-spacing-xxs)}:host([scale=m][display-mode=nested]) .selection-container{padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=m][display-mode=nested][selection-appearance=icon]:not([selection-mode=none]):not([drag-handle])) .container{padding-inline-start:var(--calcite-spacing-md)}:host([scale=m][display-mode=nested][drag-handle]) .container{padding-inline-start:0}:host([scale=m][display-mode=nested][drag-handle]) .selection-container{padding-inline:var(--calcite-spacing-xxs)}:host([scale=l]) .content-container{gap:var(--calcite-spacing-md);min-block-size:56px;padding-block:var(--calcite-space-sm-plus);padding-inline-end:var(--calcite-spacing-lg)}:host([scale=l]) .content,:host([scale=l]) .custom-content,:host([scale=l]) .label{font-size:var(--calcite-font-size-0)}:host([scale=l]) .description{font-size:var(--calcite-font-size--1)}:host([scale=l]) .nested-container{margin-inline-start:1.75rem}:host([scale=l][display-mode=flat]) .container{padding-inline-start:var(--calcite-spacing-lg)}:host([scale=l][display-mode=flat]) .selection-container{padding-inline-end:var(--calcite-spacing-md)}:host([scale=l][display-mode=flat][drag-handle]) .container{padding-inline-start:0}:host([scale=l][display-mode=flat][drag-handle]) .selection-container{padding-inline-end:var(--calcite-spacing-md)}:host([scale=l][display-mode=nested]) .container{padding-inline-start:var(--calcite-spacing-xxs)}:host([scale=l][display-mode=nested][drag-handle]) .container{padding-inline-start:0}:host([scale=l][display-mode=nested][selection-appearance=icon]:not([selection-mode=none]):not([drag-handle])) .container{padding-inline-start:var(--calcite-spacing-lg)}.label,.description,.content-bottom{font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}:host([selected]) .label{font-weight:var(--calcite-font-weight-medium)}:host([selected]) .icon{color:var(--calcite-list-icon-color, var(--calcite-color-text-1))}:host([selected]) .description{color:var(--calcite-list-description-text-color, var(--calcite-color-text-2))}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){align-self:center}.content-bottom{display:flex;flex-direction:column}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.expanded-container{color:var(--calcite-list-icon-color, var(--calcite-color-text-3));padding-inline:var(--calcite-spacing-xxs)}:host(:not([disabled])) .expanded-container:hover{color:var(--calcite-list-icon-color, var(--calcite-color-text-1))}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.drag-container,.expanded-container,.close{display:flex;align-items:center}.drag-container,.selection-container,.expanded-container{padding-block-end:var(--calcite-spacing-px)}.expanded-container,.selection-container{cursor:pointer}.actions-start,.actions-end{position:relative;padding:0}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-sort-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-sort-handle),.actions-end ::slotted(calcite-dropdown){color:inherit}.row:focus:after,.row:focus:before{position:absolute;content:"";inline-size:.125rem;z-index:var(--calcite-z-index-header);background-color:var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));inset-block:0}.row:focus:before{inset-inline-start:0}.row:focus:after{inset-inline-end:0}.container--border:focus:before{display:none}::slotted(calcite-list:empty){border-block-start-width:0px}.drag-container calcite-action,.drag-container ::slotted(calcite-action),.actions-start calcite-action,.actions-start ::slotted(calcite-action),.actions-end calcite-action,.actions-end ::slotted(calcite-action),.close calcite-action,.close ::slotted(calcite-action){align-items:center}.drag-container{margin-inline:var(--calcite-spacing-xxs)}:host([display-mode=nested]) .drag-container,:host([selection-appearance=icon]:not([selection-mode=none])) .drag-container{margin-inline:var(--calcite-spacing-xxs) 0}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
17
18
|
const focusMap = /* @__PURE__ */ new Map();
|
|
18
19
|
class ListItem extends LitElement {
|
|
19
20
|
constructor() {
|
|
@@ -23,6 +24,7 @@ class ListItem extends LitElement {
|
|
|
23
24
|
this.containerRef = createRef();
|
|
24
25
|
this.contentRef = createRef();
|
|
25
26
|
this.defaultSlotRef = createRef();
|
|
27
|
+
this.direction = useDirection();
|
|
26
28
|
this.handleGridRef = createRef();
|
|
27
29
|
this.messages = useT9n();
|
|
28
30
|
this.focusSetter = useSetFocus()(this);
|
|
@@ -375,11 +377,11 @@ class ListItem extends LitElement {
|
|
|
375
377
|
return dragHandle ? keyed("drag-handle-container", html`<div .ariaLabel=${label} class=${safeClassMap({ [CSS.dragContainer]: true, [CSS.gridCell]: true })} role=gridcell ${ref(this.handleGridRef)}><calcite-sort-handle .addToItems=${addToItems} .disabled=${dragDisabled} .label=${label} .moveToItems=${moveToItems} @calciteSortHandleBeforeClose=${this.handleSortHandleBeforeClose} @calciteSortHandleBeforeOpen=${this.handleSortHandleBeforeOpen} @calciteSortHandleClose=${this.handleSortHandleClose} @calciteSortHandleOpen=${this.handleSortHandleOpen} overlay-positioning=fixed .scale=${this.scale} .setPosition=${setPosition} .setSize=${setSize} .sortDisabled=${sortDisabled} .topLayerDisabled=${this.topLayerDisabled} ${ref(this.setSortHandleEl)}></calcite-sort-handle></div>`) : null;
|
|
376
378
|
}
|
|
377
379
|
renderExpanded() {
|
|
378
|
-
const {
|
|
380
|
+
const { expanded, expandable, messages, displayMode, scale } = this;
|
|
379
381
|
if (displayMode !== "nested") {
|
|
380
382
|
return null;
|
|
381
383
|
}
|
|
382
|
-
const dir =
|
|
384
|
+
const dir = this.direction;
|
|
383
385
|
const icon = expandable ? expanded ? ICONS.open : dir === "rtl" ? ICONS.collapsedRTL : ICONS.collapsedLTR : ICONS.blank;
|
|
384
386
|
const iconScale = getIconScale(scale);
|
|
385
387
|
const tooltip = expandable ? expanded ? messages.collapse : messages.expand : void 0;
|
|
@@ -8,7 +8,7 @@ const CSS = {
|
|
|
8
8
|
container: "container",
|
|
9
9
|
heading: "heading"
|
|
10
10
|
};
|
|
11
|
-
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column}:host([filter-hidden]){display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{margin:0;display:flex;flex:1 1 0%;background-color:var(--calcite-list-background-color, var(--calcite-color-foreground-1));color:var(--calcite-list-color, var(--calcite-color-text-1))}.heading{font-weight:var(--calcite-font-weight-bold)}:host([scale=s]) .container{padding-inline:var(--calcite-spacing-sm)}:host([scale=s]) .heading{font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-fixed-base);padding-block:var(--calcite-spacing-sm) var(--calcite-spacing-xxs)}:host([scale=s]:not(:first-child)) .container{padding-block-start:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding-inline:var(--calcite-spacing-md)}:host([scale=m]) .heading{font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-fixed-base);padding-block:var(--calcite-spacing-lg) var(--calcite-spacing-sm)}:host([scale=m]:not(:first-child)) .container{padding-block-start:var(--calcite-spacing-md)}:host([scale=l]) .container{padding-inline:var(--calcite-spacing-lg)}:host([scale=l]) .heading{font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-fixed-lg);padding-block:var(--calcite-spacing-xl) var(--calcite-spacing-sm-plus, .625rem)}:host([scale=l]:not(:first-child)) .container{padding-block-start:var(--calcite-spacing-md-plus, .875rem)}.heading{padding:0}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
11
|
+
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column}:host([filter-hidden]){display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{margin:0;display:flex;flex:1 1 0%;position:sticky;inset-block-start:var(--calcite-internal-filter-enabled-offset, 0);z-index:var(--calcite-z-index-sticky);background-color:var(--calcite-list-background-color, var(--calcite-color-foreground-1));color:var(--calcite-list-color, var(--calcite-color-text-1))}.heading{font-weight:var(--calcite-font-weight-bold)}:host([scale=s]) .container{padding-inline:var(--calcite-spacing-sm)}:host([scale=s]) .heading{font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-fixed-base);padding-block:var(--calcite-spacing-sm) var(--calcite-spacing-xxs)}:host([scale=s]:not(:first-child)) .container{padding-block-start:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding-inline:var(--calcite-spacing-md)}:host([scale=m]) .heading{font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-fixed-base);padding-block:var(--calcite-spacing-lg) var(--calcite-spacing-sm)}:host([scale=m]:not(:first-child)) .container{padding-block-start:var(--calcite-spacing-md)}:host([scale=l]) .container{padding-inline:var(--calcite-spacing-lg)}:host([scale=l]) .heading{font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-fixed-lg);padding-block:var(--calcite-spacing-xl) var(--calcite-spacing-sm-plus, .625rem)}:host([scale=l]:not(:first-child)) .container{padding-block-start:var(--calcite-spacing-md-plus, .875rem)}.heading{padding:0}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
12
12
|
class ListItemGroup extends LitElement {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments);
|
|
@@ -6,7 +6,7 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
6
6
|
/**
|
|
7
7
|
* @cssproperty [--calcite-loader-font-size] - When `type` is not `"indeterminate"` or `inline`, specifies the font size of the loading percentage.
|
|
8
8
|
* @cssproperty [--calcite-loader-size] - Specifies the component's width and height.
|
|
9
|
-
* @cssproperty [--calcite-loader-size-inline] - [Deprecated] Use `--calcite-loader-size
|
|
9
|
+
* @cssproperty [--calcite-loader-size-inline] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-loader-size` instead. Specifies the width and height of the component when set to inline.
|
|
10
10
|
* @cssproperty [--calcite-loader-spacing] - Specifies the the component's padding.
|
|
11
11
|
* @cssproperty [--calcite-loader-progress-color-inline] - When `inline`, specifies the component's progress ring color.
|
|
12
12
|
* @cssproperty [--calcite-loader-text-spacing] - When not `inline`, specifies the component's `text` margin.
|
|
@@ -20,7 +20,7 @@ export abstract class Menu extends LitElement {
|
|
|
20
20
|
* Sets focus on the component's first focusable element.
|
|
21
21
|
*
|
|
22
22
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
23
|
-
* @
|
|
23
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
24
24
|
*/
|
|
25
25
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
26
26
|
}
|
|
@@ -3,10 +3,10 @@ import { c as customElement } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { LitElement } from "@arcgis/lumina";
|
|
5
5
|
import { useWatchAttributes } from "@arcgis/lumina/controllers";
|
|
6
|
-
import { f as focusElementInGroup,
|
|
6
|
+
import { f as focusElementInGroup, a as slotChangeGetAssignedElements, i as focusElement } from "../../chunks/dom.js";
|
|
7
7
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
8
8
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
9
|
-
const styles = css`:host{display:flex}ul{margin:0;display:inline-flex;block-size:100%;align-items:center;padding:0}:host([layout=vertical]) ul{display:flex;inline-size:100%;flex-direction:column}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
9
|
+
const styles = css`:host{display:flex;line-height:var(--calcite-font-line-height-fixed-lg)}ul{margin:0;display:inline-flex;block-size:100%;align-items:center;padding:0}:host([layout=vertical]) ul{display:flex;inline-size:100%;flex-direction:column}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
10
10
|
class Menu extends LitElement {
|
|
11
11
|
constructor() {
|
|
12
12
|
super();
|
|
@@ -52,13 +52,13 @@ export abstract class MenuItem extends LitElement {
|
|
|
52
52
|
/**
|
|
53
53
|
* Defines the relationship between the `href` value and the current document.
|
|
54
54
|
*
|
|
55
|
-
* @
|
|
55
|
+
* @see [MDN - rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)
|
|
56
56
|
*/
|
|
57
57
|
accessor rel: string;
|
|
58
58
|
/**
|
|
59
59
|
* Specifies where to open the linked document defined in the `href` property.
|
|
60
60
|
*
|
|
61
|
-
* @
|
|
61
|
+
* @see [MDN - target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)
|
|
62
62
|
*/
|
|
63
63
|
accessor target: string;
|
|
64
64
|
/** Specifies the text to display. */
|
|
@@ -67,7 +67,7 @@ export abstract class MenuItem extends LitElement {
|
|
|
67
67
|
* Sets focus on the component.
|
|
68
68
|
*
|
|
69
69
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
70
|
-
* @
|
|
70
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
71
71
|
*/
|
|
72
72
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
73
73
|
/** Emits when the component is selected. */
|
|
@@ -4,7 +4,8 @@ import { css, html } from "lit";
|
|
|
4
4
|
import { keyed } from "lit/directives/keyed.js";
|
|
5
5
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap, nothing } from "@arcgis/lumina";
|
|
7
|
-
import {
|
|
7
|
+
import { useDirection } from "@arcgis/lumina/controllers";
|
|
8
|
+
import { a as slotChangeGetAssignedElements } from "../../chunks/dom.js";
|
|
8
9
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
9
10
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
10
11
|
const CSS = {
|
|
@@ -42,6 +43,7 @@ class MenuItem extends LitElement {
|
|
|
42
43
|
constructor() {
|
|
43
44
|
super();
|
|
44
45
|
this.anchorRef = createRef();
|
|
46
|
+
this.direction = useDirection();
|
|
45
47
|
this.dropdownActionRef = createRef();
|
|
46
48
|
this.messages = useT9n();
|
|
47
49
|
this.focusSetter = useSetFocus()(this);
|
|
@@ -193,7 +195,7 @@ class MenuItem extends LitElement {
|
|
|
193
195
|
return html`${this.iconStart && this.renderIconStart() || ""}<div class=${safeClassMap(CSS.textContainer)}><span>${this.text}</span></div>${hasHref && this.renderHrefIcon(dir) || ""}${this.iconEnd && this.renderIconEnd() || ""}${this.breadcrumb ? this.renderBreadcrumbIcon(dir) : null}${!this.href && this.hasSubmenu ? this.renderDropdownIcon(dir) : null}`;
|
|
194
196
|
}
|
|
195
197
|
render() {
|
|
196
|
-
const dir =
|
|
198
|
+
const dir = this.direction;
|
|
197
199
|
return html`<li class=${safeClassMap({
|
|
198
200
|
[CSS.container]: true,
|
|
199
201
|
[CSS.isParentVertical]: this.topLevelMenuLayout === "vertical"
|
|
@@ -39,6 +39,8 @@ export abstract class Meter extends LitElement {
|
|
|
39
39
|
* Specifies the `id` of the component's associated form.
|
|
40
40
|
*
|
|
41
41
|
* When not set, the component is associated with its ancestor form element, if one exists.
|
|
42
|
+
*
|
|
43
|
+
* @deprecated in v5.1.0, removal target v6.0.0 - This property has no effect on the component.
|
|
42
44
|
*/
|
|
43
45
|
accessor form: string;
|
|
44
46
|
/**
|
|
@@ -71,7 +73,11 @@ export abstract class Meter extends LitElement {
|
|
|
71
73
|
* @default 0
|
|
72
74
|
*/
|
|
73
75
|
accessor min: number;
|
|
74
|
-
/**
|
|
76
|
+
/**
|
|
77
|
+
* Specifies the name of the component. Required to pass the component's `value` on form submission.
|
|
78
|
+
*
|
|
79
|
+
* @deprecated in v5.1.0, removal target v6.0.0 - This property has no effect on the component.
|
|
80
|
+
*/
|
|
75
81
|
accessor name: string;
|
|
76
82
|
/** Specifies the Unicode numeral system used by the component for localization. */
|
|
77
83
|
accessor numberingSystem: NumberingSystem;
|
|
@@ -4,9 +4,8 @@ import { keyed } from "lit/directives/keyed.js";
|
|
|
4
4
|
import { css, html } from "lit";
|
|
5
5
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
6
|
import { LitElement, safeClassMap, safeStyleMap } from "@arcgis/lumina";
|
|
7
|
-
import { c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm } from "../../chunks/form.js";
|
|
8
7
|
import { n as numberStringFormatter } from "../../chunks/locale.js";
|
|
9
|
-
import {
|
|
8
|
+
import { z as intersects } from "../../chunks/dom.js";
|
|
10
9
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
11
10
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
12
11
|
const CSS = {
|
|
@@ -24,7 +23,7 @@ const CSS = {
|
|
|
24
23
|
warning: "fill-warning",
|
|
25
24
|
danger: "fill-danger"
|
|
26
25
|
};
|
|
27
|
-
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host{display:flex;--calcite-internal-meter-space: var(--calcite-spacing-base);--calcite-internal-meter-height: var(--calcite-spacing-lg);--calcite-internal-meter-font-size: var(--calcite-font-size--1);--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand));--calcite-internal-meter-background-color: var(--calcite-meter-background-color, var(--calcite-color-foreground-2));--calcite-internal-meter-border-color: var(--calcite-meter-border-color, var(--calcite-color-border-
|
|
26
|
+
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host{display:flex;--calcite-internal-meter-space: var(--calcite-spacing-base);--calcite-internal-meter-height: var(--calcite-spacing-lg);--calcite-internal-meter-font-size: var(--calcite-font-size--1);--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand));--calcite-internal-meter-background-color: var(--calcite-meter-background-color, var(--calcite-color-foreground-2));--calcite-internal-meter-border-color: var(--calcite-meter-border-color, var(--calcite-color-border-2));--calcite-internal-meter-shadow: var(--calcite-meter-shadow, var(--calcite-shadow-none));--calcite-internal-meter-corner-radius: var(--calcite-meter-corner-radius, 9999px);--calcite-internal-meter-value-text-color: var(--calcite-meter-value-text-color, var(--calcite-color-text-1));--calcite-internal-meter-range-text-color: var(--calcite-meter-range-text-color, var(--calcite-color-text-3));--calcite-internal-meter-label-line-height: var(--calcite-font-line-height-base)}:host([scale=s]){--calcite-internal-meter-height: var(--calcite-spacing-md);--calcite-internal-meter-font-size: var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-meter-height: var(--calcite-spacing-xxl);--calcite-internal-meter-font-size: var(--calcite-font-size-0);--calcite-internal-meter-label-line-height: var(--calcite-font-line-height-md)}:host([appearance=solid]){--calcite-internal-meter-border-color: var(--calcite-color-foreground-3);--calcite-internal-meter-background-color: var(--calcite-color-foreground-3)}:host([appearance=outline]){--calcite-internal-meter-background-color: transparent}.fill{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand))}.fill-danger{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-danger))}.fill-success{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-success))}.fill-warning{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-warning))}.container{position:relative;display:flex;align-items:center;margin:0;inline-size:var(--calcite-container-size-content-fluid);block-size:var(--calcite-internal-meter-height);background-color:var(--calcite-internal-meter-background-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-meter-border-color);border-radius:var(--calcite-internal-meter-corner-radius);box-shadow:var(--calcite-internal-meter-shadow)}.value-visible{margin-block-start:var(--calcite-spacing-xxl)}.steps-visible{margin-block-end:var(--calcite-spacing-xxl)}.step-line{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-internal-meter-space);background-color:var(--calcite-internal-meter-border-color)}.label{position:absolute;display:flex;gap:var(--calcite-spacing-xxs);font-size:var(--calcite-internal-meter-font-size);line-height:var(--calcite-internal-meter-label-line-height)}.label-hidden{visibility:hidden;opacity:0}.label-value{inset-block-end:calc(100% + .5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-internal-meter-value-text-color)}.label-range{color:var(--calcite-internal-meter-range-text-color);inset-block-start:calc(100% + .5em)}.label-range .unit-label{font-weight:var(--calcite-font-weight-medium)}.fill{position:absolute;z-index:var(--calcite-z-index);display:block;transition-timing-function:cubic-bezier(.4,0,.2,1);inset-inline-start:var(--calcite-internal-meter-space);inset-block:var(--calcite-internal-meter-space);border-radius:var(--calcite-internal-meter-corner-radius);max-inline-size:calc(100% - var(--calcite-internal-meter-space) * 2);min-inline-size:calc(var(--calcite-internal-meter-height) - var(--calcite-internal-meter-space) * 2);background-color:var(--calcite-internal-meter-fill-color);transition-property:inline-size,background-color,box-shadow}.solid .fill{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-internal-meter-height));box-shadow:0 0 0 1px var(--calcite-internal-meter-fill-color)}`;
|
|
28
27
|
class Meter extends LitElement {
|
|
29
28
|
constructor() {
|
|
30
29
|
super(...arguments);
|
|
@@ -61,12 +60,10 @@ class Meter extends LitElement {
|
|
|
61
60
|
}
|
|
62
61
|
connectedCallback() {
|
|
63
62
|
super.connectedCallback();
|
|
64
|
-
connectForm(this);
|
|
65
63
|
this.resizeObserver?.observe(this.el);
|
|
66
64
|
}
|
|
67
65
|
load() {
|
|
68
66
|
this.calculateValues();
|
|
69
|
-
afterConnectDefaultValueSet(this, this.value);
|
|
70
67
|
}
|
|
71
68
|
willUpdate(changes) {
|
|
72
69
|
if (changes.has("min") && (this.hasUpdated || this.min !== 0) || changes.has("max") && (this.hasUpdated || this.max !== 100) || changes.has("low") || changes.has("high") || changes.has("value")) {
|
|
@@ -81,7 +78,6 @@ class Meter extends LitElement {
|
|
|
81
78
|
}
|
|
82
79
|
disconnectedCallback() {
|
|
83
80
|
super.disconnectedCallback();
|
|
84
|
-
disconnectForm(this);
|
|
85
81
|
this.resizeObserver?.disconnect();
|
|
86
82
|
}
|
|
87
83
|
handleRangeChange() {
|
|
@@ -217,13 +213,13 @@ class Meter extends LitElement {
|
|
|
217
213
|
renderValueLabel() {
|
|
218
214
|
const { currentPercent, valueLabelType, unitLabel, value } = this;
|
|
219
215
|
const label = this.formatLabel(valueLabelType === "percent" ? currentPercent / 100 : value || 0, valueLabelType);
|
|
220
|
-
return keyed("low-label-line", html`<div class=${safeClassMap({ [CSS.label]: true, [CSS.labelValue]: true })} ${ref(this.valueLabelRef)}>${label}${unitLabel && valueLabelType !== "percent" && html`<span class=${safeClassMap(CSS.unitLabel)}
|
|
216
|
+
return keyed("low-label-line", html`<div class=${safeClassMap({ [CSS.label]: true, [CSS.labelValue]: true })} ${ref(this.valueLabelRef)}>${label}${unitLabel && valueLabelType !== "percent" && html`<span class=${safeClassMap(CSS.unitLabel)}>${unitLabel}</span>` || ""}</div>`);
|
|
221
217
|
}
|
|
222
218
|
renderMinLabel() {
|
|
223
219
|
const { rangeLabelType, min, minPercent, unitLabel } = this;
|
|
224
220
|
const style = { insetInlineStart: `${minPercent}%` };
|
|
225
221
|
const labelMin = this.formatLabel(rangeLabelType === "percent" ? minPercent : min, rangeLabelType);
|
|
226
|
-
return keyed("min-label-line", html`<div class=${safeClassMap({ [CSS.label]: true, [CSS.labelRange]: true })} style=${safeStyleMap(style)} ${ref(this.minLabelRef)}>${labelMin}${unitLabel && rangeLabelType !== "percent" && html`<span class=${safeClassMap(CSS.unitLabel)}
|
|
222
|
+
return keyed("min-label-line", html`<div class=${safeClassMap({ [CSS.label]: true, [CSS.labelRange]: true })} style=${safeStyleMap(style)} ${ref(this.minLabelRef)}>${labelMin}${unitLabel && rangeLabelType !== "percent" && html`<span class=${safeClassMap(CSS.unitLabel)}>${unitLabel}</span>` || ""}</div>`);
|
|
227
223
|
}
|
|
228
224
|
renderLowLabel() {
|
|
229
225
|
const { rangeLabelType, low, lowPercent, highPercent, labelFlipProximity } = this;
|
|
@@ -3,7 +3,7 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @cssproperty [--calcite-navigation-width] - Specifies the width of the component's content area.
|
|
6
|
-
* @cssproperty [--calcite-navigation-background] - [Deprecated] Use `--calcite-navigation-background-color
|
|
6
|
+
* @cssproperty [--calcite-navigation-background] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-navigation-background-color` instead. Specifies the background color of the component.
|
|
7
7
|
* @cssproperty [--calcite-navigation-background-color] - Specifies the component's background color.
|
|
8
8
|
* @cssproperty [--calcite-navigation-border-color] - Specifies the component's border color.
|
|
9
9
|
* @slot [logo] - A slot for adding a `calcite-logo` component to the primary navigation level.
|
|
@@ -29,7 +29,7 @@ export abstract class Navigation extends LitElement {
|
|
|
29
29
|
* When `navigationAction` is `true`, sets focus on the component's action element.
|
|
30
30
|
*
|
|
31
31
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
32
|
-
* @
|
|
32
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
33
33
|
*/
|
|
34
34
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
35
35
|
/** When `navigationAction` is `true`, emits when the displayed action selection changes. */
|
|
@@ -37,13 +37,13 @@ export abstract class NavigationLogo extends LitElement {
|
|
|
37
37
|
/**
|
|
38
38
|
* Defines the relationship between the `href` value and the current document.
|
|
39
39
|
*
|
|
40
|
-
* @
|
|
40
|
+
* @see [MDN - rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)
|
|
41
41
|
*/
|
|
42
42
|
accessor rel: string;
|
|
43
43
|
/**
|
|
44
44
|
* Specifies where to open the linked document defined in the `href` property.
|
|
45
45
|
*
|
|
46
|
-
* @
|
|
46
|
+
* @see [MDN - target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)
|
|
47
47
|
*/
|
|
48
48
|
accessor target: string;
|
|
49
49
|
/** Specifies the `src` to an image. */
|
|
@@ -52,7 +52,7 @@ export abstract class NavigationLogo extends LitElement {
|
|
|
52
52
|
* Sets focus on the component.
|
|
53
53
|
*
|
|
54
54
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
55
|
-
* @
|
|
55
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
56
56
|
*/
|
|
57
57
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
58
58
|
}
|
|
@@ -36,7 +36,7 @@ export abstract class NavigationUser extends LitElement {
|
|
|
36
36
|
* Sets focus on the component.
|
|
37
37
|
*
|
|
38
38
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
39
|
-
* @
|
|
39
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
40
40
|
*/
|
|
41
41
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
42
42
|
}
|
|
@@ -14,13 +14,13 @@ import type { IconName } from "../calcite-icon/interfaces.js";
|
|
|
14
14
|
* @cssproperty [--calcite-notice-corner-radius] - Specifies the component's border radius.
|
|
15
15
|
* @cssproperty [--calcite-notice-close-background-color] - Specifies the background color of the component's close element.
|
|
16
16
|
* @cssproperty [--calcite-notice-close-background-color-hover] - Specifies the background color of the component's close element when hovered.
|
|
17
|
-
* @cssproperty [--calcite-notice-close-background-color-focus] - [Deprecated] Specifies the background color of the component's close element when hovered.
|
|
17
|
+
* @cssproperty [--calcite-notice-close-background-color-focus] - [Deprecated] in v5.0.0, removal target v6.0.0 - Use `--calcite-notice-close-background-color-hover` instead. Specifies the background color of the component's close element when hovered.
|
|
18
18
|
* @cssproperty [--calcite-notice-close-background-color-press] - Specifies the background color of the component's close element when active.
|
|
19
19
|
* @cssproperty [--calcite-notice-close-icon-color-hover] - Specifies the icon color of the component's close element when hovered or active.
|
|
20
20
|
* @cssproperty [--calcite-notice-close-icon-color] - Specifies the icon color of the component's close element.
|
|
21
21
|
* @cssproperty [--calcite-notice-title-text-color] - Specifies the component's slotted `"title"` content text color.
|
|
22
22
|
* @cssproperty [--calcite-notice-content-text-color] - Specifies the component's slotted `"message"` content text color.
|
|
23
|
-
* @cssproperty [--calcite-notice-width] - [Deprecated] Specifies the component's width.
|
|
23
|
+
* @cssproperty [--calcite-notice-width] - [Deprecated] in v3.0.0, removal target v6.0.0 - Specifies the component's width.
|
|
24
24
|
* @cssproperty [--calcite-notice-shadow] - Specifies the component's shadow.
|
|
25
25
|
* @slot [title] - A slot for adding a title.
|
|
26
26
|
* @slot [message] - A slot for adding a message.
|
|
@@ -78,7 +78,7 @@ export abstract class Notice extends LitElement {
|
|
|
78
78
|
* Sets focus on the component's first focusable element.
|
|
79
79
|
*
|
|
80
80
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
81
|
-
* @
|
|
81
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
82
82
|
*/
|
|
83
83
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
84
84
|
/** Fires when the component is requested to be closed and before the closing transition begins. */
|
|
@@ -3,7 +3,7 @@ import { c as customElement } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
5
5
|
import { LitElement, createEvent, stringOrBoolean, safeClassMap } from "@arcgis/lumina";
|
|
6
|
-
import {
|
|
6
|
+
import { b as setRequestedIcon, s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
7
7
|
import { K as KindIcons, a as KindIconsFilled } from "../../chunks/resources4.js";
|
|
8
8
|
import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
|
|
9
9
|
import { g as getIconScale } from "../../chunks/component.js";
|
|
@@ -65,7 +65,7 @@ export abstract class Pagination extends LitElement {
|
|
|
65
65
|
* Sets focus on the component's first focusable element.
|
|
66
66
|
*
|
|
67
67
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
68
|
-
* @
|
|
68
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
69
69
|
*/
|
|
70
70
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
71
71
|
/** Emits when the selected page changes. */
|
|
@@ -25,7 +25,7 @@ const ICONS = {
|
|
|
25
25
|
first: "chevron-start",
|
|
26
26
|
last: "chevron-end"
|
|
27
27
|
};
|
|
28
|
-
const styles = css`:host{display:flex;writing-mode:horizontal-tb}.list{margin:0;display:flex;list-style-type:none;padding:0;column-gap:var(--calcite-spacing-base)}.list-item{margin:0;display:flex;padding:0}.hidden-item{display:none}:host([scale=s]) .chevron,:host([scale=s]) .page,:host([scale=s]) .ellipsis{block-size:1.5rem;padding-inline:.25rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);min-inline-size:1.5rem}:host([scale=m]) .chevron,:host([scale=m]) .page,:host([scale=m]) .ellipsis{block-size:2rem;padding-inline:.5rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);min-inline-size:2rem}:host([scale=l]) .chevron,:host([scale=l]) .page,:host([scale=l]) .ellipsis{block-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-inline-size:2.75rem}:host([scale=l]) .chevron{padding-inline
|
|
28
|
+
const styles = css`:host{display:flex;writing-mode:horizontal-tb}.list{margin:0;display:flex;list-style-type:none;padding:0;column-gap:var(--calcite-spacing-base)}.list-item{margin:0;display:flex;padding:0}.hidden-item{display:none}:host([scale=s]) .chevron,:host([scale=s]) .page,:host([scale=s]) .ellipsis{block-size:1.5rem;padding-inline:.25rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);min-inline-size:1.5rem}:host([scale=m]) .chevron,:host([scale=m]) .page,:host([scale=m]) .ellipsis{block-size:2rem;padding-inline:.5rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);min-inline-size:2rem}:host([scale=l]) .chevron,:host([scale=l]) .page,:host([scale=l]) .ellipsis{block-size:2.75rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);min-inline-size:2.75rem}:host([scale=l]) .chevron{padding-inline:var(--calcite-space-sm-plus)}:host([scale=l]) .page,:host([scale=l]) .ellipsis{padding-inline:.75rem}:host button{outline-color:transparent}:host button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.chevron,.page,.ellipsis{margin:0;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-style:none;--tw-border-opacity: 0;background-color:transparent;padding:0;vertical-align:baseline;font-family:inherit;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);color:var(--calcite-pagination-color, var(--calcite-color-text-3))}.chevron,.page{cursor:pointer;border-block:2px solid transparent}.chevron:hover,.page:hover{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1))}.chevron:active,.page:active{color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1))}.page:hover{border-block-end-color:var(--calcite-pagination-color-border-hover, var(--calcite-color-border-2))}.page:active{background-color:var(--calcite-pagination-background-color, var(--calcite-color-foreground-3))}.page.selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-pagination-color-hover, var(--calcite-color-text-1));border-block-end-color:var(--calcite-pagination-color-border-active, var(--calcite-color-brand))}.page.selected:focus{border-block-end-width:var(--calcite-spacing-xxs);padding-block-start:var(--calcite-spacing-base)}.chevron:hover{background-color:var(--calcite-pagination-icon-color-background-hover, var(--calcite-color-foreground-2))}.chevron:active{background-color:var(--calcite-pagination-background-color, var(--calcite-color-foreground-3))}.chevron.disabled{pointer-events:none;background-color:transparent}.chevron.disabled>calcite-icon{opacity:var(--calcite-opacity-disabled)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
29
29
|
const firstAndLastPageCount = 2;
|
|
30
30
|
const ellipsisCount = 2;
|
|
31
31
|
const maxItemBreakpoints = {
|
|
@@ -12,6 +12,8 @@ import type { IconName } from "../calcite-icon/interfaces.js";
|
|
|
12
12
|
* @cssproperty [--calcite-panel-description-text-color] - Specifies the text color of the component's `description`.
|
|
13
13
|
* @cssproperty [--calcite-panel-border-color] - Specifies the component's border color.
|
|
14
14
|
* @cssproperty [--calcite-panel-background-color] - Specifies the component's background color.
|
|
15
|
+
* @cssproperty [--calcite-panel-content-top-space] - Specifies the padding of the component's `content-top` slot.
|
|
16
|
+
* @cssproperty [--calcite-panel-content-bottom-space] - Specifies the padding of the component's `content-bottom` slot.
|
|
15
17
|
* @cssproperty [--calcite-panel-header-background-color] - Specifies the background color of the component's header.
|
|
16
18
|
* @cssproperty [--calcite-panel-header-action-background-color] - Specifies the background color of the component's `closable`, `collapsible`, and elements slotted in `header-menu-actions`.
|
|
17
19
|
* @cssproperty [--calcite-panel-header-action-background-color-hover] - Specifies the background color of the component's `closable`, `collapsible`, and elements slotted in `header-menu-actions` when hovered.
|
|
@@ -19,13 +21,13 @@ import type { IconName } from "../calcite-icon/interfaces.js";
|
|
|
19
21
|
* @cssproperty [--calcite-panel-header-action-text-color] - Specifies the text color of the component's `closable`, `collapsible`, and elements slotted in `header-menu-actions`.
|
|
20
22
|
* @cssproperty [--calcite-panel-header-action-text-color-press] - Specifies the text color of the component's `closable`, `collapsible`, and elements slotted in `header-menu-actions` when pressed or hovered.
|
|
21
23
|
* @cssproperty [--calcite-panel-footer-background-color] - Specifies the background color of the component's footer.
|
|
22
|
-
* @cssproperty [--calcite-panel-space] - Specifies the padding of the component's `
|
|
23
|
-
* @cssproperty [--calcite-panel-header-content-space] - Specifies the padding of the `
|
|
24
|
+
* @cssproperty [--calcite-panel-space] - Specifies the padding of the component's `unnamed (default)` slot.
|
|
25
|
+
* @cssproperty [--calcite-panel-header-content-space] - Specifies the padding of the component's `header-content` slot.
|
|
24
26
|
* @cssproperty [--calcite-panel-footer-space] - Specifies the padding of the component's footer.
|
|
25
27
|
* @cssproperty [--calcite-popover-border-color] - Specifies the border color of the component's internally rendered `calcite-popover`, which is rendered within a `calcite-action` menu when slotted `calcite-action`s are present in the `header-actions-end` slot. Applies to any slotted `calcite-popover`s.
|
|
26
|
-
* @cssproperty [--calcite-panel-content-space] - [Deprecated] Use `--calcite-panel-space` instead. Specifies the padding of the component's content.
|
|
27
|
-
* @cssproperty [--calcite-panel-footer-padding] - [Deprecated] Use `--calcite-panel-footer-space` instead. Specifies the padding of the component's footer.
|
|
28
|
-
* @cssproperty [--calcite-panel-header-border-block-end] - [Deprecated] Use `--calcite-panel-border-color` instead. Specifies the component header's block end border.
|
|
28
|
+
* @cssproperty [--calcite-panel-content-space] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-panel-space` instead. Specifies the padding of the component's content.
|
|
29
|
+
* @cssproperty [--calcite-panel-footer-padding] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-panel-footer-space` instead. Specifies the padding of the component's footer.
|
|
30
|
+
* @cssproperty [--calcite-panel-header-border-block-end] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-panel-border-color` instead. Specifies the component header's block end border.
|
|
29
31
|
* @slot - A slot for adding custom content.
|
|
30
32
|
* @slot [action-bar] - A slot for adding a `calcite-action-bar` to the component.
|
|
31
33
|
* @slot [alerts] - A slot for adding `calcite-alert`s to the component.
|
|
@@ -35,6 +37,8 @@ import type { IconName } from "../calcite-icon/interfaces.js";
|
|
|
35
37
|
* @slot [header-actions-end] - A slot for adding actions or content to the end side of the header.
|
|
36
38
|
* @slot [header-content] - A slot for adding custom content to the header.
|
|
37
39
|
* @slot [header-menu-actions] - A slot for adding an overflow menu with actions inside a `calcite-dropdown`.
|
|
40
|
+
* @slot [heading] - A slot for adding content to the heading area of the default header. Takes precedence over the `heading` property.
|
|
41
|
+
* @slot [description] - A slot for adding content to the description area of the default header. Takes precedence over the `description` property.
|
|
38
42
|
* @slot [fab] - A slot for adding a `calcite-fab` (floating action button) to perform an action.
|
|
39
43
|
* @slot [footer] - A slot for adding custom content to the component's footer. Should not be used with the `"footer-start"` or `"footer-end"` slots.
|
|
40
44
|
* @slot [footer-end] - A slot for adding custom content to a trailing footer. Should not be used with the `"footer"` slot.
|
|
@@ -142,7 +146,7 @@ export abstract class Panel extends LitElement {
|
|
|
142
146
|
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
143
147
|
*
|
|
144
148
|
* @default false
|
|
145
|
-
* @
|
|
149
|
+
* @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
146
150
|
*/
|
|
147
151
|
accessor topLayerDisabled: boolean;
|
|
148
152
|
/**
|
|
@@ -162,7 +166,7 @@ export abstract class Panel extends LitElement {
|
|
|
162
166
|
* Sets focus on the component's first focusable element.
|
|
163
167
|
*
|
|
164
168
|
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
165
|
-
* @
|
|
169
|
+
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
166
170
|
*/
|
|
167
171
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
168
172
|
/** Fires when the close button is clicked. */
|
|
@@ -4,7 +4,7 @@ import { keyed } from "lit/directives/keyed.js";
|
|
|
4
4
|
import { css, html, nothing } from "lit";
|
|
5
5
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
7
|
-
import { s as slotChangeHasAssignedElement,
|
|
7
|
+
import { s as slotChangeHasAssignedElement, a as slotChangeGetAssignedElements, A as slotChangeHasTextContent, h as hasVisibleContent } from "../../chunks/dom.js";
|
|
8
8
|
import { g as getIconScale } from "../../chunks/component.js";
|
|
9
9
|
import { c as createObserver, u as updateRefObserver } from "../../chunks/observers.js";
|
|
10
10
|
import { S as SLOTS$1 } from "../../chunks/resources2.js";
|
|
@@ -15,7 +15,7 @@ import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
|
15
15
|
import { s as styles$1 } from "../../chunks/header.js";
|
|
16
16
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
17
17
|
import { C as CSS, S as SLOTS, I as ICONS, a as IDS } from "../../chunks/resources6.js";
|
|
18
|
-
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;border-radius:var(--calcite-panel-corner-radius, var(--calcite-corner-radius-sharp))}slot[name=alerts]::slotted(calcite-alert){block-size:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-panel-default-space: var(--calcite-spacing-sm);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-sm-plus)}:host([scale=s]) .header-content .heading{font-size:var(--calcite-font-size--1)}:host([scale=s]) .header-content .description{font-size:var(--calcite-font-size--2)}:host([scale=s]) .header-content .icon{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]){--calcite-internal-panel-default-space: var(--calcite-spacing-md);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-md-plus)}:host([scale=m]) .header-content .heading{font-size:var(--calcite-font-size-0)}:host([scale=m]) .header-content .description{font-size:var(--calcite-font-size--1)}:host([scale=m]) .header-content .icon{margin-inline-end:var(--calcite-spacing-md)}:host(:is([scale=s],[scale=m])){--calcite-internal-panel-action-spacing: var(--calcite-spacing-xxs)}:host([scale=l]){--calcite-internal-panel-action-spacing: var(--calcite-spacing-xs);--calcite-internal-panel-default-space: var(--calcite-spacing-lg);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-xl)}:host([scale=l]) .header-content .heading{font-size:var(--calcite-font-size-1)}:host([scale=l]) .header-content .description{font-size:var(--calcite-font-size-0)}:host([scale=l]) .header-content .icon{margin-inline-end:var(--calcite-spacing-lg)}.content-top,.content-bottom{display:flex;align-items:flex-start;align-self:stretch;
|
|
18
|
+
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;border-radius:var(--calcite-panel-corner-radius, var(--calcite-corner-radius-sharp))}slot[name=alerts]::slotted(calcite-alert){block-size:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-panel-default-space: var(--calcite-spacing-sm);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-sm-plus)}:host([scale=s]) .header-content .heading{font-size:var(--calcite-font-size--1)}:host([scale=s]) .header-content .description{font-size:var(--calcite-font-size--2)}:host([scale=s]) .header-content .icon{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]){--calcite-internal-panel-default-space: var(--calcite-spacing-md);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-md-plus)}:host([scale=m]) .header-content .heading{font-size:var(--calcite-font-size-0)}:host([scale=m]) .header-content .description{font-size:var(--calcite-font-size--1)}:host([scale=m]) .header-content .icon{margin-inline-end:var(--calcite-spacing-md)}:host(:is([scale=s],[scale=m])){--calcite-internal-panel-action-spacing: var(--calcite-spacing-xxs)}:host([scale=l]){--calcite-internal-panel-action-spacing: var(--calcite-spacing-xs);--calcite-internal-panel-default-space: var(--calcite-spacing-lg);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-xl)}:host([scale=l]) .header-content .heading{font-size:var(--calcite-font-size-1)}:host([scale=l]) .header-content .description{font-size:var(--calcite-font-size-0)}:host([scale=l]) .header-content .icon{margin-inline-end:var(--calcite-spacing-lg)}.content-top,.content-bottom{display:flex;align-items:flex-start;align-self:stretch;border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));background-color:var(--calcite-panel-background-color, var(--calcite-color-foreground-1))}.content-top{padding:var(--calcite-panel-content-top-space, var(--calcite-internal-panel-default-space))}.content-bottom{padding:var(--calcite-panel-content-bottom-space, var(--calcite-internal-panel-default-space))}.container{position:relative;margin:0;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;overflow:hidden;background-color:var(--calcite-color-background);padding:0;font-size:var(--calcite-font-size-relative-base);color:var(--calcite-color-text-2);transition:max-block-size var(--calcite-animation-timing),inline-size var(--calcite-animation-timing);box-sizing:border-box;font-size:var(--calcite-font-size--1)}.container *{box-sizing:border-box}.header{z-index:var(--calcite-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-panel-header-background-color, var(--calcite-color-foreground-1));border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-panel-header-border-block-end, var(--calcite-color-border-3)))}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3))}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:.75rem;padding-block:.875rem;margin-inline-end:auto;justify-content:center}.header-content .heading-text-content{flex:1 1 auto;overflow:hidden}.header-content .heading,.header-content .description{display:block;flex:none;overflow-wrap:break-word;padding:0;line-height:var(--calcite-font-line-height-relative-snug)}.header-content .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-panel-heading-text-color, var(--calcite-color-text-1))}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{color:var(--calcite-panel-description-text-color, var(--calcite-color-text-2))}#close,#collapse,calcite-action-menu{--calcite-action-background-color: var(--calcite-panel-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-panel-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-panel-header-action-background-color-press);--calcite-action-text-color: var(--calcite-panel-header-action-text-color);--calcite-action-text-color-press: var(--calcite-panel-header-action-text-color-press)}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;margin:auto;gap:var(--calcite-internal-panel-action-spacing)}.header-actions--start{margin-inline-start:var(--calcite-internal-panel-action-spacing)}.header-actions--end{margin-inline-end:var(--calcite-internal-panel-action-spacing)}.content-wrapper{position:relative;display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;color:var(--calcite-color-text-2);outline-color:transparent;padding:var(--calcite-panel-space, var(--calcite-panel-content-space, 0));background:var(--calcite-panel-background-color, var(--calcite-color-background))}.content-wrapper:focus-visible{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.header-content{flex:1 1 auto;justify-content:center;padding-block:var(--calcite-internal-panel-header-vertical-padding);padding-inline:var(--calcite-internal-panel-default-space)}.header-content.header--slotted-content{padding:var(--calcite-panel-header-content-space, var(--calcite-internal-panel-header-vertical-padding) var(--calcite-internal-panel-default-space))}.header-content.header--non-slotted-content{align-items:center;flex-direction:row}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;align-items:center;justify-content:center;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));padding:var(--calcite-panel-footer-space, var(--calcite-panel-footer-padding, var(--calcite-internal-panel-default-space)));background-color:var(--calcite-panel-footer-background-color, var(--calcite-color-foreground-1))}.footer-content{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:center}.footer-start{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-start;margin-inline-end:auto;gap:var(--calcite-internal-panel-default-space)}.footer-end{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-end;margin-inline-start:auto;gap:var(--calcite-internal-panel-default-space)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:.5rem;inset-inline:0;inline-size:fit-content}calcite-icon{--calcite-icon-color: var(--calcite-panel-icon-color, var(--calcite-ui-icon-color, var(--calcite-color-text-1)))}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
19
19
|
class Panel extends LitElement {
|
|
20
20
|
constructor() {
|
|
21
21
|
super();
|
|
@@ -34,6 +34,8 @@ class Panel extends LitElement {
|
|
|
34
34
|
this.hasFooterEndContent = false;
|
|
35
35
|
this.hasFooterStartContent = false;
|
|
36
36
|
this.hasHeaderContent = false;
|
|
37
|
+
this.hasHeaderDescription = false;
|
|
38
|
+
this.hasHeaderHeading = false;
|
|
37
39
|
this.hasMenuItems = false;
|
|
38
40
|
this.hasStartActions = false;
|
|
39
41
|
this.showHeaderContent = false;
|
|
@@ -58,7 +60,7 @@ class Panel extends LitElement {
|
|
|
58
60
|
this.listen("calcitePanelClose", this.panelCloseHandler);
|
|
59
61
|
}
|
|
60
62
|
static {
|
|
61
|
-
this.properties = { hasActionBar: [16, {}, { state: true }], hasContentBottom: [16, {}, { state: true }], hasContentTop: [16, {}, { state: true }], hasEndActions: [16, {}, { state: true }], hasFab: [16, {}, { state: true }], hasFooterContent: [16, {}, { state: true }], hasFooterEndContent: [16, {}, { state: true }], hasFooterStartContent: [16, {}, { state: true }], hasHeaderContent: [16, {}, { state: true }], hasMenuItems: [16, {}, { state: true }], hasStartActions: [16, {}, { state: true }], showHeaderContent: [16, {}, { state: true }], beforeClose: [0, {}, { attribute: false }], closable: [7, {}, { reflect: true, type: Boolean }], closed: [7, {}, { reflect: true, type: Boolean }], collapseDirection: 1, collapsed: [7, {}, { reflect: true, type: Boolean }], collapsible: [7, {}, { reflect: true, type: Boolean }], description: 1, disabled: [7, {}, { reflect: true, type: Boolean }], heading: 1, headingLevel: [11, {}, { type: Number, reflect: true }], icon: [3, { type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], loading: [7, {}, { reflect: true, type: Boolean }], menuFlipPlacements: [0, {}, { attribute: false }], menuOpen: [7, {}, { reflect: true, type: Boolean }], menuPlacement: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }] };
|
|
63
|
+
this.properties = { hasActionBar: [16, {}, { state: true }], hasContentBottom: [16, {}, { state: true }], hasContentTop: [16, {}, { state: true }], hasEndActions: [16, {}, { state: true }], hasFab: [16, {}, { state: true }], hasFooterContent: [16, {}, { state: true }], hasFooterEndContent: [16, {}, { state: true }], hasFooterStartContent: [16, {}, { state: true }], hasHeaderContent: [16, {}, { state: true }], hasHeaderDescription: [16, {}, { state: true }], hasHeaderHeading: [16, {}, { state: true }], hasMenuItems: [16, {}, { state: true }], hasStartActions: [16, {}, { state: true }], showHeaderContent: [16, {}, { state: true }], beforeClose: [0, {}, { attribute: false }], closable: [7, {}, { reflect: true, type: Boolean }], closed: [7, {}, { reflect: true, type: Boolean }], collapseDirection: 1, collapsed: [7, {}, { reflect: true, type: Boolean }], collapsible: [7, {}, { reflect: true, type: Boolean }], description: 1, disabled: [7, {}, { reflect: true, type: Boolean }], heading: 1, headingLevel: [11, {}, { type: Number, reflect: true }], icon: [3, { type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], loading: [7, {}, { reflect: true, type: Boolean }], menuFlipPlacements: [0, {}, { attribute: false }], menuOpen: [7, {}, { reflect: true, type: Boolean }], menuPlacement: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }] };
|
|
62
64
|
}
|
|
63
65
|
static {
|
|
64
66
|
this.styles = [styles$1, styles];
|
|
@@ -155,6 +157,12 @@ class Panel extends LitElement {
|
|
|
155
157
|
handleHeaderContentSlotChange(event) {
|
|
156
158
|
this.hasHeaderContent = slotChangeHasAssignedElement(event);
|
|
157
159
|
}
|
|
160
|
+
handleHeaderDescriptionSlotChange(event) {
|
|
161
|
+
this.hasHeaderDescription = slotChangeHasTextContent(event) || slotChangeGetAssignedElements(event).some(hasVisibleContent);
|
|
162
|
+
}
|
|
163
|
+
handleHeaderHeadingSlotChange(event) {
|
|
164
|
+
this.hasHeaderHeading = slotChangeHasTextContent(event) || slotChangeGetAssignedElements(event).some(hasVisibleContent);
|
|
165
|
+
}
|
|
158
166
|
handleFabSlotChange(event) {
|
|
159
167
|
this.hasFab = slotChangeHasAssignedElement(event);
|
|
160
168
|
}
|
|
@@ -185,11 +193,14 @@ class Panel extends LitElement {
|
|
|
185
193
|
});
|
|
186
194
|
}
|
|
187
195
|
renderHeaderContent() {
|
|
188
|
-
const { heading, headingLevel, description, hasHeaderContent, icon, scale } = this;
|
|
196
|
+
const { heading, headingLevel, description, hasHeaderContent, hasHeaderDescription, hasHeaderHeading, icon, scale } = this;
|
|
197
|
+
const showHeaderHeading = !!heading || hasHeaderHeading;
|
|
198
|
+
const showHeaderDescription = !!description || hasHeaderDescription;
|
|
199
|
+
const showHeaderTextContent = showHeaderHeading || showHeaderDescription;
|
|
189
200
|
const iconNode = icon ? html`<calcite-icon class=${safeClassMap(CSS.icon)} .flipRtl=${this.iconFlipRtl} .icon=${icon} .scale=${getIconScale(scale)}></calcite-icon>` : null;
|
|
190
|
-
const headingNode =
|
|
191
|
-
const descriptionNode =
|
|
192
|
-
return
|
|
201
|
+
const headingNode = Heading({ class: CSS.heading, hidden: !showHeaderHeading, level: headingLevel, children: html`<slot .hidden=${!hasHeaderHeading} name=${SLOTS.heading} @slotchange=${this.handleHeaderHeadingSlotChange}></slot>${!hasHeaderHeading ? heading : null}` });
|
|
202
|
+
const descriptionNode = html`<span class=${safeClassMap(CSS.description)} .hidden=${!showHeaderDescription}><slot .hidden=${!hasHeaderDescription} name=${SLOTS.description} @slotchange=${this.handleHeaderDescriptionSlotChange}></slot>${!hasHeaderDescription ? description : null}</span>`;
|
|
203
|
+
return keyed("header-content", html`<div class=${safeClassMap({ [CSS.headerContent]: true, [CSS.headerNonSlottedContent]: true })} .hidden=${hasHeaderContent || !showHeaderTextContent}>${iconNode}<div class=${safeClassMap(CSS.headingTextContent)}>${headingNode}${descriptionNode}</div></div>`);
|
|
193
204
|
}
|
|
194
205
|
renderActionBar() {
|
|
195
206
|
return html`<div class=${safeClassMap(CSS.actionBarContainer)} .hidden=${!this.hasActionBar}><slot name=${SLOTS.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`;
|
|
@@ -219,9 +230,10 @@ class Panel extends LitElement {
|
|
|
219
230
|
return keyed("menu", html`<calcite-action-menu .flipPlacements=${menuFlipPlacements ?? ["top", "bottom"]} .hidden=${!hasMenuItems} .label=${messages.options} .open=${menuOpen} .overlayPositioning=${this.overlayPositioning} .placement=${menuPlacement} .scale=${scale} .topLayerDisabled=${this.topLayerDisabled}><calcite-action class=${safeClassMap(CSS.menuAction)} .icon=${ICONS.menu} .scale=${scale} slot=${SLOTS$1.trigger} .text=${messages.options}></calcite-action><slot name=${SLOTS.headerMenuActions} @slotchange=${this.handleHeaderMenuActionsSlotChange}></slot></calcite-action-menu>`);
|
|
220
231
|
}
|
|
221
232
|
renderHeaderNode() {
|
|
222
|
-
const { hasHeaderContent, hasStartActions, hasEndActions, closable, collapsible, hasMenuItems, hasActionBar, hasContentTop } = this;
|
|
233
|
+
const { hasHeaderContent, hasHeaderDescription, hasHeaderHeading, hasStartActions, hasEndActions, closable, collapsible, hasMenuItems, hasActionBar, hasContentTop, heading, description } = this;
|
|
223
234
|
const headerContentNode = this.renderHeaderContent();
|
|
224
|
-
const
|
|
235
|
+
const hasDefaultHeaderContent = !!heading || !!description || hasHeaderHeading || hasHeaderDescription;
|
|
236
|
+
const showHeaderContent = hasHeaderContent || hasDefaultHeaderContent || hasStartActions || hasEndActions || collapsible || closable || hasMenuItems || hasActionBar || hasContentTop;
|
|
225
237
|
this.showHeaderContent = showHeaderContent;
|
|
226
238
|
return html`<header class=${safeClassMap(CSS.header)} .hidden=${!(showHeaderContent || hasActionBar || hasContentTop)}><div class=${safeClassMap({ [CSS.headerContainer]: true, [CSS.headerContainerBorderEnd]: hasActionBar })} .hidden=${!showHeaderContent}>${this.renderHeaderStartActions()}${this.renderHeaderSlottedContent()}${headerContentNode}${this.renderHeaderActionsEnd()}</div>${this.renderActionBar()}${this.renderContentTop()}</header>`;
|
|
227
239
|
}
|