@esri/calcite-components 1.0.0-next.686 → 1.0.0-next.688

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 (703) hide show
  1. package/dist/calcite/calcite.esm.js +2 -2
  2. package/dist/calcite/index.esm.js +1 -1
  3. package/dist/calcite/{p-e89c8d76.entry.js → p-03692eb4.entry.js} +2 -2
  4. package/dist/calcite/{p-e3a28f90.entry.js → p-03b4a90c.entry.js} +2 -2
  5. package/dist/calcite/p-05184915.entry.js +6 -0
  6. package/dist/calcite/p-082deb6e.entry.js +6 -0
  7. package/dist/calcite/{p-9c0603ed.js → p-088a36fc.js} +1 -1
  8. package/dist/calcite/{p-ec77737a.entry.js → p-0a44e1a0.entry.js} +2 -2
  9. package/dist/calcite/{p-da4c815d.entry.js → p-0e46f6c4.entry.js} +2 -2
  10. package/dist/calcite/p-0f3a7fea.entry.js +6 -0
  11. package/dist/calcite/{p-e2c6054a.js → p-14a9ff2d.js} +1 -1
  12. package/dist/calcite/p-170c416b.entry.js +6 -0
  13. package/dist/calcite/{p-0bf912c2.js → p-1beb4b96.js} +2 -2
  14. package/dist/calcite/{p-a4eb5631.js → p-1bf6de03.js} +2 -2
  15. package/dist/calcite/{p-db3efad1.js → p-1d439742.js} +1 -1
  16. package/dist/calcite/{p-84be75f4.entry.js → p-25207c45.entry.js} +2 -2
  17. package/dist/calcite/{p-dffa4b0a.entry.js → p-29af00d6.entry.js} +2 -2
  18. package/dist/calcite/{p-7824938d.js → p-30ef40e1.js} +2 -2
  19. package/dist/calcite/p-33707365.entry.js +6 -0
  20. package/dist/calcite/p-3564b9e0.js +6 -0
  21. package/dist/calcite/{p-8ed3ae17.js → p-36296a46.js} +1 -1
  22. package/dist/calcite/p-39065362.entry.js +6 -0
  23. package/dist/calcite/{p-bdf6eeda.entry.js → p-3b297d55.entry.js} +2 -2
  24. package/dist/calcite/{p-68d716fd.js → p-3c2cc334.js} +2 -2
  25. package/dist/calcite/{p-7f8f81d4.entry.js → p-3dd90e41.entry.js} +2 -2
  26. package/dist/calcite/p-3f5784de.entry.js +6 -0
  27. package/dist/calcite/{p-6824ca41.js → p-41a88ded.js} +1 -1
  28. package/dist/calcite/{p-28d5a917.entry.js → p-425fdd87.entry.js} +2 -2
  29. package/dist/calcite/{p-5e42938f.entry.js → p-4459ad18.entry.js} +2 -2
  30. package/dist/calcite/{p-1cb2d5b4.js → p-47708aa1.js} +2 -2
  31. package/dist/calcite/p-4e55e6b9.entry.js +6 -0
  32. package/dist/calcite/{p-f0bbc245.js → p-50c38192.js} +1 -1
  33. package/dist/calcite/{p-20091960.entry.js → p-520e91fe.entry.js} +2 -2
  34. package/dist/calcite/{p-6a629195.js → p-53957a1e.js} +1 -1
  35. package/dist/calcite/{p-b3aac60f.entry.js → p-57b1553f.entry.js} +2 -2
  36. package/dist/calcite/p-5f5ac1fb.entry.js +6 -0
  37. package/dist/calcite/{p-f463abfb.js → p-614ab3a0.js} +1 -1
  38. package/dist/calcite/{p-69840c6d.js → p-6a3a7ac1.js} +2 -2
  39. package/dist/calcite/p-6af4bd32.entry.js +6 -0
  40. package/dist/calcite/{p-33088377.entry.js → p-6b28f89f.entry.js} +2 -2
  41. package/dist/calcite/{p-b6fcce91.js → p-6bf81193.js} +2 -2
  42. package/dist/calcite/{p-913087ab.entry.js → p-6e54b6f1.entry.js} +2 -2
  43. package/dist/calcite/p-7178dcd3.entry.js +6 -0
  44. package/dist/calcite/p-7952623e.entry.js +6 -0
  45. package/dist/calcite/{p-c75f0b1e.js → p-79f57550.js} +2 -2
  46. package/dist/calcite/{p-164a3e2f.entry.js → p-7c004d7f.entry.js} +2 -2
  47. package/dist/calcite/p-7d764aa5.entry.js +6 -0
  48. package/dist/calcite/p-7e7db5e0.entry.js +6 -0
  49. package/dist/calcite/{p-586c7163.entry.js → p-7f8670b5.entry.js} +2 -2
  50. package/dist/calcite/p-83f60e26.entry.js +6 -0
  51. package/dist/calcite/p-868cc943.entry.js +6 -0
  52. package/dist/calcite/{p-d3ebc9c4.js → p-875c01df.js} +2 -2
  53. package/dist/calcite/p-87812497.entry.js +6 -0
  54. package/dist/calcite/{p-6ec640f5.entry.js → p-885d36fc.entry.js} +2 -2
  55. package/dist/calcite/{p-ede72305.js → p-8baf2174.js} +1 -1
  56. package/dist/calcite/{p-daa7ee0f.entry.js → p-8c22b4ba.entry.js} +2 -2
  57. package/dist/calcite/{p-6fcfc44c.entry.js → p-8c9948a1.entry.js} +2 -2
  58. package/dist/calcite/{p-a50e3ece.entry.js → p-90e490a8.entry.js} +2 -2
  59. package/dist/calcite/p-93c297c2.entry.js +6 -0
  60. package/dist/calcite/p-96eea750.entry.js +6 -0
  61. package/dist/calcite/p-98d52cdb.entry.js +6 -0
  62. package/dist/calcite/{p-319cf9bc.js → p-9c35ac3e.js} +1 -1
  63. package/dist/calcite/{p-21410fff.entry.js → p-9d604886.entry.js} +2 -2
  64. package/dist/calcite/{p-43679ce3.entry.js → p-9ddf235c.entry.js} +2 -2
  65. package/dist/calcite/{p-5984670c.entry.js → p-a3202e3b.entry.js} +2 -2
  66. package/dist/calcite/{p-e98fc94d.js → p-a7c33fba.js} +2 -2
  67. package/dist/calcite/p-b23ba5ee.entry.js +6 -0
  68. package/dist/calcite/{p-56890424.entry.js → p-b3f6da6b.entry.js} +2 -2
  69. package/dist/calcite/{p-edd3a715.entry.js → p-b717fef4.entry.js} +2 -2
  70. package/dist/calcite/{p-58e96a1a.entry.js → p-b8c6eef7.entry.js} +2 -2
  71. package/dist/calcite/{p-8a6441e0.entry.js → p-ba1b607b.entry.js} +2 -2
  72. package/dist/calcite/p-ba346b28.js +6 -0
  73. package/dist/calcite/{p-dcf59d52.entry.js → p-ba4c3232.entry.js} +2 -2
  74. package/dist/calcite/p-bbe40e60.entry.js +6 -0
  75. package/dist/calcite/{p-0529e8c1.entry.js → p-bddc071d.entry.js} +2 -2
  76. package/dist/calcite/{p-4c0443e2.entry.js → p-be647bb0.entry.js} +2 -2
  77. package/dist/calcite/{p-af1288b8.entry.js → p-c43e5fc1.entry.js} +2 -2
  78. package/dist/calcite/p-c58baaf1.entry.js +6 -0
  79. package/dist/calcite/p-c5dae9bd.entry.js +6 -0
  80. package/dist/calcite/p-c99a1393.js +6 -0
  81. package/dist/calcite/{p-0ae8a5d4.entry.js → p-ce3753b3.entry.js} +2 -2
  82. package/dist/calcite/{p-7dfe187f.js → p-ce88d255.js} +1 -1
  83. package/dist/calcite/{p-cafac5b3.js → p-d23f9a48.js} +2 -2
  84. package/dist/calcite/{p-99eb0e56.js → p-d2539202.js} +2 -2
  85. package/dist/calcite/{p-4f1a0bed.js → p-e110ef0c.js} +1 -1
  86. package/dist/calcite/{p-e5dcb599.js → p-e3a4daa5.js} +1 -1
  87. package/dist/calcite/p-e7becc39.js +6 -0
  88. package/dist/calcite/{p-71e1037d.entry.js → p-ed75cb7c.entry.js} +2 -2
  89. package/dist/calcite/{p-20a384f5.entry.js → p-ee7d445c.entry.js} +2 -2
  90. package/dist/calcite/{p-22bd55ca.js → p-f54d786c.js} +2 -2
  91. package/dist/calcite/{p-26604cdc.js → p-fa950085.js} +1 -1
  92. package/dist/calcite/{p-9deaa309.entry.js → p-fcf778e7.entry.js} +2 -2
  93. package/dist/calcite/{p-055ab9b3.entry.js → p-fd49ba77.entry.js} +2 -2
  94. package/dist/calcite/{p-198a7d55.js → p-ff3474f4.js} +1 -1
  95. package/dist/cjs/{ExpandToggle-45756a68.js → ExpandToggle-2f1975a8.js} +5 -5
  96. package/dist/cjs/{Heading-6b74fdc4.js → Heading-ab835192.js} +2 -2
  97. package/dist/cjs/{app-globals-6c97e8a2.js → app-globals-1e133316.js} +2 -2
  98. package/dist/cjs/{array-b496dbca.js → array-6a64003f.js} +1 -1
  99. package/dist/cjs/calcite-accordion_2.cjs.entry.js +11 -9
  100. package/dist/cjs/calcite-action-bar.cjs.entry.js +17 -22
  101. package/dist/cjs/calcite-action-group.cjs.entry.js +13 -12
  102. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  103. package/dist/cjs/calcite-action-pad.cjs.entry.js +16 -21
  104. package/dist/cjs/calcite-action.cjs.entry.js +14 -13
  105. package/dist/cjs/calcite-alert.cjs.entry.js +15 -14
  106. package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
  107. package/dist/cjs/calcite-block_2.cjs.entry.js +12 -12
  108. package/dist/cjs/calcite-button.cjs.entry.js +16 -17
  109. package/dist/cjs/calcite-card.cjs.entry.js +10 -10
  110. package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -10
  111. package/dist/cjs/calcite-chip.cjs.entry.js +52 -21
  112. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +17 -16
  113. package/dist/cjs/calcite-combobox_3.cjs.entry.js +25 -23
  114. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +13 -12
  115. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +14 -12
  116. package/dist/cjs/calcite-fab.cjs.entry.js +12 -11
  117. package/dist/cjs/calcite-filter.cjs.entry.js +15 -14
  118. package/dist/cjs/calcite-flow-item.cjs.entry.js +12 -12
  119. package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
  120. package/dist/cjs/calcite-graph_2.cjs.entry.js +14 -13
  121. package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
  122. package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
  123. package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -21
  124. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +18 -17
  125. package/dist/cjs/calcite-input-message.cjs.entry.js +7 -6
  126. package/dist/cjs/calcite-input-number.cjs.entry.js +14 -14
  127. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  128. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +16 -14
  129. package/dist/cjs/calcite-input.cjs.entry.js +14 -14
  130. package/dist/cjs/calcite-label.cjs.entry.js +6 -6
  131. package/dist/cjs/calcite-link.cjs.entry.js +7 -7
  132. package/dist/cjs/calcite-list_3.cjs.entry.js +9 -9
  133. package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
  134. package/dist/cjs/calcite-modal.cjs.entry.js +13 -13
  135. package/dist/cjs/calcite-notice.cjs.entry.js +14 -13
  136. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  137. package/dist/cjs/calcite-pagination.cjs.entry.js +10 -9
  138. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  139. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +19 -18
  140. package/dist/cjs/calcite-popover.cjs.entry.js +15 -15
  141. package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
  142. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -3
  143. package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
  144. package/dist/cjs/calcite-radio-group_2.cjs.entry.js +9 -9
  145. package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
  146. package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
  147. package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
  148. package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
  149. package/dist/cjs/calcite-split-button.cjs.entry.js +7 -6
  150. package/dist/cjs/calcite-stepper_2.cjs.entry.js +12 -11
  151. package/dist/cjs/calcite-switch.cjs.entry.js +10 -10
  152. package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
  153. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +8 -7
  154. package/dist/cjs/calcite-tile.cjs.entry.js +11 -10
  155. package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -8
  156. package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
  157. package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
  158. package/dist/cjs/calcite-value-list_2.cjs.entry.js +19 -18
  159. package/dist/cjs/calcite.cjs.js +5 -5
  160. package/dist/cjs/{conditionalSlot-50a96097.js → conditionalSlot-a53d134c.js} +3 -3
  161. package/dist/cjs/{debounce-f24e2e2f.js → debounce-693cccee.js} +1 -1
  162. package/dist/cjs/{dom-53afe91f.js → dom-2db5c855.js} +3 -3
  163. package/dist/cjs/{filter-0da1914f.js → filter-28153bb2.js} +2 -2
  164. package/dist/cjs/{floating-ui-e30dce0b.js → floating-ui-e70ae22d.js} +4 -4
  165. package/dist/cjs/{focusTrapComponent-370096c6.js → focusTrapComponent-c906f778.js} +2 -2
  166. package/dist/cjs/{form-6130c77e.js → form-132d25cc.js} +3 -3
  167. package/dist/cjs/{guid-9d815eba.js → guid-b1c57a9d.js} +1 -1
  168. package/dist/cjs/{index-d849f743.js → index-ca650359.js} +5 -2
  169. package/dist/cjs/index.cjs.js +1 -1
  170. package/dist/cjs/{interactive-013cee30.js → interactive-63d6086f.js} +1 -1
  171. package/dist/cjs/{key-3ef28a50.js → key-daca21ec.js} +1 -1
  172. package/dist/cjs/{label-b113cdc7.js → label-53aedc4b.js} +2 -2
  173. package/dist/cjs/{loadable-ea8b063e.js → loadable-f17eb8de.js} +1 -1
  174. package/dist/cjs/loader.cjs.js +5 -5
  175. package/dist/cjs/{locale-f78f4a21.js → locale-635fc90b.js} +4 -4
  176. package/dist/cjs/{math-2b139bd1.js → math-06685661.js} +1 -1
  177. package/dist/cjs/{nonChromiumPlatformUtils-90ba9262.js → nonChromiumPlatformUtils-9af29c60.js} +6 -6
  178. package/dist/cjs/{observers-acb48387.js → observers-1d66d5a8.js} +1 -1
  179. package/dist/cjs/{openCloseComponent-c6da7e66.js → openCloseComponent-9efefc2b.js} +2 -2
  180. package/dist/cjs/{resources-9f1b6663.js → resources-36d2967b.js} +1 -1
  181. package/dist/cjs/{resources-811c186c.js → resources-8087d6d8.js} +1 -1
  182. package/dist/cjs/{resources-4037854b.js → resources-82afd1a5.js} +5 -5
  183. package/dist/cjs/{resources-04373cab.js → resources-b73d9c4a.js} +1 -1
  184. package/dist/cjs/{resources-2af6490c.js → resources-e5ef5941.js} +1 -1
  185. package/dist/cjs/{resources-0f7ff7d4.js → resources-f90ea3f5.js} +1 -1
  186. package/dist/cjs/{sortable.esm-088fbcb3.js → sortable.esm-2928f84b.js} +1 -1
  187. package/dist/cjs/{t9n-c5ff0399.js → t9n-04ab4138.js} +3 -3
  188. package/dist/cjs/{utils-436492ba.js → utils-23374f68.js} +3 -3
  189. package/dist/cjs/{utils-9566b8bd.js → utils-f6c8c735.js} +1 -1
  190. package/dist/collection/components/accordion/accordion.js +1 -1
  191. package/dist/collection/components/accordion-item/accordion-item.js +27 -3
  192. package/dist/collection/components/accordion-item/resources.js +1 -1
  193. package/dist/collection/components/action/action.js +22 -3
  194. package/dist/collection/components/action/resources.js +1 -1
  195. package/dist/collection/components/action-bar/action-bar.js +7 -21
  196. package/dist/collection/components/action-bar/resources.js +1 -1
  197. package/dist/collection/components/action-bar/utils.js +1 -1
  198. package/dist/collection/components/action-group/action-group.js +2 -1
  199. package/dist/collection/components/action-group/resources.js +1 -1
  200. package/dist/collection/components/action-menu/action-menu.js +1 -1
  201. package/dist/collection/components/action-menu/resources.js +1 -1
  202. package/dist/collection/components/action-pad/action-pad.js +7 -21
  203. package/dist/collection/components/action-pad/resources.js +1 -1
  204. package/dist/collection/components/alert/alert.js +23 -4
  205. package/dist/collection/components/alert/resources.js +1 -1
  206. package/dist/collection/components/avatar/avatar.js +1 -1
  207. package/dist/collection/components/avatar/utils.js +1 -1
  208. package/dist/collection/components/block/block.js +1 -1
  209. package/dist/collection/components/block/resources.js +1 -1
  210. package/dist/collection/components/block-section/block-section.js +1 -1
  211. package/dist/collection/components/block-section/resources.js +1 -1
  212. package/dist/collection/components/button/button.css +154 -198
  213. package/dist/collection/components/button/button.js +21 -36
  214. package/dist/collection/components/button/resources.js +1 -1
  215. package/dist/collection/components/card/card.js +1 -1
  216. package/dist/collection/components/card/resources.js +1 -1
  217. package/dist/collection/components/checkbox/checkbox.js +1 -1
  218. package/dist/collection/components/chip/chip.css +132 -85
  219. package/dist/collection/components/chip/chip.js +56 -22
  220. package/dist/collection/components/chip/resources.js +5 -2
  221. package/dist/collection/components/color-picker/color-picker.js +5 -4
  222. package/dist/collection/components/color-picker/resources.js +1 -1
  223. package/dist/collection/components/color-picker/utils.js +1 -1
  224. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  225. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  226. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  227. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  228. package/dist/collection/components/combobox/combobox.js +23 -4
  229. package/dist/collection/components/combobox/resources.js +1 -1
  230. package/dist/collection/components/combobox/utils.js +1 -1
  231. package/dist/collection/components/combobox-item/combobox-item.js +22 -3
  232. package/dist/collection/components/combobox-item/resources.js +1 -1
  233. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  234. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  235. package/dist/collection/components/date-picker/date-picker.js +2 -1
  236. package/dist/collection/components/date-picker/resources.js +1 -1
  237. package/dist/collection/components/date-picker/utils.js +1 -1
  238. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  239. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  240. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  241. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  242. package/dist/collection/components/dropdown/dropdown.js +2 -1
  243. package/dist/collection/components/dropdown/resources.js +1 -1
  244. package/dist/collection/components/dropdown-group/dropdown-group.js +2 -1
  245. package/dist/collection/components/dropdown-group/resources.js +1 -1
  246. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  247. package/dist/collection/components/dropdown-item/resources.js +1 -1
  248. package/dist/collection/components/fab/fab.js +38 -16
  249. package/dist/collection/components/fab/resources.js +1 -1
  250. package/dist/collection/components/filter/filter.js +3 -3
  251. package/dist/collection/components/filter/resources.js +1 -1
  252. package/dist/collection/components/flow/flow.js +1 -1
  253. package/dist/collection/components/flow/resources.js +1 -1
  254. package/dist/collection/components/flow-item/flow-item.js +1 -1
  255. package/dist/collection/components/flow-item/resources.js +1 -1
  256. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  257. package/dist/collection/components/functional/Heading.js +1 -1
  258. package/dist/collection/components/graph/graph.js +1 -1
  259. package/dist/collection/components/graph/util.js +1 -1
  260. package/dist/collection/components/handle/handle.js +1 -1
  261. package/dist/collection/components/handle/resources.js +1 -1
  262. package/dist/collection/components/icon/icon.js +1 -1
  263. package/dist/collection/components/icon/resources.js +1 -1
  264. package/dist/collection/components/icon/utils.js +1 -1
  265. package/dist/collection/components/inline-editable/inline-editable.js +6 -10
  266. package/dist/collection/components/inline-editable/resources.js +1 -1
  267. package/dist/collection/components/input/input.js +1 -1
  268. package/dist/collection/components/input/resources.js +1 -1
  269. package/dist/collection/components/input-date-picker/input-date-picker.js +3 -2
  270. package/dist/collection/components/input-date-picker/resources.js +1 -1
  271. package/dist/collection/components/input-message/input-message.js +21 -2
  272. package/dist/collection/components/input-message/interfaces.js +1 -1
  273. package/dist/collection/components/input-number/input-number.js +1 -1
  274. package/dist/collection/components/input-number/resources.js +1 -1
  275. package/dist/collection/components/input-text/input-text.js +1 -1
  276. package/dist/collection/components/input-text/resources.js +1 -1
  277. package/dist/collection/components/input-time-picker/input-time-picker.js +3 -2
  278. package/dist/collection/components/label/label.js +1 -1
  279. package/dist/collection/components/label/resources.js +1 -1
  280. package/dist/collection/components/link/link.js +1 -1
  281. package/dist/collection/components/list/list.js +1 -1
  282. package/dist/collection/components/list/resources.js +1 -1
  283. package/dist/collection/components/list-item/list-item.js +1 -1
  284. package/dist/collection/components/list-item/resources.js +1 -1
  285. package/dist/collection/components/list-item/utils.js +1 -1
  286. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  287. package/dist/collection/components/list-item-group/resources.js +1 -1
  288. package/dist/collection/components/loader/loader.js +1 -1
  289. package/dist/collection/components/modal/modal.js +2 -2
  290. package/dist/collection/components/modal/resources.js +1 -1
  291. package/dist/collection/components/notice/notice.js +22 -3
  292. package/dist/collection/components/notice/resources.js +1 -1
  293. package/dist/collection/components/option/option.js +1 -1
  294. package/dist/collection/components/option-group/option-group.js +1 -1
  295. package/dist/collection/components/pagination/pagination.js +2 -1
  296. package/dist/collection/components/pagination/resources.js +1 -1
  297. package/dist/collection/components/panel/panel.js +1 -1
  298. package/dist/collection/components/panel/resources.js +1 -1
  299. package/dist/collection/components/pick-list/pick-list.js +1 -1
  300. package/dist/collection/components/pick-list/resources.js +1 -1
  301. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  302. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  303. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  304. package/dist/collection/components/pick-list-group/resources.js +1 -1
  305. package/dist/collection/components/pick-list-item/pick-list-item.js +22 -3
  306. package/dist/collection/components/pick-list-item/resources.js +1 -1
  307. package/dist/collection/components/popover/PopoverManager.js +1 -1
  308. package/dist/collection/components/popover/popover.js +1 -1
  309. package/dist/collection/components/popover/resources.js +1 -1
  310. package/dist/collection/components/progress/progress.js +1 -1
  311. package/dist/collection/components/radio-button/radio-button.js +1 -1
  312. package/dist/collection/components/radio-button/resources.js +1 -1
  313. package/dist/collection/components/radio-button-group/radio-button-group.js +2 -1
  314. package/dist/collection/components/radio-group/radio-group.js +1 -1
  315. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  316. package/dist/collection/components/radio-group-item/resources.js +1 -1
  317. package/dist/collection/components/rating/rating.js +1 -1
  318. package/dist/collection/components/resources.js +1 -1
  319. package/dist/collection/components/scrim/resources.js +1 -1
  320. package/dist/collection/components/scrim/scrim.js +1 -1
  321. package/dist/collection/components/select/resources.js +1 -1
  322. package/dist/collection/components/select/select.js +1 -1
  323. package/dist/collection/components/shell/resources.js +1 -1
  324. package/dist/collection/components/shell/shell.js +1 -1
  325. package/dist/collection/components/shell-center-row/resources.js +1 -1
  326. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  327. package/dist/collection/components/shell-panel/resources.js +1 -1
  328. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  329. package/dist/collection/components/slider/resources.js +1 -1
  330. package/dist/collection/components/slider/slider.js +2 -1
  331. package/dist/collection/components/sortable-list/resources.js +1 -1
  332. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  333. package/dist/collection/components/split-button/resources.js +1 -1
  334. package/dist/collection/components/split-button/split-button.css +30 -36
  335. package/dist/collection/components/split-button/split-button.js +22 -15
  336. package/dist/collection/components/stepper/stepper.js +1 -1
  337. package/dist/collection/components/stepper-item/stepper-item.js +21 -2
  338. package/dist/collection/components/switch/switch.js +1 -1
  339. package/dist/collection/components/tab/tab.js +1 -1
  340. package/dist/collection/components/tab-nav/tab-nav.js +1 -1
  341. package/dist/collection/components/tab-title/tab-title.js +1 -1
  342. package/dist/collection/components/tabs/resources.js +1 -1
  343. package/dist/collection/components/tabs/tabs.js +1 -1
  344. package/dist/collection/components/tile/resources.js +1 -1
  345. package/dist/collection/components/tile/tile.js +22 -3
  346. package/dist/collection/components/tile-select/resources.js +1 -1
  347. package/dist/collection/components/tile-select/tile-select.js +22 -3
  348. package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
  349. package/dist/collection/components/time-picker/resources.js +1 -1
  350. package/dist/collection/components/time-picker/time-picker.js +2 -1
  351. package/dist/collection/components/tip/resources.js +1 -1
  352. package/dist/collection/components/tip/tip.js +1 -1
  353. package/dist/collection/components/tip-group/tip-group.js +1 -1
  354. package/dist/collection/components/tip-manager/resources.js +1 -1
  355. package/dist/collection/components/tip-manager/tip-manager.js +1 -1
  356. package/dist/collection/components/tooltip/TooltipManager.js +1 -1
  357. package/dist/collection/components/tooltip/resources.js +1 -1
  358. package/dist/collection/components/tooltip/tooltip.js +1 -1
  359. package/dist/collection/components/tree/tree.js +1 -1
  360. package/dist/collection/components/tree/utils.js +1 -1
  361. package/dist/collection/components/tree-item/resources.js +1 -1
  362. package/dist/collection/components/tree-item/tree-item.js +1 -1
  363. package/dist/collection/components/value-list/resources.js +1 -1
  364. package/dist/collection/components/value-list/utils.js +1 -1
  365. package/dist/collection/components/value-list/value-list.js +1 -1
  366. package/dist/collection/components/value-list-item/resources.js +1 -1
  367. package/dist/collection/components/value-list-item/value-list-item.js +22 -3
  368. package/dist/collection/utils/array.js +1 -1
  369. package/dist/collection/utils/conditionalSlot.js +1 -1
  370. package/dist/collection/utils/config.js +1 -1
  371. package/dist/collection/utils/date.js +1 -1
  372. package/dist/collection/utils/dom.js +1 -1
  373. package/dist/collection/utils/filter.js +1 -1
  374. package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
  375. package/dist/collection/utils/floating-ui.js +1 -1
  376. package/dist/collection/utils/focusTrapComponent.js +1 -1
  377. package/dist/collection/utils/form.js +1 -1
  378. package/dist/collection/utils/globalAttributes.js +1 -1
  379. package/dist/collection/utils/globalScript.js +1 -1
  380. package/dist/collection/utils/guid.js +1 -1
  381. package/dist/collection/utils/interactive.js +1 -1
  382. package/dist/collection/utils/key.js +1 -1
  383. package/dist/collection/utils/label.js +1 -1
  384. package/dist/collection/utils/loadable.js +1 -1
  385. package/dist/collection/utils/locale.js +1 -1
  386. package/dist/collection/utils/math.js +1 -1
  387. package/dist/collection/utils/number.js +1 -1
  388. package/dist/collection/utils/observers.js +1 -1
  389. package/dist/collection/utils/openCloseComponent.js +1 -1
  390. package/dist/collection/utils/resources.js +1 -1
  391. package/dist/collection/utils/t9n.js +1 -1
  392. package/dist/collection/utils/theme.js +1 -1
  393. package/dist/collection/utils/time.js +1 -1
  394. package/dist/components/ExpandToggle.js +1 -1
  395. package/dist/components/Heading.js +1 -1
  396. package/dist/components/action-group.js +3 -2
  397. package/dist/components/action-menu.js +2 -2
  398. package/dist/components/action.js +5 -3
  399. package/dist/components/array.js +1 -1
  400. package/dist/components/button.js +5 -7
  401. package/dist/components/calcite-accordion-item.js +7 -4
  402. package/dist/components/calcite-accordion.js +1 -1
  403. package/dist/components/calcite-action-bar.js +5 -10
  404. package/dist/components/calcite-action-group.js +1 -1
  405. package/dist/components/calcite-action-menu.js +1 -1
  406. package/dist/components/calcite-action-pad.js +5 -10
  407. package/dist/components/calcite-action.js +1 -1
  408. package/dist/components/calcite-alert.js +5 -3
  409. package/dist/components/calcite-avatar.js +2 -2
  410. package/dist/components/calcite-block-section.js +1 -1
  411. package/dist/components/calcite-block.js +1 -1
  412. package/dist/components/calcite-button.js +1 -1
  413. package/dist/components/calcite-card.js +1 -1
  414. package/dist/components/calcite-checkbox.js +1 -1
  415. package/dist/components/calcite-chip.js +1 -1
  416. package/dist/components/calcite-color-picker-hex-input.js +1 -1
  417. package/dist/components/calcite-color-picker-swatch.js +1 -1
  418. package/dist/components/calcite-color-picker.js +6 -5
  419. package/dist/components/calcite-combobox-item-group.js +1 -1
  420. package/dist/components/calcite-combobox-item.js +5 -3
  421. package/dist/components/calcite-combobox.js +6 -4
  422. package/dist/components/calcite-date-picker-day.js +1 -1
  423. package/dist/components/calcite-date-picker-month-header.js +1 -1
  424. package/dist/components/calcite-date-picker-month.js +1 -1
  425. package/dist/components/calcite-date-picker.js +1 -1
  426. package/dist/components/calcite-dropdown-group.js +3 -2
  427. package/dist/components/calcite-dropdown-item.js +1 -1
  428. package/dist/components/calcite-dropdown.js +1 -1
  429. package/dist/components/calcite-fab.js +9 -7
  430. package/dist/components/calcite-filter.js +1 -1
  431. package/dist/components/calcite-flow-item.js +1 -1
  432. package/dist/components/calcite-flow.js +1 -1
  433. package/dist/components/calcite-graph.js +1 -1
  434. package/dist/components/calcite-handle.js +1 -1
  435. package/dist/components/calcite-icon.js +1 -1
  436. package/dist/components/calcite-inline-editable.js +7 -11
  437. package/dist/components/calcite-input-date-picker.js +4 -3
  438. package/dist/components/calcite-input-message.js +4 -2
  439. package/dist/components/calcite-input-number.js +1 -1
  440. package/dist/components/calcite-input-text.js +1 -1
  441. package/dist/components/calcite-input-time-picker.js +4 -3
  442. package/dist/components/calcite-input.js +1 -1
  443. package/dist/components/calcite-label.js +1 -1
  444. package/dist/components/calcite-link.js +1 -1
  445. package/dist/components/calcite-list-item-group.js +1 -1
  446. package/dist/components/calcite-list-item.js +1 -1
  447. package/dist/components/calcite-list.js +1 -1
  448. package/dist/components/calcite-loader.js +1 -1
  449. package/dist/components/calcite-modal.js +2 -2
  450. package/dist/components/calcite-notice.js +4 -2
  451. package/dist/components/calcite-option-group.js +1 -1
  452. package/dist/components/calcite-option.js +1 -1
  453. package/dist/components/calcite-pagination.js +3 -2
  454. package/dist/components/calcite-panel.js +1 -1
  455. package/dist/components/calcite-pick-list-group.js +1 -1
  456. package/dist/components/calcite-pick-list-item.js +1 -1
  457. package/dist/components/calcite-pick-list.js +1 -1
  458. package/dist/components/calcite-popover.js +1 -1
  459. package/dist/components/calcite-progress.js +1 -1
  460. package/dist/components/calcite-radio-button-group.js +3 -2
  461. package/dist/components/calcite-radio-button.js +2 -2
  462. package/dist/components/calcite-radio-group-item.js +1 -1
  463. package/dist/components/calcite-radio-group.js +1 -1
  464. package/dist/components/calcite-rating.js +1 -1
  465. package/dist/components/calcite-scrim.js +1 -1
  466. package/dist/components/calcite-select.js +2 -2
  467. package/dist/components/calcite-shell-center-row.js +1 -1
  468. package/dist/components/calcite-shell-panel.js +1 -1
  469. package/dist/components/calcite-shell.js +1 -1
  470. package/dist/components/calcite-slider.js +3 -2
  471. package/dist/components/calcite-sortable-list.js +1 -1
  472. package/dist/components/calcite-split-button.js +7 -6
  473. package/dist/components/calcite-stepper-item.js +4 -2
  474. package/dist/components/calcite-stepper.js +2 -2
  475. package/dist/components/calcite-switch.js +1 -1
  476. package/dist/components/calcite-tab-nav.js +1 -1
  477. package/dist/components/calcite-tab-title.js +1 -1
  478. package/dist/components/calcite-tab.js +1 -1
  479. package/dist/components/calcite-tabs.js +1 -1
  480. package/dist/components/calcite-tile-select-group.js +1 -1
  481. package/dist/components/calcite-tile-select.js +5 -3
  482. package/dist/components/calcite-tile.js +1 -1
  483. package/dist/components/calcite-time-picker.js +1 -1
  484. package/dist/components/calcite-tip-group.js +1 -1
  485. package/dist/components/calcite-tip-manager.js +1 -1
  486. package/dist/components/calcite-tip.js +1 -1
  487. package/dist/components/calcite-tooltip.js +1 -1
  488. package/dist/components/calcite-tree-item.js +1 -1
  489. package/dist/components/calcite-tree.js +2 -2
  490. package/dist/components/calcite-value-list-item.js +5 -3
  491. package/dist/components/calcite-value-list.js +1 -1
  492. package/dist/components/checkbox.js +1 -1
  493. package/dist/components/chip.js +48 -14
  494. package/dist/components/color-picker-hex-input.js +2 -2
  495. package/dist/components/color-picker-swatch.js +2 -2
  496. package/dist/components/conditionalSlot.js +1 -1
  497. package/dist/components/date-picker-day.js +1 -1
  498. package/dist/components/date-picker-month-header.js +1 -1
  499. package/dist/components/date-picker-month.js +1 -1
  500. package/dist/components/date-picker.js +3 -2
  501. package/dist/components/date.js +1 -1
  502. package/dist/components/debounce.js +1 -1
  503. package/dist/components/dom.js +2 -2
  504. package/dist/components/dropdown.js +4 -3
  505. package/dist/components/filter.js +4 -4
  506. package/dist/components/filter2.js +1 -1
  507. package/dist/components/floating-ui.js +1 -1
  508. package/dist/components/focusTrapComponent.js +2 -2
  509. package/dist/components/form.js +1 -1
  510. package/dist/components/graph.js +1 -1
  511. package/dist/components/guid.js +1 -1
  512. package/dist/components/handle.js +1 -1
  513. package/dist/components/icon.js +1 -1
  514. package/dist/components/index.js +1 -1
  515. package/dist/components/input.js +1 -1
  516. package/dist/components/interactive.js +1 -1
  517. package/dist/components/key.js +1 -1
  518. package/dist/components/label.js +1 -1
  519. package/dist/components/label2.js +1 -1
  520. package/dist/components/link.js +2 -2
  521. package/dist/components/loadable.js +1 -1
  522. package/dist/components/loader.js +1 -1
  523. package/dist/components/locale.js +1 -1
  524. package/dist/components/math.js +1 -1
  525. package/dist/components/nonChromiumPlatformUtils.js +1 -1
  526. package/dist/components/observers.js +1 -1
  527. package/dist/components/openCloseComponent.js +1 -1
  528. package/dist/components/panel.js +1 -1
  529. package/dist/components/pick-list-item.js +5 -3
  530. package/dist/components/popover.js +1 -1
  531. package/dist/components/progress.js +1 -1
  532. package/dist/components/resources.js +1 -1
  533. package/dist/components/resources2.js +1 -1
  534. package/dist/components/resources3.js +1 -1
  535. package/dist/components/resources4.js +1 -1
  536. package/dist/components/scrim.js +1 -1
  537. package/dist/components/shared-list-render.js +2 -2
  538. package/dist/components/sortable.esm.js +1 -1
  539. package/dist/components/switch.js +2 -2
  540. package/dist/components/t9n.js +1 -1
  541. package/dist/components/tab-nav.js +1 -1
  542. package/dist/components/tab-title.js +1 -1
  543. package/dist/components/tab.js +1 -1
  544. package/dist/components/tabs.js +1 -1
  545. package/dist/components/tile.js +6 -4
  546. package/dist/components/time-picker.js +3 -2
  547. package/dist/components/tooltip.js +1 -1
  548. package/dist/components/utils.js +1 -1
  549. package/dist/components/utils2.js +1 -1
  550. package/dist/esm/{ExpandToggle-0bb88d72.js → ExpandToggle-15065447.js} +5 -5
  551. package/dist/esm/{Heading-1a57f4fd.js → Heading-9b5fbace.js} +2 -2
  552. package/dist/esm/{app-globals-954fbe00.js → app-globals-04237413.js} +2 -2
  553. package/dist/esm/{array-ca991b39.js → array-5620c9b1.js} +1 -1
  554. package/dist/esm/calcite-accordion_2.entry.js +11 -9
  555. package/dist/esm/calcite-action-bar.entry.js +17 -22
  556. package/dist/esm/calcite-action-group.entry.js +13 -12
  557. package/dist/esm/calcite-action-menu.entry.js +9 -9
  558. package/dist/esm/calcite-action-pad.entry.js +16 -21
  559. package/dist/esm/calcite-action.entry.js +14 -13
  560. package/dist/esm/calcite-alert.entry.js +15 -14
  561. package/dist/esm/calcite-avatar.entry.js +6 -6
  562. package/dist/esm/calcite-block_2.entry.js +12 -12
  563. package/dist/esm/calcite-button.entry.js +16 -17
  564. package/dist/esm/calcite-card.entry.js +10 -10
  565. package/dist/esm/calcite-checkbox.entry.js +10 -10
  566. package/dist/esm/calcite-chip.entry.js +52 -21
  567. package/dist/esm/calcite-color-picker_3.entry.js +17 -16
  568. package/dist/esm/calcite-combobox_3.entry.js +25 -23
  569. package/dist/esm/calcite-date-picker_4.entry.js +13 -12
  570. package/dist/esm/calcite-dropdown_3.entry.js +14 -12
  571. package/dist/esm/calcite-fab.entry.js +12 -11
  572. package/dist/esm/calcite-filter.entry.js +15 -14
  573. package/dist/esm/calcite-flow-item.entry.js +12 -12
  574. package/dist/esm/calcite-flow.entry.js +3 -3
  575. package/dist/esm/calcite-graph_2.entry.js +14 -13
  576. package/dist/esm/calcite-handle.entry.js +6 -6
  577. package/dist/esm/calcite-icon.entry.js +6 -6
  578. package/dist/esm/calcite-inline-editable.entry.js +17 -21
  579. package/dist/esm/calcite-input-date-picker.entry.js +18 -17
  580. package/dist/esm/calcite-input-message.entry.js +7 -6
  581. package/dist/esm/calcite-input-number.entry.js +14 -14
  582. package/dist/esm/calcite-input-text.entry.js +13 -13
  583. package/dist/esm/calcite-input-time-picker_2.entry.js +16 -14
  584. package/dist/esm/calcite-input.entry.js +14 -14
  585. package/dist/esm/calcite-label.entry.js +6 -6
  586. package/dist/esm/calcite-link.entry.js +7 -7
  587. package/dist/esm/calcite-list_3.entry.js +9 -9
  588. package/dist/esm/calcite-loader.entry.js +3 -3
  589. package/dist/esm/calcite-modal.entry.js +13 -13
  590. package/dist/esm/calcite-notice.entry.js +14 -13
  591. package/dist/esm/calcite-option_3.entry.js +10 -10
  592. package/dist/esm/calcite-pagination.entry.js +10 -9
  593. package/dist/esm/calcite-panel.entry.js +14 -14
  594. package/dist/esm/calcite-pick-list_3.entry.js +19 -18
  595. package/dist/esm/calcite-popover.entry.js +15 -15
  596. package/dist/esm/calcite-progress.entry.js +2 -2
  597. package/dist/esm/calcite-radio-button-group.entry.js +4 -3
  598. package/dist/esm/calcite-radio-button.entry.js +10 -10
  599. package/dist/esm/calcite-radio-group_2.entry.js +9 -9
  600. package/dist/esm/calcite-rating.entry.js +13 -13
  601. package/dist/esm/calcite-scrim.entry.js +9 -9
  602. package/dist/esm/calcite-shell_3.entry.js +8 -8
  603. package/dist/esm/calcite-sortable-list.entry.js +5 -5
  604. package/dist/esm/calcite-split-button.entry.js +7 -6
  605. package/dist/esm/calcite-stepper_2.entry.js +12 -11
  606. package/dist/esm/calcite-switch.entry.js +10 -10
  607. package/dist/esm/calcite-tab_4.entry.js +7 -7
  608. package/dist/esm/calcite-tile-select_2.entry.js +8 -7
  609. package/dist/esm/calcite-tile.entry.js +11 -10
  610. package/dist/esm/calcite-tip_3.entry.js +8 -8
  611. package/dist/esm/calcite-tooltip.entry.js +8 -8
  612. package/dist/esm/calcite-tree_2.entry.js +8 -8
  613. package/dist/esm/calcite-value-list_2.entry.js +19 -18
  614. package/dist/esm/calcite.js +5 -5
  615. package/dist/esm/{conditionalSlot-1712a58c.js → conditionalSlot-6b3ef2f2.js} +3 -3
  616. package/dist/esm/{debounce-4298a315.js → debounce-b264a4e1.js} +1 -1
  617. package/dist/esm/{dom-285f7254.js → dom-de5aecd4.js} +3 -3
  618. package/dist/esm/{filter-0b175e02.js → filter-9ed111dd.js} +2 -2
  619. package/dist/esm/{floating-ui-af754833.js → floating-ui-f26fc166.js} +4 -4
  620. package/dist/esm/{focusTrapComponent-e98c4d67.js → focusTrapComponent-9000a762.js} +2 -2
  621. package/dist/esm/{form-a4fdb454.js → form-b78dc36a.js} +3 -3
  622. package/dist/esm/{guid-e4a64dcc.js → guid-8f7fe7c8.js} +1 -1
  623. package/dist/esm/{index-030b26cd.js → index-060a705f.js} +5 -2
  624. package/dist/esm/index.js +1 -1
  625. package/dist/esm/{interactive-23c0ffb9.js → interactive-ae092e9c.js} +1 -1
  626. package/dist/esm/{key-f99c6711.js → key-5ec4c2bc.js} +1 -1
  627. package/dist/esm/{label-231b23ff.js → label-80f7ccf8.js} +2 -2
  628. package/dist/esm/{loadable-672fa2c5.js → loadable-750111ac.js} +1 -1
  629. package/dist/esm/loader.js +5 -5
  630. package/dist/esm/{locale-3fd5ccfe.js → locale-e208823a.js} +4 -4
  631. package/dist/esm/{math-a20c9503.js → math-777c49fc.js} +1 -1
  632. package/dist/esm/{nonChromiumPlatformUtils-90a9b8f0.js → nonChromiumPlatformUtils-fd8e55ff.js} +6 -6
  633. package/dist/esm/{observers-33f3ce83.js → observers-5c7edd4c.js} +1 -1
  634. package/dist/esm/{openCloseComponent-fee0a561.js → openCloseComponent-094d088c.js} +2 -2
  635. package/dist/esm/{resources-5f7b4bda.js → resources-367d3b9d.js} +1 -1
  636. package/dist/esm/{resources-946fa0a5.js → resources-3eaa39ad.js} +1 -1
  637. package/dist/esm/{resources-54fdcb42.js → resources-50606976.js} +1 -1
  638. package/dist/esm/{resources-3e7e475f.js → resources-75b6a96e.js} +1 -1
  639. package/dist/esm/{resources-59a7547d.js → resources-8414d284.js} +1 -1
  640. package/dist/esm/{resources-c02d2c2f.js → resources-ac2d82f7.js} +5 -5
  641. package/dist/esm/{sortable.esm-ed721727.js → sortable.esm-501b5d17.js} +1 -1
  642. package/dist/esm/{t9n-d57055a9.js → t9n-f24b458f.js} +3 -3
  643. package/dist/esm/{utils-661a3129.js → utils-499a2ba7.js} +1 -1
  644. package/dist/esm/{utils-27f32f99.js → utils-ed7335dc.js} +3 -3
  645. package/dist/extras/docs-json.json +401 -192
  646. package/dist/loader/cdn.js +1 -1
  647. package/dist/loader/index.cjs.js +1 -1
  648. package/dist/loader/index.es2017.js +1 -1
  649. package/dist/loader/index.js +1 -1
  650. package/dist/types/components/accordion-item/accordion-item.d.ts +3 -0
  651. package/dist/types/components/action/action.d.ts +2 -0
  652. package/dist/types/components/action-bar/action-bar.d.ts +1 -3
  653. package/dist/types/components/action-pad/action-pad.d.ts +1 -3
  654. package/dist/types/components/alert/alert.d.ts +2 -0
  655. package/dist/types/components/button/button.d.ts +5 -11
  656. package/dist/types/components/button/interfaces.d.ts +0 -2
  657. package/dist/types/components/chip/chip.d.ts +13 -5
  658. package/dist/types/components/chip/resources.d.ts +3 -0
  659. package/dist/types/components/combobox/combobox.d.ts +2 -0
  660. package/dist/types/components/combobox-item/combobox-item.d.ts +2 -0
  661. package/dist/types/components/fab/fab.d.ts +6 -5
  662. package/dist/types/components/input-message/input-message.d.ts +2 -0
  663. package/dist/types/components/interfaces.d.ts +2 -2
  664. package/dist/types/components/notice/notice.d.ts +2 -0
  665. package/dist/types/components/pick-list-item/pick-list-item.d.ts +2 -0
  666. package/dist/types/components/split-button/split-button.d.ts +5 -5
  667. package/dist/types/components/stepper-item/stepper-item.d.ts +2 -0
  668. package/dist/types/components/tile/tile.d.ts +2 -0
  669. package/dist/types/components/tile-select/tile-select.d.ts +2 -0
  670. package/dist/types/components/value-list-item/value-list-item.d.ts +2 -0
  671. package/dist/types/components.d.ts +159 -56
  672. package/hydrate/index.js +165 -112
  673. package/package.json +1 -1
  674. package/dist/calcite/p-039fa17a.entry.js +0 -6
  675. package/dist/calcite/p-0b98a470.entry.js +0 -6
  676. package/dist/calcite/p-19b960b8.entry.js +0 -6
  677. package/dist/calcite/p-1dea13ec.entry.js +0 -6
  678. package/dist/calcite/p-2b3a9485.entry.js +0 -6
  679. package/dist/calcite/p-4e8d4e58.entry.js +0 -6
  680. package/dist/calcite/p-4f24d324.entry.js +0 -6
  681. package/dist/calcite/p-5616d5b9.entry.js +0 -6
  682. package/dist/calcite/p-5c8487bb.entry.js +0 -6
  683. package/dist/calcite/p-61e195c0.js +0 -6
  684. package/dist/calcite/p-72772692.entry.js +0 -6
  685. package/dist/calcite/p-72e7b7a4.entry.js +0 -6
  686. package/dist/calcite/p-78ddc1aa.entry.js +0 -6
  687. package/dist/calcite/p-7a985267.entry.js +0 -6
  688. package/dist/calcite/p-7f50fca0.entry.js +0 -6
  689. package/dist/calcite/p-81215b22.entry.js +0 -6
  690. package/dist/calcite/p-84640f88.entry.js +0 -6
  691. package/dist/calcite/p-8c12a8f0.entry.js +0 -6
  692. package/dist/calcite/p-8f4bb839.entry.js +0 -6
  693. package/dist/calcite/p-abffa97f.entry.js +0 -6
  694. package/dist/calcite/p-b9518a53.entry.js +0 -6
  695. package/dist/calcite/p-cae27dce.entry.js +0 -6
  696. package/dist/calcite/p-cd4cc051.entry.js +0 -6
  697. package/dist/calcite/p-f0454ff1.js +0 -6
  698. package/dist/calcite/p-f0e2bf7f.entry.js +0 -6
  699. package/dist/calcite/p-f778e1bd.js +0 -6
  700. package/dist/calcite/p-fc028034.js +0 -6
  701. package/dist/calcite/p-fd33542e.entry.js +0 -6
  702. package/dist/collection/components/chip/interfaces.js +0 -1
  703. package/dist/types/components/chip/interfaces.d.ts +0 -1
@@ -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.686
4
+ * v1.0.0-next.688
5
5
  */
6
6
  import "form-request-submit-polyfill/form-request-submit-polyfill";
7
7
  import { h, Build } from "@stencil/core";
@@ -38,7 +38,7 @@ export class Button {
38
38
  this.alignment = "center";
39
39
  this.appearance = "solid";
40
40
  this.label = undefined;
41
- this.color = "blue";
41
+ this.kind = "brand";
42
42
  this.disabled = false;
43
43
  this.href = undefined;
44
44
  this.iconEnd = undefined;
@@ -47,7 +47,6 @@ export class Button {
47
47
  this.loading = false;
48
48
  this.name = undefined;
49
49
  this.rel = undefined;
50
- this.form = undefined;
51
50
  this.round = false;
52
51
  this.scale = "m";
53
52
  this.splitChild = false;
@@ -85,7 +84,7 @@ export class Button {
85
84
  this.hasLoader = this.loading;
86
85
  this.setupTextContentObserver();
87
86
  connectLabel(this);
88
- this.formEl = closestElementCrossShadowBoundary(this.el, this.form ? `#${this.form}` : "form");
87
+ this.formEl = closestElementCrossShadowBoundary(this.el, "form");
89
88
  }
90
89
  disconnectedCallback() {
91
90
  this.mutationObserver?.disconnect();
@@ -197,12 +196,15 @@ export class Button {
197
196
  "type": "string",
198
197
  "mutable": false,
199
198
  "complexType": {
200
- "original": "ButtonAppearance",
201
- "resolved": "\"clear\" | \"minimal\" | \"outline\" | \"solid\" | \"transparent\"",
199
+ "original": "Extract<\n \"outline\" | \"outline-fill\" | \"solid\" | \"transparent\",\n Appearance\n >",
200
+ "resolved": "\"outline\" | \"outline-fill\" | \"solid\" | \"transparent\"",
202
201
  "references": {
203
- "ButtonAppearance": {
202
+ "Extract": {
203
+ "location": "global"
204
+ },
205
+ "Appearance": {
204
206
  "location": "import",
205
- "path": "./interfaces"
207
+ "path": "../interfaces"
206
208
  }
207
209
  }
208
210
  },
@@ -233,16 +235,19 @@ export class Button {
233
235
  "attribute": "label",
234
236
  "reflect": false
235
237
  },
236
- "color": {
238
+ "kind": {
237
239
  "type": "string",
238
240
  "mutable": false,
239
241
  "complexType": {
240
- "original": "ButtonColor",
241
- "resolved": "\"blue\" | \"inverse\" | \"neutral\" | \"red\"",
242
+ "original": "Extract<\"brand\" | \"danger\" | \"inverse\" | \"neutral\", Kind>",
243
+ "resolved": "\"brand\" | \"danger\" | \"inverse\" | \"neutral\"",
242
244
  "references": {
243
- "ButtonColor": {
245
+ "Extract": {
246
+ "location": "global"
247
+ },
248
+ "Kind": {
244
249
  "location": "import",
245
- "path": "./interfaces"
250
+ "path": "../interfaces"
246
251
  }
247
252
  }
248
253
  },
@@ -250,11 +255,11 @@ export class Button {
250
255
  "optional": false,
251
256
  "docs": {
252
257
  "tags": [],
253
- "text": "Specifies the color of the component."
258
+ "text": "Specifies the kind of the component (will apply to border and background if applicable)."
254
259
  },
255
- "attribute": "color",
260
+ "attribute": "kind",
256
261
  "reflect": true,
257
- "defaultValue": "\"blue\""
262
+ "defaultValue": "\"brand\""
258
263
  },
259
264
  "disabled": {
260
265
  "type": "boolean",
@@ -402,26 +407,6 @@ export class Button {
402
407
  "attribute": "rel",
403
408
  "reflect": true
404
409
  },
405
- "form": {
406
- "type": "string",
407
- "mutable": false,
408
- "complexType": {
409
- "original": "string",
410
- "resolved": "string",
411
- "references": {}
412
- },
413
- "required": false,
414
- "optional": false,
415
- "docs": {
416
- "tags": [{
417
- "name": "deprecated",
418
- "text": "\u2013 The property is no longer needed if the component is placed inside a form."
419
- }],
420
- "text": "The form ID to associate with the component."
421
- },
422
- "attribute": "form",
423
- "reflect": false
424
- },
425
410
  "round": {
426
411
  "type": "boolean",
427
412
  "mutable": false,
@@ -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.686
4
+ * v1.0.0-next.688
5
5
  */
6
6
  export const CSS = {
7
7
  buttonLoader: "calcite-button--loader",
@@ -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.686
4
+ * v1.0.0-next.688
5
5
  */
6
6
  import { h } from "@stencil/core";
7
7
  import { getSlotted, toAriaBoolean } from "../../utils/dom";
@@ -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.686
4
+ * v1.0.0-next.688
5
5
  */
6
6
  export const CSS = {
7
7
  container: "container",
@@ -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.686
4
+ * v1.0.0-next.688
5
5
  */
6
6
  import { h, Host } from "@stencil/core";
7
7
  import { guid } from "../../utils/guid";
@@ -93,13 +93,14 @@
93
93
  :host([scale=s]) .image-container {
94
94
  block-size: 1.25rem;
95
95
  inline-size: 1.25rem;
96
+ padding-inline-start: 0.125rem;
96
97
  }
97
98
 
98
99
  :host([scale=m]) {
99
100
  block-size: 2rem;
100
101
  font-size: var(--calcite-font-size--1);
101
102
  --calcite-chip-spacing-unit-l: 0.75rem;
102
- --calcite-chip-spacing-unit-s: 6px;
103
+ --calcite-chip-spacing-unit-s: calc(0.75rem / 2);
103
104
  }
104
105
  :host([scale=m]) .image-container {
105
106
  block-size: 1.5rem;
@@ -116,7 +117,7 @@
116
117
  :host([scale=l]) .image-container {
117
118
  block-size: 2rem;
118
119
  inline-size: 2rem;
119
- padding-inline-start: 0.25rem;
120
+ padding-inline-start: 0.5rem;
120
121
  }
121
122
 
122
123
  :host {
@@ -143,65 +144,120 @@
143
144
  overflow: hidden;
144
145
  text-overflow: ellipsis;
145
146
  white-space: nowrap;
147
+ padding-block: 0;
146
148
  }
147
149
 
148
- :host span {
149
- padding-block: 0;
150
+ .content--slotted .title {
150
151
  padding-inline: var(--calcite-chip-spacing-unit-l);
151
152
  }
152
153
 
153
- :host([closable]) span {
154
+ :host([closable][icon]) .container:not(.content--slotted) .title {
155
+ padding-inline: 0 var(--calcite-chip-spacing-unit-s);
156
+ }
157
+
158
+ :host(:not([closable])) .container:not(.content--slotted) .chip-icon {
159
+ margin-inline: auto;
160
+ }
161
+
162
+ .container:not(.image--slotted) .image-container {
163
+ display: none;
164
+ }
165
+
166
+ :host([scale=s][closable]) .container:not(.content--slotted) .image-container {
167
+ margin-inline-end: 0.125rem;
168
+ }
169
+
170
+ :host([scale=m][closable]) .container:not(.content--slotted) .image-container {
171
+ margin-inline-end: 0.25rem;
172
+ }
173
+
174
+ :host([scale=l][closable]) .container:not(.content--slotted) .image-container {
175
+ margin-inline-end: 0.5rem;
176
+ }
177
+
178
+ :host([scale=s]:not([closable])) .container:not(.content--slotted) {
179
+ block-size: 1.5rem;
180
+ inline-size: 1.5rem;
181
+ }
182
+ :host([scale=s]:not([closable])) .container:not(.content--slotted) .image-container {
183
+ padding-inline: 0.125rem;
184
+ }
185
+
186
+ :host([scale=m]:not([closable])) .container:not(.content--slotted) {
187
+ block-size: 2rem;
188
+ inline-size: 2rem;
189
+ }
190
+ :host([scale=m]:not([closable])) .container:not(.content--slotted) .image-container {
191
+ padding-inline: 0.25rem;
192
+ }
193
+
194
+ :host([scale=l]:not([closable])) .container:not(.content--slotted) {
195
+ block-size: 2.75rem;
196
+ inline-size: 2.75rem;
197
+ }
198
+ :host([scale=l]:not([closable])) .container:not(.content--slotted) .image-container {
199
+ padding-inline: calc(0.75rem / 2);
200
+ }
201
+
202
+ :host([closable]) .content--slotted .title {
154
203
  padding-inline: var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s);
155
204
  }
156
205
 
157
- :host([icon]:not([closable])) span {
158
- padding-block: 0;
159
- padding-inline: var(--calcite-chip-spacing-unit-l);
206
+ :host([scale=s]) button {
207
+ inline-size: 1rem;
208
+ block-size: 1rem;
209
+ margin-inline-end: 0.125rem;
160
210
  }
161
211
 
162
- :host button {
212
+ :host([scale=m]) button {
213
+ inline-size: 1.5rem;
214
+ block-size: 1.5rem;
215
+ margin-inline-end: 0.25rem;
216
+ }
217
+
218
+ :host([scale=l]) button {
219
+ inline-size: 2rem;
220
+ block-size: 2rem;
221
+ margin-inline-end: 0.5rem;
222
+ }
223
+
224
+ button {
163
225
  margin: 0px;
164
- display: inline-flex;
165
- max-block-size: 100%;
166
- min-block-size: 100%;
167
226
  cursor: pointer;
168
227
  align-items: center;
169
- align-self: stretch;
170
228
  border-style: none;
171
229
  background-color: transparent;
172
230
  color: var(--calcite-ui-text-1);
173
231
  outline-color: transparent;
174
232
  transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
175
233
  -webkit-appearance: none;
176
- border-start-start-radius: 0;
177
- border-start-end-radius: 50px;
178
- border-end-end-radius: 50px;
179
- border-end-start-radius: 0;
180
- padding-block: 0;
234
+ display: flex;
235
+ border-radius: 50%;
181
236
  padding-inline: var(--calcite-chip-spacing-unit-s);
182
237
  color: inherit;
238
+ align-content: center;
239
+ justify-content: center;
183
240
  --calcite-chip-transparent-hover: var(--calcite-button-transparent-hover);
184
241
  --calcite-chip-transparent-press: var(--calcite-button-transparent-press);
185
242
  }
186
- :host button:hover {
243
+ button:hover {
187
244
  background-color: var(--calcite-chip-transparent-hover);
188
245
  }
189
- :host button:focus {
246
+ button:focus {
190
247
  background-color: var(--calcite-chip-transparent-hover);
191
248
  outline: 2px solid var(--calcite-ui-brand);
192
249
  outline-offset: -2px;
193
250
  }
194
- :host button:active {
251
+ button:active {
195
252
  background-color: var(--calcite-chip-transparent-press);
196
253
  }
197
254
 
198
255
  .image-container {
199
256
  display: inline-flex;
200
257
  overflow: hidden;
201
- border-radius: 50%;
202
258
  }
203
259
 
204
- :host slot[name=image]::slotted(*) {
260
+ slot[name=image]::slotted(*) {
205
261
  display: flex;
206
262
  block-size: 100%;
207
263
  inline-size: 100%;
@@ -217,98 +273,89 @@
217
273
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
218
274
  margin-inline-end: 0;
219
275
  margin-inline-start: var(--calcite-chip-spacing-unit-l);
220
- border-start-start-radius: 0;
221
- border-start-end-radius: 50px;
222
- border-end-end-radius: 50px;
223
- border-end-start-radius: 0;
224
276
  }
225
277
 
226
- :host([color=blue]) {
278
+ :host([kind=neutral]) {
227
279
  border-color: transparent;
228
- background-color: var(--calcite-ui-info);
229
- color: var(--calcite-ui-text-inverse);
280
+ background-color: var(--calcite-ui-foreground-2);
281
+ color: var(--calcite-ui-text-1);
282
+ }
283
+ :host([kind=neutral]) button,
284
+ :host([kind=neutral]) .close-icon {
285
+ color: var(--calcite-ui-text-3);
286
+ }
287
+ :host([kind=neutral]) .chip-icon {
288
+ color: var(--calcite-ui-icon-color, var(--calcite-ui-text-3));
230
289
  }
231
290
 
232
- :host([color=red]) {
291
+ :host([kind=inverse]) {
233
292
  border-color: transparent;
234
- background-color: var(--calcite-ui-danger);
293
+ background-color: var(--calcite-ui-inverse);
235
294
  color: var(--calcite-ui-text-inverse);
236
295
  }
237
-
238
- :host([color=yellow]) {
239
- border-color: transparent;
240
- background-color: var(--calcite-ui-warning);
241
- color: #151515;
296
+ :host([kind=inverse]) button,
297
+ :host([kind=inverse]) .close-icon {
298
+ color: var(--calcite-ui-text-inverse);
299
+ }
300
+ :host([kind=inverse]) .chip-icon {
301
+ color: var(--calcite-ui-icon-color, var(--calcite-ui-text-inverse));
242
302
  }
243
303
 
244
- :host([color=green]) {
304
+ :host([kind=brand]) {
245
305
  border-color: transparent;
246
- background-color: var(--calcite-ui-success);
247
- color: #151515;
306
+ background-color: var(--calcite-ui-brand);
307
+ color: var(--calcite-ui-text-inverse);
308
+ }
309
+ :host([kind=brand]) button,
310
+ :host([kind=brand]) .close-icon {
311
+ color: var(--calcite-ui-text-inverse);
312
+ }
313
+ :host([kind=brand]) .chip-icon {
314
+ color: var(--calcite-ui-icon-color, var(--calcite-ui-text-inverse));
248
315
  }
249
316
 
250
- :host([color=grey]) {
251
- border-color: transparent;
252
- background-color: var(--calcite-ui-foreground-2);
317
+ :host([appearance=outline-fill]),
318
+ :host([appearance=outline]) {
319
+ background-color: var(--calcite-ui-foreground-1);
253
320
  color: var(--calcite-ui-text-1);
254
321
  }
255
- :host([color=grey]) button,
256
- :host([color=grey]) .close-icon {
322
+ :host([appearance=outline-fill]) button,
323
+ :host([appearance=outline-fill]) .close-icon,
324
+ :host([appearance=outline]) button,
325
+ :host([appearance=outline]) .close-icon {
257
326
  color: var(--calcite-ui-text-3);
258
327
  }
259
- :host([color=grey]) .chip-icon {
328
+ :host([appearance=outline-fill]) .chip-icon,
329
+ :host([appearance=outline]) .chip-icon {
260
330
  color: var(--calcite-ui-icon-color, var(--calcite-ui-text-3));
261
331
  }
262
332
 
263
- :host([appearance=clear]),
264
- :host([appearance=transparent]) {
265
- background-color: transparent;
266
- color: var(--calcite-ui-text-1);
333
+ :host([appearance=outline-fill]) {
334
+ background-color: var(--calcite-ui-foreground-1);
267
335
  }
268
336
 
269
- :host([color=blue][appearance=clear]),
270
- :host([color=blue][appearance=transparent]) {
271
- border-color: var(--calcite-ui-info);
272
- }
273
- :host([color=blue][appearance=clear]) .chip-icon,
274
- :host([color=blue][appearance=transparent]) .chip-icon {
275
- color: var(--calcite-ui-icon-color, var(--calcite-ui-info));
337
+ :host([appearance=outline]) {
338
+ background-color: transparent;
276
339
  }
277
340
 
278
- :host([color=red][appearance=clear]),
279
- :host([color=red][appearance=transparent]) {
280
- border-color: var(--calcite-ui-danger);
281
- }
282
- :host([color=red][appearance=clear]) .chip-icon,
283
- :host([color=red][appearance=transparent]) .chip-icon {
284
- color: var(--calcite-ui-icon-color, var(--calcite-ui-danger));
341
+ :host([kind=neutral][appearance=outline-fill]),
342
+ :host([kind=neutral][appearance=outline]) {
343
+ border-color: var(--calcite-ui-border-1);
285
344
  }
286
345
 
287
- :host([color=yellow][appearance=clear]),
288
- :host([color=yellow][appearance=transparent]) {
289
- border-color: var(--calcite-ui-warning);
290
- }
291
- :host([color=yellow][appearance=clear]) .chip-icon,
292
- :host([color=yellow][appearance=transparent]) .chip-icon {
293
- color: var(--calcite-ui-icon-color, var(--calcite-ui-warning));
346
+ :host([kind=inverse][appearance=outline-fill]),
347
+ :host([kind=inverse][appearance=outline]) {
348
+ border-color: var(--calcite-ui-border-inverse);
294
349
  }
295
350
 
296
- :host([color=green][appearance=clear]),
297
- :host([color=green][appearance=transparent]) {
298
- border-color: var(--calcite-ui-success);
299
- }
300
- :host([color=green][appearance=clear]) .chip-icon,
301
- :host([color=green][appearance=transparent]) .chip-icon {
302
- color: var(--calcite-ui-icon-color, var(--calcite-ui-success));
351
+ :host([kind=brand][appearance=outline-fill]),
352
+ :host([kind=brand][appearance=outline]) {
353
+ border-color: var(--calcite-ui-brand);
303
354
  }
304
355
 
305
- :host([color=grey][appearance=clear]),
306
- :host([color=grey][appearance=transparent]) {
307
- border-color: var(--calcite-ui-border-1);
308
- }
309
- :host([color=grey][appearance=clear]) .chip-icon,
310
- :host([color=grey][appearance=transparent]) .chip-icon {
311
- color: var(--calcite-ui-icon-color, var(--calcite-ui-text-3));
356
+ :host([kind=brand][appearance=solid]) button,
357
+ :host([kind=inverse][appearance=solid]) button {
358
+ outline-color: var(--calcite-ui-text-inverse);
312
359
  }
313
360
 
314
361
  :host([closed]) {
@@ -1,16 +1,17 @@
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.686
4
+ * v1.0.0-next.688
5
5
  */
6
- import { h } from "@stencil/core";
7
- import { getSlotted } from "../../utils/dom";
6
+ import { h, Build } from "@stencil/core";
8
7
  import { guid } from "../../utils/guid";
9
8
  import { CSS, SLOTS, ICONS } from "./resources";
10
9
  import { connectConditionalSlotComponent, disconnectConditionalSlotComponent } from "../../utils/conditionalSlot";
11
10
  import { connectMessages, disconnectMessages, setUpMessages, updateMessages } from "../../utils/t9n";
12
11
  import { connectLocalized, disconnectLocalized } from "../../utils/locale";
13
12
  import { setUpLoadableComponent, setComponentLoaded, componentLoaded } from "../../utils/loadable";
13
+ import { createObserver } from "../../utils/observers";
14
+ import { slotChangeHasAssignedElement } from "../../utils/dom";
14
15
  /**
15
16
  * @slot - A slot for adding text.
16
17
  * @slot image - A slot for adding an image.
@@ -27,9 +28,19 @@ export class Chip {
27
28
  this.calciteChipClose.emit();
28
29
  this.closed = true;
29
30
  };
31
+ this.handleSlotImageChange = (event) => {
32
+ this.hasImage = slotChangeHasAssignedElement(event);
33
+ };
34
+ //--------------------------------------------------------------------------
35
+ //
36
+ // Private State/Props
37
+ //
38
+ //--------------------------------------------------------------------------
39
+ /** watches for changing text content */
40
+ this.mutationObserver = createObserver("mutation", () => this.updateHasContent());
30
41
  this.guid = guid();
31
42
  this.appearance = "solid";
32
- this.color = "grey";
43
+ this.kind = "neutral";
33
44
  this.closable = false;
34
45
  this.icon = undefined;
35
46
  this.iconFlipRtl = false;
@@ -40,6 +51,8 @@ export class Chip {
40
51
  this.messages = undefined;
41
52
  this.defaultMessages = undefined;
42
53
  this.effectiveLocale = undefined;
54
+ this.hasContent = false;
55
+ this.hasImage = false;
43
56
  }
44
57
  onMessagesChange() {
45
58
  /* wired up by t9n util */
@@ -56,6 +69,7 @@ export class Chip {
56
69
  connectConditionalSlotComponent(this);
57
70
  connectLocalized(this);
58
71
  connectMessages(this);
72
+ this.setupTextContentObserver();
59
73
  }
60
74
  componentDidLoad() {
61
75
  setComponentLoaded(this);
@@ -67,7 +81,10 @@ export class Chip {
67
81
  }
68
82
  async componentWillLoad() {
69
83
  setUpLoadableComponent(this);
70
- await setUpMessages(this);
84
+ if (Build.isBrowser) {
85
+ await setUpMessages(this);
86
+ this.updateHasContent();
87
+ }
71
88
  }
72
89
  //--------------------------------------------------------------------------
73
90
  //
@@ -79,20 +96,32 @@ export class Chip {
79
96
  await componentLoaded(this);
80
97
  this.closeButton?.focus();
81
98
  }
99
+ updateHasContent() {
100
+ const slottedContent = this.el.textContent.trim().length > 0 || this.el.childNodes.length > 0;
101
+ this.hasContent =
102
+ this.el.childNodes.length > 0 && this.el.childNodes[0]?.nodeName === "#text"
103
+ ? this.el.textContent?.trim().length > 0
104
+ : slottedContent;
105
+ }
106
+ setupTextContentObserver() {
107
+ this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
108
+ }
82
109
  //--------------------------------------------------------------------------
83
110
  //
84
111
  // Render Methods
85
112
  //
86
113
  //--------------------------------------------------------------------------
87
114
  renderChipImage() {
88
- const { el } = this;
89
- const hasChipImage = getSlotted(el, SLOTS.image);
90
- return hasChipImage ? (h("div", { class: CSS.imageContainer, key: "image" }, h("slot", { name: SLOTS.image }))) : null;
115
+ return (h("div", { class: CSS.imageContainer, key: "image" }, h("slot", { name: SLOTS.image, onSlotchange: this.handleSlotImageChange })));
91
116
  }
92
117
  render() {
93
- const iconEl = (h("calcite-icon", { class: CSS.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
94
- const closeButton = (h("button", { "aria-describedby": this.guid, "aria-label": this.messages.dismissLabel, class: CSS.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, h("calcite-icon", { class: CSS.closeIcon, icon: ICONS.close, scale: "s" })));
95
- return (h("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, h("span", { class: CSS.title, id: this.guid }, h("slot", null)), this.closable ? closeButton : null));
118
+ const iconEl = (h("calcite-icon", { class: CSS.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: this.scale === "l" ? "m" : "s" }));
119
+ const closeButton = (h("button", { "aria-describedby": this.guid, "aria-label": this.messages.dismissLabel, class: CSS.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, h("calcite-icon", { class: CSS.closeIcon, icon: ICONS.close, scale: this.scale === "l" ? "m" : "s" })));
120
+ return (h("div", { class: {
121
+ [CSS.container]: true,
122
+ [CSS.contentSlotted]: this.hasContent,
123
+ [CSS.imageSlotted]: this.hasImage
124
+ } }, this.renderChipImage(), this.icon ? iconEl : null, h("span", { class: CSS.title, id: this.guid }, h("slot", null)), this.closable ? closeButton : null));
96
125
  }
97
126
  static get is() { return "calcite-chip"; }
98
127
  static get encapsulation() { return "shadow"; }
@@ -113,8 +142,8 @@ export class Chip {
113
142
  "type": "string",
114
143
  "mutable": false,
115
144
  "complexType": {
116
- "original": "Extract<\"solid\" | \"transparent\", Appearance>",
117
- "resolved": "\"solid\" | \"transparent\"",
145
+ "original": "Extract<\"outline\" | \"outline-fill\" | \"solid\", Appearance>",
146
+ "resolved": "\"outline\" | \"outline-fill\" | \"solid\"",
118
147
  "references": {
119
148
  "Extract": {
120
149
  "location": "global"
@@ -135,16 +164,19 @@ export class Chip {
135
164
  "reflect": true,
136
165
  "defaultValue": "\"solid\""
137
166
  },
138
- "color": {
167
+ "kind": {
139
168
  "type": "string",
140
169
  "mutable": false,
141
170
  "complexType": {
142
- "original": "ChipColor",
143
- "resolved": "\"blue\" | \"green\" | \"grey\" | \"red\" | \"yellow\"",
171
+ "original": "Extract<\"brand\" | \"inverse\" | \"neutral\", Kind>",
172
+ "resolved": "\"brand\" | \"inverse\" | \"neutral\"",
144
173
  "references": {
145
- "ChipColor": {
174
+ "Extract": {
175
+ "location": "global"
176
+ },
177
+ "Kind": {
146
178
  "location": "import",
147
- "path": "./interfaces"
179
+ "path": "../interfaces"
148
180
  }
149
181
  }
150
182
  },
@@ -152,11 +184,11 @@ export class Chip {
152
184
  "optional": false,
153
185
  "docs": {
154
186
  "tags": [],
155
- "text": "Specifies the color for the component."
187
+ "text": "Specifies the kind of the component (will apply to border and background if applicable)."
156
188
  },
157
- "attribute": "color",
189
+ "attribute": "kind",
158
190
  "reflect": true,
159
- "defaultValue": "\"grey\""
191
+ "defaultValue": "\"neutral\""
160
192
  },
161
193
  "closable": {
162
194
  "type": "boolean",
@@ -320,7 +352,9 @@ export class Chip {
320
352
  static get states() {
321
353
  return {
322
354
  "defaultMessages": {},
323
- "effectiveLocale": {}
355
+ "effectiveLocale": {},
356
+ "hasContent": {},
357
+ "hasImage": {}
324
358
  };
325
359
  }
326
360
  static get events() {
@@ -1,14 +1,17 @@
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.686
4
+ * v1.0.0-next.688
5
5
  */
6
6
  export const CSS = {
7
7
  title: "title",
8
8
  close: "close",
9
9
  imageContainer: "image-container",
10
10
  chipIcon: "chip-icon",
11
- closeIcon: "close-icon"
11
+ closeIcon: "close-icon",
12
+ contentSlotted: "content--slotted",
13
+ container: "container",
14
+ imageSlotted: "image--slotted"
12
15
  };
13
16
  export const SLOTS = {
14
17
  image: "image"