@esri/calcite-components 1.0.0-next.362 → 1.0.0-next.366

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 (242) hide show
  1. package/dist/calcite/calcite.esm.js +1 -1
  2. package/dist/calcite/p-0282fd8b.system.entry.js +5 -0
  3. package/dist/calcite/p-050ff462.entry.js +5 -0
  4. package/dist/calcite/p-05b03971.system.entry.js +5 -0
  5. package/dist/calcite/p-08847812.entry.js +5 -0
  6. package/dist/calcite/p-1bcce6c9.entry.js +5 -0
  7. package/dist/calcite/p-1ef9235e.system.entry.js +5 -0
  8. package/dist/calcite/p-25ed6059.entry.js +5 -0
  9. package/dist/calcite/p-26fd946c.entry.js +5 -0
  10. package/dist/calcite/{p-0b0ce9b2.system.entry.js → p-3280f0ac.system.entry.js} +1 -1
  11. package/dist/calcite/p-409d0a3f.entry.js +5 -0
  12. package/dist/calcite/p-40cbbd20.entry.js +5 -0
  13. package/dist/calcite/p-4347fde9.system.entry.js +5 -0
  14. package/dist/calcite/p-43cd4b9b.entry.js +5 -0
  15. package/dist/calcite/p-55e2658e.entry.js +5 -0
  16. package/dist/calcite/p-5682a918.entry.js +5 -0
  17. package/dist/calcite/p-597b782e.system.entry.js +5 -0
  18. package/dist/calcite/p-60e4f404.entry.js +5 -0
  19. package/dist/calcite/p-660c8077.js +5 -0
  20. package/dist/calcite/p-7279ccf9.entry.js +5 -0
  21. package/dist/calcite/p-7ed5b78e.system.entry.js +5 -0
  22. package/dist/calcite/p-832d7f68.system.entry.js +5 -0
  23. package/dist/calcite/p-888a152c.system.entry.js +5 -0
  24. package/dist/calcite/p-946c3bed.system.entry.js +5 -0
  25. package/dist/calcite/p-94717214.entry.js +5 -0
  26. package/dist/calcite/p-953259af.entry.js +5 -0
  27. package/dist/calcite/p-99d32fc3.system.js +1 -1
  28. package/dist/calcite/p-9b723fdd.system.entry.js +5 -0
  29. package/dist/calcite/p-9bfe6679.system.entry.js +5 -0
  30. package/dist/calcite/p-9f349c92.entry.js +5 -0
  31. package/dist/calcite/p-9fe77a88.system.entry.js +5 -0
  32. package/dist/calcite/p-a52288cd.system.entry.js +5 -0
  33. package/dist/calcite/p-a71d17b4.entry.js +5 -0
  34. package/dist/calcite/p-aea7c650.system.entry.js +5 -0
  35. package/dist/calcite/p-af7ed41f.system.entry.js +5 -0
  36. package/dist/calcite/p-b14e0be5.system.entry.js +5 -0
  37. package/dist/calcite/p-b53b28e3.system.js +5 -0
  38. package/dist/calcite/p-b88d7391.entry.js +5 -0
  39. package/dist/calcite/p-ba000c59.entry.js +5 -0
  40. package/dist/calcite/p-ba915998.entry.js +5 -0
  41. package/dist/calcite/p-cf2be87e.entry.js +5 -0
  42. package/dist/calcite/p-dd4457cd.entry.js +5 -0
  43. package/dist/calcite/p-eff2fb8c.system.entry.js +5 -0
  44. package/dist/calcite/p-f4614b28.system.entry.js +5 -0
  45. package/dist/calcite/{p-8b145872.system.entry.js → p-f94619be.system.entry.js} +1 -1
  46. package/dist/calcite/p-fd57beb5.system.entry.js +5 -0
  47. package/dist/cjs/calcite-action-bar.cjs.entry.js +3 -24
  48. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -0
  49. package/dist/cjs/calcite-action-menu.cjs.entry.js +3 -0
  50. package/dist/cjs/calcite-action-pad.cjs.entry.js +8 -0
  51. package/dist/cjs/calcite-alert.cjs.entry.js +15 -9
  52. package/dist/cjs/calcite-block_2.cjs.entry.js +14 -1
  53. package/dist/cjs/calcite-chip.cjs.entry.js +14 -1
  54. package/dist/cjs/calcite-combobox_3.cjs.entry.js +22 -11
  55. package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -8
  56. package/dist/cjs/calcite-inline-editable.cjs.entry.js +5 -5
  57. package/dist/cjs/calcite-input.cjs.entry.js +3 -0
  58. package/dist/cjs/calcite-list_3.cjs.entry.js +13 -0
  59. package/dist/cjs/calcite-modal.cjs.entry.js +5 -2
  60. package/dist/cjs/calcite-notice.cjs.entry.js +8 -0
  61. package/dist/cjs/calcite-panel.cjs.entry.js +18 -12
  62. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +23 -0
  63. package/dist/cjs/calcite-shell_3.cjs.entry.js +35 -7
  64. package/dist/cjs/calcite-tile.cjs.entry.js +13 -0
  65. package/dist/cjs/calcite-tip_3.cjs.entry.js +13 -1
  66. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -0
  67. package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -0
  68. package/dist/cjs/calcite.cjs.js +1 -1
  69. package/dist/cjs/conditionalSlot-e874fbb0.js +43 -0
  70. package/dist/cjs/loader.cjs.js +1 -1
  71. package/dist/collection/components/calcite-action-group/calcite-action-group.js +12 -0
  72. package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +3 -0
  73. package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +7 -0
  74. package/dist/collection/components/calcite-alert/calcite-alert.js +15 -9
  75. package/dist/collection/components/calcite-block/calcite-block.js +13 -1
  76. package/dist/collection/components/calcite-chip/calcite-chip.js +13 -1
  77. package/dist/collection/components/calcite-combobox/calcite-combobox.js +42 -13
  78. package/dist/collection/components/calcite-combobox/resources.js +3 -0
  79. package/dist/collection/components/calcite-graph/calcite-graph.css +3 -5
  80. package/dist/collection/components/calcite-graph/calcite-graph.js +13 -42
  81. package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +15 -21
  82. package/dist/collection/components/calcite-input/calcite-input.js +3 -0
  83. package/dist/collection/components/calcite-list-item/calcite-list-item.js +12 -0
  84. package/dist/collection/components/calcite-modal/calcite-modal.js +5 -2
  85. package/dist/collection/components/calcite-notice/calcite-notice.js +7 -0
  86. package/dist/collection/components/calcite-panel/calcite-panel.js +19 -14
  87. package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +12 -0
  88. package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +12 -0
  89. package/dist/collection/components/calcite-shell/calcite-shell.js +14 -2
  90. package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +13 -1
  91. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +9 -4
  92. package/dist/collection/components/calcite-slider/calcite-slider.css +1 -0
  93. package/dist/collection/components/calcite-slider/calcite-slider.js +1 -2
  94. package/dist/collection/components/calcite-tile/calcite-tile.js +12 -0
  95. package/dist/collection/components/calcite-tip/calcite-tip.js +13 -1
  96. package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +5 -0
  97. package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +12 -0
  98. package/dist/collection/utils/conditionalSlot.js +22 -11
  99. package/dist/components/calcite-action-bar.js +2 -23
  100. package/dist/components/calcite-action-group2.js +12 -0
  101. package/dist/components/calcite-action-menu2.js +3 -0
  102. package/dist/components/calcite-action-pad.js +7 -0
  103. package/dist/components/calcite-alert.js +15 -9
  104. package/dist/components/calcite-block.js +13 -1
  105. package/dist/components/calcite-chip2.js +13 -1
  106. package/dist/components/calcite-combobox.js +21 -12
  107. package/dist/components/calcite-graph2.js +14 -9
  108. package/dist/components/calcite-inline-editable.js +5 -5
  109. package/dist/components/calcite-input2.js +3 -0
  110. package/dist/components/calcite-list-item.js +12 -0
  111. package/dist/components/calcite-modal.js +5 -2
  112. package/dist/components/calcite-notice.js +7 -0
  113. package/dist/components/calcite-panel.js +17 -12
  114. package/dist/components/calcite-pick-list-group.js +12 -0
  115. package/dist/components/calcite-pick-list-item2.js +12 -0
  116. package/dist/components/calcite-shell-center-row.js +13 -1
  117. package/dist/components/calcite-shell-panel.js +9 -4
  118. package/dist/components/calcite-shell.js +14 -2
  119. package/dist/components/calcite-slider.js +2 -2
  120. package/dist/components/calcite-tile2.js +12 -0
  121. package/dist/components/calcite-tip.js +13 -1
  122. package/dist/components/calcite-tree-item.js +5 -0
  123. package/dist/components/calcite-value-list-item.js +12 -0
  124. package/dist/components/conditionalSlot.js +40 -0
  125. package/dist/components/utils2.js +4 -1
  126. package/dist/custom-elements/index.js +306 -121
  127. package/dist/esm/calcite-action-bar.entry.js +2 -23
  128. package/dist/esm/calcite-action-group.entry.js +13 -0
  129. package/dist/esm/calcite-action-menu.entry.js +3 -0
  130. package/dist/esm/calcite-action-pad.entry.js +8 -0
  131. package/dist/esm/calcite-alert.entry.js +15 -9
  132. package/dist/esm/calcite-block_2.entry.js +14 -1
  133. package/dist/esm/calcite-chip.entry.js +14 -1
  134. package/dist/esm/calcite-combobox_3.entry.js +22 -11
  135. package/dist/esm/calcite-graph_2.entry.js +16 -9
  136. package/dist/esm/calcite-inline-editable.entry.js +5 -5
  137. package/dist/esm/calcite-input.entry.js +3 -0
  138. package/dist/esm/calcite-list_3.entry.js +13 -0
  139. package/dist/esm/calcite-modal.entry.js +5 -2
  140. package/dist/esm/calcite-notice.entry.js +8 -0
  141. package/dist/esm/calcite-panel.entry.js +18 -12
  142. package/dist/esm/calcite-pick-list_3.entry.js +23 -0
  143. package/dist/esm/calcite-shell_3.entry.js +35 -7
  144. package/dist/esm/calcite-tile.entry.js +13 -0
  145. package/dist/esm/calcite-tip_3.entry.js +13 -1
  146. package/dist/esm/calcite-tree_2.entry.js +6 -0
  147. package/dist/esm/calcite-value-list_2.entry.js +12 -0
  148. package/dist/esm/calcite.js +1 -1
  149. package/dist/esm/conditionalSlot-0c4ea23a.js +40 -0
  150. package/dist/esm/loader.js +1 -1
  151. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  152. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  153. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  154. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  155. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  156. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  157. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  158. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  159. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  160. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  161. package/dist/esm-es5/calcite-input.entry.js +1 -1
  162. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  163. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  164. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  165. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  166. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  167. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  168. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  169. package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
  170. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  171. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  172. package/dist/esm-es5/calcite.js +1 -1
  173. package/dist/esm-es5/conditionalSlot-0c4ea23a.js +5 -0
  174. package/dist/esm-es5/loader.js +1 -1
  175. package/dist/extras/docs-json.json +43 -36
  176. package/dist/types/components/calcite-action-group/calcite-action-group.d.ts +4 -1
  177. package/dist/types/components/calcite-action-menu/calcite-action-menu.d.ts +2 -1
  178. package/dist/types/components/calcite-action-pad/calcite-action-pad.d.ts +4 -1
  179. package/dist/types/components/calcite-alert/calcite-alert.d.ts +2 -0
  180. package/dist/types/components/calcite-block/calcite-block.d.ts +4 -1
  181. package/dist/types/components/calcite-chip/calcite-chip.d.ts +4 -1
  182. package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +4 -0
  183. package/dist/types/components/calcite-combobox/resources.d.ts +3 -0
  184. package/dist/types/components/calcite-graph/calcite-graph.d.ts +3 -4
  185. package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -5
  186. package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +4 -1
  187. package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -1
  188. package/dist/types/components/calcite-notice/calcite-notice.d.ts +4 -1
  189. package/dist/types/components/calcite-panel/calcite-panel.d.ts +5 -6
  190. package/dist/types/components/calcite-pick-list-group/calcite-pick-list-group.d.ts +4 -1
  191. package/dist/types/components/calcite-pick-list-item/calcite-pick-list-item.d.ts +4 -1
  192. package/dist/types/components/calcite-shell/calcite-shell.d.ts +4 -1
  193. package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +4 -1
  194. package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +3 -1
  195. package/dist/types/components/calcite-tile/calcite-tile.d.ts +4 -1
  196. package/dist/types/components/calcite-tip/calcite-tip.d.ts +4 -1
  197. package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +3 -1
  198. package/dist/types/components/calcite-value-list-item/calcite-value-list-item.d.ts +4 -1
  199. package/dist/types/components.d.ts +18 -16
  200. package/dist/types/preact.d.ts +3 -3
  201. package/hydrate/index.js +305 -121
  202. package/package.json +11 -11
  203. package/dist/calcite/p-0af820bf.entry.js +0 -5
  204. package/dist/calcite/p-0cf878ed.system.entry.js +0 -5
  205. package/dist/calcite/p-1a5dae4a.entry.js +0 -5
  206. package/dist/calcite/p-1b3a66ec.system.entry.js +0 -5
  207. package/dist/calcite/p-1d7a9909.system.entry.js +0 -5
  208. package/dist/calcite/p-253efee4.entry.js +0 -5
  209. package/dist/calcite/p-2618de8a.entry.js +0 -5
  210. package/dist/calcite/p-273cd5ab.entry.js +0 -5
  211. package/dist/calcite/p-28adfebc.entry.js +0 -5
  212. package/dist/calcite/p-2a8938c7.system.entry.js +0 -5
  213. package/dist/calcite/p-2c954eaa.system.entry.js +0 -5
  214. package/dist/calcite/p-325fcd0d.entry.js +0 -5
  215. package/dist/calcite/p-37bddb73.system.entry.js +0 -5
  216. package/dist/calcite/p-3ab992ff.system.entry.js +0 -5
  217. package/dist/calcite/p-3b73b785.system.entry.js +0 -5
  218. package/dist/calcite/p-3b8f5ab8.system.entry.js +0 -5
  219. package/dist/calcite/p-4659df78.entry.js +0 -5
  220. package/dist/calcite/p-54e271c9.system.entry.js +0 -5
  221. package/dist/calcite/p-5df1936f.entry.js +0 -5
  222. package/dist/calcite/p-698167ac.entry.js +0 -5
  223. package/dist/calcite/p-7d355abe.system.entry.js +0 -5
  224. package/dist/calcite/p-85fb7bc0.entry.js +0 -5
  225. package/dist/calcite/p-8d36bc7c.entry.js +0 -5
  226. package/dist/calcite/p-8eafaf3f.entry.js +0 -5
  227. package/dist/calcite/p-9d81d229.entry.js +0 -5
  228. package/dist/calcite/p-a0043c61.entry.js +0 -5
  229. package/dist/calcite/p-a1f65f6e.entry.js +0 -5
  230. package/dist/calcite/p-a4dec1f6.system.entry.js +0 -5
  231. package/dist/calcite/p-a9c50960.system.entry.js +0 -5
  232. package/dist/calcite/p-aaed1677.entry.js +0 -5
  233. package/dist/calcite/p-ac778725.system.entry.js +0 -5
  234. package/dist/calcite/p-ac8cf248.entry.js +0 -5
  235. package/dist/calcite/p-b4d3f1c1.entry.js +0 -5
  236. package/dist/calcite/p-c0ed9eff.entry.js +0 -5
  237. package/dist/calcite/p-cb9cd28c.system.entry.js +0 -5
  238. package/dist/calcite/p-d578e568.system.entry.js +0 -5
  239. package/dist/calcite/p-e2ebc089.system.entry.js +0 -5
  240. package/dist/calcite/p-e564004a.system.entry.js +0 -5
  241. package/dist/calcite/p-f6fc151d.system.entry.js +0 -5
  242. package/dist/calcite/p-f73124d0.entry.js +0 -5
@@ -2,10 +2,11 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { f as forceUpdate, r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
5
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
6
6
  import { t as toggleChildActionText, o as overflowActionsDebounceInMs, q as queryActions, a as overflowActions, C as CalciteExpandToggle, g as getOverflowCount } from './CalciteExpandToggle-48b6e955.js';
7
7
  import { f as focusElement, g as getSlotted } from './dom-037dc374.js';
8
8
  import { c as createObserver } from './observers-8f0bc419.js';
9
+ import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-0c4ea23a.js';
9
10
  import { d as debounce } from './debounce-79648d42.js';
10
11
  import './resources-584acd9b.js';
11
12
  import './resources-7c6029b6.js';
@@ -23,28 +24,6 @@ const TEXT = {
23
24
  collapse: "Collapse"
24
25
  };
25
26
 
26
- const slotChangedMap = new WeakMap();
27
- function onSlotChange() {
28
- forceUpdate(this);
29
- }
30
- const eventType = "slotchange";
31
- /**
32
- * Helper to set up a conditional slot component on connectedCallback.
33
- */
34
- function connectConditionalSlotComponent(component) {
35
- const boundSlotChange = onSlotChange.bind(component);
36
- component.el.shadowRoot.addEventListener(eventType, boundSlotChange);
37
- slotChangedMap.set(component, boundSlotChange);
38
- }
39
- /**
40
- * Helper to tear down a conditional slot component on disconnectedCallback.
41
- */
42
- function disconnectConditionalSlotComponent(component) {
43
- const boundSlotChange = slotChangedMap.get(component);
44
- component.el.shadowRoot.removeEventListener(eventType, boundSlotChange);
45
- slotChangedMap.delete(component);
46
- }
47
-
48
27
  const calciteActionBarCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:stretch;align-self:stretch;max-width:15vw}:host([overflow-actions-disabled]){overflow-y:auto}:host([expanded]){max-width:20vw}::slotted(calcite-action-group){border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}::slotted(calcite-action-group:last-child){border-bottom-width:0px}.action-group--bottom{-ms-flex-positive:1;flex-grow:1;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:0px}";
49
28
 
50
29
  let CalciteActionBar = class {
@@ -6,7 +6,9 @@ import { r as registerInstance, h, F as Fragment, g as getElement } from './inde
6
6
  import { S as SLOTS, I as ICONS, T as TEXT } from './resources-7c6029b6.js';
7
7
  import { g as getSlotted } from './dom-037dc374.js';
8
8
  import { S as SLOTS$1 } from './resources-584acd9b.js';
9
+ import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-0c4ea23a.js';
9
10
  import './guid-196bd5ea.js';
11
+ import './observers-8f0bc419.js';
10
12
 
11
13
  const calciteActionGroupCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;--calcite-action-group-columns:3}:host([columns=\"1\"]){--calcite-action-group-columns:1}:host([columns=\"2\"]){--calcite-action-group-columns:2}:host([columns=\"3\"]){--calcite-action-group-columns:3}:host([columns=\"4\"]){--calcite-action-group-columns:4}:host([columns=\"5\"]){--calcite-action-group-columns:5}:host([columns=\"6\"]){--calcite-action-group-columns:6}:host(:first-child){padding-top:0px}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row}:host([layout=grid]){display:grid;place-content:stretch;gap:1px;background-color:var(--calcite-ui-background);padding:1px;grid-template-columns:repeat(var(--calcite-action-group-columns), auto)}";
12
14
 
@@ -44,6 +46,17 @@ let CalciteActionGroup = class {
44
46
  }
45
47
  // --------------------------------------------------------------------------
46
48
  //
49
+ // Lifecycle
50
+ //
51
+ // --------------------------------------------------------------------------
52
+ connectedCallback() {
53
+ connectConditionalSlotComponent(this);
54
+ }
55
+ disconnectedCallback() {
56
+ disconnectConditionalSlotComponent(this);
57
+ }
58
+ // --------------------------------------------------------------------------
59
+ //
47
60
  // Component Methods
48
61
  //
49
62
  // --------------------------------------------------------------------------
@@ -8,6 +8,7 @@ import { g as getSlotted, f as focusElement } from './dom-037dc374.js';
8
8
  import { g as getRoundRobinIndex } from './array-91a648e2.js';
9
9
  import { g as guid } from './guid-196bd5ea.js';
10
10
  import { c as createObserver } from './observers-8f0bc419.js';
11
+ import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-0c4ea23a.js';
11
12
 
12
13
  const calciteActionMenuCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size-1);color:var(--calcite-ui-text-2)}.menu ::slotted(calcite-action){margin:0.125rem;display:-ms-flexbox;display:flex;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}::slotted(calcite-action[active]){outline:2px solid var(--calcite-ui-brand);outline-offset:0px}.default-trigger{position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;height:100%;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-item-align:stretch;align-self:stretch}.menu{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;outline:2px solid transparent;outline-offset:2px}";
13
14
 
@@ -219,11 +220,13 @@ let CalciteActionMenu = class {
219
220
  var _a;
220
221
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
221
222
  this.getActions();
223
+ connectConditionalSlotComponent(this);
222
224
  }
223
225
  disconnectedCallback() {
224
226
  var _a;
225
227
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
226
228
  this.disconnectMenuButtonEl();
229
+ disconnectConditionalSlotComponent(this);
227
230
  }
228
231
  expandedHandler() {
229
232
  this.open = false;
@@ -5,9 +5,11 @@
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
6
6
  import { t as toggleChildActionText, C as CalciteExpandToggle } from './CalciteExpandToggle-48b6e955.js';
7
7
  import { f as focusElement, g as getSlotted } from './dom-037dc374.js';
8
+ import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-0c4ea23a.js';
8
9
  import './resources-584acd9b.js';
9
10
  import './resources-7c6029b6.js';
10
11
  import './guid-196bd5ea.js';
12
+ import './observers-8f0bc419.js';
11
13
 
12
14
  const CSS = {
13
15
  actionGroupBottom: "action-group--bottom",
@@ -82,6 +84,12 @@ let CalciteActionPad = class {
82
84
  // Lifecycle
83
85
  //
84
86
  // --------------------------------------------------------------------------
87
+ connectedCallback() {
88
+ connectConditionalSlotComponent(this);
89
+ }
90
+ disconnectedCallback() {
91
+ disconnectConditionalSlotComponent(this);
92
+ }
85
93
  componentWillLoad() {
86
94
  const { el, expandDisabled, expanded } = this;
87
95
  if (!expandDisabled) {
@@ -64,6 +64,7 @@ let CalciteAlert = class {
64
64
  this.queued = false;
65
65
  this.autoDismissTimeoutId = null;
66
66
  this.trackTimer = Date.now();
67
+ this.activeTransitionProp = "opacity";
67
68
  /** close and emit the closed alert and the queue */
68
69
  this.closeAlert = () => {
69
70
  this.autoDismissTimeoutId = null;
@@ -72,10 +73,19 @@ let CalciteAlert = class {
72
73
  this.queue = this.queue.filter((e) => e !== this.el);
73
74
  this.determineActiveAlert();
74
75
  this.calciteAlertSync.emit({ queue: this.queue });
75
- this.calciteAlertClose.emit({
76
- el: this.el,
77
- queue: this.queue
78
- });
76
+ };
77
+ this.transitionEnd = (event) => {
78
+ if (event.propertyName === this.activeTransitionProp) {
79
+ this.active
80
+ ? this.calciteAlertOpen.emit({
81
+ el: this.el,
82
+ queue: this.queue
83
+ })
84
+ : this.calciteAlertClose.emit({
85
+ el: this.el,
86
+ queue: this.queue
87
+ });
88
+ }
79
89
  };
80
90
  }
81
91
  watchActive() {
@@ -126,7 +136,7 @@ let CalciteAlert = class {
126
136
  container: true,
127
137
  queued,
128
138
  [placement]: true
129
- } }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS.title }), h("slot", { name: SLOTS.message }), h("slot", { name: SLOTS.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? h("div", { class: "alert-dismiss-progress" }) : null)));
139
+ }, onTransitionEnd: this.transitionEnd }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS.title }), h("slot", { name: SLOTS.message }), h("slot", { name: SLOTS.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? h("div", { class: "alert-dismiss-progress" }) : null)));
130
140
  }
131
141
  // when an alert is opened or closed, update queue and determine active alert
132
142
  alertSync(event) {
@@ -185,10 +195,6 @@ let CalciteAlert = class {
185
195
  openAlert() {
186
196
  window.clearTimeout(this.queueTimeout);
187
197
  this.queueTimeout = window.setTimeout(() => (this.queued = false), 300);
188
- this.calciteAlertOpen.emit({
189
- el: this.el,
190
- queue: this.queue
191
- });
192
198
  }
193
199
  get el() { return getElement(this); }
194
200
  static get watchers() { return {
@@ -5,7 +5,9 @@
5
5
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-9de00868.js';
6
6
  import { g as getSlotted, a as getElementDir } from './dom-037dc374.js';
7
7
  import { C as CalciteHeading } from './CalciteHeading-1d6cd311.js';
8
+ import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-0c4ea23a.js';
8
9
  import './guid-196bd5ea.js';
10
+ import './observers-8f0bc419.js';
9
11
 
10
12
  const CSS$1 = {
11
13
  article: "article",
@@ -96,6 +98,17 @@ let CalciteBlock = class {
96
98
  }
97
99
  // --------------------------------------------------------------------------
98
100
  //
101
+ // Lifecycle
102
+ //
103
+ // --------------------------------------------------------------------------
104
+ connectedCallback() {
105
+ connectConditionalSlotComponent(this);
106
+ }
107
+ disconnectedCallback() {
108
+ disconnectConditionalSlotComponent(this);
109
+ }
110
+ // --------------------------------------------------------------------------
111
+ //
99
112
  // Render Methods
100
113
  //
101
114
  // --------------------------------------------------------------------------
@@ -109,7 +122,7 @@ let CalciteBlock = class {
109
122
  const showingLoadingStatus = this.loading && !this.open;
110
123
  const statusIcon = showingLoadingStatus ? ICONS$1.refresh : ICONS$1[status];
111
124
  const hasIcon = getSlotted(el, SLOTS.icon) || statusIcon;
112
- const iconEl = !statusIcon ? (h("slot", { name: SLOTS.icon })) : (h("calcite-icon", { class: {
125
+ const iconEl = !statusIcon ? (h("slot", { key: "icon-slot", name: SLOTS.icon })) : (h("calcite-icon", { class: {
113
126
  [CSS$1.statusIcon]: true,
114
127
  [CSS$1.valid]: status == "valid",
115
128
  [CSS$1.invalid]: status == "invalid",
@@ -5,6 +5,8 @@
5
5
  import { r as registerInstance, c as createEvent, h, g as getElement } from './index-9de00868.js';
6
6
  import { g as getSlotted } from './dom-037dc374.js';
7
7
  import { g as guid } from './guid-196bd5ea.js';
8
+ import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-0c4ea23a.js';
9
+ import './observers-8f0bc419.js';
8
10
 
9
11
  const CSS = {
10
12
  title: "title",
@@ -58,6 +60,17 @@ let CalciteChip = class {
58
60
  };
59
61
  this.guid = guid();
60
62
  }
63
+ // --------------------------------------------------------------------------
64
+ //
65
+ // Lifecycle
66
+ //
67
+ // --------------------------------------------------------------------------
68
+ connectedCallback() {
69
+ connectConditionalSlotComponent(this);
70
+ }
71
+ disconnectedCallback() {
72
+ disconnectConditionalSlotComponent(this);
73
+ }
61
74
  //--------------------------------------------------------------------------
62
75
  //
63
76
  // Public Methods
@@ -76,7 +89,7 @@ let CalciteChip = class {
76
89
  renderChipImage() {
77
90
  const { el } = this;
78
91
  const hasChipImage = getSlotted(el, SLOTS.image);
79
- return hasChipImage ? (h("div", { class: CSS.chipImageContainer }, h("slot", { name: SLOTS.image }))) : null;
92
+ return hasChipImage ? (h("div", { class: CSS.chipImageContainer, key: "image" }, h("slot", { name: SLOTS.image }))) : null;
80
93
  }
81
94
  render() {
82
95
  const iconEl = (h("calcite-icon", { class: CSS.calciteChipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
@@ -155,6 +155,9 @@ const ComboboxItem = "CALCITE-COMBOBOX-ITEM";
155
155
  const ComboboxItemGroup = "CALCITE-COMBOBOX-ITEM-GROUP";
156
156
  const ComboboxChildSelector = `${ComboboxItem}, ${ComboboxItemGroup}`;
157
157
  const ComboboxDefaultPlacement = "bottom-leading";
158
+ const TEXT = {
159
+ removeTag: "Remove tag"
160
+ };
158
161
 
159
162
  function getAncestors(element) {
160
163
  var _a, _b;
@@ -181,6 +184,11 @@ function getDepth(element) {
181
184
  const calciteComboboxCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:0.5}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding:0 var(--calcite-combobox-item-spacing-unit-l) 0 var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding:0 var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{-ms-flex-positive:1;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-width:120px;margin-bottom:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-bottom:0px;margin-top:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;width:0px;min-width:0px;opacity:0}.input--icon{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.label{pointer-events:none;display:-ms-flexbox;display:flex;max-width:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-top:0px;padding-bottom:0px;padding-left:var(--calcite-combobox-item-spacing-unit-l);padding-right:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:-ms-flexbox;display:flex;width:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}.icon-end{-ms-flex:none;flex:none}.popper-container{width:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.popper-container .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.popper-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.popper-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.popper-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.popper-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.popper-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.popper-container--active{pointer-events:initial;visibility:visible}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-height:100vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);width:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{height:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 2) 0;margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.chip:last-of-type{-webkit-margin-end:0;margin-inline-end:0}.item{display:block}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
182
185
 
183
186
  const isGroup = (el) => el.tagName === ComboboxItemGroup;
187
+ const itemUidPrefix = "combobox-item-";
188
+ const chipUidPrefix = "combobox-chip-";
189
+ const labelUidPrefix = "combobox-label-";
190
+ const listboxUidPrefix = "combobox-listbox-";
191
+ const inputUidPrefix = "combobox-input-";
184
192
  let CalciteCombobox = class {
185
193
  constructor(hostRef) {
186
194
  registerInstance(this, hostRef);
@@ -219,6 +227,10 @@ let CalciteCombobox = class {
219
227
  this.scale = "m";
220
228
  /** The value(s) of the selectedItem(s) */
221
229
  this.value = null;
230
+ /** string to override the English "Remove tag" text for when an item is selected.
231
+ * @default "Remove tag"
232
+ */
233
+ this.intlRemoveTag = TEXT.removeTag;
222
234
  //--------------------------------------------------------------------------
223
235
  //
224
236
  // Private State/Props
@@ -728,7 +740,7 @@ let CalciteCombobox = class {
728
740
  const item = document.createElement(ComboboxItem);
729
741
  item.value = value;
730
742
  item.textLabel = value;
731
- item.guid = guid();
743
+ item.guid = `${chipUidPrefix}${guid()}`;
732
744
  item.selected = true;
733
745
  this.el.appendChild(item);
734
746
  this.resetText();
@@ -778,7 +790,7 @@ let CalciteCombobox = class {
778
790
  focusChip() {
779
791
  var _a;
780
792
  const guid = (_a = this.selectedItems[this.activeChipIndex]) === null || _a === void 0 ? void 0 : _a.guid;
781
- const chip = this.referenceEl.querySelector(`#chip-${guid}`);
793
+ const chip = this.referenceEl.querySelector(`#${chipUidPrefix}${guid}`);
782
794
  chip === null || chip === void 0 ? void 0 : chip.setFocus();
783
795
  }
784
796
  shiftActiveItemIndex(delta) {
@@ -824,7 +836,7 @@ let CalciteCombobox = class {
824
836
  //
825
837
  //--------------------------------------------------------------------------
826
838
  renderChips() {
827
- const { activeChipIndex, scale, selectionMode } = this;
839
+ const { activeChipIndex, scale, selectionMode, intlRemoveTag } = this;
828
840
  return this.selectedItems.map((item, i) => {
829
841
  const chipClasses = {
830
842
  chip: true,
@@ -833,11 +845,11 @@ let CalciteCombobox = class {
833
845
  const ancestors = [...getItemAncestors(item)].reverse();
834
846
  const pathLabel = [...ancestors, item].map((el) => el.textLabel);
835
847
  const label = selectionMode !== "ancestors" ? item.textLabel : pathLabel.join(" / ");
836
- return (h("calcite-chip", { "aria-label": label, class: chipClasses, dismissLabel: "remove tag", dismissible: true, icon: item.icon, id: `chip-${item.guid}`, key: item.textLabel, onCalciteChipDismiss: (event) => this.calciteChipDismissHandler(event, item), scale: scale, title: label, value: item.value }, label));
848
+ return (h("calcite-chip", { class: chipClasses, dismissLabel: intlRemoveTag, dismissible: true, icon: item.icon, id: `${chipUidPrefix}${item.guid}`, key: item.textLabel, onCalciteChipDismiss: (event) => this.calciteChipDismissHandler(event, item), scale: scale, title: label, value: item.value }, label));
837
849
  });
838
850
  }
839
851
  renderInput() {
840
- const { active, disabled, placeholder, selectionMode, needsIcon, selectedItems } = this;
852
+ const { guid, active, disabled, placeholder, selectionMode, needsIcon, selectedItems } = this;
841
853
  const single = selectionMode === "single";
842
854
  const selectedItem = selectedItems[0];
843
855
  const showLabel = !active && single && !!selectedItem;
@@ -847,16 +859,16 @@ let CalciteCombobox = class {
847
859
  } }, showLabel && (h("span", { class: {
848
860
  label: true,
849
861
  "label--spaced": needsIcon
850
- }, key: "label", onFocus: this.comboboxFocusHandler, tabindex: "0" }, selectedItem.textLabel)), h("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": guid, "aria-label": getLabelText(this), class: {
862
+ }, key: "label", onFocus: this.comboboxFocusHandler, tabindex: "0" }, selectedItem.textLabel)), h("input", { "aria-activedescendant": this.activeDescendant, "aria-autocomplete": "list", "aria-controls": `${listboxUidPrefix}${guid}`, "aria-label": getLabelText(this), class: {
851
863
  input: true,
852
864
  "input--single": true,
853
865
  "input--transparent": this.activeChipIndex > -1,
854
866
  "input--hidden": showLabel,
855
867
  "input--icon": single && needsIcon
856
- }, disabled: disabled, id: `${guid}-input`, key: "input", onBlur: this.comboboxBlurHandler, onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, ref: (el) => (this.textInput = el), type: "text" })));
868
+ }, disabled: disabled, id: `${inputUidPrefix}${guid}`, key: "input", onBlur: this.comboboxBlurHandler, onFocus: this.comboboxFocusHandler, onInput: this.inputHandler, placeholder: placeholder, ref: (el) => (this.textInput = el), type: "text" })));
857
869
  }
858
870
  renderListBoxOptions() {
859
- return this.visibleItems.map((item) => (h("li", { "aria-selected": (!!item.selected).toString(), id: item.guid, role: "option", tabindex: "-1" }, item.textLabel)));
871
+ return this.visibleItems.map((item) => (h("li", { "aria-selected": (!!item.selected).toString(), id: `${itemUidPrefix}${item.guid}`, role: "option", tabindex: "-1" }, item.textLabel)));
860
872
  }
861
873
  renderPopperContainer() {
862
874
  const { active, maxScrollerHeight, setMenuEl, setListContainerEl, hideList, open } = this;
@@ -882,12 +894,11 @@ let CalciteCombobox = class {
882
894
  render() {
883
895
  const { guid, open, label } = this;
884
896
  const single = this.selectionMode === "single";
885
- const labelId = `${guid}-label`;
886
- return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": open.toString(), "aria-haspopup": "listbox", "aria-labelledby": labelId, "aria-owns": guid, class: {
897
+ return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": open.toString(), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
887
898
  wrapper: true,
888
899
  "wrapper--single": single || !this.selectedItems.length,
889
900
  "wrapper--active": open
890
- }, onClick: this.setFocusClick, ref: this.setReferenceEl, role: "combobox" }, h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), h("label", { class: "screen-readers-only", htmlFor: `${guid}-input`, id: labelId }, label), this.renderInput()), this.renderIconEnd()), h("ul", { "aria-labelledby": labelId, "aria-multiselectable": "true", class: "screen-readers-only", id: guid, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer(), h(HiddenFormInputSlot, { component: this })));
901
+ }, onClick: this.setFocusClick, ref: this.setReferenceEl, role: "combobox" }, h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), h("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), h("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer(), h(HiddenFormInputSlot, { component: this })));
891
902
  }
892
903
  get el() { return getElement(this); }
893
904
  static get watchers() { return {
@@ -2,8 +2,9 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { r as registerInstance, h, g as getElement, c as createEvent, H as Host } from './index-9de00868.js';
5
+ import { r as registerInstance, f as forceUpdate, h, g as getElement, c as createEvent, H as Host } from './index-9de00868.js';
6
6
  import { g as guid } from './guid-196bd5ea.js';
7
+ import { c as createObserver } from './observers-8f0bc419.js';
7
8
  import { j as intersects } from './dom-037dc374.js';
8
9
  import { d as decimalPlaces, c as clamp } from './math-456207f5.js';
9
10
  import { c as connectLabel, d as disconnectLabel } from './label-712646d2.js';
@@ -108,7 +109,7 @@ function area({ data, min, max, t }) {
108
109
  return `${commands} ${end} L ${maxX},${minY} Z`;
109
110
  }
110
111
 
111
- const calciteGraphCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;padding:0px}:host([data-style=slider-histogram]) svg{width:100%}:host([data-style=slider-histogram]) svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}";
112
+ const calciteGraphCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;height:100%;width:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}";
112
113
 
113
114
  let CalciteGraph = class {
114
115
  constructor(hostRef) {
@@ -123,25 +124,31 @@ let CalciteGraph = class {
123
124
  * These data points should be sorted by x-axis value
124
125
  */
125
126
  this.data = [];
126
- /** Width of graph in pixels*/
127
- this.width = 300;
128
- /** Width of graph in pixels*/
129
- this.height = 100;
130
127
  //--------------------------------------------------------------------------
131
128
  //
132
129
  // Private State/Props
133
130
  //
134
131
  //--------------------------------------------------------------------------
135
132
  this.graphId = `calcite-graph-${guid()}`;
133
+ this.resizeObserver = createObserver("resize", () => forceUpdate(this));
136
134
  }
137
135
  //--------------------------------------------------------------------------
138
136
  //
139
137
  // Lifecycle
140
138
  //
141
139
  //--------------------------------------------------------------------------
140
+ connectedCallback() {
141
+ var _a;
142
+ (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el);
143
+ }
144
+ disconnectedCallback() {
145
+ var _a;
146
+ (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
147
+ }
142
148
  render() {
143
- const { data, colorStops, width, height, highlightMax, highlightMin, min, max } = this;
149
+ const { data, colorStops, el, highlightMax, highlightMin, min, max } = this;
144
150
  const id = this.graphId;
151
+ const { clientHeight: height, clientWidth: width } = el;
145
152
  // if we have no data, return empty svg
146
153
  if (!data || data.length === 0) {
147
154
  return (h("svg", { class: "svg", height: height, preserveAspectRatio: "none", viewBox: `0 0 ${width} ${height}`, width: width }));
@@ -191,7 +198,7 @@ let CalciteGraph = class {
191
198
  };
192
199
  CalciteGraph.style = calciteGraphCss;
193
200
 
194
- const calciteSliderCss = "@charset \"UTF-8\";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.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-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}: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-width:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;top:0px;bottom:0px;opacity:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;width:1em}.thumb .handle{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-offset:0;outline-color:transparent;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;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;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, -webkit-box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-2px}: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:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-top:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-bottom:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;width:100%;content:\"\";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}.tick{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);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{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3)}:host([label-ticks][ticks]) .container{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-top:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-top: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-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
201
+ const calciteSliderCss = "@charset \"UTF-8\";@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}.scale--s{--calcite-slider-handle-size:10px;--calcite-slider-handle-extension-height:6.5px;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:14px;--calcite-slider-handle-extension-height:8px;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:16px;--calcite-slider-handle-extension-height:10.5px;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.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-ui-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;padding:calc(var(--calcite-slider-handle-size) * 0.5);margin:calc(var(--calcite-slider-handle-size) * 0.5) 0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n )}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-ui-text-3)}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-6px}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-8px}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-9px}: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-width:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;-webkit-transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset));transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;top:0px;bottom:0px;opacity:0}.thumb .handle__label.hyphen::after{content:\"—\";display:inline-block;width:1em}.thumb .handle{-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-ui-foreground-1);outline-offset:0;outline-color:transparent;height:var(--calcite-slider-handle-size);width:var(--calcite-slider-handle-size);-webkit-box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;box-shadow:0 0 0 2px var(--calcite-ui-text-3) inset;-webkit-transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, -webkit-box-shadow var(--calcite-animation-timing) ease;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;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, -webkit-box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{width:0.125rem;height:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-ui-text-3)}.thumb:hover .handle{-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand) inset;box-shadow:0 0 0 3px var(--calcite-ui-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-ui-brand)}.thumb:focus .handle{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.thumb:focus .handle-extension{background-color:var(--calcite-ui-brand)}.thumb.thumb--minValue{-webkit-transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset));transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-2px}: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:-23px}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-30px}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-32px}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-top:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-bottom:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-33px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-44px}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-49px}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-ui-brand);-webkit-box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-ui-brand)}.track{position:relative;height:0.125rem;border-radius:0px;background-color:var(--calcite-ui-border-2);-webkit-transition:all var(--calcite-internal-animation-timing-medium) ease-in;transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;top:0px;height:0.125rem;background-color:var(--calcite-ui-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;width:100%;content:\"\";top:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);height:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}.tick{position:absolute;height:0.25rem;width:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-ui-border-input);border-color:var(--calcite-ui-foreground-1);top:-2px;pointer-events:none;-webkit-margin-start:calc(-1 * 0.125rem);margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-ui-brand)}.tick__label{pointer-events:none;margin-top:0.875rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.tick__label--min{-webkit-transition:opacity var(--calcite-animation-timing);transition:opacity var(--calcite-animation-timing)}.tick__label--max{-webkit-transition:opacity var(--calcite-internal-animation-timing-fast);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{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.graph{color:var(--calcite-ui-foreground-3);height:48px}:host([label-ticks][ticks]) .container{padding-bottom:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-bottom:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-bottom:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-top:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-bottom:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-top:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-top: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-bottom:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
195
202
 
196
203
  let CalciteSlider = class {
197
204
  constructor(hostRef) {
@@ -446,7 +453,7 @@ let CalciteSlider = class {
446
453
  histogramLabeledPreciseHandle, h(HiddenFormInputSlot, { component: this })))));
447
454
  }
448
455
  renderGraph() {
449
- return this.histogram ? (h("div", { class: "graph" }, h("calcite-graph", { colorStops: this.histogramStops, data: this.histogram, "data-style": "slider-histogram", height: 48, highlightMax: this.isRange ? this.maxValue : this.value, highlightMin: this.isRange ? this.minValue : this.min, max: this.max, min: this.min, width: 300 }))) : null;
456
+ return this.histogram ? (h("calcite-graph", { class: "graph", colorStops: this.histogramStops, data: this.histogram, highlightMax: this.isRange ? this.maxValue : this.value, highlightMin: this.isRange ? this.minValue : this.min, max: this.max, min: this.min })) : null;
450
457
  }
451
458
  renderTickLabel(tick) {
452
459
  const isMinTickLabel = tick === this.min;
@@ -27,8 +27,8 @@ const calciteInlineEditableCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacit
27
27
  let CalciteInlineEditable = class {
28
28
  constructor(hostRef) {
29
29
  registerInstance(this, hostRef);
30
- this.calciteInlineEditableEditingCancel = createEvent(this, "calciteInlineEditableEditingCancel", 7);
31
- this.calciteInlineEditableChangesConfirm = createEvent(this, "calciteInlineEditableChangesConfirm", 7);
30
+ this.calciteInlineEditableEditCancel = createEvent(this, "calciteInlineEditableEditCancel", 7);
31
+ this.calciteInlineEditableEditConfirm = createEvent(this, "calciteInlineEditableEditConfirm", 7);
32
32
  this.calciteInlineEditableEnableEditingChange = createEvent(this, "calciteInlineEditableEnableEditingChange", 7);
33
33
  //--------------------------------------------------------------------------
34
34
  //
@@ -55,9 +55,9 @@ let CalciteInlineEditable = class {
55
55
  * @default "Save"
56
56
  */
57
57
  this.intlConfirmChanges = TEXT.intlConfirmChanges;
58
- this.transitionEnd = (event) => {
58
+ this.transitionEnd = () => {
59
59
  if (!this.editingEnabled && !!this.shouldEmitCancel) {
60
- this.calciteInlineEditableEditingCancel.emit(event);
60
+ this.calciteInlineEditableEditCancel.emit();
61
61
  }
62
62
  };
63
63
  this.enableEditing = () => {
@@ -109,7 +109,7 @@ let CalciteInlineEditable = class {
109
109
  this.confirmChangesHandler = async (e) => {
110
110
  e.preventDefault();
111
111
  e.stopPropagation();
112
- this.calciteInlineEditableChangesConfirm.emit();
112
+ this.calciteInlineEditableEditConfirm.emit();
113
113
  try {
114
114
  if (this.afterConfirm) {
115
115
  this.loading = true;
@@ -246,6 +246,9 @@ let CalciteInput = class {
246
246
  const inputMin = this.minString ? parseFloat(this.minString) : null;
247
247
  const valueNudgeDelayInMs = 100;
248
248
  this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
249
+ if (this.nudgeNumberValueIntervalId) {
250
+ window.clearInterval(this.nudgeNumberValueIntervalId);
251
+ }
249
252
  let firstValueNudge = true;
250
253
  this.nudgeNumberValueIntervalId = window.setInterval(() => {
251
254
  if (firstValueNudge) {
@@ -4,8 +4,10 @@
4
4
  */
5
5
  import { r as registerInstance, h, H as Host, g as getElement } from './index-9de00868.js';
6
6
  import { g as getSlotted } from './dom-037dc374.js';
7
+ import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-0c4ea23a.js';
7
8
  import { C as CalciteHeading, c as constrainHeadingLevel } from './CalciteHeading-1d6cd311.js';
8
9
  import './guid-196bd5ea.js';
10
+ import './observers-8f0bc419.js';
9
11
 
10
12
  const CSS$2 = {
11
13
  container: "container"
@@ -80,6 +82,17 @@ let CalciteListItem = class {
80
82
  }
81
83
  // --------------------------------------------------------------------------
82
84
  //
85
+ // Lifecycle
86
+ //
87
+ // --------------------------------------------------------------------------
88
+ connectedCallback() {
89
+ connectConditionalSlotComponent(this);
90
+ }
91
+ disconnectedCallback() {
92
+ disconnectConditionalSlotComponent(this);
93
+ }
94
+ // --------------------------------------------------------------------------
95
+ //
83
96
  // Public Methods
84
97
  //
85
98
  // --------------------------------------------------------------------------