@esri/calcite-components 1.0.0-next.506 → 1.0.0-next.507

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 (802) hide show
  1. package/dist/calcite/assets/date-picker/nls/th.json +1 -1
  2. package/dist/calcite/calcite.esm.js +2 -2
  3. package/dist/calcite/calcite.js +1 -1
  4. package/dist/calcite/index.esm.js +1 -1
  5. package/dist/calcite/{p-acca73c8.js → p-0061a27e.js} +2 -2
  6. package/dist/calcite/{p-b24a0128.system.entry.js → p-02c168cd.system.entry.js} +2 -2
  7. package/dist/calcite/{p-4f540987.system.entry.js → p-0325a508.system.entry.js} +2 -2
  8. package/dist/calcite/{p-2a1cf034.entry.js → p-0442db42.entry.js} +2 -2
  9. package/dist/calcite/{p-929d1413.system.entry.js → p-04939c96.system.entry.js} +2 -2
  10. package/dist/calcite/{p-6c45b48c.entry.js → p-05b705c5.entry.js} +2 -2
  11. package/dist/calcite/{p-220bd7b6.entry.js → p-05debf8b.entry.js} +2 -2
  12. package/dist/calcite/{p-1981915c.system.entry.js → p-071b3628.system.entry.js} +2 -2
  13. package/dist/calcite/{p-c1ab79ec.entry.js → p-0935ba37.entry.js} +2 -2
  14. package/dist/calcite/{p-4f3b653d.system.entry.js → p-097b997c.system.entry.js} +2 -2
  15. package/dist/calcite/{p-10ab8184.system.entry.js → p-0be6f28f.system.entry.js} +2 -2
  16. package/dist/calcite/p-0cde75fd.js +6 -0
  17. package/dist/calcite/{p-b3d1c7c2.entry.js → p-0d97d953.entry.js} +2 -2
  18. package/dist/calcite/{p-e8c4c084.entry.js → p-0e2a7249.entry.js} +2 -2
  19. package/dist/calcite/{p-117fc184.entry.js → p-11203a1a.entry.js} +2 -2
  20. package/dist/calcite/{p-be04b968.system.entry.js → p-186f452b.system.entry.js} +2 -2
  21. package/dist/calcite/{p-aabe884a.system.js → p-18f0353f.system.js} +3 -3
  22. package/dist/calcite/{p-05202539.system.js → p-1926f242.system.js} +2 -2
  23. package/dist/calcite/{p-3e04e67f.system.entry.js → p-1979f792.system.entry.js} +2 -2
  24. package/dist/calcite/{p-c3ad05e4.js → p-199e0548.js} +1 -1
  25. package/dist/calcite/{p-0445da22.system.entry.js → p-1c420c9f.system.entry.js} +2 -2
  26. package/dist/calcite/p-1d9c15ab.entry.js +6 -0
  27. package/dist/calcite/{p-4ed71833.entry.js → p-1e379bc4.entry.js} +2 -2
  28. package/dist/calcite/{p-358d78cd.entry.js → p-1fcf4bc1.entry.js} +2 -2
  29. package/dist/calcite/{p-2bf85141.js → p-23fa5c02.js} +1 -1
  30. package/dist/calcite/p-284fb601.entry.js +6 -0
  31. package/dist/calcite/{p-a1846d4e.system.entry.js → p-2a7e823a.system.entry.js} +2 -2
  32. package/dist/calcite/{p-0f22dac1.system.entry.js → p-2cd59f06.system.entry.js} +2 -2
  33. package/dist/calcite/{p-919bb374.system.entry.js → p-2d50bad4.system.entry.js} +2 -2
  34. package/dist/calcite/{p-9f05e653.entry.js → p-2fafecb5.entry.js} +2 -2
  35. package/dist/calcite/{p-a9b9793d.entry.js → p-31097b5f.entry.js} +2 -2
  36. package/dist/calcite/{p-3dec262e.system.entry.js → p-31b6b2b5.system.entry.js} +2 -2
  37. package/dist/calcite/{p-f837fea5.entry.js → p-397cdabb.entry.js} +2 -2
  38. package/dist/calcite/{p-ab179ff5.system.js → p-3a595d44.system.js} +1 -1
  39. package/dist/calcite/{p-83cd2f93.system.entry.js → p-3caa1c6f.system.entry.js} +2 -2
  40. package/dist/calcite/{p-7d4a4416.system.js → p-3e0d245d.system.js} +1 -1
  41. package/dist/calcite/{p-862db56b.entry.js → p-3f44a91b.entry.js} +2 -2
  42. package/dist/calcite/{p-bdbd9774.js → p-43516301.js} +1 -1
  43. package/dist/calcite/p-43eb820a.system.entry.js +6 -0
  44. package/dist/calcite/{p-75e24e2a.system.entry.js → p-45bfc3ff.system.entry.js} +2 -2
  45. package/dist/calcite/{p-8d10ef65.system.entry.js → p-47b733cb.system.entry.js} +2 -2
  46. package/dist/calcite/{p-21b19cb1.system.entry.js → p-5096bfd7.system.entry.js} +2 -2
  47. package/dist/calcite/{p-8f3d03c3.system.js → p-5097c77d.system.js} +1 -1
  48. package/dist/calcite/{p-a2d85054.js → p-5162bbac.js} +1 -1
  49. package/dist/calcite/{p-9eed3553.js → p-51757737.js} +1 -1
  50. package/dist/calcite/{p-41ead9bb.entry.js → p-52da6a48.entry.js} +2 -2
  51. package/dist/calcite/{p-b9944e74.entry.js → p-5407795b.entry.js} +2 -2
  52. package/dist/calcite/{p-bb623be6.js → p-54d6e537.js} +2 -2
  53. package/dist/calcite/{p-a4db8a5f.system.js → p-570e00eb.system.js} +1 -1
  54. package/dist/calcite/{p-a0498b24.js → p-577661d7.js} +1 -1
  55. package/dist/calcite/{p-64f93df6.entry.js → p-58217ee5.entry.js} +2 -2
  56. package/dist/calcite/{p-29f3faf0.entry.js → p-597063ff.entry.js} +2 -2
  57. package/dist/calcite/{p-d498ed41.entry.js → p-5c1a9ddc.entry.js} +2 -2
  58. package/dist/calcite/{p-03191a1e.system.js → p-5cc19146.system.js} +1 -1
  59. package/dist/calcite/{p-7121d08c.entry.js → p-5cc77d84.entry.js} +2 -2
  60. package/dist/calcite/{p-1c034f7c.entry.js → p-6321d5c1.entry.js} +2 -2
  61. package/dist/calcite/{p-cf6e037b.entry.js → p-647abd6d.entry.js} +2 -2
  62. package/dist/calcite/{p-6c5df73e.entry.js → p-67b16f11.entry.js} +2 -2
  63. package/dist/calcite/{p-dc5bc1ec.system.entry.js → p-697bf1c4.system.entry.js} +2 -2
  64. package/dist/calcite/{p-a5db69ec.js → p-6a33d595.js} +2 -2
  65. package/dist/calcite/{p-32016cee.system.entry.js → p-6aa1ee4a.system.entry.js} +2 -2
  66. package/dist/calcite/{p-85cc2aea.system.js → p-6d171eec.system.js} +1 -1
  67. package/dist/calcite/{p-dc517525.system.entry.js → p-6e77d472.system.entry.js} +2 -2
  68. package/dist/calcite/{p-587d400d.system.js → p-6eaa4542.system.js} +2 -2
  69. package/dist/calcite/{p-620ec6e4.js → p-70d28076.js} +1 -1
  70. package/dist/calcite/{p-98af4331.system.entry.js → p-70f2aa7b.system.entry.js} +2 -2
  71. package/dist/calcite/{p-2ba95a80.entry.js → p-72f9e0e7.entry.js} +2 -2
  72. package/dist/calcite/{p-67c154d2.system.entry.js → p-73ea6e40.system.entry.js} +2 -2
  73. package/dist/calcite/{p-fa0e6a80.entry.js → p-748ee376.entry.js} +2 -2
  74. package/dist/calcite/{p-0f6778d4.system.js → p-760ae18b.system.js} +1 -1
  75. package/dist/calcite/{p-20e90e03.system.entry.js → p-79d6eacc.system.entry.js} +2 -2
  76. package/dist/calcite/{p-f32a46a4.system.entry.js → p-7ac253f8.system.entry.js} +2 -2
  77. package/dist/calcite/{p-5dbb9b10.system.entry.js → p-7b8a23c5.system.entry.js} +2 -2
  78. package/dist/calcite/{p-b513502e.system.entry.js → p-7ba6429d.system.entry.js} +2 -2
  79. package/dist/calcite/{p-24628eb9.js → p-80e599c6.js} +1 -1
  80. package/dist/calcite/{p-e5c2ae9b.system.entry.js → p-844b2f0f.system.entry.js} +2 -2
  81. package/dist/calcite/p-86324877.entry.js +6 -0
  82. package/dist/calcite/{p-5db78842.entry.js → p-870129ef.entry.js} +2 -2
  83. package/dist/calcite/{p-613e4c82.system.js → p-873f5da1.system.js} +2 -2
  84. package/dist/calcite/{p-a258090c.system.entry.js → p-876592a8.system.entry.js} +2 -2
  85. package/dist/calcite/{p-5a04f256.system.entry.js → p-87791382.system.entry.js} +2 -2
  86. package/dist/calcite/{p-9cd97516.system.entry.js → p-8add0daa.system.entry.js} +2 -2
  87. package/dist/calcite/{p-c3db16e0.system.js → p-8c632166.system.js} +2 -2
  88. package/dist/calcite/p-900adab1.entry.js +6 -0
  89. package/dist/calcite/{p-854c2211.system.entry.js → p-95b8a97c.system.entry.js} +2 -2
  90. package/dist/calcite/{p-4dea96b9.system.js → p-96b1e130.system.js} +1 -1
  91. package/dist/calcite/{p-279dbc96.js → p-97f7b556.js} +2 -2
  92. package/dist/calcite/{p-0fc42d68.entry.js → p-99564658.entry.js} +2 -2
  93. package/dist/calcite/p-9a026bf3.entry.js +6 -0
  94. package/dist/calcite/{p-bf57cf34.system.entry.js → p-9c1acf87.system.entry.js} +2 -2
  95. package/dist/calcite/{p-ff5f0fe6.entry.js → p-9e3c2240.entry.js} +2 -2
  96. package/dist/calcite/{p-8c20c44b.entry.js → p-a17d9b27.entry.js} +2 -2
  97. package/dist/calcite/p-a2b788e7.js +6 -0
  98. package/dist/calcite/{p-742985ab.entry.js → p-a4ab0934.entry.js} +2 -2
  99. package/dist/calcite/{p-509a28c3.entry.js → p-a637af02.entry.js} +2 -2
  100. package/dist/calcite/{p-e1a49676.system.entry.js → p-a6d135e4.system.entry.js} +2 -2
  101. package/dist/calcite/{p-ac7782af.system.entry.js → p-a78ae83d.system.entry.js} +2 -2
  102. package/dist/calcite/{p-ac287221.entry.js → p-abd7f907.entry.js} +2 -2
  103. package/dist/calcite/{p-19a07519.entry.js → p-acb149f0.entry.js} +2 -2
  104. package/dist/calcite/{p-4d3f9100.system.entry.js → p-ad59fc58.system.entry.js} +3 -3
  105. package/dist/calcite/{p-8e1e579e.system.entry.js → p-ae8795ea.system.entry.js} +2 -2
  106. package/dist/calcite/{p-e999deba.system.entry.js → p-aea9ad66.system.entry.js} +2 -2
  107. package/dist/calcite/{p-939d9333.system.js → p-b3aafa6c.system.js} +2 -2
  108. package/dist/calcite/{p-bb543f32.system.entry.js → p-b3d2ba1a.system.entry.js} +2 -2
  109. package/dist/calcite/{p-33969f60.system.entry.js → p-b4c20dfa.system.entry.js} +2 -2
  110. package/dist/calcite/{p-1cc0cadc.entry.js → p-b56ac32b.entry.js} +2 -2
  111. package/dist/calcite/p-b58027ff.system.js +6 -0
  112. package/dist/calcite/{p-4627e36d.system.entry.js → p-b8444335.system.entry.js} +2 -2
  113. package/dist/calcite/{p-e9015940.system.entry.js → p-bc42a23e.system.entry.js} +2 -2
  114. package/dist/calcite/{p-f11cfc3e.entry.js → p-bc4706b0.entry.js} +2 -2
  115. package/dist/calcite/{p-9f1fe073.system.js → p-bd606c8d.system.js} +1 -1
  116. package/dist/calcite/{p-48104634.system.js → p-bdebaf09.system.js} +1 -1
  117. package/dist/calcite/{p-07427bd6.entry.js → p-c3072c80.entry.js} +2 -2
  118. package/dist/calcite/{p-d7cac57f.system.entry.js → p-c4e6b66d.system.entry.js} +2 -2
  119. package/dist/calcite/{p-2632afa4.entry.js → p-c50e4a40.entry.js} +2 -2
  120. package/dist/calcite/{p-ab63c163.system.entry.js → p-c862a44a.system.entry.js} +2 -2
  121. package/dist/calcite/{p-189ac7c5.js → p-c91c489f.js} +1 -1
  122. package/dist/calcite/{p-dd4fe7e1.system.js → p-ca33cd12.system.js} +2 -2
  123. package/dist/calcite/{p-4426daf0.entry.js → p-cbca705b.entry.js} +2 -2
  124. package/dist/calcite/{p-331aefd3.js → p-cc47dcef.js} +1 -1
  125. package/dist/calcite/{p-ccb6cb45.js → p-cd6e8711.js} +1 -1
  126. package/dist/calcite/{p-a4fb8b28.system.js → p-cde13e54.system.js} +1 -1
  127. package/dist/calcite/{p-6c85124a.entry.js → p-d103a03c.entry.js} +2 -2
  128. package/dist/calcite/{p-d7b83f74.system.entry.js → p-d107e6b3.system.entry.js} +2 -2
  129. package/dist/calcite/{p-03f7470a.js → p-d1fdce02.js} +2 -2
  130. package/dist/calcite/{p-9e3edbcb.system.js → p-d27ae14b.system.js} +2 -2
  131. package/dist/calcite/{p-50429f1a.js → p-d288f217.js} +2 -2
  132. package/dist/calcite/{p-b7804917.entry.js → p-d44f5f73.entry.js} +2 -2
  133. package/dist/calcite/{p-25e219b6.entry.js → p-d4515544.entry.js} +2 -2
  134. package/dist/calcite/{p-b7a77364.entry.js → p-d47a8157.entry.js} +2 -2
  135. package/dist/calcite/{p-b026976f.js → p-d6a9b585.js} +2 -2
  136. package/dist/calcite/{p-9cc07623.entry.js → p-d81b58a2.entry.js} +2 -2
  137. package/dist/calcite/{p-de856f35.entry.js → p-d866bd28.entry.js} +2 -2
  138. package/dist/calcite/{p-12a70b5b.entry.js → p-d87846fb.entry.js} +2 -2
  139. package/dist/calcite/{p-11a44ca1.entry.js → p-da78f609.entry.js} +2 -2
  140. package/dist/calcite/{p-babaf708.system.entry.js → p-db306ce1.system.entry.js} +3 -3
  141. package/dist/calcite/{p-e55a2040.system.entry.js → p-de4d3e2f.system.entry.js} +2 -2
  142. package/dist/calcite/{p-71651450.entry.js → p-deab6a19.entry.js} +2 -2
  143. package/dist/calcite/{p-123e5d49.system.entry.js → p-dfce7f3a.system.entry.js} +2 -2
  144. package/dist/calcite/{p-eb2a75a8.system.entry.js → p-dfff7f82.system.entry.js} +2 -2
  145. package/dist/calcite/p-e09ae326.system.entry.js +6 -0
  146. package/dist/calcite/{p-5897e3b7.js → p-e1b5329f.js} +2 -2
  147. package/dist/calcite/{p-8623bac8.entry.js → p-e4eaadf4.entry.js} +2 -2
  148. package/dist/calcite/{p-47400a59.entry.js → p-e5b98b23.entry.js} +2 -2
  149. package/dist/calcite/{p-4d022a1d.system.entry.js → p-e98df088.system.entry.js} +2 -2
  150. package/dist/calcite/{p-07798430.system.entry.js → p-ea60c86e.system.entry.js} +2 -2
  151. package/dist/calcite/{p-205dc9a9.system.js → p-ea698d48.system.js} +1 -1
  152. package/dist/calcite/{p-04f6d9f8.entry.js → p-ebf26b66.entry.js} +2 -2
  153. package/dist/calcite/{p-d2193902.system.entry.js → p-ed873e3e.system.entry.js} +2 -2
  154. package/dist/calcite/{p-d7c4c574.system.js → p-efb1becf.system.js} +1 -1
  155. package/dist/calcite/{p-40c5ac82.system.entry.js → p-f0c8be0e.system.entry.js} +2 -2
  156. package/dist/calcite/{p-1f54d247.js → p-f1e9d3e8.js} +1 -1
  157. package/dist/calcite/{p-4730c0eb.system.entry.js → p-f1fe57c9.system.entry.js} +2 -2
  158. package/dist/calcite/{p-46876d59.system.entry.js → p-f3f06e85.system.entry.js} +2 -2
  159. package/dist/calcite/{p-a2af8e63.system.entry.js → p-f4367ce5.system.entry.js} +2 -2
  160. package/dist/calcite/{p-53ca6e14.js → p-f4fceac6.js} +1 -1
  161. package/dist/calcite/{p-c5761c90.entry.js → p-f961242a.entry.js} +2 -2
  162. package/dist/calcite/{p-1346437a.system.js → p-fa76c2ea.system.js} +2 -2
  163. package/dist/calcite/{p-47fc8942.system.js → p-fbca8523.system.js} +2 -2
  164. package/dist/calcite/{p-4ebca57b.entry.js → p-fc7f915d.entry.js} +2 -2
  165. package/dist/calcite/{p-316d7089.entry.js → p-fceb9c73.entry.js} +2 -2
  166. package/dist/calcite/{p-a11a29e6.system.js → p-ffd6b39e.system.js} +1 -1
  167. package/dist/cjs/{ExpandToggle-b39fa375.js → ExpandToggle-55eb852c.js} +5 -5
  168. package/dist/cjs/{Heading-5dbbaa85.js → Heading-534f08aa.js} +2 -2
  169. package/dist/cjs/{array-032c6af5.js → array-cb35deaa.js} +1 -1
  170. package/dist/cjs/calcite-accordion_2.cjs.entry.js +4 -4
  171. package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
  172. package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
  173. package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
  174. package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
  175. package/dist/cjs/calcite-action.cjs.entry.js +6 -6
  176. package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
  177. package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
  178. package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
  179. package/dist/cjs/calcite-button.cjs.entry.js +8 -8
  180. package/dist/cjs/calcite-card.cjs.entry.js +6 -6
  181. package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
  182. package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
  183. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +23 -15
  184. package/dist/cjs/calcite-combobox_3.cjs.entry.js +25 -26
  185. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +33 -14
  186. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +7 -7
  187. package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
  188. package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
  189. package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
  190. package/dist/cjs/calcite-graph_2.cjs.entry.js +9 -9
  191. package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
  192. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  193. package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
  194. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +10 -10
  195. package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
  196. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +8 -8
  197. package/dist/cjs/calcite-input.cjs.entry.js +14 -14
  198. package/dist/cjs/calcite-label.cjs.entry.js +5 -5
  199. package/dist/cjs/calcite-link.cjs.entry.js +5 -5
  200. package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
  201. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  202. package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
  203. package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
  204. package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
  205. package/dist/cjs/calcite-pagination.cjs.entry.js +4 -4
  206. package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
  207. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
  208. package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
  209. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  210. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
  211. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  212. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +10 -7
  213. package/dist/cjs/calcite-rating.cjs.entry.js +7 -7
  214. package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
  215. package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
  216. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  217. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
  218. package/dist/cjs/calcite-stepper_2.cjs.entry.js +5 -5
  219. package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
  220. package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
  221. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
  222. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  223. package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
  224. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
  225. package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
  226. package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
  227. package/dist/cjs/calcite.cjs.js +2 -2
  228. package/dist/cjs/{conditionalSlot-4c58e33f.js → conditionalSlot-0ed07d84.js} +3 -3
  229. package/dist/cjs/{debounce-3be779a9.js → debounce-87445bdc.js} +1 -1
  230. package/dist/cjs/{dom-4f1802f8.js → dom-e6cb2eae.js} +2 -2
  231. package/dist/cjs/{forIn-e8de8756.js → forIn-38cb2b54.js} +2 -2
  232. package/dist/cjs/{form-ee87eb2e.js → form-0c81bec2.js} +3 -3
  233. package/dist/cjs/{guid-7654920e.js → guid-8694046a.js} +1 -1
  234. package/dist/cjs/{index-a13758dd.js → index-1fb59428.js} +1 -1
  235. package/dist/cjs/index.cjs.js +1 -1
  236. package/dist/cjs/{interactive-ec841b48.js → interactive-44ce99d6.js} +1 -1
  237. package/dist/cjs/{interfaces-9a199924.js → interfaces-d91397bb.js} +1 -1
  238. package/dist/cjs/{label-6a5c3103.js → label-d6286ecf.js} +2 -2
  239. package/dist/cjs/loader.cjs.js +2 -2
  240. package/dist/cjs/{locale-e2e17c50.js → locale-191e3ad1.js} +1 -1
  241. package/dist/cjs/{math-3483d54b.js → math-d1c96b9c.js} +1 -1
  242. package/dist/cjs/{observers-f702e382.js → observers-25286021.js} +1 -1
  243. package/dist/cjs/{popper-8cd92f07.js → popper-4bec815c.js} +2 -2
  244. package/dist/cjs/{resources-b2defe03.js → resources-4695bbf6.js} +3 -3
  245. package/dist/cjs/{resources-0f7406e6.js → resources-5f872187.js} +1 -1
  246. package/dist/cjs/{resources-9331ae7f.js → resources-7a6bd85a.js} +1 -1
  247. package/dist/cjs/{resources-2e006b85.js → resources-e1864a97.js} +5 -5
  248. package/dist/cjs/{sortable.esm-3fbed4fc.js → sortable.esm-04251b1a.js} +1 -1
  249. package/dist/cjs/{utils-8f74d397.js → utils-0d4087d7.js} +1 -1
  250. package/dist/collection/components/accordion/accordion.js +1 -1
  251. package/dist/collection/components/accordion/interfaces.js +1 -1
  252. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  253. package/dist/collection/components/action/action.js +1 -1
  254. package/dist/collection/components/action/resources.js +1 -1
  255. package/dist/collection/components/action-bar/action-bar.js +1 -1
  256. package/dist/collection/components/action-bar/resources.js +1 -1
  257. package/dist/collection/components/action-bar/utils.js +1 -1
  258. package/dist/collection/components/action-group/action-group.js +1 -1
  259. package/dist/collection/components/action-group/resources.js +1 -1
  260. package/dist/collection/components/action-menu/action-menu.js +1 -1
  261. package/dist/collection/components/action-menu/resources.js +1 -1
  262. package/dist/collection/components/action-pad/action-pad.js +1 -1
  263. package/dist/collection/components/action-pad/resources.js +1 -1
  264. package/dist/collection/components/alert/alert.js +1 -1
  265. package/dist/collection/components/alert/interfaces.js +1 -1
  266. package/dist/collection/components/alert/resources.js +1 -1
  267. package/dist/collection/components/avatar/avatar.js +1 -1
  268. package/dist/collection/components/avatar/utils.js +1 -1
  269. package/dist/collection/components/block/block.js +1 -1
  270. package/dist/collection/components/block/resources.js +1 -1
  271. package/dist/collection/components/block-section/block-section.js +1 -1
  272. package/dist/collection/components/block-section/interfaces.js +1 -1
  273. package/dist/collection/components/block-section/resources.js +1 -1
  274. package/dist/collection/components/button/button.js +1 -1
  275. package/dist/collection/components/button/interfaces.js +1 -1
  276. package/dist/collection/components/button/resources.js +1 -1
  277. package/dist/collection/components/card/card.js +1 -1
  278. package/dist/collection/components/card/resources.js +1 -1
  279. package/dist/collection/components/checkbox/checkbox.js +1 -1
  280. package/dist/collection/components/chip/chip.js +1 -1
  281. package/dist/collection/components/chip/interfaces.js +1 -1
  282. package/dist/collection/components/chip/resources.js +1 -1
  283. package/dist/collection/components/color-picker/color-picker.js +16 -8
  284. package/dist/collection/components/color-picker/interfaces.js +1 -1
  285. package/dist/collection/components/color-picker/resources.js +1 -1
  286. package/dist/collection/components/color-picker/utils.js +1 -1
  287. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  288. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  289. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  290. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  291. package/dist/collection/components/combobox/combobox.js +14 -15
  292. package/dist/collection/components/combobox/interfaces.js +1 -1
  293. package/dist/collection/components/combobox/resources.js +1 -1
  294. package/dist/collection/components/combobox/utils.js +1 -1
  295. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  296. package/dist/collection/components/combobox-item/resources.js +1 -1
  297. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  298. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  299. package/dist/collection/components/date-picker/assets/date-picker/nls/th.json +1 -1
  300. package/dist/collection/components/date-picker/date-picker.js +1 -1
  301. package/dist/collection/components/date-picker/interfaces.js +1 -1
  302. package/dist/collection/components/date-picker/resources.js +1 -1
  303. package/dist/collection/components/date-picker/utils.js +1 -1
  304. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  305. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  306. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +25 -7
  307. package/dist/collection/components/date-picker-month-header/resources.js +6 -0
  308. package/dist/collection/components/dropdown/dropdown.js +1 -1
  309. package/dist/collection/components/dropdown/interfaces.js +1 -1
  310. package/dist/collection/components/dropdown/resources.js +1 -1
  311. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  312. package/dist/collection/components/dropdown-group/interfaces.js +1 -1
  313. package/dist/collection/components/dropdown-group/resources.js +1 -1
  314. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  315. package/dist/collection/components/dropdown-item/resources.js +1 -1
  316. package/dist/collection/components/fab/fab.js +1 -1
  317. package/dist/collection/components/fab/resources.js +1 -1
  318. package/dist/collection/components/filter/filter.js +1 -1
  319. package/dist/collection/components/filter/resources.js +1 -1
  320. package/dist/collection/components/flow/flow.js +1 -1
  321. package/dist/collection/components/flow/interfaces.js +1 -1
  322. package/dist/collection/components/flow/resources.js +1 -1
  323. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  324. package/dist/collection/components/functional/Heading.js +1 -1
  325. package/dist/collection/components/graph/graph.js +1 -1
  326. package/dist/collection/components/graph/interfaces.js +1 -1
  327. package/dist/collection/components/graph/util.js +1 -1
  328. package/dist/collection/components/handle/handle.js +1 -1
  329. package/dist/collection/components/handle/resources.js +1 -1
  330. package/dist/collection/components/icon/icon.js +1 -1
  331. package/dist/collection/components/icon/resources.js +1 -1
  332. package/dist/collection/components/icon/utils.js +1 -1
  333. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  334. package/dist/collection/components/inline-editable/resources.js +1 -1
  335. package/dist/collection/components/input/input.js +5 -5
  336. package/dist/collection/components/input/interfaces.js +1 -1
  337. package/dist/collection/components/input/resources.js +1 -1
  338. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  339. package/dist/collection/components/input-message/input-message.js +1 -1
  340. package/dist/collection/components/input-message/interfaces.js +1 -1
  341. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  342. package/dist/collection/components/interfaces.js +1 -1
  343. package/dist/collection/components/label/label.js +1 -1
  344. package/dist/collection/components/label/resources.js +1 -1
  345. package/dist/collection/components/link/link.js +1 -1
  346. package/dist/collection/components/list/list.js +1 -1
  347. package/dist/collection/components/list/resources.js +1 -1
  348. package/dist/collection/components/list-item/list-item.js +1 -1
  349. package/dist/collection/components/list-item/resources.js +1 -1
  350. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  351. package/dist/collection/components/list-item-group/resources.js +1 -1
  352. package/dist/collection/components/loader/loader.js +1 -1
  353. package/dist/collection/components/modal/interfaces.js +1 -1
  354. package/dist/collection/components/modal/modal.js +1 -1
  355. package/dist/collection/components/modal/resources.js +1 -1
  356. package/dist/collection/components/notice/notice.js +1 -1
  357. package/dist/collection/components/notice/resources.js +1 -1
  358. package/dist/collection/components/option/option.js +1 -1
  359. package/dist/collection/components/option-group/option-group.js +1 -1
  360. package/dist/collection/components/pagination/pagination.js +1 -1
  361. package/dist/collection/components/pagination/resources.js +1 -1
  362. package/dist/collection/components/panel/panel.js +1 -1
  363. package/dist/collection/components/panel/resources.js +1 -1
  364. package/dist/collection/components/pick-list/pick-list.js +1 -1
  365. package/dist/collection/components/pick-list/resources.js +1 -1
  366. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  367. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  368. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  369. package/dist/collection/components/pick-list-group/resources.js +1 -1
  370. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  371. package/dist/collection/components/pick-list-item/resources.js +1 -1
  372. package/dist/collection/components/popover/PopoverManager.js +1 -1
  373. package/dist/collection/components/popover/popover.js +1 -1
  374. package/dist/collection/components/popover/resources.js +1 -1
  375. package/dist/collection/components/popover-manager/popover-manager.js +1 -1
  376. package/dist/collection/components/progress/progress.js +1 -1
  377. package/dist/collection/components/radio-button/radio-button.js +1 -1
  378. package/dist/collection/components/radio-button/resources.js +1 -1
  379. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  380. package/dist/collection/components/radio-group/interfaces.js +1 -1
  381. package/dist/collection/components/radio-group/radio-group.js +10 -4
  382. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  383. package/dist/collection/components/radio-group-item/resources.js +1 -1
  384. package/dist/collection/components/rating/rating.js +1 -1
  385. package/dist/collection/components/rating/resources.js +1 -1
  386. package/dist/collection/components/scrim/resources.js +1 -1
  387. package/dist/collection/components/scrim/scrim.js +1 -1
  388. package/dist/collection/components/select/resources.js +1 -1
  389. package/dist/collection/components/select/select.js +1 -1
  390. package/dist/collection/components/shell/resources.js +1 -1
  391. package/dist/collection/components/shell/shell.js +1 -1
  392. package/dist/collection/components/shell-center-row/resources.js +1 -1
  393. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  394. package/dist/collection/components/shell-panel/resources.js +1 -1
  395. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  396. package/dist/collection/components/slider/slider.js +1 -1
  397. package/dist/collection/components/sortable-list/resources.js +1 -1
  398. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  399. package/dist/collection/components/split-button/resources.js +1 -1
  400. package/dist/collection/components/split-button/split-button.js +1 -1
  401. package/dist/collection/components/stepper/interfaces.js +1 -1
  402. package/dist/collection/components/stepper/stepper.js +1 -1
  403. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  404. package/dist/collection/components/switch/switch.js +1 -1
  405. package/dist/collection/components/tab/interfaces.js +1 -1
  406. package/dist/collection/components/tab/tab.js +1 -1
  407. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  408. package/dist/collection/components/tab-title/tab-title.js +1 -1
  409. package/dist/collection/components/tabs/interfaces.js +1 -1
  410. package/dist/collection/components/tabs/resources.js +1 -1
  411. package/dist/collection/components/tabs/tabs.js +1 -1
  412. package/dist/collection/components/tile/resources.js +1 -1
  413. package/dist/collection/components/tile/tile.js +1 -1
  414. package/dist/collection/components/tile-select/interfaces.js +1 -1
  415. package/dist/collection/components/tile-select/resources.js +1 -1
  416. package/dist/collection/components/tile-select/tile-select.js +1 -1
  417. package/dist/collection/components/tile-select-group/interfaces.js +1 -1
  418. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  419. package/dist/collection/components/time-picker/resources.js +1 -1
  420. package/dist/collection/components/time-picker/time-picker.js +1 -1
  421. package/dist/collection/components/tip/resources.js +1 -1
  422. package/dist/collection/components/tip/tip.js +1 -1
  423. package/dist/collection/components/tip-group/tip-group.js +1 -1
  424. package/dist/collection/components/tip-manager/resources.js +1 -1
  425. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  426. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  427. package/dist/collection/components/tooltip/resources.js +1 -1
  428. package/dist/collection/components/tooltip/tooltip.js +1 -1
  429. package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
  430. package/dist/collection/components/tree/interfaces.js +1 -1
  431. package/dist/collection/components/tree/tree.js +1 -1
  432. package/dist/collection/components/tree-item/interfaces.js +1 -1
  433. package/dist/collection/components/tree-item/resources.js +1 -1
  434. package/dist/collection/components/tree-item/tree-item.js +1 -1
  435. package/dist/collection/components/value-list/resources.js +1 -1
  436. package/dist/collection/components/value-list/value-list.js +1 -1
  437. package/dist/collection/components/value-list-item/resources.js +1 -1
  438. package/dist/collection/components/value-list-item/value-list-item.js +1 -1
  439. package/dist/collection/utils/array.js +1 -1
  440. package/dist/collection/utils/conditionalSlot.js +1 -1
  441. package/dist/collection/utils/date.js +1 -1
  442. package/dist/collection/utils/dom.js +1 -1
  443. package/dist/collection/utils/filter.js +1 -1
  444. package/dist/collection/utils/form.js +1 -1
  445. package/dist/collection/utils/globalAttributes.js +1 -1
  446. package/dist/collection/utils/guid.js +1 -1
  447. package/dist/collection/utils/interactive.js +1 -1
  448. package/dist/collection/utils/key.js +1 -1
  449. package/dist/collection/utils/label.js +1 -1
  450. package/dist/collection/utils/locale.js +1 -1
  451. package/dist/collection/utils/math.js +1 -1
  452. package/dist/collection/utils/number.js +1 -1
  453. package/dist/collection/utils/observers.js +1 -1
  454. package/dist/collection/utils/openCloseComponent.js +6 -0
  455. package/dist/collection/utils/popper.js +1 -1
  456. package/dist/collection/utils/resources.js +1 -1
  457. package/dist/collection/utils/time.js +1 -1
  458. package/dist/components/ExpandToggle.js +1 -1
  459. package/dist/components/Heading.js +1 -1
  460. package/dist/components/action-group.js +1 -1
  461. package/dist/components/action-menu.js +1 -1
  462. package/dist/components/action.js +1 -1
  463. package/dist/components/array.js +1 -1
  464. package/dist/components/button.js +1 -1
  465. package/dist/components/calcite-accordion-item.js +1 -1
  466. package/dist/components/calcite-accordion.js +1 -1
  467. package/dist/components/calcite-action-bar.js +1 -1
  468. package/dist/components/calcite-action-group.js +1 -1
  469. package/dist/components/calcite-action-menu.js +1 -1
  470. package/dist/components/calcite-action-pad.js +1 -1
  471. package/dist/components/calcite-action.js +1 -1
  472. package/dist/components/calcite-alert.js +1 -1
  473. package/dist/components/calcite-avatar.js +1 -1
  474. package/dist/components/calcite-block-section.js +1 -1
  475. package/dist/components/calcite-block.js +1 -1
  476. package/dist/components/calcite-button.js +1 -1
  477. package/dist/components/calcite-card.js +1 -1
  478. package/dist/components/calcite-checkbox.js +1 -1
  479. package/dist/components/calcite-chip.js +1 -1
  480. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  481. package/dist/components/calcite-color-picker-swatch.js +1 -1
  482. package/dist/components/calcite-color-picker.js +16 -8
  483. package/dist/components/calcite-combobox-item-group.js +1 -1
  484. package/dist/components/calcite-combobox-item.js +1 -1
  485. package/dist/components/calcite-combobox.js +14 -15
  486. package/dist/components/calcite-date-picker-day.js +1 -1
  487. package/dist/components/calcite-date-picker-month-header.js +1 -1
  488. package/dist/components/calcite-date-picker-month.js +1 -1
  489. package/dist/components/calcite-date-picker.js +1 -1
  490. package/dist/components/calcite-dropdown-group.js +1 -1
  491. package/dist/components/calcite-dropdown-item.js +1 -1
  492. package/dist/components/calcite-dropdown.js +1 -1
  493. package/dist/components/calcite-fab.js +1 -1
  494. package/dist/components/calcite-filter.js +1 -1
  495. package/dist/components/calcite-flow.js +1 -1
  496. package/dist/components/calcite-graph.js +1 -1
  497. package/dist/components/calcite-handle.js +1 -1
  498. package/dist/components/calcite-icon.js +1 -1
  499. package/dist/components/calcite-inline-editable.js +1 -1
  500. package/dist/components/calcite-input-date-picker.js +1 -1
  501. package/dist/components/calcite-input-message.js +1 -1
  502. package/dist/components/calcite-input-time-picker.js +1 -1
  503. package/dist/components/calcite-input.js +1 -1
  504. package/dist/components/calcite-label.js +1 -1
  505. package/dist/components/calcite-link.js +1 -1
  506. package/dist/components/calcite-list-item-group.js +1 -1
  507. package/dist/components/calcite-list-item.js +1 -1
  508. package/dist/components/calcite-list.js +1 -1
  509. package/dist/components/calcite-loader.js +1 -1
  510. package/dist/components/calcite-modal.js +1 -1
  511. package/dist/components/calcite-notice.js +1 -1
  512. package/dist/components/calcite-option-group.js +1 -1
  513. package/dist/components/calcite-option.js +1 -1
  514. package/dist/components/calcite-pagination.js +1 -1
  515. package/dist/components/calcite-panel.js +1 -1
  516. package/dist/components/calcite-pick-list-group.js +1 -1
  517. package/dist/components/calcite-pick-list-item.js +1 -1
  518. package/dist/components/calcite-pick-list.js +1 -1
  519. package/dist/components/calcite-popover-manager.js +1 -1
  520. package/dist/components/calcite-popover.js +1 -1
  521. package/dist/components/calcite-progress.js +1 -1
  522. package/dist/components/calcite-radio-button-group.js +1 -1
  523. package/dist/components/calcite-radio-button.js +1 -1
  524. package/dist/components/calcite-radio-group-item.js +1 -1
  525. package/dist/components/calcite-radio-group.js +5 -2
  526. package/dist/components/calcite-rating.js +1 -1
  527. package/dist/components/calcite-scrim.js +1 -1
  528. package/dist/components/calcite-select.js +1 -1
  529. package/dist/components/calcite-shell-center-row.js +1 -1
  530. package/dist/components/calcite-shell-panel.js +1 -1
  531. package/dist/components/calcite-shell.js +1 -1
  532. package/dist/components/calcite-slider.js +1 -1
  533. package/dist/components/calcite-sortable-list.js +1 -1
  534. package/dist/components/calcite-split-button.js +1 -1
  535. package/dist/components/calcite-stepper-item.js +1 -1
  536. package/dist/components/calcite-stepper.js +1 -1
  537. package/dist/components/calcite-switch.js +1 -1
  538. package/dist/components/calcite-tab-nav.js +1 -1
  539. package/dist/components/calcite-tab-title.js +1 -1
  540. package/dist/components/calcite-tab.js +1 -1
  541. package/dist/components/calcite-tabs.js +1 -1
  542. package/dist/components/calcite-tile-select-group.js +1 -1
  543. package/dist/components/calcite-tile-select.js +1 -1
  544. package/dist/components/calcite-tile.js +1 -1
  545. package/dist/components/calcite-time-picker.js +1 -1
  546. package/dist/components/calcite-tip-group.js +1 -1
  547. package/dist/components/calcite-tip-manager.js +1 -1
  548. package/dist/components/calcite-tip.js +1 -1
  549. package/dist/components/calcite-tooltip-manager.js +1 -1
  550. package/dist/components/calcite-tooltip.js +1 -1
  551. package/dist/components/calcite-tree-item.js +1 -1
  552. package/dist/components/calcite-tree.js +1 -1
  553. package/dist/components/calcite-value-list-item.js +1 -1
  554. package/dist/components/calcite-value-list.js +1 -1
  555. package/dist/components/checkbox.js +1 -1
  556. package/dist/components/chip.js +1 -1
  557. package/dist/components/color-picker-hex-input.js +1 -1
  558. package/dist/components/color-picker-swatch.js +1 -1
  559. package/dist/components/conditionalSlot.js +1 -1
  560. package/dist/components/date-picker-day.js +1 -1
  561. package/dist/components/date-picker-month-header.js +27 -8
  562. package/dist/components/date-picker-month.js +1 -1
  563. package/dist/components/date-picker.js +1 -1
  564. package/dist/components/date.js +1 -1
  565. package/dist/components/debounce.js +1 -1
  566. package/dist/components/dom.js +1 -1
  567. package/dist/components/dropdown.js +1 -1
  568. package/dist/components/filter.js +1 -1
  569. package/dist/components/forIn.js +1 -1
  570. package/dist/components/form.js +1 -1
  571. package/dist/components/graph.js +1 -1
  572. package/dist/components/guid.js +1 -1
  573. package/dist/components/handle.js +1 -1
  574. package/dist/components/icon.js +1 -1
  575. package/dist/components/index.js +1 -1
  576. package/dist/components/input.js +5 -5
  577. package/dist/components/interactive.js +1 -1
  578. package/dist/components/interfaces.js +1 -1
  579. package/dist/components/interfaces2.js +1 -1
  580. package/dist/components/label.js +1 -1
  581. package/dist/components/label2.js +1 -1
  582. package/dist/components/link.js +1 -1
  583. package/dist/components/loader.js +1 -1
  584. package/dist/components/locale.js +1 -1
  585. package/dist/components/math.js +1 -1
  586. package/dist/components/observers.js +1 -1
  587. package/dist/components/pick-list-item.js +1 -1
  588. package/dist/components/popover.js +1 -1
  589. package/dist/components/popper.js +1 -1
  590. package/dist/components/progress.js +1 -1
  591. package/dist/components/resources.js +1 -1
  592. package/dist/components/resources2.js +1 -1
  593. package/dist/components/resources3.js +1 -1
  594. package/dist/components/scrim.js +1 -1
  595. package/dist/components/shared-list-render.js +1 -1
  596. package/dist/components/sortable.esm.js +1 -1
  597. package/dist/components/switch.js +1 -1
  598. package/dist/components/tab-nav.js +1 -1
  599. package/dist/components/tab-title.js +1 -1
  600. package/dist/components/tab.js +1 -1
  601. package/dist/components/tabs.js +1 -1
  602. package/dist/components/tile.js +1 -1
  603. package/dist/components/time-picker.js +1 -1
  604. package/dist/components/utils.js +1 -1
  605. package/dist/components/utils2.js +1 -1
  606. package/dist/custom-elements/index.js +61 -32
  607. package/dist/esm/{ExpandToggle-0d5a3b1c.js → ExpandToggle-06d54784.js} +5 -5
  608. package/dist/esm/{Heading-b4109f89.js → Heading-f7adb6ad.js} +2 -2
  609. package/dist/esm/{array-ae72598e.js → array-b68f4745.js} +1 -1
  610. package/dist/esm/calcite-accordion_2.entry.js +4 -4
  611. package/dist/esm/calcite-action-bar.entry.js +10 -10
  612. package/dist/esm/calcite-action-group.entry.js +8 -8
  613. package/dist/esm/calcite-action-menu.entry.js +8 -8
  614. package/dist/esm/calcite-action-pad.entry.js +9 -9
  615. package/dist/esm/calcite-action.entry.js +6 -6
  616. package/dist/esm/calcite-alert.entry.js +5 -5
  617. package/dist/esm/calcite-avatar.entry.js +5 -5
  618. package/dist/esm/calcite-block_2.entry.js +8 -8
  619. package/dist/esm/calcite-button.entry.js +8 -8
  620. package/dist/esm/calcite-card.entry.js +6 -6
  621. package/dist/esm/calcite-checkbox.entry.js +7 -7
  622. package/dist/esm/calcite-chip.entry.js +6 -6
  623. package/dist/esm/calcite-color-picker_3.entry.js +23 -15
  624. package/dist/esm/calcite-combobox_3.entry.js +25 -26
  625. package/dist/esm/calcite-date-picker_4.entry.js +33 -14
  626. package/dist/esm/calcite-dropdown_3.entry.js +7 -7
  627. package/dist/esm/calcite-fab.entry.js +5 -5
  628. package/dist/esm/calcite-filter.entry.js +7 -7
  629. package/dist/esm/calcite-flow.entry.js +2 -2
  630. package/dist/esm/calcite-graph_2.entry.js +9 -9
  631. package/dist/esm/calcite-handle.entry.js +4 -4
  632. package/dist/esm/calcite-icon.entry.js +5 -5
  633. package/dist/esm/calcite-inline-editable.entry.js +7 -7
  634. package/dist/esm/calcite-input-date-picker.entry.js +10 -10
  635. package/dist/esm/calcite-input-message.entry.js +4 -4
  636. package/dist/esm/calcite-input-time-picker_2.entry.js +8 -8
  637. package/dist/esm/calcite-input.entry.js +14 -14
  638. package/dist/esm/calcite-label.entry.js +5 -5
  639. package/dist/esm/calcite-link.entry.js +5 -5
  640. package/dist/esm/calcite-list_3.entry.js +8 -8
  641. package/dist/esm/calcite-loader.entry.js +3 -3
  642. package/dist/esm/calcite-modal.entry.js +6 -6
  643. package/dist/esm/calcite-notice.entry.js +7 -7
  644. package/dist/esm/calcite-option_3.entry.js +8 -8
  645. package/dist/esm/calcite-pagination.entry.js +4 -4
  646. package/dist/esm/calcite-panel.entry.js +9 -9
  647. package/dist/esm/calcite-pick-list_3.entry.js +11 -11
  648. package/dist/esm/calcite-popover_2.entry.js +7 -7
  649. package/dist/esm/calcite-progress.entry.js +2 -2
  650. package/dist/esm/calcite-radio-button-group.entry.js +3 -3
  651. package/dist/esm/calcite-radio-button.entry.js +8 -8
  652. package/dist/esm/calcite-radio-group_2.entry.js +10 -7
  653. package/dist/esm/calcite-rating.entry.js +7 -7
  654. package/dist/esm/calcite-scrim.entry.js +2 -2
  655. package/dist/esm/calcite-shell_3.entry.js +7 -7
  656. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  657. package/dist/esm/calcite-split-button.entry.js +3 -3
  658. package/dist/esm/calcite-stepper_2.entry.js +5 -5
  659. package/dist/esm/calcite-switch.entry.js +7 -7
  660. package/dist/esm/calcite-tab_4.entry.js +6 -6
  661. package/dist/esm/calcite-tile-select_2.entry.js +4 -4
  662. package/dist/esm/calcite-tile.entry.js +7 -7
  663. package/dist/esm/calcite-tip_3.entry.js +7 -7
  664. package/dist/esm/calcite-tooltip_2.entry.js +5 -5
  665. package/dist/esm/calcite-tree_2.entry.js +6 -6
  666. package/dist/esm/calcite-value-list_2.entry.js +11 -11
  667. package/dist/esm/calcite.js +2 -2
  668. package/dist/esm/{conditionalSlot-49c4d7d3.js → conditionalSlot-f0c90455.js} +3 -3
  669. package/dist/esm/{debounce-b0929daf.js → debounce-e19e8dfe.js} +1 -1
  670. package/dist/esm/{dom-e04e61fe.js → dom-5fb1fc80.js} +2 -2
  671. package/dist/esm/{forIn-4caaf525.js → forIn-424753a0.js} +2 -2
  672. package/dist/esm/{form-e3dfd7ce.js → form-c776e039.js} +3 -3
  673. package/dist/esm/{guid-d54b8256.js → guid-476c9d20.js} +1 -1
  674. package/dist/esm/{index-fbcb0de9.js → index-6af81640.js} +1 -1
  675. package/dist/esm/index.js +1 -1
  676. package/dist/esm/{interactive-91459754.js → interactive-9d3b82c4.js} +1 -1
  677. package/dist/esm/{interfaces-c92f717d.js → interfaces-6958cd23.js} +1 -1
  678. package/dist/esm/{label-4a1256e3.js → label-e3b17619.js} +2 -2
  679. package/dist/esm/loader.js +2 -2
  680. package/dist/esm/{locale-39c1cb3b.js → locale-3a2d9c08.js} +1 -1
  681. package/dist/esm/{math-ff598d5a.js → math-3adbafa8.js} +1 -1
  682. package/dist/esm/{observers-407301ee.js → observers-be516d40.js} +1 -1
  683. package/dist/esm/{popper-71556d18.js → popper-b09e87cd.js} +2 -2
  684. package/dist/esm/{resources-a70a465d.js → resources-7210d8b5.js} +5 -5
  685. package/dist/esm/{resources-c0c7aa96.js → resources-bf4e944e.js} +1 -1
  686. package/dist/esm/{resources-e4f01151.js → resources-c0d57d54.js} +1 -1
  687. package/dist/esm/{resources-58ce503e.js → resources-e8c64f8f.js} +3 -3
  688. package/dist/esm/{sortable.esm-9462aad5.js → sortable.esm-8d56a48d.js} +1 -1
  689. package/dist/esm/{utils-c3efca8f.js → utils-2d3fe39d.js} +1 -1
  690. package/dist/esm-es5/{ExpandToggle-0d5a3b1c.js → ExpandToggle-06d54784.js} +2 -2
  691. package/dist/esm-es5/Heading-f7adb6ad.js +6 -0
  692. package/dist/esm-es5/{array-ae72598e.js → array-b68f4745.js} +1 -1
  693. package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
  694. package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
  695. package/dist/esm-es5/calcite-action-group.entry.js +2 -2
  696. package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
  697. package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
  698. package/dist/esm-es5/calcite-action.entry.js +2 -2
  699. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  700. package/dist/esm-es5/calcite-avatar.entry.js +2 -2
  701. package/dist/esm-es5/calcite-block_2.entry.js +2 -2
  702. package/dist/esm-es5/calcite-button.entry.js +2 -2
  703. package/dist/esm-es5/calcite-card.entry.js +2 -2
  704. package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
  705. package/dist/esm-es5/calcite-chip.entry.js +2 -2
  706. package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
  707. package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
  708. package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
  709. package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
  710. package/dist/esm-es5/calcite-fab.entry.js +2 -2
  711. package/dist/esm-es5/calcite-filter.entry.js +2 -2
  712. package/dist/esm-es5/calcite-flow.entry.js +2 -2
  713. package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
  714. package/dist/esm-es5/calcite-handle.entry.js +2 -2
  715. package/dist/esm-es5/calcite-icon.entry.js +2 -2
  716. package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
  717. package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
  718. package/dist/esm-es5/calcite-input-message.entry.js +2 -2
  719. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  720. package/dist/esm-es5/calcite-input.entry.js +2 -2
  721. package/dist/esm-es5/calcite-label.entry.js +2 -2
  722. package/dist/esm-es5/calcite-link.entry.js +3 -3
  723. package/dist/esm-es5/calcite-list_3.entry.js +2 -2
  724. package/dist/esm-es5/calcite-loader.entry.js +2 -2
  725. package/dist/esm-es5/calcite-modal.entry.js +2 -2
  726. package/dist/esm-es5/calcite-notice.entry.js +2 -2
  727. package/dist/esm-es5/calcite-option_3.entry.js +2 -2
  728. package/dist/esm-es5/calcite-pagination.entry.js +2 -2
  729. package/dist/esm-es5/calcite-panel.entry.js +2 -2
  730. package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
  731. package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
  732. package/dist/esm-es5/calcite-progress.entry.js +2 -2
  733. package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
  734. package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
  735. package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
  736. package/dist/esm-es5/calcite-rating.entry.js +3 -3
  737. package/dist/esm-es5/calcite-scrim.entry.js +2 -2
  738. package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
  739. package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
  740. package/dist/esm-es5/calcite-split-button.entry.js +2 -2
  741. package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
  742. package/dist/esm-es5/calcite-switch.entry.js +2 -2
  743. package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
  744. package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
  745. package/dist/esm-es5/calcite-tile.entry.js +2 -2
  746. package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
  747. package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -3
  748. package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
  749. package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
  750. package/dist/esm-es5/calcite.js +2 -2
  751. package/dist/esm-es5/{conditionalSlot-49c4d7d3.js → conditionalSlot-f0c90455.js} +2 -2
  752. package/dist/esm-es5/{debounce-b0929daf.js → debounce-e19e8dfe.js} +1 -1
  753. package/dist/esm-es5/{dom-e04e61fe.js → dom-5fb1fc80.js} +2 -2
  754. package/dist/esm-es5/{forIn-4caaf525.js → forIn-424753a0.js} +2 -2
  755. package/dist/esm-es5/{form-e3dfd7ce.js → form-c776e039.js} +2 -2
  756. package/dist/esm-es5/{guid-d54b8256.js → guid-476c9d20.js} +1 -1
  757. package/dist/esm-es5/{index-fbcb0de9.js → index-6af81640.js} +1 -1
  758. package/dist/esm-es5/index.js +1 -1
  759. package/dist/esm-es5/{interactive-91459754.js → interactive-9d3b82c4.js} +1 -1
  760. package/dist/esm-es5/{interfaces-c92f717d.js → interfaces-6958cd23.js} +1 -1
  761. package/dist/esm-es5/{label-4a1256e3.js → label-e3b17619.js} +2 -2
  762. package/dist/esm-es5/loader.js +2 -2
  763. package/dist/esm-es5/{locale-39c1cb3b.js → locale-3a2d9c08.js} +1 -1
  764. package/dist/esm-es5/{math-ff598d5a.js → math-3adbafa8.js} +1 -1
  765. package/dist/esm-es5/{observers-407301ee.js → observers-be516d40.js} +1 -1
  766. package/dist/esm-es5/{popper-71556d18.js → popper-b09e87cd.js} +2 -2
  767. package/dist/esm-es5/{resources-a70a465d.js → resources-7210d8b5.js} +2 -2
  768. package/dist/esm-es5/{resources-c0c7aa96.js → resources-bf4e944e.js} +1 -1
  769. package/dist/esm-es5/{resources-e4f01151.js → resources-c0d57d54.js} +1 -1
  770. package/dist/esm-es5/{resources-58ce503e.js → resources-e8c64f8f.js} +3 -3
  771. package/dist/esm-es5/{sortable.esm-9462aad5.js → sortable.esm-8d56a48d.js} +1 -1
  772. package/dist/esm-es5/{utils-c3efca8f.js → utils-2d3fe39d.js} +1 -1
  773. package/dist/extras/docs-json.json +6 -2
  774. package/dist/loader/cdn.js +1 -1
  775. package/dist/loader/index.cjs.js +1 -1
  776. package/dist/loader/index.es2017.js +1 -1
  777. package/dist/loader/index.js +1 -1
  778. package/dist/types/components/checkbox/checkbox.d.ts +1 -0
  779. package/dist/types/components/color-picker/color-picker.d.ts +1 -0
  780. package/dist/types/components/combobox/combobox.d.ts +6 -2
  781. package/dist/types/components/date-picker/utils.d.ts +1 -1
  782. package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +2 -0
  783. package/dist/types/components/date-picker-month-header/resources.d.ts +1 -0
  784. package/dist/types/components/input/input.d.ts +2 -2
  785. package/dist/types/components/radio-button/radio-button.d.ts +1 -0
  786. package/dist/types/components/radio-group/radio-group.d.ts +3 -0
  787. package/dist/types/components.d.ts +2 -0
  788. package/dist/types/utils/form.d.ts +1 -3
  789. package/dist/types/utils/openCloseComponent.d.ts +26 -0
  790. package/hydrate/index.js +61 -32
  791. package/package.json +1 -1
  792. package/dist/calcite/p-0e8c79a7.js +0 -6
  793. package/dist/calcite/p-0f786491.entry.js +0 -6
  794. package/dist/calcite/p-32b7954d.js +0 -6
  795. package/dist/calcite/p-3f78125e.entry.js +0 -6
  796. package/dist/calcite/p-41fcdb9a.system.entry.js +0 -6
  797. package/dist/calcite/p-87362869.entry.js +0 -6
  798. package/dist/calcite/p-b7a3f1d5.entry.js +0 -6
  799. package/dist/calcite/p-d6d82362.system.entry.js +0 -6
  800. package/dist/calcite/p-df8e9749.entry.js +0 -6
  801. package/dist/calcite/p-f3360850.system.js +0 -6
  802. package/dist/esm-es5/Heading-b4109f89.js +0 -6
@@ -263,6 +263,7 @@ export declare class ColorPicker implements InteractiveComponent {
263
263
  private setCanvasContextSize;
264
264
  private captureColorFieldColor;
265
265
  private initColorFieldAndSlider;
266
+ private updateCanvasSize;
266
267
  private containsPoint;
267
268
  private drawActiveColorFieldColor;
268
269
  private drawThumb;
@@ -7,6 +7,7 @@ import { ComboboxSelectionMode, ComboboxChildElement } from "./interfaces";
7
7
  import { LabelableComponent } from "../../utils/label";
8
8
  import { FormComponent } from "../../utils/form";
9
9
  import { InteractiveComponent } from "../../utils/interactive";
10
+ import { OpenCloseComponent } from "../../utils/openCloseComponent";
10
11
  interface ItemData {
11
12
  label: string;
12
13
  value: string;
@@ -14,7 +15,7 @@ interface ItemData {
14
15
  /**
15
16
  * @slot - A slot for adding `calcite-combobox-item`s.
16
17
  */
17
- export declare class Combobox implements LabelableComponent, FormComponent, InteractiveComponent {
18
+ export declare class Combobox implements LabelableComponent, FormComponent, InteractiveComponent, OpenCloseComponent {
18
19
  el: HTMLCalciteComboboxElement;
19
20
  /** Opens or closes the combobox */
20
21
  active: boolean;
@@ -144,9 +145,12 @@ export declare class Combobox implements LabelableComponent, FormComponent, Inte
144
145
  keydownHandler: (event: KeyboardEvent) => void;
145
146
  private toggleCloseEnd;
146
147
  private toggleOpenEnd;
148
+ onBeforeOpen(): void;
149
+ onOpen(): void;
150
+ onBeforeClose(): void;
151
+ onClose(): void;
147
152
  transitionEnd: (event: TransitionEvent) => void;
148
153
  transitionRunHandler: (event: TransitionEvent) => void;
149
- private emitOpenCloseEvent;
150
154
  setMaxScrollerHeight: () => Promise<void>;
151
155
  calciteChipDismissHandler: (event: CustomEvent<HTMLCalciteChipElement>, comboboxItem: HTMLCalciteComboboxItemElement) => void;
152
156
  clickHandler: (event: MouseEvent) => void;
@@ -4,7 +4,7 @@
4
4
  * @private
5
5
  */
6
6
  export interface DateLocaleData {
7
- "default-calendar": "gregorian";
7
+ "default-calendar": "gregorian" | "buddhist";
8
8
  separator: string;
9
9
  unitOrder: string;
10
10
  weekStart: number;
@@ -45,6 +45,8 @@ export declare class DatePickerMonthHeader {
45
45
  * @param e
46
46
  */
47
47
  private onYearKey;
48
+ private formatCalendarYear;
49
+ private parseCalendarYear;
48
50
  private onYearChange;
49
51
  private onYearInput;
50
52
  private prevMonthClick;
@@ -0,0 +1 @@
1
+ export declare const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
@@ -218,8 +218,8 @@ export declare class Input implements LabelableComponent, FormComponent, Interac
218
218
  private inputNumberInputHandler;
219
219
  private inputNumberKeyDownHandler;
220
220
  private nudgeNumberValue;
221
- private numberButtonMouseUpAndMouseOutHandler;
222
- private numberButtonMouseDownHandler;
221
+ private numberButtonPointerUpAndOutHandler;
222
+ private numberButtonPointerDownHandler;
223
223
  onFormReset(): void;
224
224
  syncHiddenFormInput(input: HTMLInputElement): void;
225
225
  private setChildElRef;
@@ -43,6 +43,7 @@ export declare class RadioButton implements LabelableComponent, CheckableFormCom
43
43
  value: any;
44
44
  labelEl: HTMLCalciteLabelElement;
45
45
  formEl: HTMLFormElement;
46
+ defaultChecked: boolean;
46
47
  defaultValue: RadioButton["value"];
47
48
  rootNode: HTMLElement;
48
49
  containerEl: HTMLDivElement;
@@ -32,12 +32,15 @@ export declare class RadioGroup implements LabelableComponent, FormComponent, In
32
32
  valueHandler(value: string): void;
33
33
  /**
34
34
  * The group's selected item.
35
+ *
36
+ * @readonly
35
37
  */
36
38
  selectedItem: HTMLCalciteRadioGroupItemElement;
37
39
  protected handleSelectedItemChange<T extends HTMLCalciteRadioGroupItemElement>(newItem: T, oldItem: T): void;
38
40
  /** specify the width of the group, defaults to auto */
39
41
  width: Extract<"auto" | "full", Width>;
40
42
  componentWillLoad(): void;
43
+ componentDidLoad(): void;
41
44
  connectedCallback(): void;
42
45
  disconnectedCallback(): void;
43
46
  componentDidRender(): void;
@@ -2611,6 +2611,7 @@ export namespace Components {
2611
2611
  "scale": Scale;
2612
2612
  /**
2613
2613
  * The group's selected item.
2614
+ * @readonly
2614
2615
  */
2615
2616
  "selectedItem": HTMLCalciteRadioGroupItemElement;
2616
2617
  /**
@@ -7091,6 +7092,7 @@ declare namespace LocalJSX {
7091
7092
  "scale"?: Scale;
7092
7093
  /**
7093
7094
  * The group's selected item.
7095
+ * @readonly
7094
7096
  */
7095
7097
  "selectedItem"?: HTMLCalciteRadioGroupItemElement;
7096
7098
  /**
@@ -77,10 +77,8 @@ export interface CheckableFormCompoment<T = any> extends FormComponent<T> {
77
77
  * The initial checked value for this form component.
78
78
  *
79
79
  * When the form is reset, the checked property will be set to this value.
80
- *
81
- * @todo remove optional in follow-up PR
82
80
  */
83
- defaultChecked?: boolean;
81
+ defaultChecked: boolean;
84
82
  }
85
83
  /**
86
84
  * Helper to submit a form.
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Defines interface for components with open/close public emitter.
3
+ * All implementations of this interface must handle the following events: `beforeOpen`, `open`, `beforeClose`, `close`.
4
+ */
5
+ export interface OpenCloseComponent {
6
+ /**
7
+ * The host element.
8
+ */
9
+ readonly el: HTMLElement;
10
+ /**
11
+ * Defines method for `beforeOpen` event handler.
12
+ */
13
+ onBeforeOpen: () => void;
14
+ /**
15
+ * Defines method for `open` event handler:
16
+ */
17
+ onOpen: () => void;
18
+ /**
19
+ * Defines method for `beforeClose` event handler:
20
+ */
21
+ onBeforeClose: () => void;
22
+ /**
23
+ * Defines method for `close` event handler:
24
+ */
25
+ onClose: () => void;
26
+ }
package/hydrate/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
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
- * v1.0.0-next.506
4
+ * v1.0.0-next.507
5
5
  */
6
6
  'use strict';
7
7
 
@@ -13068,13 +13068,7 @@ class ColorPicker {
13068
13068
  };
13069
13069
  this.initColorFieldAndSlider = (canvas) => {
13070
13070
  this.fieldAndSliderRenderingContext = canvas.getContext("2d");
13071
- this.setCanvasContextSize(canvas, {
13072
- width: this.dimensions.colorField.width,
13073
- height: this.dimensions.colorField.height +
13074
- this.dimensions.slider.height +
13075
- this.getSliderCapSpacing() * 2
13076
- });
13077
- this.drawColorFieldAndSlider();
13071
+ this.updateCanvasSize(canvas);
13078
13072
  };
13079
13073
  }
13080
13074
  handleColorChange(color, oldColor) {
@@ -13087,7 +13081,9 @@ class ColorPicker {
13087
13081
  this.internalColorSet(this.color, false, "internal");
13088
13082
  }
13089
13083
  handleScaleChange(scale = "m") {
13084
+ var _a;
13090
13085
  this.updateDimensions(scale);
13086
+ this.updateCanvasSize((_a = this.fieldAndSliderRenderingContext) === null || _a === void 0 ? void 0 : _a.canvas);
13091
13087
  }
13092
13088
  handleValueChange(value, oldValue) {
13093
13089
  const { allowEmpty, format } = this;
@@ -13312,6 +13308,18 @@ class ColorPicker {
13312
13308
  const context = canvas.getContext("2d");
13313
13309
  context.scale(devicePixelRatio, devicePixelRatio);
13314
13310
  }
13311
+ updateCanvasSize(canvas) {
13312
+ if (!canvas) {
13313
+ return;
13314
+ }
13315
+ this.setCanvasContextSize(canvas, {
13316
+ width: this.dimensions.colorField.width,
13317
+ height: this.dimensions.colorField.height +
13318
+ this.dimensions.slider.height +
13319
+ this.getSliderCapSpacing() * 2
13320
+ });
13321
+ this.drawColorFieldAndSlider();
13322
+ }
13315
13323
  containsPoint(testPointX, testPointY, boundsX, boundsY, boundsRadius) {
13316
13324
  return (Math.pow(testPointX - boundsX, 2) + Math.pow(testPointY - boundsY, 2) <=
13317
13325
  Math.pow(boundsRadius, 2));
@@ -15840,7 +15848,7 @@ class Combobox {
15840
15848
  };
15841
15849
  this.transitionEnd = (event) => {
15842
15850
  if (event.propertyName === this.activeTransitionProp) {
15843
- this.active ? this.emitOpenCloseEvent("open") : this.emitOpenCloseEvent("close");
15851
+ this.active ? this.onOpen() : this.onClose();
15844
15852
  }
15845
15853
  };
15846
15854
  /* *
@@ -15849,7 +15857,7 @@ class Combobox {
15849
15857
  */
15850
15858
  this.transitionRunHandler = (event) => {
15851
15859
  if (event.propertyName === this.activeTransitionProp) {
15852
- this.active ? this.emitOpenCloseEvent("beforeOpen") : this.emitOpenCloseEvent("beforeClose");
15860
+ this.active ? this.onBeforeOpen() : this.onBeforeClose();
15853
15861
  }
15854
15862
  };
15855
15863
  this.setMaxScrollerHeight = async () => {
@@ -16114,18 +16122,17 @@ class Combobox {
16114
16122
  bounding.right <= (window.innerWidth || document.documentElement.clientWidth) &&
16115
16123
  bounding.bottom <= (window.innerHeight || document.documentElement.clientHeight));
16116
16124
  }
16117
- emitOpenCloseEvent(componentVisibilityState) {
16118
- const payload = {
16119
- el: this.el
16120
- };
16121
- const emitComponentState = {
16122
- beforeOpen: () => this.calciteComboboxBeforeOpen.emit(payload),
16123
- open: () => this.calciteComboboxOpen.emit(payload),
16124
- beforeClose: () => this.calciteComboboxBeforeClose.emit(payload),
16125
- close: () => this.calciteComboboxClose.emit(payload)
16126
- };
16127
- (emitComponentState[componentVisibilityState] ||
16128
- emitComponentState["The component state is unknown."])();
16125
+ onBeforeOpen() {
16126
+ this.calciteComboboxBeforeOpen.emit();
16127
+ }
16128
+ onOpen() {
16129
+ this.calciteComboboxOpen.emit();
16130
+ }
16131
+ onBeforeClose() {
16132
+ this.calciteComboboxBeforeClose.emit();
16133
+ }
16134
+ onClose() {
16135
+ this.calciteComboboxClose.emit();
16129
16136
  }
16130
16137
  getModifiers() {
16131
16138
  const flipModifier = {
@@ -17953,6 +17960,8 @@ class DatePickerMonth {
17953
17960
  }; }
17954
17961
  }
17955
17962
 
17963
+ const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
17964
+
17956
17965
  const datePickerMonthHeaderCss = "@-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*/.sc-calcite-date-picker-month-header: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*/.calcite-animate.sc-calcite-date-picker-month-header{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*/.calcite-animate__in.sc-calcite-date-picker-month-header{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-date-picker-month-header{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-date-picker-month-header{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-date-picker-month-header{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-date-picker-month-header:root{--calcite-popper-transition:var(--calcite-animation-timing)}/*!@:host([hidden])*/[hidden].sc-calcite-date-picker-month-header-h{display:none}/*!@:host*/.sc-calcite-date-picker-month-header-h{display:block}/*!@.header*/.header.sc-calcite-date-picker-month-header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}/*!@:host([scale=s]) .text*/[scale=s].sc-calcite-date-picker-month-header-h .text.sc-calcite-date-picker-month-header{margin-top:0.5rem;margin-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}/*!@:host([scale=s]) .chevron*/[scale=s].sc-calcite-date-picker-month-header-h .chevron.sc-calcite-date-picker-month-header{height:2.25rem}/*!@:host([scale=m]) .text*/[scale=m].sc-calcite-date-picker-month-header-h .text.sc-calcite-date-picker-month-header{margin-top:0.75rem;margin-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}/*!@:host([scale=m]) .chevron*/[scale=m].sc-calcite-date-picker-month-header-h .chevron.sc-calcite-date-picker-month-header{height:3rem}/*!@:host([scale=l]) .text*/[scale=l].sc-calcite-date-picker-month-header-h .text.sc-calcite-date-picker-month-header{margin-top:1rem;margin-bottom:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}/*!@:host([scale=l]) .chevron*/[scale=l].sc-calcite-date-picker-month-header-h .chevron.sc-calcite-date-picker-month-header{height:3.5rem}/*!@.chevron*/.chevron.sc-calcite-date-picker-month-header{margin-left:-0.25rem;margin-right:-0.25rem;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-left:0.25rem;padding-right:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;width:14.2857142857%}/*!@.chevron:focus*/.chevron.sc-calcite-date-picker-month-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.chevron:hover, .chevron:focus*/.chevron.sc-calcite-date-picker-month-header:hover,.chevron.sc-calcite-date-picker-month-header:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}/*!@.chevron:active*/.chevron.sc-calcite-date-picker-month-header:active{background-color:var(--calcite-ui-foreground-3)}/*!@.chevron[aria-disabled=true]*/.chevron[aria-disabled=true].sc-calcite-date-picker-month-header{pointer-events:none;opacity:0}/*!@.text*/.text.sc-calcite-date-picker-month-header{margin-top:auto;margin-bottom:auto;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center;line-height:1}/*!@.text-nreverse*/.text-nreverse.sc-calcite-date-picker-month-header{-ms-flex-direction:row-reverse;flex-direction:row-reverse}/*!@.month, \n.year, \n.suffix*/.month.sc-calcite-date-picker-month-header,.year.sc-calcite-date-picker-month-header,.suffix.sc-calcite-date-picker-month-header{margin-left:0.25rem;margin-right:0.25rem;margin-top:auto;margin-bottom:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}/*!@.year*/.year.sc-calcite-date-picker-month-header{position:relative;width:3rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent;z-index:2}/*!@.year:hover*/.year.sc-calcite-date-picker-month-header:hover{-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:outline-color;transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}/*!@.year:focus*/.year.sc-calcite-date-picker-month-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.year--suffix*/.year--suffix.sc-calcite-date-picker-month-header{width:4rem;text-align:left}/*!@.year-wrap*/.year-wrap.sc-calcite-date-picker-month-header{position:relative}/*!@.suffix*/.suffix.sc-calcite-date-picker-month-header{position:absolute;top:0px;left:0px;width:4rem;white-space:nowrap;text-align:left}/*!@.suffix__invisible*/.suffix__invisible.sc-calcite-date-picker-month-header{visibility:hidden}";
17957
17966
 
17958
17967
  class DatePickerMonthHeader {
@@ -17970,7 +17979,7 @@ class DatePickerMonthHeader {
17970
17979
  * @param e
17971
17980
  */
17972
17981
  this.onYearKey = (e) => {
17973
- const localizedYear = e.target.value;
17982
+ const localizedYear = this.parseCalendarYear(e.target.value);
17974
17983
  switch (e.key) {
17975
17984
  case "ArrowDown":
17976
17985
  e.preventDefault();
@@ -17983,10 +17992,15 @@ class DatePickerMonthHeader {
17983
17992
  }
17984
17993
  };
17985
17994
  this.onYearChange = (event) => {
17986
- this.setYear({ localizedYear: event.target.value });
17995
+ this.setYear({
17996
+ localizedYear: this.parseCalendarYear(event.target.value)
17997
+ });
17987
17998
  };
17988
17999
  this.onYearInput = (event) => {
17989
- this.setYear({ localizedYear: event.target.value, commit: false });
18000
+ this.setYear({
18001
+ localizedYear: this.parseCalendarYear(event.target.value),
18002
+ commit: false
18003
+ });
17990
18004
  };
17991
18005
  this.prevMonthClick = (e) => {
17992
18006
  this.handleArrowClick(e, this.prevMonthDate);
@@ -18034,7 +18048,7 @@ class DatePickerMonthHeader {
18034
18048
  const activeMonth = this.activeDate.getMonth();
18035
18049
  const { months, unitOrder } = this.localeData;
18036
18050
  const localizedMonth = (months.wide || months.narrow || months.abbreviated)[activeMonth];
18037
- const localizedYear = localizeNumber(this.activeDate.getFullYear(), this.localeData);
18051
+ const localizedYear = this.formatCalendarYear(this.activeDate.getFullYear().toString());
18038
18052
  const iconScale = this.scale === "l" ? "m" : "s";
18039
18053
  const order = getOrder(unitOrder);
18040
18054
  const reverse = order.indexOf("y") < order.indexOf("m");
@@ -18051,6 +18065,18 @@ class DatePickerMonthHeader {
18051
18065
  this.nextMonthDate = dateFromRange(nextMonth(this.activeDate), this.min, this.max);
18052
18066
  this.prevMonthDate = dateFromRange(prevMonth(this.activeDate), this.min, this.max);
18053
18067
  }
18068
+ formatCalendarYear(year) {
18069
+ const { localeData } = this;
18070
+ const buddhistCalendar = localeData["default-calendar"] === "buddhist";
18071
+ const yearOffset = buddhistCalendar ? BUDDHIST_CALENDAR_YEAR_OFFSET : 0;
18072
+ return localizeNumber(parseNumber(year, localeData) + yearOffset, localeData);
18073
+ }
18074
+ parseCalendarYear(year) {
18075
+ const { localeData } = this;
18076
+ const buddhistCalendar = localeData["default-calendar"] === "buddhist";
18077
+ const yearOffset = buddhistCalendar ? BUDDHIST_CALENDAR_YEAR_OFFSET : 0;
18078
+ return localizeNumber(parseNumber(year, localeData) - yearOffset, localeData);
18079
+ }
18054
18080
  getInRangeDate({ localizedYear, offset = 0 }) {
18055
18081
  const { min, max, activeDate, localeData } = this;
18056
18082
  const parsedYear = parseNumber(localizedYear, localeData);
@@ -18074,14 +18100,14 @@ class DatePickerMonthHeader {
18074
18100
  * @param root0.offset
18075
18101
  */
18076
18102
  setYear({ localizedYear, commit = true, offset = 0 }) {
18077
- const { yearInput, activeDate, localeData } = this;
18103
+ const { yearInput, activeDate } = this;
18078
18104
  const inRangeDate = this.getInRangeDate({ localizedYear, offset });
18079
18105
  // if you've supplied a year and it's in range, update active date
18080
18106
  if (inRangeDate) {
18081
18107
  this.calciteDatePickerSelect.emit(inRangeDate);
18082
18108
  }
18083
18109
  if (commit) {
18084
- yearInput.value = localizeNumber((inRangeDate || activeDate).getFullYear(), localeData);
18110
+ yearInput.value = this.formatCalendarYear((inRangeDate || activeDate).getFullYear().toString());
18085
18111
  }
18086
18112
  }
18087
18113
  get el() { return getElement(this); }
@@ -20205,10 +20231,10 @@ class Input {
20205
20231
  this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
20206
20232
  }, valueNudgeDelayInMs);
20207
20233
  };
20208
- this.numberButtonMouseUpAndMouseOutHandler = () => {
20234
+ this.numberButtonPointerUpAndOutHandler = () => {
20209
20235
  window.clearInterval(this.nudgeNumberValueIntervalId);
20210
20236
  };
20211
- this.numberButtonMouseDownHandler = (event) => {
20237
+ this.numberButtonPointerDownHandler = (event) => {
20212
20238
  event.preventDefault();
20213
20239
  const direction = event.target.dataset.adjustment;
20214
20240
  this.nudgeNumberValue(direction, event);
@@ -20479,11 +20505,11 @@ class Input {
20479
20505
  const numberButtonsHorizontalUp = (hAsync("button", { class: {
20480
20506
  [CSS$s.numberButtonItem]: true,
20481
20507
  [CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
20482
- }, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onMouseDown: this.numberButtonMouseDownHandler, onMouseOut: this.numberButtonMouseUpAndMouseOutHandler, onMouseUp: this.numberButtonMouseUpAndMouseOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: "s" })));
20508
+ }, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-up", scale: "s" })));
20483
20509
  const numberButtonsHorizontalDown = (hAsync("button", { class: {
20484
20510
  [CSS$s.numberButtonItem]: true,
20485
20511
  [CSS$s.buttonItemHorizontal]: isHorizontalNumberButton
20486
- }, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onMouseDown: this.numberButtonMouseDownHandler, onMouseOut: this.numberButtonMouseUpAndMouseOutHandler, onMouseUp: this.numberButtonMouseUpAndMouseOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
20512
+ }, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" })));
20487
20513
  const numberButtonsVertical = (hAsync("div", { class: CSS$s.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
20488
20514
  const prefixText = hAsync("div", { class: CSS$s.prefix }, this.prefixText);
20489
20515
  const suffixText = hAsync("div", { class: CSS$s.suffix }, this.suffixText);
@@ -25156,6 +25182,9 @@ class RadioGroup {
25156
25182
  items[0].tabIndex = 0;
25157
25183
  }
25158
25184
  }
25185
+ componentDidLoad() {
25186
+ afterConnectDefaultValueSet(this, this.value);
25187
+ }
25159
25188
  connectedCallback() {
25160
25189
  connectLabel(this);
25161
25190
  connectForm(this);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.0-next.506",
3
+ "version": "1.0.0-next.507",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.506
5
- */
6
- import{c as n}from"./p-acca73c8.js";import{h as t}from"./p-a2d85054.js";function e(n){return"checked"in n}const o=new WeakMap,i=new WeakSet;function r(n){const{formEl:t}=n;t&&("requestSubmit"in t?t.requestSubmit():t.submit())}function s(n){var t;null===(t=n.formEl)||void 0===t||t.reset()}function c(t){const{el:r,value:s}=t,c=n(r,"form");if(!c||function(n,t){const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>i.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(c,r))return;t.formEl=c,t.defaultValue=s,e(t)&&(t.defaultChecked=t.checked);const a=(t.onFormReset||u).bind(t);c.addEventListener("reset",a),o.set(t.el,a),i.add(r)}function u(){e(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function a(n){const{el:t,formEl:e}=n;if(!e)return;const r=o.get(t);e.removeEventListener("reset",r),o.delete(t),n.formEl=null,i.delete(t)}function l(n,t){n.defaultValue=t}function f(n,t,o){var i;const{defaultValue:r,disabled:s,name:c,required:u}=n;t.defaultValue=r,t.disabled=s,t.name=c,t.required=u,t.tabIndex=-1,e(n)?(t.defaultChecked=n.defaultChecked,t.value=n.checked?o||"on":"",s||n.checked||(t.disabled=!0)):t.value=o||"",null===(i=n.syncHiddenFormInput)||void 0===i||i.call(n,t)}const m=({component:n})=>(function(n){const{el:t,formEl:e,name:o,value:i}=n,{ownerDocument:r}=t,s=t.querySelectorAll('input[slot="hidden-form-input"]');if(!e||!o)return void s.forEach((n=>n.remove()));const c=Array.isArray(i)?i:[i],u=[],a=new Set;let l;s.forEach((t=>{const e=c.find((n=>n==t.value));null!=e?(a.add(e),f(n,t,e)):u.push(t)})),c.forEach((t=>{if(a.has(t))return;let e=u.pop();e||(e=r.createElement("input"),e.slot="hidden-form-input"),l||(l=r.createDocumentFragment()),l.append(e),f(n,e,t)})),l&&t.append(l),u.forEach((n=>n.remove()))}(n),t("slot",{name:"hidden-form-input"}));export{m as H,l as a,c,a as d,s as r,r as s}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.506
5
- */
6
- import{r as t,c as i,h as e,H as n,g as a}from"./p-a2d85054.js";import{T as o,g as s,s as r,d as l,a as c,C as h}from"./p-acca73c8.js";import{c as u,d,g as m}from"./p-03f7470a.js";import{s as p,c as b,d as f,H as g}from"./p-0e8c79a7.js";import{d as x,i as v,p as w,g as y,l as k,s as z,n as D}from"./p-620ec6e4.js";import{d as j}from"./p-c3ad05e4.js";import{c as I}from"./p-1f54d247.js";import{u as E}from"./p-9eed3553.js";import"./p-a0498b24.js";const F={tel:"phone",password:"lock",email:"email-address",date:"calendar",time:"clock",search:"search"},M=class{constructor(e){t(this,e),this.calciteInternalInputFocus=i(this,"calciteInternalInputFocus",7),this.calciteInternalInputBlur=i(this,"calciteInternalInputBlur",7),this.calciteInputInput=i(this,"calciteInputInput",7),this.calciteInputChange=i(this,"calciteInputChange",7),this.alignment="start",this.autofocus=!1,this.clearable=!1,this.disabled=!1,this.groupSeparator=!1,this.hidden=!1,this.intlLoading=o.loading,this.iconFlipRtl=!1,this.loading=!1,this.locale=document.documentElement.lang||"en",this.localeFormat=!1,this.numberButtonType="vertical",this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.editingEnabled=!1,this.type="text",this.value="",this.childElType="input",this.previousValueOrigin="initial",this.mutationObserver=I("mutation",(()=>this.setDisabledAction())),this.userChangedValue=!1,this.keyDownHandler=t=>{this.readOnly||this.disabled||(this.isClearable&&"Escape"===t.key&&(this.clearInputValue(t),t.preventDefault()),"Enter"!==t.key||t.defaultPrevented||p(this))},this.clearInputValue=t=>{this.setValue({committing:!0,nativeEvent:t,origin:"user",value:""})},this.emitChangeIfUserModified=()=>{"user"===this.previousValueOrigin&&this.value!==this.previousEmittedValue&&this.calciteInputChange.emit(),this.previousEmittedValue=this.value},this.inputBlurHandler=()=>{this.calciteInternalInputBlur.emit({element:this.childEl,value:this.value}),this.emitChangeIfUserModified()},this.inputFocusHandler=t=>{const i=s(this.el,"action");t.target!==i&&this.setFocus(),this.calciteInternalInputFocus.emit({element:this.childEl,value:this.value})},this.inputInputHandler=t=>{this.disabled||this.readOnly||this.setValue({nativeEvent:t,origin:"user",value:t.target.value})},this.inputKeyDownHandler=t=>{this.disabled||this.readOnly||"Enter"===t.key&&this.emitChangeIfUserModified()},this.inputNumberInputHandler=t=>{if(this.disabled||this.readOnly)return;const i=x(t.target.value,this.locale);"insertFromPaste"===t.inputType?(v(i)||t.preventDefault(),this.setValue({nativeEvent:t,origin:"user",value:w(i)}),this.childNumberEl.value=this.localizedValue):this.setValue({nativeEvent:t,origin:"user",value:i})},this.inputNumberKeyDownHandler=t=>{if("number"!==this.type||this.disabled||this.readOnly)return;if("ArrowUp"===t.key)return t.preventDefault(),void this.nudgeNumberValue("up",t);if("ArrowDown"===t.key)return void this.nudgeNumberValue("down",t);const i=[...D,"ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab"];if(t.altKey||t.ctrlKey||t.metaKey)return;const e=t.shiftKey&&"Tab"===t.key;if(i.includes(t.key)&&(!t.shiftKey||e))return void("Enter"===t.key&&this.emitChangeIfUserModified());const n=y(this.locale);if(t.key===n){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&-1===this.childNumberEl.value.indexOf(n))return}if(/[eE]/.test(t.key)){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&!/[eE]/.test(this.childNumberEl.value))return}if("-"===t.key){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&this.childNumberEl.value.split("-").length<=2)return}t.preventDefault()},this.nudgeNumberValue=(t,i)=>{if(i instanceof KeyboardEvent&&i.repeat||"number"!==this.type)return;const e=this.maxString?parseFloat(this.maxString):null,n=this.minString?parseFloat(this.minString):null;this.incrementOrDecrementNumberValue(t,e,n,i),this.nudgeNumberValueIntervalId&&window.clearInterval(this.nudgeNumberValueIntervalId);let a=!0;this.nudgeNumberValueIntervalId=window.setInterval((()=>{a?a=!1:this.incrementOrDecrementNumberValue(t,e,n,i)}),100)},this.numberButtonMouseUpAndMouseOutHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)},this.numberButtonMouseDownHandler=t=>{t.preventDefault(),this.nudgeNumberValue(t.target.dataset.adjustment,t)},this.setChildElRef=t=>{this.childEl=t},this.setChildNumberElRef=t=>{this.childNumberEl=t},this.setInputValue=t=>{("text"!==this.type||this.childEl)&&("number"!==this.type||this.childNumberEl)&&(this[`child${"number"===this.type?"Number":""}El`].value=t)},this.setPreviousEmittedValue=t=>{this.previousEmittedValue="number"===this.type?v(t)?t:"":t},this.setPreviousValue=t=>{this.previousValue="number"===this.type?v(t)?t:"":t},this.setValue=({committing:t=!1,nativeEvent:i,origin:e,previousValue:n,value:a})=>{const o="number"===this.type?k(this.previousValue,this.locale,this.groupSeparator,this.numberingSystem):"",s="number"===this.type?z(a):a,r="number"===this.type&&a&&!s?v(this.previousValue)?this.previousValue:"":s,l="number"===this.type?k(r,this.locale,this.groupSeparator,this.numberingSystem):"";this.setPreviousValue(n||this.value),this.previousValueOrigin=e,this.userChangedValue="user"===e&&this.value!==r,this.value=r,"number"===this.type&&(this.localizedValue=l),"direct"===e&&this.setInputValue("number"===this.type?l:r),i&&(this.calciteInputInput.emit({element:this.childEl,nativeEvent:i,value:this.value}).defaultPrevented?(this.value=this.previousValue,this.localizedValue=o):t&&this.emitChangeIfUserModified())},this.inputKeyUpHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)}}disabledWatcher(){this.setDisabledAction()}maxWatcher(){var t;this.maxString=(null===(t=this.max)||void 0===t?void 0:t.toString())||null}minWatcher(){var t;this.minString=(null===(t=this.min)||void 0===t?void 0:t.toString())||null}valueWatcher(t,i){this.userChangedValue||(this.setValue({origin:"direct",previousValue:i,value:null==t||""==t?"":"number"===this.type?v(t)?t:this.previousValue||"":t}),this.warnAboutInvalidNumberValue(t)),this.userChangedValue=!1}updateRequestedIcon(){this.requestedIcon=r(F,this.icon,this.type)}get isClearable(){return!this.isTextarea&&(this.clearable||"search"===this.type)&&this.value.length>0}get isTextarea(){return"textarea"===this.childElType}connectedCallback(){var t;this.scale=l(this.el,"scale",this.scale),this.status=l(this.el,"status",this.status),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),this.setPreviousEmittedValue(this.value),this.setPreviousValue(this.value),"number"===this.type&&(this.warnAboutInvalidNumberValue(this.value),this.setValue({origin:"connected",value:v(this.value)?this.value:""})),u(this),b(this),null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0}),this.setDisabledAction()}disconnectedCallback(){var t;d(this),f(this),null===(t=this.mutationObserver)||void 0===t||t.disconnect()}componentWillLoad(){var t,i;this.childElType="textarea"===this.type?"textarea":"input",this.maxString=null===(t=this.max)||void 0===t?void 0:t.toString(),this.minString=null===(i=this.min)||void 0===i?void 0:i.toString(),this.requestedIcon=r(F,this.icon,this.type)}componentShouldUpdate(t,i,e){return!("number"===this.type&&"value"===e&&t&&!v(t)&&(this.setValue({origin:"reset",value:i}),1))}componentDidRender(){E(this)}async setFocus(){var t,i;"number"===this.type?null===(t=this.childNumberEl)||void 0===t||t.focus():null===(i=this.childEl)||void 0===i||i.focus()}async selectText(){var t,i;"number"===this.type?null===(t=this.childNumberEl)||void 0===t||t.select():null===(i=this.childEl)||void 0===i||i.select()}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(t,i,e,n){const{value:a}=this,o="any"===this.step?1:Math.abs(this.step||1),s=a&&""!==a?parseFloat(a):0,r=s+o*("up"===t?1:-1),l="number"==typeof e&&!isNaN(e)&&r<e||"number"==typeof i&&!isNaN(i)&&r>i?s:r,c=j(s),h=j(o);this.setValue({committing:!0,nativeEvent:n,origin:"user",value:l.toFixed(Math.max(c,h))})}onFormReset(){this.setValue({origin:"reset",value:this.defaultValue})}syncHiddenFormInput(t){var i,e,n,a;"number"===this.type?(t.type="number",t.min=null!==(e=null===(i=this.min)||void 0===i?void 0:i.toString(10))&&void 0!==e?e:"",t.max=null!==(a=null===(n=this.max)||void 0===n?void 0:n.toString(10))&&void 0!==a?a:""):"text"===this.type?(t.type="text",null!=this.minLength&&(t.minLength=this.minLength),null!=this.maxLength&&(t.maxLength=this.maxLength)):"password"===this.type&&(t.type="password")}setDisabledAction(){const t=s(this.el,"action");t&&(this.disabled?t.setAttribute("disabled",""):t.removeAttribute("disabled"))}warnAboutInvalidNumberValue(t){"number"===this.type&&t&&!v(t)&&console.warn(`The specified value "${t}" cannot be parsed, or is out of range.`)}render(){const t=c(this.el),i=e("div",{class:"loader"},e("calcite-progress",{label:this.intlLoading,type:"indeterminate"})),a=e("button",{"aria-label":this.intlClear||"Clear value",class:"clear-button",disabled:this.disabled||this.readOnly,onClick:this.clearInputValue,tabIndex:this.disabled?-1:0,type:"button"},e("calcite-icon",{icon:"x",scale:"s"})),o=e("calcite-icon",{class:"icon",flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"s"}),s="horizontal"===this.numberButtonType,r=e("button",{class:{"number-button-item":!0,"number-button-item--horizontal":s},"data-adjustment":"up",disabled:this.disabled||this.readOnly,onMouseDown:this.numberButtonMouseDownHandler,onMouseOut:this.numberButtonMouseUpAndMouseOutHandler,onMouseUp:this.numberButtonMouseUpAndMouseOutHandler,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"chevron-up",scale:"s"})),l=e("button",{class:{"number-button-item":!0,"number-button-item--horizontal":s},"data-adjustment":"down",disabled:this.disabled||this.readOnly,onMouseDown:this.numberButtonMouseDownHandler,onMouseOut:this.numberButtonMouseUpAndMouseOutHandler,onMouseUp:this.numberButtonMouseUpAndMouseOutHandler,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"chevron-down",scale:"s"})),u=e("div",{class:"number-button-wrapper"},r,l),d=e("div",{class:"prefix"},this.prefixText),p=e("div",{class:"suffix"},this.suffixText),b="number"===this.type?e("input",{"aria-label":m(this),autofocus:!!this.autofocus||null,defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.el.enterKeyHint,inputMode:this.el.inputMode,key:"localized-input",maxLength:this.maxLength,minLength:this.minLength,name:void 0,onBlur:this.inputBlurHandler,onFocus:this.inputFocusHandler,onInput:this.inputNumberInputHandler,onKeyDown:this.inputNumberKeyDownHandler,onKeyUp:this.inputKeyUpHandler,placeholder:this.placeholder||"",readOnly:this.readOnly,ref:this.setChildNumberElRef,type:"text",value:this.localizedValue}):null,f="number"!==this.type?[e(this.childElType,{"aria-label":m(this),autofocus:!!this.autofocus||null,class:{"editing-enabled":this.editingEnabled,"inline-child":!!this.inlineEditableEl},defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.el.enterKeyHint,inputMode:this.el.inputMode,max:this.maxString,maxLength:this.maxLength,min:this.minString,minLength:this.minLength,name:this.name,onBlur:this.inputBlurHandler,onFocus:this.inputFocusHandler,onInput:this.inputInputHandler,onKeyDown:this.inputKeyDownHandler,onKeyUp:this.inputKeyUpHandler,placeholder:this.placeholder||"",readOnly:this.readOnly,ref:this.setChildElRef,required:!!this.required||null,step:this.step,tabIndex:this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null,type:this.type,value:this.value}),this.isTextarea?e("div",{class:"resize-icon-wrapper"},e("calcite-icon",{icon:"chevron-down",scale:"s"})):null]:null;return e(n,{onClick:this.inputFocusHandler,onKeyDown:this.keyDownHandler},e("div",{class:{wrapper:!0,[h.rtl]:"rtl"===t}},"number"!==this.type||"horizontal"!==this.numberButtonType||this.readOnly?null:l,this.prefixText?d:null,e("div",{class:"element-wrapper"},b,f,this.isClearable?a:null,this.requestedIcon?o:null,this.loading?i:null),e("div",{class:"action-wrapper"},e("slot",{name:"action"})),"number"!==this.type||"vertical"!==this.numberButtonType||this.readOnly?null:u,this.suffixText?p:null,"number"!==this.type||"horizontal"!==this.numberButtonType||this.readOnly?null:r,e(g,{component:this})))}get el(){return a(this)}static get watchers(){return{disabled:["disabledWatcher"],max:["maxWatcher"],min:["minWatcher"],value:["valueWatcher"],icon:["updateRequestedIcon"],type:["updateRequestedIcon"]}}};M.style="@-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}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{height:1.5rem;padding-left:0.5rem;padding-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) textarea{height:1.5rem;min-height:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{height:1.5rem}:host([scale=s]) input[type=file]{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=s]) textarea{height:auto;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{height:2rem;padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) textarea{min-height:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{height:2rem}:host([scale=m]) input[type=file]{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=m]) textarea{height:auto;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{height:2.75rem;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) textarea{min-height:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{height:2.75rem}:host([scale=l]) input[type=file]{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}:host([scale=l]) textarea{height:auto;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) textarea{resize:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host textarea,:host input{-webkit-transition:var(--calcite-animation-timing), height 0, outline-offset 0s;transition:var(--calcite-animation-timing), height 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;max-height:100%;width:100%;max-width:100%;-ms-flex:1 1 0%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}:host input[type=search]::-webkit-search-decoration{-webkit-appearance:none}:host input,:host textarea{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input:-ms-input-placeholder,:host textarea:-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::-ms-input-placeholder,:host textarea::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder,:host textarea::placeholder,:host textarea:-ms-input-placeholder,:host textarea::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus,:host textarea:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly],:host textarea[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus,:host textarea[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host textarea,:host input{outline-color:transparent}:host textarea:focus,:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{-webkit-padding-start:2rem;padding-inline-start:2rem}:host([icon][scale=m]) input{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host([icon][scale=l]) input{-webkit-padding-start:3rem;padding-inline-start:3rem}.element-wrapper{position:relative;-ms-flex-order:3;order:3;display:-ms-inline-flexbox;display:inline-flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center}.icon{pointer-events:none;position:absolute;z-index:10;display:block;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;height:0px;width:0px}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;-ms-flex-order:4;order:4;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;min-height:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:stretch;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{top:1px;left:1px;right:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{-ms-flex-order:7;order:7;display:-ms-flexbox;display:flex}.prefix,.suffix{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{-ms-flex-order:2;order:2;border-inline-end-width:0px}.suffix{-ms-flex-order:5;order:5;border-inline-start-width:0px}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:start}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:end}:host input[type=number]{-moz-appearance:textfield}:host input[type=number]::-webkit-inner-spin-button,:host input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0px}.number-button-wrapper{pointer-events:none;-ms-flex-order:6;order:6;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:1;order:1;max-height:100%;min-height:100%;-ms-flex-item-align:stretch;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:5;order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-top-width:0px}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-top:0px;padding-bottom:0px;padding-left:0.5rem;padding-right:0.5rem;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}.wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}:host input::-webkit-calendar-picker-indicator{display:none}:host input[type=date]::-webkit-input-placeholder{visibility:hidden !important}:host textarea::-webkit-resizer{position:absolute;bottom:0px;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem;inset-inline-end:0}.resize-icon-wrapper{bottom:2px;inset-inline-end:2px;pointer-events:none;position:absolute;z-index:10;height:0.75rem;width:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}.resize-icon-wrapper calcite-icon{bottom:0.25rem;inset-inline-end:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl .resize-icon-wrapper calcite-icon{-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);text-align:center}:host([type=file][scale=s]) input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}:host([type=file][scale=m]) input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}:host([type=file][scale=l]) input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}:host(.no-bottom-border) input{border-bottom-width:0px}:host(.border-top-color-one) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{background-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::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}";export{M as calcite_input}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.506
5
- */
6
- import{f as t}from"./p-a2d85054.js";import{c as o}from"./p-1f54d247.js";const n=new Set;let s;const c={childList:!0};function f(t){s||(s=o("mutation",a)),s.observe(t.el,c)}function i(t){n.delete(t.el),a(s.takeRecords()),s.disconnect();for(const[t]of n.entries())s.observe(t,c)}function a(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,i as d}
@@ -1,6 +0,0 @@
1
- /*!
2
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
- * v1.0.0-next.506
5
- */
6
- import{r as t,c as i,h as e,H as a,g as n}from"./p-a2d85054.js";import{a as s,S as o,d as r}from"./p-bdbd9774.js";import{i as c,f as l}from"./p-50429f1a.js";import{f as m,u as h,c as p,d,p as b,C as u}from"./p-5897e3b7.js";import{g as f}from"./p-a0498b24.js";import{n as x,t as w,d as g,g as v}from"./p-acca73c8.js";import{c as y,d as k,g as D}from"./p-03f7470a.js";import{s as C,c as I,a as z,d as O,H as E}from"./p-0e8c79a7.js";import{c as _}from"./p-1f54d247.js";import{u as H}from"./p-9eed3553.js";import{c as A,d as M}from"./p-32b7954d.js";var T=o?o.prototype:void 0,B=T?T.toString:void 0;function L(t){if("string"==typeof t)return t;if(c(t))return function(t,i){for(var e=-1,a=null==t?0:t.length,n=Array(a);++e<a;)n[e]=i(t[e],e,t);return n}(t,L)+"";if(s(t))return B?B.call(t):"";var i=t+"";return"0"==i&&1/t==-1/0?"-0":i}var $=/[\\^$.*+?()[\]{}|]/g,P=RegExp($.source);const j="CALCITE-COMBOBOX-ITEM, CALCITE-COMBOBOX-ITEM-GROUP";function X(t){var i,e;const a=null===(i=t.parentElement)||void 0===i?void 0:i.closest(j);return[a,null===(e=null==a?void 0:a.parentElement)||void 0===e?void 0:e.closest(j)].filter((t=>t))}function R(t){var i;return(null===(i=t.ancestors)||void 0===i?void 0:i.filter((t=>"CALCITE-COMBOBOX-ITEM"===t.nodeName)))||[]}function S(t){return x(t.querySelectorAll("calcite-combobox-item")).filter((t=>t.selected)).length>0}function F(t){return document.evaluate("ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group",t,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}const U=class{constructor(e){t(this,e),this.calciteLookupChange=i(this,"calciteLookupChange",7),this.calciteComboboxChange=i(this,"calciteComboboxChange",7),this.calciteComboboxFilterChange=i(this,"calciteComboboxFilterChange",7),this.calciteComboboxChipDismiss=i(this,"calciteComboboxChipDismiss",7),this.calciteComboboxBeforeClose=i(this,"calciteComboboxBeforeClose",7),this.calciteComboboxClose=i(this,"calciteComboboxClose",7),this.calciteComboboxBeforeOpen=i(this,"calciteComboboxBeforeOpen",7),this.calciteComboboxOpen=i(this,"calciteComboboxOpen",7),this.active=!1,this.disabled=!1,this.maxItems=0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multi",this.scale="m",this.value=null,this.intlRemoveTag="Remove tag",this.internalValueChangeFlag=!1,this.items=[],this.groupItems=[],this.selectedItems=[],this.visibleItems=[],this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.text="",this.textInput=null,this.mutationObserver=_("mutation",(()=>this.updateItems())),this.resizeObserver=_("resize",(()=>this.setMaxScrollerHeight())),this.guid=f(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.activeTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?m(i,t):null},this.getValue=()=>{const t=this.selectedItems.map((t=>{var i;return null===(i=null==t?void 0:t.value)||void 0===i?void 0:i.toString()}));return(null==t?void 0:t.length)?t.length>1?t:t[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keydownHandler=t=>{const{key:i}=t;switch(i){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),t.preventDefault()):this.active&&(this.active=!1,t.preventDefault());break;case"ArrowLeft":this.previousChip();break;case"ArrowRight":this.nextChip();break;case"ArrowUp":this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":this.active||(t.preventDefault(),this.active=!0),this.shiftActiveItemIndex(1),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||(t.preventDefault(),this.active=!0,this.shiftActiveItemIndex(1));break;case"Home":this.active&&t.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":this.active&&t.preventDefault(),this.updateActiveItemIndex(this.visibleItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.active=!1;break;case"Enter":this.activeItemIndex>-1?this.toggleSelection(this.visibleItems[this.activeItemIndex]):this.activeChipIndex>-1?this.removeActiveChip():this.allowCustomValues&&this.text?this.addCustomChip(this.text,!0):t.defaultPrevented||C(this);break;case"Delete":case"Backspace":this.activeChipIndex>-1?this.removeActiveChip():!this.text&&this.isMulti()&&this.removeLastChip()}},this.toggleCloseEnd=()=>{this.active=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.active=!0,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.transitionEnd=t=>{t.propertyName===this.activeTransitionProp&&this.emitOpenCloseEvent(this.active?"open":"close")},this.transitionRunHandler=t=>{t.propertyName===this.activeTransitionProp&&this.emitOpenCloseEvent(this.active?"beforeOpen":"beforeClose")},this.setMaxScrollerHeight=async()=>{const{active:t,listContainerEl:i}=this;if(!i||!t)return;await this.reposition();const e=this.getMaxScrollerHeight();i.style.maxHeight=e>0?`${e}px`:"",await this.reposition()},this.calciteChipDismissHandler=(t,i)=>{this.active=!1;const e=this.items.find((t=>t===i));e&&this.toggleSelection(e,!1),this.calciteComboboxChipDismiss.emit(t.detail)},this.clickHandler=t=>{t.composedPath().some((t=>"CALCITE-CHIP"===t.tagName))||(this.active=!this.active,this.updateActiveItemIndex(0),this.setFocus())},this.setInactiveIfNotContained=t=>{const i=t.composedPath();!this.active||i.includes(this.el)||i.includes(this.referenceEl)||(this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),"single"===this.selectionMode&&(this.textInput&&(this.textInput.value=""),this.text="",this.filterItems(""),this.updateActiveItemIndex(-1)),this.active=!1)},this.setMenuEl=t=>{this.menuEl=t},this.setListContainerEl=t=>{this.resizeObserver.observe(t),this.listContainerEl=t,this.listContainerEl.addEventListener("transitionrun",this.transitionRunHandler)},this.setReferenceEl=t=>{this.referenceEl=t},this.inputHandler=t=>{const i=t.target.value;this.text=i,this.filterItems(i),i&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>"CALCITE-COMBOBOX-ITEM-GROUP"===t.tagName?e===t.label:e===t.textLabel||e===t.value||i===t.textLabel||i===t.value));return r((i=>{const e=((t,i)=>{const e=function(t){var i;return(t=null==(i=t)?"":L(i))&&P.test(t)?t.replace($,"\\$&"):t}(i),a=new RegExp(e,"i");0===t.length&&console.warn("No data was passed to the filter function.\n The data argument should be an array of objects");const n=(t,i)=>{var e,a;if((null===(e=t)||void 0===e?void 0:e.constant)||(null===(a=t)||void 0===a?void 0:a.filterDisabled))return!0;let s=!1;return l(t,(t=>{"function"!=typeof t&&null!=t&&(Array.isArray(t)||"object"==typeof t&&null!==t?n(t,i)&&(s=!0):i.test(t)&&(s=!0))})),s};return t.filter((t=>n(t,a)))})(this.data,i);this.getCombinedItems().forEach((i=>{const a=!t(i,e);i.hidden=a;const[n,s]=i.ancestors;(t(n,e)||t(s,e))&&(i.hidden=!1),a||i.ancestors.forEach((t=>t.hidden=!1))})),this.visibleItems=this.getVisibleItems(),this.calciteComboboxFilterChange.emit({visibleItems:[...this.visibleItems],text:i})}),100)})(),this.internalCalciteLookupChangeEvent=()=>{this.calciteLookupChange.emit(this.selectedItems)},this.emitCalciteLookupChange=r(this.internalCalciteLookupChangeEvent,0),this.internalComboboxChangeEvent=()=>{const{selectedItems:t}=this;this.calciteComboboxChange.emit({selectedItems:t})},this.emitComboboxChange=r(this.internalComboboxChangeEvent,0),this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.visibleItems=this.getVisibleItems(),this.needsIcon=this.getNeedsIcon(),this.allowCustomValues||this.setMaxScrollerHeight()},this.scrollToActiveItem=()=>{const t=this.visibleItems[this.activeItemIndex],i=this.calculateSingleItemHeight(t),{offsetHeight:e,scrollTop:a}=this.listContainerEl;e+a<t.offsetTop+i?this.listContainerEl.scrollTop=t.offsetTop-e+i:t.offsetTop<a&&(this.listContainerEl.scrollTop=t.offsetTop)},this.comboboxFocusHandler=()=>{var t;null===(t=this.textInput)||void 0===t||t.focus()},this.comboboxBlurHandler=t=>{this.setInactiveIfNotContained(t)}}activeHandler(){this.disabled?this.active=!1:this.setMaxScrollerHeight()}handleDisabledChange(t){t||(this.active=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}valueHandler(t){if(!this.internalValueChangeFlag){const i=this.getItems();Array.isArray(t)?i.forEach((i=>i.selected=t.includes(i.value))):i.forEach(t?i=>i.selected=t===i.value:t=>t.selected=!1),this.updateItems()}}flipPlacementsHandler(){this.setFilteredPlacements()}documentClickHandler(t){this.setInactiveIfNotContained(t)}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag)return;const i=t.target,e=this.visibleItems.indexOf(i);this.updateActiveItemIndex(e),this.toggleSelection(i,i.selected)}async reposition(){const{popper:t,menuEl:i}=this,e=this.getModifiers();t?await h({el:i,modifiers:e,placement:d,popper:t}):this.createPopper()}async setFocus(){var t;null===(t=this.textInput)||void 0===t||t.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var t;this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0}),this.createPopper(),y(this),I(this),this.setFilteredPlacements()}componentWillLoad(){this.updateItems()}componentDidLoad(){z(this,this.getValue())}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(),this.inputHeight=this.el.offsetHeight),H(this)}disconnectedCallback(){var t,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),this.destroyPopper(),k(this),O(this),this.listContainerEl&&this.listContainerEl.removeEventListener("transitionrun",this.transitionRunHandler)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}textHandler(){this.updateActiveItemIndex(-1)}comboboxInViewport(){const t=this.el.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)}emitOpenCloseEvent(t){const i={el:this.el},e={beforeOpen:()=>this.calciteComboboxBeforeOpen.emit(i),open:()=>this.calciteComboboxOpen.emit(i),beforeClose:()=>this.calciteComboboxBeforeClose.emit(i),close:()=>this.calciteComboboxClose.emit(i)};(e[t]||e["The component state is unknown."])()}getModifiers(){const t={name:"flip",enabled:!0};return t.options={fallbackPlacements:this.filteredFlipPlacements||b},[t,{name:"eventListeners",enabled:this.active}]}createPopper(){this.destroyPopper();const{menuEl:t,referenceEl:i,overlayPositioning:e}=this,a=this.getModifiers();this.popper=p({el:t,modifiers:a,overlayPositioning:e,placement:d,referenceEl:i})}destroyPopper(){const{popper:t}=this;t&&t.destroy(),this.popper=null}getMaxScrollerHeight(){const t=this.getCombinedItems().filter((t=>!t.hidden)),{maxItems:i}=this;let e=0,a=0;return t.length>i&&t.forEach((t=>{if(e<i&&i>0){const i=this.calculateSingleItemHeight(t);i>0&&(a+=i,e++)}})),a}calculateSingleItemHeight(t){let i=t.offsetHeight;return Array.from(t.querySelectorAll(j)).map((t=>null==t?void 0:t.offsetHeight)).forEach((t=>{i-=t})),i}getCombinedItems(){return[...this.groupItems,...this.items]}toggleSelection(t,i=!t.selected){t&&(this.isMulti()?(t.selected=i,this.updateAncestors(t),this.selectedItems=this.getSelectedItems(),this.emitCalciteLookupChange(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===t&&i)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=t.textLabel),this.active=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(t){if("ancestors"!==this.selectionMode)return;const i=R(t),e=function(t){return x(t.querySelectorAll("calcite-combobox-item"))}(t);t.selected?i.forEach((t=>{t.selected=!0})):(e.forEach((t=>t.selected=!1)),[...i].forEach((t=>{S(t)||(t.selected=!1)})))}getVisibleItems(){return this.items.filter((t=>!t.hidden))}getSelectedItems(){if(!this.isMulti()){const t=this.items.find((({selected:t})=>t));return t?[t]:[]}return this.items.filter((t=>t.selected&&("ancestors"!==this.selectionMode||!S(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t),a=this.selectedItems.indexOf(i);return e>-1&&a>-1?e-a:a-e}))}getData(){return this.items.map((t=>({constant:t.constant,filterDisabled:t.filterDisabled,value:t.value,label:t.textLabel})))}getNeedsIcon(){return"single"===this.selectionMode&&this.items.some((t=>t.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll("CALCITE-COMBOBOX-ITEM")).filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll("CALCITE-COMBOBOX-ITEM-GROUP"))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement("CALCITE-COMBOBOX-ITEM");e.value=t,e.textLabel=t,e.selected=!0,this.el.appendChild(e),this.resetText(),i&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitCalciteLookupChange(),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const t=this.activeChipIndex;this.activeChipIndex=-1===t?this.selectedItems.length-1:Math.max(t-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const t=this.activeChipIndex+1;t>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=t,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var t;const i=null===(t=this.selectedItems[this.activeChipIndex])||void 0===t?void 0:t.guid,e=i?this.referenceEl.querySelector(`#combobox-chip-${i}`):null;null==e||e.setFocus()}shiftActiveItemIndex(t){const{length:i}=this.visibleItems;this.updateActiveItemIndex((this.activeItemIndex+i+t)%i),this.scrollToActiveItem()}updateActiveItemIndex(t){var i;this.activeItemIndex=t;let e=null;this.visibleItems.forEach(((i,a)=>{a===t?(i.active=!0,e=i.guid):i.active=!1})),this.activeDescendant=e,this.activeItemIndex>-1&&(this.activeChipIndex=-1,null===(i=this.textInput)||void 0===i||i.focus())}isMulti(){return"single"!==this.selectionMode}renderChips(){const{activeChipIndex:t,scale:i,selectionMode:a,intlRemoveTag:n}=this;return this.selectedItems.map(((s,o)=>{const r={chip:!0,"chip--active":t===o},c=[...[...R(s)].reverse(),s].map((t=>t.textLabel)),l="ancestors"!==a?s.textLabel:c.join(" / ");return e("calcite-chip",{class:r,dismissLabel:n,dismissible:!0,icon:s.icon,id:s.guid?`combobox-chip-${s.guid}`:null,key:s.textLabel,onCalciteChipDismiss:t=>this.calciteChipDismissHandler(t,s),scale:i,title:l,value:s.value},l)}))}renderInput(){const{guid:t,active:i,disabled:a,placeholder:n,selectionMode:s,needsIcon:o,selectedItems:r}=this,c="single"===s,l=r[0],m=!i&&c&&!!l;return e("span",{class:{"input-wrap":!0,"input-wrap--single":c}},m&&e("span",{class:{label:!0,"label--spaced":o},key:"label"},l.textLabel),e("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`combobox-listbox-${t}`,"aria-label":D(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":m,"input--icon":c&&o},disabled:a,id:`combobox-input-${t}`,key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:n,ref:t=>this.textInput=t,type:"text"}))}renderListBoxOptions(){return this.visibleItems.map((t=>e("li",{"aria-selected":w(t.selected),id:t.guid?`combobox-item-${t.guid}`:null,role:"option",tabindex:"-1"},t.textLabel)))}renderPopperContainer(){const{active:t,setMenuEl:i,setListContainerEl:a}=this;return e("div",{"aria-hidden":"true",class:{"popper-container":!0,"popper-container--active":t},ref:i},e("div",{class:{"list-container":!0,[u.animation]:!0,[u.animationActive]:t},onTransitionEnd:this.transitionEnd,ref:a},e("ul",{class:{list:!0,"list--hide":!t}},e("slot",null))))}renderIconStart(){var t;const{selectionMode:i,needsIcon:a,selectedItems:n,placeholderIcon:s}=this,o=n[0];return"single"===i&&a&&((null==o?void 0:o.icon)||s)&&e("span",{class:"icon-start"},e("calcite-icon",{class:"selected-icon",icon:null!==(t=null==o?void 0:o.icon)&&void 0!==t?t:s,scale:"s"}))}renderIconEnd(){const{active:t}=this;return e("span",{class:"icon-end"},e("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}render(){const{active:t,guid:i,label:n}=this,s="single"===this.selectionMode;return e(a,{onKeyDown:this.keydownHandler},e("div",{"aria-autocomplete":"list","aria-expanded":w(t),"aria-haspopup":"listbox","aria-labelledby":`combobox-label-${i}`,"aria-owns":`combobox-listbox-${i}`,class:{wrapper:!0,"wrapper--single":s||!this.selectedItems.length,"wrapper--active":t},onClick:this.clickHandler,ref:this.setReferenceEl,role:"combobox"},e("div",{class:"grid-input"},this.renderIconStart(),!s&&this.renderChips(),e("label",{class:"screen-readers-only",htmlFor:`combobox-input-${i}`,id:`combobox-label-${i}`},n),this.renderInput()),this.renderIconEnd()),e("ul",{"aria-labelledby":`combobox-label-${i}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`combobox-listbox-${i}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderPopperContainer(),e(E,{component:this}))}get el(){return n(this)}static get watchers(){return{active:["activeHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],value:["valueHandler"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"]}}};U.style="@-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;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}: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-color:transparent;-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:calc(var(--calcite-combobox-item-spacing-unit-s) / 4) 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 0%;flex:1 1 0%;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) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.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}";const G=class{constructor(e){t(this,e),this.calciteComboboxItemChange=i(this,"calciteComboboxItemChange",7),this.disabled=!1,this.selected=!1,this.active=!1,this.guid=f(),this.scale="m",this.itemClickHandler=t=>{t.preventDefault(),this.disabled||(this.selected=!this.selected)}}selectedWatchHandler(){this.calciteComboboxItemChange.emit(this.el)}connectedCallback(){this.ancestors=X(this.el),this.scale=g(this.el,"scale",this.scale),A(this)}disconnectedCallback(){M(this)}componentDidRender(){H(this)}async toggleSelected(t){this.disabled||(this.selected="boolean"==typeof t?t:!this.selected)}renderIcon(t){const{icon:i,disabled:a,selected:n}=this,s="icon--indent";return!t||i||a?e("calcite-icon",{class:{icon:!i,"icon--custom":!!i,"icon--active":i&&n,[s]:!0},icon:i||(a?"circle-disallowed":t?"dot":"check"),scale:"s"}):e("span",{class:{icon:!0,"icon--dot":!0,[s]:!0}})}renderChildren(){return v(this.el)?e("ul",{key:"default-slot-container"},e("slot",null)):null}render(){const t="single"===g(this.el,"selection-mode","multi"),i={label:!0,"label--selected":this.selected,"label--active":this.active,"label--single":t},n=F(this.el);return e(a,{"aria-hidden":"true"},e("div",{class:`container scale--${this.scale}`,style:{"--calcite-combobox-item-spacing-indent-multiplier":`${n}`}},e("li",{class:i,id:this.guid,onClick:this.itemClickHandler},this.renderIcon(t),e("span",{class:"title"},this.textLabel)),this.renderChildren()))}get el(){return n(this)}static get watchers(){return{selected:["selectedWatchHandler"]}}};G.style='@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{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--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)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;outline:2px solid transparent;outline-offset:2px}.label{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:100%;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-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);outline-color:transparent;padding:var(--calcite-combobox-item-spacing-unit-s) var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--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)}.title{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.icon{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-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);color:var(--calcite-ui-border-1)}.icon--indent{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-top:-1px;color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;min-width:var(--calcite-combobox-item-spacing-unit-l)}.icon--dot:before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}';const Y=class{constructor(i){t(this,i),this.guid=f(),this.scale="m"}connectedCallback(){this.ancestors=X(this.el),this.scale=g(this.el,"scale",this.scale)}render(){const{el:t,scale:i}=this,a=`label--indent-${F(t)}`;return e("ul",{"aria-labelledby":this.guid,class:{list:!0,[`scale--${i}`]:!0},role:"group"},e("li",{class:{label:!0,[a]:!0},id:this.guid,role:"presentation"},e("span",{class:"title"},this.label)),e("slot",null))}get el(){return n(this)}};Y.style="@-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{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent-1:0.5rem;--calcite-combobox-item-spacing-indent-2:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent-1:0.75rem;--calcite-combobox-item-spacing-indent-2:1.5rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent-1:1rem;--calcite-combobox-item-spacing-indent-2:2rem}:host,.list{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px;outline:2px solid transparent;outline-offset:2px}.label{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:0px;max-width:100%;color:var(--calcite-ui-text-3)}.label--indent-1{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-1);padding-inline-start:var(--calcite-combobox-item-spacing-indent-1)}.label--indent-2{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-2);padding-inline-start:var(--calcite-combobox-item-spacing-indent-2)}.title{border:0 solid;display:block;-ms-flex:1 1 0%;flex:1 1 0%;border-bottom-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-bottom-color:var(--calcite-ui-border-3);padding:var(--calcite-combobox-item-spacing-unit-l) 0;margin-left:var(--calcite-combobox-item-spacing-unit-s);margin-right:var(--calcite-combobox-item-spacing-unit-s)}";export{U as calcite_combobox,G as calcite_combobox_item,Y as calcite_combobox_item_group}