@esri/calcite-components 1.0.0-next.392 → 1.0.0-next.396

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 (383) hide show
  1. package/dist/calcite/assets/icon/pinTear16F.json +1 -0
  2. package/dist/calcite/assets/icon/pinTear24F.json +1 -0
  3. package/dist/calcite/assets/icon/pinTear32F.json +1 -0
  4. package/dist/calcite/assets/icon/popUpBlank16F.json +1 -0
  5. package/dist/calcite/assets/icon/popUpBlank24F.json +1 -0
  6. package/dist/calcite/assets/icon/popUpBlank32F.json +1 -0
  7. package/dist/calcite/assets/icon/select16.json +1 -0
  8. package/dist/calcite/assets/icon/select24.json +1 -0
  9. package/dist/calcite/assets/icon/select32.json +1 -0
  10. package/dist/calcite/calcite.css +1 -1
  11. package/dist/calcite/calcite.esm.js +1 -1
  12. package/dist/calcite/calcite.js +1 -1
  13. package/dist/calcite/{p-93e6e0c0.entry.js → p-0119b1c4.entry.js} +1 -1
  14. package/dist/calcite/{p-4b7ff039.entry.js → p-04bf684c.entry.js} +1 -1
  15. package/dist/calcite/{p-7b2f2117.system.entry.js → p-04bf9bca.system.entry.js} +1 -1
  16. package/dist/calcite/{p-e8586360.entry.js → p-050a406e.entry.js} +1 -1
  17. package/dist/calcite/p-0a8635a5.system.entry.js +5 -0
  18. package/dist/calcite/{p-6f7ca56a.entry.js → p-0db51b2f.entry.js} +1 -1
  19. package/dist/calcite/{p-d2931c8e.system.entry.js → p-10b1b39a.system.entry.js} +1 -1
  20. package/dist/calcite/{p-ec2d6c5f.system.entry.js → p-13cbacc6.system.entry.js} +1 -1
  21. package/dist/calcite/{p-75cda5de.system.entry.js → p-141c978b.system.entry.js} +1 -1
  22. package/dist/calcite/{p-fd7653f8.system.entry.js → p-14bac901.system.entry.js} +1 -1
  23. package/dist/calcite/{p-d324869b.entry.js → p-153af136.entry.js} +1 -1
  24. package/dist/calcite/{p-7010aa4f.system.entry.js → p-1a1dd9b6.system.entry.js} +1 -1
  25. package/dist/calcite/{p-756e80e6.system.entry.js → p-1c0b4e1a.system.entry.js} +1 -1
  26. package/dist/calcite/{p-4340f6ed.entry.js → p-2218fef5.entry.js} +1 -1
  27. package/dist/calcite/{p-ebd8eef3.entry.js → p-22ad05e8.entry.js} +1 -1
  28. package/dist/calcite/{p-95810140.system.js → p-26aea1cb.system.js} +1 -1
  29. package/dist/calcite/p-288bc438.system.js +5 -0
  30. package/dist/calcite/{p-4690db7c.entry.js → p-2aea5398.entry.js} +1 -1
  31. package/dist/calcite/{p-fb3f5251.js → p-2e29554c.js} +1 -1
  32. package/dist/calcite/{p-ad2fd769.system.entry.js → p-2e351904.system.entry.js} +1 -1
  33. package/dist/calcite/{p-ef628ec2.system.entry.js → p-301ee662.system.entry.js} +1 -1
  34. package/dist/calcite/{p-cb02295b.system.entry.js → p-307c74d9.system.entry.js} +1 -1
  35. package/dist/calcite/{p-e83fada9.system.entry.js → p-30f0e22d.system.entry.js} +1 -1
  36. package/dist/calcite/{p-3866f997.js → p-36e29ddc.js} +1 -1
  37. package/dist/calcite/{p-5660811e.entry.js → p-374c3c70.entry.js} +1 -1
  38. package/dist/calcite/{p-320b25d0.system.entry.js → p-3970879d.system.entry.js} +1 -1
  39. package/dist/calcite/{p-3ca93efb.entry.js → p-39f8d232.entry.js} +1 -1
  40. package/dist/calcite/{p-3f6a6851.system.entry.js → p-3dd50bac.system.entry.js} +1 -1
  41. package/dist/calcite/{p-510ef2b7.system.entry.js → p-40c3d7a6.system.entry.js} +1 -1
  42. package/dist/calcite/{p-99ef6191.entry.js → p-444e31b1.entry.js} +1 -1
  43. package/dist/calcite/{p-d9ed0469.entry.js → p-448ee714.entry.js} +1 -1
  44. package/dist/calcite/{p-48fae9a9.system.js → p-44aa1db4.system.js} +1 -1
  45. package/dist/calcite/{p-6a37cdeb.entry.js → p-46b6888c.entry.js} +1 -1
  46. package/dist/calcite/{p-e3bbb30c.entry.js → p-479f8f07.entry.js} +1 -1
  47. package/dist/calcite/{p-16a27151.entry.js → p-49782820.entry.js} +1 -1
  48. package/dist/calcite/p-49992d49.entry.js +5 -0
  49. package/dist/calcite/{p-3de9f520.entry.js → p-5007d2f5.entry.js} +1 -1
  50. package/dist/calcite/{p-c5e8d437.system.entry.js → p-513bc44f.system.entry.js} +1 -1
  51. package/dist/calcite/{p-08220a98.entry.js → p-52f03db0.entry.js} +1 -1
  52. package/dist/calcite/{p-233c1216.system.entry.js → p-53220585.system.entry.js} +2 -2
  53. package/dist/calcite/{p-f33989b0.entry.js → p-570074bd.entry.js} +1 -1
  54. package/dist/calcite/{p-9ef989e2.entry.js → p-5a77fd17.entry.js} +1 -1
  55. package/dist/calcite/{p-8d1564c5.system.entry.js → p-5ac1f5fb.system.entry.js} +1 -1
  56. package/dist/calcite/{p-303eabcf.system.entry.js → p-5c2545f0.system.entry.js} +1 -1
  57. package/dist/calcite/{p-8ad8b9d5.entry.js → p-5f41045a.entry.js} +1 -1
  58. package/dist/calcite/{p-2f9d5e36.system.js → p-631e416a.system.js} +1 -1
  59. package/dist/calcite/{p-5833a3af.entry.js → p-655c4dfd.entry.js} +1 -1
  60. package/dist/calcite/{p-1199ec78.entry.js → p-65c30ccd.entry.js} +1 -1
  61. package/dist/calcite/{p-98ee5f9e.js → p-668c5e70.js} +1 -1
  62. package/dist/calcite/{p-4edc43c1.entry.js → p-66ca7309.entry.js} +1 -1
  63. package/dist/calcite/{p-9044a47a.system.entry.js → p-68aab44a.system.entry.js} +1 -1
  64. package/dist/calcite/{p-a809abbd.system.entry.js → p-6a2ac09a.system.entry.js} +1 -1
  65. package/dist/calcite/{p-dfb130a1.system.entry.js → p-6a9e2249.system.entry.js} +1 -1
  66. package/dist/calcite/{p-55c884ba.entry.js → p-6eb1302b.entry.js} +1 -1
  67. package/dist/calcite/{p-da987587.system.entry.js → p-7415264e.system.entry.js} +1 -1
  68. package/dist/calcite/{p-672ec03a.entry.js → p-786b8250.entry.js} +1 -1
  69. package/dist/calcite/{p-e93a418e.system.entry.js → p-7b5207ea.system.entry.js} +1 -1
  70. package/dist/calcite/{p-6d5c2fce.system.entry.js → p-7d4316a1.system.entry.js} +1 -1
  71. package/dist/calcite/{p-cbed5142.system.entry.js → p-7f1ff224.system.entry.js} +1 -1
  72. package/dist/calcite/{p-a4e88435.system.entry.js → p-82d85d32.system.entry.js} +1 -1
  73. package/dist/calcite/{p-6f1df940.system.entry.js → p-838a07fc.system.entry.js} +1 -1
  74. package/dist/calcite/{p-fc2f135e.system.entry.js → p-8456e717.system.entry.js} +1 -1
  75. package/dist/calcite/{p-385f6cb9.entry.js → p-869eb8f9.entry.js} +1 -1
  76. package/dist/calcite/{p-010b6b91.system.entry.js → p-86b63ebb.system.entry.js} +1 -1
  77. package/dist/calcite/{p-37d42cfb.system.entry.js → p-89cb9df8.system.entry.js} +1 -1
  78. package/dist/calcite/{p-8ffb975e.system.js → p-916a0f28.system.js} +1 -1
  79. package/dist/calcite/{p-dae2daf0.entry.js → p-9aaeb1df.entry.js} +1 -1
  80. package/dist/calcite/{p-09bd0204.entry.js → p-9ae39d7f.entry.js} +1 -1
  81. package/dist/calcite/{p-518b00d2.entry.js → p-9c7544ce.entry.js} +1 -1
  82. package/dist/calcite/{p-b519a98e.system.entry.js → p-9ca6c750.system.entry.js} +1 -1
  83. package/dist/calcite/{p-3daa627a.entry.js → p-9eb4062a.entry.js} +1 -1
  84. package/dist/calcite/{p-f369f189.entry.js → p-a5b366e8.entry.js} +1 -1
  85. package/dist/calcite/{p-c788896f.entry.js → p-a5e0e140.entry.js} +1 -1
  86. package/dist/calcite/{p-cc4e845c.entry.js → p-a61df17c.entry.js} +1 -1
  87. package/dist/calcite/{p-95a3bcff.system.entry.js → p-a85634a1.system.entry.js} +1 -1
  88. package/dist/calcite/{p-e9299eb6.system.entry.js → p-a8ac1295.system.entry.js} +1 -1
  89. package/dist/calcite/p-ab14b0a2.system.js +5 -0
  90. package/dist/calcite/{p-18259377.entry.js → p-aceeb62f.entry.js} +1 -1
  91. package/dist/calcite/{p-99bf223a.system.js → p-ada75056.system.js} +1 -1
  92. package/dist/calcite/{p-3e59c8ef.system.entry.js → p-b1a43a5f.system.entry.js} +1 -1
  93. package/dist/calcite/{p-ba6b0f09.entry.js → p-b4a23fdf.entry.js} +1 -1
  94. package/dist/calcite/{p-b0ab09d3.system.entry.js → p-b78f6de5.system.entry.js} +1 -1
  95. package/dist/calcite/{p-6ee036b3.entry.js → p-bde80af8.entry.js} +1 -1
  96. package/dist/calcite/{p-a77a8427.entry.js → p-be231b84.entry.js} +1 -1
  97. package/dist/calcite/p-be265e63.entry.js +5 -0
  98. package/dist/calcite/{p-872d22dd.system.entry.js → p-be87f022.system.entry.js} +1 -1
  99. package/dist/calcite/{p-e10348f7.system.entry.js → p-c11cbced.system.entry.js} +1 -1
  100. package/dist/calcite/{p-852a718f.entry.js → p-c1c37da9.entry.js} +1 -1
  101. package/dist/calcite/{p-3180a2aa.js → p-c1d5aac6.js} +1 -1
  102. package/dist/calcite/{p-54a979b5.entry.js → p-c27e520c.entry.js} +1 -1
  103. package/dist/calcite/{p-8446d974.system.entry.js → p-c5463268.system.entry.js} +1 -1
  104. package/dist/calcite/{p-0ad5f37d.entry.js → p-caad6f3c.entry.js} +1 -1
  105. package/dist/calcite/{p-dadb1104.system.entry.js → p-cb33659b.system.entry.js} +1 -1
  106. package/dist/calcite/{p-1a907c90.entry.js → p-cb3a8861.entry.js} +1 -1
  107. package/dist/calcite/{p-7b341154.entry.js → p-cfcb2161.entry.js} +1 -1
  108. package/dist/calcite/{p-75df0e8f.entry.js → p-d2bcb3ae.entry.js} +1 -1
  109. package/dist/calcite/{p-b8a670cc.entry.js → p-d6f6b6c1.entry.js} +1 -1
  110. package/dist/calcite/{p-3b159ff4.entry.js → p-d86f287b.entry.js} +1 -1
  111. package/dist/calcite/{p-914d6fd7.system.entry.js → p-d9499121.system.entry.js} +1 -1
  112. package/dist/calcite/{p-35be6b76.system.entry.js → p-dcfb3261.system.entry.js} +1 -1
  113. package/dist/calcite/{p-72951ce3.system.entry.js → p-dd8b6d4f.system.entry.js} +1 -1
  114. package/dist/calcite/{p-866a9a0c.system.js → p-de274791.system.js} +1 -1
  115. package/dist/calcite/p-e39100e6.system.entry.js +5 -0
  116. package/dist/calcite/{p-635594b8.entry.js → p-e3e09c27.entry.js} +1 -1
  117. package/dist/calcite/{p-2a1d8816.system.entry.js → p-e3f19c5f.system.entry.js} +1 -1
  118. package/dist/calcite/{p-b7ee3389.entry.js → p-e469c1bc.entry.js} +1 -1
  119. package/dist/calcite/{p-150e45ec.entry.js → p-e5420c67.entry.js} +1 -1
  120. package/dist/calcite/{p-f560ca98.system.entry.js → p-e5e29b32.system.entry.js} +1 -1
  121. package/dist/calcite/p-e66c335c.entry.js +5 -0
  122. package/dist/calcite/p-e7779d97.js +5 -0
  123. package/dist/calcite/{p-7266c359.system.entry.js → p-e83a5fe4.system.entry.js} +1 -1
  124. package/dist/calcite/p-e8e0f3b7.js +5 -0
  125. package/dist/calcite/p-ea510477.js +5 -0
  126. package/dist/calcite/{p-209d034d.system.entry.js → p-ee124c9a.system.entry.js} +1 -1
  127. package/dist/calcite/{p-b5781bda.entry.js → p-f01b987c.entry.js} +1 -1
  128. package/dist/calcite/{p-b4a80f18.system.entry.js → p-f3a85d19.system.entry.js} +1 -1
  129. package/dist/calcite/{p-d3316626.system.entry.js → p-f4d9c369.system.entry.js} +1 -1
  130. package/dist/calcite/{p-dc24f809.entry.js → p-f5739197.entry.js} +1 -1
  131. package/dist/calcite/{p-25351c26.system.entry.js → p-f6b0747a.system.entry.js} +1 -1
  132. package/dist/calcite/{p-fc04e52b.system.entry.js → p-f763b1e7.system.entry.js} +1 -1
  133. package/dist/calcite/{p-1ead7db4.system.entry.js → p-f894bab4.system.entry.js} +1 -1
  134. package/dist/calcite/{p-8dcc3c59.system.entry.js → p-f908d72a.system.entry.js} +1 -1
  135. package/dist/calcite/{p-e4746016.entry.js → p-f974ab2f.entry.js} +1 -1
  136. package/dist/calcite/{p-8546fe61.system.entry.js → p-fb948ef5.system.entry.js} +1 -1
  137. package/dist/calcite/{p-eedc2175.entry.js → p-fc122064.entry.js} +1 -1
  138. package/dist/calcite/{p-692f7c5f.system.entry.js → p-fda73553.system.entry.js} +1 -1
  139. package/dist/calcite/{p-6a797e80.entry.js → p-fdd3ea5e.entry.js} +1 -1
  140. package/dist/calcite/{p-e54a3620.entry.js → p-fe3fff79.entry.js} +1 -1
  141. package/dist/calcite/{p-21e8e1e9.system.entry.js → p-fee9511c.system.entry.js} +1 -1
  142. package/dist/cjs/{ExpandToggle-8e7b9785.js → ExpandToggle-ef5d508c.js} +1 -1
  143. package/dist/cjs/{Heading-159e9337.js → Heading-ef16f5df.js} +1 -1
  144. package/dist/cjs/calcite-accordion_2.cjs.entry.js +1 -1
  145. package/dist/cjs/calcite-action-bar.cjs.entry.js +3 -3
  146. package/dist/cjs/calcite-action-group.cjs.entry.js +2 -2
  147. package/dist/cjs/calcite-action-menu.cjs.entry.js +2 -2
  148. package/dist/cjs/calcite-action-pad.cjs.entry.js +3 -3
  149. package/dist/cjs/calcite-action.cjs.entry.js +1 -1
  150. package/dist/cjs/calcite-alert.cjs.entry.js +1 -1
  151. package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
  152. package/dist/cjs/calcite-block_2.cjs.entry.js +3 -3
  153. package/dist/cjs/calcite-button.cjs.entry.js +1 -1
  154. package/dist/cjs/calcite-card.cjs.entry.js +3 -3
  155. package/dist/cjs/calcite-checkbox.cjs.entry.js +2 -2
  156. package/dist/cjs/calcite-chip.cjs.entry.js +2 -2
  157. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1 -1
  158. package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -16
  159. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +4 -4
  160. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +1 -1
  161. package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
  162. package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
  163. package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
  164. package/dist/cjs/calcite-graph_2.cjs.entry.js +2 -2
  165. package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
  166. package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
  167. package/dist/cjs/calcite-inline-editable.cjs.entry.js +1 -1
  168. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +3 -3
  169. package/dist/cjs/calcite-input-message.cjs.entry.js +2 -2
  170. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +2 -2
  171. package/dist/cjs/calcite-input.cjs.entry.js +11 -2
  172. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  173. package/dist/cjs/calcite-link.cjs.entry.js +1 -1
  174. package/dist/cjs/calcite-list_3.cjs.entry.js +3 -3
  175. package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
  176. package/dist/cjs/calcite-modal.cjs.entry.js +2 -2
  177. package/dist/cjs/calcite-notice.cjs.entry.js +2 -2
  178. package/dist/cjs/calcite-option_3.cjs.entry.js +2 -2
  179. package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
  180. package/dist/cjs/calcite-panel.cjs.entry.js +3 -3
  181. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +4 -4
  182. package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
  183. package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
  184. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
  185. package/dist/cjs/calcite-radio-button.cjs.entry.js +2 -2
  186. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +2 -2
  187. package/dist/cjs/calcite-rating.cjs.entry.js +2 -2
  188. package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
  189. package/dist/cjs/calcite-shell_3.cjs.entry.js +4 -4
  190. package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
  191. package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
  192. package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
  193. package/dist/cjs/calcite-switch.cjs.entry.js +2 -2
  194. package/dist/cjs/calcite-tab_4.cjs.entry.js +1 -1
  195. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
  196. package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
  197. package/dist/cjs/calcite-tip_3.cjs.entry.js +3 -3
  198. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +1 -1
  199. package/dist/cjs/calcite-tree_2.cjs.entry.js +2 -2
  200. package/dist/cjs/calcite-value-list_2.cjs.entry.js +3 -3
  201. package/dist/cjs/calcite.cjs.js +1 -1
  202. package/dist/cjs/{conditionalSlot-20745612.js → conditionalSlot-92505fba.js} +1 -1
  203. package/dist/cjs/{form-55a71663.js → form-237cf392.js} +1 -1
  204. package/dist/cjs/{index-8b0d388b.js → index-6b5d2de5.js} +5 -0
  205. package/dist/cjs/loader.cjs.js +1 -1
  206. package/dist/cjs/{resources-23b0d2fa.js → resources-4850fd7c.js} +1 -1
  207. package/dist/cjs/{resources-21e991f5.js → resources-8a9f4e9c.js} +1 -1
  208. package/dist/collection/components/card/card.css +1 -0
  209. package/dist/collection/components/combobox/combobox.js +18 -13
  210. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  211. package/dist/collection/components/icon/assets/icon/pinTear16F.json +1 -0
  212. package/dist/collection/components/icon/assets/icon/pinTear24F.json +1 -0
  213. package/dist/collection/components/icon/assets/icon/pinTear32F.json +1 -0
  214. package/dist/collection/components/icon/assets/icon/popUpBlank16F.json +1 -0
  215. package/dist/collection/components/icon/assets/icon/popUpBlank24F.json +1 -0
  216. package/dist/collection/components/icon/assets/icon/popUpBlank32F.json +1 -0
  217. package/dist/collection/components/icon/assets/icon/select16.json +1 -0
  218. package/dist/collection/components/icon/assets/icon/select24.json +1 -0
  219. package/dist/collection/components/icon/assets/icon/select32.json +1 -0
  220. package/dist/collection/components/input/input.js +9 -0
  221. package/dist/collection/components/input-message/input-message.css +0 -1
  222. package/dist/collection/components/panel/panel.js +2 -2
  223. package/dist/collection/components/shell-center-row/shell-center-row.js +2 -2
  224. package/dist/collection/components/shell-panel/shell-panel.js +2 -2
  225. package/dist/components/calcite-card.js +1 -1
  226. package/dist/components/calcite-combobox.js +18 -13
  227. package/dist/components/calcite-input-message.js +1 -1
  228. package/dist/components/calcite-shell-center-row.js +1 -1
  229. package/dist/components/calcite-shell-panel.js +1 -1
  230. package/dist/components/date-picker-month-header.js +1 -1
  231. package/dist/components/input.js +9 -0
  232. package/dist/custom-elements/index.js +32 -18
  233. package/dist/esm/{ExpandToggle-609ad016.js → ExpandToggle-66a802f1.js} +1 -1
  234. package/dist/esm/{Heading-220f3c1a.js → Heading-0793af93.js} +1 -1
  235. package/dist/esm/calcite-accordion_2.entry.js +1 -1
  236. package/dist/esm/calcite-action-bar.entry.js +3 -3
  237. package/dist/esm/calcite-action-group.entry.js +2 -2
  238. package/dist/esm/calcite-action-menu.entry.js +2 -2
  239. package/dist/esm/calcite-action-pad.entry.js +3 -3
  240. package/dist/esm/calcite-action.entry.js +1 -1
  241. package/dist/esm/calcite-alert.entry.js +1 -1
  242. package/dist/esm/calcite-avatar.entry.js +1 -1
  243. package/dist/esm/calcite-block_2.entry.js +3 -3
  244. package/dist/esm/calcite-button.entry.js +1 -1
  245. package/dist/esm/calcite-card.entry.js +3 -3
  246. package/dist/esm/calcite-checkbox.entry.js +2 -2
  247. package/dist/esm/calcite-chip.entry.js +2 -2
  248. package/dist/esm/calcite-color-picker_3.entry.js +1 -1
  249. package/dist/esm/calcite-combobox_3.entry.js +21 -16
  250. package/dist/esm/calcite-date-picker_4.entry.js +4 -4
  251. package/dist/esm/calcite-dropdown_3.entry.js +1 -1
  252. package/dist/esm/calcite-fab.entry.js +1 -1
  253. package/dist/esm/calcite-filter.entry.js +1 -1
  254. package/dist/esm/calcite-flow.entry.js +1 -1
  255. package/dist/esm/calcite-graph_2.entry.js +2 -2
  256. package/dist/esm/calcite-handle.entry.js +1 -1
  257. package/dist/esm/calcite-icon.entry.js +1 -1
  258. package/dist/esm/calcite-inline-editable.entry.js +1 -1
  259. package/dist/esm/calcite-input-date-picker.entry.js +3 -3
  260. package/dist/esm/calcite-input-message.entry.js +2 -2
  261. package/dist/esm/calcite-input-time-picker_2.entry.js +2 -2
  262. package/dist/esm/calcite-input.entry.js +11 -2
  263. package/dist/esm/calcite-label.entry.js +1 -1
  264. package/dist/esm/calcite-link.entry.js +1 -1
  265. package/dist/esm/calcite-list_3.entry.js +3 -3
  266. package/dist/esm/calcite-loader.entry.js +1 -1
  267. package/dist/esm/calcite-modal.entry.js +2 -2
  268. package/dist/esm/calcite-notice.entry.js +2 -2
  269. package/dist/esm/calcite-option_3.entry.js +2 -2
  270. package/dist/esm/calcite-pagination.entry.js +1 -1
  271. package/dist/esm/calcite-panel.entry.js +3 -3
  272. package/dist/esm/calcite-pick-list_3.entry.js +4 -4
  273. package/dist/esm/calcite-popover_2.entry.js +2 -2
  274. package/dist/esm/calcite-progress.entry.js +1 -1
  275. package/dist/esm/calcite-radio-button-group.entry.js +1 -1
  276. package/dist/esm/calcite-radio-button.entry.js +2 -2
  277. package/dist/esm/calcite-radio-group_2.entry.js +2 -2
  278. package/dist/esm/calcite-rating.entry.js +2 -2
  279. package/dist/esm/calcite-scrim.entry.js +1 -1
  280. package/dist/esm/calcite-shell_3.entry.js +4 -4
  281. package/dist/esm/calcite-sortable-list.entry.js +1 -1
  282. package/dist/esm/calcite-split-button.entry.js +1 -1
  283. package/dist/esm/calcite-stepper_2.entry.js +1 -1
  284. package/dist/esm/calcite-switch.entry.js +2 -2
  285. package/dist/esm/calcite-tab_4.entry.js +1 -1
  286. package/dist/esm/calcite-tile-select_2.entry.js +1 -1
  287. package/dist/esm/calcite-tile.entry.js +2 -2
  288. package/dist/esm/calcite-tip_3.entry.js +3 -3
  289. package/dist/esm/calcite-tooltip_2.entry.js +1 -1
  290. package/dist/esm/calcite-tree_2.entry.js +2 -2
  291. package/dist/esm/calcite-value-list_2.entry.js +3 -3
  292. package/dist/esm/calcite.js +1 -1
  293. package/dist/esm/{conditionalSlot-0e575a09.js → conditionalSlot-9e7d8609.js} +1 -1
  294. package/dist/esm/{form-42bda668.js → form-f90706b4.js} +1 -1
  295. package/dist/esm/{index-c4b90cce.js → index-9de00868.js} +5 -0
  296. package/dist/esm/loader.js +1 -1
  297. package/dist/esm/{resources-1a84c602.js → resources-d6b3fa76.js} +1 -1
  298. package/dist/esm/{resources-3f666f30.js → resources-e171d56b.js} +1 -1
  299. package/dist/esm-es5/{ExpandToggle-609ad016.js → ExpandToggle-66a802f1.js} +1 -1
  300. package/dist/esm-es5/{Heading-220f3c1a.js → Heading-0793af93.js} +1 -1
  301. package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
  302. package/dist/esm-es5/calcite-action-bar.entry.js +1 -1
  303. package/dist/esm-es5/calcite-action-group.entry.js +1 -1
  304. package/dist/esm-es5/calcite-action-menu.entry.js +1 -1
  305. package/dist/esm-es5/calcite-action-pad.entry.js +1 -1
  306. package/dist/esm-es5/calcite-action.entry.js +1 -1
  307. package/dist/esm-es5/calcite-alert.entry.js +1 -1
  308. package/dist/esm-es5/calcite-avatar.entry.js +1 -1
  309. package/dist/esm-es5/calcite-block_2.entry.js +1 -1
  310. package/dist/esm-es5/calcite-button.entry.js +1 -1
  311. package/dist/esm-es5/calcite-card.entry.js +1 -1
  312. package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
  313. package/dist/esm-es5/calcite-chip.entry.js +1 -1
  314. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  315. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  316. package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
  317. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  318. package/dist/esm-es5/calcite-fab.entry.js +1 -1
  319. package/dist/esm-es5/calcite-filter.entry.js +1 -1
  320. package/dist/esm-es5/calcite-flow.entry.js +1 -1
  321. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  322. package/dist/esm-es5/calcite-handle.entry.js +1 -1
  323. package/dist/esm-es5/calcite-icon.entry.js +1 -1
  324. package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
  325. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  326. package/dist/esm-es5/calcite-input-message.entry.js +1 -1
  327. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
  328. package/dist/esm-es5/calcite-input.entry.js +1 -1
  329. package/dist/esm-es5/calcite-label.entry.js +1 -1
  330. package/dist/esm-es5/calcite-link.entry.js +1 -1
  331. package/dist/esm-es5/calcite-list_3.entry.js +1 -1
  332. package/dist/esm-es5/calcite-loader.entry.js +1 -1
  333. package/dist/esm-es5/calcite-modal.entry.js +1 -1
  334. package/dist/esm-es5/calcite-notice.entry.js +1 -1
  335. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  336. package/dist/esm-es5/calcite-pagination.entry.js +1 -1
  337. package/dist/esm-es5/calcite-panel.entry.js +1 -1
  338. package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
  339. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  340. package/dist/esm-es5/calcite-progress.entry.js +1 -1
  341. package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
  342. package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
  343. package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
  344. package/dist/esm-es5/calcite-rating.entry.js +1 -1
  345. package/dist/esm-es5/calcite-scrim.entry.js +1 -1
  346. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  347. package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
  348. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  349. package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
  350. package/dist/esm-es5/calcite-switch.entry.js +1 -1
  351. package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
  352. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  353. package/dist/esm-es5/calcite-tile.entry.js +1 -1
  354. package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
  355. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  356. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  357. package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
  358. package/dist/esm-es5/calcite.js +1 -1
  359. package/dist/esm-es5/{conditionalSlot-0e575a09.js → conditionalSlot-9e7d8609.js} +1 -1
  360. package/dist/esm-es5/{form-42bda668.js → form-f90706b4.js} +1 -1
  361. package/dist/esm-es5/{index-c4b90cce.js → index-9de00868.js} +1 -1
  362. package/dist/esm-es5/loader.js +1 -1
  363. package/dist/esm-es5/{resources-1a84c602.js → resources-d6b3fa76.js} +1 -1
  364. package/dist/esm-es5/{resources-3f666f30.js → resources-e171d56b.js} +1 -1
  365. package/dist/extras/docs-json.json +6 -6
  366. package/dist/types/components/input/input.d.ts +1 -0
  367. package/dist/types/components/panel/panel.d.ts +2 -2
  368. package/dist/types/components/shell-center-row/shell-center-row.d.ts +1 -1
  369. package/dist/types/components/shell-panel/shell-panel.d.ts +1 -1
  370. package/dist/types/components.d.ts +7 -7
  371. package/hydrate/index.js +34 -19
  372. package/package.json +9 -9
  373. package/readme.md +3 -1
  374. package/dist/calcite/p-13f9119c.js +0 -5
  375. package/dist/calcite/p-353015b6.system.entry.js +0 -5
  376. package/dist/calcite/p-800e974a.entry.js +0 -5
  377. package/dist/calcite/p-8647d09e.entry.js +0 -5
  378. package/dist/calcite/p-983287ce.system.js +0 -5
  379. package/dist/calcite/p-a859ccd4.system.js +0 -5
  380. package/dist/calcite/p-af75a72b.js +0 -5
  381. package/dist/calcite/p-c525d974.system.entry.js +0 -5
  382. package/dist/calcite/p-da8ddbce.entry.js +0 -5
  383. package/dist/calcite/p-feb72afc.js +0 -5
@@ -6,7 +6,7 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-8b0d388b.js');
9
+ const index = require('./index-6b5d2de5.js');
10
10
  const dom = require('./dom-f3df220d.js');
11
11
  require('./guid-b270f0db.js');
12
12
 
@@ -6,10 +6,10 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-8b0d388b.js');
9
+ const index = require('./index-6b5d2de5.js');
10
10
  const dom = require('./dom-f3df220d.js');
11
11
  const label = require('./label-6b18ca08.js');
12
- const form = require('./form-55a71663.js');
12
+ const form = require('./form-237cf392.js');
13
13
  require('./guid-b270f0db.js');
14
14
 
15
15
  const switchCss = "@-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([scale=s]) .container{height:0.75rem}:host([scale=s]) .track{height:0.75rem;width:1.5rem}:host([scale=s]) .handle{height:0.5rem;width:0.5rem}:host([scale=m]) .container{height:1rem}:host([scale=m]) .track{height:1rem;width:2rem}:host([scale=m]) .handle{height:0.75rem;width:0.75rem}:host([scale=l]) .container{height:1.5rem}:host([scale=l]) .track{height:1.5rem;width:3rem}:host([scale=l]) .handle{height:1.25rem;width:1.25rem}:host{position:relative;display:inline-block;width:auto;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]){pointer-events:none;cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host{width:auto;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}.track{pointer-events:none;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-2);vertical-align:top;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.handle{pointer-events:none;position:absolute;display:block;border-radius:9999px;border-width:2px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);top:-1px;inset-inline:-1px auto}:host(:hover) .handle,:host(:focus) .handle{border-color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([checked]) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]) .handle{border-color:var(--calcite-ui-brand);inset-inline:auto -1px}:host([checked]:hover) .track{border-color:var(--calcite-ui-brand-hover);background-color:var(--calcite-ui-brand)}:host([checked]:hover) .handle{border-color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}.container:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}::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}";
@@ -6,7 +6,7 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-8b0d388b.js');
9
+ const index = require('./index-6b5d2de5.js');
10
10
  const guid = require('./guid-b270f0db.js');
11
11
  const dom = require('./dom-f3df220d.js');
12
12
  const observers = require('./observers-79bfb8bc.js');
@@ -6,7 +6,7 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-8b0d388b.js');
9
+ const index = require('./index-6b5d2de5.js');
10
10
  const guid = require('./guid-b270f0db.js');
11
11
 
12
12
  const CSS = {
@@ -6,9 +6,9 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-8b0d388b.js');
9
+ const index = require('./index-6b5d2de5.js');
10
10
  const dom = require('./dom-f3df220d.js');
11
- const conditionalSlot = require('./conditionalSlot-20745612.js');
11
+ const conditionalSlot = require('./conditionalSlot-92505fba.js');
12
12
  require('./guid-b270f0db.js');
13
13
  require('./observers-79bfb8bc.js');
14
14
 
@@ -6,10 +6,10 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-8b0d388b.js');
9
+ const index = require('./index-6b5d2de5.js');
10
10
  const dom = require('./dom-f3df220d.js');
11
- const Heading = require('./Heading-159e9337.js');
12
- const conditionalSlot = require('./conditionalSlot-20745612.js');
11
+ const Heading = require('./Heading-ef16f5df.js');
12
+ const conditionalSlot = require('./conditionalSlot-92505fba.js');
13
13
  const observers = require('./observers-79bfb8bc.js');
14
14
  require('./guid-b270f0db.js');
15
15
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-8b0d388b.js');
9
+ const index = require('./index-6b5d2de5.js');
10
10
  const guid = require('./guid-b270f0db.js');
11
11
  const popper = require('./popper-13a2bb46.js');
12
12
  const dom = require('./dom-f3df220d.js');
@@ -6,9 +6,9 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-8b0d388b.js');
9
+ const index = require('./index-6b5d2de5.js');
10
10
  const dom = require('./dom-f3df220d.js');
11
- const conditionalSlot = require('./conditionalSlot-20745612.js');
11
+ const conditionalSlot = require('./conditionalSlot-92505fba.js');
12
12
  require('./guid-b270f0db.js');
13
13
  require('./observers-79bfb8bc.js');
14
14
 
@@ -6,14 +6,14 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-8b0d388b.js');
9
+ const index = require('./index-6b5d2de5.js');
10
10
  const sortable_esm = require('./sortable.esm-d7a4560b.js');
11
- const resources = require('./resources-23b0d2fa.js');
11
+ const resources = require('./resources-4850fd7c.js');
12
12
  const array = require('./array-a5dedf5a.js');
13
13
  const observers = require('./observers-79bfb8bc.js');
14
14
  const guid = require('./guid-b270f0db.js');
15
15
  const dom = require('./dom-f3df220d.js');
16
- const conditionalSlot = require('./conditionalSlot-20745612.js');
16
+ const conditionalSlot = require('./conditionalSlot-92505fba.js');
17
17
  require('./debounce-95979061.js');
18
18
 
19
19
  const CSS = {
@@ -4,7 +4,7 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- const index = require('./index-8b0d388b.js');
7
+ const index = require('./index-6b5d2de5.js');
8
8
 
9
9
  /*
10
10
  Stencil Client Patch Browser v2.13.0 | MIT Licensed | https://stenciljs.com
@@ -4,7 +4,7 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- const index = require('./index-8b0d388b.js');
7
+ const index = require('./index-6b5d2de5.js');
8
8
  const observers = require('./observers-79bfb8bc.js');
9
9
 
10
10
  const observed = new Set();
@@ -5,7 +5,7 @@
5
5
  'use strict';
6
6
 
7
7
  const dom = require('./dom-f3df220d.js');
8
- const index = require('./index-8b0d388b.js');
8
+ const index = require('./index-6b5d2de5.js');
9
9
 
10
10
  /**
11
11
  * Exported for testing purposes.
@@ -1221,6 +1221,11 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1221
1221
  }
1222
1222
  }
1223
1223
  if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1224
+ if (instance.componentShouldUpdate) {
1225
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
1226
+ return;
1227
+ }
1228
+ }
1224
1229
  // looks like this value actually changed, so we've got work to do!
1225
1230
  // but only if we've already rendered, otherwise just chill out
1226
1231
  // queue that we need to do an update, but don't worry about queuing
@@ -6,7 +6,7 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-8b0d388b.js');
9
+ const index = require('./index-6b5d2de5.js');
10
10
 
11
11
  /*
12
12
  Stencil Client Patch Esm v2.13.0 | MIT Licensed | https://stenciljs.com
@@ -7,7 +7,7 @@
7
7
  const dom = require('./dom-f3df220d.js');
8
8
  const array = require('./array-a5dedf5a.js');
9
9
  const debounce = require('./debounce-95979061.js');
10
- const index = require('./index-8b0d388b.js');
10
+ const index = require('./index-6b5d2de5.js');
11
11
 
12
12
  function mutationObserverCallback() {
13
13
  this.setUpItems();
@@ -4,7 +4,7 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- const index = require('./index-8b0d388b.js');
7
+ const index = require('./index-6b5d2de5.js');
8
8
  const locale = require('./locale-02462821.js');
9
9
 
10
10
  /**
@@ -98,6 +98,7 @@
98
98
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
99
99
  transition-duration: 150ms;
100
100
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
101
+ border-radius: var(--calcite-border-radius-base);
101
102
  }
102
103
  :host .calcite-card-container:hover {
103
104
  --tw-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);
@@ -521,19 +521,21 @@ export class Combobox {
521
521
  return this.items.filter((item) => !item.hidden);
522
522
  }
523
523
  getSelectedItems() {
524
- return !this.isMulti()
525
- ? [this.items.find((item) => item.selected)]
526
- : this.items
527
- .filter((item) => item.selected && (this.selectionMode !== "ancestors" || !hasActiveChildren(item)))
528
- /** Preserve order of entered tags */
529
- .sort((a, b) => {
530
- const aIdx = this.selectedItems.indexOf(a);
531
- const bIdx = this.selectedItems.indexOf(b);
532
- if (aIdx > -1 && bIdx > -1) {
533
- return aIdx - bIdx;
534
- }
535
- return bIdx - aIdx;
536
- });
524
+ if (!this.isMulti()) {
525
+ const match = this.items.find(({ selected }) => selected);
526
+ return match ? [match] : [];
527
+ }
528
+ return (this.items
529
+ .filter((item) => item.selected && (this.selectionMode !== "ancestors" || !hasActiveChildren(item)))
530
+ /** Preserve order of entered tags */
531
+ .sort((a, b) => {
532
+ const aIdx = this.selectedItems.indexOf(a);
533
+ const bIdx = this.selectedItems.indexOf(b);
534
+ if (aIdx > -1 && bIdx > -1) {
535
+ return aIdx - bIdx;
536
+ }
537
+ return bIdx - aIdx;
538
+ }));
537
539
  }
538
540
  getData() {
539
541
  return this.items.map((item) => ({
@@ -565,6 +567,9 @@ export class Combobox {
565
567
  this.toggleSelection(existingItem, true);
566
568
  }
567
569
  else {
570
+ if (!this.isMulti()) {
571
+ this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);
572
+ }
568
573
  const item = document.createElement(ComboboxItem);
569
574
  item.value = value;
570
575
  item.textLabel = value;
@@ -91,7 +91,7 @@ export class DatePickerMonthHeader {
91
91
  h("input", { "aria-label": this.intlYear, class: {
92
92
  year: true,
93
93
  "year--suffix": !!suffix
94
- }, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.yearChanged, onKeyDown: this.onYearKey, pattern: "\\d*", ref: (el) => (this.yearInput = el), type: "text", value: localizedYear }),
94
+ }, inputmode: "numeric", maxlength: "4", minlength: "1", onInput: this.yearChanged, onKeyDown: this.onYearKey, pattern: "\\d*", ref: (el) => (this.yearInput = el), type: "text", value: localizedYear }),
95
95
  suffix && (h("span", { class: "suffix" },
96
96
  h("span", { "aria-hidden": "true", class: "suffix__invisible" }, localizedYear),
97
97
  " " + suffix)))),
@@ -0,0 +1 @@
1
+ "M8 0a4.96 4.96 0 0 0-4.9 5.086C3.1 7.893 5.778 11.692 8 16c2.222-4.308 4.9-8.107 4.9-10.914A4.96 4.96 0 0 0 8 0zm0 7.166A2.166 2.166 0 1 1 10.13 5 2.147 2.147 0 0 1 8 7.166z"
@@ -0,0 +1 @@
1
+ "M12 1.1a6.847 6.847 0 0 0-6.9 6.932c0 3.882 3.789 9.01 6.9 14.968 3.111-5.957 6.9-11.086 6.9-14.968A6.847 6.847 0 0 0 12 1.1zm0 9.9a3 3 0 1 1 3-3 3 3 0 0 1-3 3z"
@@ -0,0 +1 @@
1
+ "M24.8 11a8.8 8.8 0 0 0-17.6 0v.24C7.2 16.23 12 23 16 30.66c4-7.66 8.8-14.43 8.8-19.42zM16 15a4 4 0 1 1 4-4 4 4 0 0 1-4 4z"
@@ -0,0 +1 @@
1
+ "M14 1H2a1.001 1.001 0 0 0-1 1v10a1.001 1.001 0 0 0 1 1h4.172L8 15.828 9.828 13H14a1.001 1.001 0 0 0 1-1V2a1.001 1.001 0 0 0-1-1z"
@@ -0,0 +1 @@
1
+ "M12 22.207L15.207 18H20.5a1.502 1.502 0 0 0 1.5-1.5v-13A1.502 1.502 0 0 0 20.5 2h-17A1.502 1.502 0 0 0 2 3.5v13A1.502 1.502 0 0 0 3.5 18h5.293z"
@@ -0,0 +1 @@
1
+ "M29 5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v17a2 2 0 0 0 2 2h6.757l4.276 6.33L20.31 24H27a2 2 0 0 0 2-2z"
@@ -0,0 +1 @@
1
+ "M5 3v10l3-4h5zm2.5 5L6 10V5l4 3H7.5z"
@@ -0,0 +1 @@
1
+ "M8 5v15l4-6h8zm3.376 8L9 17V7.009L16.934 13z"
@@ -0,0 +1 @@
1
+ "M10 7v20l6-8h10zm5.5 11L11 24V9l12 9z"
@@ -394,6 +394,15 @@ export class Input {
394
394
  this.minString = (_b = this.min) === null || _b === void 0 ? void 0 : _b.toString();
395
395
  this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
396
396
  }
397
+ componentShouldUpdate(newValue, oldValue, property) {
398
+ if (this.type === "number" && property === "value" && newValue && !isValidNumber(newValue)) {
399
+ this.setValue({
400
+ value: oldValue
401
+ });
402
+ return false;
403
+ }
404
+ return true;
405
+ }
397
406
  //--------------------------------------------------------------------------
398
407
  //
399
408
  // Public Methods
@@ -91,7 +91,6 @@
91
91
  }
92
92
 
93
93
  :host {
94
- pointer-events: none;
95
94
  visibility: hidden;
96
95
  box-sizing: border-box;
97
96
  display: flex;
@@ -380,10 +380,10 @@ export class Panel {
380
380
  }
381
381
  },
382
382
  "required": false,
383
- "optional": false,
383
+ "optional": true,
384
384
  "docs": {
385
385
  "tags": [],
386
- "text": "Specifies the maxiumum height of the panel."
386
+ "text": "Specifies the maximum height of the panel."
387
387
  },
388
388
  "attribute": "height-scale",
389
389
  "reflect": true
@@ -22,7 +22,7 @@ export class ShellCenterRow {
22
22
  */
23
23
  this.detached = false;
24
24
  /**
25
- * Specifies the maxiumum height of the row.
25
+ * Specifies the maximum height of the row.
26
26
  */
27
27
  this.heightScale = "s";
28
28
  /**
@@ -103,7 +103,7 @@ export class ShellCenterRow {
103
103
  "optional": false,
104
104
  "docs": {
105
105
  "tags": [],
106
- "text": "Specifies the maxiumum height of the row."
106
+ "text": "Specifies the maximum height of the row."
107
107
  },
108
108
  "attribute": "height-scale",
109
109
  "reflect": true,
@@ -27,7 +27,7 @@ export class ShellPanel {
27
27
  */
28
28
  this.detached = false;
29
29
  /**
30
- * Specifies the maxiumum height of the contents when detached.
30
+ * Specifies the maximum height of the contents when detached.
31
31
  */
32
32
  this.detachedHeightScale = "l";
33
33
  /**
@@ -283,7 +283,7 @@ export class ShellPanel {
283
283
  "optional": false,
284
284
  "docs": {
285
285
  "tags": [],
286
- "text": "Specifies the maxiumum height of the contents when detached."
286
+ "text": "Specifies the maximum height of the contents when detached."
287
287
  },
288
288
  "attribute": "detached-height-scale",
289
289
  "reflect": true,
@@ -31,7 +31,7 @@ const TEXT = {
31
31
  loading: "Loading"
32
32
  };
33
33
 
34
- const cardCss = "@-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;max-width:100%}:host .calcite-card-container{position:relative;display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .calcite-card-container:hover{--tw-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 16px 0 var(--tw-shadow-color), 0 2px 8px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);z-index:1}:host .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:75ms;transition-duration:75ms;z-index:1}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header,.footer{display:-ms-flexbox;display:flex;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.75rem;padding-bottom:0.25rem}.header{-ms-flex-direction:column;flex-direction:column}.footer{margin-top:auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.25rem;padding-bottom:0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selectable]) .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-top:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-width:100%;max-width:100%}slot[name=footer-leading]::slotted(*),*::slotted([slot=footer-leading]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}slot[name=footer-trailing]::slotted(*),*::slotted([slot=footer-trailing]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.thumbnail-wrapper{font-size:var(--calcite-font-size-0);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;top:0.5rem;inset-inline-end:0.5rem}";
34
+ const cardCss = "@-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;max-width:100%}:host .calcite-card-container{position:relative;display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}:host .calcite-card-container:hover{--tw-shadow:0 4px 16px 0 rgba(0, 0, 0, 0.08), 0 2px 8px 0 rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 16px 0 var(--tw-shadow-color), 0 2px 8px 0 var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);z-index:1}:host .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);-webkit-transition-duration:75ms;transition-duration:75ms;z-index:1}.container{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.header,.footer{display:-ms-flexbox;display:flex;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.75rem;padding-bottom:0.25rem}.header{-ms-flex-direction:column;flex-direction:column}.footer{margin-top:auto;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.25rem;padding-bottom:0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selectable]) .calcite-card-container:active{--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-top:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-width:100%;max-width:100%}slot[name=footer-leading]::slotted(*),*::slotted([slot=footer-leading]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;-webkit-margin-end:auto;margin-inline-end:auto}slot[name=footer-trailing]::slotted(*),*::slotted([slot=footer-trailing]){-ms-flex-item-align:center;align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.thumbnail-wrapper{font-size:var(--calcite-font-size-0);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;top:0.5rem;inset-inline-end:0.5rem}";
35
35
 
36
36
  let Card = class extends HTMLElement {
37
37
  constructor() {
@@ -670,19 +670,21 @@ let Combobox = class extends HTMLElement {
670
670
  return this.items.filter((item) => !item.hidden);
671
671
  }
672
672
  getSelectedItems() {
673
- return !this.isMulti()
674
- ? [this.items.find((item) => item.selected)]
675
- : this.items
676
- .filter((item) => item.selected && (this.selectionMode !== "ancestors" || !hasActiveChildren(item)))
677
- /** Preserve order of entered tags */
678
- .sort((a, b) => {
679
- const aIdx = this.selectedItems.indexOf(a);
680
- const bIdx = this.selectedItems.indexOf(b);
681
- if (aIdx > -1 && bIdx > -1) {
682
- return aIdx - bIdx;
683
- }
684
- return bIdx - aIdx;
685
- });
673
+ if (!this.isMulti()) {
674
+ const match = this.items.find(({ selected }) => selected);
675
+ return match ? [match] : [];
676
+ }
677
+ return (this.items
678
+ .filter((item) => item.selected && (this.selectionMode !== "ancestors" || !hasActiveChildren(item)))
679
+ /** Preserve order of entered tags */
680
+ .sort((a, b) => {
681
+ const aIdx = this.selectedItems.indexOf(a);
682
+ const bIdx = this.selectedItems.indexOf(b);
683
+ if (aIdx > -1 && bIdx > -1) {
684
+ return aIdx - bIdx;
685
+ }
686
+ return bIdx - aIdx;
687
+ }));
686
688
  }
687
689
  getData() {
688
690
  return this.items.map((item) => ({
@@ -714,6 +716,9 @@ let Combobox = class extends HTMLElement {
714
716
  this.toggleSelection(existingItem, true);
715
717
  }
716
718
  else {
719
+ if (!this.isMulti()) {
720
+ this.toggleSelection(this.selectedItems[this.selectedItems.length - 1], false);
721
+ }
717
722
  const item = document.createElement(ComboboxItem);
718
723
  item.value = value;
719
724
  item.textLabel = value;
@@ -13,7 +13,7 @@ var StatusIconDefaults;
13
13
  StatusIconDefaults["idle"] = "information";
14
14
  })(StatusIconDefaults || (StatusIconDefaults = {}));
15
15
 
16
- const inputMessageCss = "@-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([active][scale=m]),:host([active][scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{pointer-events:none;visibility:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:0px;width:100%;-ms-flex-align:center;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);opacity:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([active]){visibility:visible;height:auto;opacity:1;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([active][scale=m]),:host([active][scale=l]){margin-top:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status][active]){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([status][active][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][active][scale=m]){margin-top:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([status][active][scale=l]){margin-top:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}";
16
+ const inputMessageCss = "@-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([active][scale=m]),:host([active][scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{visibility:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:0px;width:100%;-ms-flex-align:center;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);opacity:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([active]){visibility:visible;height:auto;opacity:1;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([active][scale=m]),:host([active][scale=l]){margin-top:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status][active]){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([status][active][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][active][scale=m]){margin-top:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([status][active][scale=l]){margin-top:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}";
17
17
 
18
18
  let InputMessage = class extends HTMLElement {
19
19
  constructor() {
@@ -31,7 +31,7 @@ let ShellCenterRow = class extends HTMLElement {
31
31
  */
32
32
  this.detached = false;
33
33
  /**
34
- * Specifies the maxiumum height of the row.
34
+ * Specifies the maximum height of the row.
35
35
  */
36
36
  this.heightScale = "s";
37
37
  /**
@@ -45,7 +45,7 @@ let ShellPanel = class extends HTMLElement {
45
45
  */
46
46
  this.detached = false;
47
47
  /**
48
- * Specifies the maxiumum height of the contents when detached.
48
+ * Specifies the maximum height of the contents when detached.
49
49
  */
50
50
  this.detachedHeightScale = "l";
51
51
  /**
@@ -93,7 +93,7 @@ let DatePickerMonthHeader = class extends HTMLElement {
93
93
  return (h(Fragment, null, h("a", { "aria-disabled": (this.prevMonthDate.getMonth() === activeMonth).toString(), "aria-label": this.intlPrevMonth, class: "chevron", href: "#", onClick: this.prevMonthClick, onKeyDown: this.prevMonthKeydown, role: "button", tabindex: this.prevMonthDate.getMonth() === activeMonth ? -1 : 0 }, h("calcite-icon", { "flip-rtl": true, icon: "chevron-left", scale: iconScale })), h("div", { class: { text: true, "text--reverse": reverse } }, h(Heading, { class: "month", level: this.headingLevel }, localizedMonth), h("span", { class: "year-wrap" }, h("input", { "aria-label": this.intlYear, class: {
94
94
  year: true,
95
95
  "year--suffix": !!suffix
96
- }, inputmode: "numeric", maxlength: "4", minlength: "1", onChange: this.yearChanged, onKeyDown: this.onYearKey, pattern: "\\d*", ref: (el) => (this.yearInput = el), type: "text", value: localizedYear }), suffix && (h("span", { class: "suffix" }, h("span", { "aria-hidden": "true", class: "suffix__invisible" }, localizedYear), " " + suffix)))), h("a", { "aria-disabled": (this.nextMonthDate.getMonth() === activeMonth).toString(), "aria-label": this.intlNextMonth, class: "chevron", href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, h("calcite-icon", { "flip-rtl": true, icon: "chevron-right", scale: iconScale }))));
96
+ }, inputmode: "numeric", maxlength: "4", minlength: "1", onInput: this.yearChanged, onKeyDown: this.onYearKey, pattern: "\\d*", ref: (el) => (this.yearInput = el), type: "text", value: localizedYear }), suffix && (h("span", { class: "suffix" }, h("span", { "aria-hidden": "true", class: "suffix__invisible" }, localizedYear), " " + suffix)))), h("a", { "aria-disabled": (this.nextMonthDate.getMonth() === activeMonth).toString(), "aria-label": this.intlNextMonth, class: "chevron", href: "#", onClick: this.nextMonthClick, onKeyDown: this.nextMonthKeydown, role: "button", tabindex: this.nextMonthDate.getMonth() === activeMonth ? -1 : 0 }, h("calcite-icon", { "flip-rtl": true, icon: "chevron-right", scale: iconScale }))));
97
97
  }
98
98
  setNextPrevMonthDates() {
99
99
  if (!this.activeDate) {
@@ -428,6 +428,15 @@ let Input = class extends HTMLElement {
428
428
  this.minString = (_b = this.min) === null || _b === void 0 ? void 0 : _b.toString();
429
429
  this.requestedIcon = setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
430
430
  }
431
+ componentShouldUpdate(newValue, oldValue, property) {
432
+ if (this.type === "number" && property === "value" && newValue && !isValidNumber(newValue)) {
433
+ this.setValue({
434
+ value: oldValue
435
+ });
436
+ return false;
437
+ }
438
+ return true;
439
+ }
431
440
  //--------------------------------------------------------------------------
432
441
  //
433
442
  // Public Methods