@esri/calcite-components 6.0.0-next.59 → 6.0.0-next.60

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 (227) hide show
  1. package/dist/cdn/{XLVS3QRZ.js → 23ZH34K3.js} +1 -1
  2. package/dist/cdn/{OL54E2VG.js → 257CYMU4.js} +1 -1
  3. package/dist/cdn/{5KNIEIQB.js → 2DT5TUSD.js} +1 -1
  4. package/dist/cdn/{5Q725D3I.js → 2FDZK4SP.js} +1 -1
  5. package/dist/cdn/{N5HR4JIP.js → 2IIS3KXI.js} +1 -1
  6. package/dist/cdn/{IPC52TFP.js → 2KMSPIAS.js} +1 -1
  7. package/dist/cdn/{OGL2CTVW.js → 2UKQIP47.js} +1 -1
  8. package/dist/cdn/{MVEBOXXC.js → 36ZEWJ72.js} +1 -1
  9. package/dist/cdn/{Y6Y6YIMO.js → 3BK7GQWU.js} +1 -1
  10. package/dist/cdn/{CRUXQGDJ.js → 3FDZSMHT.js} +1 -1
  11. package/dist/cdn/{OEUZECPK.js → 3FRKED6O.js} +1 -1
  12. package/dist/cdn/{F66HV74D.js → 3K3WZKX6.js} +1 -1
  13. package/dist/cdn/{KVUDOYXY.js → 44QWLWTD.js} +1 -1
  14. package/dist/cdn/{XO3KFKRH.js → 4F373FUZ.js} +1 -1
  15. package/dist/cdn/{HMIAN5WT.js → 4LJDBE3W.js} +1 -1
  16. package/dist/cdn/{J4SK5XJU.js → 4OHJUF5U.js} +1 -1
  17. package/dist/cdn/{BAAM6BOB.js → 4QLJN6TZ.js} +1 -1
  18. package/dist/cdn/{DVW6HSBL.js → 4SLZJ3VJ.js} +1 -1
  19. package/dist/cdn/{NU5GGR3Y.js → 4Y5CLGZK.js} +1 -1
  20. package/dist/cdn/{YCQRLOCA.js → 5AN4UW6O.js} +1 -1
  21. package/dist/cdn/{AMWSJUBQ.js → 5CLS3AFH.js} +1 -1
  22. package/dist/cdn/{GQYWBUD3.js → 5IJI3EVD.js} +1 -1
  23. package/dist/cdn/{GFBTUJHM.js → 5N7OHVQJ.js} +1 -1
  24. package/dist/cdn/{QL2KRA7I.js → 5SHDFPXA.js} +1 -1
  25. package/dist/cdn/{XX3UQMZC.js → 6AYXET3V.js} +1 -1
  26. package/dist/cdn/{X7B3K4WG.js → 6EVWTMJD.js} +1 -1
  27. package/dist/cdn/{HEJHGUMW.js → 6FWGPQL4.js} +1 -1
  28. package/dist/cdn/{G73N23M2.js → 6HWBAEHO.js} +1 -1
  29. package/dist/cdn/{ZMSADQUW.js → 6LNUBHXG.js} +1 -1
  30. package/dist/cdn/{XIN4GD3V.js → 6MEPMUMI.js} +1 -1
  31. package/dist/cdn/6OZ63KZT.js +2 -0
  32. package/dist/cdn/{VIBF4GXM.js → 6WIIOXKS.js} +1 -1
  33. package/dist/cdn/{P22ZY5GU.js → 7LWJZEPF.js} +1 -1
  34. package/dist/cdn/{UBW23RMT.js → 7OMBQ2LG.js} +1 -1
  35. package/dist/cdn/{277CTNJY.js → 7OTICPWF.js} +1 -1
  36. package/dist/cdn/{YK37ODKH.js → 7SBZDWEM.js} +1 -1
  37. package/dist/cdn/{QRA3JYS2.js → B5C4YZEV.js} +1 -1
  38. package/dist/cdn/{NID3KRXD.js → B6C6QBFX.js} +1 -1
  39. package/dist/cdn/{75NQQJNI.js → BAVRQMTY.js} +1 -1
  40. package/dist/cdn/{B52245TR.js → BCIKYBF3.js} +1 -1
  41. package/dist/cdn/{D7SAADMD.js → BDWM7ALR.js} +1 -1
  42. package/dist/cdn/{BNAIOEU3.js → BHELXAGQ.js} +1 -1
  43. package/dist/cdn/{GZYMMKK3.js → BI7TNEOV.js} +1 -1
  44. package/dist/cdn/{2EXSTBIN.js → BN7ENVIC.js} +1 -1
  45. package/dist/cdn/{35FJBHUF.js → BWTQZDQ6.js} +1 -1
  46. package/dist/cdn/{MUJCH4UY.js → C2JECRTV.js} +1 -1
  47. package/dist/cdn/{DQXRPHUI.js → C6MFB75B.js} +1 -1
  48. package/dist/cdn/{JQGKC4WS.js → CAQH3M55.js} +1 -1
  49. package/dist/cdn/{6HDTB24G.js → CDVOEYND.js} +1 -1
  50. package/dist/cdn/{AWELH6FI.js → CPPMCAID.js} +1 -1
  51. package/dist/cdn/{HD6HPIFD.js → CYJMOVVE.js} +1 -1
  52. package/dist/cdn/{CZTRWN4B.js → DBLK2CMQ.js} +1 -1
  53. package/dist/cdn/{BFXALCYB.js → DQGBCHSN.js} +1 -1
  54. package/dist/cdn/{UAWRDZ5O.js → E4HUS55V.js} +1 -1
  55. package/dist/cdn/{XFXELLFJ.js → E6IOVG3N.js} +1 -1
  56. package/dist/cdn/{6LQANPML.js → E7MXVWGX.js} +1 -1
  57. package/dist/cdn/{V4ZUJQFP.js → ECWBSJHW.js} +1 -1
  58. package/dist/cdn/{QHFK52SN.js → EJR5VIJY.js} +1 -1
  59. package/dist/cdn/{F7HEFBJ3.js → EXBAP2Y4.js} +1 -1
  60. package/dist/cdn/{K54GNDS5.js → FQIEABZC.js} +1 -1
  61. package/dist/cdn/{Y2TCYWVJ.js → FU32CFHC.js} +1 -1
  62. package/dist/cdn/{EPZE2R4B.js → G3GOX6Q3.js} +1 -1
  63. package/dist/cdn/{QOD6L3RN.js → G4Q2SWWH.js} +1 -1
  64. package/dist/cdn/{XD6OEN5W.js → G7H34HIQ.js} +1 -1
  65. package/dist/cdn/{HMK6XNW4.js → GJSHDNEI.js} +1 -1
  66. package/dist/cdn/{XR2AI5LF.js → GLW4NDPH.js} +1 -1
  67. package/dist/cdn/{GCOCPN62.js → HGIXONN3.js} +1 -1
  68. package/dist/cdn/{BAP2LT6L.js → HHVI5W6F.js} +1 -1
  69. package/dist/cdn/{CDQE2C4Q.js → IE3NKPOQ.js} +1 -1
  70. package/dist/cdn/{R66FCABT.js → IITRLQOK.js} +1 -1
  71. package/dist/cdn/{5X26MSOM.js → IYNVKCUS.js} +1 -1
  72. package/dist/cdn/{XDX2VVBD.js → J3CT322U.js} +1 -1
  73. package/dist/cdn/{JPZO3EE3.js → J6RS2ESB.js} +1 -1
  74. package/dist/cdn/{BQPPMPJS.js → JGBARNCY.js} +1 -1
  75. package/dist/cdn/{5FKBHN7O.js → JQOAJ37N.js} +1 -1
  76. package/dist/cdn/{RGQW6RTG.js → JROSHOUF.js} +1 -1
  77. package/dist/cdn/{KNJMQXHP.js → JYY6YBSK.js} +1 -1
  78. package/dist/cdn/{IDKAMT5J.js → KDERETE3.js} +1 -1
  79. package/dist/cdn/{UVG42Q2A.js → KIM73WQR.js} +1 -1
  80. package/dist/cdn/{L5QOG5SI.js → KK3L5ZGD.js} +1 -1
  81. package/dist/cdn/{VGSQ57EU.js → KLKEDT2Y.js} +1 -1
  82. package/dist/cdn/{3VVBMAIY.js → KU76HQZR.js} +1 -1
  83. package/dist/cdn/{FHDTLXUH.js → L6CQJCBQ.js} +1 -1
  84. package/dist/cdn/{V37VPTIE.js → LB7UW2Y3.js} +1 -1
  85. package/dist/cdn/{YAP2ODTA.js → MD3RYRSU.js} +1 -1
  86. package/dist/cdn/{QAUUNB4V.js → MLEIIIL7.js} +1 -1
  87. package/dist/cdn/{MZWIFEF4.js → MP2FCWDD.js} +1 -1
  88. package/dist/cdn/{Z4CNCY5M.js → MQHC7KK6.js} +1 -1
  89. package/dist/cdn/{BINYFNLS.js → MS5KDFTY.js} +1 -1
  90. package/dist/cdn/{OEZYNWY2.js → N7LKA77X.js} +1 -1
  91. package/dist/cdn/{Q2BLYPB6.js → NPRLTYSV.js} +1 -1
  92. package/dist/cdn/{Y2GZJ5IZ.js → NVVYWR22.js} +1 -1
  93. package/dist/cdn/{OR33QYWH.js → NYALNICV.js} +1 -1
  94. package/dist/cdn/{Y2YZHLKZ.js → OAJCI3UF.js} +1 -1
  95. package/dist/cdn/{W6KTUCBM.js → ODKKJFFR.js} +1 -1
  96. package/dist/cdn/{ZW2EPUQZ.js → ONJXSMUE.js} +1 -1
  97. package/dist/cdn/{2RQXL6B4.js → OSPG44XY.js} +1 -1
  98. package/dist/cdn/{DMDFMT33.js → P3KUY6H3.js} +1 -1
  99. package/dist/cdn/{LYJN7W62.js → P3OZPAUC.js} +1 -1
  100. package/dist/cdn/{YYT7RRDM.js → PBRTD24G.js} +1 -1
  101. package/dist/cdn/{NT2V7ORB.js → PDFS7UA6.js} +1 -1
  102. package/dist/cdn/{E6AHSYPV.js → PFX7YXIO.js} +1 -1
  103. package/dist/cdn/{TXYIR3R6.js → PJCHRWO4.js} +1 -1
  104. package/dist/cdn/{6A5BYMIC.js → Q3CUUGHL.js} +1 -1
  105. package/dist/cdn/{6IZHEOPN.js → Q6257UUK.js} +1 -1
  106. package/dist/cdn/{J3POEOT4.js → Q6RI57LC.js} +1 -1
  107. package/dist/cdn/{MI4QY5FD.js → QJ6M5YEU.js} +1 -1
  108. package/dist/cdn/{ZF44ZIJ2.js → QJDV2Q35.js} +1 -1
  109. package/dist/cdn/{Q3YIRHRU.js → QZL5BQLF.js} +1 -1
  110. package/dist/cdn/{7IG4J3RC.js → RC7R4XGD.js} +1 -1
  111. package/dist/cdn/{G4VQAHM7.js → RJHT25SN.js} +1 -1
  112. package/dist/cdn/{WNSVA5TC.js → RKIOFYYA.js} +1 -1
  113. package/dist/cdn/{J6KQQNJ3.js → ROYPFJB4.js} +1 -1
  114. package/dist/cdn/{5RA4UYT7.js → RX3L4B7J.js} +1 -1
  115. package/dist/cdn/{WMDX6OGD.js → SLN4IGHF.js} +1 -1
  116. package/dist/cdn/{ZU7QAA3U.js → SRISJ3VC.js} +1 -1
  117. package/dist/cdn/{FDVLFWY3.js → TAUHHB32.js} +1 -1
  118. package/dist/cdn/{UTGBSCXZ.js → TNYEWBGQ.js} +1 -1
  119. package/dist/cdn/{CZIC32VL.js → TZDBVRUX.js} +1 -1
  120. package/dist/cdn/{LWG7CYMV.js → UBAJCG7D.js} +1 -1
  121. package/dist/cdn/{CMTCQFMP.js → UKECXAGH.js} +1 -1
  122. package/dist/cdn/{5A6B2JT4.js → UUTQEUTL.js} +1 -1
  123. package/dist/cdn/{CWZSUMKI.js → V5H2YZT6.js} +1 -1
  124. package/dist/cdn/{K6RVOBUV.js → V63XBVSE.js} +1 -1
  125. package/dist/cdn/{I7HDIL4H.js → VGPMXNNU.js} +1 -1
  126. package/dist/cdn/{LI3FC5GC.js → VUOGZ2U5.js} +1 -1
  127. package/dist/cdn/{4OY7QXF2.js → VYGPYGAQ.js} +1 -1
  128. package/dist/cdn/{RSZUKEEU.js → WGRHH222.js} +1 -1
  129. package/dist/cdn/{EOBN6VLQ.js → WRSFHSVK.js} +1 -1
  130. package/dist/cdn/{CFMZJOV5.js → WUZCTZE7.js} +1 -1
  131. package/dist/cdn/{WPS6ASG2.js → WXBRWN5A.js} +1 -1
  132. package/dist/cdn/{5RWCJVFC.js → WZISGN4V.js} +1 -1
  133. package/dist/cdn/{WJBKOJ6N.js → XOC4G2FI.js} +1 -1
  134. package/dist/cdn/{JEPOY4UE.js → XUNSVVBS.js} +1 -1
  135. package/dist/cdn/{D3LR5SRT.js → Y4J2RN5O.js} +1 -1
  136. package/dist/cdn/{PRWBLOXR.js → YTWEXRRQ.js} +1 -1
  137. package/dist/cdn/{FD7VRNOK.js → Z6SNTWBS.js} +1 -1
  138. package/dist/cdn/{VBTZUXSD.js → ZHUPFYD4.js} +1 -1
  139. package/dist/cdn/{JWMTQ42V.js → ZPZQHOA5.js} +1 -1
  140. package/dist/cdn/index.js +1 -1
  141. package/dist/chunks/runtime.js +3 -3
  142. package/dist/components/calcite-accordion/customElement.d.ts +1 -1
  143. package/dist/components/calcite-action/customElement.d.ts +4 -3
  144. package/dist/components/calcite-action-bar/customElement.d.ts +1 -1
  145. package/dist/components/calcite-alert/customElement.d.ts +2 -2
  146. package/dist/components/calcite-autocomplete/customElement.d.ts +17 -16
  147. package/dist/components/calcite-autocomplete-item/customElement.d.ts +2 -1
  148. package/dist/components/calcite-avatar/customElement.d.ts +1 -1
  149. package/dist/components/calcite-block/customElement.d.ts +3 -2
  150. package/dist/components/calcite-block-group/customElement.d.ts +3 -2
  151. package/dist/components/calcite-block-section/customElement.d.ts +1 -1
  152. package/dist/components/calcite-button/customElement.d.ts +3 -2
  153. package/dist/components/calcite-card/customElement.d.ts +3 -2
  154. package/dist/components/calcite-card-group/customElement.d.ts +3 -2
  155. package/dist/components/calcite-carousel/customElement.d.ts +3 -2
  156. package/dist/components/calcite-checkbox/customElement.d.ts +4 -3
  157. package/dist/components/calcite-chip/customElement.d.ts +5 -6
  158. package/dist/components/calcite-chip-group/customElement.d.ts +3 -2
  159. package/dist/components/calcite-color-picker/customElement.d.ts +3 -2
  160. package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
  161. package/dist/components/calcite-combobox/customElement.d.ts +4 -3
  162. package/dist/components/calcite-combobox-item/customElement.d.ts +3 -2
  163. package/dist/components/calcite-date-picker/customElement.d.ts +2 -2
  164. package/dist/components/calcite-dialog/customElement.d.ts +10 -8
  165. package/dist/components/calcite-dropdown/customElement.d.ts +3 -2
  166. package/dist/components/calcite-dropdown-item/customElement.d.ts +3 -2
  167. package/dist/components/calcite-fab/customElement.d.ts +4 -3
  168. package/dist/components/calcite-filter/customElement.d.ts +4 -3
  169. package/dist/components/calcite-flow/types.d.ts +4 -4
  170. package/dist/components/calcite-flow-item/customElement.d.ts +12 -9
  171. package/dist/components/calcite-icon/customElement.d.ts +1 -1
  172. package/dist/components/calcite-inline-editable/customElement.d.ts +3 -2
  173. package/dist/components/calcite-input/customElement.d.ts +7 -9
  174. package/dist/components/calcite-input-date-picker/customElement.d.ts +4 -3
  175. package/dist/components/calcite-input-message/customElement.d.ts +2 -2
  176. package/dist/components/calcite-input-number/customElement.d.ts +6 -7
  177. package/dist/components/calcite-input-text/customElement.d.ts +7 -9
  178. package/dist/components/calcite-input-time-picker/customElement.d.ts +3 -2
  179. package/dist/components/calcite-input-time-zone/customElement.d.ts +3 -2
  180. package/dist/components/calcite-label/customElement.d.ts +1 -1
  181. package/dist/components/calcite-link/customElement.d.ts +3 -2
  182. package/dist/components/calcite-list/customElement.d.ts +10 -5
  183. package/dist/components/calcite-list-item/customElement.d.ts +5 -4
  184. package/dist/components/calcite-list-item-group/customElement.d.ts +3 -2
  185. package/dist/components/calcite-loader/customElement.d.ts +1 -1
  186. package/dist/components/calcite-menu/customElement.d.ts +1 -1
  187. package/dist/components/calcite-menu-item/customElement.d.ts +1 -1
  188. package/dist/components/calcite-meter/customElement.d.ts +3 -2
  189. package/dist/components/calcite-navigation/customElement.d.ts +1 -1
  190. package/dist/components/calcite-navigation-logo/customElement.d.ts +1 -1
  191. package/dist/components/calcite-notice/customElement.d.ts +2 -2
  192. package/dist/components/calcite-option/customElement.d.ts +3 -2
  193. package/dist/components/calcite-option-group/customElement.d.ts +2 -1
  194. package/dist/components/calcite-pagination/customElement.d.ts +1 -1
  195. package/dist/components/calcite-panel/customElement.d.ts +13 -10
  196. package/dist/components/calcite-popover/customElement.d.ts +2 -2
  197. package/dist/components/calcite-radio-button/customElement.d.ts +4 -3
  198. package/dist/components/calcite-radio-button-group/customElement.d.ts +3 -2
  199. package/dist/components/calcite-rating/customElement.d.ts +4 -3
  200. package/dist/components/calcite-segmented-control/customElement.d.ts +4 -3
  201. package/dist/components/calcite-segmented-control-item/customElement.d.ts +2 -2
  202. package/dist/components/calcite-select/customElement.d.ts +3 -2
  203. package/dist/components/calcite-sheet/customElement.d.ts +5 -3
  204. package/dist/components/calcite-slider/customElement.d.ts +3 -2
  205. package/dist/components/calcite-slider/customElement.js +73 -106
  206. package/dist/components/calcite-sort-handle/customElement.d.ts +3 -2
  207. package/dist/components/calcite-split-button/customElement.d.ts +2 -1
  208. package/dist/components/calcite-stack/customElement.d.ts +1 -0
  209. package/dist/components/calcite-stepper-item/customElement.d.ts +3 -2
  210. package/dist/components/calcite-swatch/customElement.d.ts +3 -2
  211. package/dist/components/calcite-swatch-group/customElement.d.ts +3 -2
  212. package/dist/components/calcite-switch/customElement.d.ts +3 -2
  213. package/dist/components/calcite-tab-title/customElement.d.ts +2 -1
  214. package/dist/components/calcite-table-row/customElement.d.ts +2 -1
  215. package/dist/components/calcite-tabs/customElement.d.ts +1 -1
  216. package/dist/components/calcite-text-area/customElement.d.ts +5 -6
  217. package/dist/components/calcite-tile/customElement.d.ts +3 -2
  218. package/dist/components/calcite-tile-group/customElement.d.ts +3 -2
  219. package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
  220. package/dist/components/calcite-tooltip/customElement.d.ts +1 -1
  221. package/dist/components/calcite-tree-item/customElement.d.ts +3 -2
  222. package/dist/docs/api.json +1 -1
  223. package/dist/docs/docs.json +1 -1
  224. package/dist/docs/vscode.html-custom-data.json +1 -1
  225. package/dist/docs/web-types.json +1 -1
  226. package/package.json +1 -1
  227. package/dist/cdn/7RGQTRRW.js +0 -2
@@ -71,7 +71,7 @@ export interface DeclareCssProperties {
71
71
  * @slot [footer-start] - A slot for adding custom content to a leading footer. Should not be used with the `"footer"` slot.
72
72
  */
73
73
  export abstract class Panel extends LitElement {
74
- /** Passes a function to run before the component closes. */
74
+ /** Specifies a function to run before the component closes. */
75
75
  accessor beforeClose: (() => Promise<void>) | undefined;
76
76
  /**
77
77
  * When `true`, displays a close button in the trailing side of the component's header.
@@ -98,7 +98,7 @@ export abstract class Panel extends LitElement {
98
98
  */
99
99
  accessor collapseDirection: CollapseDirection;
100
100
  /**
101
- * When `true`, the component is collapsible.
101
+ * When `true`, the component's content area is collapsible.
102
102
  *
103
103
  * @default false
104
104
  */
@@ -106,9 +106,10 @@ export abstract class Panel extends LitElement {
106
106
  /** Specifies a description for the component. */
107
107
  accessor description: string | undefined;
108
108
  /**
109
- * When `true`, interaction is prevented and the component is displayed with lower opacity.
109
+ * When true, prevents interaction and decreases the component's opacity.
110
110
  *
111
111
  * @default false
112
+ * @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
112
113
  */
113
114
  accessor disabled: boolean;
114
115
  /**
@@ -132,7 +133,7 @@ export abstract class Panel extends LitElement {
132
133
  /** Specifies an icon to display. */
133
134
  accessor icon: IconName | undefined;
134
135
  /**
135
- * When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
136
+ * When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`)
136
137
  *
137
138
  * @default false
138
139
  */
@@ -179,7 +180,7 @@ export abstract class Panel extends LitElement {
179
180
  */
180
181
  accessor overlayPositioning: OverlayPositioning;
181
182
  /**
182
- * Specifies the size of the component.
183
+ * Specifies the component's size.
183
184
  *
184
185
  * @default "m"
185
186
  */
@@ -194,14 +195,16 @@ export abstract class Panel extends LitElement {
194
195
  /**
195
196
  * Scrolls the component's content to a specified set of coordinates.
196
197
  *
197
- * @param options - allows specific coordinates to be defined.
198
- * @returns promise that resolves once the content is scrolled to.
198
+ * @param options - When specified, an optional object customizes the component's scrolling process.
199
+ * @see [MDN - scrollTo(options)](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo#options)
199
200
  * @example
201
+ * ```ts
200
202
  * myCalciteFlowItem.scrollContentTo({
201
- * left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.
202
- * top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
203
- * behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
203
+ * left: 0,
204
+ * top: 0,
205
+ * behavior: "auto"
204
206
  * });
207
+ * ```
205
208
  */
206
209
  scrollContentTo(options?: ScrollToOptions): Promise<void>;
207
210
  /**
@@ -51,7 +51,7 @@ export abstract class Popover extends LitElement {
51
51
  /**
52
52
  * Specifies custom focus trap configuration on the component.
53
53
  *
54
- * - `"allowOutsideClick`" allows outside clicks.
54
+ * - `"allowOutsideClick"` allows outside clicks.
55
55
  * - `"initialFocus"` enables initial focus.
56
56
  * - `"returnFocusOnDeactivate"` returns focus when not active.
57
57
  * - `"extraContainers"` specifies additional focusable elements external to the trap, such as 3rd-party components appending elements to the document body.
@@ -121,7 +121,7 @@ export abstract class Popover extends LitElement {
121
121
  */
122
122
  accessor referenceElement: ReferenceElement | string;
123
123
  /**
124
- * Specifies the size of the component.
124
+ * Specifies the component's size.
125
125
  *
126
126
  * @default "m"
127
127
  */
@@ -24,9 +24,10 @@ export abstract class RadioButton extends LitElement {
24
24
  */
25
25
  accessor checked: boolean;
26
26
  /**
27
- * When `true`, interaction is prevented and the component is displayed with lower opacity.
27
+ * When true, prevents interaction and decreases the component's opacity.
28
28
  *
29
29
  * @default false
30
+ * @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
30
31
  */
31
32
  accessor disabled: boolean;
32
33
  /** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
@@ -47,7 +48,7 @@ export abstract class RadioButton extends LitElement {
47
48
  */
48
49
  accessor required: boolean;
49
50
  /**
50
- * Specifies the size of the component inherited from the `calcite-radio-button-group`.
51
+ * Specifies the component's size. When contained in a parent `calcite-radio-button-group`, the component inherits the parent's `scale` value.
51
52
  *
52
53
  * @default "m"
53
54
  */
@@ -73,7 +74,7 @@ export abstract class RadioButton extends LitElement {
73
74
  */
74
75
  get validity(): ValidityState;
75
76
  /**
76
- * The component's value.
77
+ * Specifies the component's value.
77
78
  *
78
79
  * @required
79
80
  */
@@ -20,9 +20,10 @@ export interface DeclareCssProperties {
20
20
  */
21
21
  export abstract class RadioButtonGroup extends LitElement {
22
22
  /**
23
- * When `true`, interaction is prevented and the component is displayed with lower opacity.
23
+ * When true, prevents interaction and decreases the component's opacity.
24
24
  *
25
25
  * @default false
26
+ * @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
26
27
  */
27
28
  accessor disabled: boolean;
28
29
  /** Specifies the component's label text. */
@@ -55,7 +56,7 @@ export abstract class RadioButtonGroup extends LitElement {
55
56
  */
56
57
  accessor required: boolean;
57
58
  /**
58
- * Specifies the size of the component.
59
+ * Specifies the component's size.
59
60
  *
60
61
  * @default "m"
61
62
  */
@@ -29,9 +29,10 @@ export abstract class Rating extends LitElement {
29
29
  /** Specifies the number of previous ratings to display. */
30
30
  accessor count: number | undefined;
31
31
  /**
32
- * When `true`, interaction is prevented and the component is displayed with lower opacity.
32
+ * When true, prevents interaction and decreases the component's opacity.
33
33
  *
34
34
  * @default false
35
+ * @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
35
36
  */
36
37
  accessor disabled: boolean;
37
38
  /** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
@@ -61,7 +62,7 @@ export abstract class Rating extends LitElement {
61
62
  */
62
63
  accessor readOnly: boolean;
63
64
  /**
64
- * Specifies the size of the component.
65
+ * Specifies the component's size.
65
66
  *
66
67
  * @default "m"
67
68
  */
@@ -88,7 +89,7 @@ export abstract class Rating extends LitElement {
88
89
  * @see [MDN - ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
89
90
  */
90
91
  get validity(): ValidityState;
91
- /** The component's value. */
92
+ /** Specifies the component's value. */
92
93
  accessor value: number;
93
94
  /**
94
95
  * Sets focus on the component.
@@ -20,9 +20,10 @@ export interface DeclareCssProperties {
20
20
  */
21
21
  export abstract class SegmentedControl extends LitElement {
22
22
  /**
23
- * When `true`, interaction is prevented and the component is displayed with lower opacity.
23
+ * When true, prevents interaction and decreases the component's opacity.
24
24
  *
25
25
  * @default false
26
+ * @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
26
27
  */
27
28
  accessor disabled: boolean;
28
29
  /** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
@@ -55,12 +56,12 @@ export abstract class SegmentedControl extends LitElement {
55
56
  */
56
57
  accessor required: boolean;
57
58
  /**
58
- * Specifies the size of the component.
59
+ * Specifies the component's size.
59
60
  *
60
61
  * @default "m"
61
62
  */
62
63
  accessor scale: Scale;
63
- /** The component's selected item `HTMLElement`, or `undefined` when no item is selected. */
64
+ /** Specifies the component's selected item. */
64
65
  get selectedItem(): SegmentedControlItem | undefined;
65
66
  /**
66
67
  * Specifies the appearance style of the component.
@@ -31,13 +31,13 @@ export abstract class SegmentedControlItem extends LitElement {
31
31
  /** Specifies an icon to display at the end of the component. */
32
32
  accessor iconEnd: IconName | undefined;
33
33
  /**
34
- * When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
34
+ * When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`)
35
35
  *
36
36
  * @default false
37
37
  */
38
38
  accessor iconFlipRtl: boolean;
39
39
  /** Specifies an icon to display at the start of the component. */
40
40
  accessor iconStart: IconName | undefined;
41
- /** The component's value. */
41
+ /** Specifies the component's value. */
42
42
  accessor value: any | null;
43
43
  }
@@ -32,9 +32,10 @@ export interface DeclareCssProperties {
32
32
  */
33
33
  export abstract class Select extends LitElement {
34
34
  /**
35
- * When `true`, interaction is prevented and the component is displayed with lower opacity.
35
+ * When true, prevents interaction and decreases the component's opacity.
36
36
  *
37
37
  * @default false
38
+ * @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
38
39
  */
39
40
  accessor disabled: boolean;
40
41
  /** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
@@ -67,7 +68,7 @@ export abstract class Select extends LitElement {
67
68
  */
68
69
  accessor required: boolean;
69
70
  /**
70
- * Specifies the size of the component.
71
+ * Specifies the component's size.
71
72
  *
72
73
  * @default "m"
73
74
  */
@@ -37,11 +37,13 @@ export interface DeclareCssProperties {
37
37
 
38
38
  /** @slot - A slot for adding custom content. */
39
39
  export abstract class Sheet extends LitElement {
40
- /** Passes a function to run before the component closes. */
40
+ /** Specifies a function to run before the component closes. */
41
41
  accessor beforeClose: ((el: Sheet) => Promise<void>) | undefined;
42
42
  /**
43
- * Specifies the display mode - `"float"` separates content from main layout,
44
- * and `"overlay"` displays on top of center content.
43
+ * Specifies the component's display mode.
44
+ *
45
+ * - `"float"` separates content from main layout.
46
+ * - `"overlay"` displays on top of center content.
45
47
  *
46
48
  * @default "overlay"
47
49
  */
@@ -33,9 +33,10 @@ export interface DeclareCssProperties {
33
33
  /** @slot [label-content] - A slot for rendering content next to the component's `labelText`. */
34
34
  export abstract class Slider extends LitElement {
35
35
  /**
36
- * When `true`, interaction is prevented and the component is displayed with lower opacity.
36
+ * When true, prevents interaction and decreases the component's opacity.
37
37
  *
38
38
  * @default false
39
+ * @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
39
40
  */
40
41
  accessor disabled: boolean;
41
42
  /**
@@ -194,7 +195,7 @@ export abstract class Slider extends LitElement {
194
195
  * @see [MDN - ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
195
196
  */
196
197
  get validity(): ValidityState;
197
- /** The component's value. */
198
+ /** Specifies the component's value. */
198
199
  accessor value: number | number[];
199
200
  /**
200
201
  * Sets focus on the component.
@@ -31,7 +31,6 @@ const CSS = {
31
31
  handleLabelValue: "handle__label--value",
32
32
  hyphen: "hyphen",
33
33
  hyphenWrap: "hyphen--wrap",
34
- static: "static",
35
34
  thumb: "thumb",
36
35
  thumbActive: "thumb--active",
37
36
  thumbContainer: "thumb-container",
@@ -51,7 +50,6 @@ const CSS = {
51
50
  ticks: "ticks",
52
51
  track: "track",
53
52
  trackRange: "track__range",
54
- transformed: "transformed",
55
53
  scale: (scale) => `scale--${scale}`
56
54
  };
57
55
  const idPrefix = "calcite-slider";
@@ -60,7 +58,48 @@ const IDS = {
60
58
  host: (id) => `${idPrefix}-${id}`
61
59
  };
62
60
  const maxTickElementThreshold = 250;
63
- const styles = css`@charset "UTF-8";:host([disabled]){opacity:var(--calcite-opacity-disabled);cursor:default;-webkit-user-select:none;user-select:none}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{--calcite-slider-handle-size: var(--calcite-size-4xs);--calcite-slider-handle-extension-height: .4rem;--calcite-slider-container-font-size: var(--calcite-font-size-relative-xs)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size: var(--calcite-size-2xs);--calcite-slider-handle-extension-height: .5rem;--calcite-slider-container-font-size: var(--calcite-font-size-relative-sm)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size: 1rem;--calcite-slider-handle-extension-height: .65rem;--calcite-slider-container-font-size: var(--calcite-font-size-relative-base)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-slider-text-color, var(--calcite-color-text-2));font-size:var(--calcite-slider-container-font-size)}:host{display:block;inline-size:100%;min-inline-size:0}:host .validation-container{padding-block-start:0!important}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * .5);padding-block:calc(var(--calcite-slider-handle-size) * .5);margin-block:calc(var(--calcite-slider-handle-size) * .5);margin-inline:0;--calcite-slider-full-handle-height: calc( var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height) );touch-action:none;-webkit-user-select:none;user-select:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:var(--calcite-opacity-full)}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset: calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset: calc(var(--calcite-slider-handle-size) * .5);outline:var(--calcite-border-width-md) solid transparent;outline-offset:var(--calcite-border-width-md);font-family:inherit;position:absolute;margin:var(--calcite-space-none);display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:var(--calcite-color-transparent);padding:var(--calcite-space-none);transform:translate(var(--calcite-slider-thumb-x-offset),var(--calcite-slider-thumb-y-offset))}.thumb .handle__label{white-space:nowrap}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:var(--calcite-space-none);opacity:0}.thumb .handle__label.hyphen:after{content:"—";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{outline-color:var(--calcite-color-transparent);box-sizing:border-box;border-radius:var(--calcite-corner-radius-pill);background-color:var(--calcite-slider-handle-fill-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease,background-color var(--calcite-internal-animation-timing-medium) ease,box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-slider-handle-extension-color, var(--calcite-color-text-3))}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb:focus .handle{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-space-base) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}.thumb:focus .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1),var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset: -.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset: 50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset: -2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset: -2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset: -3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand));box-shadow:0 0 8px #00000029}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.track{position:relative;block-size:.125rem;background-color:var(--calcite-slider-track-color, var(--calcite-color-border-2));transition:all var(--calcite-internal-animation-timing-medium) ease-in;border-radius:var(--calcite-corner-radius)}.track__range{position:absolute;inset-block-start:var(--calcite-space-none);block-size:.125rem;background-color:var(--calcite-slider-track-fill-color, var(--calcite-color-brand));border-radius:var(--calcite-corner-radius)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * .5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media(forced-colors:active){.thumb{outline-width:0;outline-offset:0}.handle{outline:var(--calcite-border-width-md) solid transparent;outline-offset:var(--calcite-border-width-md)}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:var(--calcite-space-2xs);inline-size:.125rem;border-width:var(--calcite-border-width-sm);border-style:solid;background-color:var(--calcite-slider-tick-color, var(--calcite-color-border-input));border-color:var(--calcite-slider-tick-border-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));inset-block-start:-2px;pointer-events:none;margin-inline-start:calc(var(--calcite-space-2xs) * -.5)}.tick--end-aligned{margin-inline-start:var(--calcite-space-none);margin-inline-end:calc(var(--calcite-space-2xs) * -.5)}.tick--active{background-color:var(--calcite-slider-tick-selected-color, var(--calcite-color-brand))}.tick__label{pointer-events:none;margin-block-start:var(--calcite-space-md-plus);display:flex;justify-content:center;visibility:hidden}.tick__label--visible{visibility:visible}.tick__label--covered{opacity:0}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--min,.tick__label--max{position:absolute;inset-block-start:calc(var(--calcite-space-px) * -1);inline-size:max-content}.tick__label--left{transform:translate(-.25ch);left:0}.tick__label--right{transform:translate(.25ch);right:0}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{color:var(--calcite-color-text-3);font-weight:var(--calcite-theme-font-weight-regular, var(--calcite-font-weight-normal))}.graph{color:var(--calcite-slider-graph-color, var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3)));block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(var(--calcite-space-md-plus) + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * .5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}.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([hidden]){display:none}[hidden]{display:none}`;
61
+ const styles = css`@charset "UTF-8";:host([disabled]){opacity:var(--calcite-opacity-disabled);cursor:default;-webkit-user-select:none;user-select:none}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{--calcite-slider-handle-size: var(--calcite-size-4xs);--calcite-slider-handle-extension-height: .4rem;--calcite-slider-container-font-size: var(--calcite-font-size-relative-xs)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size: var(--calcite-size-2xs);--calcite-slider-handle-extension-height: .5rem;--calcite-slider-container-font-size: var(--calcite-font-size-relative-sm)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size: 1rem;--calcite-slider-handle-extension-height: .65rem;--calcite-slider-container-font-size: var(--calcite-font-size-relative-base)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-slider-text-color, var(--calcite-color-text-2));font-size:var(--calcite-slider-container-font-size)}:host{display:block;inline-size:100%;min-inline-size:0}:host .validation-container{padding-block-start:0!important}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * .5);padding-block:calc(var(--calcite-slider-handle-size) * .5);margin-block:calc(var(--calcite-slider-handle-size) * .5);margin-inline:0;--calcite-slider-full-handle-height: calc( var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height) );touch-action:none;-webkit-user-select:none;user-select:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:var(--calcite-opacity-full)}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset: calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset: calc(var(--calcite-slider-handle-size) * .5);outline:var(--calcite-border-width-md) solid transparent;outline-offset:var(--calcite-border-width-md);font-family:inherit;position:absolute;margin:var(--calcite-space-none);display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:var(--calcite-color-transparent);padding:var(--calcite-space-none);transform:translate(var(--calcite-slider-thumb-x-offset),var(--calcite-slider-thumb-y-offset))}.thumb .handle__label{white-space:nowrap}.thumb .handle__label.hyphen:after{content:"—";display:inline-block;inline-size:1em;text-align:center}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle__label.hyphen--wrap:dir(rtl){flex-direction:row-reverse}.thumb .handle{outline-color:var(--calcite-color-transparent);box-sizing:border-box;border-radius:var(--calcite-corner-radius-pill);background-color:var(--calcite-slider-handle-fill-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease,background-color var(--calcite-internal-animation-timing-medium) ease,box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-slider-handle-extension-color, var(--calcite-color-text-3))}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb:focus .handle{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-space-base) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}.thumb:focus .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1),var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset: -.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset: 50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset: -2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset: -2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset: -3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand));box-shadow:0 0 8px #00000029}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.track{position:relative;block-size:.125rem;background-color:var(--calcite-slider-track-color, var(--calcite-color-border-2));transition:all var(--calcite-internal-animation-timing-medium) ease-in;border-radius:var(--calcite-corner-radius)}.track__range{position:absolute;inset-block-start:var(--calcite-space-none);block-size:.125rem;background-color:var(--calcite-slider-track-fill-color, var(--calcite-color-brand));border-radius:var(--calcite-corner-radius)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * .5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media(forced-colors:active){.thumb{outline-width:0;outline-offset:0}.handle{outline:var(--calcite-border-width-md) solid transparent;outline-offset:var(--calcite-border-width-md)}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:var(--calcite-space-2xs);inline-size:.125rem;border-width:var(--calcite-border-width-sm);border-style:solid;background-color:var(--calcite-slider-tick-color, var(--calcite-color-border-input));border-color:var(--calcite-slider-tick-border-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));inset-block-start:-2px;pointer-events:none;margin-inline-start:calc(var(--calcite-space-2xs) * -.5)}.tick--end-aligned{margin-inline-start:var(--calcite-space-none);margin-inline-end:calc(var(--calcite-space-2xs) * -.5)}.tick--active{background-color:var(--calcite-slider-tick-selected-color, var(--calcite-color-brand))}.tick__label{pointer-events:none;margin-block-start:var(--calcite-space-md-plus);display:flex;justify-content:center;visibility:hidden}.tick__label--visible{visibility:visible}.tick__label--covered{opacity:0}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--min,.tick__label--max{position:absolute;inset-block-start:calc(var(--calcite-space-px) * -1);inline-size:max-content}.tick__label--left{transform:translate(-.25ch);left:0}.tick__label--right{transform:translate(.25ch);right:0}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{color:var(--calcite-color-text-3);font-weight:var(--calcite-theme-font-weight-regular, var(--calcite-font-weight-normal))}.graph{color:var(--calcite-slider-graph-color, var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3)));block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(var(--calcite-space-md-plus) + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * .5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}.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([hidden]){display:none}[hidden]{display:none}`;
62
+ function getHostOffset(host, label) {
63
+ if (label.left < host.left) {
64
+ return host.left - label.left;
65
+ }
66
+ if (label.right > host.right) {
67
+ return host.right - label.right;
68
+ }
69
+ return 0;
70
+ }
71
+ function getHandleLabelOffsets(host, leftLabel, rightLabel, fontSize) {
72
+ let left = getHostOffset(host, leftLabel);
73
+ let right = rightLabel ? getHostOffset(host, rightLabel) : 0;
74
+ if (!rightLabel || fontSize === void 0) {
75
+ return { left, right, hyphenate: false };
76
+ }
77
+ const overlap = Math.max(leftLabel.right + left + fontSize - (rightLabel.left + right), 0);
78
+ if (overlap === 0) {
79
+ return { left, right, hyphenate: false };
80
+ }
81
+ const labelOffset = fontSize / 2;
82
+ if (left === 0 && right === 0) {
83
+ left = labelOffset - overlap / 2;
84
+ right = overlap / 2;
85
+ const leftHostOffset = getHostOffset(host, {
86
+ left: leftLabel.left + left - labelOffset,
87
+ right: leftLabel.right + left - labelOffset
88
+ });
89
+ const rightHostOffset = getHostOffset(host, {
90
+ left: rightLabel.left + right,
91
+ right: rightLabel.right + right
92
+ });
93
+ left += leftHostOffset + rightHostOffset;
94
+ right += leftHostOffset + rightHostOffset;
95
+ } else if (left > 0 || right > 0) {
96
+ left += labelOffset;
97
+ right += overlap;
98
+ } else {
99
+ left = -(Math.abs(left) + overlap - labelOffset);
100
+ }
101
+ return { left, right, hyphenate: true };
102
+ }
64
103
  function getVisibleTickLabels(labels, keepOverlappingEndpoints = false) {
65
104
  const min = labels.find((label) => label.edge === "min");
66
105
  const max = labels.find((label) => label.edge === "max");
@@ -186,19 +225,11 @@ class Slider extends LitElement {
186
225
  })(this);
187
226
  this.guid = IDS.host(guid());
188
227
  this.maxHandleRef = createRef();
189
- this.maxValueLabelRefs = {
190
- label: createRef(),
191
- static: createRef(),
192
- transformed: createRef()
193
- };
228
+ this.maxValueLabelRef = createRef();
194
229
  this.maxTickLabelRef = createRef();
195
230
  this.messages = useT9n({ blocking: true });
196
231
  this.minHandleRef = createRef();
197
- this.minValueLabelRefs = {
198
- label: createRef(),
199
- static: createRef(),
200
- transformed: createRef()
201
- };
232
+ this.minValueLabelRef = createRef();
202
233
  this.minTickLabelRef = createRef();
203
234
  this.pointerUpDragEnd = (event) => {
204
235
  if (this.disabled || !isPrimaryPointerButton(event)) {
@@ -311,13 +342,7 @@ class Slider extends LitElement {
311
342
  return;
312
343
  }
313
344
  if (this.labelHandles) {
314
- this.adjustHostObscuredHandleLabel("value");
315
- if (isRange(this.value)) {
316
- this.adjustHostObscuredHandleLabel("minValue");
317
- if (!(this.precise && !this.hasHistogram)) {
318
- this.hyphenateCollidingRangeHandleLabels();
319
- }
320
- }
345
+ this.positionHandleLabels();
321
346
  }
322
347
  this.hideCoveredBoundingTickLabels();
323
348
  if (this.tickLabelLayout && this.tickLabelLayout.direction !== this.direction) {
@@ -591,68 +616,33 @@ class Slider extends LitElement {
591
616
  const range = this.max - this.min;
592
617
  return (num - this.min) / range;
593
618
  }
594
- adjustHostObscuredHandleLabel(name) {
595
- const labelRefs = name === "minValue" ? this.minValueLabelRefs : this.maxValueLabelRefs;
596
- const label = labelRefs.label.value;
597
- const labelStatic = labelRefs.static.value;
598
- const labelTransformed = labelRefs.transformed.value;
599
- const labelStaticBounds = labelStatic.getBoundingClientRect();
600
- const labelStaticOffset = this.getHostOffset(labelStaticBounds.left, labelStaticBounds.right);
601
- label.style.transform = `translateX(${labelStaticOffset}px)`;
602
- labelTransformed.style.transform = `translateX(${labelStaticOffset}px)`;
603
- }
604
- hyphenateCollidingRangeHandleLabels() {
605
- const mirror = this.shouldMirror();
606
- const leftValueLabelRefs = mirror ? this.maxValueLabelRefs : this.minValueLabelRefs;
607
- const rightValueLabelRefs = mirror ? this.minValueLabelRefs : this.maxValueLabelRefs;
608
- const leftValueLabel = leftValueLabelRefs.label.value;
609
- const leftValueLabelStatic = leftValueLabelRefs.static.value;
610
- const leftValueLabelTransformed = leftValueLabelRefs.transformed.value;
611
- const leftValueLabelStaticHostOffset = this.getHostOffset(leftValueLabelStatic.getBoundingClientRect().left, leftValueLabelStatic.getBoundingClientRect().right);
612
- const rightValueLabel = rightValueLabelRefs.label.value;
613
- const rightValueLabelStatic = rightValueLabelRefs.static.value;
614
- const rightValueLabelTransformed = rightValueLabelRefs.transformed.value;
615
- const rightValueLabelStaticHostOffset = this.getHostOffset(rightValueLabelStatic.getBoundingClientRect().left, rightValueLabelStatic.getBoundingClientRect().right);
616
- const labelFontSize = this.getFontSizeForElement(leftValueLabel);
617
- const labelTransformedOverlap = this.getRangeLabelOverlap(leftValueLabelTransformed, rightValueLabelTransformed);
618
- const hyphenLabel = leftValueLabel;
619
- const labelOffset = labelFontSize / 2;
620
- if (labelTransformedOverlap > 0) {
621
- hyphenLabel.classList.add(CSS.hyphen, CSS.hyphenWrap);
622
- if (rightValueLabelStaticHostOffset === 0 && leftValueLabelStaticHostOffset === 0) {
623
- let leftValueLabelTranslate = labelTransformedOverlap / 2 - labelOffset;
624
- leftValueLabelTranslate = Math.sign(leftValueLabelTranslate) === -1 ? Math.abs(leftValueLabelTranslate) : -leftValueLabelTranslate;
625
- const leftValueLabelTransformedHostOffset = this.getHostOffset(leftValueLabelTransformed.getBoundingClientRect().left + leftValueLabelTranslate - labelOffset, leftValueLabelTransformed.getBoundingClientRect().right + leftValueLabelTranslate - labelOffset);
626
- let rightValueLabelTranslate = labelTransformedOverlap / 2;
627
- const rightValueLabelTransformedHostOffset = this.getHostOffset(rightValueLabelTransformed.getBoundingClientRect().left + rightValueLabelTranslate, rightValueLabelTransformed.getBoundingClientRect().right + rightValueLabelTranslate);
628
- if (leftValueLabelTransformedHostOffset !== 0) {
629
- leftValueLabelTranslate += leftValueLabelTransformedHostOffset;
630
- rightValueLabelTranslate += leftValueLabelTransformedHostOffset;
631
- }
632
- if (rightValueLabelTransformedHostOffset !== 0) {
633
- leftValueLabelTranslate += rightValueLabelTransformedHostOffset;
634
- rightValueLabelTranslate += rightValueLabelTransformedHostOffset;
635
- }
636
- leftValueLabel.style.transform = `translateX(${leftValueLabelTranslate}px)`;
637
- leftValueLabelTransformed.style.transform = `translateX(${leftValueLabelTranslate - labelOffset}px)`;
638
- rightValueLabel.style.transform = `translateX(${rightValueLabelTranslate}px)`;
639
- rightValueLabelTransformed.style.transform = `translateX(${rightValueLabelTranslate}px)`;
640
- } else if (leftValueLabelStaticHostOffset > 0 || rightValueLabelStaticHostOffset > 0) {
641
- leftValueLabel.style.transform = `translateX(${leftValueLabelStaticHostOffset + labelOffset}px)`;
642
- rightValueLabel.style.transform = `translateX(${labelTransformedOverlap + rightValueLabelStaticHostOffset}px)`;
643
- rightValueLabelTransformed.style.transform = `translateX(${labelTransformedOverlap + rightValueLabelStaticHostOffset}px)`;
644
- } else if (leftValueLabelStaticHostOffset < 0 || rightValueLabelStaticHostOffset < 0) {
645
- let leftValueLabelTranslate = Math.abs(leftValueLabelStaticHostOffset) + labelTransformedOverlap - labelOffset;
646
- leftValueLabelTranslate = Math.sign(leftValueLabelTranslate) === -1 ? Math.abs(leftValueLabelTranslate) : -leftValueLabelTranslate;
647
- leftValueLabel.style.transform = `translateX(${leftValueLabelTranslate}px)`;
648
- leftValueLabelTransformed.style.transform = `translateX(${leftValueLabelTranslate - labelOffset}px)`;
649
- }
650
- } else {
651
- hyphenLabel.classList.remove(CSS.hyphen, CSS.hyphenWrap);
652
- leftValueLabel.style.transform = `translateX(${leftValueLabelStaticHostOffset}px)`;
653
- leftValueLabelTransformed.style.transform = `translateX(${leftValueLabelStaticHostOffset}px)`;
654
- rightValueLabel.style.transform = `translateX(${rightValueLabelStaticHostOffset}px)`;
655
- rightValueLabelTransformed.style.transform = `translateX(${rightValueLabelStaticHostOffset}px)`;
619
+ positionHandleLabels() {
620
+ const valueIsRange = isRange(this.value);
621
+ const mirror = valueIsRange && this.shouldMirror();
622
+ const leftLabel = (valueIsRange && !mirror ? this.minValueLabelRef : this.maxValueLabelRef).value;
623
+ const leftHandle = (valueIsRange && !mirror ? this.minHandleRef : this.maxHandleRef).value;
624
+ const rightLabel = valueIsRange ? (mirror ? this.minValueLabelRef : this.maxValueLabelRef).value : void 0;
625
+ const rightHandle = valueIsRange ? (mirror ? this.minHandleRef : this.maxHandleRef).value : void 0;
626
+ const host = this.el.getBoundingClientRect();
627
+ const range = document.createRange();
628
+ const measure = (label, handle) => {
629
+ range.selectNodeContents(label);
630
+ const { width } = range.getBoundingClientRect();
631
+ const handleBounds = handle.getBoundingClientRect();
632
+ const center = (handleBounds.left + handleBounds.right) / 2;
633
+ return { left: center - width / 2, right: center + width / 2 };
634
+ };
635
+ const leftBounds = measure(leftLabel, leftHandle);
636
+ const rightBounds = rightLabel ? measure(rightLabel, rightHandle) : void 0;
637
+ const canJoin = valueIsRange && !(this.precise && !this.hasHistogram);
638
+ const offsets = getHandleLabelOffsets(host, leftBounds, rightBounds, canJoin ? this.getFontSizeForElement(leftLabel) : void 0);
639
+ leftLabel.style.transform = `translateX(${offsets.left}px)`;
640
+ if (rightLabel) {
641
+ rightLabel.style.transform = `translateX(${offsets.right}px)`;
642
+ }
643
+ if (canJoin) {
644
+ leftLabel.classList.toggle(CSS.hyphen, offsets.hyphenate);
645
+ leftLabel.classList.toggle(CSS.hyphenWrap, offsets.hyphenate);
656
646
  }
657
647
  }
658
648
  hideCoveredBoundingTickLabels() {
@@ -742,23 +732,6 @@ class Slider extends LitElement {
742
732
  }
743
733
  this.tickLabelLayout.visibleValues = visibleValues;
744
734
  }
745
- getHostOffset(leftBounds, rightBounds) {
746
- const { left, right } = this.el.getBoundingClientRect();
747
- if (leftBounds < left) {
748
- return left - leftBounds;
749
- }
750
- if (rightBounds > right) {
751
- return -(rightBounds - right);
752
- }
753
- return 0;
754
- }
755
- getRangeLabelOverlap(leftLabel, rightLabel) {
756
- const leftLabelBounds = leftLabel.getBoundingClientRect();
757
- const rightLabelBounds = rightLabel.getBoundingClientRect();
758
- const leftLabelFontSize = this.getFontSizeForElement(leftLabel);
759
- const rangeLabelOverlap = leftLabelBounds.right + leftLabelFontSize - rightLabelBounds.left;
760
- return Math.max(rangeLabelOverlap, 0);
761
- }
762
735
  isMinTickLabelObscured(minLabel, handle) {
763
736
  const minLabelBounds = minLabel.getBoundingClientRect();
764
737
  const handleBounds = handle.getBoundingClientRect();
@@ -863,14 +836,8 @@ class Slider extends LitElement {
863
836
  const displayedValue = valueProp === "minValue" ? this.internalLabelFormatter(this.minValue, "min") : valueProp === "maxValue" ? this.internalLabelFormatter(this.maxValue, "max") : this.internalLabelFormatter(value, "value");
864
837
  const thumbStyle = isMinThumb ? { left: `${mirror ? 100 - minInterval : minInterval}%` } : { right: `${mirror ? maxInterval : 100 - maxInterval}%` };
865
838
  const thumbLabelClasses = `${CSS.handleLabel} ${isMinThumb ? CSS.handleLabelMinValue : CSS.handleLabelValue}`;
866
- const labelRefs = isMinThumb ? this.minValueLabelRefs : this.maxValueLabelRefs;
867
- const labels = isLabeled ? [
868
- html`<span aria-hidden=true class=${safeClassMap(thumbLabelClasses)} ${ref(labelRefs.label)}>${displayedValue}</span>`,
869
- html`<span aria-hidden=true class=${`${thumbLabelClasses} ${CSS.static}`} ${ref(labelRefs.static)}>${displayedValue}</span>`,
870
- html`<span aria-hidden=true class=${`${thumbLabelClasses} ${CSS.transformed}`} ${ref(labelRefs.transformed)}>${displayedValue}</span>`
871
- ] : [];
872
839
  const thumbContent = [
873
- ...labels,
840
+ isLabeled && html`<span aria-hidden=true class=${safeClassMap(thumbLabelClasses)} ${ref(isMinThumb ? this.minValueLabelRef : this.maxValueLabelRef)}>${displayedValue}</span>` || "",
874
841
  html`<div class=${safeClassMap(CSS.handle)}></div>`,
875
842
  isPrecise && html`<div class=${safeClassMap(CSS.handleExtension)}></div>` || ""
876
843
  ];
@@ -13,10 +13,11 @@ export abstract class SortHandle extends LitElement {
13
13
  */
14
14
  accessor addToItems: SortMenuItem[];
15
15
  /**
16
- * When `true`, interaction is prevented and the component is displayed with lower opacity.
16
+ * When true, prevents interaction and decreases the component's opacity.
17
17
  *
18
18
  * @default false
19
19
  * @internal
20
+ * @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
20
21
  */
21
22
  accessor disabled: boolean;
22
23
  /**
@@ -81,7 +82,7 @@ export abstract class SortHandle extends LitElement {
81
82
  */
82
83
  accessor placement: LogicalPlacement;
83
84
  /**
84
- * Specifies the size of the component.
85
+ * Specifies the component's size.
85
86
  *
86
87
  * @default "m"
87
88
  * @internal
@@ -50,9 +50,10 @@ export abstract class SplitButton extends LitElement {
50
50
  */
51
51
  accessor appearance: Extract<"outline" | "outline-fill" | "solid" | "transparent", Appearance>;
52
52
  /**
53
- * When `true`, interaction is prevented and the component is displayed with lower opacity.
53
+ * When true, prevents interaction and decreases the component's opacity.
54
54
  *
55
55
  * @default false
56
+ * @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
56
57
  */
57
58
  accessor disabled: boolean;
58
59
  /**
@@ -32,6 +32,7 @@ export abstract class Stack extends LitElement {
32
32
  *
33
33
  * @default false
34
34
  * @internal
35
+ * @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
35
36
  */
36
37
  accessor disabled: boolean;
37
38
  }
@@ -57,9 +57,10 @@ export abstract class StepperItem extends LitElement {
57
57
  /** Specifies a description for the component. Displays below the `heading`. */
58
58
  accessor description: string | undefined;
59
59
  /**
60
- * When `true`, prevents interaction and decreases the component's opacity.
60
+ * When true, prevents interaction and decreases the component's opacity.
61
61
  *
62
62
  * @default false
63
+ * @see [MDN - disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
63
64
  */
64
65
  accessor disabled: boolean;
65
66
  /**
@@ -71,7 +72,7 @@ export abstract class StepperItem extends LitElement {
71
72
  /** Specifies the component's heading text. */
72
73
  accessor heading: string | undefined;
73
74
  /**
74
- * When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
75
+ * When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`)
75
76
  *
76
77
  * @default false
77
78
  */