@esri/calcite-components 5.2.0-next.32 → 5.2.0-next.33

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 (198) hide show
  1. package/dist/cdn/{INPOEQLV.js → 2GG5WJZ2.js} +1 -1
  2. package/dist/cdn/{GSZ5XODZ.js → 2RR6DRJZ.js} +1 -1
  3. package/dist/cdn/{PCDEZQ5O.js → 2ZCW5SHY.js} +1 -1
  4. package/dist/cdn/{7H6JEAAY.js → 37HSCZWM.js} +1 -1
  5. package/dist/cdn/{EMK36YXI.js → 37MDDA2R.js} +1 -1
  6. package/dist/cdn/{7HUQTHRG.js → 3GJBTYP6.js} +1 -1
  7. package/dist/cdn/{X4X4FZMJ.js → 3I6NCIU6.js} +1 -1
  8. package/dist/cdn/{CLDDWBPJ.js → 3US3IAPR.js} +1 -1
  9. package/dist/cdn/{3I2SZUSI.js → 3WLVOWHC.js} +1 -1
  10. package/dist/cdn/{OSK3U7WF.js → 4674UWCN.js} +1 -1
  11. package/dist/cdn/{IOHWA5AF.js → 46EMOVPJ.js} +1 -1
  12. package/dist/cdn/{F3KQEYE7.js → 46XLMFW4.js} +1 -1
  13. package/dist/cdn/{K4BDB233.js → 4B2H4UXQ.js} +1 -1
  14. package/dist/cdn/{3KPB5ZG3.js → 4DFCGU4F.js} +1 -1
  15. package/dist/cdn/{3UEVPCND.js → 4GIJM5PH.js} +1 -1
  16. package/dist/cdn/{XF7AZMTR.js → 4HDJWLQ7.js} +1 -1
  17. package/dist/cdn/{T6HVZ47J.js → 4OFBKSKN.js} +1 -1
  18. package/dist/cdn/{M5CAMUJA.js → 4QZUWISY.js} +1 -1
  19. package/dist/cdn/{GQZX6FJD.js → 5GX5HL7A.js} +1 -1
  20. package/dist/cdn/{IZS3M5HV.js → 5IG7LHMX.js} +1 -1
  21. package/dist/cdn/{POIX33V2.js → 5VGVDEIU.js} +1 -1
  22. package/dist/cdn/{F6RUE2M2.js → 6P2K3A57.js} +1 -1
  23. package/dist/cdn/{BY7EPIAJ.js → 6PMLDIXD.js} +1 -1
  24. package/dist/cdn/{J7GLTPOG.js → 6QX32DQR.js} +1 -1
  25. package/dist/cdn/{C23B3A4Z.js → 6RT6J3DX.js} +1 -1
  26. package/dist/cdn/{4PRZO5FL.js → 6ZXBCNXC.js} +1 -1
  27. package/dist/cdn/{US7R2KAH.js → 75I3WNIM.js} +1 -1
  28. package/dist/cdn/{6MJGHCHL.js → 77QCPBMC.js} +1 -1
  29. package/dist/cdn/{SBCMJF3D.js → AVCECO7Z.js} +1 -1
  30. package/dist/cdn/{EL3MWVTU.js → AZPPPVW7.js} +1 -1
  31. package/dist/cdn/{SWO5BPAD.js → B4ZQFSCB.js} +1 -1
  32. package/dist/cdn/{AVIL7OG7.js → BABSLEYQ.js} +1 -1
  33. package/dist/cdn/{LMVGXCUB.js → BAEPIHLC.js} +1 -1
  34. package/dist/cdn/{5TAEPFKA.js → BBGUUQ27.js} +1 -1
  35. package/dist/cdn/{COEPTSMJ.js → BKL6IZCX.js} +1 -1
  36. package/dist/cdn/{5D5KWSRU.js → BRKJWLJ3.js} +1 -1
  37. package/dist/cdn/{RIWCMIVC.js → BWUBINBO.js} +1 -1
  38. package/dist/cdn/{FIMDUKAT.js → BX3OKDMC.js} +1 -1
  39. package/dist/cdn/{YFNGK3IC.js → C47RBXMD.js} +1 -1
  40. package/dist/cdn/{YX2464BY.js → C5DKUE6G.js} +1 -1
  41. package/dist/cdn/{KKFKA36R.js → CFZYQZYE.js} +1 -1
  42. package/dist/cdn/{RQNCEP7V.js → CHGLSJHW.js} +1 -1
  43. package/dist/cdn/{W7WKPRBR.js → CKEFWQNB.js} +1 -1
  44. package/dist/cdn/{H5JD4SSM.js → CM3XMRLZ.js} +1 -1
  45. package/dist/cdn/{C6GZFOWX.js → CMC2XDM6.js} +1 -1
  46. package/dist/cdn/{6BBTSWZJ.js → D4KZEAYI.js} +1 -1
  47. package/dist/cdn/{KTMPQFXM.js → D6CXDU3W.js} +1 -1
  48. package/dist/cdn/{7VJQDFM5.js → DB57RYTA.js} +1 -1
  49. package/dist/cdn/{CZ6EC5N6.js → DFF4EOLD.js} +1 -1
  50. package/dist/cdn/{UPBB5BK5.js → DN5OMZUO.js} +1 -1
  51. package/dist/cdn/{IELIVXOH.js → DTSFQVNC.js} +1 -1
  52. package/dist/cdn/{BRQQDHKC.js → ECSSKIE3.js} +1 -1
  53. package/dist/cdn/{7CJ5CM4O.js → EFWGS5PI.js} +1 -1
  54. package/dist/cdn/{FRPHXRCY.js → EHQCJKE5.js} +1 -1
  55. package/dist/cdn/{7NMYOO4C.js → EN55H6CB.js} +1 -1
  56. package/dist/cdn/{EI4TFI4G.js → EOAEBSPQ.js} +1 -1
  57. package/dist/cdn/{XCC7RZKY.js → ET3FQEVJ.js} +1 -1
  58. package/dist/cdn/{EEHJN6D5.js → F4H4VQT2.js} +1 -1
  59. package/dist/cdn/{M7ZWJ3WS.js → F5MUC5DJ.js} +1 -1
  60. package/dist/cdn/{FJGZSA3T.js → FPCL46QC.js} +1 -1
  61. package/dist/cdn/{A4JYA56A.js → FRRT4G2O.js} +1 -1
  62. package/dist/cdn/{PUAN7SC7.js → FU6Z4CWX.js} +1 -1
  63. package/dist/cdn/{WJ725XFM.js → G7SZDFCD.js} +1 -1
  64. package/dist/cdn/{I2GT4O6W.js → GGMK3KZU.js} +1 -1
  65. package/dist/cdn/{RX7LNL6H.js → GI33XEIF.js} +1 -1
  66. package/dist/cdn/{KPLMTG7M.js → GKNNITKF.js} +1 -1
  67. package/dist/cdn/{FNFMG4OS.js → GR6WAC5B.js} +1 -1
  68. package/dist/cdn/{DGP7CLGV.js → H6KT2QMH.js} +1 -1
  69. package/dist/cdn/{J5RTSFH2.js → HAUC3ZTO.js} +1 -1
  70. package/dist/cdn/{GINPHCKX.js → HBZYYCM2.js} +1 -1
  71. package/dist/cdn/{TE36HTKY.js → HEXBKECR.js} +1 -1
  72. package/dist/cdn/{7XLKMGMO.js → HMJ24I6B.js} +1 -1
  73. package/dist/cdn/{6ZJIHGRE.js → HUPA5IFV.js} +1 -1
  74. package/dist/cdn/{7NGKKXBY.js → IB72JSFF.js} +1 -1
  75. package/dist/cdn/{3DWN3FBO.js → IT6JFKUK.js} +1 -1
  76. package/dist/cdn/{JZDX222C.js → J5VDG2CV.js} +1 -1
  77. package/dist/cdn/{GMGUT6R2.js → JOCLP663.js} +1 -1
  78. package/dist/cdn/{GBA56KXZ.js → JWBGLAPO.js} +1 -1
  79. package/dist/cdn/{4XKPZDWA.js → KNGIJFVN.js} +1 -1
  80. package/dist/cdn/{G7GMQSWX.js → KOI4GURL.js} +1 -1
  81. package/dist/cdn/{YJDVSJI7.js → KZ7TTBTC.js} +1 -1
  82. package/dist/cdn/{MQZF7GBV.js → LI52BZOS.js} +1 -1
  83. package/dist/cdn/{JTPCZIUB.js → LSO6DDC3.js} +1 -1
  84. package/dist/cdn/{TCSXUTNB.js → LWASXXOJ.js} +1 -1
  85. package/dist/cdn/{2ALI4ENC.js → LXEWKP4V.js} +1 -1
  86. package/dist/cdn/{MUQLRK7U.js → M4KQZXFD.js} +1 -1
  87. package/dist/cdn/{KYNFC67E.js → M6XLHY3H.js} +1 -1
  88. package/dist/cdn/{RCGGD4VD.js → MJQR7Q4D.js} +1 -1
  89. package/dist/cdn/{E4NELUHA.js → MPTMZGOH.js} +1 -1
  90. package/dist/cdn/{6UAE7TVW.js → MVJ53E5E.js} +1 -1
  91. package/dist/cdn/{34S4GEZH.js → NG2FNZKH.js} +1 -1
  92. package/dist/cdn/{KHVPREQL.js → NJ53QODK.js} +1 -1
  93. package/dist/cdn/{MYV5GGZF.js → NRDIA4LH.js} +1 -1
  94. package/dist/cdn/{CJ2SUM7M.js → NVCKG2LA.js} +1 -1
  95. package/dist/cdn/{BRLCJYRS.js → NVXOJYTF.js} +1 -1
  96. package/dist/cdn/{TNAV4Y7T.js → O2NZXAPE.js} +1 -1
  97. package/dist/cdn/{ZVP3ZHJW.js → O4CG2KMT.js} +1 -1
  98. package/dist/cdn/{TFCDXEXM.js → OHNA55LL.js} +1 -1
  99. package/dist/cdn/{HBFKOP4O.js → OMTJ4L2P.js} +1 -1
  100. package/dist/cdn/{4OTPD46Y.js → OTEQPSJQ.js} +1 -1
  101. package/dist/cdn/{JDS4Q3DQ.js → PKRLTMPS.js} +1 -1
  102. package/dist/cdn/{H5F5TKSQ.js → PTCHII4U.js} +1 -1
  103. package/dist/cdn/{KYYFCGSM.js → PV7TDYU3.js} +1 -1
  104. package/dist/cdn/{5T7XXZVM.js → PXYIOZIV.js} +1 -1
  105. package/dist/cdn/{DYNPRZCV.js → Q2WVT7UK.js} +1 -1
  106. package/dist/cdn/{ZTWTNJJ6.js → QECDBCGY.js} +1 -1
  107. package/dist/cdn/{AGS5VTQ7.js → QNDDCBWA.js} +1 -1
  108. package/dist/cdn/{OSV7CFKC.js → QURYHC53.js} +1 -1
  109. package/dist/cdn/{SP5D6SJ2.js → R7KFMQQW.js} +1 -1
  110. package/dist/cdn/{TBYUWYMH.js → RGID7PSO.js} +1 -1
  111. package/dist/cdn/{STG4CABT.js → RGSJYFQH.js} +1 -1
  112. package/dist/cdn/{7YKEDO2W.js → RJBTDVGZ.js} +1 -1
  113. package/dist/cdn/{OV4L7Y2U.js → RTAA5SCY.js} +1 -1
  114. package/dist/cdn/{CE6DVH5U.js → RWVOVOFX.js} +1 -1
  115. package/dist/cdn/{QYPBF7SX.js → S3VRNZZL.js} +1 -1
  116. package/dist/cdn/{YRRWAHXD.js → S5CTHPE7.js} +1 -1
  117. package/dist/cdn/{6QTMT3BR.js → SPIULO4N.js} +1 -1
  118. package/dist/cdn/{YQLZIZEE.js → SYREZKUP.js} +1 -1
  119. package/dist/cdn/{PMMNGLYO.js → T6NIS7OZ.js} +1 -1
  120. package/dist/cdn/{EL4KJ476.js → TIHX4AAH.js} +1 -1
  121. package/dist/cdn/{WMKL773C.js → TXCBHQPT.js} +1 -1
  122. package/dist/cdn/{SIQA2PBC.js → TZLAWKW7.js} +1 -1
  123. package/dist/cdn/{HLXJR3SQ.js → UHB37CJC.js} +1 -1
  124. package/dist/cdn/{4CJPVAV6.js → VBZNY3J7.js} +1 -1
  125. package/dist/cdn/{3NZLINPY.js → VVVKQ5W4.js} +1 -1
  126. package/dist/cdn/{AD6N6O57.js → W2WT7Q5D.js} +1 -1
  127. package/dist/cdn/{LM5344X3.js → W7CROCVR.js} +1 -1
  128. package/dist/cdn/{JPP57EQ2.js → WBFIK4DJ.js} +1 -1
  129. package/dist/cdn/{5PO5KWY4.js → WLNVICGJ.js} +1 -1
  130. package/dist/cdn/{34LN2LJS.js → WVV35MYK.js} +1 -1
  131. package/dist/cdn/{UIRLGHFP.js → WZTZBANR.js} +1 -1
  132. package/dist/cdn/{KDYHO3DX.js → X3E3YKXL.js} +1 -1
  133. package/dist/cdn/{MO5B4VX7.js → X3QN4ONZ.js} +1 -1
  134. package/dist/cdn/{DQ3PCOCG.js → X4JVOXEB.js} +1 -1
  135. package/dist/cdn/X55EXSZ4.js +2 -0
  136. package/dist/cdn/{MEVB3IC5.js → XGEGV5M4.js} +1 -1
  137. package/dist/cdn/{CWZ74ACK.js → XMX7ZLMR.js} +1 -1
  138. package/dist/cdn/{X6FZGCQO.js → Y5VJK3NK.js} +1 -1
  139. package/dist/cdn/{QS7YJ7ID.js → YIXTHTJK.js} +1 -1
  140. package/dist/cdn/{BTQF7UHA.js → YRB3YUJ2.js} +1 -1
  141. package/dist/cdn/{LKHNWV7H.js → ZAWJZUWL.js} +1 -1
  142. package/dist/cdn/{INZFPRLC.js → ZDD5BPHD.js} +1 -1
  143. package/dist/cdn/{Z5RHXMLK.js → ZLOFPY73.js} +1 -1
  144. package/dist/cdn/{INB4ESKN.js → ZM5MQRTG.js} +1 -1
  145. package/dist/cdn/{A5XRC6GV.js → ZY6HQZ6P.js} +1 -1
  146. package/dist/cdn/index.js +1 -1
  147. package/dist/chunks/runtime.js +3 -3
  148. package/dist/components/calcite-accordion/customElement.d.ts +4 -6
  149. package/dist/components/calcite-action-bar/customElement.d.ts +20 -6
  150. package/dist/components/calcite-action-bar/customElement.js +147 -15
  151. package/dist/components/calcite-action-group/customElement.d.ts +8 -11
  152. package/dist/components/calcite-action-menu/customElement.d.ts +3 -3
  153. package/dist/components/calcite-action-pad/customElement.d.ts +3 -3
  154. package/dist/components/calcite-autocomplete/customElement.d.ts +3 -3
  155. package/dist/components/calcite-block/customElement.d.ts +3 -3
  156. package/dist/components/calcite-block-section/customElement.d.ts +3 -4
  157. package/dist/components/calcite-chip-group/customElement.d.ts +5 -8
  158. package/dist/components/calcite-combobox/customElement.d.ts +15 -21
  159. package/dist/components/calcite-dialog/customElement.d.ts +10 -10
  160. package/dist/components/calcite-dropdown/customElement.d.ts +3 -3
  161. package/dist/components/calcite-dropdown-group/customElement.d.ts +4 -6
  162. package/dist/components/calcite-flow-item/customElement.d.ts +3 -3
  163. package/dist/components/calcite-focus-trap/customElement.d.ts +6 -6
  164. package/dist/components/calcite-input-date-picker/customElement.d.ts +3 -3
  165. package/dist/components/calcite-input-time-picker/customElement.d.ts +7 -7
  166. package/dist/components/calcite-input-time-zone/customElement.d.ts +7 -7
  167. package/dist/components/calcite-label/customElement.d.ts +3 -1
  168. package/dist/components/calcite-list/customElement.d.ts +15 -24
  169. package/dist/components/calcite-meter/customElement.d.ts +4 -3
  170. package/dist/components/calcite-notice/customElement.d.ts +3 -1
  171. package/dist/components/calcite-panel/customElement.d.ts +3 -3
  172. package/dist/components/calcite-popover/customElement.d.ts +9 -9
  173. package/dist/components/calcite-segmented-control/customElement.d.ts +3 -1
  174. package/dist/components/calcite-select/customElement.d.ts +3 -1
  175. package/dist/components/calcite-sheet/customElement.d.ts +6 -6
  176. package/dist/components/calcite-shell-panel/customElement.d.ts +6 -10
  177. package/dist/components/calcite-sort-handle/customElement.d.ts +3 -3
  178. package/dist/components/calcite-split-button/customElement.d.ts +6 -4
  179. package/dist/components/calcite-swatch-group/customElement.d.ts +5 -8
  180. package/dist/components/calcite-table/customElement.d.ts +4 -6
  181. package/dist/components/calcite-table-cell/customElement.d.ts +5 -4
  182. package/dist/components/calcite-table-row/customElement.d.ts +5 -4
  183. package/dist/components/calcite-tile-group/customElement.d.ts +9 -9
  184. package/dist/components/calcite-time-picker/customElement.d.ts +4 -4
  185. package/dist/components/calcite-tooltip/customElement.d.ts +3 -3
  186. package/dist/components/calcite-tree/customElement.d.ts +9 -15
  187. package/dist/controllers/useTime.d.ts +4 -4
  188. package/dist/docs/api.json +1 -1
  189. package/dist/docs/docs.json +1 -1
  190. package/dist/docs/vscode.html-custom-data.json +1 -1
  191. package/dist/docs/web-types.json +1 -1
  192. package/dist/loader.js +1 -1
  193. package/dist/types/lumina.d.ts +1 -1
  194. package/dist/types/preact.d.ts +1 -1
  195. package/dist/types/react.d.ts +1 -1
  196. package/dist/types/stencil.d.ts +1 -1
  197. package/package.json +2 -2
  198. package/dist/cdn/HKLXMKWW.js +0 -2
@@ -43,6 +43,9 @@ const getOverflowCount = ({
43
43
  };
44
44
  const CSS = {
45
45
  container: "container",
46
+ hasActionGroups: "has-action-groups",
47
+ lineOverlay: "line-overlay",
48
+ line: "line",
46
49
  actionGroupEnd: "action-group--end",
47
50
  actionGroupStart: "action-group--start"
48
51
  };
@@ -60,6 +63,18 @@ const queryActions = (items) => items.flatMap((item) => {
60
63
  }
61
64
  return item;
62
65
  }).filter((action) => !!action);
66
+ const getWrapItemCrossOffset = ({
67
+ item,
68
+ containerRect,
69
+ horizontal,
70
+ rtl
71
+ }) => {
72
+ const rect = item.getBoundingClientRect();
73
+ if (horizontal) {
74
+ return rect.top - containerRect.top;
75
+ }
76
+ return rtl ? containerRect.right - rect.right : rect.left - containerRect.left;
77
+ };
63
78
  const overflowActions = ({
64
79
  actionGroups,
65
80
  expanded,
@@ -92,7 +107,7 @@ const overflowActions = ({
92
107
  group.manager.component.requestUpdate();
93
108
  });
94
109
  };
95
- const styles = css`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([scale=s]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-spacing-xxs));--calcite-internal-action-bar-padding: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-spacing-sm));--calcite-internal-action-bar-padding: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-space-sm-plus));--calcite-internal-action-bar-padding: var(--calcite-spacing-sm-plus)}:host{display:inline-flex;align-self:stretch;background:transparent;--calcite-internal-action-group-dividing-border-margin: calc(var(--calcite-spacing-base) + 1px)}.container{display:inline-flex;flex:1 1 auto;flex-direction:column;background-color:var(--calcite-action-bar-background-color, var(--calcite-color-foreground-1));gap:var(--calcite-internal-action-bar-gap);padding:var(--calcite-internal-action-bar-padding)}@keyframes in{0%{opacity:0}to{opacity:1}}:host([floating]) .container{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;overflow:hidden;border-radius:var(--calcite-action-bar-corner-radius, var(--calcite-corner-radius-round));box-shadow:var(--calcite-action-bar-shadow, var(--calcite-shadow-md))}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]):host([overflow-actions-disabled]) .container{overflow-y:auto}:host([layout=vertical]):host([expanded]) .container{max-inline-size:var(--calcite-action-bar-expanded-max-width, auto)}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm);border-image:linear-gradient(to right,transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent var(--calcite-internal-action-group-dividing-border-margin));border-image-slice:1;padding-block-end:var(--calcite-internal-action-bar-padding)}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]):host([overflow-actions-disabled]) .container{overflow-x:auto}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=horizontal]) ::slotted(calcite-action-group:not(:last-of-type)){border-image:linear-gradient(transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent var(--calcite-internal-action-group-dividing-border-margin));border-image-slice:1;border-inline-end-width:var(--calcite-border-width-sm);padding-inline-end:var(--calcite-internal-action-bar-padding)}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}`;
110
+ const styles = css`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([scale=s]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-spacing-xxs));--calcite-internal-action-bar-padding: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-spacing-sm));--calcite-internal-action-bar-padding: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-space-sm-plus));--calcite-internal-action-bar-padding: var(--calcite-spacing-sm-plus)}:host{display:inline-flex;align-self:stretch;background:transparent;--calcite-internal-action-group-dividing-border-margin: calc(var(--calcite-spacing-base) + 1px)}.container{display:inline-flex;flex:1 1 auto;flex-direction:column;background-color:var(--calcite-action-bar-background-color, var(--calcite-color-foreground-1));gap:var(--calcite-internal-action-bar-gap);padding:var(--calcite-internal-action-bar-padding)}@keyframes in{0%{opacity:0}to{opacity:1}}:host([floating]) .container{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;overflow:hidden;border-radius:var(--calcite-action-bar-corner-radius, var(--calcite-corner-radius-round));box-shadow:var(--calcite-action-bar-shadow, var(--calcite-shadow-md))}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]):host([overflow-actions-disabled]) .container{overflow-y:auto}:host([layout=vertical]):host([expanded]) .container{max-inline-size:var(--calcite-action-bar-expanded-max-width, auto)}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm);border-image:linear-gradient(to right,transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent var(--calcite-internal-action-group-dividing-border-margin));border-image-slice:1;padding-block-end:var(--calcite-internal-action-bar-padding)}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]):host([overflow-actions-disabled]) .container{overflow-x:auto}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=horizontal]) ::slotted(calcite-action-group:not(:last-of-type)){border-image:linear-gradient(transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent var(--calcite-internal-action-group-dividing-border-margin));border-image-slice:1;border-inline-end-width:var(--calcite-border-width-sm);padding-inline-end:var(--calcite-internal-action-bar-padding)}.action-group--end{justify-content:flex-end}.line-overlay{position:absolute;inset:0;pointer-events:none}.line{position:absolute;--calcite-internal-action-bar-divider-inset: calc( var(--calcite-internal-action-group-dividing-border-margin) - var(--calcite-border-width-sm) )}:host([overflow-mode=wrap][layout=horizontal]) .container,:host([overflow-mode=wrap][layout=vertical]) .container{position:relative;flex-wrap:wrap;align-content:flex-start;--calcite-internal-action-bar-line-gap: calc( var(--calcite-internal-action-bar-padding) + var(--calcite-internal-action-bar-gap) )}:host([overflow-mode=wrap][layout=horizontal]) .container{row-gap:var(--calcite-internal-action-bar-line-gap)}:host([overflow-mode=wrap][layout=horizontal]) ::slotted(calcite-action-group){margin-inline-start:calc(-1 * var(--calcite-border-width-sm));padding-inline:var(--calcite-internal-action-bar-padding) 0;border-inline-start-width:var(--calcite-border-width-sm);border-inline-end-width:0;border-image:linear-gradient(transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent calc(100% - var(--calcite-internal-action-group-dividing-border-margin)));border-image-slice:1}:host([overflow-mode=wrap][layout=horizontal]) .line{inset-inline:var(--calcite-internal-action-bar-padding);block-size:var(--calcite-border-width-sm);inset-block-start:calc(var(--calcite-internal-action-bar-line-offset, 0px) - var(--calcite-internal-action-bar-line-gap) / 2);background:linear-gradient(to right,transparent var(--calcite-internal-action-bar-divider-inset),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-bar-divider-inset),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-bar-divider-inset)),transparent calc(100% - var(--calcite-internal-action-bar-divider-inset)))}:host([overflow-mode=wrap][layout=horizontal]) .container.has-action-groups{overflow:hidden;padding-inline-start:0;column-gap:calc(var(--calcite-internal-action-bar-gap) + var(--calcite-border-width-sm))}:host([overflow-mode=wrap][layout=horizontal]) .container.has-action-groups .action-group--start{padding-inline-start:var(--calcite-internal-action-bar-padding)}:host([overflow-mode=wrap][layout=vertical]) .container{block-size:100%;min-block-size:0;column-gap:var(--calcite-internal-action-bar-line-gap)}:host([overflow-mode=wrap][layout=vertical]) ::slotted(calcite-action-group){margin-block-start:calc(-1 * var(--calcite-border-width-sm));padding-block:var(--calcite-internal-action-bar-padding) 0;border-block-start-width:var(--calcite-border-width-sm);border-block-end-width:0;border-image:linear-gradient(to right,transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent calc(100% - var(--calcite-internal-action-group-dividing-border-margin)));border-image-slice:1}:host([overflow-mode=wrap][layout=vertical]) .line{inset-block:var(--calcite-internal-action-bar-padding);inline-size:var(--calcite-border-width-sm);inset-inline-start:calc(var(--calcite-internal-action-bar-line-offset, 0px) - var(--calcite-internal-action-bar-line-gap) / 2);background:linear-gradient(to bottom,transparent var(--calcite-internal-action-bar-divider-inset),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-bar-divider-inset),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-bar-divider-inset)),transparent calc(100% - var(--calcite-internal-action-bar-divider-inset)))}:host([overflow-mode=wrap][layout=vertical]) .container.has-action-groups{overflow:hidden;padding-block-start:0;row-gap:calc(var(--calcite-internal-action-bar-gap) + var(--calcite-border-width-sm))}:host([overflow-mode=wrap][layout=vertical]) .container.has-action-groups .action-group--start{padding-block-start:var(--calcite-internal-action-bar-padding)}:host([overflow-mode=none][layout=horizontal]) .container{overflow-x:auto}:host([overflow-mode=none][layout=vertical]) .container{overflow-y:auto}:host([hidden]){display:none}[hidden]{display:none}`;
96
111
  class ActionBar extends LitElement {
97
112
  constructor() {
98
113
  super();
@@ -115,8 +130,15 @@ class ActionBar extends LitElement {
115
130
  this.suppressedActionGroupActionsChange = /* @__PURE__ */ new WeakMap();
116
131
  this.cancelable = useCancelable()(this);
117
132
  this.resize = debounce(({ width, height }) => {
118
- const { expanded, expandToggleDisabled, layout, overflowActionsDisabled, expandPosition } = this;
119
- if (overflowActionsDisabled || layout === "vertical" && !height || layout === "horizontal" && !width || !this.containerRef.value) {
133
+ const { expanded, expandToggleDisabled, layout, expandPosition } = this;
134
+ if (!this.containerRef.value) {
135
+ return;
136
+ }
137
+ if (this.usesWrap) {
138
+ this.scheduleLineMeasure();
139
+ return;
140
+ }
141
+ if (this.overflowMode !== "collapse" || layout === "vertical" && !height || layout === "horizontal" && !width) {
120
142
  return;
121
143
  }
122
144
  this.updateGroups();
@@ -177,6 +199,10 @@ class ActionBar extends LitElement {
177
199
  });
178
200
  }, DEBOUNCE.resize);
179
201
  this.resizeHandler = (entry) => {
202
+ if (this.usesWrap) {
203
+ this.scheduleLineMeasure();
204
+ return;
205
+ }
180
206
  const { width, height } = entry.contentRect;
181
207
  this.resize({ width, height });
182
208
  };
@@ -192,12 +218,14 @@ class ActionBar extends LitElement {
192
218
  };
193
219
  this.hasActionsEnd = false;
194
220
  this.hasActionsStart = false;
221
+ this.hasActionGroups = false;
222
+ this.lineOffsets = [];
195
223
  this.floating = false;
196
224
  this.expandToggleDisabled = false;
197
225
  this.expanded = false;
198
226
  this.expandPosition = "end";
199
227
  this.layout = "vertical";
200
- this.overflowActionsDisabled = false;
228
+ this.overflowMode = "collapse";
201
229
  this.overlayPositioning = "absolute";
202
230
  this.scale = "m";
203
231
  this.selectionAppearance = "neutral";
@@ -210,7 +238,7 @@ class ActionBar extends LitElement {
210
238
  this.listen("keydown", this.handleKeyDown);
211
239
  }
212
240
  static {
213
- this.properties = { expandTooltip: [16, {}, { state: true }], hasActionsEnd: [16, {}, { state: true }], hasActionsStart: [16, {}, { state: true }], actionsEndGroupLabel: 1, actionsStartGroupLabel: 1, floating: [7, {}, { reflect: true, type: Boolean }], expandToggleDisabled: [7, {}, { reflect: true, type: Boolean }], expandDisabled: [7, {}, { reflect: true, type: Boolean }], expanded: [7, {}, { reflect: true, type: Boolean }], expandPosition: [3, {}, { reflect: true }], layout: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overflowActionsDisabled: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], position: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selectionAppearance: [3, {}, { reflect: true }] };
241
+ this.properties = { expandTooltip: [16, {}, { state: true }], hasActionsEnd: [16, {}, { state: true }], hasActionsStart: [16, {}, { state: true }], hasActionGroups: [16, {}, { state: true }], lineOffsets: [16, {}, { state: true }], actionsEndGroupLabel: 1, actionsStartGroupLabel: 1, floating: [7, {}, { reflect: true, type: Boolean }], expandToggleDisabled: [7, {}, { reflect: true, type: Boolean }], expandDisabled: [7, {}, { reflect: true, type: Boolean }], expanded: [7, {}, { reflect: true, type: Boolean }], expandPosition: [3, {}, { reflect: true }], layout: [3, {}, { reflect: true }], overflowMode: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overflowActionsDisabled: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], position: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selectionAppearance: [3, {}, { reflect: true }] };
214
242
  }
215
243
  static {
216
244
  this.styles = styles;
@@ -227,7 +255,25 @@ class ActionBar extends LitElement {
227
255
  });
228
256
  this.expandToggleDisabled = value;
229
257
  }
258
+ get overflowActionsDisabled() {
259
+ return this.overflowMode === "none";
260
+ }
261
+ set overflowActionsDisabled(value) {
262
+ logger.deprecated("property", {
263
+ component: this,
264
+ name: "overflowActionsDisabled",
265
+ removalVersion: 7,
266
+ suggested: 'overflowMode="none"'
267
+ });
268
+ this.overflowMode = value ? "none" : "collapse";
269
+ }
230
270
  async overflowActions() {
271
+ if (this.overflowMode !== "collapse") {
272
+ if (this.usesWrap) {
273
+ this.scheduleLineMeasure();
274
+ }
275
+ return;
276
+ }
231
277
  this.resize({ width: this.el.clientWidth, height: this.el.clientHeight });
232
278
  }
233
279
  async setFocus(options) {
@@ -235,7 +281,7 @@ class ActionBar extends LitElement {
235
281
  }
236
282
  connectedCallback() {
237
283
  super.connectedCallback();
238
- this.overflowActionsDisabledHandler(this.overflowActionsDisabled);
284
+ this.overflowModeHandler();
239
285
  this.cancelable.add(this.resize);
240
286
  }
241
287
  willUpdate(changes) {
@@ -244,9 +290,22 @@ class ActionBar extends LitElement {
244
290
  }
245
291
  if (changes.has("layout") && (this.hasUpdated || this.layout !== "vertical")) {
246
292
  this.updateGroups();
293
+ this.overflowModeHandler();
294
+ if (!this.usesWrap) {
295
+ this.updateLines();
296
+ }
247
297
  }
248
- if (changes.has("overflowActionsDisabled") && (this.hasUpdated || this.overflowActionsDisabled !== false)) {
249
- this.overflowActionsDisabledHandler(this.overflowActionsDisabled);
298
+ if (changes.has("overflowMode") && (this.hasUpdated || this.overflowMode !== "collapse")) {
299
+ if (!this.usesWrap && this.lineMeasureFrame != null) {
300
+ cancelAnimationFrame(this.lineMeasureFrame);
301
+ this.lineMeasureFrame = void 0;
302
+ }
303
+ if (this.usesWrap) {
304
+ this.scheduleLineMeasure();
305
+ } else {
306
+ this.updateLines();
307
+ }
308
+ this.overflowModeHandler();
250
309
  }
251
310
  if (changes.has("expanded") && this.hasUpdated) {
252
311
  this.expandedHandler();
@@ -267,9 +326,18 @@ class ActionBar extends LitElement {
267
326
  this.syncActionsState();
268
327
  this.overflowActions();
269
328
  }
329
+ updated() {
330
+ if (this.usesWrap && this.lineMeasureFrame == null) {
331
+ this.scheduleLineMeasure();
332
+ }
333
+ }
270
334
  disconnectedCallback() {
271
335
  super.disconnectedCallback();
272
336
  this.resizeObserver?.disconnect();
337
+ if (this.lineMeasureFrame != null) {
338
+ cancelAnimationFrame(this.lineMeasureFrame);
339
+ this.lineMeasureFrame = void 0;
340
+ }
273
341
  }
274
342
  getItemSizes() {
275
343
  const { layout, expandToggleEl } = this;
@@ -285,12 +353,12 @@ class ActionBar extends LitElement {
285
353
  this.syncActionsState(true);
286
354
  this.overflowActions();
287
355
  }
288
- overflowActionsDisabledHandler(overflowActionsDisabled) {
289
- if (overflowActionsDisabled) {
356
+ overflowModeHandler() {
357
+ if (this.overflowMode === "none") {
290
358
  this.resizeObserver?.disconnect();
291
- return;
359
+ } else {
360
+ this.resizeObserver?.observe(this.el);
292
361
  }
293
- this.resizeObserver?.observe(this.el);
294
362
  this.overflowActions();
295
363
  }
296
364
  actionMenuOpenHandler(event) {
@@ -354,13 +422,72 @@ class ActionBar extends LitElement {
354
422
  ...this.actionsEndGroups,
355
423
  ...this.getSectionWrapperGroups()
356
424
  ];
425
+ this.hasActionGroups = this.actionGroups.length > 0;
357
426
  groups.forEach((group) => {
358
427
  group.layout = this.layout;
359
428
  group.scale = this.scale;
360
429
  });
361
430
  }
431
+ get usesWrap() {
432
+ return this.overflowMode === "wrap" && this.layout !== "grid";
433
+ }
434
+ scheduleLineMeasure() {
435
+ if (this.lineMeasureFrame != null) {
436
+ cancelAnimationFrame(this.lineMeasureFrame);
437
+ }
438
+ this.lineMeasureFrame = requestAnimationFrame(() => {
439
+ this.lineMeasureFrame = void 0;
440
+ this.updateLines();
441
+ });
442
+ }
443
+ getWrapItems() {
444
+ const items = [];
445
+ const start = this.actionsStartGroupRef.value;
446
+ if (start && !start.hidden) {
447
+ items.push(start);
448
+ }
449
+ this.defaultSlotItems.forEach((el) => {
450
+ if (!el.hidden) {
451
+ items.push(el);
452
+ }
453
+ });
454
+ const end = this.actionsEndGroupRef.value;
455
+ if (end && !end.hidden) {
456
+ items.push(end);
457
+ }
458
+ return items;
459
+ }
460
+ updateLines() {
461
+ const container = this.containerRef.value;
462
+ if (!container || !this.usesWrap) {
463
+ if (this.lineOffsets.length > 0) {
464
+ this.lineOffsets = [];
465
+ }
466
+ return;
467
+ }
468
+ const horizontal = this.layout === "horizontal";
469
+ const rtl = this.direction === "rtl";
470
+ const containerRect = container.getBoundingClientRect();
471
+ const items = this.getWrapItems();
472
+ const lineOffsets = [];
473
+ let previousOffset = null;
474
+ items.forEach((item) => {
475
+ const offset = getWrapItemCrossOffset({ item, containerRect, horizontal, rtl });
476
+ if (previousOffset !== null && Math.abs(offset - previousOffset) > 1) {
477
+ lineOffsets.push(offset);
478
+ }
479
+ previousOffset = offset;
480
+ });
481
+ const changed = lineOffsets.length !== this.lineOffsets.length || lineOffsets.some((value, index) => value !== this.lineOffsets[index]);
482
+ if (changed) {
483
+ this.lineOffsets = lineOffsets;
484
+ }
485
+ }
362
486
  handleDefaultSlotChange() {
363
487
  this.syncSlotAndActions(() => this.syncDefaultSlot());
488
+ if (this.usesWrap) {
489
+ this.scheduleLineMeasure();
490
+ }
364
491
  }
365
492
  handleActionsEndSlotChange() {
366
493
  this.syncSlotAndActions(() => this.syncActionsEndSlot());
@@ -519,15 +646,20 @@ class ActionBar extends LitElement {
519
646
  const onSlotChange = isStart ? this.handleActionsStartSlotChange : this.handleActionsEndSlotChange;
520
647
  const label = isStart ? this.actionsStartGroupLabel : this.actionsEndGroupLabel;
521
648
  const hidden = !hasExpandToggle && !hasActions;
522
- const className = isStart ? CSS.actionGroupStart : CSS.actionGroupEnd;
523
649
  const actionGroupRef = isStart ? this.actionsStartGroupRef : this.actionsEndGroupRef;
524
650
  const slotRef = isStart ? this.actionsStartSlotRef : this.actionsEndSlotRef;
525
651
  const expandToggle = hasExpandToggle ? this.renderExpandToggle() : null;
526
- return html`<calcite-action-group class=${safeClassMap(className)} .hidden=${hidden} .label=${label} .layout=${layout} .overlayPositioning=${overlayPositioning} .scale=${scale} ${ref(actionGroupRef)}>${isStart ? expandToggle : null}<slot name=${slotName ?? nothing} @slotchange=${onSlotChange} ${ref(slotRef)}></slot>${hasExpandToggle ? this.renderExpandTooltipSlot() : null}${isStart ? null : expandToggle}</calcite-action-group>`;
652
+ return html`<calcite-action-group class=${safeClassMap({
653
+ [CSS.actionGroupStart]: isStart,
654
+ [CSS.actionGroupEnd]: !isStart
655
+ })} .hidden=${hidden} .label=${label} .layout=${layout} .overlayPositioning=${overlayPositioning} .scale=${scale} ${ref(actionGroupRef)}>${isStart ? expandToggle : null}<slot name=${slotName ?? nothing} @slotchange=${onSlotChange} ${ref(slotRef)}></slot>${hasExpandToggle ? this.renderExpandTooltipSlot() : null}${isStart ? null : expandToggle}</calcite-action-group>`;
527
656
  }
528
657
  render() {
529
658
  const ariaOrientation = this.layout === "horizontal" ? "horizontal" : "vertical";
530
- return html`<div .ariaOrientation=${ariaOrientation} class=${safeClassMap(CSS.container)} role=toolbar ${ref(this.containerRef)}>${this.renderActionsGroup("start")}<slot @slotchange=${this.handleDefaultSlotChange} ${ref(this.defaultSlotRef)}></slot>${this.renderActionsGroup("end")}</div>`;
659
+ return html`<div .ariaOrientation=${ariaOrientation} class=${safeClassMap({
660
+ [CSS.container]: true,
661
+ [CSS.hasActionGroups]: this.hasActionGroups
662
+ })} role=toolbar ${ref(this.containerRef)}>${this.renderActionsGroup("start")}<slot @slotchange=${this.handleDefaultSlotChange} ${ref(this.defaultSlotRef)}></slot>${this.renderActionsGroup("end")}${this.usesWrap ? html`<div aria-hidden=true class=${safeClassMap(CSS.lineOverlay)}>${this.lineOffsets.map((offset) => html`<div class=${safeClassMap(CSS.line)} style=${`--calcite-internal-action-bar-line-offset: ${offset}px`}></div>`)}</div>` : null}</div>`;
531
663
  }
532
664
  }
533
665
  customElement("calcite-action-bar", ActionBar);
@@ -61,11 +61,11 @@ export abstract class ActionGroup extends LitElement {
61
61
  */
62
62
  accessor overflowActionsDisabled: boolean;
63
63
  /**
64
- * Specifies the type of positioning to use for overlaid content, where:
64
+ * Specifies the type of positioning to use for overlaid content.
65
65
  *
66
- * `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout, and
66
+ * - `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout.
67
67
  *
68
- * `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
68
+ * - `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
69
69
  *
70
70
  * @default "absolute"
71
71
  */
@@ -79,15 +79,12 @@ export abstract class ActionGroup extends LitElement {
79
79
  /** Specifies the active actions in the group. */
80
80
  get selectedActions(): Action[];
81
81
  /**
82
- * Specifies the selection mode of the component, where:
82
+ * Specifies the selection mode of the component.
83
83
  *
84
- * `"multiple"` allows any number of selections,
85
- *
86
- * `"single"` allows only one selection,
87
- *
88
- * `"single-persist"` allows one selection and prevents de-selection, and
89
- *
90
- * `"none"` disables selection (default).
84
+ * - `"multiple"` allows any number of selections.
85
+ * - `"single"` allows only one selection.
86
+ * - `"single-persist"` allows one selection and prevents de-selection.
87
+ * - `"none"` disables selection (default).
91
88
  *
92
89
  * @default "none"
93
90
  */
@@ -44,11 +44,11 @@ export abstract class ActionMenu extends LitElement {
44
44
  */
45
45
  accessor open: boolean;
46
46
  /**
47
- * Specifies the type of positioning to use for overlaid content, where:
47
+ * Specifies the type of positioning to use for overlaid content.
48
48
  *
49
- * `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout, and
49
+ * - `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout.
50
50
  *
51
- * `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
51
+ * - `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
52
52
  *
53
53
  * @default "absolute"
54
54
  */
@@ -44,11 +44,11 @@ export abstract class ActionPad extends LitElement {
44
44
  collapseLabel?: string | undefined;
45
45
  };
46
46
  /**
47
- * Specifies the type of positioning to use for overlaid content, where:
47
+ * Specifies the type of positioning to use for overlaid content.
48
48
  *
49
- * `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout, and
49
+ * - `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout.
50
50
  *
51
- * `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
51
+ * - `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
52
52
  *
53
53
  * @default "absolute"
54
54
  */
@@ -120,11 +120,11 @@ export abstract class Autocomplete extends LitElement {
120
120
  */
121
121
  accessor open: boolean;
122
122
  /**
123
- * Specifies the type of positioning to use for overlaid content, where:
123
+ * Specifies the type of positioning to use for overlaid content.
124
124
  *
125
- * `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout, and
125
+ * - `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout.
126
126
  *
127
- * `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
127
+ * - `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
128
128
  *
129
129
  * @default "absolute"
130
130
  */
@@ -107,11 +107,11 @@ export abstract class Block extends LitElement {
107
107
  */
108
108
  accessor open: boolean;
109
109
  /**
110
- * Specifies the type of positioning to use for overlaid content, where:
110
+ * Specifies the type of positioning to use for overlaid content.
111
111
  *
112
- * `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout, and
112
+ * - `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout.
113
113
  *
114
- * `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
114
+ * - `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
115
115
  *
116
116
  * @default "absolute"
117
117
  */
@@ -57,11 +57,10 @@ export abstract class BlockSection extends LitElement {
57
57
  /** The component header text. */
58
58
  accessor text: string | undefined;
59
59
  /**
60
- * Specifies how the component's toggle is displayed, where:
60
+ * Specifies how the component's toggle is displayed.
61
61
  *
62
- * `"button"` sets the toggle to a selectable header, and
63
- *
64
- * `"switch"` sets the toggle to a switch.
62
+ * - `"button"` sets the toggle to a selectable header.
63
+ * - `"switch"` sets the toggle to a switch.
65
64
  *
66
65
  * @default "button"
67
66
  */
@@ -26,15 +26,12 @@ export abstract class ChipGroup extends LitElement {
26
26
  /** Specifies the component's selected items. */
27
27
  get selectedItems(): Chip[];
28
28
  /**
29
- * Specifies the selection mode of the component, where:
29
+ * Specifies the selection mode of the component.
30
30
  *
31
- * `"multiple"` allows any number of selections,
32
- *
33
- * `"single"` allows only one selection,
34
- *
35
- * `"single-persist"` allows one selection and prevents de-selection, and
36
- *
37
- * `"none"` does not allow any selections.
31
+ * - `"multiple"` allows any number of selections.
32
+ * - `"single"` allows only one selection.
33
+ * - `"single-persist"` allows one selection and prevents de-selection.
34
+ * - `"none"` does not allow any selections.
38
35
  *
39
36
  * @default "none"
40
37
  */
@@ -89,11 +89,11 @@ export abstract class Combobox extends LitElement {
89
89
  */
90
90
  accessor open: boolean;
91
91
  /**
92
- * Specifies the type of positioning to use for overlaid content, where:
92
+ * Specifies the type of positioning to use for overlaid content.
93
93
  *
94
- * `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout, and
94
+ * - `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout.
95
95
  *
96
- * `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
96
+ * - `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
97
97
  *
98
98
  * @default "absolute"
99
99
  */
@@ -142,37 +142,31 @@ export abstract class Combobox extends LitElement {
142
142
  /** The component's selected items. */
143
143
  get selectedItems(): HTMLCalciteComboboxItemElement[];
144
144
  /**
145
- * Specifies the selection appearance, where
145
+ * Specifies the selection appearance.
146
146
  *
147
- * `"icon"` displays a checkmark or dot, and
148
- *
149
- * `"highlight"` displays a background highlight.
147
+ * - `"icon"` displays a checkmark or dot.
148
+ * - `"highlight"` displays a background highlight.
150
149
  *
151
150
  * @default "icon"
152
151
  */
153
152
  accessor selectionAppearance: Extract<"icon" | "highlight", SelectionAppearance>;
154
153
  /**
155
- * When `selectionMode` is `"ancestors"` or `"multiple"`, specifies the display of multiple `calcite-combobox-item` selections, where:
156
- *
157
- * `"all"` displays all selections with individual `calcite-chip`s,
158
- *
159
- * `"fit"` displays individual `calcite-chip`s that scale to the component's size, including a non-closable `calcite-chip`, which provides the number of additional `calcite-combobox-item` selections not visually displayed, and
154
+ * When `selectionMode` is `"ancestors"` or `"multiple"`, specifies the display of multiple `calcite-combobox-item` selections.
160
155
  *
161
- * `"single"` displays one `calcite-chip` with the total number of selections.
156
+ * - `"all"` displays all selections with individual `calcite-chip`s.
157
+ * - `"fit"` displays individual `calcite-chip`s that scale to the component's size, including a non-closable `calcite-chip`, which provides the number of additional `calcite-combobox-item` selections not visually displayed.
158
+ * - `"single"` displays one `calcite-chip` with the total number of selections.
162
159
  *
163
160
  * @default "all"
164
161
  */
165
162
  accessor selectionDisplay: SelectionDisplay;
166
163
  /**
167
- * Specifies the selection mode of the component, where:
168
- *
169
- * `"multiple"` allows any number of selections,
170
- *
171
- * `"single"` allows only one selection,
172
- *
173
- * `"single-persist"` allows one selection and prevents de-selection, and
164
+ * Specifies the selection mode of the component.
174
165
  *
175
- * `"ancestors"` allows multiple selections, but shows ancestors of selected items as selected, with only deepest children shown in chips.
166
+ * - `"multiple"` allows any number of selections.
167
+ * - `"single"` allows only one selection.
168
+ * - `"single-persist"` allows one selection and prevents de-selection.
169
+ * - `"ancestors"` allows multiple selections, but shows ancestors of selected items as selected, with only deepest children shown in chips.
176
170
  *
177
171
  * @default "multiple"
178
172
  */
@@ -88,13 +88,13 @@ export abstract class Dialog extends LitElement {
88
88
  */
89
89
  accessor focusTrapDisabled: boolean;
90
90
  /**
91
- * Specifies custom focus trap configuration on the component, where
91
+ * Specifies custom focus trap configuration on the component.
92
92
  *
93
- * `"allowOutsideClick`" allows outside clicks,
94
- * `"initialFocus"` enables initial focus,
95
- * `"returnFocusOnDeactivate"` returns focus when not active,
96
- * `"extraContainers"` specifies additional focusable elements external to the trap, such as 3rd-party components appending elements to the document body, and
97
- * `"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).
93
+ * - `"allowOutsideClick`" allows outside clicks.
94
+ * - `"initialFocus"` enables initial focus.
95
+ * - `"returnFocusOnDeactivate"` returns focus when not active.
96
+ * - `"extraContainers"` specifies additional focusable elements external to the trap, such as 3rd-party components appending elements to the document body.
97
+ * - `"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).
98
98
  */
99
99
  accessor focusTrapOptions: Partial<FocusTrapOptions> | undefined;
100
100
  /**
@@ -110,7 +110,7 @@ export abstract class Dialog extends LitElement {
110
110
  /** Specifies an icon to display. */
111
111
  accessor icon: IconName | undefined;
112
112
  /**
113
- * When `true` and the element direction is right-to-left (`"rtl"`), flips the component`s `icon`.
113
+ * When `true` and the element direction is right-to-left (`"rtl"`), flips the component's `icon`.
114
114
  *
115
115
  * @default false
116
116
  */
@@ -158,11 +158,11 @@ export abstract class Dialog extends LitElement {
158
158
  */
159
159
  accessor outsideCloseDisabled: boolean;
160
160
  /**
161
- * Specifies the type of positioning to use for overlaid content, where:
161
+ * Specifies the type of positioning to use for overlaid content.
162
162
  *
163
- * `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout, and
163
+ * - `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout.
164
164
  *
165
- * `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
165
+ * - `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
166
166
  *
167
167
  * @default "absolute"
168
168
  */
@@ -54,11 +54,11 @@ export abstract class Dropdown extends LitElement {
54
54
  */
55
55
  accessor open: boolean;
56
56
  /**
57
- * Specifies the type of positioning to use for overlaid content, where:
57
+ * Specifies the type of positioning to use for overlaid content.
58
58
  *
59
- * `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout, and
59
+ * - `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout.
60
60
  *
61
- * `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
61
+ * - `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
62
62
  *
63
63
  * @default "absolute"
64
64
  */
@@ -18,13 +18,11 @@ export abstract class DropdownGroup extends LitElement {
18
18
  */
19
19
  accessor position: number;
20
20
  /**
21
- * Specifies the selection mode of the component, where:
21
+ * Specifies the selection mode of the component.
22
22
  *
23
- * `"multiple"` allows any number of selections,
24
- *
25
- * `"single"` allows only one selection, and
26
- *
27
- * `"none"` does not allow any selections.
23
+ * - `"multiple"` allows any number of selections.
24
+ * - `"single"` allows only one selection.
25
+ * - `"none"` does not allow any selections.
28
26
  *
29
27
  * @default "single"
30
28
  */
@@ -128,11 +128,11 @@ export abstract class FlowItem extends LitElement {
128
128
  options?: string | undefined;
129
129
  } & Panel["messageOverrides"];
130
130
  /**
131
- * Specifies the type of positioning to use for overlaid content, where:
131
+ * Specifies the type of positioning to use for overlaid content.
132
132
  *
133
- * `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout, and
133
+ * - `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout.
134
134
  *
135
- * `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
135
+ * - `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
136
136
  *
137
137
  * @default "absolute"
138
138
  */
@@ -19,13 +19,13 @@ export abstract class FocusTrap extends LitElement {
19
19
  /** When defined, provides a condition to disable focus trapping. When `true`, prevents focus trapping. */
20
20
  accessor focusTrapDisabledOverride: (() => boolean) | undefined;
21
21
  /**
22
- * Specifies custom focus trap configuration on the component, where
22
+ * Specifies custom focus trap configuration on the component.
23
23
  *
24
- * `"allowOutsideClick"` allows outside clicks,
25
- * `"initialFocus"` enables initial focus,
26
- * `"returnFocusOnDeactivate"` returns focus when not active,
27
- * `"extraContainers"` specifies additional focusable elements external to the trap, and
28
- * `"setReturnFocus"` customizes the element to which focus is returned when the trap is deactivated.
24
+ * - `"allowOutsideClick"` allows outside clicks.
25
+ * - `"initialFocus"` enables initial focus.
26
+ * - `"returnFocusOnDeactivate"` returns focus when not active.
27
+ * - `"extraContainers"` specifies additional focusable elements external to the trap.
28
+ * - `"setReturnFocus"` customizes the element to which focus is returned when the trap is deactivated.
29
29
  */
30
30
  accessor focusTrapOptions: Partial<FocusTrapOptions> | undefined;
31
31
  /** Activates the component's focus trap. */
@@ -137,11 +137,11 @@ export abstract class InputDatePicker extends LitElement {
137
137
  */
138
138
  accessor open: boolean;
139
139
  /**
140
- * Specifies the type of positioning to use for overlaid content, where:
140
+ * Specifies the type of positioning to use for overlaid content.
141
141
  *
142
- * `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout, and
142
+ * - `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout.
143
143
  *
144
- * `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
144
+ * - `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
145
145
  *
146
146
  * @default "absolute"
147
147
  */