@esri/calcite-components 6.0.0-next.55 → 6.0.0-next.57

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.
Files changed (206) hide show
  1. package/dist/cdn/255DGVF3.js +2 -0
  2. package/dist/cdn/{6QQ5DZ2A.js → 2C6O7GZD.js} +1 -1
  3. package/dist/cdn/{MBXEE6LZ.js → 2P4DFN2O.js} +1 -1
  4. package/dist/cdn/{K7GKOJ3I.js → 2PK5LMCW.js} +1 -1
  5. package/dist/cdn/{FYYX6OTB.js → 2S4LRLKY.js} +1 -1
  6. package/dist/cdn/{3OBOMH5V.js → 3723XZUX.js} +1 -1
  7. package/dist/cdn/{F5DZ5KUJ.js → 3F326EUW.js} +1 -1
  8. package/dist/cdn/{ELBQG56I.js → 3K7RNV7S.js} +1 -1
  9. package/dist/cdn/3QXLTJ4A.js +2 -0
  10. package/dist/cdn/{XWOCA5GB.js → 427FF3YB.js} +1 -1
  11. package/dist/cdn/{3MOI4BQI.js → 44XMAA3C.js} +1 -1
  12. package/dist/cdn/{5AUQFI7G.js → 47KWRQ4W.js} +1 -1
  13. package/dist/cdn/4HYVPSXV.js +2 -0
  14. package/dist/cdn/{D54ZD3RE.js → 4PILPCKW.js} +1 -1
  15. package/dist/cdn/{SGBP2IMU.js → 4TFX5NKO.js} +1 -1
  16. package/dist/cdn/{H53OJGQS.js → 536UDPUJ.js} +1 -1
  17. package/dist/cdn/{NAA7JB4R.js → 53N3A2GQ.js} +1 -1
  18. package/dist/cdn/{7NUGFQ3J.js → 544WHEAC.js} +1 -1
  19. package/dist/cdn/{6IMGYGP2.js → 5F3N7QMR.js} +1 -1
  20. package/dist/cdn/{UNZTQXUD.js → 5ZE3EOFT.js} +1 -1
  21. package/dist/cdn/{LQBGR3BA.js → 6CWE6MNV.js} +1 -1
  22. package/dist/cdn/{CRVKOD2L.js → 6FRRQNIA.js} +1 -1
  23. package/dist/cdn/{NXJEZ7EK.js → 6OFRJTUT.js} +1 -1
  24. package/dist/cdn/6V6OLYYL.js +2 -0
  25. package/dist/cdn/{CVRZFNN4.js → 6YRETAZF.js} +1 -1
  26. package/dist/cdn/{PJUTX5CU.js → 6ZUSE3GG.js} +1 -1
  27. package/dist/cdn/{RSQV7NRP.js → 7CQ6OL7X.js} +1 -1
  28. package/dist/cdn/{BF3T6GOE.js → 7I4J3QL3.js} +1 -1
  29. package/dist/cdn/{7UWHI7X5.js → 7URWMNOS.js} +1 -1
  30. package/dist/cdn/{KJ6XQ436.js → ACOYPEYA.js} +1 -1
  31. package/dist/cdn/{XFZCN3VY.js → ACVA6KXM.js} +1 -1
  32. package/dist/cdn/{3PRJ237U.js → AFAULQJZ.js} +1 -1
  33. package/dist/cdn/{ABZ3HO64.js → AK5R6KXR.js} +1 -1
  34. package/dist/cdn/{TWLCMKMW.js → AKXSJUEZ.js} +1 -1
  35. package/dist/cdn/{KVE3XQGX.js → AWZZDDF5.js} +1 -1
  36. package/dist/cdn/BBJ5QQZI.js +2 -0
  37. package/dist/cdn/{DDZSNITC.js → BGVOI22E.js} +1 -1
  38. package/dist/cdn/{ODKD5KUL.js → BH3JLG7G.js} +1 -1
  39. package/dist/cdn/BJ7WZK6B.js +2 -0
  40. package/dist/cdn/{HYPGTQYH.js → C5E6QSIS.js} +1 -1
  41. package/dist/cdn/{OP6ICLPP.js → CFPNPSEH.js} +1 -1
  42. package/dist/cdn/{D2HF26TK.js → CNATAZKN.js} +1 -1
  43. package/dist/cdn/{3B22XJAT.js → COJORJUY.js} +1 -1
  44. package/dist/cdn/{B4H4QPJ5.js → CPHTL2F6.js} +1 -1
  45. package/dist/cdn/{XCKEKB2O.js → CUXRRYYR.js} +1 -1
  46. package/dist/cdn/{DOF2NGCF.js → D4GBRS4G.js} +1 -1
  47. package/dist/cdn/{I2SCK32G.js → DCJVJGUW.js} +1 -1
  48. package/dist/cdn/{GI7OQDGK.js → DIXFECD7.js} +1 -1
  49. package/dist/cdn/{NHELPSTE.js → DPAMT5RL.js} +1 -1
  50. package/dist/cdn/{5KNCM7OO.js → DWPNKYZB.js} +1 -1
  51. package/dist/cdn/{TMABM7J7.js → DXHS5GYG.js} +1 -1
  52. package/dist/cdn/{3FCD6UMG.js → ECV3BCU2.js} +1 -1
  53. package/dist/cdn/{MSA4B4WZ.js → EEOKRDQW.js} +1 -1
  54. package/dist/cdn/{2UOHQEEN.js → EFCPZGE6.js} +1 -1
  55. package/dist/cdn/{SV2BWAIQ.js → EHA27KQT.js} +1 -1
  56. package/dist/cdn/{V2TMNY4Y.js → F4VQ6GFT.js} +1 -1
  57. package/dist/cdn/{P35QCSHG.js → FNBZIEVI.js} +1 -1
  58. package/dist/cdn/{6BG2VKPI.js → FT3LFO47.js} +1 -1
  59. package/dist/cdn/{PKMCRP5P.js → FZCH4GEB.js} +1 -1
  60. package/dist/cdn/GJJEZYW5.js +2 -0
  61. package/dist/cdn/{MQPMIHTI.js → GVFKJAQB.js} +1 -1
  62. package/dist/cdn/{C5AQ2MXY.js → GVTCSUCB.js} +1 -1
  63. package/dist/cdn/{OM5CLDJA.js → H5EGUTQH.js} +1 -1
  64. package/dist/cdn/{BVD2BAJ6.js → HTGSUTHB.js} +1 -1
  65. package/dist/cdn/I4V7SKAA.js +2 -0
  66. package/dist/cdn/{WW4SCEM6.js → I5IUYLTE.js} +1 -1
  67. package/dist/cdn/{2V6AD7Q3.js → I6RJ2VIN.js} +1 -1
  68. package/dist/cdn/IFYYF2UJ.js +2 -0
  69. package/dist/cdn/{NDOXARUM.js → IVIEPOEY.js} +1 -1
  70. package/dist/cdn/{V7LSKPYL.js → IYAWTCCQ.js} +1 -1
  71. package/dist/cdn/{THMUHHCR.js → JBB74BJD.js} +1 -1
  72. package/dist/cdn/{7RZX2CSC.js → JI3CVRLG.js} +1 -1
  73. package/dist/cdn/{UBZZVSDZ.js → JNYTB4OF.js} +1 -1
  74. package/dist/cdn/{SZX3XWGS.js → JO6B72H7.js} +1 -1
  75. package/dist/cdn/{P3RCS6QA.js → JRFBOXZF.js} +1 -1
  76. package/dist/cdn/{24OBXSR2.js → JV6ZOC4Q.js} +1 -1
  77. package/dist/cdn/{R7HUMNEV.js → JX5QRWOH.js} +1 -1
  78. package/dist/cdn/{Q6HXDOWN.js → JXXBBIQE.js} +1 -1
  79. package/dist/cdn/{ZHHZ7B3J.js → JXYWBESB.js} +1 -1
  80. package/dist/cdn/K3YWTTEY.js +2 -0
  81. package/dist/cdn/{BLN2RY3S.js → KMPESISY.js} +1 -1
  82. package/dist/cdn/{PAA4FLAB.js → KOACFUL2.js} +1 -1
  83. package/dist/cdn/KP6ZOTOC.js +2 -0
  84. package/dist/cdn/{PL3NIQLW.js → LZEWTLMU.js} +1 -1
  85. package/dist/cdn/{YHZKQ6VO.js → MADPO7KC.js} +1 -1
  86. package/dist/cdn/{WBBLM262.js → MFI6726F.js} +1 -1
  87. package/dist/cdn/{LKONJ3S5.js → MK5VDQGI.js} +1 -1
  88. package/dist/cdn/{JGNS7DOZ.js → MPKF6LGA.js} +1 -1
  89. package/dist/cdn/MQTYR6LO.js +2 -0
  90. package/dist/cdn/{5AUDIEGA.js → NADBQLBM.js} +1 -1
  91. package/dist/cdn/{D2LFSJKH.js → NAGETJPT.js} +1 -1
  92. package/dist/cdn/{VOMX6MOQ.js → NFMCPHWW.js} +1 -1
  93. package/dist/cdn/ODQTJZLA.js +2 -0
  94. package/dist/cdn/{MGV7GMAR.js → ODXUFMJH.js} +1 -1
  95. package/dist/cdn/{TCWB7T5X.js → PAS5DKDX.js} +1 -1
  96. package/dist/cdn/{ARILZEXF.js → PDSLJRDS.js} +1 -1
  97. package/dist/cdn/{A6PAMAEA.js → PFRK3XFW.js} +1 -1
  98. package/dist/cdn/{OK3ASLGL.js → PWKBCDNZ.js} +1 -1
  99. package/dist/cdn/Q2Q2QGKM.js +2 -0
  100. package/dist/cdn/{JR3YSRP5.js → Q4VFSQF5.js} +1 -1
  101. package/dist/cdn/{SWMUMU2R.js → QGFOIT4W.js} +1 -1
  102. package/dist/cdn/QRXSGVJ3.js +2 -0
  103. package/dist/cdn/{H5R5LLKB.js → QT77Q2K3.js} +1 -1
  104. package/dist/cdn/{3EY624YI.js → QUYQCGNL.js} +1 -1
  105. package/dist/cdn/{3NESAQIO.js → R4TNZDBK.js} +1 -1
  106. package/dist/cdn/{EYC7RQA6.js → RJSOXSZD.js} +1 -1
  107. package/dist/cdn/{H7WP2LXF.js → RP3EAINH.js} +1 -1
  108. package/dist/cdn/{LRIXGMMY.js → RR5ATBN4.js} +1 -1
  109. package/dist/cdn/{3O6KRFKC.js → S4JGRGUG.js} +1 -1
  110. package/dist/cdn/{MV7J4C22.js → S75YSIFL.js} +1 -1
  111. package/dist/cdn/{QBUHX47Q.js → SP5REG7X.js} +1 -1
  112. package/dist/cdn/{ZV3RJKCA.js → SS34LSD2.js} +1 -1
  113. package/dist/cdn/{QWAIYHGQ.js → SVIV7MP3.js} +1 -1
  114. package/dist/cdn/{H6U7D7IX.js → T4E5UUS2.js} +1 -1
  115. package/dist/cdn/{UQMPAPBN.js → TLB24UHT.js} +1 -1
  116. package/dist/cdn/{4VPTWZWG.js → TYC5HTPV.js} +1 -1
  117. package/dist/cdn/{FYITXDCM.js → U3YL3XUS.js} +1 -1
  118. package/dist/cdn/U7YUFZ25.js +2 -0
  119. package/dist/cdn/{HUGLQNEN.js → UAWAKMEG.js} +1 -1
  120. package/dist/cdn/UDA2GABL.js +2 -0
  121. package/dist/cdn/{3HYZRMIY.js → UDVQVBC6.js} +1 -1
  122. package/dist/cdn/{C2ZSWN23.js → UPVI4NRM.js} +1 -1
  123. package/dist/cdn/{CX76UD43.js → UWHSTM2T.js} +1 -1
  124. package/dist/cdn/{4AFDOSUI.js → VNYD2OUD.js} +1 -1
  125. package/dist/cdn/{VEEJP6KN.js → VUOWO7CG.js} +1 -1
  126. package/dist/cdn/{Z7A765ZK.js → WUOCYAV4.js} +1 -1
  127. package/dist/cdn/{7JSIBICK.js → WXN2SASK.js} +1 -1
  128. package/dist/cdn/{TWPBIKDF.js → WYVF25H2.js} +1 -1
  129. package/dist/cdn/{SDKXZXU3.js → X2Z5LB3O.js} +1 -1
  130. package/dist/cdn/{K2N2VQIE.js → XBAPCBIF.js} +1 -1
  131. package/dist/cdn/{VYFOA3XL.js → XGYS74KU.js} +1 -1
  132. package/dist/cdn/{L3YYVTBR.js → XK4UDEEY.js} +1 -1
  133. package/dist/cdn/XOAMM76F.js +2 -0
  134. package/dist/cdn/{KNUHA52O.js → XQZORI5T.js} +1 -1
  135. package/dist/cdn/{7OW72UAL.js → XY7N5NOI.js} +1 -1
  136. package/dist/cdn/{2ZO6M5T3.js → Y53EJPH7.js} +1 -1
  137. package/dist/cdn/{U5IDUOXN.js → Y6VF2ATT.js} +1 -1
  138. package/dist/cdn/{CJWAJXIE.js → YH6Q5VY4.js} +1 -1
  139. package/dist/cdn/{673IOFMH.js → YI4EAC34.js} +1 -1
  140. package/dist/cdn/{RIE7FF7E.js → YKUXYNDA.js} +1 -1
  141. package/dist/cdn/{KRKMDRVU.js → YTK4BNMW.js} +1 -1
  142. package/dist/cdn/{DRFPQ3FL.js → Z2UTWWWB.js} +1 -1
  143. package/dist/cdn/index.js +1 -1
  144. package/dist/chunks/dynamicClasses.js +1 -1
  145. package/dist/chunks/resources23.js +2 -2
  146. package/dist/chunks/runtime.js +4 -4
  147. package/dist/chunks/useInlineEdit.js +37 -1
  148. package/dist/chunks/utils4.js +1 -1
  149. package/dist/components/calcite-autocomplete/customElement.js +4 -1
  150. package/dist/components/calcite-block-section/customElement.d.ts +1 -14
  151. package/dist/components/calcite-block-section/customElement.js +7 -34
  152. package/dist/components/calcite-dropdown/customElement.d.ts +0 -6
  153. package/dist/components/calcite-dropdown/customElement.js +2 -2
  154. package/dist/components/calcite-field-group/customElement.js +114 -0
  155. package/dist/components/calcite-field-group/index.js +1 -0
  156. package/dist/components/calcite-field-set/customElement.js +33 -0
  157. package/dist/components/calcite-field-set/index.js +1 -0
  158. package/dist/components/calcite-input/customElement.js +21 -6
  159. package/dist/components/calcite-input-number/customElement.js +21 -6
  160. package/dist/components/calcite-input-text/customElement.js +12 -5
  161. package/dist/components/calcite-list-item/customElement.d.ts +0 -7
  162. package/dist/components/calcite-list-item/customElement.js +2 -14
  163. package/dist/components/calcite-meter/customElement.d.ts +0 -14
  164. package/dist/components/calcite-meter/customElement.js +1 -1
  165. package/dist/components/calcite-segmented-control/customElement.d.ts +7 -8
  166. package/dist/components/calcite-segmented-control/customElement.js +5 -5
  167. package/dist/components/calcite-segmented-control-item/customElement.d.ts +2 -0
  168. package/dist/components/calcite-segmented-control-item/customElement.js +4 -4
  169. package/dist/components/calcite-sheet/customElement.d.ts +4 -10
  170. package/dist/components/calcite-sheet/customElement.js +5 -5
  171. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  172. package/dist/components/calcite-split-button/customElement.js +1 -1
  173. package/dist/components/calcite-text-area/customElement.js +1 -1
  174. package/dist/components/calcite-tile/customElement.d.ts +1 -17
  175. package/dist/components/calcite-tile/customElement.js +2 -4
  176. package/dist/components/calcite-tooltip/customElement.d.ts +0 -6
  177. package/dist/components/calcite-tooltip/customElement.js +2 -3
  178. package/dist/components/types.d.ts +1 -1
  179. package/dist/docs/api.json +1 -1
  180. package/dist/docs/docs.json +1 -1
  181. package/dist/docs/vscode.css-custom-data.json +1 -1
  182. package/dist/docs/vscode.html-custom-data.json +1 -1
  183. package/dist/docs/web-types.json +1 -1
  184. package/dist/index.d.ts +0 -1
  185. package/dist/loader.js +14 -12
  186. package/dist/types/lumina.d.ts +8 -8
  187. package/dist/types/preact.d.ts +8 -8
  188. package/dist/types/react.d.ts +8 -8
  189. package/dist/types/stencil.d.ts +8 -8
  190. package/package.json +1 -1
  191. package/dist/cdn/3T7XLOQ4.js +0 -2
  192. package/dist/cdn/4MU4VNPV.js +0 -2
  193. package/dist/cdn/65OVRJUW.js +0 -2
  194. package/dist/cdn/6O654SMC.js +0 -2
  195. package/dist/cdn/7LSINVPE.js +0 -2
  196. package/dist/cdn/AOHULXSN.js +0 -2
  197. package/dist/cdn/CTKGBUPR.js +0 -2
  198. package/dist/cdn/G2MNXUJO.js +0 -2
  199. package/dist/cdn/G43N425U.js +0 -2
  200. package/dist/cdn/I3IFZW24.js +0 -2
  201. package/dist/cdn/LPM4ICNQ.js +0 -2
  202. package/dist/cdn/NHAUUKBC.js +0 -2
  203. package/dist/cdn/QAMQMANN.js +0 -2
  204. package/dist/cdn/SLI3OZUO.js +0 -2
  205. package/dist/cdn/TINQCGW6.js +0 -2
  206. package/dist/cdn/YBI2YC6K.js +0 -2
@@ -5,12 +5,12 @@ import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
5
5
  import { u as slotChangeHasContent } from "../../chunks/dom.js";
6
6
  import { t as toAriaBoolean } from "../../chunks/aria.js";
7
7
  import { C as CSS, S as SLOTS } from "../../chunks/resources23.js";
8
- const styles = css`:host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-theme-font-weight-regular, var(--calcite-font-weight-normal));outline-color:var(--calcite-color-transparent);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out}.label{pointer-events:none;margin:var(--calcite-space-base);box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-segmented-control-color, var(--calcite-color-text-3));background-color:var(--calcite-segmented-control-background-color);box-shadow:var(--calcite-segmented-control-shadow);border-radius:max(0px,var(--calcite-segmented-control-corner-radius, var(--calcite-corner-radius)) - 2px);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out,color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host(: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)));outline-offset:-1px;z-index:var(--calcite-z-index);border-radius:var(--calcite-segmented-control-corner-radius, var(--calcite-corner-radius))}.label--scale-s{font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);padding-inline:var(--calcite-space-sm);padding-block:.125rem}.label--scale-m{font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);padding-inline:var(--calcite-space-md);padding-block:.375rem}.label--scale-l{font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);padding-inline:var(--calcite-space-lg);padding-block:var(--calcite-space-sm-plus)}:host(:hover) .label{background-color:var(--calcite-segmented-control-background-color, var(--calcite-theme-color-surface-3, var(--calcite-color-foreground-2)));color:var(--calcite-segmented-control-color, var(--calcite-color-text-1))}:host(:active) .label{background-color:var(--calcite-segmented-control-background-color, var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3)))}:host([checked]) .label{cursor:default;background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-brand));color:var(--calcite-segmented-control-color, var(--calcite-color-text-inverse))}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{background-color:var(--calcite-segmented-control-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));box-shadow:var(--calcite-segmented-control-shadow, inset 0 0 0 1px var(--calcite-color-brand));color:var(--calcite-segmented-control-color, var(--calcite-color-brand))}:host([checked]) .label--outline{background-color:var(--calcite-segmented-control-background-color, transparent)}::slotted(input){display:none}@media(forced-colors:active){:host([checked]) .label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:var(--calcite-border-width-md) solid transparent;outline-offset:var(--calcite-border-width-md)}:host([checked]) .label:not([class~=label--outline]) .icon{color:highlightText}}.icon{position:relative;margin:var(--calcite-space-none);display:inline-flex;line-height:inherit;margin-inline-start:var(--calcite-internal-segmented-control-icon-margin-start);margin-inline-end:var(--calcite-internal-segmented-control-icon-margin-end);--calcite-icon-color: var(--calcite-segmented-control-icon-color)}:host([icon-start]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-end: var(--calcite-space-sm)}:host([icon-end]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-start: var(--calcite-space-sm)}:host([icon-start]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-end: var(--calcite-space-md)}:host([icon-end]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-start: var(--calcite-space-md)}:host([icon-start]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-end: var(--calcite-space-lg)}:host([icon-end]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-start: var(--calcite-space-lg)}.label .icon--solo{--calcite-internal-segmented-control-icon-margin-start: 0;--calcite-internal-segmented-control-icon-margin-end: 0}:host([hidden]){display:none}[hidden]{display:none}`;
8
+ const styles = css`:host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-theme-font-weight-regular, var(--calcite-font-weight-normal));outline:none;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out}.label{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-segmented-control-color, var(--calcite-theme-color-text-3, var(--calcite-color-text-3)));background-color:var(--calcite-segmented-control-background-color);border:var(--calcite-border-width-sm) solid transparent;box-shadow:var(--calcite-segmented-control-shadow);border-radius:max(0px,(var(--calcite-segmented-control-corner-radius, var(--calcite-corner-radius))));transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out,color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host(:focus){z-index:var(--calcite-z-index)}:host(:focus) .label{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)));outline-offset:-1px;border-radius:var(--calcite-segmented-control-corner-radius, var(--calcite-corner-radius))}.label--scale-s{font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);padding-inline:var(--calcite-space-sm);padding-block:calc(var(--calcite-space-base) + var(--calcite-space-px))}.label--scale-m{font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);padding-inline:var(--calcite-space-md);padding-block:calc(var(--calcite-space-xs) + var(--calcite-space-px))}.label--scale-l{font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);padding-inline:var(--calcite-space-lg);padding-block:calc(var(--calcite-space-sm-plus) + var(--calcite-space-px))}:host(:hover) .label{background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-transparent-hover));color:var(--calcite-segmented-control-color, var(--calcite-color-text-1))}:host(:active) .label{background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-transparent-press));color:var(--calcite-segmented-control-color, var(--calcite-color-text-1))}:host([checked]) .label{cursor:default;background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-brand));color:var(--calcite-segmented-control-color, var(--calcite-color-text-inverse));border-color:var(--calcite-segmented-control-item-border-color, var(--calcite-color-brand))}:host([checked]) .label--neutral{border-color:var(--calcite-segmented-control-item-border-color, var(--calcite-color-border-input));background-color:var(--calcite-segmented-control-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));color:var(--calcite-segmented-control-color, var(--calcite-color-text-1))}:host([checked]) .label--highlight{border-color:var(--calcite-segmented-control-item-border-color, var(--calcite-color-brand));background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-surface-highlight));color:var(--calcite-segmented-control-color, var(--calcite-color-text-highlight))}:host(:first-of-type) .label--horizontal{border-start-start-radius:var(--calcite-segmented-control-corner-radius, var(--calcite-corner-radius));border-end-start-radius:var(--calcite-segmented-control-corner-radius, var(--calcite-corner-radius))}:host(:last-of-type) .label--horizontal{border-start-end-radius:var(--calcite-segmented-control-corner-radius, var(--calcite-corner-radius));border-end-end-radius:var(--calcite-segmented-control-corner-radius, var(--calcite-corner-radius))}:host(:first-of-type) .label:not(.label--horizontal){border-start-start-radius:var(--calcite-segmented-control-corner-radius, var(--calcite-corner-radius));border-start-end-radius:var(--calcite-segmented-control-corner-radius, var(--calcite-corner-radius))}:host(:last-of-type) .label:not(.label--horizontal){border-end-start-radius:var(--calcite-segmented-control-corner-radius, var(--calcite-corner-radius));border-end-end-radius:var(--calcite-segmented-control-corner-radius, var(--calcite-corner-radius))}::slotted(input){display:none}@media(forced-colors:active){:host([checked]) .label{background-color:highlight}:host([checked]) .label--neutral,:host([checked]) .label--highlight{outline:var(--calcite-border-width-md) solid transparent;outline-offset:var(--calcite-border-width-md)}:host([checked]) .label:not([class~=label--neutral]) .icon{color:highlightText}:host(:focus) .label{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)));outline-offset:-1px}}.icon{position:relative;margin:var(--calcite-space-none);display:inline-flex;line-height:inherit;margin-inline-start:var(--calcite-internal-segmented-control-icon-margin-start);margin-inline-end:var(--calcite-internal-segmented-control-icon-margin-end);--calcite-icon-color: var(--calcite-segmented-control-icon-color, currentColor)}:host([icon-start]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-end: var(--calcite-space-sm)}:host([icon-end]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-start: var(--calcite-space-sm)}:host([icon-start]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-end: var(--calcite-space-md)}:host([icon-end]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-start: var(--calcite-space-md)}:host([icon-start]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-end: var(--calcite-space-lg)}:host([icon-end]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-start: var(--calcite-space-lg)}.label .icon--solo{--calcite-internal-segmented-control-icon-margin-start: 0;--calcite-internal-segmented-control-icon-margin-end: 0}:host([hidden]){display:none}[hidden]{display:none}`;
9
9
  class SegmentedControlItem extends LitElement {
10
10
  constructor() {
11
11
  super(...arguments);
12
12
  this.hasSlottedContent = false;
13
- this.appearance = "solid";
13
+ this.appearance = "neutral";
14
14
  this.checked = false;
15
15
  this.iconFlipRtl = false;
16
16
  this.layout = "horizontal";
@@ -46,8 +46,8 @@ class SegmentedControlItem extends LitElement {
46
46
  [CSS.label]: true,
47
47
  [CSS.labelScale(scale)]: true,
48
48
  [CSS.labelHorizontal]: layout === "horizontal",
49
- [CSS.labelOutline]: appearance === "outline",
50
- [CSS.labelOutlineFill]: appearance === "outline-fill"
49
+ [CSS.labelNeutral]: appearance === "neutral",
50
+ [CSS.labelHighlight]: appearance === "highlight"
51
51
  })}>${this.renderContent()}</label>`;
52
52
  }
53
53
  renderContent() {
@@ -68,15 +68,12 @@ export abstract class Sheet extends LitElement {
68
68
  * - `"setReturnFocus"` customizes the element to which focus is returned when the trap is deactivated. Return `false` to prevent focus return, or `undefined` to use the default behavior (returning focus to the element focused before activation).
69
69
  */
70
70
  accessor focusTrapOptions: Partial<FocusTrapOptions> | undefined;
71
- /** Specifies the component's height. */
72
- accessor height: Height | undefined;
73
71
  /**
74
- * When `position` is `"block-start"` or `"block-end"`, specifies the component's height.
72
+ * Specifies the component's height.
75
73
  *
76
- * @deprecated in v3.0.0, removal target v6.0.0 - Use the `height` property instead.
77
74
  * @default "m"
78
75
  */
79
- accessor heightScale: Scale;
76
+ accessor height: Height;
80
77
  /**
81
78
  * Specifies an accessible label for the component.
82
79
  *
@@ -126,15 +123,12 @@ export abstract class Sheet extends LitElement {
126
123
  * @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
127
124
  */
128
125
  accessor topLayerDisabled: boolean;
129
- /** Specifies the component's width. */
130
- accessor width: Extract<Width, Scale> | undefined;
131
126
  /**
132
- * When `position` is `"inline-start"` or `"inline-end"`, specifies the component's width.
127
+ * Specifies the component's width.
133
128
  *
134
- * @deprecated in v3.0.0, removal target v6.0.0 - Use the `width` property instead.
135
129
  * @default "m"
136
130
  */
137
- accessor widthScale: Scale;
131
+ accessor width: Extract<Width, Scale>;
138
132
  /**
139
133
  * Sets focus on the component's "close" button - the first focusable item.
140
134
  *
@@ -84,14 +84,14 @@ class Sheet extends LitElement {
84
84
  this.embedded = false;
85
85
  this.escapeDisabled = false;
86
86
  this.focusTrapDisabled = false;
87
- this.heightScale = "m";
87
+ this.height = "m";
88
88
  this.modal = false;
89
89
  this.opened = false;
90
90
  this.outsideCloseDisabled = false;
91
91
  this.position = "inline-start";
92
92
  this.resizable = false;
93
93
  this.topLayerDisabled = false;
94
- this.widthScale = "m";
94
+ this.width = "m";
95
95
  this.calciteSheetBeforeClose = createEvent({ cancelable: false });
96
96
  this.calciteSheetBeforeOpen = createEvent({ cancelable: false });
97
97
  this.calciteSheetClose = createEvent({ cancelable: false });
@@ -99,7 +99,7 @@ class Sheet extends LitElement {
99
99
  this.listen("keydown", this.keyDownHandler);
100
100
  }
101
101
  static {
102
- this.properties = { resizeValues: [16, {}, { state: true }], beforeClose: [0, {}, { attribute: false }], displayMode: [3, {}, { reflect: true }], embedded: [7, {}, { reflect: true, type: Boolean }], escapeDisabled: [7, {}, { reflect: true, type: Boolean }], focusTrapDisabled: [7, {}, { reflect: true, type: Boolean }], focusTrapOptions: [0, {}, { attribute: false }], heightScale: [3, {}, { reflect: true }], height: [3, {}, { reflect: true }], label: 1, messageOverrides: [0, {}, { attribute: false }], modal: [7, {}, { reflect: true, type: Boolean }], open: [7, {}, { reflect: true, type: Boolean }], opened: [7, {}, { reflect: true, type: Boolean }], outsideCloseDisabled: [7, {}, { reflect: true, type: Boolean }], position: [3, {}, { reflect: true }], resizable: [7, {}, { reflect: true, type: Boolean }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], widthScale: [3, {}, { reflect: true }], width: [3, {}, { reflect: true }] };
102
+ this.properties = { resizeValues: [16, {}, { state: true }], beforeClose: [0, {}, { attribute: false }], displayMode: [3, {}, { reflect: true }], embedded: [7, {}, { reflect: true, type: Boolean }], escapeDisabled: [7, {}, { reflect: true, type: Boolean }], focusTrapDisabled: [7, {}, { reflect: true, type: Boolean }], focusTrapOptions: [0, {}, { attribute: false }], height: [3, {}, { reflect: true }], label: 1, messageOverrides: [0, {}, { attribute: false }], modal: [7, {}, { reflect: true, type: Boolean }], open: [7, {}, { reflect: true, type: Boolean }], opened: [7, {}, { reflect: true, type: Boolean }], outsideCloseDisabled: [7, {}, { reflect: true, type: Boolean }], position: [3, {}, { reflect: true }], resizable: [7, {}, { reflect: true, type: Boolean }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], width: [3, {}, { reflect: true }] };
103
103
  }
104
104
  static {
105
105
  this.styles = styles;
@@ -337,8 +337,8 @@ class Sheet extends LitElement {
337
337
  [CSS.containerOpen]: this.opened,
338
338
  [CSS.containerEmbedded]: this.embedded,
339
339
  [CSS_UTILITY.rtl]: dir === "rtl",
340
- [getDimensionClass("width", this.width, this.widthScale)]: !!(this.width || this.widthScale),
341
- [getDimensionClass("height", this.height, this.heightScale)]: !!(this.height || this.heightScale)
340
+ [getDimensionClass("width", this.width)]: true,
341
+ [getDimensionClass("height", this.height)]: true
342
342
  })} .popover=${!this.embedded ? "manual" : void 0} ${ref(this.transitionRef)}>${this.modal ? html`<calcite-scrim class=${safeClassMap(CSS.scrim)} @click=${this.handleOutsideClose}></calcite-scrim>` : null}<div class=${safeClassMap(CSS.content)} id=${IDS.sheetContent} ${ref(this.contentRef)}><div class=${safeClassMap(CSS.contentContainer)}><slot></slot></div>${resizable ? keyed("resize-handle", html`<div .ariaLabel=${this.messages.resizeEnabled} .ariaOrientation=${isBlockPosition ? "vertical" : "horizontal"} .ariaValueMax=${ariaValueFromSize(isBlockPosition ? "block" : "inline", resizeValues.maxBlockSize, resizeValues.maxInlineSize)} .ariaValueMin=${ariaValueFromSize(isBlockPosition ? "block" : "inline", resizeValues.minBlockSize, resizeValues.minInlineSize)} .ariaValueNow=${ariaValueFromSize(isBlockPosition ? "block" : "inline", resizeValues.blockSize, resizeValues.inlineSize)} class=${safeClassMap(CSS.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 touch-action=none ${ref(this.setResizeHandleEl)}><div class=${safeClassMap(CSS.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`) : null}</div></div>`;
343
343
  }
344
344
  }
@@ -171,7 +171,7 @@ class SortHandle extends LitElement {
171
171
  const { disabled, flipPlacements, hasOnlyDisabledReorderItems, open, overlayPositioning, placement, scale, widthScale, hasNoItems } = this;
172
172
  const text = this.getLabel();
173
173
  const isDisabled = disabled || hasNoItems || hasOnlyDisabledReorderItems;
174
- return this.interactiveContainer({ disabled, children: html`<calcite-dropdown class=${safeClassMap(CSS.dropdown)} .disabled=${isDisabled} .flipPlacements=${flipPlacements} @calciteDropdownBeforeClose=${this.handleBeforeClose} @calciteDropdownBeforeOpen=${this.handleBeforeOpen} @calciteDropdownClose=${this.handleClose} @calciteDropdownOpen=${this.handleOpen} .overlayPositioning=${overlayPositioning} .placement=${placement} .scale=${scale} .topLayerDisabled=${this.topLayerDisabled} .widthScale=${widthScale} ${ref(this.setDropdownEl)}><calcite-action .active=${open} .aria=${{ expanded: open }} class=${safeClassMap(CSS.handle)} .dragHandle=${true} .icon=${disabled ? ICONS.blank : ICONS.drag} .label=${text} .scale=${scale} slot=${SLOTS.trigger} .text=${text} title=${text ?? nothing}></calcite-action>${this.renderReorderGroup()}${this.renderMoveToGroup()}${this.renderAddToGroup()}</calcite-dropdown>` });
174
+ return this.interactiveContainer({ disabled, children: html`<calcite-dropdown class=${safeClassMap(CSS.dropdown)} .disabled=${isDisabled} .flipPlacements=${flipPlacements} @calciteDropdownBeforeClose=${this.handleBeforeClose} @calciteDropdownBeforeOpen=${this.handleBeforeOpen} @calciteDropdownClose=${this.handleClose} @calciteDropdownOpen=${this.handleOpen} .overlayPositioning=${overlayPositioning} .placement=${placement} .scale=${scale} .topLayerDisabled=${this.topLayerDisabled} .width=${widthScale} ${ref(this.setDropdownEl)}><calcite-action .active=${open} .aria=${{ expanded: open }} class=${safeClassMap(CSS.handle)} .dragHandle=${true} .icon=${disabled ? ICONS.blank : ICONS.drag} .label=${text} .scale=${scale} slot=${SLOTS.trigger} .text=${text} title=${text ?? nothing}></calcite-action>${this.renderReorderGroup()}${this.renderMoveToGroup()}${this.renderAddToGroup()}</calcite-dropdown>` });
175
175
  }
176
176
  renderAddToItem(addToItem) {
177
177
  return keyed(addToItem.id, html`<calcite-dropdown-item data-id=${addToItem.id ?? nothing} .label=${addToItem.label} @calciteDropdownItemSelect=${this.handleAddTo}>${addToItem.label}</calcite-dropdown-item>`);
@@ -65,7 +65,7 @@ class SplitButton extends LitElement {
65
65
  }
66
66
  render() {
67
67
  const buttonWidth = this.width === "auto" ? "auto" : "full";
68
- return this.interactiveContainer({ disabled: this.disabled, children: html`<div class=${safeClassMap(CSS.container)}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .download=${this.download} .href=${this.href} .iconEnd=${this.primaryIconEnd} .iconFlipRtl=${this.primaryIconFlipRtl} .iconStart=${this.primaryIconStart} .kind=${this.kind} .label=${this.primaryLabel} .loading=${this.loading} @click=${this.calciteSplitButtonPrimaryClickHandler} .rel=${this.rel} .scale=${this.scale} split-child=primary .target=${this.target} type=button .width=${buttonWidth}>${this.primaryText}</calcite-button><div class=${safeClassMap(CSS.dividerContainer)}><div class=${safeClassMap(CSS.divider)}></div></div><calcite-dropdown .disabled=${this.disabled} .flipPlacements=${this.flipPlacements} @click=${this.calciteSplitButtonSecondaryClickHandler} .open=${this.active} .overlayPositioning=${this.overlayPositioning} .placement=${this.placement} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} .widthScale=${this.scale}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .iconStart=${this.dropdownIcon} .kind=${this.kind} .label=${this.dropdownLabel} .scale=${this.scale} slot=${SLOTS.trigger} split-child=secondary type=button></calcite-button><slot></slot></calcite-dropdown></div>` });
68
+ return this.interactiveContainer({ disabled: this.disabled, children: html`<div class=${safeClassMap(CSS.container)}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .download=${this.download} .href=${this.href} .iconEnd=${this.primaryIconEnd} .iconFlipRtl=${this.primaryIconFlipRtl} .iconStart=${this.primaryIconStart} .kind=${this.kind} .label=${this.primaryLabel} .loading=${this.loading} @click=${this.calciteSplitButtonPrimaryClickHandler} .rel=${this.rel} .scale=${this.scale} split-child=primary .target=${this.target} type=button .width=${buttonWidth}>${this.primaryText}</calcite-button><div class=${safeClassMap(CSS.dividerContainer)}><div class=${safeClassMap(CSS.divider)}></div></div><calcite-dropdown .disabled=${this.disabled} .flipPlacements=${this.flipPlacements} @click=${this.calciteSplitButtonSecondaryClickHandler} .open=${this.active} .overlayPositioning=${this.overlayPositioning} .placement=${this.placement} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} .width=${this.scale}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .iconStart=${this.dropdownIcon} .kind=${this.kind} .label=${this.dropdownLabel} .scale=${this.scale} slot=${SLOTS.trigger} split-child=secondary type=button></calcite-button><slot></slot></calcite-dropdown></div>` });
69
69
  }
70
70
  }
71
71
  customElement("calcite-split-button", SplitButton);
@@ -46,7 +46,7 @@ const SLOTS = {
46
46
  };
47
47
  const RESIZE_TIMEOUT = 100;
48
48
  const NO_DIMENSIONS = Object.freeze({ height: 0, width: 0 });
49
- const styles = css`: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{display:inline-block;position:relative;inline-size:100%;block-size:100%;box-sizing:border-box;--calcite-internal-text-area-border-color: var(--calcite-text-area-border-color, var(--calcite-color-border-input));--calcite-internal-text-area-footer-border-color: var( --calcite-text-area-footer-border-color, var(--calcite-internal-text-area-border-color) );--calcite-internal-text-area-corner-radius: var(--calcite-text-area-corner-radius, var(--calcite-corner-radius));--calcite-internal-text-area-shadow: var(--calcite-text-area-shadow, var(--calcite-shadow-none));--calcite-internal-text-area-footer-background-color: var( --calcite-text-area-footer-background-color, var(--calcite-text-area-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1))) );min-block-size:var(--calcite-text-area-min-height, calc(2 * var(--calcite-internal-text-area-padding-block) + 2 * var(--calcite-border-width-sm)));min-inline-size:var(--calcite-text-area-min-width, 12rem)}.wrapper{block-size:100%;inline-size:100%;box-sizing:border-box;box-shadow:var(--calcite-internal-text-area-shadow);border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area,.footer{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-relative-base));padding-block:var(--calcite-internal-text-area-padding-block);padding-inline:var(--calcite-internal-text-area-padding-inline)}.footer{background-color:var(--calcite-internal-text-area-footer-background-color);border-radius:0 0 var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius)}.text-area{position:relative;display:block;box-sizing:border-box;inline-size:100%;margin:0;--calcite-internal-text-area-border-block-end-color: var(--calcite-internal-text-area-border-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-border-color);border-block-end-color:var(--calcite-internal-text-area-border-block-end-color);color:var(--calcite-text-area-text-color, var(--calcite-color-text-1));font-family:inherit;line-height:var(--calcite-font-line-height-base);max-block-size:var(--calcite-text-area-max-height);min-block-size:calc(var(--calcite-text-area-min-height, 0px) - var(--calcite-internal-text-area-footer-min-height, 0px));max-inline-size:var(--calcite-text-area-max-width);min-inline-size:var(--calcite-text-area-min-width, 12rem);background-color:var(--calcite-text-area-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));border-radius:var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius) 0 0}.text-area::placeholder{font-weight:var(--calcite-theme-font-weight-regular, var(--calcite-font-weight-normal))}@media screen and (max-width:480px){.text-area{resize:none}}.text-area: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)))}.text-area.text-area--invalid{--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}.text-area.text-area--invalid:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(-1 * var(--calcite-theme-space-base, var(--calcite-spacing-base)) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}.text-area.footer--slotted{min-inline-size:18rem}.text-area.text-area--only{border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area:not(.text-area--only,.text-area--invalid){--calcite-internal-text-area-border-block-end-color: var( --calcite-text-area-divider-color, var(--calcite-color-border-3) )}.loader-container{position:relative;block-size:inherit}.loader{position:absolute;inset-block-start:0;inset-block-start:var(--calcite-theme-space-px, var(--calcite-spacing-px));inset-inline:var(--calcite-theme-space-px, var(--calcite-spacing-px))}.footer{display:flex;box-sizing:border-box;align-items:center;line-height:var(--calcite-font-line-height-base);border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-footer-border-color);border-block-start:var(--calcite-border-width-none);min-block-size:var(--calcite-internal-text-area-footer-min-height)}.character-limit{display:flex;justify-content:flex-end;align-items:center;white-space:nowrap;font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-relative-base));font-weight:var(--calcite-font-weight-regular);color:var(--calcite-text-area-character-limit-text-color, var(--calcite-color-text-2));padding-inline-start:var(--calcite-theme-space-md, var(--calcite-spacing-md))}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-status-danger)}.readonly{background-color:var(--calcite-text-area-background-color, var(--calcite-theme-color-surface-1, var(--calcite-color-background)));font-weight:var(--calcite-font-weight-medium)}.footer.readonly{background-color:var(--calcite-internal-text-area-footer-background-color, var(--calcite-theme-color-surface-1, var(--calcite-color-background)))}.content,.hide{display:none}.container{display:flex;justify-content:space-between;inline-size:100%}.footer--end-only{justify-content:flex-end}.text-area.text-area--only{block-size:100%;min-block-size:var(--calcite-text-area-min-height, 0)}:host([resize=none]) .text-area{resize:none}:host([resize=horizontal]) .text-area{resize:horizontal}:host([resize=vertical]) .text-area{resize:vertical}:host([scale=s]){--calcite-internal-text-area-padding-block: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs));--calcite-internal-text-area-padding-inline: var(--calcite-theme-space-sm, var(--calcite-spacing-sm));--calcite-internal-text-area-footer-min-height: 1.75rem}:host([scale=s]) .text-area,:host([scale=s]) .footer,:host([scale=s]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-relative-sm))}:host([scale=s]) .character-limit{padding-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]){--calcite-internal-text-area-padding-block: var(--calcite-theme-space-sm, var(--calcite-spacing-sm));--calcite-internal-text-area-padding-inline: var(--calcite-theme-space-md, var(--calcite-spacing-md));--calcite-internal-text-area-footer-min-height: 2.25rem}:host([scale=l]){--calcite-internal-text-area-padding-block: var(--calcite-theme-space-md, var(--calcite-spacing-md));--calcite-internal-text-area-padding-inline: var(--calcite-theme-space-lg, var(--calcite-spacing-lg));--calcite-internal-text-area-footer-min-height: 2.75rem}:host([scale=l]) .text-area,:host([scale=l]) .footer,:host([scale=l]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-relative-md))}:host([scale=l]) .character-limit{padding-inline-start:var(--calcite-theme-space-lg, var(--calcite-spacing-lg))}:host([status=invalid]){--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}:host([status=invalid]) .text-area:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(-1 * var(--calcite-theme-space-base, var(--calcite-spacing-base)) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}:host([disabled]) .text-area,:host([disabled]) .footer{opacity:var(--calcite-opacity-half)}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-theme-space-base, var(--calcite-spacing-base))}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size-relative-sm)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size-relative-base)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-md, var(--calcite-spacing-md))}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-md, var(--calcite-spacing-md))}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-relative-md)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:var(--calcite-opacity-full)}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}::placeholder{font-weight:var(--calcite-theme-font-weight-regular, var(--calcite-font-weight-normal));color:var(--calcite-text-area-placeholder-text-color, var(--calcite-color-text-3))}`;
49
+ const styles = css`: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{display:inline-block;position:relative;inline-size:100%;block-size:100%;box-sizing:border-box;--calcite-internal-text-area-border-color: var(--calcite-text-area-border-color, var(--calcite-color-border-input));--calcite-internal-text-area-footer-border-color: var( --calcite-text-area-footer-border-color, var(--calcite-internal-text-area-border-color) );--calcite-internal-text-area-corner-radius: var(--calcite-text-area-corner-radius, var(--calcite-corner-radius));--calcite-internal-text-area-shadow: var(--calcite-text-area-shadow, var(--calcite-shadow-none));--calcite-internal-text-area-footer-background-color: var( --calcite-text-area-footer-background-color, var(--calcite-text-area-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1))) );--calcite-internal-text-area-block-size: inherit;min-block-size:var(--calcite-text-area-min-height, calc(2 * var(--calcite-internal-text-area-padding-block) + 2 * var(--calcite-border-width-sm)));min-inline-size:var(--calcite-text-area-min-width, 12rem)}.wrapper{block-size:100%;inline-size:100%;box-sizing:border-box;box-shadow:var(--calcite-internal-text-area-shadow);border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area,.footer{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-relative-base));padding-block:var(--calcite-internal-text-area-padding-block);padding-inline:var(--calcite-internal-text-area-padding-inline)}.footer{background-color:var(--calcite-internal-text-area-footer-background-color);border-radius:0 0 var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius)}.text-area{position:relative;display:block;box-sizing:border-box;inline-size:100%;margin:0;--calcite-internal-text-area-border-block-end-color: var(--calcite-internal-text-area-border-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-border-color);border-block-end-color:var(--calcite-internal-text-area-border-block-end-color);color:var(--calcite-text-area-text-color, var(--calcite-color-text-1));font-family:inherit;line-height:var(--calcite-font-line-height-base);max-block-size:var(--calcite-text-area-max-height);min-block-size:calc(var(--calcite-text-area-min-height, 0px) - var(--calcite-internal-text-area-footer-min-height, 0px));max-inline-size:var(--calcite-text-area-max-width);min-inline-size:var(--calcite-text-area-min-width, 12rem);background-color:var(--calcite-text-area-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));border-radius:var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius) 0 0}.text-area::placeholder{font-weight:var(--calcite-theme-font-weight-regular, var(--calcite-font-weight-normal))}@media screen and (max-width:480px){.text-area{resize:none}}.text-area: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)))}.text-area.text-area--invalid{--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}.text-area.text-area--invalid:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(-1 * var(--calcite-theme-space-base, var(--calcite-spacing-base)) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}.text-area.footer--slotted{min-inline-size:18rem}.text-area.text-area--only{border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area:not(.text-area--only,.text-area--invalid){--calcite-internal-text-area-border-block-end-color: var( --calcite-text-area-divider-color, var(--calcite-color-border-3) )}.loader-container{position:relative;block-size:inherit}.loader{position:absolute;inset-block-start:0;inset-block-start:var(--calcite-theme-space-px, var(--calcite-spacing-px));inset-inline:var(--calcite-theme-space-px, var(--calcite-spacing-px))}.footer{display:flex;box-sizing:border-box;align-items:center;line-height:var(--calcite-font-line-height-base);border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-footer-border-color);border-block-start:var(--calcite-border-width-none);min-block-size:var(--calcite-internal-text-area-footer-min-height)}.character-limit{display:flex;justify-content:flex-end;align-items:center;white-space:nowrap;font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-relative-base));font-weight:var(--calcite-font-weight-regular);color:var(--calcite-text-area-character-limit-text-color, var(--calcite-color-text-2));padding-inline-start:var(--calcite-theme-space-md, var(--calcite-spacing-md))}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-status-danger)}.readonly{background-color:var(--calcite-text-area-background-color, var(--calcite-theme-color-surface-1, var(--calcite-color-background)));font-weight:var(--calcite-font-weight-medium)}.footer.readonly{background-color:var(--calcite-internal-text-area-footer-background-color, var(--calcite-theme-color-surface-1, var(--calcite-color-background)))}.content,.hide{display:none}.container{display:flex;justify-content:space-between;inline-size:100%}.footer--end-only{justify-content:flex-end}.text-area.text-area--only{block-size:var(--calcite-internal-text-area-block-size, 100%);min-block-size:var(--calcite-text-area-min-height, 0)}:host([resize=none]) .text-area{resize:none}:host([resize=horizontal]) .text-area{resize:horizontal}:host([resize=vertical]) .text-area{resize:vertical}:host([scale=s]){--calcite-internal-text-area-padding-block: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs));--calcite-internal-text-area-padding-inline: var(--calcite-theme-space-sm, var(--calcite-spacing-sm));--calcite-internal-text-area-footer-min-height: 1.75rem}:host([scale=s]) .text-area,:host([scale=s]) .footer,:host([scale=s]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-relative-sm))}:host([scale=s]) .character-limit{padding-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]){--calcite-internal-text-area-padding-block: var(--calcite-theme-space-sm, var(--calcite-spacing-sm));--calcite-internal-text-area-padding-inline: var(--calcite-theme-space-md, var(--calcite-spacing-md));--calcite-internal-text-area-footer-min-height: 2.25rem}:host([scale=l]){--calcite-internal-text-area-padding-block: var(--calcite-theme-space-md, var(--calcite-spacing-md));--calcite-internal-text-area-padding-inline: var(--calcite-theme-space-lg, var(--calcite-spacing-lg));--calcite-internal-text-area-footer-min-height: 2.75rem}:host([scale=l]) .text-area,:host([scale=l]) .footer,:host([scale=l]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-relative-md))}:host([scale=l]) .character-limit{padding-inline-start:var(--calcite-theme-space-lg, var(--calcite-spacing-lg))}:host([status=invalid]){--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}:host([status=invalid]) .text-area:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(-1 * var(--calcite-theme-space-base, var(--calcite-spacing-base)) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}:host([disabled]) .text-area,:host([disabled]) .footer{opacity:var(--calcite-opacity-half)}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-theme-space-base, var(--calcite-spacing-base))}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size-relative-sm)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size-relative-base)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-md, var(--calcite-spacing-md))}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-md, var(--calcite-spacing-md))}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-relative-md)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:var(--calcite-opacity-full)}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}::placeholder{font-weight:var(--calcite-theme-font-weight-regular, var(--calcite-font-weight-normal));color:var(--calcite-text-area-placeholder-text-color, var(--calcite-color-text-3))}`;
50
50
  class TextArea extends LitElement {
51
51
  constructor() {
52
52
  super();
@@ -33,13 +33,6 @@ export interface DeclareCssProperties {
33
33
  * @docGroup Tiles
34
34
  */
35
35
  export abstract class Tile extends LitElement {
36
- /**
37
- * When `true`, the component is active.
38
- *
39
- * @deprecated in v2.8.0, removal target v6.0.0 - No longer necessary.
40
- * @default false
41
- */
42
- accessor active: boolean;
43
36
  /**
44
37
  * Specifies alignment of the component's content.
45
38
  *
@@ -54,20 +47,11 @@ export abstract class Tile extends LitElement {
54
47
  * @default false
55
48
  */
56
49
  accessor disabled: boolean;
57
- /**
58
- * Specifies the component's embed mode.
59
- *
60
- * When `true`, renders without a border and padding for use by other components.
61
- *
62
- * @deprecated in v2.6.0, removal target v6.0.0 - No longer necessary.
63
- * @default false
64
- */
65
- accessor embed: boolean;
66
50
  /** Specifies the component's heading text that displays between the `icon` and `description`. */
67
51
  accessor heading: string | undefined;
68
52
  /** Specifies the heading level number of the component's `heading` for proper document structure, without affecting visual styling. */
69
53
  accessor headingLevel: HeadingLevel | undefined;
70
- /** When embed is `false`, specifies the URL for the component. */
54
+ /** Specifies the URL for the component. */
71
55
  accessor href: string | undefined;
72
56
  /** Specifies an icon to display. */
73
57
  accessor icon: IconName | undefined;
@@ -9,7 +9,7 @@ import { u as useInteractive } from "../../chunks/useInteractive.js";
9
9
  import { H as Heading } from "../../chunks/Heading.js";
10
10
  import { S as SLOTS, I as ICONS, C as CSS } from "../../chunks/resources32.js";
11
11
  import { i as isActivationKey } from "../../chunks/key.js";
12
- const styles = css`: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{box-shadow:var(--calcite-tile-shadow, var(--calcite-shadow-none));box-sizing:border-box;display:inline-block}calcite-link{--calcite-internal-link-text-decoration-line: none;--calcite-link-text-color: var(--calcite-tile-link-text-color)}.container{background-color:var(--calcite-tile-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));block-size:var(--calcite-container-size-content-fluid);border-radius:var(--calcite-tile-corner-radius, var(--calcite-corner-radius));box-sizing:border-box;color:var(--calcite-tile-text-color, var(--calcite-color-text-3));inline-size:var(--calcite-container-size-content-fluid);outline:var(--calcite-border-width-sm, 1px) solid var(--calcite-tile-border-color, var(--calcite-color-border-2));padding:var(--calcite-internal-tile-spacing);position:relative;-webkit-user-select:none;user-select:none}.container .selection-icon{color:var(--calcite-tile-text-color, var(--calcite-color-text-3))}.container ::slotted(calcite-chip){--calcite-icon-color: var(--calcite-tile-text-color, var(--calcite-color-text-3))}.container.interactive{cursor:pointer}.container.interactive:hover,.container.interactive:focus,.container.interactive.selected{outline-color:var(--calcite-tile-accent-color-press, var(--calcite-color-brand));z-index:var(--calcite-z-index)}.container.interactive:hover .selection-icon,.container.interactive:focus .selection-icon,.container.interactive.selected .selection-icon{color:var(--calcite-tile-accent-color-press, var(--calcite-color-brand))}.container.interactive:hover .icon,.container.interactive:focus .icon,.container.interactive.selected .icon{color:var(--calcite-tile-heading-text-color, var(--calcite-color-text-1))}.container.interactive:hover ::slotted(calcite-chip),.container.interactive:focus ::slotted(calcite-chip),.container.interactive.selected ::slotted(calcite-chip){--calcite-icon-color: var(--calcite-tile-text-color, var(--calcite-color-text-1))}.container.interactive:focus{box-shadow:inset 0 0 0 1px var(--calcite-tile-accent-color-press, var(--calcite-color-brand));z-index:calc(var(--calcite-z-index) + 1)}.content-container,.row{align-items:flex-start;display:flex}.content-container{flex-direction:column;overflow-wrap:break-word;word-break:break-word;inline-size:var(--calcite-container-size-content-fluid)}.text-content-container{inline-size:100%;outline-color:transparent;padding:0}.text-content{display:flex;flex-direction:column}.heading{margin:0;padding:0;color:var(--calcite-tile-heading-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium);line-height:1.20313rem;overflow-wrap:break-word}.description{color:var(--calcite-tile-text-color, var(--calcite-color-text-2))}.description{font-weight:var(--calcite-font-weight-regular);overflow-wrap:break-word}:host([alignment=center]) .icon{align-self:center}:host([alignment=center]) .text-content-container{justify-content:center}:host([alignment=center]) .text-content{text-align:center}:host([alignment=center]) slot[name=content-bottom]::slotted(*),:host([alignment=center]) slot[name=content-top]::slotted(*){align-self:center}:host([scale=s]){--calcite-internal-tile-spacing: var(--calcite-theme-space-sm, var(--calcite-spacing-sm));max-inline-size:400px;min-inline-size:100px}:host([scale=s]) .heading{font-size:var(--calcite-font-size-relative-sm);line-height:1.03125rem}:host([scale=s]) .description{font-size:var(--calcite-font-size-relative-xs);line-height:.85938rem}:host([scale=m]){--calcite-internal-tile-spacing: var(--calcite-theme-space-md, var(--calcite-spacing-md));max-inline-size:460px;min-inline-size:140px}:host([scale=m]) .heading{font-size:var(--calcite-font-size-relative-base);line-height:1.20313rem}:host([scale=m]) .description{font-size:var(--calcite-font-size-relative-sm);line-height:1.03125rem}:host([scale=l]){--calcite-internal-tile-spacing: var(--calcite-theme-space-lg, var(--calcite-spacing-lg));max-inline-size:520px;min-inline-size:160px}:host([scale=l]) .heading{font-size:var(--calcite-font-size-relative-md);line-height:1.375rem}:host([scale=l]) .description{font-size:var(--calcite-font-size-relative-base);line-height:1.20313rem}.content-container--has-content,.row{gap:var(--calcite-internal-tile-spacing)}.content-container--has-only-content-top-and-bottom slot[name=content-top]::slotted(*){margin-block-end:var(--calcite-internal-tile-spacing)}:host([selection-appearance=highlight]) .container.selected{background-color:var(--calcite-color-surface-highlight)}:host(:hover:not([disabled])) .heading,:host([active]:not([disabled])) .heading{color:var(--calcite-tile-heading-text-color, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .description,:host([active]:not([disabled])) .description{color:var(--calcite-tile-text-color, var(--calcite-color-text-2))}:host([href]:focus:not([disabled])) .container,:host([href]:hover:not([disabled])) .container{outline-color:var(--calcite-tile-link-color, var(--calcite-color-text-link));z-index:var(--calcite-z-index)}:host([href]:focus:not([disabled])) .icon,:host([href]:hover:not([disabled])) .icon{color:var(--calcite-tile-link-color, var(--calcite-color-text-link))}:host([href]:focus:not([disabled])) .heading,:host([href]:hover:not([disabled])) .heading{color:var(--calcite-tile-link-color, var(--calcite-color-text-link))}:host([href]:active:not([disabled])) .container{box-shadow:inset 0 0 0 1px var(--calcite-tile-link-color, var(--calcite-color-text-link));outline-color:var(--calcite-tile-link-color, var(--calcite-color-text-link))}:host([embed]) .container{padding:0}:host([selection-mode=none]) .container:hover,:host([selection-mode=none]) .container.selected{outline-color:var(--calcite-tile-border-color, var(--calcite-color-border-2))}:host([selection-mode=none]) .container:focus{outline-color:var(--calcite-tile-accent-color-press, var(--calcite-color-brand))}@media(forced-colors:active){.container.interactive:hover,.container.interactive:focus,.container.interactive.selected{outline-color:Highlight;z-index:calc(var(--calcite-z-index) + 1)}:host([selection-appearance=highlight]) .container.selected{outline-width:calc(var(--calcite-border-width-sm, 1px) * 3)}}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:var(--calcite-opacity-full)}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}::slotted(*){max-inline-size:100%}`;
12
+ const styles = css`: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{box-shadow:var(--calcite-tile-shadow, var(--calcite-shadow-none));box-sizing:border-box;display:inline-block}calcite-link{--calcite-internal-link-text-decoration-line: none;--calcite-link-text-color: var(--calcite-tile-link-text-color)}.container{background-color:var(--calcite-tile-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));block-size:var(--calcite-container-size-content-fluid);border-radius:var(--calcite-tile-corner-radius, var(--calcite-corner-radius));box-sizing:border-box;color:var(--calcite-tile-text-color, var(--calcite-color-text-3));inline-size:var(--calcite-container-size-content-fluid);outline:var(--calcite-border-width-sm, 1px) solid var(--calcite-tile-border-color, var(--calcite-color-border-2));padding:var(--calcite-internal-tile-spacing);position:relative;-webkit-user-select:none;user-select:none}.container .selection-icon{color:var(--calcite-tile-text-color, var(--calcite-color-text-3))}.container ::slotted(calcite-chip){--calcite-icon-color: var(--calcite-tile-text-color, var(--calcite-color-text-3))}.container.interactive{cursor:pointer}.container.interactive:hover,.container.interactive:focus,.container.interactive.selected{outline-color:var(--calcite-tile-accent-color-press, var(--calcite-color-brand));z-index:var(--calcite-z-index)}.container.interactive:hover .selection-icon,.container.interactive:focus .selection-icon,.container.interactive.selected .selection-icon{color:var(--calcite-tile-accent-color-press, var(--calcite-color-brand))}.container.interactive:hover .icon,.container.interactive:focus .icon,.container.interactive.selected .icon{color:var(--calcite-tile-heading-text-color, var(--calcite-color-text-1))}.container.interactive:hover ::slotted(calcite-chip),.container.interactive:focus ::slotted(calcite-chip),.container.interactive.selected ::slotted(calcite-chip){--calcite-icon-color: var(--calcite-tile-text-color, var(--calcite-color-text-1))}.container.interactive:focus{box-shadow:inset 0 0 0 1px var(--calcite-tile-accent-color-press, var(--calcite-color-brand));z-index:calc(var(--calcite-z-index) + 1)}.content-container,.row{align-items:flex-start;display:flex}.content-container{flex-direction:column;overflow-wrap:break-word;word-break:break-word;inline-size:var(--calcite-container-size-content-fluid)}.text-content-container{inline-size:100%;outline-color:transparent;padding:0}.text-content{display:flex;flex-direction:column}.heading{margin:0;padding:0;color:var(--calcite-tile-heading-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium);line-height:1.20313rem;overflow-wrap:break-word}.description{color:var(--calcite-tile-text-color, var(--calcite-color-text-2))}.description{font-weight:var(--calcite-font-weight-regular);overflow-wrap:break-word}:host([alignment=center]) .icon{align-self:center}:host([alignment=center]) .text-content-container{justify-content:center}:host([alignment=center]) .text-content{text-align:center}:host([alignment=center]) slot[name=content-bottom]::slotted(*),:host([alignment=center]) slot[name=content-top]::slotted(*){align-self:center}:host([scale=s]){--calcite-internal-tile-spacing: var(--calcite-theme-space-sm, var(--calcite-spacing-sm));max-inline-size:400px;min-inline-size:100px}:host([scale=s]) .heading{font-size:var(--calcite-font-size-relative-sm);line-height:1.03125rem}:host([scale=s]) .description{font-size:var(--calcite-font-size-relative-xs);line-height:.85938rem}:host([scale=m]){--calcite-internal-tile-spacing: var(--calcite-theme-space-md, var(--calcite-spacing-md));max-inline-size:460px;min-inline-size:140px}:host([scale=m]) .heading{font-size:var(--calcite-font-size-relative-base);line-height:1.20313rem}:host([scale=m]) .description{font-size:var(--calcite-font-size-relative-sm);line-height:1.03125rem}:host([scale=l]){--calcite-internal-tile-spacing: var(--calcite-theme-space-lg, var(--calcite-spacing-lg));max-inline-size:520px;min-inline-size:160px}:host([scale=l]) .heading{font-size:var(--calcite-font-size-relative-md);line-height:1.375rem}:host([scale=l]) .description{font-size:var(--calcite-font-size-relative-base);line-height:1.20313rem}.content-container--has-content,.row{gap:var(--calcite-internal-tile-spacing)}.content-container--has-only-content-top-and-bottom slot[name=content-top]::slotted(*){margin-block-end:var(--calcite-internal-tile-spacing)}:host([selection-appearance=highlight]) .container.selected{background-color:var(--calcite-color-surface-highlight)}:host(:hover:not([disabled])) .heading{color:var(--calcite-tile-heading-text-color, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .description{color:var(--calcite-tile-text-color, var(--calcite-color-text-2))}:host([href]:focus:not([disabled])) .container,:host([href]:hover:not([disabled])) .container{outline-color:var(--calcite-tile-link-color, var(--calcite-color-text-link));z-index:var(--calcite-z-index)}:host([href]:focus:not([disabled])) .icon,:host([href]:hover:not([disabled])) .icon{color:var(--calcite-tile-link-color, var(--calcite-color-text-link))}:host([href]:focus:not([disabled])) .heading,:host([href]:hover:not([disabled])) .heading{color:var(--calcite-tile-link-color, var(--calcite-color-text-link))}:host([href]:active:not([disabled])) .container{box-shadow:inset 0 0 0 1px var(--calcite-tile-link-color, var(--calcite-color-text-link));outline-color:var(--calcite-tile-link-color, var(--calcite-color-text-link))}:host([selection-mode=none]) .container:hover,:host([selection-mode=none]) .container.selected{outline-color:var(--calcite-tile-border-color, var(--calcite-color-border-2))}:host([selection-mode=none]) .container:focus{outline-color:var(--calcite-tile-accent-color-press, var(--calcite-color-brand))}@media(forced-colors:active){.container.interactive:hover,.container.interactive:focus,.container.interactive.selected{outline-color:Highlight;z-index:calc(var(--calcite-z-index) + 1)}:host([selection-appearance=highlight]) .container.selected{outline-width:calc(var(--calcite-border-width-sm, 1px) * 3)}}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:var(--calcite-opacity-full)}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}::slotted(*){max-inline-size:100%}`;
13
13
  class Tile extends LitElement {
14
14
  constructor() {
15
15
  super();
@@ -17,10 +17,8 @@ class Tile extends LitElement {
17
17
  this.interactiveContainer = useInteractive(this);
18
18
  this.hasContentBottom = false;
19
19
  this.hasContentTop = false;
20
- this.active = false;
21
20
  this.alignment = "start";
22
21
  this.disabled = false;
23
- this.embed = false;
24
22
  this.iconFlipRtl = false;
25
23
  this.interactive = false;
26
24
  this.layout = "horizontal";
@@ -32,7 +30,7 @@ class Tile extends LitElement {
32
30
  this.listen("keydown", this.keyDownHandler);
33
31
  }
34
32
  static {
35
- this.properties = { hasContentBottom: [16, {}, { state: true }], hasContentTop: [16, {}, { state: true }], active: [7, {}, { reflect: true, type: Boolean }], alignment: [3, {}, { reflect: true }], description: [3, {}, { reflect: true }], disabled: [7, {}, { reflect: true, type: Boolean }], embed: [7, {}, { reflect: true, type: Boolean }], heading: [3, {}, { reflect: true }], headingLevel: [11, {}, { type: Number, reflect: true }], href: [3, {}, { reflect: true }], icon: [3, {}, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], interactive: [5, {}, { type: Boolean }], label: 1, layout: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selected: [7, {}, { reflect: true, type: Boolean }], selectionAppearance: [3, {}, { reflect: true }], selectionMode: [3, {}, { reflect: true }] };
33
+ this.properties = { hasContentBottom: [16, {}, { state: true }], hasContentTop: [16, {}, { state: true }], alignment: [3, {}, { reflect: true }], description: [3, {}, { reflect: true }], disabled: [7, {}, { reflect: true, type: Boolean }], heading: [3, {}, { reflect: true }], headingLevel: [11, {}, { type: Number, reflect: true }], href: [3, {}, { reflect: true }], icon: [3, {}, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], interactive: [5, {}, { type: Boolean }], label: 1, layout: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selected: [7, {}, { reflect: true, type: Boolean }], selectionAppearance: [3, {}, { reflect: true }], selectionMode: [3, {}, { reflect: true }] };
36
34
  }
37
35
  static {
38
36
  this.styles = styles;
@@ -26,12 +26,6 @@ export abstract class Tooltip extends LitElement {
26
26
  * @default false
27
27
  */
28
28
  accessor closeOnClick: boolean;
29
- /**
30
- * Specifies an accessible label for the component.
31
- *
32
- * @deprecated in v1.5.0, removal target v6.0.0 - No longer necessary. Overrides the context of the component's text description, which could confuse assistive technology users.
33
- */
34
- accessor label: string | undefined;
35
29
  /** Specifies the distance to position the component away from the `referenceElement`. */
36
30
  accessor offsetDistance: number;
37
31
  /**
@@ -41,7 +41,7 @@ class Tooltip extends LitElement {
41
41
  this.calciteTooltipOpen = createEvent({ cancelable: false });
42
42
  }
43
43
  static {
44
- this.properties = { floatingLayout: [16, {}, { state: true }], referenceEl: [16, {}, { state: true }], closeOnClick: [7, {}, { reflect: true, type: Boolean }], label: 1, offsetDistance: [11, {}, { type: Number, reflect: true }], offsetSkidding: [11, {}, { reflect: true, type: Number }], open: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], placement: [3, {}, { reflect: true }], pointerDisabled: [7, {}, { reflect: true, type: Boolean }], referenceElement: 1, scale: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }] };
44
+ this.properties = { floatingLayout: [16, {}, { state: true }], referenceEl: [16, {}, { state: true }], closeOnClick: [7, {}, { reflect: true, type: Boolean }], offsetDistance: [11, {}, { type: Number, reflect: true }], offsetSkidding: [11, {}, { reflect: true, type: Number }], open: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], placement: [3, {}, { reflect: true }], pointerDisabled: [7, {}, { reflect: true, type: Boolean }], referenceElement: 1, scale: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }] };
45
45
  }
46
46
  static {
47
47
  this.styles = styles;
@@ -107,12 +107,11 @@ class Tooltip extends LitElement {
107
107
  this.reposition(true);
108
108
  }
109
109
  render() {
110
- const { referenceEl, label, open, pointerDisabled, floatingLayout } = this;
110
+ const { referenceEl, open, pointerDisabled, floatingLayout } = this;
111
111
  const displayed = referenceEl && open;
112
112
  const hidden = !displayed;
113
113
  const arrowNode = !pointerDisabled ? keyed("floating-arrow", FloatingArrow({ floatingLayout, ref: this.setArrowEl })) : null;
114
114
  this.el.inert = hidden;
115
- this.el.ariaLabel = label ?? null;
116
115
  this.el.role = "tooltip";
117
116
  return html`<div class=${safeClassMap(CSS.positionContainer)} popover=manual ${ref(this.setFloatingEl)}><div class=${safeClassMap({
118
117
  [FloatingCSS.animation]: true,
@@ -17,7 +17,7 @@ export type LogicalFlowPosition = "inline-start" | "inline-end" | "block-start"
17
17
 
18
18
  export type Position = "start" | "end" | "top" | "bottom";
19
19
 
20
- export type SelectionAppearance = "icon" | "border" | "neutral" | "highlight";
20
+ export type SelectionAppearance = "icon" | "border" | "neutral" | "highlight" | "brand";
21
21
 
22
22
  export type SelectionMode = "single" | "none" | "children" | "single-persist" | "multichildren" | "ancestors" | "multiple";
23
23