@esri/calcite-components 6.0.0-next.30 → 6.0.0-next.32
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/{I6UMOKHJ.js → 22EM6PC2.js} +1 -1
- package/dist/cdn/{N4Y4IVWT.js → 27T56KCJ.js} +1 -1
- package/dist/cdn/{VCZHUG3S.js → 27X4URIG.js} +1 -1
- package/dist/cdn/{YZOCZJGM.js → 2ADZ7WR7.js} +1 -1
- package/dist/cdn/{444236DE.js → 3BGTTAUS.js} +1 -1
- package/dist/cdn/{G7VCDZAH.js → 3KAPB7Y4.js} +1 -1
- package/dist/cdn/{FGPKBUR3.js → 3UY6U54N.js} +1 -1
- package/dist/cdn/{KIT7NU4F.js → 467XRWLI.js} +1 -1
- package/dist/cdn/{T7YGUZSK.js → 4IJ4XYKR.js} +1 -1
- package/dist/cdn/{6I7EXQHZ.js → 4KYT4OEB.js} +1 -1
- package/dist/cdn/{CRJ7GEOB.js → 4PH7QLZ5.js} +1 -1
- package/dist/cdn/{DV5KMXKC.js → 4UJZNDVL.js} +1 -1
- package/dist/cdn/{LKYZVTZF.js → 4X66Y5SG.js} +1 -1
- package/dist/cdn/{GBTJTOXL.js → 5AF7LKCH.js} +1 -1
- package/dist/cdn/{TNDQWC77.js → 5CBIKAEI.js} +1 -1
- package/dist/cdn/{J3NX74VT.js → 5HV3MQAN.js} +1 -1
- package/dist/cdn/{HEQ6QW3K.js → 5NP4NQ75.js} +1 -1
- package/dist/cdn/{V2AKOENX.js → 6IK4YY4Q.js} +1 -1
- package/dist/cdn/{4YAW7S6I.js → 6UWV2IB4.js} +1 -1
- package/dist/cdn/{SVFPRHA6.js → 74CFBRNP.js} +1 -1
- package/dist/cdn/{S3MNGCZD.js → 7B7AUCFT.js} +1 -1
- package/dist/cdn/{CGICD7ZG.js → 7HIIGKXC.js} +1 -1
- package/dist/cdn/{5XN6EOKV.js → 7VHIR7OZ.js} +1 -1
- package/dist/cdn/{JLH4SXHH.js → AMN4XNVI.js} +1 -1
- package/dist/cdn/{27RYO3S3.js → AXHUTZFE.js} +1 -1
- package/dist/cdn/{5RCRYCLG.js → AXMEQ5HK.js} +1 -1
- package/dist/cdn/{KETKIVWP.js → B6MKXPF6.js} +1 -1
- package/dist/cdn/{ZEIISDRS.js → BAM2PBGA.js} +1 -1
- package/dist/cdn/{IBUMIXPU.js → BE6XQC6U.js} +1 -1
- package/dist/cdn/{AKAXKJA2.js → BQUS7O7D.js} +1 -1
- package/dist/cdn/{WCZUTUTW.js → C7S3BDBX.js} +1 -1
- package/dist/cdn/{E67XH4JQ.js → CCVUAR5Z.js} +1 -1
- package/dist/cdn/{I4AFXPRB.js → CERRSYTB.js} +1 -1
- package/dist/cdn/{XF25BJXC.js → CJ2QW6FE.js} +1 -1
- package/dist/cdn/{UR6MPMXC.js → COIMZWZL.js} +1 -1
- package/dist/cdn/{LKSMSNM7.js → CW3F5PSX.js} +1 -1
- package/dist/cdn/{URTYW475.js → CXDE6DBI.js} +1 -1
- package/dist/cdn/{6WXRX7AM.js → CXEQ3W3L.js} +1 -1
- package/dist/cdn/{ZF366KLH.js → CXYDFUFV.js} +1 -1
- package/dist/cdn/{U5TTY3OC.js → D7Z5DPHN.js} +1 -1
- package/dist/cdn/{VSQINAGH.js → DRWMIG2A.js} +1 -1
- package/dist/cdn/{65S2O64A.js → DZ5YZLLW.js} +1 -1
- package/dist/cdn/{GYAMAUXY.js → DZU2XLXM.js} +1 -1
- package/dist/cdn/{L2PORTM4.js → EEA73SFZ.js} +1 -1
- package/dist/cdn/{BZZ3PDRE.js → EHNEXHJE.js} +1 -1
- package/dist/cdn/{KLALTZ6M.js → EIFUYOVZ.js} +1 -1
- package/dist/cdn/{HAEXMEIN.js → EIZDIRB4.js} +1 -1
- package/dist/cdn/{QDYPYDT7.js → EKI76LG7.js} +1 -1
- package/dist/cdn/{YXTWPSNG.js → EZI27HAU.js} +1 -1
- package/dist/cdn/{OYQLEYK5.js → FEGFX2WD.js} +1 -1
- package/dist/cdn/{C664KWJK.js → FU7MF74E.js} +1 -1
- package/dist/cdn/{LRGOLZEK.js → GEYT6LB7.js} +1 -1
- package/dist/cdn/{AE5P23AX.js → GKYK7XCO.js} +1 -1
- package/dist/cdn/{KGTOCD7C.js → GQSCXVIU.js} +1 -1
- package/dist/cdn/{3B2ZDL33.js → HDPXMQMP.js} +1 -1
- package/dist/cdn/{X4VMA74R.js → HPJSPMNH.js} +1 -1
- package/dist/cdn/{2MQ3WWV6.js → HSPTT3LV.js} +1 -1
- package/dist/cdn/{DM56VGTT.js → I2DVQMTF.js} +1 -1
- package/dist/cdn/{BEI2Q4QV.js → IOERUJQH.js} +1 -1
- package/dist/cdn/{Y2BRPES3.js → ISBKAVOX.js} +1 -1
- package/dist/cdn/{26ZHQ7BU.js → IZPGTGLJ.js} +1 -1
- package/dist/cdn/{SIEIL7FM.js → J6VYFTM4.js} +1 -1
- package/dist/cdn/{H5ZWUCNU.js → JCIA6RBQ.js} +1 -1
- package/dist/cdn/{OR22OBUK.js → JDKIG3OK.js} +1 -1
- package/dist/cdn/{4GJVPFBQ.js → JJSTRCI5.js} +1 -1
- package/dist/cdn/{5LZ756VG.js → K46PS2N6.js} +1 -1
- package/dist/cdn/{66MGO5ZU.js → KCVCJJ3G.js} +1 -1
- package/dist/cdn/{DC52WCG4.js → KELOMBLQ.js} +1 -1
- package/dist/cdn/{6PI5JKRE.js → KSGKP7BB.js} +1 -1
- package/dist/cdn/{LZ6OXXTM.js → KWGKBIM3.js} +1 -1
- package/dist/cdn/{BIBBX2NQ.js → L2YJXRI7.js} +1 -1
- package/dist/cdn/{PO6YL62I.js → LGADD3GQ.js} +1 -1
- package/dist/cdn/{PERDWZWY.js → LGKFD5NE.js} +1 -1
- package/dist/cdn/{AGD2EOLY.js → LQBOZRSZ.js} +1 -1
- package/dist/cdn/{34LORM54.js → LSUYGJUQ.js} +1 -1
- package/dist/cdn/{JXSCNDAH.js → LW757VXF.js} +1 -1
- package/dist/cdn/{QLODMQBD.js → M4QXPEYA.js} +1 -1
- package/dist/cdn/{7RQHFOJK.js → M5EKCOWL.js} +1 -1
- package/dist/cdn/{BZD6X5QP.js → MGB7IHBN.js} +1 -1
- package/dist/cdn/{KF2PRC3N.js → MGO56IDG.js} +1 -1
- package/dist/cdn/{BZ7XAOLC.js → MJA76ZEB.js} +1 -1
- package/dist/cdn/{7KM376VM.js → MKBFZDRN.js} +1 -1
- package/dist/cdn/{F6OZCUVP.js → MTMSXD7G.js} +1 -1
- package/dist/cdn/{IH6VM7RW.js → MX6NVG77.js} +1 -1
- package/dist/cdn/{RHG4MWDQ.js → MZUQW7T7.js} +1 -1
- package/dist/cdn/{E4TS5FQE.js → N3EQA7VR.js} +1 -1
- package/dist/cdn/{C6JSMZCR.js → O7KTF2FA.js} +1 -1
- package/dist/cdn/{N5725US7.js → OD5VRFWK.js} +1 -1
- package/dist/cdn/{32L6XZV2.js → OKOR5MWV.js} +1 -1
- package/dist/cdn/{PQ6MRDKH.js → OTCKOUA5.js} +1 -1
- package/dist/cdn/{EGLMU2AU.js → OX7I2ZE2.js} +1 -1
- package/dist/cdn/{Q4WATFR3.js → OZLM7DWI.js} +1 -1
- package/dist/cdn/{AWYSKRFD.js → PJWHKL5T.js} +1 -1
- package/dist/cdn/{4LQENKOC.js → PP543GMX.js} +1 -1
- package/dist/cdn/{JED2BFML.js → PXOGEKNF.js} +1 -1
- package/dist/cdn/{IROQKMX4.js → PXUJV3K3.js} +1 -1
- package/dist/cdn/{JNL2MGPV.js → PZCLR7V5.js} +1 -1
- package/dist/cdn/{7KQIWP5A.js → QILUIDT6.js} +1 -1
- package/dist/cdn/{4U3UP55J.js → QVOUVRVF.js} +1 -1
- package/dist/cdn/{GLRXNYZY.js → R7A2S2JK.js} +1 -1
- package/dist/cdn/{V3KLQ5UF.js → RHP7E5MQ.js} +1 -1
- package/dist/cdn/{P2PASM66.js → RMYDLD3L.js} +1 -1
- package/dist/cdn/{WB7RXQJA.js → S26F7J4L.js} +1 -1
- package/dist/cdn/{D6FYHCKK.js → S3H4IEOB.js} +1 -1
- package/dist/cdn/S663GSUU.js +2 -0
- package/dist/cdn/{BUD3X4EV.js → SHMDC6YI.js} +1 -1
- package/dist/cdn/{6SZN3UEC.js → SKHMBPZX.js} +1 -1
- package/dist/cdn/{WBQQBVVC.js → SNKADWIL.js} +1 -1
- package/dist/cdn/{QEW6GSYQ.js → SS7TOHAX.js} +1 -1
- package/dist/cdn/{C7SUNBF3.js → SZ3RMLLZ.js} +1 -1
- package/dist/cdn/{3INSFKSX.js → TBE6QB2J.js} +1 -1
- package/dist/cdn/{BMHY44X2.js → TPAN4Z6I.js} +1 -1
- package/dist/cdn/{IE3D5G6W.js → TQP5GGZ4.js} +1 -1
- package/dist/cdn/{DR4XSQZU.js → TTIGWOQG.js} +1 -1
- package/dist/cdn/{BOPWFMNV.js → UD45ZUIJ.js} +1 -1
- package/dist/cdn/{SN5B3KVW.js → UF7RT555.js} +1 -1
- package/dist/cdn/{LQX75TZ6.js → UFT5JASX.js} +1 -1
- package/dist/cdn/{H2LEXNC7.js → UIQPXBY4.js} +1 -1
- package/dist/cdn/{HUTTOR7N.js → UOIFOIA6.js} +1 -1
- package/dist/cdn/{XI5BUNVP.js → UR5QD42E.js} +1 -1
- package/dist/cdn/{54Y2XWNM.js → UXLAVDPR.js} +1 -1
- package/dist/cdn/{ERP7JCOT.js → V3GKPSJW.js} +1 -1
- package/dist/cdn/{ROZEV7RT.js → VGYAXHO5.js} +1 -1
- package/dist/cdn/{HDWQ7NSI.js → VYD36H5B.js} +1 -1
- package/dist/cdn/{66VFQ7FS.js → VZXKU2HR.js} +1 -1
- package/dist/cdn/WRX5ZQ6D.js +2 -0
- package/dist/cdn/{KOOUNRK4.js → WYG6UDXB.js} +1 -1
- package/dist/cdn/{QEVG42UL.js → X52BCUBS.js} +1 -1
- package/dist/cdn/{TCRMJM5C.js → X5DVSEAW.js} +1 -1
- package/dist/cdn/{NBZ37GX7.js → X653HX5H.js} +1 -1
- package/dist/cdn/{JWRK3M36.js → XALW74CE.js} +1 -1
- package/dist/cdn/{ZDSKF5YJ.js → YHFR2OVW.js} +1 -1
- package/dist/cdn/{YDT6TQRJ.js → ZGI3EA4A.js} +1 -1
- package/dist/cdn/{BTB6KHWC.js → ZHPJ2ZY3.js} +1 -1
- package/dist/cdn/{K773C63U.js → ZNERL4GM.js} +1 -1
- package/dist/cdn/{Q4DOOVM7.js → ZSKZIJOQ.js} +1 -1
- package/dist/cdn/{5QTRE4DW.js → ZUVHRYHB.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/runtime.js +4 -4
- package/dist/components/calcite-action/customElement.d.ts +0 -36
- package/dist/components/calcite-action/customElement.js +1 -1
- package/dist/components/calcite-color-picker/utils.d.ts +4 -4
- package/dist/components/calcite-flow-item/customElement.d.ts +2 -2
- package/dist/components/calcite-link/customElement.d.ts +5 -1
- package/dist/components/calcite-link/customElement.js +2 -2
- package/dist/components/calcite-tab/customElement.d.ts +0 -6
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cdn/EYRAVDKP.js +0 -2
- package/dist/cdn/Z2C6GGRO.js +0 -2
|
@@ -14,7 +14,7 @@ import { u as useFormTrigger } from "../../chunks/useFormTrigger.js";
|
|
|
14
14
|
import { I as IDS, C as CSS } from "../../chunks/resources3.js";
|
|
15
15
|
import { s as styles$1 } from "../../chunks/screen-reader.js";
|
|
16
16
|
import { t as toAriaBoolean } from "../../chunks/aria.js";
|
|
17
|
-
const styles = css`:host{box-sizing:border-box;background-color:var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1));color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){opacity:var(--calcite-opacity-disabled);cursor:default;-webkit-user-select:none;user-select:none}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-action-font-size: var(--calcite-font-size--2);--calcite-internal-action-min-height: var(--calcite-size-sm);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=m]){--calcite-internal-action-font-size: var(--calcite-font-size--1);--calcite-internal-action-min-height: var(--calcite-size-md);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]){--calcite-internal-action-font-size: var(--calcite-font-size-0);--calcite-internal-action-min-height: var(--calcite-size-lg);--calcite-internal-action-line-height: 1.25rem;--calcite-internal-action-spacing: var(--calcite-theme-space-sm-plus, var(--calcite-spacing-sm-plus))}:host{display:flex;background-color:var(--calcite-color-transparent);cursor:pointer;--calcite-internal-action-text-color: var(--calcite-color-text-3);border-radius:var(--calcite-action-corner-radius, var(--calcite-
|
|
17
|
+
const styles = css`:host{box-sizing:border-box;background-color:var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1));color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){opacity:var(--calcite-opacity-disabled);cursor:default;-webkit-user-select:none;user-select:none}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-action-font-size: var(--calcite-font-size--2);--calcite-internal-action-min-height: var(--calcite-size-sm);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=m]){--calcite-internal-action-font-size: var(--calcite-font-size--1);--calcite-internal-action-min-height: var(--calcite-size-md);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]){--calcite-internal-action-font-size: var(--calcite-font-size-0);--calcite-internal-action-min-height: var(--calcite-size-lg);--calcite-internal-action-line-height: 1.25rem;--calcite-internal-action-spacing: var(--calcite-theme-space-sm-plus, var(--calcite-spacing-sm-plus))}:host{display:flex;background-color:var(--calcite-color-transparent);cursor:pointer;--calcite-internal-action-text-color: var(--calcite-color-text-3);border-radius:var(--calcite-action-corner-radius, var(--calcite-corner-radius-xs))}.interaction-container{border-radius:inherit}:host([width=full]){flex:1 0 auto}:host([width=full]) .button{justify-content:center}:host([width=full]) .button .text-container--visible{flex:none}:host([drag-handle]){cursor:move;--calcite-internal-action-text-color: var(--calcite-color-border-input);--calcite-internal-action-padding-inline: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}.button{outline-color:var(--calcite-color-transparent);position:relative;margin:var(--calcite-space-none);display:flex;inline-size:auto;align-items:center;justify-content:flex-start;border-style:none;box-sizing:border-box;background-color:var(--calcite-action-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));border-radius:inherit;color:var(--calcite-action-text-color, var(--calcite-internal-action-text-color));cursor:inherit;flex:1 0 auto;font-family:inherit;font-size:var(--calcite-internal-action-font-size);font-weight:var(--calcite-theme-font-weight-regular, var(--calcite-font-weight-normal));line-height:var(--calcite-internal-action-line-height);min-block-size:var(--calcite-internal-action-height, var(--calcite-internal-action-min-height));max-block-size:var(--calcite-internal-action-height, none);padding-block:var(--calcite-internal-action-padding-block, var(--calcite-internal-action-spacing));padding-inline:var(--calcite-internal-action-padding-inline, var(--calcite-internal-action-spacing));text-align:start}.button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-theme-color-surface-3, var(--calcite-color-foreground-2)));color:var(--calcite-action-text-color-press, var(--calcite-color-text-1))}.button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-1 * var(--calcite-space-base) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}.button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3)))}.button--text-visible{gap:var(--calcite-internal-action-spacing);inline-size:100%}.icon-container{pointer-events:none;margin:var(--calcite-space-none);display:flex;align-items:center;justify-content:center}.text-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition-property:inline-size;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;margin:var(--calcite-space-none);inline-size:var(--calcite-space-none);opacity:0;transition-timing-function:var(--calcite-animation-easing-function)}.text-container--visible{inline-size:auto;flex:1 1 auto;opacity:var(--calcite-opacity-full)}:host([active]) .button{background-color:var(--calcite-action-background-color, var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3)));color:var(--calcite-action-text-color-press, var(--calcite-color-text-1))}:host([active]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3)))}:host([active]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3)))}:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-action-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)))}:host([loading]) calcite-loader[inline]{margin-inline-end:0px;--calcite-loader-progress-color-inline: var(--calcite-action-loader-color)}:host([appearance=transparent]):host([active]) .button{background-color:var(--calcite-action-background-color-press, var(--calcite-color-transparent-press))}:host([appearance=transparent]) .button{transition-property:box-shadow;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;transition-timing-function:var(--calcite-animation-easing-function);background-color:var(--calcite-action-background-color, var(--calcite-color-transparent))}:host([appearance=transparent]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-transparent-hover))}:host([appearance=transparent]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-color-transparent-press))}:host([selection-appearance=highlight]):host([active]) .button{background-color:var(--calcite-color-surface-highlight);color:var(--calcite-color-text-highlight)}:host([active-descendant]) .button{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-1 * var(--calcite-space-base) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:var(--calcite-space-none)}.slot-container{display:flex}.slot-container--hidden{display:none}.indicator-with-icon{position:relative}.indicator-with-icon:after{content:"";position:absolute;block-size:var(--calcite-space-sm);inline-size:var(--calcite-space-sm);border-radius:var(--calcite-corner-radius-pill);inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}.indicator-without-icon{inline-size:var(--calcite-space-lg);margin-inline:var(--calcite-space-2xs);position:relative}.indicator-without-icon:after{content:"";position:absolute;block-size:var(--calcite-space-sm);inline-size:var(--calcite-space-sm);border-radius:var(--calcite-corner-radius-pill);inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}:host([scale=s]) .indicator-with-icon{position:relative}:host([scale=s]) .indicator-with-icon:after{content:"";position:absolute;block-size:var(--calcite-space-sm);inline-size:var(--calcite-space-sm);border-radius:var(--calcite-corner-radius-pill);inset-block-end:-.125rem;inset-inline-end:-.125rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}:host([scale=s]) .indicator-without-icon{position:relative}:host([scale=s]) .indicator-without-icon:after{content:"";position:absolute;block-size:var(--calcite-space-sm);inline-size:var(--calcite-space-sm);border-radius:var(--calcite-corner-radius-pill);inset-block-end:-.175rem;inset-inline-end:-.175rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:var(--calcite-opacity-full)}.interaction-container{display:contents}`;
|
|
18
18
|
class Action extends LitElement {
|
|
19
19
|
constructor() {
|
|
20
20
|
super();
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { ValueOf } from "type-fest";
|
|
2
|
+
|
|
1
3
|
export const CSSColorMode: {
|
|
2
4
|
HEX: "hex";
|
|
3
5
|
HEXA: "hexa";
|
|
@@ -7,7 +9,7 @@ export const CSSColorMode: {
|
|
|
7
9
|
HSLA_CSS: "hsla-css";
|
|
8
10
|
};
|
|
9
11
|
|
|
10
|
-
export type CSSColorMode =
|
|
12
|
+
export type CSSColorMode = ValueOf<typeof CSSColorMode>;
|
|
11
13
|
|
|
12
14
|
export const ObjectColorMode: {
|
|
13
15
|
RGB: "rgb";
|
|
@@ -18,10 +20,8 @@ export const ObjectColorMode: {
|
|
|
18
20
|
HSVA: "hsva";
|
|
19
21
|
};
|
|
20
22
|
|
|
21
|
-
export type ObjectColorMode =
|
|
23
|
+
export type ObjectColorMode = ValueOf<typeof ObjectColorMode>;
|
|
22
24
|
|
|
23
25
|
export type Format = "auto" | SupportedMode;
|
|
24
26
|
|
|
25
|
-
export type Enumify<T> = T[keyof T];
|
|
26
|
-
|
|
27
27
|
export type SupportedMode = CSSColorMode | ObjectColorMode;
|
|
@@ -53,11 +53,11 @@ export interface DeclareCssProperties {
|
|
|
53
53
|
/** Specifies the background color of the component's `closable`, `collapsible`, and `back` `calcite-action`s when hovered. Applies to any slotted `calcite-action`s. */
|
|
54
54
|
"--calcite-action-background-color-hover": "*";
|
|
55
55
|
/** Specifies the background color of the component's `closable`, `collapsible`, and `back` `calcite-action`s when pressed. Applies to any slotted `calcite-action`s. */
|
|
56
|
-
"--calcite-action-background-color-
|
|
56
|
+
"--calcite-action-background-color-press": "*";
|
|
57
57
|
/** Specifies the text and icon color of the component's `closable`, `collapsible`, and `back` `calcite-action`s when hovered. Applies to any slotted `calcite-action`s. */
|
|
58
58
|
"--calcite-action-text-color-hover": "*";
|
|
59
59
|
/** Specifies the text and icon color of the component's `closable`, `collapsible`, and `back` `calcite-action`s when pressed. Applies to any slotted `calcite-action`s. */
|
|
60
|
-
"--calcite-action-text-color-
|
|
60
|
+
"--calcite-action-text-color-press": "*";
|
|
61
61
|
/** 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. */
|
|
62
62
|
"--calcite-popover-border-color": "*";
|
|
63
63
|
/** Specifies the background color of any `calcite-action`s in the component's header when hovered. */
|
|
@@ -15,7 +15,9 @@ export interface DeclareCssProperties {
|
|
|
15
15
|
*
|
|
16
16
|
* Passing a 'href' allows the component to behave like a link
|
|
17
17
|
*
|
|
18
|
-
*
|
|
18
|
+
* Use the `label` property to provide a custom accessible name.
|
|
19
|
+
*
|
|
20
|
+
* Consumers are responsible for providing other link attributes such as `rel` and `target`.
|
|
19
21
|
*
|
|
20
22
|
* @slot - A slot for adding text.
|
|
21
23
|
*/
|
|
@@ -42,6 +44,8 @@ export abstract class Link extends LitElement {
|
|
|
42
44
|
accessor iconFlipRtl: FlipContext | undefined;
|
|
43
45
|
/** Specifies an icon to display at the start of the component. */
|
|
44
46
|
accessor iconStart: IconName | undefined;
|
|
47
|
+
/** Specifies an accessible label for the component. */
|
|
48
|
+
accessor label: string | undefined;
|
|
45
49
|
/** Specifies the relationship to the linked resource defined in `href`. */
|
|
46
50
|
accessor rel: string | undefined;
|
|
47
51
|
/** Specifies the frame or window to open the linked resource. */
|
|
@@ -37,7 +37,7 @@ class Link extends LitElement {
|
|
|
37
37
|
this.listen("click", this.clickHandler);
|
|
38
38
|
}
|
|
39
39
|
static {
|
|
40
|
-
this.properties = { disabled: [7, {}, { reflect: true, type: Boolean }], download: [3, { converter: stringOrBoolean }, { reflect: true }], href: [3, {}, { reflect: true }], iconEnd: [3, {}, { reflect: true }], iconFlipRtl: [3, {}, { reflect: true }], iconStart: [3, {}, { reflect: true }], rel: 1, target: 1 };
|
|
40
|
+
this.properties = { disabled: [7, {}, { reflect: true, type: Boolean }], download: [3, { converter: stringOrBoolean }, { reflect: true }], href: [3, {}, { reflect: true }], iconEnd: [3, {}, { reflect: true }], iconFlipRtl: [3, {}, { reflect: true }], iconStart: [3, {}, { reflect: true }], label: 1, rel: 1, target: 1 };
|
|
41
41
|
}
|
|
42
42
|
static {
|
|
43
43
|
this.styles = styles;
|
|
@@ -55,7 +55,7 @@ class Link extends LitElement {
|
|
|
55
55
|
const dir = this.direction;
|
|
56
56
|
const actAsButton = !this.href;
|
|
57
57
|
this.el.role = "presentation";
|
|
58
|
-
return this.interactiveContainer({ disabled: this.disabled, children: html`<a class=${safeClassMap({ [CSS_UTILITY.rtl]: dir === "rtl" })} download=${(download === true || download === "" ? "" : download || void 0) ?? nothing} href=${(this.href || void 0) ?? nothing} @click=${this.anchorClickHandler} @keydown=${actAsButton ? this.keyDownHandler : void 0} rel=${this.rel ?? nothing} .role=${actAsButton ? "button" : void 0} tabindex=${(actAsButton ? 0 : void 0) ?? nothing} target=${(this.href ? this.target : void 0) ?? nothing} ${ref(this.anchorRef)}>${html`${this.iconStart ? this.renderIcon("start") : null}<span class=${safeClassMap(CSS.text)}><slot></slot></span>${this.iconEnd ? this.renderIcon("end") : null}`}</a>` });
|
|
58
|
+
return this.interactiveContainer({ disabled: this.disabled, children: html`<a .ariaLabel=${this.label} class=${safeClassMap({ [CSS_UTILITY.rtl]: dir === "rtl" })} download=${(download === true || download === "" ? "" : download || void 0) ?? nothing} href=${(this.href || void 0) ?? nothing} @click=${this.anchorClickHandler} @keydown=${actAsButton ? this.keyDownHandler : void 0} rel=${this.rel ?? nothing} .role=${actAsButton ? "button" : void 0} tabindex=${(actAsButton ? 0 : void 0) ?? nothing} target=${(this.href ? this.target : void 0) ?? nothing} ${ref(this.anchorRef)}>${html`${this.iconStart ? this.renderIcon("start") : null}<span class=${safeClassMap(CSS.text)}><slot></slot></span>${this.iconEnd ? this.renderIcon("end") : null}`}</a>` });
|
|
59
59
|
}
|
|
60
60
|
renderIcon(position) {
|
|
61
61
|
const isStart = position === "start";
|
|
@@ -5,12 +5,6 @@ declare module "@arcgis/lumina" {
|
|
|
5
5
|
export interface DeclareCssProperties {
|
|
6
6
|
/** Specifies the vertical space between the component's content in the `default` slot. */
|
|
7
7
|
"--calcite-tab-content-space-y": "*";
|
|
8
|
-
/**
|
|
9
|
-
* Specifies the block padding of the component's content in the `default` slot.
|
|
10
|
-
*
|
|
11
|
-
* @deprecated in v3.2.0, removal target v6.0.0 - Use `--calcite-tab-content-space-y` instead.
|
|
12
|
-
*/
|
|
13
|
-
"--calcite-tab-content-block-padding": "*";
|
|
14
8
|
}
|
|
15
9
|
}
|
|
16
10
|
|
|
@@ -15,7 +15,7 @@ const IDS = {
|
|
|
15
15
|
tabTitleId: (id) => `calcite-tab-title-${id}`
|
|
16
16
|
};
|
|
17
17
|
const isTab = isTag("calcite-tab");
|
|
18
|
-
const styles = css`:host{display:none}:host,.container,.content{block-size:100%;inline-size:100%}:host([selected]),:host([selected]) .container{display:flex;flex-direction:column}.content{box-sizing:border-box;padding-block:var(--calcite-tab-content-space-y, var(--calcite-
|
|
18
|
+
const styles = css`:host{display:none}:host,.container,.content{block-size:100%;inline-size:100%}:host([selected]),:host([selected]) .container{display:flex;flex-direction:column}.content{box-sizing:border-box;padding-block:var(--calcite-tab-content-space-y, var(--calcite-internal-tab-content-space-y))}.scale-s{--calcite-internal-tab-content-space-y: .25rem;font-size:var(--calcite-font-size-sm);line-height:1rem}.scale-m{--calcite-internal-tab-content-space-y: .5rem;font-size:var(--calcite-font-size);line-height:1rem}.scale-l{--calcite-internal-tab-content-space-y: var(--calcite-space-sm-plus);font-size:var(--calcite-font-size-md);line-height:1.25rem}.container{outline-color:transparent;display:none;block-size:100%;inline-size:100%;overflow:auto}.container:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-1 * var(--calcite-space-base) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
19
19
|
class Tab extends LitElement {
|
|
20
20
|
constructor() {
|
|
21
21
|
super();
|