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

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 (666) 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-8baf2174.js → p-054d38c2.js} +1 -1
  4. package/dist/calcite/{p-ba1b607b.entry.js → p-0670fece.entry.js} +2 -2
  5. package/dist/calcite/{p-53957a1e.js → p-0d1fee25.js} +1 -1
  6. package/dist/calcite/{p-05184915.entry.js → p-120c841f.entry.js} +2 -2
  7. package/dist/calcite/{p-bddc071d.entry.js → p-149ab82e.entry.js} +2 -2
  8. package/dist/calcite/p-1748e126.entry.js +6 -0
  9. package/dist/calcite/{p-fa950085.js → p-1889a50a.js} +1 -1
  10. package/dist/calcite/{p-30ef40e1.js → p-1bd32072.js} +2 -2
  11. package/dist/calcite/{p-ff3474f4.js → p-1cc9ea12.js} +1 -1
  12. package/dist/calcite/{p-7178dcd3.entry.js → p-24a1e4b0.entry.js} +2 -2
  13. package/dist/calcite/{p-ba4c3232.entry.js → p-262720cf.entry.js} +2 -2
  14. package/dist/calcite/{p-6e54b6f1.entry.js → p-2b379de2.entry.js} +2 -2
  15. package/dist/calcite/{p-1d439742.js → p-2b3acbc8.js} +1 -1
  16. package/dist/calcite/{p-b3f6da6b.entry.js → p-2beb10ba.entry.js} +2 -2
  17. package/dist/calcite/{p-e7becc39.js → p-2fbe2c72.js} +2 -2
  18. package/dist/calcite/{p-0e46f6c4.entry.js → p-300b0e74.entry.js} +2 -2
  19. package/dist/calcite/{p-ee7d445c.entry.js → p-3230f94d.entry.js} +2 -2
  20. package/dist/calcite/{p-29af00d6.entry.js → p-33710f7c.entry.js} +2 -2
  21. package/dist/calcite/{p-8c9948a1.entry.js → p-33daacd5.entry.js} +2 -2
  22. package/dist/calcite/{p-98d52cdb.entry.js → p-376ce480.entry.js} +2 -2
  23. package/dist/calcite/{p-a7c33fba.js → p-395e8a96.js} +2 -2
  24. package/dist/calcite/{p-0f3a7fea.entry.js → p-3d90cf7e.entry.js} +2 -2
  25. package/dist/calcite/{p-41a88ded.js → p-41cd4324.js} +1 -1
  26. package/dist/calcite/{p-e110ef0c.js → p-42d77ba5.js} +1 -1
  27. package/dist/calcite/{p-d23f9a48.js → p-456f9366.js} +2 -2
  28. package/dist/calcite/{p-e3a4daa5.js → p-486c4f42.js} +1 -1
  29. package/dist/calcite/{p-14a9ff2d.js → p-4da405bc.js} +1 -1
  30. package/dist/calcite/{p-4459ad18.entry.js → p-4e343b1b.entry.js} +2 -2
  31. package/dist/calcite/{p-7e7db5e0.entry.js → p-4e42d419.entry.js} +2 -2
  32. package/dist/calcite/{p-b717fef4.entry.js → p-4fc3e48c.entry.js} +2 -2
  33. package/dist/calcite/{p-7f8670b5.entry.js → p-55e053ad.entry.js} +2 -2
  34. package/dist/calcite/{p-03692eb4.entry.js → p-56e5d30a.entry.js} +2 -2
  35. package/dist/calcite/{p-6b28f89f.entry.js → p-575d134d.entry.js} +2 -2
  36. package/dist/calcite/{p-87812497.entry.js → p-578a8847.entry.js} +2 -2
  37. package/dist/calcite/{p-03b4a90c.entry.js → p-58375b6e.entry.js} +2 -2
  38. package/dist/calcite/{p-f54d786c.js → p-59a1b266.js} +2 -2
  39. package/dist/calcite/{p-3dd90e41.entry.js → p-59c0c139.entry.js} +2 -2
  40. package/dist/calcite/{p-90e490a8.entry.js → p-5a5ff62d.entry.js} +2 -2
  41. package/dist/calcite/{p-088a36fc.js → p-5a9ea46a.js} +1 -1
  42. package/dist/calcite/{p-9ddf235c.entry.js → p-5d02a7ae.entry.js} +2 -2
  43. package/dist/calcite/{p-6af4bd32.entry.js → p-61853608.entry.js} +2 -2
  44. package/dist/calcite/{p-c43e5fc1.entry.js → p-65fdd691.entry.js} +2 -2
  45. package/dist/calcite/{p-b8c6eef7.entry.js → p-6b4880f7.entry.js} +2 -2
  46. package/dist/calcite/{p-83f60e26.entry.js → p-6eda10b8.entry.js} +2 -2
  47. package/dist/calcite/{p-ce88d255.js → p-72115b6b.js} +1 -1
  48. package/dist/calcite/{p-50c38192.js → p-7262aafe.js} +1 -1
  49. package/dist/calcite/{p-6a3a7ac1.js → p-75387433.js} +2 -2
  50. package/dist/calcite/{p-b23ba5ee.entry.js → p-80286e62.entry.js} +2 -2
  51. package/dist/calcite/{p-7d764aa5.entry.js → p-81fcf4eb.entry.js} +2 -2
  52. package/dist/calcite/{p-170c416b.entry.js → p-859384c8.entry.js} +2 -2
  53. package/dist/calcite/{p-875c01df.js → p-85abf1cb.js} +2 -2
  54. package/dist/calcite/{p-ba346b28.js → p-87539809.js} +2 -2
  55. package/dist/calcite/{p-1beb4b96.js → p-87612240.js} +2 -2
  56. package/dist/calcite/{p-33707365.entry.js → p-891caed0.entry.js} +2 -2
  57. package/dist/calcite/{p-3f5784de.entry.js → p-8a1d5dee.entry.js} +2 -2
  58. package/dist/calcite/{p-36296a46.js → p-96d8a241.js} +1 -1
  59. package/dist/calcite/{p-8c22b4ba.entry.js → p-99c67887.entry.js} +2 -2
  60. package/dist/calcite/{p-25207c45.entry.js → p-9afce1f6.entry.js} +2 -2
  61. package/dist/calcite/{p-1bf6de03.js → p-9cf190dc.js} +2 -2
  62. package/dist/calcite/{p-7c004d7f.entry.js → p-a1ebe617.entry.js} +2 -2
  63. package/dist/calcite/{p-47708aa1.js → p-a385a70f.js} +2 -2
  64. package/dist/calcite/{p-d2539202.js → p-a66fde8e.js} +2 -2
  65. package/dist/calcite/{p-79f57550.js → p-ab7440a3.js} +2 -2
  66. package/dist/calcite/{p-0a44e1a0.entry.js → p-aba5f28e.entry.js} +2 -2
  67. package/dist/calcite/{p-57b1553f.entry.js → p-af322e22.entry.js} +2 -2
  68. package/dist/calcite/{p-614ab3a0.js → p-b0e47557.js} +1 -1
  69. package/dist/calcite/{p-a3202e3b.entry.js → p-b1239f27.entry.js} +2 -2
  70. package/dist/calcite/{p-3b297d55.entry.js → p-b2d38058.entry.js} +2 -2
  71. package/dist/calcite/{p-9c35ac3e.js → p-b368034c.js} +1 -1
  72. package/dist/calcite/{p-c5dae9bd.entry.js → p-b7bffea1.entry.js} +2 -2
  73. package/dist/calcite/p-ba060527.js +6 -0
  74. package/dist/calcite/{p-ce3753b3.entry.js → p-bd0e2ed1.entry.js} +2 -2
  75. package/dist/calcite/{p-fd49ba77.entry.js → p-bd6e6a6b.entry.js} +2 -2
  76. package/dist/calcite/{p-5f5ac1fb.entry.js → p-bdfcf4b8.entry.js} +2 -2
  77. package/dist/calcite/{p-425fdd87.entry.js → p-bf6880e2.entry.js} +2 -2
  78. package/dist/calcite/p-bf6884dd.js +6 -0
  79. package/dist/calcite/{p-082deb6e.entry.js → p-c4f6661a.entry.js} +2 -2
  80. package/dist/calcite/{p-bbe40e60.entry.js → p-c56a5e53.entry.js} +2 -2
  81. package/dist/calcite/{p-be647bb0.entry.js → p-c66cf075.entry.js} +2 -2
  82. package/dist/calcite/{p-96eea750.entry.js → p-ca5bbcf7.entry.js} +2 -2
  83. package/dist/calcite/{p-520e91fe.entry.js → p-cc13e1d7.entry.js} +2 -2
  84. package/dist/calcite/{p-ed75cb7c.entry.js → p-cd66ace2.entry.js} +2 -2
  85. package/dist/calcite/{p-fcf778e7.entry.js → p-d0f563e0.entry.js} +2 -2
  86. package/dist/calcite/{p-4e55e6b9.entry.js → p-d6f96d11.entry.js} +2 -2
  87. package/dist/calcite/{p-3c2cc334.js → p-d7120535.js} +2 -2
  88. package/dist/calcite/{p-39065362.entry.js → p-d76e7921.entry.js} +2 -2
  89. package/dist/calcite/{p-6bf81193.js → p-e0525143.js} +1 -1
  90. package/dist/calcite/{p-868cc943.entry.js → p-ec6f8310.entry.js} +2 -2
  91. package/dist/calcite/{p-7952623e.entry.js → p-ed3acefb.entry.js} +2 -2
  92. package/dist/calcite/{p-c58baaf1.entry.js → p-f4d5ebcc.entry.js} +2 -2
  93. package/dist/calcite/{p-885d36fc.entry.js → p-f705d519.entry.js} +2 -2
  94. package/dist/calcite/{p-93c297c2.entry.js → p-faede651.entry.js} +2 -2
  95. package/dist/cjs/{ExpandToggle-2f1975a8.js → ExpandToggle-f4786b5e.js} +5 -5
  96. package/dist/cjs/{Heading-ab835192.js → Heading-c29b23df.js} +2 -2
  97. package/dist/cjs/{app-globals-1e133316.js → app-globals-125764d1.js} +2 -2
  98. package/dist/cjs/{array-6a64003f.js → array-5f92afe4.js} +1 -1
  99. package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
  100. package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -15
  101. package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
  102. package/dist/cjs/calcite-action-menu.cjs.entry.js +9 -9
  103. package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -14
  104. package/dist/cjs/calcite-action.cjs.entry.js +11 -11
  105. package/dist/cjs/calcite-alert.cjs.entry.js +12 -12
  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 +13 -13
  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 +11 -11
  112. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +14 -14
  113. package/dist/cjs/calcite-combobox_3.cjs.entry.js +18 -18
  114. package/dist/cjs/calcite-date-picker_4.cjs.entry.js +12 -12
  115. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +12 -12
  116. package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
  117. package/dist/cjs/calcite-filter.cjs.entry.js +13 -13
  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 +13 -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 +12 -12
  124. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +16 -16
  125. package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
  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 +13 -13
  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 +12 -12
  136. package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
  137. package/dist/cjs/calcite-pagination.cjs.entry.js +9 -9
  138. package/dist/cjs/calcite-panel.cjs.entry.js +14 -14
  139. package/dist/cjs/calcite-pick-list_3.cjs.entry.js +16 -16
  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 +3 -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 +168 -67
  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 +3 -3
  150. package/dist/cjs/calcite-stepper_2.cjs.entry.js +10 -10
  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 +5 -5
  154. package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
  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 +16 -16
  159. package/dist/cjs/calcite.cjs.js +5 -5
  160. package/dist/cjs/{conditionalSlot-a53d134c.js → conditionalSlot-065a02b4.js} +3 -3
  161. package/dist/cjs/{debounce-693cccee.js → debounce-1ed64f70.js} +1 -1
  162. package/dist/cjs/{dom-2db5c855.js → dom-6fbe7ece.js} +3 -3
  163. package/dist/cjs/{filter-28153bb2.js → filter-f0fb1c4b.js} +2 -2
  164. package/dist/cjs/{floating-ui-e70ae22d.js → floating-ui-4f9b605c.js} +4 -4
  165. package/dist/cjs/{focusTrapComponent-c906f778.js → focusTrapComponent-21e7afab.js} +2 -2
  166. package/dist/cjs/{form-132d25cc.js → form-92343eec.js} +3 -3
  167. package/dist/cjs/{guid-b1c57a9d.js → guid-504b7f27.js} +1 -1
  168. package/dist/cjs/{index-ca650359.js → index-d9b80b7d.js} +1 -1
  169. package/dist/cjs/index.cjs.js +1 -1
  170. package/dist/cjs/{interactive-63d6086f.js → interactive-ddb549b3.js} +1 -1
  171. package/dist/cjs/{key-daca21ec.js → key-b4976030.js} +1 -1
  172. package/dist/cjs/{label-53aedc4b.js → label-2dd814a6.js} +2 -2
  173. package/dist/cjs/{loadable-f17eb8de.js → loadable-a37932e6.js} +1 -1
  174. package/dist/cjs/loader.cjs.js +5 -5
  175. package/dist/cjs/{locale-635fc90b.js → locale-07381711.js} +4 -4
  176. package/dist/cjs/{math-06685661.js → math-1609a588.js} +1 -1
  177. package/dist/cjs/{nonChromiumPlatformUtils-9af29c60.js → nonChromiumPlatformUtils-93dd1ea8.js} +6 -6
  178. package/dist/cjs/{observers-1d66d5a8.js → observers-fbdf9162.js} +1 -1
  179. package/dist/cjs/{openCloseComponent-9efefc2b.js → openCloseComponent-fa52ef36.js} +2 -2
  180. package/dist/cjs/{resources-36d2967b.js → resources-20c56745.js} +1 -1
  181. package/dist/cjs/{resources-f90ea3f5.js → resources-398c5b5c.js} +1 -1
  182. package/dist/cjs/{resources-b73d9c4a.js → resources-61b8733c.js} +1 -1
  183. package/dist/cjs/{resources-82afd1a5.js → resources-91f13649.js} +5 -5
  184. package/dist/cjs/{resources-8087d6d8.js → resources-b4d34bc5.js} +1 -1
  185. package/dist/cjs/{resources-e5ef5941.js → resources-d123496e.js} +1 -1
  186. package/dist/cjs/{sortable.esm-2928f84b.js → sortable.esm-5e092384.js} +1 -1
  187. package/dist/cjs/{t9n-04ab4138.js → t9n-29be16fd.js} +3 -3
  188. package/dist/cjs/{utils-23374f68.js → utils-6659b4fc.js} +3 -3
  189. package/dist/cjs/{utils-f6c8c735.js → utils-d45a7093.js} +1 -1
  190. package/dist/collection/components/accordion/accordion.js +8 -5
  191. package/dist/collection/components/accordion-item/accordion-item.js +1 -1
  192. package/dist/collection/components/accordion-item/resources.js +1 -1
  193. package/dist/collection/components/action/action.js +1 -1
  194. package/dist/collection/components/action/resources.js +1 -1
  195. package/dist/collection/components/action-bar/action-bar.js +1 -1
  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 +1 -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 +1 -1
  203. package/dist/collection/components/action-pad/resources.js +1 -1
  204. package/dist/collection/components/alert/alert.js +1 -1
  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.js +1 -1
  213. package/dist/collection/components/button/resources.js +1 -1
  214. package/dist/collection/components/card/card.js +1 -1
  215. package/dist/collection/components/card/resources.js +1 -1
  216. package/dist/collection/components/checkbox/checkbox.js +1 -1
  217. package/dist/collection/components/chip/chip.js +1 -1
  218. package/dist/collection/components/chip/resources.js +1 -1
  219. package/dist/collection/components/color-picker/color-picker.js +9 -6
  220. package/dist/collection/components/color-picker/resources.js +1 -1
  221. package/dist/collection/components/color-picker/utils.js +1 -1
  222. package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
  223. package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
  224. package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
  225. package/dist/collection/components/color-picker-swatch/resources.js +1 -1
  226. package/dist/collection/components/combobox/combobox.js +1 -1
  227. package/dist/collection/components/combobox/resources.js +1 -1
  228. package/dist/collection/components/combobox/utils.js +1 -1
  229. package/dist/collection/components/combobox-item/combobox-item.js +1 -1
  230. package/dist/collection/components/combobox-item/resources.js +1 -1
  231. package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
  232. package/dist/collection/components/combobox-item-group/resources.js +1 -1
  233. package/dist/collection/components/date-picker/date-picker.js +1 -1
  234. package/dist/collection/components/date-picker/resources.js +1 -1
  235. package/dist/collection/components/date-picker/utils.js +1 -1
  236. package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
  237. package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
  238. package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
  239. package/dist/collection/components/date-picker-month-header/resources.js +1 -1
  240. package/dist/collection/components/dropdown/dropdown.js +1 -1
  241. package/dist/collection/components/dropdown/resources.js +1 -1
  242. package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
  243. package/dist/collection/components/dropdown-group/resources.js +1 -1
  244. package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
  245. package/dist/collection/components/dropdown-item/resources.js +1 -1
  246. package/dist/collection/components/fab/fab.js +1 -1
  247. package/dist/collection/components/fab/resources.js +1 -1
  248. package/dist/collection/components/filter/filter.js +1 -1
  249. package/dist/collection/components/filter/resources.js +1 -1
  250. package/dist/collection/components/flow/flow.js +1 -1
  251. package/dist/collection/components/flow/resources.js +1 -1
  252. package/dist/collection/components/flow-item/flow-item.js +1 -1
  253. package/dist/collection/components/flow-item/resources.js +1 -1
  254. package/dist/collection/components/functional/ExpandToggle.js +1 -1
  255. package/dist/collection/components/functional/Heading.js +1 -1
  256. package/dist/collection/components/graph/graph.js +1 -1
  257. package/dist/collection/components/graph/util.js +1 -1
  258. package/dist/collection/components/handle/handle.js +1 -1
  259. package/dist/collection/components/handle/resources.js +1 -1
  260. package/dist/collection/components/icon/icon.js +1 -1
  261. package/dist/collection/components/icon/resources.js +1 -1
  262. package/dist/collection/components/icon/utils.js +1 -1
  263. package/dist/collection/components/inline-editable/inline-editable.js +1 -1
  264. package/dist/collection/components/inline-editable/resources.js +1 -1
  265. package/dist/collection/components/input/input.js +1 -1
  266. package/dist/collection/components/input/resources.js +1 -1
  267. package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
  268. package/dist/collection/components/input-date-picker/resources.js +1 -1
  269. package/dist/collection/components/input-message/input-message.js +1 -1
  270. package/dist/collection/components/input-message/interfaces.js +1 -1
  271. package/dist/collection/components/input-number/input-number.js +1 -1
  272. package/dist/collection/components/input-number/resources.js +1 -1
  273. package/dist/collection/components/input-text/input-text.js +1 -1
  274. package/dist/collection/components/input-text/resources.js +1 -1
  275. package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
  276. package/dist/collection/components/label/label.js +1 -1
  277. package/dist/collection/components/label/resources.js +1 -1
  278. package/dist/collection/components/link/link.js +1 -1
  279. package/dist/collection/components/list/list.js +1 -1
  280. package/dist/collection/components/list/resources.js +1 -1
  281. package/dist/collection/components/list-item/list-item.js +1 -1
  282. package/dist/collection/components/list-item/resources.js +1 -1
  283. package/dist/collection/components/list-item/utils.js +1 -1
  284. package/dist/collection/components/list-item-group/list-item-group.js +1 -1
  285. package/dist/collection/components/list-item-group/resources.js +1 -1
  286. package/dist/collection/components/loader/loader.js +1 -1
  287. package/dist/collection/components/modal/modal.js +1 -1
  288. package/dist/collection/components/modal/resources.js +1 -1
  289. package/dist/collection/components/notice/notice.js +1 -1
  290. package/dist/collection/components/notice/resources.js +1 -1
  291. package/dist/collection/components/option/option.js +1 -1
  292. package/dist/collection/components/option-group/option-group.js +1 -1
  293. package/dist/collection/components/pagination/pagination.js +1 -1
  294. package/dist/collection/components/pagination/resources.js +1 -1
  295. package/dist/collection/components/panel/panel.js +1 -1
  296. package/dist/collection/components/panel/resources.js +1 -1
  297. package/dist/collection/components/pick-list/pick-list.js +1 -1
  298. package/dist/collection/components/pick-list/resources.js +1 -1
  299. package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
  300. package/dist/collection/components/pick-list/shared-list-render.js +1 -1
  301. package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
  302. package/dist/collection/components/pick-list-group/resources.js +1 -1
  303. package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
  304. package/dist/collection/components/pick-list-item/resources.js +1 -1
  305. package/dist/collection/components/popover/PopoverManager.js +1 -1
  306. package/dist/collection/components/popover/popover.js +1 -1
  307. package/dist/collection/components/popover/resources.js +1 -1
  308. package/dist/collection/components/progress/progress.js +1 -1
  309. package/dist/collection/components/radio-button/radio-button.js +1 -1
  310. package/dist/collection/components/radio-button/resources.js +1 -1
  311. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  312. package/dist/collection/components/radio-group/radio-group.js +8 -5
  313. package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
  314. package/dist/collection/components/radio-group-item/resources.js +1 -1
  315. package/dist/collection/components/rating/function/star.js +11 -0
  316. package/dist/collection/components/{radio-group → rating}/interfaces.js +0 -0
  317. package/dist/collection/components/rating/rating.css +13 -14
  318. package/dist/collection/components/rating/rating.js +259 -169
  319. package/dist/collection/components/resources.js +1 -1
  320. package/dist/collection/components/scrim/resources.js +1 -1
  321. package/dist/collection/components/scrim/scrim.js +1 -1
  322. package/dist/collection/components/select/resources.js +1 -1
  323. package/dist/collection/components/select/select.js +1 -1
  324. package/dist/collection/components/shell/resources.js +1 -1
  325. package/dist/collection/components/shell/shell.js +1 -1
  326. package/dist/collection/components/shell-center-row/resources.js +1 -1
  327. package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
  328. package/dist/collection/components/shell-panel/resources.js +1 -1
  329. package/dist/collection/components/shell-panel/shell-panel.js +1 -1
  330. package/dist/collection/components/slider/resources.js +1 -1
  331. package/dist/collection/components/slider/slider.js +1 -1
  332. package/dist/collection/components/sortable-list/resources.js +1 -1
  333. package/dist/collection/components/sortable-list/sortable-list.js +1 -1
  334. package/dist/collection/components/split-button/resources.js +1 -1
  335. package/dist/collection/components/split-button/split-button.js +1 -1
  336. package/dist/collection/components/stepper/stepper.js +1 -1
  337. package/dist/collection/components/stepper-item/stepper-item.js +1 -1
  338. package/dist/collection/components/switch/switch.js +2 -2
  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 +1 -1
  346. package/dist/collection/components/tile-select/resources.js +1 -1
  347. package/dist/collection/components/tile-select/tile-select.js +1 -1
  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 +1 -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 +1 -1
  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 +1 -1
  397. package/dist/components/action-menu.js +1 -1
  398. package/dist/components/action.js +1 -1
  399. package/dist/components/array.js +1 -1
  400. package/dist/components/button.js +1 -1
  401. package/dist/components/calcite-accordion-item.js +1 -1
  402. package/dist/components/calcite-accordion.js +1 -1
  403. package/dist/components/calcite-action-bar.js +1 -1
  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 +1 -1
  407. package/dist/components/calcite-action.js +1 -1
  408. package/dist/components/calcite-alert.js +1 -1
  409. package/dist/components/calcite-avatar.js +1 -1
  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 +1 -1
  419. package/dist/components/calcite-combobox-item-group.js +1 -1
  420. package/dist/components/calcite-combobox-item.js +1 -1
  421. package/dist/components/calcite-combobox.js +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  437. package/dist/components/calcite-input-date-picker.js +1 -1
  438. package/dist/components/calcite-input-message.js +1 -1
  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 +1 -1
  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 +1 -1
  450. package/dist/components/calcite-notice.js +1 -1
  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 +1 -1
  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 +1 -1
  461. package/dist/components/calcite-radio-button.js +1 -1
  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 +166 -66
  465. package/dist/components/calcite-scrim.js +1 -1
  466. package/dist/components/calcite-select.js +1 -1
  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 +1 -1
  471. package/dist/components/calcite-sortable-list.js +1 -1
  472. package/dist/components/calcite-split-button.js +1 -1
  473. package/dist/components/calcite-stepper-item.js +1 -1
  474. package/dist/components/calcite-stepper.js +1 -1
  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 +1 -1
  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 +1 -1
  490. package/dist/components/calcite-value-list-item.js +1 -1
  491. package/dist/components/calcite-value-list.js +1 -1
  492. package/dist/components/checkbox.js +1 -1
  493. package/dist/components/chip.js +1 -1
  494. package/dist/components/color-picker-hex-input.js +1 -1
  495. package/dist/components/color-picker-swatch.js +1 -1
  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 +1 -1
  501. package/dist/components/date.js +1 -1
  502. package/dist/components/debounce.js +1 -1
  503. package/dist/components/dom.js +1 -1
  504. package/dist/components/dropdown.js +1 -1
  505. package/dist/components/filter.js +1 -1
  506. package/dist/components/filter2.js +1 -1
  507. package/dist/components/floating-ui.js +1 -1
  508. package/dist/components/focusTrapComponent.js +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  538. package/dist/components/sortable.esm.js +1 -1
  539. package/dist/components/switch.js +1 -1
  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 +1 -1
  546. package/dist/components/time-picker.js +1 -1
  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-15065447.js → ExpandToggle-7bd95431.js} +5 -5
  551. package/dist/esm/{Heading-9b5fbace.js → Heading-494a55dd.js} +2 -2
  552. package/dist/esm/{app-globals-04237413.js → app-globals-acca29b6.js} +2 -2
  553. package/dist/esm/{array-5620c9b1.js → array-e666de36.js} +1 -1
  554. package/dist/esm/calcite-accordion_2.entry.js +7 -7
  555. package/dist/esm/calcite-action-bar.entry.js +15 -15
  556. package/dist/esm/calcite-action-group.entry.js +12 -12
  557. package/dist/esm/calcite-action-menu.entry.js +9 -9
  558. package/dist/esm/calcite-action-pad.entry.js +14 -14
  559. package/dist/esm/calcite-action.entry.js +11 -11
  560. package/dist/esm/calcite-alert.entry.js +12 -12
  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 +13 -13
  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 +11 -11
  567. package/dist/esm/calcite-color-picker_3.entry.js +14 -14
  568. package/dist/esm/calcite-combobox_3.entry.js +18 -18
  569. package/dist/esm/calcite-date-picker_4.entry.js +12 -12
  570. package/dist/esm/calcite-dropdown_3.entry.js +12 -12
  571. package/dist/esm/calcite-fab.entry.js +7 -7
  572. package/dist/esm/calcite-filter.entry.js +13 -13
  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 +13 -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 +12 -12
  579. package/dist/esm/calcite-input-date-picker.entry.js +16 -16
  580. package/dist/esm/calcite-input-message.entry.js +5 -5
  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 +13 -13
  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 +12 -12
  591. package/dist/esm/calcite-option_3.entry.js +10 -10
  592. package/dist/esm/calcite-pagination.entry.js +9 -9
  593. package/dist/esm/calcite-panel.entry.js +14 -14
  594. package/dist/esm/calcite-pick-list_3.entry.js +16 -16
  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 +3 -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 +168 -67
  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 +3 -3
  605. package/dist/esm/calcite-stepper_2.entry.js +10 -10
  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 +5 -5
  609. package/dist/esm/calcite-tile.entry.js +8 -8
  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 +16 -16
  614. package/dist/esm/calcite.js +5 -5
  615. package/dist/esm/{conditionalSlot-6b3ef2f2.js → conditionalSlot-b8bdd052.js} +3 -3
  616. package/dist/esm/{debounce-b264a4e1.js → debounce-98073f50.js} +1 -1
  617. package/dist/esm/{dom-de5aecd4.js → dom-d94df9a5.js} +3 -3
  618. package/dist/esm/{filter-9ed111dd.js → filter-ca34d28b.js} +2 -2
  619. package/dist/esm/{floating-ui-f26fc166.js → floating-ui-97c4fec9.js} +4 -4
  620. package/dist/esm/{focusTrapComponent-9000a762.js → focusTrapComponent-7fd24756.js} +2 -2
  621. package/dist/esm/{form-b78dc36a.js → form-ac890af0.js} +3 -3
  622. package/dist/esm/{guid-8f7fe7c8.js → guid-230be676.js} +1 -1
  623. package/dist/esm/{index-060a705f.js → index-5f7cf6ee.js} +1 -1
  624. package/dist/esm/index.js +1 -1
  625. package/dist/esm/{interactive-ae092e9c.js → interactive-c75d1eb9.js} +1 -1
  626. package/dist/esm/{key-5ec4c2bc.js → key-dbd13dac.js} +1 -1
  627. package/dist/esm/{label-80f7ccf8.js → label-197f2352.js} +2 -2
  628. package/dist/esm/{loadable-750111ac.js → loadable-7da1063b.js} +1 -1
  629. package/dist/esm/loader.js +5 -5
  630. package/dist/esm/{locale-e208823a.js → locale-e606392b.js} +4 -4
  631. package/dist/esm/{math-777c49fc.js → math-95335d1b.js} +1 -1
  632. package/dist/esm/{nonChromiumPlatformUtils-fd8e55ff.js → nonChromiumPlatformUtils-a252d3f4.js} +6 -6
  633. package/dist/esm/{observers-5c7edd4c.js → observers-3a4fc545.js} +1 -1
  634. package/dist/esm/{openCloseComponent-094d088c.js → openCloseComponent-50a476fd.js} +2 -2
  635. package/dist/esm/{resources-8414d284.js → resources-6f8b45fa.js} +1 -1
  636. package/dist/esm/{resources-367d3b9d.js → resources-752aeb79.js} +1 -1
  637. package/dist/esm/{resources-3eaa39ad.js → resources-90fbff17.js} +1 -1
  638. package/dist/esm/{resources-75b6a96e.js → resources-b03b6aa5.js} +1 -1
  639. package/dist/esm/{resources-50606976.js → resources-db712a6e.js} +1 -1
  640. package/dist/esm/{resources-ac2d82f7.js → resources-faebb08d.js} +5 -5
  641. package/dist/esm/{sortable.esm-501b5d17.js → sortable.esm-031a6a08.js} +1 -1
  642. package/dist/esm/{t9n-f24b458f.js → t9n-db099d35.js} +3 -3
  643. package/dist/esm/{utils-499a2ba7.js → utils-798690fd.js} +1 -1
  644. package/dist/esm/{utils-ed7335dc.js → utils-ad3257f2.js} +3 -3
  645. package/dist/extras/docs-json.json +14 -28
  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/accordion.d.ts +3 -3
  651. package/dist/types/components/accordion/interfaces.d.ts +0 -1
  652. package/dist/types/components/color-picker/color-picker.d.ts +3 -5
  653. package/dist/types/components/color-picker/interfaces.d.ts +0 -1
  654. package/dist/types/components/interfaces.d.ts +1 -1
  655. package/dist/types/components/radio-group/radio-group.d.ts +2 -3
  656. package/dist/types/components/rating/function/star.d.ts +3 -0
  657. package/dist/types/components/rating/interfaces.d.ts +18 -0
  658. package/dist/types/components/rating/rating.d.ts +42 -31
  659. package/dist/types/components/switch/switch.d.ts +0 -2
  660. package/dist/types/components.d.ts +17 -12
  661. package/hydrate/index.js +166 -65
  662. package/package.json +1 -1
  663. package/dist/calcite/p-3564b9e0.js +0 -6
  664. package/dist/calcite/p-9d604886.entry.js +0 -6
  665. package/dist/calcite/p-c99a1393.js +0 -6
  666. package/dist/types/components/radio-group/interfaces.d.ts +0 -1
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.688
4
+ * v1.0.0-next.689
5
5
  */
6
6
  'use strict';
7
7
 
@@ -28370,39 +28370,116 @@ class RadioGroupItem {
28370
28370
  }; }
28371
28371
  }
28372
28372
 
28373
- const ratingCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-rating: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-rating{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-rating{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-rating{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-rating{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-rating{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-rating:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-rating:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-rating-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-rating-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-rating-h{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-rating-h[disabled] .sc-calcite-rating-s>[calcite-hydrated][disabled],[disabled].sc-calcite-rating-h [calcite-hydrated][disabled].sc-calcite-rating{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-rating-h{block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-rating-h{block-size:2rem;--calcite-rating-spacing-unit:0.5rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-rating-h{block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}/*!@:host([read-only])*/[read-only].sc-calcite-rating-h{pointer-events:none}/*!@.fieldset*/.fieldset.sc-calcite-rating{margin:0px;display:flex;border-width:0px;padding:0px}/*!@.wrapper*/.wrapper.sc-calcite-rating{display:inline-block;margin-inline-end:var(--calcite-rating-spacing-unit)}/*!@.star*/.star.sc-calcite-rating{position:relative;display:flex;cursor:pointer;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-input)}/*!@.focused*/.focused.sc-calcite-rating{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.average,\n.fraction*/.average.sc-calcite-rating,.fraction.sc-calcite-rating{color:var(--calcite-ui-warning)}/*!@.hovered,\n.selected,\n:host([read-only]) .average,\n:host([read-only]) .fraction*/.hovered.sc-calcite-rating,.selected.sc-calcite-rating,[read-only].sc-calcite-rating-h .average.sc-calcite-rating,[read-only].sc-calcite-rating-h .fraction.sc-calcite-rating{color:var(--calcite-ui-brand)}/*!@:host .fraction*/.sc-calcite-rating-h .fraction.sc-calcite-rating{pointer-events:none;position:absolute;inset-block-start:0px;overflow:hidden;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inset-inline-start:0}/*!@calcite-chip*/calcite-chip.sc-calcite-rating{pointer-events:none;cursor:default}/*!@.number--average*/.number--average.sc-calcite-rating{font-weight:var(--calcite-font-weight-bold)}/*!@.number--count*/.number--count.sc-calcite-rating{color:var(--calcite-ui-text-2);font-style:italic}/*!@.number--count:not(:first-child)*/.number--count.sc-calcite-rating:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}/*!@.visually-hidden*/.visually-hidden.sc-calcite-rating{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-rating-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
28373
+ const StarIcon = ({ full, scale, partial }) => (hAsync("calcite-icon", { ...{
28374
+ class: partial ? undefined : "icon",
28375
+ icon: full ? "star-f" : "star",
28376
+ scale
28377
+ } }));
28378
+
28379
+ const ratingCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}/*!@:root*/.sc-calcite-rating: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-rating{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}/*!@.calcite-animate__in*/.calcite-animate__in.sc-calcite-rating{animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-rating{animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-rating{animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-rating{animation-name:in-scale}@media (prefers-reduced-motion: reduce){/*!@:root*/.sc-calcite-rating:root{--calcite-internal-duration-factor:0}}/*!@:root*/.sc-calcite-rating:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}/*!@:host([hidden])*/[hidden].sc-calcite-rating-h{display:none}/*!@:host([disabled])*/[disabled].sc-calcite-rating-h{pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host*/.sc-calcite-rating-h{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}/*!@:host([disabled]) ::slotted([calcite-hydrated][disabled]),\n:host([disabled]) [calcite-hydrated][disabled]*/.sc-calcite-rating-h[disabled] .sc-calcite-rating-s>[calcite-hydrated][disabled],[disabled].sc-calcite-rating-h [calcite-hydrated][disabled].sc-calcite-rating{opacity:1}/*!@:host([scale=s])*/[scale=s].sc-calcite-rating-h{block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}/*!@:host([scale=m])*/[scale=m].sc-calcite-rating-h{block-size:2rem;--calcite-rating-spacing-unit:0.5rem}/*!@:host([scale=l])*/[scale=l].sc-calcite-rating-h{block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}/*!@:host([read-only])*/[read-only].sc-calcite-rating-h{pointer-events:none}/*!@.fieldset*/.fieldset.sc-calcite-rating{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}/*!@.wrapper*/.wrapper.sc-calcite-rating{display:inline-block}/*!@.star*/.star.sc-calcite-rating{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-ui-border-input)}/*!@.focused*/.focused.sc-calcite-rating{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}/*!@.average,\n.fraction*/.average.sc-calcite-rating,.fraction.sc-calcite-rating{color:var(--calcite-ui-warning)}/*!@.hovered,\n.selected*/.hovered.sc-calcite-rating,.selected.sc-calcite-rating{color:var(--calcite-ui-brand)}/*!@.fraction*/.fraction.sc-calcite-rating{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}/*!@calcite-chip*/calcite-chip.sc-calcite-rating{pointer-events:none;cursor:default}/*!@.number--average*/.number--average.sc-calcite-rating{font-weight:bold}/*!@.number--count*/.number--count.sc-calcite-rating{color:var(--calcite-ui-text-2);font-style:italic}/*!@.number--count:not(:first-child)*/.number--count.sc-calcite-rating:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}/*!@.visually-hidden*/.visually-hidden.sc-calcite-rating{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}/*!@::slotted(input[slot=hidden-form-input])*/.sc-calcite-rating-s>input[slot=hidden-form-input]{margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
28374
28380
 
28375
28381
  class Rating {
28376
28382
  constructor(hostRef) {
28377
28383
  registerInstance(this, hostRef);
28378
28384
  this.calciteRatingChange = createEvent(this, "calciteRatingChange", 6);
28379
- this.onKeyboardPressed = (event) => {
28380
- if (!this.required && isActivationKey(event.key)) {
28381
- event.preventDefault();
28382
- this.updateValue(0);
28383
- }
28384
- };
28385
- this.onFocusChange = (selectedRatingValue) => {
28385
+ this.handleRatingPointerOver = () => {
28386
+ this.isKeyboardInteraction = false;
28387
+ };
28388
+ this.handleRatingPointerOut = () => {
28389
+ this.isKeyboardInteraction = true;
28390
+ this.hoverValue = null;
28391
+ this.focusValue = null;
28392
+ this.hasFocus = false;
28393
+ };
28394
+ this.handleRatingFocusIn = () => {
28395
+ const selectedInput = this.value > 0 ? this.value - 1 : 0;
28396
+ const focusInput = this.inputRefs[selectedInput];
28397
+ const focusValue = Number(focusInput.value);
28398
+ focusInput.select();
28399
+ this.focusValue = focusValue;
28400
+ this.hoverValue = focusValue;
28386
28401
  this.hasFocus = true;
28387
- if (!this.required && this.focusValue === selectedRatingValue) {
28388
- this.updateValue(0);
28402
+ };
28403
+ this.handleRatingFocusLeave = () => {
28404
+ this.focusValue = null;
28405
+ this.hoverValue = null;
28406
+ this.hasFocus = false;
28407
+ };
28408
+ this.handleHostKeyDown = () => {
28409
+ this.isKeyboardInteraction = true;
28410
+ };
28411
+ this.handleInputKeyDown = (event) => {
28412
+ const target = event.currentTarget;
28413
+ const inputVal = Number(target.value);
28414
+ const key = event.key;
28415
+ const numberKey = key == " " ? undefined : Number(key);
28416
+ this.emit = true;
28417
+ if (isNaN(numberKey)) {
28418
+ switch (key) {
28419
+ case "Enter":
28420
+ case " ":
28421
+ this.value = !this.required && this.value === inputVal ? 0 : inputVal;
28422
+ break;
28423
+ case "ArrowLeft":
28424
+ this.value = inputVal - 1;
28425
+ break;
28426
+ case "ArrowRight":
28427
+ this.value = inputVal + 1;
28428
+ break;
28429
+ case "Tab":
28430
+ if (this.hasFocus) {
28431
+ this.hasFocus = false;
28432
+ this.focusValue = null;
28433
+ this.hoverValue = null;
28434
+ }
28435
+ }
28389
28436
  }
28390
28437
  else {
28391
- this.focusValue = selectedRatingValue;
28438
+ if (!this.required && numberKey >= 0 && numberKey <= this.max) {
28439
+ this.value = numberKey;
28440
+ }
28441
+ else if (this.required && numberKey > 0 && numberKey <= this.max) {
28442
+ this.value = numberKey;
28443
+ }
28392
28444
  }
28393
28445
  };
28446
+ this.handleInputChange = (event) => {
28447
+ if (this.isKeyboardInteraction === true) {
28448
+ const inputVal = Number(event.target["value"]);
28449
+ this.focusValue = inputVal;
28450
+ this.hoverValue = inputVal;
28451
+ this.value = inputVal;
28452
+ }
28453
+ };
28454
+ this.handleLabelPointerOver = (event) => {
28455
+ const target = event.currentTarget;
28456
+ const newPointerValue = Number(target.firstChild["value"] || 0);
28457
+ this.hoverValue = newPointerValue;
28458
+ this.focusValue = null;
28459
+ };
28460
+ this.handleLabelPointerDown = (event) => {
28461
+ const target = event.currentTarget;
28462
+ const inputVal = Number(target.firstChild["value"] || 0);
28463
+ this.focusValue = null;
28464
+ this.hoverValue = null;
28465
+ this.emit = true;
28466
+ this.value = !this.required && this.value === inputVal ? 0 : inputVal;
28467
+ };
28468
+ this.emit = false;
28394
28469
  this.guid = `calcite-ratings-${guid()}`;
28395
- this.scale = "m";
28396
- this.value = 0;
28397
- this.readOnly = false;
28398
- this.disabled = false;
28399
- this.showChip = false;
28400
- this.count = undefined;
28470
+ this.isKeyboardInteraction = true;
28471
+ this.max = 5;
28401
28472
  this.average = undefined;
28402
- this.name = undefined;
28473
+ this.count = undefined;
28474
+ this.disabled = false;
28403
28475
  this.messages = undefined;
28404
28476
  this.messageOverrides = undefined;
28477
+ this.name = undefined;
28478
+ this.readOnly = false;
28405
28479
  this.required = false;
28480
+ this.scale = "m";
28481
+ this.showChip = false;
28482
+ this.value = 0;
28406
28483
  this.effectiveLocale = "";
28407
28484
  this.defaultMessages = undefined;
28408
28485
  this.hoverValue = undefined;
@@ -28412,6 +28489,17 @@ class Rating {
28412
28489
  onMessagesChange() {
28413
28490
  /* wired up by t9n util */
28414
28491
  }
28492
+ handleValueUpdate(newValue) {
28493
+ this.hoverValue = newValue;
28494
+ this.focusValue = newValue;
28495
+ if (this.emit) {
28496
+ this.calciteRatingChange.emit();
28497
+ }
28498
+ this.emit = false;
28499
+ }
28500
+ effectiveLocaleChange() {
28501
+ updateMessages(this, this.effectiveLocale);
28502
+ }
28415
28503
  //--------------------------------------------------------------------------
28416
28504
  //
28417
28505
  // Lifecycle
@@ -28426,6 +28514,41 @@ class Rating {
28426
28514
  async componentWillLoad() {
28427
28515
  await setUpMessages(this);
28428
28516
  setUpLoadableComponent(this);
28517
+ this.inputRefs = Array(this.max);
28518
+ }
28519
+ componentWillRender() {
28520
+ this.starsMap = Array.from({ length: this.max }, (_, i) => {
28521
+ const value = i + 1;
28522
+ const average = !this.focusValue &&
28523
+ !this.hoverValue &&
28524
+ this.average &&
28525
+ !this.value &&
28526
+ value <= this.average;
28527
+ const checked = value === this.value;
28528
+ const focused = this.isKeyboardInteraction && this.hasFocus && this.focusValue === value;
28529
+ const fraction = this.average && this.average + 1 - value;
28530
+ const hovered = value <= this.hoverValue;
28531
+ const id = `${this.guid}-${value}`;
28532
+ const partial = !this.focusValue &&
28533
+ !this.hoverValue &&
28534
+ !this.value &&
28535
+ !hovered &&
28536
+ fraction > 0 &&
28537
+ fraction < 1;
28538
+ const selected = this.value >= value;
28539
+ return {
28540
+ average,
28541
+ checked,
28542
+ focused,
28543
+ fraction,
28544
+ hovered,
28545
+ id,
28546
+ idx: i,
28547
+ partial,
28548
+ selected,
28549
+ value
28550
+ };
28551
+ });
28429
28552
  }
28430
28553
  componentDidLoad() {
28431
28554
  setComponentLoaded(this);
@@ -28439,37 +28562,21 @@ class Rating {
28439
28562
  componentDidRender() {
28440
28563
  updateHostInteraction(this);
28441
28564
  }
28442
- //--------------------------------------------------------------------------
28443
- //
28444
- // Event Listeners
28445
- //
28446
- //--------------------------------------------------------------------------
28447
- blurHandler() {
28448
- this.hasFocus = false;
28449
- }
28450
- // --------------------------------------------------------------------------
28451
- //
28452
- // Render Methods
28453
- //
28454
- // --------------------------------------------------------------------------
28455
- renderStars() {
28456
- return [1, 2, 3, 4, 5].map((i) => {
28457
- const selected = this.value >= i;
28458
- const average = this.average && !this.value && i <= this.average;
28459
- const hovered = i <= this.hoverValue;
28460
- const fraction = this.average && this.average + 1 - i;
28461
- const partial = !this.value && !hovered && fraction > 0 && fraction < 1;
28462
- const focused = this.hasFocus && this.focusValue === i;
28463
- return (hAsync("span", { class: { wrapper: true } }, hAsync("label", { class: { star: true, focused, selected, average, hovered, partial }, htmlFor: `${this.guid}-${i}`, onPointerOver: () => {
28464
- this.hoverValue = i;
28465
- } }, hAsync("calcite-icon", { "aria-hidden": "true", class: "icon", icon: selected || average || this.readOnly ? "star-f" : "star", scale: this.scale }), partial && (hAsync("div", { class: "fraction", style: { width: `${fraction * 100}%` } }, hAsync("calcite-icon", { icon: "star-f", scale: this.scale }))), hAsync("span", { class: "visually-hidden" }, this.messages.stars.replace("${num}", `${i}`))), hAsync("input", { checked: i === this.value, class: "visually-hidden", disabled: this.disabled || this.readOnly, id: `${this.guid}-${i}`, name: this.guid, onChange: () => this.updateValue(i), onClick: (event) =>
28466
- // click is fired from the component's label, so we treat this as an internal event
28467
- event.stopPropagation(), onFocus: () => this.onFocusChange(i), onKeyDown: this.onKeyboardPressed, ref: (el) => (i === 1 || i === this.value) && (this.inputFocusRef = el), type: "radio", value: i })));
28468
- });
28469
- }
28470
28565
  render() {
28471
- const { disabled, messages, showChip, scale, count, average } = this;
28472
- return (hAsync(Fragment, null, hAsync("fieldset", { class: "fieldset", disabled: disabled, onBlur: () => (this.hoverValue = null), onPointerLeave: () => (this.hoverValue = null), onTouchEnd: () => (this.hoverValue = null) }, hAsync("legend", { class: "visually-hidden" }, messages.rating), this.renderStars()), (count || average) && showChip ? (hAsync("calcite-chip", { scale: scale, value: count?.toString() }, !!average && hAsync("span", { class: "number--average" }, average.toString()), !!count && hAsync("span", { class: "number--count" }, "(", count?.toString(), ")"))) : null, hAsync(HiddenFormInputSlot, { component: this })));
28566
+ return (hAsync(Host, { onBlur: this.handleRatingFocusLeave, onFocus: this.handleRatingFocusIn, onKeyDown: this.handleHostKeyDown, onPointerOut: this.handleRatingPointerOut, onPointerOver: this.handleRatingPointerOver }, hAsync("span", { class: "wrapper" }, hAsync("fieldset", { class: "fieldset", disabled: this.disabled }, hAsync("legend", { class: "visually-hidden" }, this.messages.rating), this.starsMap.map(({ average, checked, focused, fraction, hovered, id, idx, partial, selected, value }) => {
28567
+ return (hAsync("label", { class: {
28568
+ star: true,
28569
+ focused,
28570
+ selected,
28571
+ hovered,
28572
+ average,
28573
+ partial
28574
+ }, htmlFor: id, onPointerDown: this.handleLabelPointerDown, onPointerOver: this.handleLabelPointerOver }, hAsync("input", { checked: checked, class: "visually-hidden", disabled: this.disabled || this.readOnly, id: id, name: this.guid, onChange: this.handleInputChange, onKeyDown: this.handleInputKeyDown, ref: (el) => {
28575
+ this.inputRefs[idx] = el;
28576
+ return ((value === 1 || value === this.value) &&
28577
+ (this.inputFocusRef = el));
28578
+ }, type: "radio", value: value }), hAsync(StarIcon, { full: selected || average, scale: this.scale }), partial && (hAsync("div", { class: "fraction", style: { width: `${fraction * 100}%` } }, hAsync(StarIcon, { full: true, partial: true, scale: this.scale }))), hAsync("span", { class: "visually-hidden" }, this.messages.stars.replace("${num}", `${value}`))));
28579
+ }), (this.count || this.average) && this.showChip ? (hAsync("calcite-chip", { scale: this.scale, value: this.count?.toString() }, !!this.average && hAsync("span", { class: "number--average" }, this.average.toString()), !!this.count && hAsync("span", { class: "number--count" }, "(", this.count?.toString(), ")"))) : null), hAsync(HiddenFormInputSlot, { component: this }))));
28473
28580
  }
28474
28581
  //--------------------------------------------------------------------------
28475
28582
  //
@@ -28479,10 +28586,6 @@ class Rating {
28479
28586
  onLabelClick() {
28480
28587
  this.setFocus();
28481
28588
  }
28482
- updateValue(value) {
28483
- this.value = value;
28484
- this.calciteRatingChange.emit();
28485
- }
28486
28589
  //--------------------------------------------------------------------------
28487
28590
  //
28488
28591
  // Public Methods
@@ -28493,13 +28596,11 @@ class Rating {
28493
28596
  await componentLoaded(this);
28494
28597
  this.inputFocusRef?.focus();
28495
28598
  }
28496
- effectiveLocaleChange() {
28497
- updateMessages(this, this.effectiveLocale);
28498
- }
28499
28599
  static get assetsDirs() { return ["assets"]; }
28500
28600
  get el() { return getElement(this); }
28501
28601
  static get watchers() { return {
28502
28602
  "messageOverrides": ["onMessagesChange"],
28603
+ "value": ["handleValueUpdate"],
28503
28604
  "effectiveLocale": ["effectiveLocaleChange"]
28504
28605
  }; }
28505
28606
  static get style() { return ratingCss; }
@@ -28507,17 +28608,17 @@ class Rating {
28507
28608
  "$flags$": 9,
28508
28609
  "$tagName$": "calcite-rating",
28509
28610
  "$members$": {
28510
- "scale": [513],
28511
- "value": [1538],
28512
- "readOnly": [516, "read-only"],
28513
- "disabled": [516],
28514
- "showChip": [516, "show-chip"],
28515
- "count": [514],
28516
28611
  "average": [514],
28517
- "name": [513],
28612
+ "count": [514],
28613
+ "disabled": [516],
28518
28614
  "messages": [1040],
28519
28615
  "messageOverrides": [1040],
28616
+ "name": [513],
28617
+ "readOnly": [516, "read-only"],
28520
28618
  "required": [516],
28619
+ "scale": [513],
28620
+ "showChip": [516, "show-chip"],
28621
+ "value": [1538],
28521
28622
  "effectiveLocale": [32],
28522
28623
  "defaultMessages": [32],
28523
28624
  "hoverValue": [32],
@@ -28525,9 +28626,9 @@ class Rating {
28525
28626
  "hasFocus": [32],
28526
28627
  "setFocus": [64]
28527
28628
  },
28528
- "$listeners$": [[0, "blur", "blurHandler"]],
28629
+ "$listeners$": undefined,
28529
28630
  "$lazyBundleId$": "-",
28530
- "$attrsToReflect$": [["scale", "scale"], ["value", "value"], ["readOnly", "read-only"], ["disabled", "disabled"], ["showChip", "show-chip"], ["count", "count"], ["average", "average"], ["name", "name"], ["required", "required"]]
28631
+ "$attrsToReflect$": [["average", "average"], ["count", "count"], ["disabled", "disabled"], ["name", "name"], ["readOnly", "read-only"], ["required", "required"], ["scale", "scale"], ["showChip", "show-chip"], ["value", "value"]]
28531
28632
  }; }
28532
28633
  }
28533
28634
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "1.0.0-next.688",
3
+ "version": "1.0.0-next.689",
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.688
5
- */
6
- import{h as t}from"./p-6bf81193.js";function r(t){return Math.min(Math.max(Math.ceil(t),1),6)}const e=(r,e)=>{const n=r.level?`h${r.level}`:"div";return delete r.level,t(n,{...r},e)};export{e as H,r as c}
@@ -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.688
5
- */
6
- import{r as i,c as t,h as a,F as e,g as n}from"./p-6bf81193.js";import{g as s}from"./p-e110ef0c.js";import{c as o,d as c}from"./p-3c2cc334.js";import{c as r,d as l,H as d}from"./p-ba346b28.js";import{u as h}from"./p-614ab3a0.js";import{i as p}from"./p-50c38192.js";import{c as m,d as u}from"./p-47708aa1.js";import{c as f,s as g,d as v,u as b}from"./p-e7becc39.js";import{s as y,a as w,c as x}from"./p-8baf2174.js";import"./p-d23f9a48.js";import"./p-1d439742.js";import"./p-ff3474f4.js";const k=class{constructor(a){i(this,a),this.calciteRatingChange=t(this,"calciteRatingChange",6),this.onKeyboardPressed=i=>{!this.required&&p(i.key)&&(i.preventDefault(),this.updateValue(0))},this.onFocusChange=i=>{this.hasFocus=!0,this.required||this.focusValue!==i?this.focusValue=i:this.updateValue(0)},this.guid=`calcite-ratings-${s()}`,this.scale="m",this.value=0,this.readOnly=!1,this.disabled=!1,this.showChip=!1,this.count=void 0,this.average=void 0,this.name=void 0,this.messages=void 0,this.messageOverrides=void 0,this.required=!1,this.effectiveLocale="",this.defaultMessages=void 0,this.hoverValue=void 0,this.focusValue=void 0,this.hasFocus=void 0}onMessagesChange(){}connectedCallback(){m(this),f(this),o(this),r(this)}async componentWillLoad(){await g(this),y(this)}componentDidLoad(){w(this)}disconnectedCallback(){u(this),v(this),c(this),l(this)}componentDidRender(){h(this)}blurHandler(){this.hasFocus=!1}renderStars(){return[1,2,3,4,5].map((i=>{const t=this.value>=i,e=this.average&&!this.value&&i<=this.average,n=i<=this.hoverValue,s=this.average&&this.average+1-i,o=!this.value&&!n&&s>0&&s<1;return a("span",{class:{wrapper:!0}},a("label",{class:{star:!0,focused:this.hasFocus&&this.focusValue===i,selected:t,average:e,hovered:n,partial:o},htmlFor:`${this.guid}-${i}`,onPointerOver:()=>{this.hoverValue=i}},a("calcite-icon",{"aria-hidden":"true",class:"icon",icon:t||e||this.readOnly?"star-f":"star",scale:this.scale}),o&&a("div",{class:"fraction",style:{width:100*s+"%"}},a("calcite-icon",{icon:"star-f",scale:this.scale})),a("span",{class:"visually-hidden"},this.messages.stars.replace("${num}",`${i}`))),a("input",{checked:i===this.value,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:`${this.guid}-${i}`,name:this.guid,onChange:()=>this.updateValue(i),onClick:i=>i.stopPropagation(),onFocus:()=>this.onFocusChange(i),onKeyDown:this.onKeyboardPressed,ref:t=>(1===i||i===this.value)&&(this.inputFocusRef=t),type:"radio",value:i}))}))}render(){const{disabled:i,messages:t,showChip:n,scale:s,count:o,average:c}=this;return a(e,null,a("fieldset",{class:"fieldset",disabled:i,onBlur:()=>this.hoverValue=null,onPointerLeave:()=>this.hoverValue=null,onTouchEnd:()=>this.hoverValue=null},a("legend",{class:"visually-hidden"},t.rating),this.renderStars()),(o||c)&&n?a("calcite-chip",{scale:s,value:o?.toString()},!!c&&a("span",{class:"number--average"},c.toString()),!!o&&a("span",{class:"number--count"},"(",o?.toString(),")")):null,a(d,{component:this}))}onLabelClick(){this.setFocus()}updateValue(i){this.value=i,this.calciteRatingChange.emit()}async setFocus(){await x(this),this.inputFocusRef?.focus()}effectiveLocaleChange(){b(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};k.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity: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;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:600}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}:host([read-only]){pointer-events:none}.fieldset{margin:0px;display:flex;border-width:0px;padding:0px}.wrapper{display:inline-block;margin-inline-end:var(--calcite-rating-spacing-unit)}.star{position:relative;display:flex;cursor:pointer;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-input)}.focused{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected,:host([read-only]) .average,:host([read-only]) .fraction{color:var(--calcite-ui-brand)}:host .fraction{pointer-events:none;position:absolute;inset-block-start:0px;overflow:hidden;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:var(--calcite-font-weight-bold)}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";export{k as calcite_rating}
@@ -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.688
5
- */
6
- import{f as t}from"./p-6bf81193.js";import{c as o}from"./p-ff3474f4.js";const f=new Set;let n;const s={childList:!0};function c(t){n||(n=o("mutation",r)),n.observe(t.el,s)}function i(t){f.delete(t.el),r(n.takeRecords()),n.disconnect();for(const[t]of f.entries())n.observe(t,s)}function r(o){o.forEach((({target:o})=>{t(o)}))}export{c,i as d}
@@ -1 +0,0 @@
1
- export declare type RadioAppearance = "solid" | "outline";