@ongov/ontario-design-system-component-library 5.0.0 → 6.0.0-alpha.2

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 (1193) hide show
  1. package/dist/cjs/{index-DeXrJ2qJ.js → index-D8WnzEKE.js} +5 -3
  2. package/dist/cjs/index-D8WnzEKE.js.map +1 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/ontario-accordion_46.cjs.entry.js +21 -21
  5. package/dist/cjs/ontario-accordion_46.cjs.entry.js.map +1 -1
  6. package/dist/cjs/ontario-design-system-components.cjs.js +1 -1
  7. package/dist/cjs/ontario-icon-account.cjs.entry.js +1 -1
  8. package/dist/cjs/ontario-icon-add-alt.cjs.entry.js +1 -1
  9. package/dist/cjs/ontario-icon-add.cjs.entry.js +1 -1
  10. package/dist/cjs/ontario-icon-arrow-up.cjs.entry.js +1 -1
  11. package/dist/cjs/ontario-icon-attach.cjs.entry.js +1 -1
  12. package/dist/cjs/ontario-icon-bookmark-off.cjs.entry.js +1 -1
  13. package/dist/cjs/ontario-icon-bookmark-on.cjs.entry.js +1 -1
  14. package/dist/cjs/ontario-icon-calendar.cjs.entry.js +1 -1
  15. package/dist/cjs/ontario-icon-chevron-right.cjs.entry.js +1 -1
  16. package/dist/cjs/ontario-icon-clock.cjs.entry.js +1 -1
  17. package/dist/cjs/ontario-icon-close-header.cjs.entry.js +1 -1
  18. package/dist/cjs/ontario-icon-close.cjs.entry.js +1 -1
  19. package/dist/cjs/ontario-icon-cloud.cjs.entry.js +1 -1
  20. package/dist/cjs/ontario-icon-collapse.cjs.entry.js +1 -1
  21. package/dist/cjs/ontario-icon-credit-card.cjs.entry.js +1 -1
  22. package/dist/cjs/ontario-icon-critical-alert-warning.cjs.entry.js +1 -1
  23. package/dist/cjs/ontario-icon-delete.cjs.entry.js +1 -1
  24. package/dist/cjs/ontario-icon-document.cjs.entry.js +1 -1
  25. package/dist/cjs/ontario-icon-download.cjs.entry.js +1 -1
  26. package/dist/cjs/ontario-icon-dropdown-arrow.cjs.entry.js +1 -1
  27. package/dist/cjs/ontario-icon-edit.cjs.entry.js +1 -1
  28. package/dist/cjs/ontario-icon-expand.cjs.entry.js +1 -1
  29. package/dist/cjs/ontario-icon-export.cjs.entry.js +1 -1
  30. package/dist/cjs/ontario-icon-facebook-alt.cjs.entry.js +1 -1
  31. package/dist/cjs/ontario-icon-facebook.cjs.entry.js +1 -1
  32. package/dist/cjs/ontario-icon-favourite-off.cjs.entry.js +1 -1
  33. package/dist/cjs/ontario-icon-favourite-on.cjs.entry.js +1 -1
  34. package/dist/cjs/ontario-icon-filter.cjs.entry.js +1 -1
  35. package/dist/cjs/ontario-icon-flickr.cjs.entry.js +1 -1
  36. package/dist/cjs/ontario-icon-grid.cjs.entry.js +1 -1
  37. package/dist/cjs/ontario-icon-instagram.cjs.entry.js +1 -1
  38. package/dist/cjs/ontario-icon-interac-en-alt.cjs.entry.js +1 -1
  39. package/dist/cjs/ontario-icon-interac-en.cjs.entry.js +1 -1
  40. package/dist/cjs/ontario-icon-interac-fr-alt.cjs.entry.js +1 -1
  41. package/dist/cjs/ontario-icon-interac-fr.cjs.entry.js +1 -1
  42. package/dist/cjs/ontario-icon-linkedin-alt.cjs.entry.js +1 -1
  43. package/dist/cjs/ontario-icon-linkedin.cjs.entry.js +1 -1
  44. package/dist/cjs/ontario-icon-list.cjs.entry.js +1 -1
  45. package/dist/cjs/ontario-icon-live-chat.cjs.entry.js +1 -1
  46. package/dist/cjs/ontario-icon-location-off.cjs.entry.js +1 -1
  47. package/dist/cjs/ontario-icon-location-on.cjs.entry.js +1 -1
  48. package/dist/cjs/ontario-icon-lock-off.cjs.entry.js +1 -1
  49. package/dist/cjs/ontario-icon-lock-on.cjs.entry.js +1 -1
  50. package/dist/cjs/ontario-icon-map.cjs.entry.js +1 -1
  51. package/dist/cjs/ontario-icon-mastercard-alt.cjs.entry.js +1 -1
  52. package/dist/cjs/ontario-icon-media-fast-forward.cjs.entry.js +1 -1
  53. package/dist/cjs/ontario-icon-media-fast-rewind.cjs.entry.js +1 -1
  54. package/dist/cjs/ontario-icon-media-pause.cjs.entry.js +1 -1
  55. package/dist/cjs/ontario-icon-media-play.cjs.entry.js +1 -1
  56. package/dist/cjs/ontario-icon-media-stop.cjs.entry.js +1 -1
  57. package/dist/cjs/ontario-icon-menu-header.cjs.entry.js +1 -1
  58. package/dist/cjs/ontario-icon-menu.cjs.entry.js +1 -1
  59. package/dist/cjs/ontario-icon-microphone-off.cjs.entry.js +1 -1
  60. package/dist/cjs/ontario-icon-microphone-on.cjs.entry.js +1 -1
  61. package/dist/cjs/ontario-icon-more-vertical.cjs.entry.js +1 -1
  62. package/dist/cjs/ontario-icon-new-window.cjs.entry.js +1 -1
  63. package/dist/cjs/ontario-icon-next.cjs.entry.js +1 -1
  64. package/dist/cjs/ontario-icon-password-hide.cjs.entry.js +1 -1
  65. package/dist/cjs/ontario-icon-password-show.cjs.entry.js +1 -1
  66. package/dist/cjs/ontario-icon-phone.cjs.entry.js +1 -1
  67. package/dist/cjs/ontario-icon-photo.cjs.entry.js +1 -1
  68. package/dist/cjs/ontario-icon-pin-location-off.cjs.entry.js +1 -1
  69. package/dist/cjs/ontario-icon-pin-location-on.cjs.entry.js +1 -1
  70. package/dist/cjs/ontario-icon-previous.cjs.entry.js +1 -1
  71. package/dist/cjs/ontario-icon-remove-alt.cjs.entry.js +1 -1
  72. package/dist/cjs/ontario-icon-remove.cjs.entry.js +1 -1
  73. package/dist/cjs/ontario-icon-replay.cjs.entry.js +1 -1
  74. package/dist/cjs/ontario-icon-rss-feed.cjs.entry.js +1 -1
  75. package/dist/cjs/ontario-icon-save.cjs.entry.js +1 -1
  76. package/dist/cjs/ontario-icon-search-white.cjs.entry.js +1 -1
  77. package/dist/cjs/ontario-icon-search.cjs.entry.js +1 -1
  78. package/dist/cjs/ontario-icon-sentiment-1.cjs.entry.js +1 -1
  79. package/dist/cjs/ontario-icon-sentiment-2.cjs.entry.js +1 -1
  80. package/dist/cjs/ontario-icon-sentiment-3.cjs.entry.js +1 -1
  81. package/dist/cjs/ontario-icon-sentiment-4.cjs.entry.js +1 -1
  82. package/dist/cjs/ontario-icon-settings.cjs.entry.js +1 -1
  83. package/dist/cjs/ontario-icon-share.cjs.entry.js +1 -1
  84. package/dist/cjs/ontario-icon-sort.cjs.entry.js +1 -1
  85. package/dist/cjs/ontario-icon-tag.cjs.entry.js +1 -1
  86. package/dist/cjs/ontario-icon-timer.cjs.entry.js +1 -1
  87. package/dist/cjs/ontario-icon-transport-bicycle.cjs.entry.js +1 -1
  88. package/dist/cjs/ontario-icon-transport-car.cjs.entry.js +1 -1
  89. package/dist/cjs/ontario-icon-transport-walk.cjs.entry.js +1 -1
  90. package/dist/cjs/ontario-icon-tty.cjs.entry.js +1 -1
  91. package/dist/cjs/ontario-icon-twitter-alt.cjs.entry.js +1 -1
  92. package/dist/cjs/ontario-icon-twitter.cjs.entry.js +1 -1
  93. package/dist/cjs/ontario-icon-upload.cjs.entry.js +1 -1
  94. package/dist/cjs/ontario-icon-video.cjs.entry.js +1 -1
  95. package/dist/cjs/ontario-icon-visa.cjs.entry.js +1 -1
  96. package/dist/cjs/ontario-icon-vote-dislike.cjs.entry.js +1 -1
  97. package/dist/cjs/ontario-icon-vote-like.cjs.entry.js +1 -1
  98. package/dist/cjs/ontario-icon-vpn-key.cjs.entry.js +1 -1
  99. package/dist/cjs/ontario-icon-wheelchair.cjs.entry.js +1 -1
  100. package/dist/cjs/ontario-icon-wifi.cjs.entry.js +1 -1
  101. package/dist/cjs/ontario-icon-youtube.cjs.entry.js +1 -1
  102. package/dist/collection/components/ontario-accordion/ontario-accordion.css +1 -1
  103. package/dist/collection/components/ontario-aside/ontario-aside.css +1 -1
  104. package/dist/collection/components/ontario-badge/ontario-badge.css +1 -1
  105. package/dist/collection/components/ontario-blockquote/ontario-blockquote.css +1 -1
  106. package/dist/collection/components/ontario-callout/ontario-callout.css +1 -1
  107. package/dist/collection/components/ontario-card/ontario-card.css +1 -1
  108. package/dist/collection/components/ontario-checkbox/ontario-checkboxes.css +2 -2
  109. package/dist/collection/components/ontario-date-input/ontario-date-input.css +3 -3
  110. package/dist/collection/components/ontario-dropdown-list/ontario-dropdown-list.css +3 -3
  111. package/dist/collection/components/ontario-fieldset/ontario-fieldset.css +2 -2
  112. package/dist/collection/components/ontario-footer/ontario-footer.css +1 -1
  113. package/dist/collection/components/ontario-header/ontario-application-header.css +1 -1
  114. package/dist/collection/components/ontario-header/service-ontario-header.css +1 -1
  115. package/dist/collection/components/ontario-input/ontario-input.css +3 -3
  116. package/dist/collection/components/ontario-loading-indicator/ontario-loading-indicator.css +1 -1
  117. package/dist/collection/components/ontario-page-alert/ontario-page-alert.css +1 -1
  118. package/dist/collection/components/ontario-radio-buttons/ontario-radio-buttons.css +3 -3
  119. package/dist/collection/components/ontario-search-box/ontario-search-box.css +3 -3
  120. package/dist/collection/components/ontario-step-indicator/ontario-step-indicator.css +1 -1
  121. package/dist/collection/components/ontario-textarea/ontario-textarea.css +3 -3
  122. package/dist/collection/fonts/courier-prime-400/courier-prime-400.otf +0 -0
  123. package/dist/collection/fonts/courier-prime-400/courier-prime-400.woff2 +0 -0
  124. package/dist/collection/fonts/courier-prime-400--italic/courier-prime-400--italic.otf +0 -0
  125. package/dist/collection/fonts/courier-prime-400--italic/courier-prime-400--italic.woff2 +0 -0
  126. package/dist/collection/fonts/courier-prime-700/courier-prime-700.otf +0 -0
  127. package/dist/collection/fonts/courier-prime-700/courier-prime-700.woff2 +0 -0
  128. package/dist/collection/fonts/courier-prime-700--italic/courier-prime-700--italic.otf +0 -0
  129. package/dist/collection/fonts/courier-prime-700--italic/courier-prime-700--italic.woff2 +0 -0
  130. package/dist/{ontario-design-system-components/fonts → collection/fonts/license}/OFL.txt +2 -2
  131. package/dist/collection/fonts/open-sans-300/open-sans-300.otf +0 -0
  132. package/dist/collection/fonts/open-sans-300/open-sans-300.woff2 +0 -0
  133. package/dist/collection/fonts/open-sans-300--italic/open-sans-300--italic.otf +0 -0
  134. package/dist/collection/fonts/open-sans-300--italic/open-sans-300--italic.woff2 +0 -0
  135. package/dist/collection/fonts/open-sans-400/open-sans-400.otf +0 -0
  136. package/dist/collection/fonts/open-sans-400/open-sans-400.woff2 +0 -0
  137. package/dist/collection/fonts/open-sans-400--italic/open-sans-400--italic.otf +0 -0
  138. package/dist/collection/fonts/open-sans-400--italic/open-sans-400--italic.woff2 +0 -0
  139. package/dist/collection/fonts/open-sans-500/open-sans-500.otf +0 -0
  140. package/dist/collection/fonts/open-sans-500/open-sans-500.ttf +0 -0
  141. package/dist/collection/fonts/open-sans-500/open-sans-500.woff2 +0 -0
  142. package/dist/collection/fonts/open-sans-500--italic/open-sans-500--italic.otf +0 -0
  143. package/dist/collection/fonts/open-sans-500--italic/open-sans-500--italic.ttf +0 -0
  144. package/dist/collection/fonts/open-sans-500--italic/open-sans-500--italic.woff2 +0 -0
  145. package/dist/collection/fonts/open-sans-600/open-sans-600.otf +0 -0
  146. package/dist/collection/fonts/open-sans-600/open-sans-600.woff2 +0 -0
  147. package/dist/collection/fonts/open-sans-600--italic/open-sans-600--italic.otf +0 -0
  148. package/dist/collection/fonts/open-sans-600--italic/open-sans-600--italic.woff2 +0 -0
  149. package/dist/collection/fonts/open-sans-700/open-sans-700.otf +0 -0
  150. package/dist/collection/fonts/open-sans-700/open-sans-700.woff2 +0 -0
  151. package/dist/collection/fonts/open-sans-700--italic/open-sans-700--italic.otf +0 -0
  152. package/dist/collection/fonts/open-sans-700--italic/open-sans-700--italic.woff2 +0 -0
  153. package/dist/collection/fonts/open-sans-800/open-sans-800.otf +0 -0
  154. package/dist/collection/fonts/open-sans-800/open-sans-800.ttf +0 -0
  155. package/dist/collection/fonts/open-sans-800/open-sans-800.woff2 +0 -0
  156. package/dist/collection/fonts/open-sans-800--italic/open-sans-800--italic.otf +0 -0
  157. package/dist/collection/fonts/open-sans-800--italic/open-sans-800--italic.ttf +0 -0
  158. package/dist/collection/fonts/open-sans-800--italic/open-sans-800--italic.woff2 +0 -0
  159. package/dist/collection/fonts/raleway-modified-100/raleway-modified-100.otf +0 -0
  160. package/dist/collection/fonts/raleway-modified-100/raleway-modified-100.ttf +0 -0
  161. package/dist/collection/fonts/raleway-modified-100/raleway-modified-100.woff2 +0 -0
  162. package/dist/collection/fonts/raleway-modified-100--italic/raleway-modified-100--italic.otf +0 -0
  163. package/dist/collection/fonts/raleway-modified-100--italic/raleway-modified-100--italic.ttf +0 -0
  164. package/dist/collection/fonts/raleway-modified-100--italic/raleway-modified-100--italic.woff2 +0 -0
  165. package/dist/collection/fonts/raleway-modified-200/raleway-modified-200.otf +0 -0
  166. package/dist/collection/fonts/raleway-modified-200/raleway-modified-200.ttf +0 -0
  167. package/dist/collection/fonts/raleway-modified-200/raleway-modified-200.woff2 +0 -0
  168. package/dist/collection/fonts/raleway-modified-200--italic/raleway-modified-200--italic.otf +0 -0
  169. package/dist/collection/fonts/raleway-modified-200--italic/raleway-modified-200--italic.ttf +0 -0
  170. package/dist/collection/fonts/raleway-modified-200--italic/raleway-modified-200--italic.woff2 +0 -0
  171. package/dist/collection/fonts/raleway-modified-300/raleway-modified-300.otf +0 -0
  172. package/dist/collection/fonts/raleway-modified-300/raleway-modified-300.ttf +0 -0
  173. package/dist/collection/fonts/raleway-modified-300/raleway-modified-300.woff2 +0 -0
  174. package/dist/collection/fonts/raleway-modified-300--italic/raleway-modified-300--italic.otf +0 -0
  175. package/dist/collection/fonts/raleway-modified-300--italic/raleway-modified-300--italic.ttf +0 -0
  176. package/dist/collection/fonts/raleway-modified-300--italic/raleway-modified-300--italic.woff2 +0 -0
  177. package/dist/collection/fonts/raleway-modified-400/raleway-modified-400.otf +0 -0
  178. package/dist/collection/fonts/raleway-modified-400/raleway-modified-400.ttf +0 -0
  179. package/dist/collection/fonts/raleway-modified-400/raleway-modified-400.woff2 +0 -0
  180. package/dist/collection/fonts/raleway-modified-400--italic/raleway-modified-400--italic.otf +0 -0
  181. package/dist/collection/fonts/raleway-modified-400--italic/raleway-modified-400--italic.ttf +0 -0
  182. package/dist/collection/fonts/raleway-modified-400--italic/raleway-modified-400--italic.woff2 +0 -0
  183. package/dist/collection/fonts/raleway-modified-500/raleway-modified-500.otf +0 -0
  184. package/dist/collection/fonts/raleway-modified-500/raleway-modified-500.ttf +0 -0
  185. package/dist/collection/fonts/raleway-modified-500/raleway-modified-500.woff2 +0 -0
  186. package/dist/collection/fonts/raleway-modified-500--italic/raleway-modified-500--italic.otf +0 -0
  187. package/dist/collection/fonts/raleway-modified-500--italic/raleway-modified-500--italic.ttf +0 -0
  188. package/dist/collection/fonts/raleway-modified-500--italic/raleway-modified-500--italic.woff2 +0 -0
  189. package/dist/collection/fonts/raleway-modified-600/raleway-modified-600.otf +0 -0
  190. package/dist/collection/fonts/raleway-modified-600/raleway-modified-600.ttf +0 -0
  191. package/dist/collection/fonts/raleway-modified-600/raleway-modified-600.woff2 +0 -0
  192. package/dist/collection/fonts/raleway-modified-600--italic/raleway-modified-600--italic.otf +0 -0
  193. package/dist/collection/fonts/raleway-modified-600--italic/raleway-modified-600--italic.ttf +0 -0
  194. package/dist/collection/fonts/raleway-modified-600--italic/raleway-modified-600--italic.woff2 +0 -0
  195. package/dist/collection/fonts/raleway-modified-700/raleway-modified-700.otf +0 -0
  196. package/dist/collection/fonts/raleway-modified-700/raleway-modified-700.ttf +0 -0
  197. package/dist/collection/fonts/raleway-modified-700/raleway-modified-700.woff2 +0 -0
  198. package/dist/collection/fonts/raleway-modified-700--italic/raleway-modified-700--italic.otf +0 -0
  199. package/dist/collection/fonts/raleway-modified-700--italic/raleway-modified-700--italic.ttf +0 -0
  200. package/dist/collection/fonts/raleway-modified-700--italic/raleway-modified-700--italic.woff2 +0 -0
  201. package/dist/collection/fonts/raleway-modified-800/raleway-modified-800.otf +0 -0
  202. package/dist/collection/fonts/raleway-modified-800/raleway-modified-800.ttf +0 -0
  203. package/dist/collection/fonts/raleway-modified-800/raleway-modified-800.woff2 +0 -0
  204. package/dist/collection/fonts/raleway-modified-800--italic/raleway-modified-800--italic.otf +0 -0
  205. package/dist/collection/fonts/raleway-modified-800--italic/raleway-modified-800--italic.ttf +0 -0
  206. package/dist/collection/fonts/raleway-modified-800--italic/raleway-modified-800--italic.woff2 +0 -0
  207. package/dist/collection/fonts/raleway-modified-900/raleway-modified-900.otf +0 -0
  208. package/dist/collection/fonts/raleway-modified-900/raleway-modified-900.ttf +0 -0
  209. package/dist/collection/fonts/raleway-modified-900/raleway-modified-900.woff2 +0 -0
  210. package/dist/collection/fonts/raleway-modified-900--italic/raleway-modified-900--italic.otf +0 -0
  211. package/dist/collection/fonts/raleway-modified-900--italic/raleway-modified-900--italic.ttf +0 -0
  212. package/dist/collection/fonts/raleway-modified-900--italic/raleway-modified-900--italic.woff2 +0 -0
  213. package/dist/collection/global.js +1 -6
  214. package/dist/collection/global.js.map +1 -1
  215. package/dist/components/index.js +1 -1407
  216. package/dist/components/index.js.map +1 -1
  217. package/dist/components/ontario-accordion.js +7 -7
  218. package/dist/components/ontario-accordion.js.map +1 -1
  219. package/dist/components/ontario-aside.js +6 -6
  220. package/dist/components/ontario-aside.js.map +1 -1
  221. package/dist/components/ontario-back-to-top.js +4 -4
  222. package/dist/components/ontario-back-to-top.js.map +1 -1
  223. package/dist/components/ontario-badge.js +1 -1
  224. package/dist/components/ontario-badge2.js +2 -2
  225. package/dist/components/ontario-badge2.js.map +1 -1
  226. package/dist/components/ontario-blockquote.js +5 -5
  227. package/dist/components/ontario-blockquote.js.map +1 -1
  228. package/dist/components/ontario-button.js +4 -4
  229. package/dist/components/ontario-button.js.map +1 -1
  230. package/dist/components/ontario-callout.js +6 -6
  231. package/dist/components/ontario-callout.js.map +1 -1
  232. package/dist/components/ontario-card-collection.js +3 -3
  233. package/dist/components/ontario-card-collection.js.map +1 -1
  234. package/dist/components/ontario-card.js +6 -6
  235. package/dist/components/ontario-card.js.map +1 -1
  236. package/dist/components/ontario-checkboxes.js +19 -19
  237. package/dist/components/ontario-checkboxes.js.map +1 -1
  238. package/dist/components/ontario-critical-alert.js +4 -4
  239. package/dist/components/ontario-critical-alert.js.map +1 -1
  240. package/dist/components/ontario-date-input.js +17 -17
  241. package/dist/components/ontario-date-input.js.map +1 -1
  242. package/dist/components/ontario-dropdown-list.js +21 -21
  243. package/dist/components/ontario-dropdown-list.js.map +1 -1
  244. package/dist/components/ontario-fieldset.js +6 -6
  245. package/dist/components/ontario-fieldset.js.map +1 -1
  246. package/dist/components/ontario-footer.js +7 -7
  247. package/dist/components/ontario-footer.js.map +1 -1
  248. package/dist/components/ontario-header.js +10 -10
  249. package/dist/components/ontario-header.js.map +1 -1
  250. package/dist/components/ontario-hint-expander.js +1 -1
  251. package/dist/components/ontario-hint-expander2.js +1 -1
  252. package/dist/components/ontario-hint-text.js +1 -1
  253. package/dist/components/ontario-hint-text2.js +1 -1
  254. package/dist/components/ontario-icon-accessibility.js +5 -5
  255. package/dist/components/ontario-icon-accessibility.js.map +1 -1
  256. package/dist/components/ontario-icon-account.js +5 -5
  257. package/dist/components/ontario-icon-account.js.map +1 -1
  258. package/dist/components/ontario-icon-add-alt.js +5 -5
  259. package/dist/components/ontario-icon-add-alt.js.map +1 -1
  260. package/dist/components/ontario-icon-add.js +5 -5
  261. package/dist/components/ontario-icon-add.js.map +1 -1
  262. package/dist/components/ontario-icon-alert-error.js +1 -1
  263. package/dist/components/ontario-icon-alert-information.js +1 -1
  264. package/dist/components/ontario-icon-alert-success.js +1 -1
  265. package/dist/components/ontario-icon-alert-warning.js +1 -1
  266. package/dist/components/ontario-icon-arrow-up.js +5 -5
  267. package/dist/components/ontario-icon-arrow-up.js.map +1 -1
  268. package/dist/components/ontario-icon-attach.js +5 -5
  269. package/dist/components/ontario-icon-attach.js.map +1 -1
  270. package/dist/components/ontario-icon-bookmark-off.js +5 -5
  271. package/dist/components/ontario-icon-bookmark-off.js.map +1 -1
  272. package/dist/components/ontario-icon-bookmark-on.js +5 -5
  273. package/dist/components/ontario-icon-bookmark-on.js.map +1 -1
  274. package/dist/components/ontario-icon-calendar.js +5 -5
  275. package/dist/components/ontario-icon-calendar.js.map +1 -1
  276. package/dist/components/ontario-icon-camera.js +5 -5
  277. package/dist/components/ontario-icon-camera.js.map +1 -1
  278. package/dist/components/ontario-icon-chevron-down.js +1 -1
  279. package/dist/components/ontario-icon-chevron-down2.js +1 -1
  280. package/dist/components/ontario-icon-chevron-left.js +1 -1
  281. package/dist/components/ontario-icon-chevron-left2.js +1 -1
  282. package/dist/components/ontario-icon-chevron-right.js +5 -5
  283. package/dist/components/ontario-icon-chevron-right.js.map +1 -1
  284. package/dist/components/ontario-icon-chevron-up.js +1 -1
  285. package/dist/components/ontario-icon-chevron-up2.js +1 -1
  286. package/dist/components/ontario-icon-clock.js +5 -5
  287. package/dist/components/ontario-icon-clock.js.map +1 -1
  288. package/dist/components/ontario-icon-close-header.js +5 -5
  289. package/dist/components/ontario-icon-close-header.js.map +1 -1
  290. package/dist/components/ontario-icon-close.js +5 -5
  291. package/dist/components/ontario-icon-close.js.map +1 -1
  292. package/dist/components/ontario-icon-cloud.js +5 -5
  293. package/dist/components/ontario-icon-cloud.js.map +1 -1
  294. package/dist/components/ontario-icon-collapse.js +5 -5
  295. package/dist/components/ontario-icon-collapse.js.map +1 -1
  296. package/dist/components/ontario-icon-credit-card.js +5 -5
  297. package/dist/components/ontario-icon-credit-card.js.map +1 -1
  298. package/dist/components/ontario-icon-critical-alert-warning.js +5 -5
  299. package/dist/components/ontario-icon-critical-alert-warning.js.map +1 -1
  300. package/dist/components/ontario-icon-delete.js +5 -5
  301. package/dist/components/ontario-icon-delete.js.map +1 -1
  302. package/dist/components/ontario-icon-document.js +5 -5
  303. package/dist/components/ontario-icon-document.js.map +1 -1
  304. package/dist/components/ontario-icon-download.js +5 -5
  305. package/dist/components/ontario-icon-download.js.map +1 -1
  306. package/dist/components/ontario-icon-dropdown-arrow.js +3 -3
  307. package/dist/components/ontario-icon-dropdown-arrow.js.map +1 -1
  308. package/dist/components/ontario-icon-edit.js +5 -5
  309. package/dist/components/ontario-icon-edit.js.map +1 -1
  310. package/dist/components/ontario-icon-email.js +5 -5
  311. package/dist/components/ontario-icon-email.js.map +1 -1
  312. package/dist/components/ontario-icon-expand.js +5 -5
  313. package/dist/components/ontario-icon-expand.js.map +1 -1
  314. package/dist/components/ontario-icon-export.js +5 -5
  315. package/dist/components/ontario-icon-export.js.map +1 -1
  316. package/dist/components/ontario-icon-facebook-alt.js +5 -5
  317. package/dist/components/ontario-icon-facebook-alt.js.map +1 -1
  318. package/dist/components/ontario-icon-facebook.js +5 -5
  319. package/dist/components/ontario-icon-facebook.js.map +1 -1
  320. package/dist/components/ontario-icon-favourite-off.js +5 -5
  321. package/dist/components/ontario-icon-favourite-off.js.map +1 -1
  322. package/dist/components/ontario-icon-favourite-on.js +5 -5
  323. package/dist/components/ontario-icon-favourite-on.js.map +1 -1
  324. package/dist/components/ontario-icon-filter.js +5 -5
  325. package/dist/components/ontario-icon-filter.js.map +1 -1
  326. package/dist/components/ontario-icon-flickr.js +5 -5
  327. package/dist/components/ontario-icon-flickr.js.map +1 -1
  328. package/dist/components/ontario-icon-grid.js +5 -5
  329. package/dist/components/ontario-icon-grid.js.map +1 -1
  330. package/dist/components/ontario-icon-help.js +5 -5
  331. package/dist/components/ontario-icon-help.js.map +1 -1
  332. package/dist/components/ontario-icon-instagram.js +5 -5
  333. package/dist/components/ontario-icon-instagram.js.map +1 -1
  334. package/dist/components/ontario-icon-interac-en-alt.js +3 -3
  335. package/dist/components/ontario-icon-interac-en-alt.js.map +1 -1
  336. package/dist/components/ontario-icon-interac-en.js +3 -3
  337. package/dist/components/ontario-icon-interac-en.js.map +1 -1
  338. package/dist/components/ontario-icon-interac-fr-alt.js +3 -3
  339. package/dist/components/ontario-icon-interac-fr-alt.js.map +1 -1
  340. package/dist/components/ontario-icon-interac-fr.js +3 -3
  341. package/dist/components/ontario-icon-interac-fr.js.map +1 -1
  342. package/dist/components/ontario-icon-linkedin-alt.js +5 -5
  343. package/dist/components/ontario-icon-linkedin-alt.js.map +1 -1
  344. package/dist/components/ontario-icon-linkedin.js +5 -5
  345. package/dist/components/ontario-icon-linkedin.js.map +1 -1
  346. package/dist/components/ontario-icon-list.js +5 -5
  347. package/dist/components/ontario-icon-list.js.map +1 -1
  348. package/dist/components/ontario-icon-live-chat.js +5 -5
  349. package/dist/components/ontario-icon-live-chat.js.map +1 -1
  350. package/dist/components/ontario-icon-location-off.js +5 -5
  351. package/dist/components/ontario-icon-location-off.js.map +1 -1
  352. package/dist/components/ontario-icon-location-on.js +5 -5
  353. package/dist/components/ontario-icon-location-on.js.map +1 -1
  354. package/dist/components/ontario-icon-lock-off.js +5 -5
  355. package/dist/components/ontario-icon-lock-off.js.map +1 -1
  356. package/dist/components/ontario-icon-lock-on.js +5 -5
  357. package/dist/components/ontario-icon-lock-on.js.map +1 -1
  358. package/dist/components/ontario-icon-map.js +5 -5
  359. package/dist/components/ontario-icon-map.js.map +1 -1
  360. package/dist/components/ontario-icon-mastercard-alt.js +3 -3
  361. package/dist/components/ontario-icon-mastercard-alt.js.map +1 -1
  362. package/dist/components/ontario-icon-mastercard.js +3 -3
  363. package/dist/components/ontario-icon-mastercard.js.map +1 -1
  364. package/dist/components/ontario-icon-media-fast-forward.js +5 -5
  365. package/dist/components/ontario-icon-media-fast-forward.js.map +1 -1
  366. package/dist/components/ontario-icon-media-fast-rewind.js +5 -5
  367. package/dist/components/ontario-icon-media-fast-rewind.js.map +1 -1
  368. package/dist/components/ontario-icon-media-pause.js +5 -5
  369. package/dist/components/ontario-icon-media-pause.js.map +1 -1
  370. package/dist/components/ontario-icon-media-play.js +5 -5
  371. package/dist/components/ontario-icon-media-play.js.map +1 -1
  372. package/dist/components/ontario-icon-media-stop.js +5 -5
  373. package/dist/components/ontario-icon-media-stop.js.map +1 -1
  374. package/dist/components/ontario-icon-menu-header.js +5 -5
  375. package/dist/components/ontario-icon-menu-header.js.map +1 -1
  376. package/dist/components/ontario-icon-menu.js +5 -5
  377. package/dist/components/ontario-icon-menu.js.map +1 -1
  378. package/dist/components/ontario-icon-microphone-off.js +5 -5
  379. package/dist/components/ontario-icon-microphone-off.js.map +1 -1
  380. package/dist/components/ontario-icon-microphone-on.js +5 -5
  381. package/dist/components/ontario-icon-microphone-on.js.map +1 -1
  382. package/dist/components/ontario-icon-more-vertical.js +5 -5
  383. package/dist/components/ontario-icon-more-vertical.js.map +1 -1
  384. package/dist/components/ontario-icon-new-window.js +5 -5
  385. package/dist/components/ontario-icon-new-window.js.map +1 -1
  386. package/dist/components/ontario-icon-next.js +5 -5
  387. package/dist/components/ontario-icon-next.js.map +1 -1
  388. package/dist/components/ontario-icon-notification.js +5 -5
  389. package/dist/components/ontario-icon-notification.js.map +1 -1
  390. package/dist/components/ontario-icon-password-hide.js +5 -5
  391. package/dist/components/ontario-icon-password-hide.js.map +1 -1
  392. package/dist/components/ontario-icon-password-show.js +5 -5
  393. package/dist/components/ontario-icon-password-show.js.map +1 -1
  394. package/dist/components/ontario-icon-phone.js +5 -5
  395. package/dist/components/ontario-icon-phone.js.map +1 -1
  396. package/dist/components/ontario-icon-photo.js +5 -5
  397. package/dist/components/ontario-icon-photo.js.map +1 -1
  398. package/dist/components/ontario-icon-pin-location-off.js +5 -5
  399. package/dist/components/ontario-icon-pin-location-off.js.map +1 -1
  400. package/dist/components/ontario-icon-pin-location-on.js +5 -5
  401. package/dist/components/ontario-icon-pin-location-on.js.map +1 -1
  402. package/dist/components/ontario-icon-previous.js +5 -5
  403. package/dist/components/ontario-icon-previous.js.map +1 -1
  404. package/dist/components/ontario-icon-print.js +5 -5
  405. package/dist/components/ontario-icon-print.js.map +1 -1
  406. package/dist/components/ontario-icon-remove-alt.js +5 -5
  407. package/dist/components/ontario-icon-remove-alt.js.map +1 -1
  408. package/dist/components/ontario-icon-remove.js +5 -5
  409. package/dist/components/ontario-icon-remove.js.map +1 -1
  410. package/dist/components/ontario-icon-replay.js +5 -5
  411. package/dist/components/ontario-icon-replay.js.map +1 -1
  412. package/dist/components/ontario-icon-rss-feed.js +5 -5
  413. package/dist/components/ontario-icon-rss-feed.js.map +1 -1
  414. package/dist/components/ontario-icon-save.js +5 -5
  415. package/dist/components/ontario-icon-save.js.map +1 -1
  416. package/dist/components/ontario-icon-search-white.js +5 -5
  417. package/dist/components/ontario-icon-search-white.js.map +1 -1
  418. package/dist/components/ontario-icon-search.js +5 -5
  419. package/dist/components/ontario-icon-search.js.map +1 -1
  420. package/dist/components/ontario-icon-sentiment-1.js +5 -5
  421. package/dist/components/ontario-icon-sentiment-1.js.map +1 -1
  422. package/dist/components/ontario-icon-sentiment-2.js +5 -5
  423. package/dist/components/ontario-icon-sentiment-2.js.map +1 -1
  424. package/dist/components/ontario-icon-sentiment-3.js +5 -5
  425. package/dist/components/ontario-icon-sentiment-3.js.map +1 -1
  426. package/dist/components/ontario-icon-sentiment-4.js +5 -5
  427. package/dist/components/ontario-icon-sentiment-4.js.map +1 -1
  428. package/dist/components/ontario-icon-sentiment-5.js +5 -5
  429. package/dist/components/ontario-icon-sentiment-5.js.map +1 -1
  430. package/dist/components/ontario-icon-settings.js +5 -5
  431. package/dist/components/ontario-icon-settings.js.map +1 -1
  432. package/dist/components/ontario-icon-share.js +5 -5
  433. package/dist/components/ontario-icon-share.js.map +1 -1
  434. package/dist/components/ontario-icon-sort.js +5 -5
  435. package/dist/components/ontario-icon-sort.js.map +1 -1
  436. package/dist/components/ontario-icon-tag.js +5 -5
  437. package/dist/components/ontario-icon-tag.js.map +1 -1
  438. package/dist/components/ontario-icon-text-message.js +5 -5
  439. package/dist/components/ontario-icon-text-message.js.map +1 -1
  440. package/dist/components/ontario-icon-timer.js +5 -5
  441. package/dist/components/ontario-icon-timer.js.map +1 -1
  442. package/dist/components/ontario-icon-transport-bicycle.js +5 -5
  443. package/dist/components/ontario-icon-transport-bicycle.js.map +1 -1
  444. package/dist/components/ontario-icon-transport-bus.js +5 -5
  445. package/dist/components/ontario-icon-transport-bus.js.map +1 -1
  446. package/dist/components/ontario-icon-transport-car.js +5 -5
  447. package/dist/components/ontario-icon-transport-car.js.map +1 -1
  448. package/dist/components/ontario-icon-transport-walk.js +5 -5
  449. package/dist/components/ontario-icon-transport-walk.js.map +1 -1
  450. package/dist/components/ontario-icon-tty.js +5 -5
  451. package/dist/components/ontario-icon-tty.js.map +1 -1
  452. package/dist/components/ontario-icon-twitter-alt.js +5 -5
  453. package/dist/components/ontario-icon-twitter-alt.js.map +1 -1
  454. package/dist/components/ontario-icon-twitter.js +5 -5
  455. package/dist/components/ontario-icon-twitter.js.map +1 -1
  456. package/dist/components/ontario-icon-upload.js +5 -5
  457. package/dist/components/ontario-icon-upload.js.map +1 -1
  458. package/dist/components/ontario-icon-video.js +5 -5
  459. package/dist/components/ontario-icon-video.js.map +1 -1
  460. package/dist/components/ontario-icon-visa.js +3 -3
  461. package/dist/components/ontario-icon-visa.js.map +1 -1
  462. package/dist/components/ontario-icon-vote-dislike.js +5 -5
  463. package/dist/components/ontario-icon-vote-dislike.js.map +1 -1
  464. package/dist/components/ontario-icon-vote-like.js +5 -5
  465. package/dist/components/ontario-icon-vote-like.js.map +1 -1
  466. package/dist/components/ontario-icon-vpn-key.js +5 -5
  467. package/dist/components/ontario-icon-vpn-key.js.map +1 -1
  468. package/dist/components/ontario-icon-wheelchair.js +5 -5
  469. package/dist/components/ontario-icon-wheelchair.js.map +1 -1
  470. package/dist/components/ontario-icon-wifi.js +5 -5
  471. package/dist/components/ontario-icon-wifi.js.map +1 -1
  472. package/dist/components/ontario-icon-youtube.js +5 -5
  473. package/dist/components/ontario-icon-youtube.js.map +1 -1
  474. package/dist/components/ontario-input.js +21 -21
  475. package/dist/components/ontario-input.js.map +1 -1
  476. package/dist/components/ontario-language-toggle.js +1 -1
  477. package/dist/components/ontario-language-toggle2.js +1 -1
  478. package/dist/components/ontario-loading-indicator.js +6 -6
  479. package/dist/components/ontario-loading-indicator.js.map +1 -1
  480. package/dist/components/ontario-page-alert.js +7 -7
  481. package/dist/components/ontario-page-alert.js.map +1 -1
  482. package/dist/components/ontario-radio-buttons.js +19 -19
  483. package/dist/components/ontario-radio-buttons.js.map +1 -1
  484. package/dist/components/ontario-search-box.js +14 -14
  485. package/dist/components/ontario-search-box.js.map +1 -1
  486. package/dist/components/ontario-step-indicator.js +6 -6
  487. package/dist/components/ontario-step-indicator.js.map +1 -1
  488. package/dist/components/ontario-table.js +4 -4
  489. package/dist/components/ontario-table.js.map +1 -1
  490. package/dist/components/ontario-task-list.js +6 -6
  491. package/dist/components/ontario-task-list.js.map +1 -1
  492. package/dist/components/ontario-task.js +9 -9
  493. package/dist/components/ontario-task.js.map +1 -1
  494. package/dist/components/ontario-textarea.js +20 -20
  495. package/dist/components/ontario-textarea.js.map +1 -1
  496. package/dist/components/{p-DFHrahxt.js → p-CfKaEpHy.js} +3 -3
  497. package/dist/components/p-CfKaEpHy.js.map +1 -0
  498. package/dist/components/utils.js +2 -2
  499. package/dist/components/validation-functions.js +1 -1
  500. package/dist/esm/{index-Cc98g_3o.js → index-Z6XKfgxi.js} +5 -3
  501. package/dist/esm/index-Z6XKfgxi.js.map +1 -0
  502. package/dist/esm/loader.js +2 -2
  503. package/dist/esm/ontario-accordion_46.entry.js +21 -21
  504. package/dist/esm/ontario-accordion_46.entry.js.map +1 -1
  505. package/dist/esm/ontario-design-system-components.js +2 -2
  506. package/dist/esm/ontario-icon-account.entry.js +1 -1
  507. package/dist/esm/ontario-icon-add-alt.entry.js +1 -1
  508. package/dist/esm/ontario-icon-add.entry.js +1 -1
  509. package/dist/esm/ontario-icon-arrow-up.entry.js +1 -1
  510. package/dist/esm/ontario-icon-attach.entry.js +1 -1
  511. package/dist/esm/ontario-icon-bookmark-off.entry.js +1 -1
  512. package/dist/esm/ontario-icon-bookmark-on.entry.js +1 -1
  513. package/dist/esm/ontario-icon-calendar.entry.js +1 -1
  514. package/dist/esm/ontario-icon-chevron-right.entry.js +1 -1
  515. package/dist/esm/ontario-icon-clock.entry.js +1 -1
  516. package/dist/esm/ontario-icon-close-header.entry.js +1 -1
  517. package/dist/esm/ontario-icon-close.entry.js +1 -1
  518. package/dist/esm/ontario-icon-cloud.entry.js +1 -1
  519. package/dist/esm/ontario-icon-collapse.entry.js +1 -1
  520. package/dist/esm/ontario-icon-credit-card.entry.js +1 -1
  521. package/dist/esm/ontario-icon-critical-alert-warning.entry.js +1 -1
  522. package/dist/esm/ontario-icon-delete.entry.js +1 -1
  523. package/dist/esm/ontario-icon-document.entry.js +1 -1
  524. package/dist/esm/ontario-icon-download.entry.js +1 -1
  525. package/dist/esm/ontario-icon-dropdown-arrow.entry.js +1 -1
  526. package/dist/esm/ontario-icon-edit.entry.js +1 -1
  527. package/dist/esm/ontario-icon-expand.entry.js +1 -1
  528. package/dist/esm/ontario-icon-export.entry.js +1 -1
  529. package/dist/esm/ontario-icon-facebook-alt.entry.js +1 -1
  530. package/dist/esm/ontario-icon-facebook.entry.js +1 -1
  531. package/dist/esm/ontario-icon-favourite-off.entry.js +1 -1
  532. package/dist/esm/ontario-icon-favourite-on.entry.js +1 -1
  533. package/dist/esm/ontario-icon-filter.entry.js +1 -1
  534. package/dist/esm/ontario-icon-flickr.entry.js +1 -1
  535. package/dist/esm/ontario-icon-grid.entry.js +1 -1
  536. package/dist/esm/ontario-icon-instagram.entry.js +1 -1
  537. package/dist/esm/ontario-icon-interac-en-alt.entry.js +1 -1
  538. package/dist/esm/ontario-icon-interac-en.entry.js +1 -1
  539. package/dist/esm/ontario-icon-interac-fr-alt.entry.js +1 -1
  540. package/dist/esm/ontario-icon-interac-fr.entry.js +1 -1
  541. package/dist/esm/ontario-icon-linkedin-alt.entry.js +1 -1
  542. package/dist/esm/ontario-icon-linkedin.entry.js +1 -1
  543. package/dist/esm/ontario-icon-list.entry.js +1 -1
  544. package/dist/esm/ontario-icon-live-chat.entry.js +1 -1
  545. package/dist/esm/ontario-icon-location-off.entry.js +1 -1
  546. package/dist/esm/ontario-icon-location-on.entry.js +1 -1
  547. package/dist/esm/ontario-icon-lock-off.entry.js +1 -1
  548. package/dist/esm/ontario-icon-lock-on.entry.js +1 -1
  549. package/dist/esm/ontario-icon-map.entry.js +1 -1
  550. package/dist/esm/ontario-icon-mastercard-alt.entry.js +1 -1
  551. package/dist/esm/ontario-icon-media-fast-forward.entry.js +1 -1
  552. package/dist/esm/ontario-icon-media-fast-rewind.entry.js +1 -1
  553. package/dist/esm/ontario-icon-media-pause.entry.js +1 -1
  554. package/dist/esm/ontario-icon-media-play.entry.js +1 -1
  555. package/dist/esm/ontario-icon-media-stop.entry.js +1 -1
  556. package/dist/esm/ontario-icon-menu-header.entry.js +1 -1
  557. package/dist/esm/ontario-icon-menu.entry.js +1 -1
  558. package/dist/esm/ontario-icon-microphone-off.entry.js +1 -1
  559. package/dist/esm/ontario-icon-microphone-on.entry.js +1 -1
  560. package/dist/esm/ontario-icon-more-vertical.entry.js +1 -1
  561. package/dist/esm/ontario-icon-new-window.entry.js +1 -1
  562. package/dist/esm/ontario-icon-next.entry.js +1 -1
  563. package/dist/esm/ontario-icon-password-hide.entry.js +1 -1
  564. package/dist/esm/ontario-icon-password-show.entry.js +1 -1
  565. package/dist/esm/ontario-icon-phone.entry.js +1 -1
  566. package/dist/esm/ontario-icon-photo.entry.js +1 -1
  567. package/dist/esm/ontario-icon-pin-location-off.entry.js +1 -1
  568. package/dist/esm/ontario-icon-pin-location-on.entry.js +1 -1
  569. package/dist/esm/ontario-icon-previous.entry.js +1 -1
  570. package/dist/esm/ontario-icon-remove-alt.entry.js +1 -1
  571. package/dist/esm/ontario-icon-remove.entry.js +1 -1
  572. package/dist/esm/ontario-icon-replay.entry.js +1 -1
  573. package/dist/esm/ontario-icon-rss-feed.entry.js +1 -1
  574. package/dist/esm/ontario-icon-save.entry.js +1 -1
  575. package/dist/esm/ontario-icon-search-white.entry.js +1 -1
  576. package/dist/esm/ontario-icon-search.entry.js +1 -1
  577. package/dist/esm/ontario-icon-sentiment-1.entry.js +1 -1
  578. package/dist/esm/ontario-icon-sentiment-2.entry.js +1 -1
  579. package/dist/esm/ontario-icon-sentiment-3.entry.js +1 -1
  580. package/dist/esm/ontario-icon-sentiment-4.entry.js +1 -1
  581. package/dist/esm/ontario-icon-settings.entry.js +1 -1
  582. package/dist/esm/ontario-icon-share.entry.js +1 -1
  583. package/dist/esm/ontario-icon-sort.entry.js +1 -1
  584. package/dist/esm/ontario-icon-tag.entry.js +1 -1
  585. package/dist/esm/ontario-icon-timer.entry.js +1 -1
  586. package/dist/esm/ontario-icon-transport-bicycle.entry.js +1 -1
  587. package/dist/esm/ontario-icon-transport-car.entry.js +1 -1
  588. package/dist/esm/ontario-icon-transport-walk.entry.js +1 -1
  589. package/dist/esm/ontario-icon-tty.entry.js +1 -1
  590. package/dist/esm/ontario-icon-twitter-alt.entry.js +1 -1
  591. package/dist/esm/ontario-icon-twitter.entry.js +1 -1
  592. package/dist/esm/ontario-icon-upload.entry.js +1 -1
  593. package/dist/esm/ontario-icon-video.entry.js +1 -1
  594. package/dist/esm/ontario-icon-visa.entry.js +1 -1
  595. package/dist/esm/ontario-icon-vote-dislike.entry.js +1 -1
  596. package/dist/esm/ontario-icon-vote-like.entry.js +1 -1
  597. package/dist/esm/ontario-icon-vpn-key.entry.js +1 -1
  598. package/dist/esm/ontario-icon-wheelchair.entry.js +1 -1
  599. package/dist/esm/ontario-icon-wifi.entry.js +1 -1
  600. package/dist/esm/ontario-icon-youtube.entry.js +1 -1
  601. package/dist/ontario-design-system-components/fonts/courier-prime-400/courier-prime-400.otf +0 -0
  602. package/dist/ontario-design-system-components/fonts/courier-prime-400/courier-prime-400.woff2 +0 -0
  603. package/dist/ontario-design-system-components/fonts/courier-prime-400--italic/courier-prime-400--italic.otf +0 -0
  604. package/dist/ontario-design-system-components/fonts/courier-prime-400--italic/courier-prime-400--italic.woff2 +0 -0
  605. package/dist/ontario-design-system-components/fonts/courier-prime-700/courier-prime-700.otf +0 -0
  606. package/dist/ontario-design-system-components/fonts/courier-prime-700/courier-prime-700.woff2 +0 -0
  607. package/dist/ontario-design-system-components/fonts/courier-prime-700--italic/courier-prime-700--italic.otf +0 -0
  608. package/dist/ontario-design-system-components/fonts/courier-prime-700--italic/courier-prime-700--italic.woff2 +0 -0
  609. package/{www/fonts → dist/ontario-design-system-components/fonts/license}/OFL.txt +2 -2
  610. package/dist/ontario-design-system-components/fonts/open-sans-300/open-sans-300.otf +0 -0
  611. package/dist/ontario-design-system-components/fonts/open-sans-300/open-sans-300.woff2 +0 -0
  612. package/dist/ontario-design-system-components/fonts/open-sans-300--italic/open-sans-300--italic.otf +0 -0
  613. package/dist/ontario-design-system-components/fonts/open-sans-300--italic/open-sans-300--italic.woff2 +0 -0
  614. package/dist/ontario-design-system-components/fonts/open-sans-400/open-sans-400.otf +0 -0
  615. package/dist/ontario-design-system-components/fonts/open-sans-400/open-sans-400.woff2 +0 -0
  616. package/dist/ontario-design-system-components/fonts/open-sans-400--italic/open-sans-400--italic.otf +0 -0
  617. package/dist/ontario-design-system-components/fonts/open-sans-400--italic/open-sans-400--italic.woff2 +0 -0
  618. package/dist/ontario-design-system-components/fonts/open-sans-500/open-sans-500.otf +0 -0
  619. package/dist/ontario-design-system-components/fonts/open-sans-500/open-sans-500.ttf +0 -0
  620. package/dist/ontario-design-system-components/fonts/open-sans-500/open-sans-500.woff2 +0 -0
  621. package/dist/ontario-design-system-components/fonts/open-sans-500--italic/open-sans-500--italic.otf +0 -0
  622. package/dist/ontario-design-system-components/fonts/open-sans-500--italic/open-sans-500--italic.ttf +0 -0
  623. package/dist/ontario-design-system-components/fonts/open-sans-500--italic/open-sans-500--italic.woff2 +0 -0
  624. package/dist/ontario-design-system-components/fonts/open-sans-600/open-sans-600.otf +0 -0
  625. package/dist/ontario-design-system-components/fonts/open-sans-600/open-sans-600.woff2 +0 -0
  626. package/dist/ontario-design-system-components/fonts/open-sans-600--italic/open-sans-600--italic.otf +0 -0
  627. package/dist/ontario-design-system-components/fonts/open-sans-600--italic/open-sans-600--italic.woff2 +0 -0
  628. package/dist/ontario-design-system-components/fonts/open-sans-700/open-sans-700.otf +0 -0
  629. package/dist/ontario-design-system-components/fonts/open-sans-700/open-sans-700.woff2 +0 -0
  630. package/dist/ontario-design-system-components/fonts/open-sans-700--italic/open-sans-700--italic.otf +0 -0
  631. package/dist/ontario-design-system-components/fonts/open-sans-700--italic/open-sans-700--italic.woff2 +0 -0
  632. package/dist/ontario-design-system-components/fonts/open-sans-800/open-sans-800.otf +0 -0
  633. package/dist/ontario-design-system-components/fonts/open-sans-800/open-sans-800.ttf +0 -0
  634. package/dist/ontario-design-system-components/fonts/open-sans-800/open-sans-800.woff2 +0 -0
  635. package/dist/ontario-design-system-components/fonts/open-sans-800--italic/open-sans-800--italic.otf +0 -0
  636. package/dist/ontario-design-system-components/fonts/open-sans-800--italic/open-sans-800--italic.ttf +0 -0
  637. package/dist/ontario-design-system-components/fonts/open-sans-800--italic/open-sans-800--italic.woff2 +0 -0
  638. package/dist/ontario-design-system-components/fonts/raleway-modified-100/raleway-modified-100.otf +0 -0
  639. package/dist/ontario-design-system-components/fonts/raleway-modified-100/raleway-modified-100.ttf +0 -0
  640. package/dist/ontario-design-system-components/fonts/raleway-modified-100/raleway-modified-100.woff2 +0 -0
  641. package/dist/ontario-design-system-components/fonts/raleway-modified-100--italic/raleway-modified-100--italic.otf +0 -0
  642. package/dist/ontario-design-system-components/fonts/raleway-modified-100--italic/raleway-modified-100--italic.ttf +0 -0
  643. package/dist/ontario-design-system-components/fonts/raleway-modified-100--italic/raleway-modified-100--italic.woff2 +0 -0
  644. package/dist/ontario-design-system-components/fonts/raleway-modified-200/raleway-modified-200.otf +0 -0
  645. package/dist/ontario-design-system-components/fonts/raleway-modified-200/raleway-modified-200.ttf +0 -0
  646. package/dist/ontario-design-system-components/fonts/raleway-modified-200/raleway-modified-200.woff2 +0 -0
  647. package/dist/ontario-design-system-components/fonts/raleway-modified-200--italic/raleway-modified-200--italic.otf +0 -0
  648. package/dist/ontario-design-system-components/fonts/raleway-modified-200--italic/raleway-modified-200--italic.ttf +0 -0
  649. package/dist/ontario-design-system-components/fonts/raleway-modified-200--italic/raleway-modified-200--italic.woff2 +0 -0
  650. package/dist/ontario-design-system-components/fonts/raleway-modified-300/raleway-modified-300.otf +0 -0
  651. package/dist/ontario-design-system-components/fonts/raleway-modified-300/raleway-modified-300.ttf +0 -0
  652. package/dist/ontario-design-system-components/fonts/raleway-modified-300/raleway-modified-300.woff2 +0 -0
  653. package/dist/ontario-design-system-components/fonts/raleway-modified-300--italic/raleway-modified-300--italic.otf +0 -0
  654. package/dist/ontario-design-system-components/fonts/raleway-modified-300--italic/raleway-modified-300--italic.ttf +0 -0
  655. package/dist/ontario-design-system-components/fonts/raleway-modified-300--italic/raleway-modified-300--italic.woff2 +0 -0
  656. package/dist/ontario-design-system-components/fonts/raleway-modified-400/raleway-modified-400.otf +0 -0
  657. package/dist/ontario-design-system-components/fonts/raleway-modified-400/raleway-modified-400.ttf +0 -0
  658. package/dist/ontario-design-system-components/fonts/raleway-modified-400/raleway-modified-400.woff2 +0 -0
  659. package/dist/ontario-design-system-components/fonts/raleway-modified-400--italic/raleway-modified-400--italic.otf +0 -0
  660. package/dist/ontario-design-system-components/fonts/raleway-modified-400--italic/raleway-modified-400--italic.ttf +0 -0
  661. package/dist/ontario-design-system-components/fonts/raleway-modified-400--italic/raleway-modified-400--italic.woff2 +0 -0
  662. package/dist/ontario-design-system-components/fonts/raleway-modified-500/raleway-modified-500.otf +0 -0
  663. package/dist/ontario-design-system-components/fonts/raleway-modified-500/raleway-modified-500.ttf +0 -0
  664. package/dist/ontario-design-system-components/fonts/raleway-modified-500/raleway-modified-500.woff2 +0 -0
  665. package/dist/ontario-design-system-components/fonts/raleway-modified-500--italic/raleway-modified-500--italic.otf +0 -0
  666. package/dist/ontario-design-system-components/fonts/raleway-modified-500--italic/raleway-modified-500--italic.ttf +0 -0
  667. package/dist/ontario-design-system-components/fonts/raleway-modified-500--italic/raleway-modified-500--italic.woff2 +0 -0
  668. package/dist/ontario-design-system-components/fonts/raleway-modified-600/raleway-modified-600.otf +0 -0
  669. package/dist/ontario-design-system-components/fonts/raleway-modified-600/raleway-modified-600.ttf +0 -0
  670. package/dist/ontario-design-system-components/fonts/raleway-modified-600/raleway-modified-600.woff2 +0 -0
  671. package/dist/ontario-design-system-components/fonts/raleway-modified-600--italic/raleway-modified-600--italic.otf +0 -0
  672. package/dist/ontario-design-system-components/fonts/raleway-modified-600--italic/raleway-modified-600--italic.ttf +0 -0
  673. package/dist/ontario-design-system-components/fonts/raleway-modified-600--italic/raleway-modified-600--italic.woff2 +0 -0
  674. package/dist/ontario-design-system-components/fonts/raleway-modified-700/raleway-modified-700.otf +0 -0
  675. package/dist/ontario-design-system-components/fonts/raleway-modified-700/raleway-modified-700.ttf +0 -0
  676. package/dist/ontario-design-system-components/fonts/raleway-modified-700/raleway-modified-700.woff2 +0 -0
  677. package/dist/ontario-design-system-components/fonts/raleway-modified-700--italic/raleway-modified-700--italic.otf +0 -0
  678. package/dist/ontario-design-system-components/fonts/raleway-modified-700--italic/raleway-modified-700--italic.ttf +0 -0
  679. package/dist/ontario-design-system-components/fonts/raleway-modified-700--italic/raleway-modified-700--italic.woff2 +0 -0
  680. package/dist/ontario-design-system-components/fonts/raleway-modified-800/raleway-modified-800.otf +0 -0
  681. package/dist/ontario-design-system-components/fonts/raleway-modified-800/raleway-modified-800.ttf +0 -0
  682. package/dist/ontario-design-system-components/fonts/raleway-modified-800/raleway-modified-800.woff2 +0 -0
  683. package/dist/ontario-design-system-components/fonts/raleway-modified-800--italic/raleway-modified-800--italic.otf +0 -0
  684. package/dist/ontario-design-system-components/fonts/raleway-modified-800--italic/raleway-modified-800--italic.ttf +0 -0
  685. package/dist/ontario-design-system-components/fonts/raleway-modified-800--italic/raleway-modified-800--italic.woff2 +0 -0
  686. package/dist/ontario-design-system-components/fonts/raleway-modified-900/raleway-modified-900.otf +0 -0
  687. package/dist/ontario-design-system-components/fonts/raleway-modified-900/raleway-modified-900.ttf +0 -0
  688. package/dist/ontario-design-system-components/fonts/raleway-modified-900/raleway-modified-900.woff2 +0 -0
  689. package/dist/ontario-design-system-components/fonts/raleway-modified-900--italic/raleway-modified-900--italic.otf +0 -0
  690. package/dist/ontario-design-system-components/fonts/raleway-modified-900--italic/raleway-modified-900--italic.ttf +0 -0
  691. package/dist/ontario-design-system-components/fonts/raleway-modified-900--italic/raleway-modified-900--italic.woff2 +0 -0
  692. package/dist/ontario-design-system-components/ontario-design-system-components.css +286 -35
  693. package/dist/ontario-design-system-components/ontario-design-system-components.esm.js +3 -3
  694. package/{www/build/p-8da90bb4.entry.js → dist/ontario-design-system-components/p-0164666e.entry.js} +13 -13
  695. package/{www/build/p-26869e8a.entry.js → dist/ontario-design-system-components/p-06397814.entry.js} +13 -13
  696. package/{www/build/p-9a2f8c1c.entry.js → dist/ontario-design-system-components/p-073230c2.entry.js} +2 -2
  697. package/{www/build/p-a461ae95.entry.js → dist/ontario-design-system-components/p-0b4f9ec0.entry.js} +2 -2
  698. package/{www/build/p-c47ab092.entry.js → dist/ontario-design-system-components/p-0dd3dffd.entry.js} +2 -2
  699. package/{www/build/p-0400c437.entry.js → dist/ontario-design-system-components/p-11d753b7.entry.js} +2 -2
  700. package/{www/build/p-3e109675.entry.js → dist/ontario-design-system-components/p-12f0f2b4.entry.js} +2 -2
  701. package/{www/build/p-20f62402.entry.js → dist/ontario-design-system-components/p-15df0107.entry.js} +2 -2
  702. package/dist/ontario-design-system-components/{p-e7ad9cd1.entry.js → p-17407497.entry.js} +2 -2
  703. package/{www/build/p-89cf474d.entry.js → dist/ontario-design-system-components/p-19c27012.entry.js} +7 -7
  704. package/{www/build/p-c1020e95.entry.js → dist/ontario-design-system-components/p-1a658564.entry.js} +2 -2
  705. package/dist/ontario-design-system-components/{p-0221d644.entry.js → p-1b13bdbb.entry.js} +2 -2
  706. package/{www/build/p-2d7877ad.entry.js → dist/ontario-design-system-components/p-1b6c3d61.entry.js} +2 -2
  707. package/dist/ontario-design-system-components/{p-18dcdedf.entry.js → p-201594dc.entry.js} +13 -13
  708. package/dist/ontario-design-system-components/{p-dd5f9666.entry.js → p-224ac275.entry.js} +2 -2
  709. package/{www/build/p-5447e1f9.entry.js → dist/ontario-design-system-components/p-2308cab7.entry.js} +13 -13
  710. package/{www/build/p-f16d8dc2.entry.js → dist/ontario-design-system-components/p-2341df54.entry.js} +13 -13
  711. package/dist/ontario-design-system-components/{p-d22c81fd.entry.js → p-2a365fec.entry.js} +2 -2
  712. package/dist/ontario-design-system-components/{p-f786feb3.entry.js → p-2e845374.entry.js} +13 -13
  713. package/dist/ontario-design-system-components/{p-b9d1d9dd.entry.js → p-2ed7f164.entry.js} +2 -2
  714. package/dist/ontario-design-system-components/{p-58cf7ae0.entry.js → p-2ef0057e.entry.js} +2 -2
  715. package/{www/build/p-317cf15a.entry.js → dist/ontario-design-system-components/p-3459dfba.entry.js} +12 -12
  716. package/{www/build/p-71177432.entry.js → dist/ontario-design-system-components/p-399b16d4.entry.js} +2 -2
  717. package/{www/build/p-ec256ee9.entry.js → dist/ontario-design-system-components/p-3cb71072.entry.js} +2 -2
  718. package/dist/ontario-design-system-components/{p-52119535.entry.js → p-40771f5b.entry.js} +2 -2
  719. package/{www/build/p-369053ef.entry.js → dist/ontario-design-system-components/p-4366f704.entry.js} +2 -2
  720. package/{www/build/p-9bf9b376.entry.js → dist/ontario-design-system-components/p-43734e72.entry.js} +2 -2
  721. package/dist/ontario-design-system-components/{p-7a368819.entry.js → p-4622b378.entry.js} +2 -2
  722. package/{www/build/p-e1e13291.entry.js → dist/ontario-design-system-components/p-4e1ca81b.entry.js} +13 -13
  723. package/dist/ontario-design-system-components/{p-f0474488.entry.js → p-5257d724.entry.js} +2 -2
  724. package/{www/build/p-8b1ecff0.entry.js → dist/ontario-design-system-components/p-55002351.entry.js} +63 -63
  725. package/dist/ontario-design-system-components/p-55002351.entry.js.map +1 -0
  726. package/dist/ontario-design-system-components/{p-2a4a46c0.entry.js → p-59b2a51d.entry.js} +2 -2
  727. package/dist/ontario-design-system-components/{p-161bb74f.entry.js → p-59f23a25.entry.js} +13 -13
  728. package/{www/build/p-a6bcce90.entry.js → dist/ontario-design-system-components/p-5ef3b2cc.entry.js} +13 -13
  729. package/dist/ontario-design-system-components/{p-5b4261df.entry.js → p-5fa71c0d.entry.js} +2 -2
  730. package/dist/ontario-design-system-components/{p-f82546f5.entry.js → p-61612d3e.entry.js} +2 -2
  731. package/{www/build/p-0c1e47a5.entry.js → dist/ontario-design-system-components/p-66bf6e42.entry.js} +2 -2
  732. package/dist/ontario-design-system-components/{p-bd9e45d7.entry.js → p-66c93663.entry.js} +2 -2
  733. package/dist/ontario-design-system-components/{p-f4cf14ae.entry.js → p-66f53f37.entry.js} +2 -2
  734. package/{www/build/p-13838b64.entry.js → dist/ontario-design-system-components/p-696a1b00.entry.js} +2 -2
  735. package/dist/ontario-design-system-components/{p-6f7aa788.entry.js → p-6e1b8a34.entry.js} +2 -2
  736. package/{www/build/p-35ca52cb.entry.js → dist/ontario-design-system-components/p-73a29c94.entry.js} +2 -2
  737. package/dist/ontario-design-system-components/{p-80a3db9a.entry.js → p-76a2f0c7.entry.js} +2 -2
  738. package/dist/ontario-design-system-components/{p-7d8118ba.entry.js → p-7818d8a2.entry.js} +2 -2
  739. package/dist/ontario-design-system-components/{p-8a933021.entry.js → p-799e9674.entry.js} +2 -2
  740. package/dist/ontario-design-system-components/{p-9304f671.entry.js → p-7e7c7dd2.entry.js} +2 -2
  741. package/dist/ontario-design-system-components/{p-e89c0127.entry.js → p-805cdde0.entry.js} +2 -2
  742. package/{www/build/p-f10e5b74.entry.js → dist/ontario-design-system-components/p-83127110.entry.js} +2 -2
  743. package/dist/ontario-design-system-components/{p-9cf81533.entry.js → p-84bff712.entry.js} +13 -13
  744. package/{www/build/p-bfe43b37.entry.js → dist/ontario-design-system-components/p-85f4e413.entry.js} +13 -13
  745. package/{www/build/p-293e29db.entry.js → dist/ontario-design-system-components/p-8788910b.entry.js} +13 -13
  746. package/{www/build/p-7b751e88.entry.js → dist/ontario-design-system-components/p-8fccb34c.entry.js} +2 -2
  747. package/{www/build/p-8d55ecee.entry.js → dist/ontario-design-system-components/p-9450f10f.entry.js} +2 -2
  748. package/{www/build/p-94cb299b.entry.js → dist/ontario-design-system-components/p-95d2c69f.entry.js} +2 -2
  749. package/dist/ontario-design-system-components/{p-70c909dd.entry.js → p-9ebd9d9c.entry.js} +13 -13
  750. package/dist/ontario-design-system-components/p-Z6XKfgxi.js +1458 -0
  751. package/dist/ontario-design-system-components/p-Z6XKfgxi.js.map +1 -0
  752. package/dist/ontario-design-system-components/{p-76996ce0.entry.js → p-a1171a59.entry.js} +2 -2
  753. package/{www/build/p-89488ad4.entry.js → dist/ontario-design-system-components/p-a4448b11.entry.js} +13 -13
  754. package/{www/build/p-08bbe9ce.entry.js → dist/ontario-design-system-components/p-a528a1ca.entry.js} +2 -2
  755. package/dist/ontario-design-system-components/{p-e20329bb.entry.js → p-a9216eae.entry.js} +2 -2
  756. package/{www/build/p-f3c26f46.entry.js → dist/ontario-design-system-components/p-a9c103cf.entry.js} +13 -13
  757. package/{www/build/p-8e6179ba.entry.js → dist/ontario-design-system-components/p-aab543f6.entry.js} +2 -2
  758. package/{www/build/p-b6c5d12d.entry.js → dist/ontario-design-system-components/p-aed58958.entry.js} +2 -2
  759. package/dist/ontario-design-system-components/{p-c8e904b7.entry.js → p-af452b01.entry.js} +2 -2
  760. package/dist/ontario-design-system-components/{p-0a310bef.entry.js → p-af865300.entry.js} +2 -2
  761. package/{www/build/p-d131b3d0.entry.js → dist/ontario-design-system-components/p-b06f6e12.entry.js} +9 -9
  762. package/{www/build/p-133c95cd.entry.js → dist/ontario-design-system-components/p-b1c01063.entry.js} +5 -5
  763. package/{www/build/p-0e358c50.entry.js → dist/ontario-design-system-components/p-b47a18b8.entry.js} +2 -2
  764. package/dist/ontario-design-system-components/{p-75a672cc.entry.js → p-b7ea81d2.entry.js} +2 -2
  765. package/{www/build/p-2fe2bd8b.entry.js → dist/ontario-design-system-components/p-b96cbcc5.entry.js} +13 -13
  766. package/dist/ontario-design-system-components/{p-2405deb7.entry.js → p-b9a60843.entry.js} +2 -2
  767. package/dist/ontario-design-system-components/{p-dd18474e.entry.js → p-bf53ed44.entry.js} +2 -2
  768. package/dist/ontario-design-system-components/{p-67d32252.entry.js → p-c30623c7.entry.js} +2 -2
  769. package/dist/ontario-design-system-components/{p-dceb04cc.entry.js → p-c9cdcee1.entry.js} +2 -2
  770. package/{www/build/p-5e4cb73b.entry.js → dist/ontario-design-system-components/p-cc3e3d4c.entry.js} +13 -13
  771. package/{www/build/p-9a3b5e95.entry.js → dist/ontario-design-system-components/p-cca22349.entry.js} +2 -2
  772. package/{www/build/p-674ee78d.entry.js → dist/ontario-design-system-components/p-cfbaaed2.entry.js} +2 -2
  773. package/dist/ontario-design-system-components/{p-da6da0c3.entry.js → p-d340442c.entry.js} +2 -2
  774. package/dist/ontario-design-system-components/{p-7cae8647.entry.js → p-d40a8f30.entry.js} +2 -2
  775. package/{www/build/p-b56a95dd.entry.js → dist/ontario-design-system-components/p-d4dfdd88.entry.js} +2 -2
  776. package/dist/ontario-design-system-components/{p-86448a01.entry.js → p-d7a79820.entry.js} +2 -2
  777. package/{www/build/p-1099ac4a.entry.js → dist/ontario-design-system-components/p-dba8a3d4.entry.js} +2 -2
  778. package/dist/ontario-design-system-components/{p-2107ed20.entry.js → p-ded78746.entry.js} +2 -2
  779. package/{www/build/p-5c9243f9.entry.js → dist/ontario-design-system-components/p-deeb4109.entry.js} +2 -2
  780. package/{www/build/p-5d507ca1.entry.js → dist/ontario-design-system-components/p-df1fbb93.entry.js} +2 -2
  781. package/{www/build/p-ab13e2ea.entry.js → dist/ontario-design-system-components/p-df3ae0a8.entry.js} +2 -2
  782. package/{www/build/p-07428a55.entry.js → dist/ontario-design-system-components/p-e076287c.entry.js} +2 -2
  783. package/{www/build/p-1374d586.entry.js → dist/ontario-design-system-components/p-e3699001.entry.js} +7 -7
  784. package/{www/build/p-f204ad9e.entry.js → dist/ontario-design-system-components/p-e558a0c3.entry.js} +5 -5
  785. package/dist/ontario-design-system-components/{p-d3558489.entry.js → p-e7511cdf.entry.js} +2 -2
  786. package/dist/ontario-design-system-components/{p-48456d35.entry.js → p-e8d91fb5.entry.js} +2 -2
  787. package/{www/build/p-3e3d2425.entry.js → dist/ontario-design-system-components/p-f15c44b6.entry.js} +2 -2
  788. package/dist/ontario-design-system-components/{p-dd22c335.entry.js → p-f4864f2d.entry.js} +2 -2
  789. package/dist/ontario-design-system-components/{p-fcd689c7.entry.js → p-f5a300a4.entry.js} +2 -2
  790. package/{www/build/p-7b6a8b7e.entry.js → dist/ontario-design-system-components/p-fc8177ed.entry.js} +13 -13
  791. package/{www/build/p-1c0d93e3.entry.js → dist/ontario-design-system-components/p-fe2f2364.entry.js} +2 -2
  792. package/{www/build/p-1c14d2da.entry.js → dist/ontario-design-system-components/p-ff1b397e.entry.js} +7 -7
  793. package/dist/types/global.d.ts +0 -1
  794. package/package.json +3 -3
  795. package/src/components/ontario-badge/ontario-badge.scss +1 -1
  796. package/src/components/ontario-blockquote/ontario-blockquote.scss +1 -1
  797. package/src/components/ontario-loading-indicator/ontario-loading-indicator.scss +1 -1
  798. package/src/components/ontario-radio-buttons/ontario-radio-buttons.scss +1 -1
  799. package/src/global.ts +1 -7
  800. package/www/build/ontario-design-system-components.css +286 -35
  801. package/www/build/ontario-design-system-components.esm.js +3 -3
  802. package/{dist/ontario-design-system-components/p-8da90bb4.entry.js → www/build/p-0164666e.entry.js} +13 -13
  803. package/{dist/ontario-design-system-components/p-26869e8a.entry.js → www/build/p-06397814.entry.js} +13 -13
  804. package/{dist/ontario-design-system-components/p-9a2f8c1c.entry.js → www/build/p-073230c2.entry.js} +2 -2
  805. package/{dist/ontario-design-system-components/p-a461ae95.entry.js → www/build/p-0b4f9ec0.entry.js} +2 -2
  806. package/{dist/ontario-design-system-components/p-c47ab092.entry.js → www/build/p-0dd3dffd.entry.js} +2 -2
  807. package/{dist/ontario-design-system-components/p-0400c437.entry.js → www/build/p-11d753b7.entry.js} +2 -2
  808. package/{dist/ontario-design-system-components/p-3e109675.entry.js → www/build/p-12f0f2b4.entry.js} +2 -2
  809. package/{dist/ontario-design-system-components/p-20f62402.entry.js → www/build/p-15df0107.entry.js} +2 -2
  810. package/www/build/{p-e7ad9cd1.entry.js → p-17407497.entry.js} +2 -2
  811. package/{dist/ontario-design-system-components/p-89cf474d.entry.js → www/build/p-19c27012.entry.js} +7 -7
  812. package/{dist/ontario-design-system-components/p-c1020e95.entry.js → www/build/p-1a658564.entry.js} +2 -2
  813. package/www/build/{p-0221d644.entry.js → p-1b13bdbb.entry.js} +2 -2
  814. package/{dist/ontario-design-system-components/p-2d7877ad.entry.js → www/build/p-1b6c3d61.entry.js} +2 -2
  815. package/www/build/{p-18dcdedf.entry.js → p-201594dc.entry.js} +13 -13
  816. package/www/build/{p-dd5f9666.entry.js → p-224ac275.entry.js} +2 -2
  817. package/{dist/ontario-design-system-components/p-5447e1f9.entry.js → www/build/p-2308cab7.entry.js} +13 -13
  818. package/{dist/ontario-design-system-components/p-f16d8dc2.entry.js → www/build/p-2341df54.entry.js} +13 -13
  819. package/www/build/{p-d22c81fd.entry.js → p-2a365fec.entry.js} +2 -2
  820. package/www/build/{p-f786feb3.entry.js → p-2e845374.entry.js} +13 -13
  821. package/www/build/{p-b9d1d9dd.entry.js → p-2ed7f164.entry.js} +2 -2
  822. package/www/build/{p-58cf7ae0.entry.js → p-2ef0057e.entry.js} +2 -2
  823. package/{dist/ontario-design-system-components/p-317cf15a.entry.js → www/build/p-3459dfba.entry.js} +12 -12
  824. package/{dist/ontario-design-system-components/p-71177432.entry.js → www/build/p-399b16d4.entry.js} +2 -2
  825. package/www/build/{p-75dc5ad3.js → p-399dfa9e.js} +3 -3
  826. package/{dist/ontario-design-system-components/p-ec256ee9.entry.js → www/build/p-3cb71072.entry.js} +2 -2
  827. package/www/build/{p-52119535.entry.js → p-40771f5b.entry.js} +2 -2
  828. package/{dist/ontario-design-system-components/p-369053ef.entry.js → www/build/p-4366f704.entry.js} +2 -2
  829. package/{dist/ontario-design-system-components/p-9bf9b376.entry.js → www/build/p-43734e72.entry.js} +2 -2
  830. package/www/build/{p-7a368819.entry.js → p-4622b378.entry.js} +2 -2
  831. package/{dist/ontario-design-system-components/p-e1e13291.entry.js → www/build/p-4e1ca81b.entry.js} +13 -13
  832. package/www/build/{p-f0474488.entry.js → p-5257d724.entry.js} +2 -2
  833. package/{dist/ontario-design-system-components/p-8b1ecff0.entry.js → www/build/p-55002351.entry.js} +63 -63
  834. package/www/build/p-55002351.entry.js.map +1 -0
  835. package/www/build/{p-2a4a46c0.entry.js → p-59b2a51d.entry.js} +2 -2
  836. package/www/build/{p-161bb74f.entry.js → p-59f23a25.entry.js} +13 -13
  837. package/{dist/ontario-design-system-components/p-a6bcce90.entry.js → www/build/p-5ef3b2cc.entry.js} +13 -13
  838. package/www/build/{p-5b4261df.entry.js → p-5fa71c0d.entry.js} +2 -2
  839. package/www/build/{p-f82546f5.entry.js → p-61612d3e.entry.js} +2 -2
  840. package/{dist/ontario-design-system-components/p-0c1e47a5.entry.js → www/build/p-66bf6e42.entry.js} +2 -2
  841. package/www/build/{p-bd9e45d7.entry.js → p-66c93663.entry.js} +2 -2
  842. package/www/build/{p-f4cf14ae.entry.js → p-66f53f37.entry.js} +2 -2
  843. package/{dist/ontario-design-system-components/p-13838b64.entry.js → www/build/p-696a1b00.entry.js} +2 -2
  844. package/www/build/{p-6f7aa788.entry.js → p-6e1b8a34.entry.js} +2 -2
  845. package/{dist/ontario-design-system-components/p-35ca52cb.entry.js → www/build/p-73a29c94.entry.js} +2 -2
  846. package/www/build/{p-80a3db9a.entry.js → p-76a2f0c7.entry.js} +2 -2
  847. package/www/build/{p-7d8118ba.entry.js → p-7818d8a2.entry.js} +2 -2
  848. package/www/build/{p-8a933021.entry.js → p-799e9674.entry.js} +2 -2
  849. package/www/build/{p-9304f671.entry.js → p-7e7c7dd2.entry.js} +2 -2
  850. package/www/build/{p-e89c0127.entry.js → p-805cdde0.entry.js} +2 -2
  851. package/{dist/ontario-design-system-components/p-f10e5b74.entry.js → www/build/p-83127110.entry.js} +2 -2
  852. package/www/build/{p-9cf81533.entry.js → p-84bff712.entry.js} +13 -13
  853. package/{dist/ontario-design-system-components/p-bfe43b37.entry.js → www/build/p-85f4e413.entry.js} +13 -13
  854. package/{dist/ontario-design-system-components/p-293e29db.entry.js → www/build/p-8788910b.entry.js} +13 -13
  855. package/{dist/ontario-design-system-components/p-7b751e88.entry.js → www/build/p-8fccb34c.entry.js} +2 -2
  856. package/{dist/ontario-design-system-components/p-8d55ecee.entry.js → www/build/p-9450f10f.entry.js} +2 -2
  857. package/{dist/ontario-design-system-components/p-94cb299b.entry.js → www/build/p-95d2c69f.entry.js} +2 -2
  858. package/www/build/{p-70c909dd.entry.js → p-9ebd9d9c.entry.js} +13 -13
  859. package/www/build/p-Z6XKfgxi.js +1458 -0
  860. package/www/build/p-Z6XKfgxi.js.map +1 -0
  861. package/www/build/{p-76996ce0.entry.js → p-a1171a59.entry.js} +2 -2
  862. package/{dist/ontario-design-system-components/p-89488ad4.entry.js → www/build/p-a4448b11.entry.js} +13 -13
  863. package/{dist/ontario-design-system-components/p-08bbe9ce.entry.js → www/build/p-a528a1ca.entry.js} +2 -2
  864. package/www/build/{p-77459959.css → p-a661bec6.css} +286 -35
  865. package/www/build/{p-e20329bb.entry.js → p-a9216eae.entry.js} +2 -2
  866. package/{dist/ontario-design-system-components/p-f3c26f46.entry.js → www/build/p-a9c103cf.entry.js} +13 -13
  867. package/{dist/ontario-design-system-components/p-8e6179ba.entry.js → www/build/p-aab543f6.entry.js} +2 -2
  868. package/{dist/ontario-design-system-components/p-b6c5d12d.entry.js → www/build/p-aed58958.entry.js} +2 -2
  869. package/www/build/{p-c8e904b7.entry.js → p-af452b01.entry.js} +2 -2
  870. package/www/build/{p-0a310bef.entry.js → p-af865300.entry.js} +2 -2
  871. package/{dist/ontario-design-system-components/p-d131b3d0.entry.js → www/build/p-b06f6e12.entry.js} +9 -9
  872. package/{dist/ontario-design-system-components/p-133c95cd.entry.js → www/build/p-b1c01063.entry.js} +5 -5
  873. package/{dist/ontario-design-system-components/p-0e358c50.entry.js → www/build/p-b47a18b8.entry.js} +2 -2
  874. package/www/build/{p-75a672cc.entry.js → p-b7ea81d2.entry.js} +2 -2
  875. package/{dist/ontario-design-system-components/p-2fe2bd8b.entry.js → www/build/p-b96cbcc5.entry.js} +13 -13
  876. package/www/build/{p-2405deb7.entry.js → p-b9a60843.entry.js} +2 -2
  877. package/www/build/{p-dd18474e.entry.js → p-bf53ed44.entry.js} +2 -2
  878. package/www/build/{p-67d32252.entry.js → p-c30623c7.entry.js} +2 -2
  879. package/www/build/{p-dceb04cc.entry.js → p-c9cdcee1.entry.js} +2 -2
  880. package/{dist/ontario-design-system-components/p-5e4cb73b.entry.js → www/build/p-cc3e3d4c.entry.js} +13 -13
  881. package/{dist/ontario-design-system-components/p-9a3b5e95.entry.js → www/build/p-cca22349.entry.js} +2 -2
  882. package/{dist/ontario-design-system-components/p-674ee78d.entry.js → www/build/p-cfbaaed2.entry.js} +2 -2
  883. package/www/build/{p-da6da0c3.entry.js → p-d340442c.entry.js} +2 -2
  884. package/www/build/{p-7cae8647.entry.js → p-d40a8f30.entry.js} +2 -2
  885. package/{dist/ontario-design-system-components/p-b56a95dd.entry.js → www/build/p-d4dfdd88.entry.js} +2 -2
  886. package/www/build/{p-86448a01.entry.js → p-d7a79820.entry.js} +2 -2
  887. package/{dist/ontario-design-system-components/p-1099ac4a.entry.js → www/build/p-dba8a3d4.entry.js} +2 -2
  888. package/www/build/{p-2107ed20.entry.js → p-ded78746.entry.js} +2 -2
  889. package/{dist/ontario-design-system-components/p-5c9243f9.entry.js → www/build/p-deeb4109.entry.js} +2 -2
  890. package/{dist/ontario-design-system-components/p-5d507ca1.entry.js → www/build/p-df1fbb93.entry.js} +2 -2
  891. package/{dist/ontario-design-system-components/p-ab13e2ea.entry.js → www/build/p-df3ae0a8.entry.js} +2 -2
  892. package/{dist/ontario-design-system-components/p-07428a55.entry.js → www/build/p-e076287c.entry.js} +2 -2
  893. package/{dist/ontario-design-system-components/p-1374d586.entry.js → www/build/p-e3699001.entry.js} +7 -7
  894. package/{dist/ontario-design-system-components/p-f204ad9e.entry.js → www/build/p-e558a0c3.entry.js} +5 -5
  895. package/www/build/{p-d3558489.entry.js → p-e7511cdf.entry.js} +2 -2
  896. package/www/build/{p-48456d35.entry.js → p-e8d91fb5.entry.js} +2 -2
  897. package/{dist/ontario-design-system-components/p-3e3d2425.entry.js → www/build/p-f15c44b6.entry.js} +2 -2
  898. package/www/build/{p-dd22c335.entry.js → p-f4864f2d.entry.js} +2 -2
  899. package/www/build/{p-fcd689c7.entry.js → p-f5a300a4.entry.js} +2 -2
  900. package/{dist/ontario-design-system-components/p-7b6a8b7e.entry.js → www/build/p-fc8177ed.entry.js} +13 -13
  901. package/{dist/ontario-design-system-components/p-1c0d93e3.entry.js → www/build/p-fe2f2364.entry.js} +2 -2
  902. package/{dist/ontario-design-system-components/p-1c14d2da.entry.js → www/build/p-ff1b397e.entry.js} +7 -7
  903. package/www/fonts/courier-prime-400/courier-prime-400.otf +0 -0
  904. package/www/fonts/courier-prime-400/courier-prime-400.woff2 +0 -0
  905. package/www/fonts/courier-prime-400--italic/courier-prime-400--italic.otf +0 -0
  906. package/www/fonts/courier-prime-400--italic/courier-prime-400--italic.woff2 +0 -0
  907. package/www/fonts/courier-prime-700/courier-prime-700.otf +0 -0
  908. package/www/fonts/courier-prime-700/courier-prime-700.woff2 +0 -0
  909. package/www/fonts/courier-prime-700--italic/courier-prime-700--italic.otf +0 -0
  910. package/www/fonts/courier-prime-700--italic/courier-prime-700--italic.woff2 +0 -0
  911. package/{dist/collection/fonts → www/fonts/license}/OFL.txt +2 -2
  912. package/www/fonts/open-sans-300/open-sans-300.otf +0 -0
  913. package/www/fonts/open-sans-300/open-sans-300.woff2 +0 -0
  914. package/www/fonts/open-sans-300--italic/open-sans-300--italic.otf +0 -0
  915. package/www/fonts/open-sans-300--italic/open-sans-300--italic.woff2 +0 -0
  916. package/www/fonts/open-sans-400/open-sans-400.otf +0 -0
  917. package/www/fonts/open-sans-400/open-sans-400.woff2 +0 -0
  918. package/www/fonts/open-sans-400--italic/open-sans-400--italic.otf +0 -0
  919. package/www/fonts/open-sans-400--italic/open-sans-400--italic.woff2 +0 -0
  920. package/www/fonts/open-sans-500/open-sans-500.otf +0 -0
  921. package/www/fonts/open-sans-500/open-sans-500.ttf +0 -0
  922. package/www/fonts/open-sans-500/open-sans-500.woff2 +0 -0
  923. package/www/fonts/open-sans-500--italic/open-sans-500--italic.otf +0 -0
  924. package/www/fonts/open-sans-500--italic/open-sans-500--italic.ttf +0 -0
  925. package/www/fonts/open-sans-500--italic/open-sans-500--italic.woff2 +0 -0
  926. package/www/fonts/open-sans-600/open-sans-600.otf +0 -0
  927. package/www/fonts/open-sans-600/open-sans-600.woff2 +0 -0
  928. package/www/fonts/open-sans-600--italic/open-sans-600--italic.otf +0 -0
  929. package/www/fonts/open-sans-600--italic/open-sans-600--italic.woff2 +0 -0
  930. package/www/fonts/open-sans-700/open-sans-700.otf +0 -0
  931. package/www/fonts/open-sans-700/open-sans-700.woff2 +0 -0
  932. package/www/fonts/open-sans-700--italic/open-sans-700--italic.otf +0 -0
  933. package/www/fonts/open-sans-700--italic/open-sans-700--italic.woff2 +0 -0
  934. package/www/fonts/open-sans-800/open-sans-800.otf +0 -0
  935. package/www/fonts/open-sans-800/open-sans-800.ttf +0 -0
  936. package/www/fonts/open-sans-800/open-sans-800.woff2 +0 -0
  937. package/www/fonts/open-sans-800--italic/open-sans-800--italic.otf +0 -0
  938. package/www/fonts/open-sans-800--italic/open-sans-800--italic.ttf +0 -0
  939. package/www/fonts/open-sans-800--italic/open-sans-800--italic.woff2 +0 -0
  940. package/www/fonts/raleway-modified-100/raleway-modified-100.otf +0 -0
  941. package/www/fonts/raleway-modified-100/raleway-modified-100.ttf +0 -0
  942. package/www/fonts/raleway-modified-100/raleway-modified-100.woff2 +0 -0
  943. package/www/fonts/raleway-modified-100--italic/raleway-modified-100--italic.otf +0 -0
  944. package/www/fonts/raleway-modified-100--italic/raleway-modified-100--italic.ttf +0 -0
  945. package/www/fonts/raleway-modified-100--italic/raleway-modified-100--italic.woff2 +0 -0
  946. package/www/fonts/raleway-modified-200/raleway-modified-200.otf +0 -0
  947. package/www/fonts/raleway-modified-200/raleway-modified-200.ttf +0 -0
  948. package/www/fonts/raleway-modified-200/raleway-modified-200.woff2 +0 -0
  949. package/www/fonts/raleway-modified-200--italic/raleway-modified-200--italic.otf +0 -0
  950. package/www/fonts/raleway-modified-200--italic/raleway-modified-200--italic.ttf +0 -0
  951. package/www/fonts/raleway-modified-200--italic/raleway-modified-200--italic.woff2 +0 -0
  952. package/www/fonts/raleway-modified-300/raleway-modified-300.otf +0 -0
  953. package/www/fonts/raleway-modified-300/raleway-modified-300.ttf +0 -0
  954. package/www/fonts/raleway-modified-300/raleway-modified-300.woff2 +0 -0
  955. package/www/fonts/raleway-modified-300--italic/raleway-modified-300--italic.otf +0 -0
  956. package/www/fonts/raleway-modified-300--italic/raleway-modified-300--italic.ttf +0 -0
  957. package/www/fonts/raleway-modified-300--italic/raleway-modified-300--italic.woff2 +0 -0
  958. package/www/fonts/raleway-modified-400/raleway-modified-400.otf +0 -0
  959. package/www/fonts/raleway-modified-400/raleway-modified-400.ttf +0 -0
  960. package/www/fonts/raleway-modified-400/raleway-modified-400.woff2 +0 -0
  961. package/www/fonts/raleway-modified-400--italic/raleway-modified-400--italic.otf +0 -0
  962. package/www/fonts/raleway-modified-400--italic/raleway-modified-400--italic.ttf +0 -0
  963. package/www/fonts/raleway-modified-400--italic/raleway-modified-400--italic.woff2 +0 -0
  964. package/www/fonts/raleway-modified-500/raleway-modified-500.otf +0 -0
  965. package/www/fonts/raleway-modified-500/raleway-modified-500.ttf +0 -0
  966. package/www/fonts/raleway-modified-500/raleway-modified-500.woff2 +0 -0
  967. package/www/fonts/raleway-modified-500--italic/raleway-modified-500--italic.otf +0 -0
  968. package/www/fonts/raleway-modified-500--italic/raleway-modified-500--italic.ttf +0 -0
  969. package/www/fonts/raleway-modified-500--italic/raleway-modified-500--italic.woff2 +0 -0
  970. package/www/fonts/raleway-modified-600/raleway-modified-600.otf +0 -0
  971. package/www/fonts/raleway-modified-600/raleway-modified-600.ttf +0 -0
  972. package/www/fonts/raleway-modified-600/raleway-modified-600.woff2 +0 -0
  973. package/www/fonts/raleway-modified-600--italic/raleway-modified-600--italic.otf +0 -0
  974. package/www/fonts/raleway-modified-600--italic/raleway-modified-600--italic.ttf +0 -0
  975. package/www/fonts/raleway-modified-600--italic/raleway-modified-600--italic.woff2 +0 -0
  976. package/www/fonts/raleway-modified-700/raleway-modified-700.otf +0 -0
  977. package/www/fonts/raleway-modified-700/raleway-modified-700.ttf +0 -0
  978. package/www/fonts/raleway-modified-700/raleway-modified-700.woff2 +0 -0
  979. package/www/fonts/raleway-modified-700--italic/raleway-modified-700--italic.otf +0 -0
  980. package/www/fonts/raleway-modified-700--italic/raleway-modified-700--italic.ttf +0 -0
  981. package/www/fonts/raleway-modified-700--italic/raleway-modified-700--italic.woff2 +0 -0
  982. package/www/fonts/raleway-modified-800/raleway-modified-800.otf +0 -0
  983. package/www/fonts/raleway-modified-800/raleway-modified-800.ttf +0 -0
  984. package/www/fonts/raleway-modified-800/raleway-modified-800.woff2 +0 -0
  985. package/www/fonts/raleway-modified-800--italic/raleway-modified-800--italic.otf +0 -0
  986. package/www/fonts/raleway-modified-800--italic/raleway-modified-800--italic.ttf +0 -0
  987. package/www/fonts/raleway-modified-800--italic/raleway-modified-800--italic.woff2 +0 -0
  988. package/www/fonts/raleway-modified-900/raleway-modified-900.otf +0 -0
  989. package/www/fonts/raleway-modified-900/raleway-modified-900.ttf +0 -0
  990. package/www/fonts/raleway-modified-900/raleway-modified-900.woff2 +0 -0
  991. package/www/fonts/raleway-modified-900--italic/raleway-modified-900--italic.otf +0 -0
  992. package/www/fonts/raleway-modified-900--italic/raleway-modified-900--italic.ttf +0 -0
  993. package/www/fonts/raleway-modified-900--italic/raleway-modified-900--italic.woff2 +0 -0
  994. package/www/index.html +4 -4
  995. package/dist/cjs/index-DeXrJ2qJ.js.map +0 -1
  996. package/dist/components/p-DFHrahxt.js.map +0 -1
  997. package/dist/esm/index-Cc98g_3o.js.map +0 -1
  998. package/dist/ontario-design-system-components/p-8b1ecff0.entry.js.map +0 -1
  999. package/dist/ontario-design-system-components/p-Cc98g_3o.js +0 -1458
  1000. package/dist/ontario-design-system-components/p-Cc98g_3o.js.map +0 -1
  1001. package/www/build/p-8b1ecff0.entry.js.map +0 -1
  1002. package/www/build/p-Cc98g_3o.js +0 -1458
  1003. package/www/build/p-Cc98g_3o.js.map +0 -1
  1004. /package/dist/ontario-design-system-components/{p-8da90bb4.entry.js.map → p-0164666e.entry.js.map} +0 -0
  1005. /package/dist/ontario-design-system-components/{p-26869e8a.entry.js.map → p-06397814.entry.js.map} +0 -0
  1006. /package/dist/ontario-design-system-components/{p-9a2f8c1c.entry.js.map → p-073230c2.entry.js.map} +0 -0
  1007. /package/dist/ontario-design-system-components/{p-a461ae95.entry.js.map → p-0b4f9ec0.entry.js.map} +0 -0
  1008. /package/dist/ontario-design-system-components/{p-c47ab092.entry.js.map → p-0dd3dffd.entry.js.map} +0 -0
  1009. /package/dist/ontario-design-system-components/{p-0400c437.entry.js.map → p-11d753b7.entry.js.map} +0 -0
  1010. /package/dist/ontario-design-system-components/{p-3e109675.entry.js.map → p-12f0f2b4.entry.js.map} +0 -0
  1011. /package/dist/ontario-design-system-components/{p-20f62402.entry.js.map → p-15df0107.entry.js.map} +0 -0
  1012. /package/dist/ontario-design-system-components/{p-e7ad9cd1.entry.js.map → p-17407497.entry.js.map} +0 -0
  1013. /package/dist/ontario-design-system-components/{p-89cf474d.entry.js.map → p-19c27012.entry.js.map} +0 -0
  1014. /package/dist/ontario-design-system-components/{p-c1020e95.entry.js.map → p-1a658564.entry.js.map} +0 -0
  1015. /package/dist/ontario-design-system-components/{p-0221d644.entry.js.map → p-1b13bdbb.entry.js.map} +0 -0
  1016. /package/dist/ontario-design-system-components/{p-2d7877ad.entry.js.map → p-1b6c3d61.entry.js.map} +0 -0
  1017. /package/dist/ontario-design-system-components/{p-18dcdedf.entry.js.map → p-201594dc.entry.js.map} +0 -0
  1018. /package/dist/ontario-design-system-components/{p-dd5f9666.entry.js.map → p-224ac275.entry.js.map} +0 -0
  1019. /package/dist/ontario-design-system-components/{p-5447e1f9.entry.js.map → p-2308cab7.entry.js.map} +0 -0
  1020. /package/dist/ontario-design-system-components/{p-f16d8dc2.entry.js.map → p-2341df54.entry.js.map} +0 -0
  1021. /package/dist/ontario-design-system-components/{p-d22c81fd.entry.js.map → p-2a365fec.entry.js.map} +0 -0
  1022. /package/dist/ontario-design-system-components/{p-f786feb3.entry.js.map → p-2e845374.entry.js.map} +0 -0
  1023. /package/dist/ontario-design-system-components/{p-b9d1d9dd.entry.js.map → p-2ed7f164.entry.js.map} +0 -0
  1024. /package/dist/ontario-design-system-components/{p-58cf7ae0.entry.js.map → p-2ef0057e.entry.js.map} +0 -0
  1025. /package/dist/ontario-design-system-components/{p-317cf15a.entry.js.map → p-3459dfba.entry.js.map} +0 -0
  1026. /package/dist/ontario-design-system-components/{p-71177432.entry.js.map → p-399b16d4.entry.js.map} +0 -0
  1027. /package/dist/ontario-design-system-components/{p-ec256ee9.entry.js.map → p-3cb71072.entry.js.map} +0 -0
  1028. /package/dist/ontario-design-system-components/{p-52119535.entry.js.map → p-40771f5b.entry.js.map} +0 -0
  1029. /package/dist/ontario-design-system-components/{p-369053ef.entry.js.map → p-4366f704.entry.js.map} +0 -0
  1030. /package/dist/ontario-design-system-components/{p-9bf9b376.entry.js.map → p-43734e72.entry.js.map} +0 -0
  1031. /package/dist/ontario-design-system-components/{p-7a368819.entry.js.map → p-4622b378.entry.js.map} +0 -0
  1032. /package/dist/ontario-design-system-components/{p-e1e13291.entry.js.map → p-4e1ca81b.entry.js.map} +0 -0
  1033. /package/dist/ontario-design-system-components/{p-f0474488.entry.js.map → p-5257d724.entry.js.map} +0 -0
  1034. /package/dist/ontario-design-system-components/{p-2a4a46c0.entry.js.map → p-59b2a51d.entry.js.map} +0 -0
  1035. /package/dist/ontario-design-system-components/{p-161bb74f.entry.js.map → p-59f23a25.entry.js.map} +0 -0
  1036. /package/dist/ontario-design-system-components/{p-a6bcce90.entry.js.map → p-5ef3b2cc.entry.js.map} +0 -0
  1037. /package/dist/ontario-design-system-components/{p-5b4261df.entry.js.map → p-5fa71c0d.entry.js.map} +0 -0
  1038. /package/dist/ontario-design-system-components/{p-f82546f5.entry.js.map → p-61612d3e.entry.js.map} +0 -0
  1039. /package/dist/ontario-design-system-components/{p-0c1e47a5.entry.js.map → p-66bf6e42.entry.js.map} +0 -0
  1040. /package/dist/ontario-design-system-components/{p-bd9e45d7.entry.js.map → p-66c93663.entry.js.map} +0 -0
  1041. /package/dist/ontario-design-system-components/{p-f4cf14ae.entry.js.map → p-66f53f37.entry.js.map} +0 -0
  1042. /package/dist/ontario-design-system-components/{p-13838b64.entry.js.map → p-696a1b00.entry.js.map} +0 -0
  1043. /package/dist/ontario-design-system-components/{p-6f7aa788.entry.js.map → p-6e1b8a34.entry.js.map} +0 -0
  1044. /package/dist/ontario-design-system-components/{p-35ca52cb.entry.js.map → p-73a29c94.entry.js.map} +0 -0
  1045. /package/dist/ontario-design-system-components/{p-80a3db9a.entry.js.map → p-76a2f0c7.entry.js.map} +0 -0
  1046. /package/dist/ontario-design-system-components/{p-7d8118ba.entry.js.map → p-7818d8a2.entry.js.map} +0 -0
  1047. /package/dist/ontario-design-system-components/{p-8a933021.entry.js.map → p-799e9674.entry.js.map} +0 -0
  1048. /package/dist/ontario-design-system-components/{p-9304f671.entry.js.map → p-7e7c7dd2.entry.js.map} +0 -0
  1049. /package/dist/ontario-design-system-components/{p-e89c0127.entry.js.map → p-805cdde0.entry.js.map} +0 -0
  1050. /package/dist/ontario-design-system-components/{p-f10e5b74.entry.js.map → p-83127110.entry.js.map} +0 -0
  1051. /package/dist/ontario-design-system-components/{p-9cf81533.entry.js.map → p-84bff712.entry.js.map} +0 -0
  1052. /package/dist/ontario-design-system-components/{p-bfe43b37.entry.js.map → p-85f4e413.entry.js.map} +0 -0
  1053. /package/dist/ontario-design-system-components/{p-293e29db.entry.js.map → p-8788910b.entry.js.map} +0 -0
  1054. /package/dist/ontario-design-system-components/{p-7b751e88.entry.js.map → p-8fccb34c.entry.js.map} +0 -0
  1055. /package/dist/ontario-design-system-components/{p-8d55ecee.entry.js.map → p-9450f10f.entry.js.map} +0 -0
  1056. /package/dist/ontario-design-system-components/{p-94cb299b.entry.js.map → p-95d2c69f.entry.js.map} +0 -0
  1057. /package/dist/ontario-design-system-components/{p-70c909dd.entry.js.map → p-9ebd9d9c.entry.js.map} +0 -0
  1058. /package/dist/ontario-design-system-components/{p-76996ce0.entry.js.map → p-a1171a59.entry.js.map} +0 -0
  1059. /package/dist/ontario-design-system-components/{p-89488ad4.entry.js.map → p-a4448b11.entry.js.map} +0 -0
  1060. /package/dist/ontario-design-system-components/{p-08bbe9ce.entry.js.map → p-a528a1ca.entry.js.map} +0 -0
  1061. /package/dist/ontario-design-system-components/{p-e20329bb.entry.js.map → p-a9216eae.entry.js.map} +0 -0
  1062. /package/dist/ontario-design-system-components/{p-f3c26f46.entry.js.map → p-a9c103cf.entry.js.map} +0 -0
  1063. /package/dist/ontario-design-system-components/{p-8e6179ba.entry.js.map → p-aab543f6.entry.js.map} +0 -0
  1064. /package/dist/ontario-design-system-components/{p-b6c5d12d.entry.js.map → p-aed58958.entry.js.map} +0 -0
  1065. /package/dist/ontario-design-system-components/{p-c8e904b7.entry.js.map → p-af452b01.entry.js.map} +0 -0
  1066. /package/dist/ontario-design-system-components/{p-0a310bef.entry.js.map → p-af865300.entry.js.map} +0 -0
  1067. /package/dist/ontario-design-system-components/{p-d131b3d0.entry.js.map → p-b06f6e12.entry.js.map} +0 -0
  1068. /package/dist/ontario-design-system-components/{p-133c95cd.entry.js.map → p-b1c01063.entry.js.map} +0 -0
  1069. /package/dist/ontario-design-system-components/{p-0e358c50.entry.js.map → p-b47a18b8.entry.js.map} +0 -0
  1070. /package/dist/ontario-design-system-components/{p-75a672cc.entry.js.map → p-b7ea81d2.entry.js.map} +0 -0
  1071. /package/dist/ontario-design-system-components/{p-2fe2bd8b.entry.js.map → p-b96cbcc5.entry.js.map} +0 -0
  1072. /package/dist/ontario-design-system-components/{p-2405deb7.entry.js.map → p-b9a60843.entry.js.map} +0 -0
  1073. /package/dist/ontario-design-system-components/{p-dd18474e.entry.js.map → p-bf53ed44.entry.js.map} +0 -0
  1074. /package/dist/ontario-design-system-components/{p-67d32252.entry.js.map → p-c30623c7.entry.js.map} +0 -0
  1075. /package/dist/ontario-design-system-components/{p-dceb04cc.entry.js.map → p-c9cdcee1.entry.js.map} +0 -0
  1076. /package/dist/ontario-design-system-components/{p-5e4cb73b.entry.js.map → p-cc3e3d4c.entry.js.map} +0 -0
  1077. /package/dist/ontario-design-system-components/{p-9a3b5e95.entry.js.map → p-cca22349.entry.js.map} +0 -0
  1078. /package/dist/ontario-design-system-components/{p-674ee78d.entry.js.map → p-cfbaaed2.entry.js.map} +0 -0
  1079. /package/dist/ontario-design-system-components/{p-da6da0c3.entry.js.map → p-d340442c.entry.js.map} +0 -0
  1080. /package/dist/ontario-design-system-components/{p-7cae8647.entry.js.map → p-d40a8f30.entry.js.map} +0 -0
  1081. /package/dist/ontario-design-system-components/{p-b56a95dd.entry.js.map → p-d4dfdd88.entry.js.map} +0 -0
  1082. /package/dist/ontario-design-system-components/{p-86448a01.entry.js.map → p-d7a79820.entry.js.map} +0 -0
  1083. /package/dist/ontario-design-system-components/{p-1099ac4a.entry.js.map → p-dba8a3d4.entry.js.map} +0 -0
  1084. /package/dist/ontario-design-system-components/{p-2107ed20.entry.js.map → p-ded78746.entry.js.map} +0 -0
  1085. /package/dist/ontario-design-system-components/{p-5c9243f9.entry.js.map → p-deeb4109.entry.js.map} +0 -0
  1086. /package/dist/ontario-design-system-components/{p-5d507ca1.entry.js.map → p-df1fbb93.entry.js.map} +0 -0
  1087. /package/dist/ontario-design-system-components/{p-ab13e2ea.entry.js.map → p-df3ae0a8.entry.js.map} +0 -0
  1088. /package/dist/ontario-design-system-components/{p-07428a55.entry.js.map → p-e076287c.entry.js.map} +0 -0
  1089. /package/dist/ontario-design-system-components/{p-1374d586.entry.js.map → p-e3699001.entry.js.map} +0 -0
  1090. /package/dist/ontario-design-system-components/{p-f204ad9e.entry.js.map → p-e558a0c3.entry.js.map} +0 -0
  1091. /package/dist/ontario-design-system-components/{p-d3558489.entry.js.map → p-e7511cdf.entry.js.map} +0 -0
  1092. /package/dist/ontario-design-system-components/{p-48456d35.entry.js.map → p-e8d91fb5.entry.js.map} +0 -0
  1093. /package/dist/ontario-design-system-components/{p-3e3d2425.entry.js.map → p-f15c44b6.entry.js.map} +0 -0
  1094. /package/dist/ontario-design-system-components/{p-dd22c335.entry.js.map → p-f4864f2d.entry.js.map} +0 -0
  1095. /package/dist/ontario-design-system-components/{p-fcd689c7.entry.js.map → p-f5a300a4.entry.js.map} +0 -0
  1096. /package/dist/ontario-design-system-components/{p-7b6a8b7e.entry.js.map → p-fc8177ed.entry.js.map} +0 -0
  1097. /package/dist/ontario-design-system-components/{p-1c0d93e3.entry.js.map → p-fe2f2364.entry.js.map} +0 -0
  1098. /package/dist/ontario-design-system-components/{p-1c14d2da.entry.js.map → p-ff1b397e.entry.js.map} +0 -0
  1099. /package/www/build/{p-8da90bb4.entry.js.map → p-0164666e.entry.js.map} +0 -0
  1100. /package/www/build/{p-26869e8a.entry.js.map → p-06397814.entry.js.map} +0 -0
  1101. /package/www/build/{p-9a2f8c1c.entry.js.map → p-073230c2.entry.js.map} +0 -0
  1102. /package/www/build/{p-a461ae95.entry.js.map → p-0b4f9ec0.entry.js.map} +0 -0
  1103. /package/www/build/{p-c47ab092.entry.js.map → p-0dd3dffd.entry.js.map} +0 -0
  1104. /package/www/build/{p-0400c437.entry.js.map → p-11d753b7.entry.js.map} +0 -0
  1105. /package/www/build/{p-3e109675.entry.js.map → p-12f0f2b4.entry.js.map} +0 -0
  1106. /package/www/build/{p-20f62402.entry.js.map → p-15df0107.entry.js.map} +0 -0
  1107. /package/www/build/{p-e7ad9cd1.entry.js.map → p-17407497.entry.js.map} +0 -0
  1108. /package/www/build/{p-89cf474d.entry.js.map → p-19c27012.entry.js.map} +0 -0
  1109. /package/www/build/{p-c1020e95.entry.js.map → p-1a658564.entry.js.map} +0 -0
  1110. /package/www/build/{p-0221d644.entry.js.map → p-1b13bdbb.entry.js.map} +0 -0
  1111. /package/www/build/{p-2d7877ad.entry.js.map → p-1b6c3d61.entry.js.map} +0 -0
  1112. /package/www/build/{p-18dcdedf.entry.js.map → p-201594dc.entry.js.map} +0 -0
  1113. /package/www/build/{p-dd5f9666.entry.js.map → p-224ac275.entry.js.map} +0 -0
  1114. /package/www/build/{p-5447e1f9.entry.js.map → p-2308cab7.entry.js.map} +0 -0
  1115. /package/www/build/{p-f16d8dc2.entry.js.map → p-2341df54.entry.js.map} +0 -0
  1116. /package/www/build/{p-d22c81fd.entry.js.map → p-2a365fec.entry.js.map} +0 -0
  1117. /package/www/build/{p-f786feb3.entry.js.map → p-2e845374.entry.js.map} +0 -0
  1118. /package/www/build/{p-b9d1d9dd.entry.js.map → p-2ed7f164.entry.js.map} +0 -0
  1119. /package/www/build/{p-58cf7ae0.entry.js.map → p-2ef0057e.entry.js.map} +0 -0
  1120. /package/www/build/{p-317cf15a.entry.js.map → p-3459dfba.entry.js.map} +0 -0
  1121. /package/www/build/{p-71177432.entry.js.map → p-399b16d4.entry.js.map} +0 -0
  1122. /package/www/build/{p-ec256ee9.entry.js.map → p-3cb71072.entry.js.map} +0 -0
  1123. /package/www/build/{p-52119535.entry.js.map → p-40771f5b.entry.js.map} +0 -0
  1124. /package/www/build/{p-369053ef.entry.js.map → p-4366f704.entry.js.map} +0 -0
  1125. /package/www/build/{p-9bf9b376.entry.js.map → p-43734e72.entry.js.map} +0 -0
  1126. /package/www/build/{p-7a368819.entry.js.map → p-4622b378.entry.js.map} +0 -0
  1127. /package/www/build/{p-e1e13291.entry.js.map → p-4e1ca81b.entry.js.map} +0 -0
  1128. /package/www/build/{p-f0474488.entry.js.map → p-5257d724.entry.js.map} +0 -0
  1129. /package/www/build/{p-2a4a46c0.entry.js.map → p-59b2a51d.entry.js.map} +0 -0
  1130. /package/www/build/{p-161bb74f.entry.js.map → p-59f23a25.entry.js.map} +0 -0
  1131. /package/www/build/{p-a6bcce90.entry.js.map → p-5ef3b2cc.entry.js.map} +0 -0
  1132. /package/www/build/{p-5b4261df.entry.js.map → p-5fa71c0d.entry.js.map} +0 -0
  1133. /package/www/build/{p-f82546f5.entry.js.map → p-61612d3e.entry.js.map} +0 -0
  1134. /package/www/build/{p-0c1e47a5.entry.js.map → p-66bf6e42.entry.js.map} +0 -0
  1135. /package/www/build/{p-bd9e45d7.entry.js.map → p-66c93663.entry.js.map} +0 -0
  1136. /package/www/build/{p-f4cf14ae.entry.js.map → p-66f53f37.entry.js.map} +0 -0
  1137. /package/www/build/{p-13838b64.entry.js.map → p-696a1b00.entry.js.map} +0 -0
  1138. /package/www/build/{p-6f7aa788.entry.js.map → p-6e1b8a34.entry.js.map} +0 -0
  1139. /package/www/build/{p-35ca52cb.entry.js.map → p-73a29c94.entry.js.map} +0 -0
  1140. /package/www/build/{p-80a3db9a.entry.js.map → p-76a2f0c7.entry.js.map} +0 -0
  1141. /package/www/build/{p-7d8118ba.entry.js.map → p-7818d8a2.entry.js.map} +0 -0
  1142. /package/www/build/{p-8a933021.entry.js.map → p-799e9674.entry.js.map} +0 -0
  1143. /package/www/build/{p-9304f671.entry.js.map → p-7e7c7dd2.entry.js.map} +0 -0
  1144. /package/www/build/{p-e89c0127.entry.js.map → p-805cdde0.entry.js.map} +0 -0
  1145. /package/www/build/{p-f10e5b74.entry.js.map → p-83127110.entry.js.map} +0 -0
  1146. /package/www/build/{p-9cf81533.entry.js.map → p-84bff712.entry.js.map} +0 -0
  1147. /package/www/build/{p-bfe43b37.entry.js.map → p-85f4e413.entry.js.map} +0 -0
  1148. /package/www/build/{p-293e29db.entry.js.map → p-8788910b.entry.js.map} +0 -0
  1149. /package/www/build/{p-7b751e88.entry.js.map → p-8fccb34c.entry.js.map} +0 -0
  1150. /package/www/build/{p-8d55ecee.entry.js.map → p-9450f10f.entry.js.map} +0 -0
  1151. /package/www/build/{p-94cb299b.entry.js.map → p-95d2c69f.entry.js.map} +0 -0
  1152. /package/www/build/{p-70c909dd.entry.js.map → p-9ebd9d9c.entry.js.map} +0 -0
  1153. /package/www/build/{p-76996ce0.entry.js.map → p-a1171a59.entry.js.map} +0 -0
  1154. /package/www/build/{p-89488ad4.entry.js.map → p-a4448b11.entry.js.map} +0 -0
  1155. /package/www/build/{p-08bbe9ce.entry.js.map → p-a528a1ca.entry.js.map} +0 -0
  1156. /package/www/build/{p-e20329bb.entry.js.map → p-a9216eae.entry.js.map} +0 -0
  1157. /package/www/build/{p-f3c26f46.entry.js.map → p-a9c103cf.entry.js.map} +0 -0
  1158. /package/www/build/{p-8e6179ba.entry.js.map → p-aab543f6.entry.js.map} +0 -0
  1159. /package/www/build/{p-b6c5d12d.entry.js.map → p-aed58958.entry.js.map} +0 -0
  1160. /package/www/build/{p-c8e904b7.entry.js.map → p-af452b01.entry.js.map} +0 -0
  1161. /package/www/build/{p-0a310bef.entry.js.map → p-af865300.entry.js.map} +0 -0
  1162. /package/www/build/{p-d131b3d0.entry.js.map → p-b06f6e12.entry.js.map} +0 -0
  1163. /package/www/build/{p-133c95cd.entry.js.map → p-b1c01063.entry.js.map} +0 -0
  1164. /package/www/build/{p-0e358c50.entry.js.map → p-b47a18b8.entry.js.map} +0 -0
  1165. /package/www/build/{p-75a672cc.entry.js.map → p-b7ea81d2.entry.js.map} +0 -0
  1166. /package/www/build/{p-2fe2bd8b.entry.js.map → p-b96cbcc5.entry.js.map} +0 -0
  1167. /package/www/build/{p-2405deb7.entry.js.map → p-b9a60843.entry.js.map} +0 -0
  1168. /package/www/build/{p-dd18474e.entry.js.map → p-bf53ed44.entry.js.map} +0 -0
  1169. /package/www/build/{p-67d32252.entry.js.map → p-c30623c7.entry.js.map} +0 -0
  1170. /package/www/build/{p-dceb04cc.entry.js.map → p-c9cdcee1.entry.js.map} +0 -0
  1171. /package/www/build/{p-5e4cb73b.entry.js.map → p-cc3e3d4c.entry.js.map} +0 -0
  1172. /package/www/build/{p-9a3b5e95.entry.js.map → p-cca22349.entry.js.map} +0 -0
  1173. /package/www/build/{p-674ee78d.entry.js.map → p-cfbaaed2.entry.js.map} +0 -0
  1174. /package/www/build/{p-da6da0c3.entry.js.map → p-d340442c.entry.js.map} +0 -0
  1175. /package/www/build/{p-7cae8647.entry.js.map → p-d40a8f30.entry.js.map} +0 -0
  1176. /package/www/build/{p-b56a95dd.entry.js.map → p-d4dfdd88.entry.js.map} +0 -0
  1177. /package/www/build/{p-86448a01.entry.js.map → p-d7a79820.entry.js.map} +0 -0
  1178. /package/www/build/{p-1099ac4a.entry.js.map → p-dba8a3d4.entry.js.map} +0 -0
  1179. /package/www/build/{p-2107ed20.entry.js.map → p-ded78746.entry.js.map} +0 -0
  1180. /package/www/build/{p-5c9243f9.entry.js.map → p-deeb4109.entry.js.map} +0 -0
  1181. /package/www/build/{p-5d507ca1.entry.js.map → p-df1fbb93.entry.js.map} +0 -0
  1182. /package/www/build/{p-ab13e2ea.entry.js.map → p-df3ae0a8.entry.js.map} +0 -0
  1183. /package/www/build/{p-07428a55.entry.js.map → p-e076287c.entry.js.map} +0 -0
  1184. /package/www/build/{p-1374d586.entry.js.map → p-e3699001.entry.js.map} +0 -0
  1185. /package/www/build/{p-f204ad9e.entry.js.map → p-e558a0c3.entry.js.map} +0 -0
  1186. /package/www/build/{p-d3558489.entry.js.map → p-e7511cdf.entry.js.map} +0 -0
  1187. /package/www/build/{p-48456d35.entry.js.map → p-e8d91fb5.entry.js.map} +0 -0
  1188. /package/www/build/{p-3e3d2425.entry.js.map → p-f15c44b6.entry.js.map} +0 -0
  1189. /package/www/build/{p-dd22c335.entry.js.map → p-f4864f2d.entry.js.map} +0 -0
  1190. /package/www/build/{p-fcd689c7.entry.js.map → p-f5a300a4.entry.js.map} +0 -0
  1191. /package/www/build/{p-7b6a8b7e.entry.js.map → p-fc8177ed.entry.js.map} +0 -0
  1192. /package/www/build/{p-1c0d93e3.entry.js.map → p-fe2f2364.entry.js.map} +0 -0
  1193. /package/www/build/{p-1c14d2da.entry.js.map → p-ff1b397e.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"ontario-icon-media-fast-rewind.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,4BAA0B,iBAAAC,kBAAA,CAAA,MAAA,0BAAA,SAAAC,CAAA,CAAA;;;;;;AACtC;;;AAGG;IACK,SAAS,GAAa,EAAE;AAEhC;;;AAGG;AACM,IAAA,cAAc;AAEvB;;;AAGG;IAEH,aAAa,GAAA;QACZ,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,EAAE;AAC7E,YAAA,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE;YACzC;AACE,iBAAA,kBAAkB;iBAClB,gBAAgB,CAAC,cAAc;iBAC/B,cAAc,CAAC,IAAI;iBACnB,gBAAgB,CAAC,oCAAoC;AACrD,iBAAA,cAAc,CACd,CACC,EAAA,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,gCAAgC,GAAG,8BAC5D,0DAA0D;iBAE1D,gBAAgB,CAAC,QAAQ;iBACzB,cAAc,CAAC,cAAc;AAC7B,iBAAA,YAAY,EAAE;AAChB,YAAA,IAAI,CAAC,cAAc,GAAG,EAAE;;aAClB;AACN,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,SAAS;;;AAItC;;A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EAAA,EAE5C,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAC,UAAU,EAChB,KAAK,EAAE,EAAE,IAAI,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,CAAE,CAAA,EAAE,EACzF,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,EAAE,EAAC,mBAAmB,EAAA,EAEtB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,6CAA6C,GAAG,CACnD,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["OntarioIconMediaFastRewind","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-media-fast-rewind&encapsulation=shadow","src/components/ontario-icon/ontario-icon-media-fast-rewind.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-media-fast-rewind',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMediaFastRewind implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-media-fast-rewind> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-media-fast-rewind> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\tclass=\"svg-icon\"\n\t\t\t\t\tstyle={{ fill: `${this.iconCustomColourState}`, stroke: `${this.iconCustomColourState}` }}\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"media-fast-rewind\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M11 18V6l-8.5 6 8.5 6zm.5-6l8.5 6V6l-8.5 6z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}
1
+ {"file":"ontario-icon-media-fast-rewind.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,4BAA0B,iBAAAC,kBAAA,CAAA,MAAA,0BAAA,SAAA,WAAA,CAAA;;;;;;AACtC;;;AAGG;IACK,SAAS,GAAa,EAAE;AAEhC;;;AAGG;AACM,IAAA,cAAc;AAEvB;;;AAGG;IAEH,aAAa,GAAA;QACZ,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,EAAE;AAC7E,YAAA,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE;YACzC;AACE,iBAAA,kBAAkB;iBAClB,gBAAgB,CAAC,cAAc;iBAC/B,cAAc,CAAC,IAAI;iBACnB,gBAAgB,CAAC,oCAAoC;AACrD,iBAAA,cAAc,CACd,CACC,EAAA,KAAK,CAAC,IAAI,CAAC,SAAS,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ACC,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,CAA8B,2BAAA,EAAA,IAAI,CAAC,eAAe,CAAA,qBAAA,EAAwB,IAAI,CAAC,cAAc,CAAE,CAAA,EACtG,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,cAAc,CAAI,EAAA,CAAA,EAAE,EAAA,EAE5C,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAC,UAAU,EAChB,KAAK,EAAE,EAAE,IAAI,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,CAAE,CAAA,EAAE,EACzF,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,EAAE,EAAC,mBAAmB,EAAA,EAEtB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,6CAA6C,GAAG,CACnD,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["OntarioIconMediaFastRewind","__stencil_proxyCustomElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-media-fast-rewind&encapsulation=shadow","src/components/ontario-icon/ontario-icon-media-fast-rewind.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-media-fast-rewind',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMediaFastRewind implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-media-fast-rewind> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-media-fast-rewind> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\tclass=\"svg-icon\"\n\t\t\t\t\tstyle={{ fill: `${this.iconCustomColourState}`, stroke: `${this.iconCustomColourState}` }}\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"media-fast-rewind\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M11 18V6l-8.5 6 8.5 6zm.5-6l8.5 6V6l-8.5 6z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}
@@ -1,13 +1,13 @@
1
- import { p as proxyCustomElement, H, h } from './index.js';
2
- import { v as validateColor, I as IconColours } from './p-BOcd5PoR.js';
3
- import { C as ConsoleMessageClass } from './p-CJXRCL8b.js';
4
- import { v as validateValueAgainstArray } from './p-CNqFEifG.js';
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { v as validateColor, I as IconColours } from './index2.js';
3
+ import { C as ConsoleMessageClass } from './console-message.js';
4
+ import { v as validateValueAgainstArray } from './validation-functions.js';
5
5
 
6
6
  const ontarioIconCss =
7
7
  '.ontario-icon svg,.ontario-icon{display:inline-block;stroke-width:0;stroke:currentColor;fill:currentColor;vertical-align:middle;overflow:hidden}.ontario-icon--blue svg{stroke:#0066CC;fill:#0066CC}.ontario-icon--grey svg{stroke:#666666;fill:#666666}.ontario-icon--black svg{stroke:#1A1A1A;fill:#1A1A1A}.ontario-icon--white svg{stroke:#FFFFFF;fill:#FFFFFF}.ontario-icon--white svg{stroke:#FFFFFF;fill:#FFFFFF}';
8
8
 
9
9
  const OntarioIconMediaPause$1 = /*@__PURE__*/ proxyCustomElement(
10
- class OntarioIconMediaPause extends H {
10
+ class OntarioIconMediaPause extends HTMLElement {
11
11
  constructor() {
12
12
  super();
13
13
  this.__registerHost();
@@ -1 +1 @@
1
- {"file":"ontario-icon-media-pause.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,uBAAqB,iBAAAC,kBAAA,CAAA,MAAA,qBAAA,SAAAC,CAAA,CAAA;;;;;;AACjC;;;AAGG;IACK,SAAS,GAAa,EAAE;AAEhC;;;AAGG;AACM,IAAA,cAAc;AAEvB;;;AAGG;IAEH,aAAa,GAAA;QACZ,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,EAAE;AAC7E,YAAA,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE;YACzC;AACE,iBAAA,kBAAkB;iBAClB,gBAAgB,CAAC,cAAc;iBAC/B,cAAc,CAAC,IAAI;iBACnB,gBAAgB,CAAC,8BAA8B;AAC/C,iBAAA,cAAc,CACd,CACC,EAAA,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,gCAAgC,GAAG,8BAC5D,0DAA0D;iBAE1D,gBAAgB,CAAC,QAAQ;iBACzB,cAAc,CAAC,cAAc;AAC7B,iBAAA,YAAY,EAAE;AAChB,YAAA,IAAI,CAAC,cAAc,GAAG,EAAE;;aAClB;AACN,YAAA,IAAI,CAAC,c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AAI,CAAC,cAAc,CAAI,EAAA,CAAA,EAAE,EAAA,EAE5C,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAC,UAAU,EAChB,KAAK,EAAE,EAAE,IAAI,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,CAAE,CAAA,EAAE,EACzF,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,EAAE,EAAC,aAAa,EAAA,EAEhB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,iCAAiC,GAAG,CACvC,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["OntarioIconMediaPause","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-media-pause&encapsulation=shadow","src/components/ontario-icon/ontario-icon-media-pause.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-media-pause',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMediaPause implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-media-pause> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-media-pause> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\tclass=\"svg-icon\"\n\t\t\t\t\tstyle={{ fill: `${this.iconCustomColourState}`, stroke: `${this.iconCustomColourState}` }}\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"media-pause\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M6 19h4V5H6v14zm8-14v14h4V5h-4z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}
1
+ {"file":"ontario-icon-media-pause.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,uBAAqB,iBAAAC,kBAAA,CAAA,MAAA,qBAAA,SAAA,WAAA,CAAA;;;;;;AACjC;;;AAGG;IACK,SAAS,GAAa,EAAE;AAEhC;;;AAGG;AACM,IAAA,cAAc;AAEvB;;;AAGG;IAEH,aAAa,GAAA;QACZ,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,EAAE;AAC7E,YAAA,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE;YACzC;AACE,iBAAA,kBAAkB;iBAClB,gBAAgB,CAAC,cAAc;iBAC/B,cAAc,CAAC,IAAI;iBACnB,gBAAgB,CAAC,8BAA8B;AAC/C,iBAAA,cAAc,CACd,CACC,EAAA,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,gCAAg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AAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,CAA8B,2BAAA,EAAA,IAAI,CAAC,eAAe,CAAA,qBAAA,EAAwB,IAAI,CAAC,cAAc,CAAE,CAAA,EACtG,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,cAAc,CAAI,EAAA,CAAA,EAAE,EAAA,EAE5C,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAC,UAAU,EAChB,KAAK,EAAE,EAAE,IAAI,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,CAAE,CAAA,EAAE,EACzF,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,EAAE,EAAC,aAAa,EAAA,EAEhB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,iCAAiC,GAAG,CACvC,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["OntarioIconMediaPause","__stencil_proxyCustomElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-media-pause&encapsulation=shadow","src/components/ontario-icon/ontario-icon-media-pause.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-media-pause',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMediaPause implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-media-pause> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-media-pause> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\tclass=\"svg-icon\"\n\t\t\t\t\tstyle={{ fill: `${this.iconCustomColourState}`, stroke: `${this.iconCustomColourState}` }}\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"media-pause\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M6 19h4V5H6v14zm8-14v14h4V5h-4z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}
@@ -1,13 +1,13 @@
1
- import { p as proxyCustomElement, H, h } from './index.js';
2
- import { v as validateColor, I as IconColours } from './p-BOcd5PoR.js';
3
- import { C as ConsoleMessageClass } from './p-CJXRCL8b.js';
4
- import { v as validateValueAgainstArray } from './p-CNqFEifG.js';
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { v as validateColor, I as IconColours } from './index2.js';
3
+ import { C as ConsoleMessageClass } from './console-message.js';
4
+ import { v as validateValueAgainstArray } from './validation-functions.js';
5
5
 
6
6
  const ontarioIconCss =
7
7
  '.ontario-icon svg,.ontario-icon{display:inline-block;stroke-width:0;stroke:currentColor;fill:currentColor;vertical-align:middle;overflow:hidden}.ontario-icon--blue svg{stroke:#0066CC;fill:#0066CC}.ontario-icon--grey svg{stroke:#666666;fill:#666666}.ontario-icon--black svg{stroke:#1A1A1A;fill:#1A1A1A}.ontario-icon--white svg{stroke:#FFFFFF;fill:#FFFFFF}.ontario-icon--white svg{stroke:#FFFFFF;fill:#FFFFFF}';
8
8
 
9
9
  const OntarioIconMediaPlay$1 = /*@__PURE__*/ proxyCustomElement(
10
- class OntarioIconMediaPlay extends H {
10
+ class OntarioIconMediaPlay extends HTMLElement {
11
11
  constructor() {
12
12
  super();
13
13
  this.__registerHost();
@@ -1 +1 @@
1
- {"file":"ontario-icon-media-play.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,sBAAoB,iBAAAC,kBAAA,CAAA,MAAA,oBAAA,SAAAC,CAAA,CAAA;;;;;;AAChC;;;AAGG;IACK,SAAS,GAAa,EAAE;AAEhC;;;AAGG;AACM,IAAA,cAAc;AAEvB;;;AAGG;IAEH,aAAa,GAAA;QACZ,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,EAAE;AAC7E,YAAA,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE;YACzC;AACE,iBAAA,kBAAkB;iBAClB,gBAAgB,CAAC,cAAc;iBAC/B,cAAc,CAAC,IAAI;iBACnB,gBAAgB,CAAC,6BAA6B;AAC9C,iBAAA,cAAc,CACd,CACC,EAAA,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,gCAAgC,GAAG,8BAC5D,0DAA0D;iBAE1D,gBAAgB,CAAC,QAAQ;iBACzB,cAAc,CAAC,cAAc;AAC7B,iBAAA,YAAY,EAAE;AAChB,YAAA,IAAI,CAAC,cAAc,GAAG,EAAE;;aAClB;AACN,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,SAAS;;;AAItC;;AAEG;IACK,MAAM,GAAe,OAAO;AA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A,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAC,UAAU,EAChB,KAAK,EAAE,EAAE,IAAI,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,CAAE,CAAA,EAAE,EACzF,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,EAAE,EAAC,YAAY,EAAA,EAEf,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,mBAAmB,GAAG,CACzB,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["OntarioIconMediaPlay","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-media-play&encapsulation=shadow","src/components/ontario-icon/ontario-icon-media-play.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-media-play',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMediaPlay implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-media-play> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-media-play> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\tclass=\"svg-icon\"\n\t\t\t\t\tstyle={{ fill: `${this.iconCustomColourState}`, stroke: `${this.iconCustomColourState}` }}\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"media-play\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M8 5v14l11-7L8 5z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}
1
+ {"file":"ontario-icon-media-play.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,sBAAoB,iBAAAC,kBAAA,CAAA,MAAA,oBAAA,SAAA,WAAA,CAAA;;;;;;AAChC;;;AAGG;IACK,SAAS,GAAa,EAAE;AAEhC;;;AAGG;AACM,IAAA,cAAc;AAEvB;;;AAGG;IAEH,aAAa,GAAA;QACZ,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,EAAE;AAC7E,YAAA,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE;YACzC;AACE,iBAAA,kBAAkB;iBAClB,gBAAgB,CAAC,cAAc;iBAC/B,cAAc,CAAC,IAAI;iBACnB,gBAAgB,CAAC,6BAA6B;AAC9C,iBAAA,cAAc,CACd,CACC,EAAA,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,gCAAgC,GAAG,8BAC5D,0DAA0D;iBAE1D,gBAAgB,CAAC,QAAQ;iBACzB,cAAc,CAAC,cAAc;AAC7B,iBA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,qBAAA,EAAwB,IAAI,CAAC,cAAc,CAAE,CAAA,EACtG,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,cAAc,CAAI,EAAA,CAAA,EAAE,EAAA,EAE5C,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAC,UAAU,EAChB,KAAK,EAAE,EAAE,IAAI,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,CAAE,CAAA,EAAE,EACzF,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,EAAE,EAAC,YAAY,EAAA,EAEf,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,mBAAmB,GAAG,CACzB,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["OntarioIconMediaPlay","__stencil_proxyCustomElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-media-play&encapsulation=shadow","src/components/ontario-icon/ontario-icon-media-play.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-media-play',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMediaPlay implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-media-play> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-media-play> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\tclass=\"svg-icon\"\n\t\t\t\t\tstyle={{ fill: `${this.iconCustomColourState}`, stroke: `${this.iconCustomColourState}` }}\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"media-play\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M8 5v14l11-7L8 5z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}
@@ -1,13 +1,13 @@
1
- import { p as proxyCustomElement, H, h } from './index.js';
2
- import { v as validateColor, I as IconColours } from './p-BOcd5PoR.js';
3
- import { C as ConsoleMessageClass } from './p-CJXRCL8b.js';
4
- import { v as validateValueAgainstArray } from './p-CNqFEifG.js';
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { v as validateColor, I as IconColours } from './index2.js';
3
+ import { C as ConsoleMessageClass } from './console-message.js';
4
+ import { v as validateValueAgainstArray } from './validation-functions.js';
5
5
 
6
6
  const ontarioIconCss =
7
7
  '.ontario-icon svg,.ontario-icon{display:inline-block;stroke-width:0;stroke:currentColor;fill:currentColor;vertical-align:middle;overflow:hidden}.ontario-icon--blue svg{stroke:#0066CC;fill:#0066CC}.ontario-icon--grey svg{stroke:#666666;fill:#666666}.ontario-icon--black svg{stroke:#1A1A1A;fill:#1A1A1A}.ontario-icon--white svg{stroke:#FFFFFF;fill:#FFFFFF}.ontario-icon--white svg{stroke:#FFFFFF;fill:#FFFFFF}';
8
8
 
9
9
  const OntarioIconMediaStop$1 = /*@__PURE__*/ proxyCustomElement(
10
- class OntarioIconMediaStop extends H {
10
+ class OntarioIconMediaStop extends HTMLElement {
11
11
  constructor() {
12
12
  super();
13
13
  this.__registerHost();
@@ -1 +1 @@
1
- {"file":"ontario-icon-media-stop.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,sBAAoB,iBAAAC,kBAAA,CAAA,MAAA,oBAAA,SAAAC,CAAA,CAAA;;;;;;AAChC;;;AAGG;IACK,SAAS,GAAa,EAAE;AAEhC;;;AAGG;AACM,IAAA,cAAc;AAEvB;;;AAGG;IAEH,aAAa,GAAA;QACZ,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,EAAE;AAC7E,YAAA,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE;YACzC;AACE,iBAAA,kBAAkB;iBAClB,gBAAgB,CAAC,cAAc;iBAC/B,cAAc,CAAC,IAAI;iBACnB,gBAAgB,CAAC,6BAA6B;AAC9C,iBAAA,cAAc,CACd,CACC,EAAA,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,gCAAgC,GAAG,8BAC5D,0DAA0D;iBAE1D,gBAAgB,CAAC,QAAQ;iBACzB,cAAc,CAAC,cAAc;AAC7B,iBAAA,YAAY,EAAE;AAChB,YAAA,IAAI,CAAC,cAAc,GAAG,EAAE;;aAClB;AACN,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,SAAS;;;AAItC;;AAEG;IACK,MAAM,GAAe,OAAO;AAEpC;;;AAGG;AACM,IAAA,eAAe;AAExB;;;AAGG;AACM,IAAA,qBAAqB;AAE9B;;;;AAIG;IAEH,cAAc,GAAA;QACb,MAAM,OAAO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C,qBAAqB,EAAE,EAAE,MAAM,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,CAAE,CAAA,EAAE,EACzF,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,EAAE,EAAC,YAAY,EAAA,EAEf,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,iBAAiB,GAAG,CACvB,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["OntarioIconMediaStop","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-media-stop&encapsulation=shadow","src/components/ontario-icon/ontario-icon-media-stop.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-media-stop',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMediaStop implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-media-stop> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-media-stop> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\tclass=\"svg-icon\"\n\t\t\t\t\tstyle={{ fill: `${this.iconCustomColourState}`, stroke: `${this.iconCustomColourState}` }}\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"media-stop\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M6 6H18V18H6V6Z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}
1
+ {"file":"ontario-icon-media-stop.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,sBAAoB,iBAAAC,kBAAA,CAAA,MAAA,oBAAA,SAAA,WAAA,CAAA;;;;;;AAChC;;;AAGG;IACK,SAAS,GAAa,EAAE;AAEhC;;;AAGG;AACM,IAAA,cAAc;AAEvB;;;AAGG;IAEH,aAAa,GAAA;QACZ,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,EAAE;AAC7E,YAAA,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE;YACzC;AACE,iBAAA,kBAAkB;iBAClB,gBAAgB,CAAC,cAAc;iBAC/B,cAAc,CAAC,IAAI;iBACnB,gBAAgB,CAAC,6BAA6B;AAC9C,iBAAA,cAAc,CACd,CACC,EAAA,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,gCAAgC,GAAG,8BAC5D,0DAA0D;iBAE1D,gBAAgB,CAAC,QAAQ;iBACzB,cAAc,CAAC,cAAc;AAC7B,iBAAA,YAAY,EAAE;AAChB,YAAA,IAAI,CAAC,cAAc,GAAG,EAAE;;aAClB;AACN,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAA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I,EAAA,CAAA,EAAE,EAAA,EAE5C,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAC,UAAU,EAChB,KAAK,EAAE,EAAE,IAAI,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,CAAE,CAAA,EAAE,EACzF,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,EAAE,EAAC,YAAY,EAAA,EAEf,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,iBAAiB,GAAG,CACvB,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["OntarioIconMediaStop","__stencil_proxyCustomElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-media-stop&encapsulation=shadow","src/components/ontario-icon/ontario-icon-media-stop.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-media-stop',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMediaStop implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-media-stop> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-media-stop> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\tclass=\"svg-icon\"\n\t\t\t\t\tstyle={{ fill: `${this.iconCustomColourState}`, stroke: `${this.iconCustomColourState}` }}\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"media-stop\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M6 6H18V18H6V6Z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}
@@ -1,13 +1,13 @@
1
- import { p as proxyCustomElement, H, h } from './index.js';
2
- import { v as validateColor, I as IconColours } from './p-BOcd5PoR.js';
3
- import { C as ConsoleMessageClass } from './p-CJXRCL8b.js';
4
- import { v as validateValueAgainstArray } from './p-CNqFEifG.js';
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { v as validateColor, I as IconColours } from './index2.js';
3
+ import { C as ConsoleMessageClass } from './console-message.js';
4
+ import { v as validateValueAgainstArray } from './validation-functions.js';
5
5
 
6
6
  const ontarioIconCss =
7
7
  '.ontario-icon svg,.ontario-icon{display:inline-block;stroke-width:0;stroke:currentColor;fill:currentColor;vertical-align:middle;overflow:hidden}.ontario-icon--blue svg{stroke:#0066CC;fill:#0066CC}.ontario-icon--grey svg{stroke:#666666;fill:#666666}.ontario-icon--black svg{stroke:#1A1A1A;fill:#1A1A1A}.ontario-icon--white svg{stroke:#FFFFFF;fill:#FFFFFF}.ontario-icon--white svg{stroke:#FFFFFF;fill:#FFFFFF}';
8
8
 
9
9
  const OntarioIconMenuHeader$1 = /*@__PURE__*/ proxyCustomElement(
10
- class OntarioIconMenuHeader extends H {
10
+ class OntarioIconMenuHeader extends HTMLElement {
11
11
  constructor() {
12
12
  super();
13
13
  this.__registerHost();
@@ -1 +1 @@
1
- {"file":"ontario-icon-menu-header.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,uBAAqB,iBAAAC,kBAAA,CAAA,MAAA,qBAAA,SAAAC,CAAA,CAAA;;;;;;AACjC;;;AAGG;IACK,SAAS,GAAa,EAAE;AAEhC;;;AAGG;AACM,IAAA,cAAc;AAEvB;;;AAGG;IAEH,aAAa,GAAA;QACZ,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,EAAE;AAC7E,YAAA,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE;YACzC;AACE,iBAAA,kBAAkB;iBAClB,gBAAgB,CAAC,cAAc;iBAC/B,cAAc,CAAC,IAAI;iBACnB,gBAAgB,CAAC,8BAA8B;AAC/C,iBAAA,cAAc,CACd,CACC,EAAA,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,gCAAgC,GAAG,8BAC5D,0DAA0D;iBAE1D,gBAAgB,CAAC,QAAQ;iBACzB,cAAc,CAAC,cAAc;AAC7B,iBAAA,YAAY,EAAE;AAChB,YAAA,IAAI,CAAC,cAAc,GAAG,EAAE;;aAClB;AACN,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,SAAS;;;AAItC;;AAEG;IACK,MAAM,GAAe,OAAO;AAEpC;;;AAGG;AACM,IAAA,eAAe;AAExB;;;AAGG;AACM,IAAA,qBAAqB;AAE9B;;;;AAIG;IAEH,cAAc,GAAA;QACb,MAAM,OAAO,GAAG,yBAAyB,CAAC,IAAI,CAAC,MAAM,EAAE,WAAW,CAAC;QACnE,IAAI,OAAO,EAAE;AACZ,YAAA,IAAI,CA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A,EAAA,0CAAA,EAAA,CAAC,EAAC,+CAA+C,EAAC,IAAI,EAAC,SAAS,EAAG,CAAA,CACpE,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["OntarioIconMenuHeader","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-menu-header&encapsulation=shadow","src/components/ontario-icon/ontario-icon-menu-header.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-menu-header',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMenuHeader implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-menu-header> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-menu-header> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\twidth=\"32\"\n\t\t\t\t\theight=\"32\"\n\t\t\t\t\tfill=\"#ffffff\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"menu-header\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z\" fill=\"#ffffff\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}
1
+ {"file":"ontario-icon-menu-header.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,uBAAqB,iBAAAC,kBAAA,CAAA,MAAA,qBAAA,SAAA,WAAA,CAAA;;;;;;AACjC;;;AAGG;IACK,SAAS,GAAa,EAAE;AAEhC;;;AAGG;AACM,IAAA,cAAc;AAEvB;;;AAGG;IAEH,aAAa,GAAA;QACZ,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,EAAE;AAC7E,YAAA,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE;YACzC;AACE,iBAAA,kBAAkB;iBAClB,gBAAgB,CAAC,cAAc;iBAC/B,cAAc,CAAC,IAAI;iBACnB,gBAAgB,CAAC,8BAA8B;AAC/C,iBAAA,cAAc,CACd,CACC,EAAA,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,gCAAgC,GAAG,8BAC5D,0DAA0D;iBAE1D,gBAAgB,CAAC,QAAQ;iBACzB,cAAc,CAAC,cAAc;AAC7B,iBAAA,YAAY,EAAE;AAChB,YAAA,IAAI,CAAC,cAAc,GAAG,EAAE;;aAClB;AACN,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,SAAS;;;AAItC;;AAEG;IACK,MAAM,GAAe,OAAO;AAEpC;;;AAGG;AACM,IAAA,eAAe;AAExB;;;AAGG;AACM,IAAA,qBAAqB;AAE9B;;;;AAIG;IAEH,cAAc,GAAA;QACb,MAAM,OAAO,GAAG,yBAAyB,CAAC,IAAI,C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W,EACnB,EAAE,EAAC,aAAa,EAAA,EAEhB,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAC,EAAC,+CAA+C,EAAC,IAAI,EAAC,SAAS,EAAG,CAAA,CACpE,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["OntarioIconMenuHeader","__stencil_proxyCustomElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-menu-header&encapsulation=shadow","src/components/ontario-icon/ontario-icon-menu-header.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-menu-header',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMenuHeader implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-menu-header> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-menu-header> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\twidth=\"32\"\n\t\t\t\t\theight=\"32\"\n\t\t\t\t\tfill=\"#ffffff\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"menu-header\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z\" fill=\"#ffffff\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}
@@ -1,13 +1,13 @@
1
- import { p as proxyCustomElement, H, h } from './index.js';
2
- import { v as validateColor, I as IconColours } from './p-BOcd5PoR.js';
3
- import { C as ConsoleMessageClass } from './p-CJXRCL8b.js';
4
- import { v as validateValueAgainstArray } from './p-CNqFEifG.js';
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { v as validateColor, I as IconColours } from './index2.js';
3
+ import { C as ConsoleMessageClass } from './console-message.js';
4
+ import { v as validateValueAgainstArray } from './validation-functions.js';
5
5
 
6
6
  const ontarioIconCss =
7
7
  '.ontario-icon svg,.ontario-icon{display:inline-block;stroke-width:0;stroke:currentColor;fill:currentColor;vertical-align:middle;overflow:hidden}.ontario-icon--blue svg{stroke:#0066CC;fill:#0066CC}.ontario-icon--grey svg{stroke:#666666;fill:#666666}.ontario-icon--black svg{stroke:#1A1A1A;fill:#1A1A1A}.ontario-icon--white svg{stroke:#FFFFFF;fill:#FFFFFF}.ontario-icon--white svg{stroke:#FFFFFF;fill:#FFFFFF}';
8
8
 
9
9
  const OntarioIconMenu$1 = /*@__PURE__*/ proxyCustomElement(
10
- class OntarioIconMenu extends H {
10
+ class OntarioIconMenu extends HTMLElement {
11
11
  constructor() {
12
12
  super();
13
13
  this.__registerHost();
@@ -1 +1 @@
1
- {"file":"ontario-icon-menu.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,iBAAe,iBAAAC,kBAAA,CAAA,MAAA,eAAA,SAAAC,CAAA,CAAA;;;;;;AAC3B;;;AAGG;IACK,SAAS,G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sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-menu&encapsulation=shadow","src/components/ontario-icon/ontario-icon-menu.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-menu',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMenu implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-menu> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-menu> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\tclass=\"svg-icon\"\n\t\t\t\t\tstyle={{ fill: `${this.iconCustomColourState}`, stroke: `${this.iconCustomColourState}` }}\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"menu\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\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C,WAAW,EACnB,EAAE,EAAC,MAAM,EAAA,EAET,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,+CAA+C,GAAG,CACrD,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["OntarioIconMenu","__stencil_proxyCustomElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-menu&encapsulation=shadow","src/components/ontario-icon/ontario-icon-menu.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-menu',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMenu implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-menu> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-menu> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\tclass=\"svg-icon\"\n\t\t\t\t\tstyle={{ fill: `${this.iconCustomColourState}`, stroke: `${this.iconCustomColourState}` }}\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"menu\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}
@@ -1,13 +1,13 @@
1
- import { p as proxyCustomElement, H, h } from './index.js';
2
- import { v as validateColor, I as IconColours } from './p-BOcd5PoR.js';
3
- import { C as ConsoleMessageClass } from './p-CJXRCL8b.js';
4
- import { v as validateValueAgainstArray } from './p-CNqFEifG.js';
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { v as validateColor, I as IconColours } from './index2.js';
3
+ import { C as ConsoleMessageClass } from './console-message.js';
4
+ import { v as validateValueAgainstArray } from './validation-functions.js';
5
5
 
6
6
  const ontarioIconCss =
7
7
  '.ontario-icon svg,.ontario-icon{display:inline-block;stroke-width:0;stroke:currentColor;fill:currentColor;vertical-align:middle;overflow:hidden}.ontario-icon--blue svg{stroke:#0066CC;fill:#0066CC}.ontario-icon--grey svg{stroke:#666666;fill:#666666}.ontario-icon--black svg{stroke:#1A1A1A;fill:#1A1A1A}.ontario-icon--white svg{stroke:#FFFFFF;fill:#FFFFFF}.ontario-icon--white svg{stroke:#FFFFFF;fill:#FFFFFF}';
8
8
 
9
9
  const OntarioIconMicrophoneOff$1 = /*@__PURE__*/ proxyCustomElement(
10
- class OntarioIconMicrophoneOff extends H {
10
+ class OntarioIconMicrophoneOff extends HTMLElement {
11
11
  constructor() {
12
12
  super();
13
13
  this.__registerHost();
@@ -1 +1 @@
1
- {"file":"ontario-icon-microphone-off.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,0BAAwB,iBAAAC,kBAAA,CAAA,MAAA,wBAAA,SAAAC,CAAA,CAAA;;;;;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TMLElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-microphone-off&encapsulation=shadow","src/components/ontario-icon/ontario-icon-microphone-off.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-microphone-off',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMicrophoneOff implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-microphone-off> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-microphone-off> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\tclass=\"svg-icon\"\n\t\t\t\t\tstyle={{ fill: `${this.iconCustomColourState}`, stroke: `${this.iconCustomColourState}` }}\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"microphone-off\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M19 11c0 1.2-.34 2.3-.9 3.28l-1.23-1.23c.27-.62.43-1.3.43-2.05H19zm-4 .16L9 5.18V5a3 3 0 0 1 3-3 3 3 0 0 1 3 3v6.16zM4.27 3L21 19.73 19.73 21l-4.2-4.2a7.03 7.03 0 0 1-2.54.91V21h-2v-3.28c-3.28-.5-6-3.3-6-6.72h1.7c0 3 2.54 5.1 5.3 5.1.8 0 1.6-.2 2.3-.52l-1.66-1.66L12 14a3 3 0 0 1-3-3v-.72l-6-6L4.27 3z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}
1
+ {"file":"ontario-icon-microphone-off.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,0BAAwB,iBAAAC,kBAAA,CAAA,MAAA,wBAAA,SAAA,WAAA,CAAA;;;;;;AACpC;;;AAGG;IACK,SAAS,GAAa,EAAE;AAEhC;;;AAGG;AACM,IAAA,cAAc;AAEvB;;;AAGG;IAEH,aAAa,GAAA;QACZ,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,EAAE;AAC7E,YAAA,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE;YACzC;AACE,iBAAA,kBAAkB;iBAClB,gBAAgB,CAAC,cAAc;iBAC/B,cAAc,CAAC,IAAI;iBACnB,gBAAgB,CAAC,iCAAiC;AAClD,iBAAA,cAAc,CACd,CACC,EAAA,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,gCAAgC,GAAG,8BAC5D,0DAA0D;iBAE1D,gBAAgB,CAAC,QAAQ;iBACzB,cAAc,CAAC,cAAc;AAC7B,iBAAA,YAAY,EAAE;AAChB,YAAA,IAAI,CAAC,cAAc,GAAG,EAAE;;aAClB;AACN,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,SAAS;;;AAItC;;AAEG;IACK,MAAM,GAAe,OAAO;AAEpC;;;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EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAC,UAAU,EAChB,KAAK,EAAE,EAAE,IAAI,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,CAAE,CAAA,EAAE,EACzF,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,EAAE,EAAC,gBAAgB,EAAA,EAEnB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,+SAA+S,GAAG,CACrT,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["OntarioIconMicrophoneOff","__stencil_proxyCustomElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-microphone-off&encapsulation=shadow","src/components/ontario-icon/ontario-icon-microphone-off.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-microphone-off',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMicrophoneOff implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-microphone-off> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-microphone-off> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\tclass=\"svg-icon\"\n\t\t\t\t\tstyle={{ fill: `${this.iconCustomColourState}`, stroke: `${this.iconCustomColourState}` }}\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"microphone-off\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M19 11c0 1.2-.34 2.3-.9 3.28l-1.23-1.23c.27-.62.43-1.3.43-2.05H19zm-4 .16L9 5.18V5a3 3 0 0 1 3-3 3 3 0 0 1 3 3v6.16zM4.27 3L21 19.73 19.73 21l-4.2-4.2a7.03 7.03 0 0 1-2.54.91V21h-2v-3.28c-3.28-.5-6-3.3-6-6.72h1.7c0 3 2.54 5.1 5.3 5.1.8 0 1.6-.2 2.3-.52l-1.66-1.66L12 14a3 3 0 0 1-3-3v-.72l-6-6L4.27 3z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}
@@ -1,13 +1,13 @@
1
- import { p as proxyCustomElement, H, h } from './index.js';
2
- import { v as validateColor, I as IconColours } from './p-BOcd5PoR.js';
3
- import { C as ConsoleMessageClass } from './p-CJXRCL8b.js';
4
- import { v as validateValueAgainstArray } from './p-CNqFEifG.js';
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { v as validateColor, I as IconColours } from './index2.js';
3
+ import { C as ConsoleMessageClass } from './console-message.js';
4
+ import { v as validateValueAgainstArray } from './validation-functions.js';
5
5
 
6
6
  const ontarioIconCss =
7
7
  '.ontario-icon svg,.ontario-icon{display:inline-block;stroke-width:0;stroke:currentColor;fill:currentColor;vertical-align:middle;overflow:hidden}.ontario-icon--blue svg{stroke:#0066CC;fill:#0066CC}.ontario-icon--grey svg{stroke:#666666;fill:#666666}.ontario-icon--black svg{stroke:#1A1A1A;fill:#1A1A1A}.ontario-icon--white svg{stroke:#FFFFFF;fill:#FFFFFF}.ontario-icon--white svg{stroke:#FFFFFF;fill:#FFFFFF}';
8
8
 
9
9
  const OntarioIconMicrophoneOn$1 = /*@__PURE__*/ proxyCustomElement(
10
- class OntarioIconMicrophoneOn extends H {
10
+ class OntarioIconMicrophoneOn extends HTMLElement {
11
11
  constructor() {
12
12
  super();
13
13
  this.__registerHost();
@@ -1 +1 @@
1
- {"file":"ontario-icon-microphone-on.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,yBAAuB,iBAAAC,kBAAA,CAAA,MAAA,uBAAA,SAAAC,CAAA,CAAA;;;;;;AACnC;;;AAGG;IACK,SAAS,GAAa,EAAE;AAEhC;;;AAGG;AACM,IAAA,cAAc;AAEvB;;;AAGG;IAEH,aAAa,GAAA;QACZ,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,EAAE;AAC7E,YAAA,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE;YACzC;AACE,iBAAA,kBAAkB;iBAClB,gBAAgB,CAAC,cAAc;iBAC/B,cAAc,CAAC,IAAI;iBACnB,gBAAgB,CAAC,gCAAgC;AACjD,iBAAA,cAAc,CACd,CACC,EAAA,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,gCAAgC,GAAG,8BAC5D,0DAA0D;iBAE1D,gBAAgB,CAAC,QAAQ;iBACzB,cAAc,CAAC,cAAc;AAC7B,iBAAA,YAAY,EAAE;AAChB,YAAA,IAAI,CAAC,cAAc,GAAG,EAAE;;aAClB;AACN,YAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CA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I,EAAA,CAAA,EAAE,EAAA,EAE5C,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAC,UAAU,EAChB,KAAK,EAAE,EAAE,IAAI,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,CAAE,CAAA,EAAE,EACzF,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,EAAE,EAAC,eAAe,EAAA,EAElB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,iKAAiK,GAAG,CACvK,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["OntarioIconMicrophoneOn","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-microphone-on&encapsulation=shadow","src/components/ontario-icon/ontario-icon-microphone-on.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-microphone-on',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMicrophoneOn implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-microphone-on> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-microphone-on> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\tclass=\"svg-icon\"\n\t\t\t\t\tstyle={{ fill: `${this.iconCustomColourState}`, stroke: `${this.iconCustomColourState}` }}\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"microphone-on\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M12 2a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3 3 3 0 0 1-3-3V5a3 3 0 0 1 3-3zm7 9c0 3.53-2.6 6.44-6 6.93V21h-2v-3.07c-3.4-.5-6-3.4-6-6.93h2a5 5 0 0 0 5 5 5 5 0 0 0 5-5h2z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}
1
+ {"file":"ontario-icon-microphone-on.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,yBAAuB,iBAAAC,kBAAA,CAAA,MAAA,uBAAA,SAAA,WAAA,CAAA;;;;;;AACnC;;;AAGG;IACK,SAAS,GAAa,EAAE;AAEhC;;;AAGG;AACM,IAAA,cAAc;AAEvB;;;AAGG;IAEH,aAAa,GAAA;QACZ,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,EAAE;AAC7E,YAAA,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE;YACzC;AACE,iBAAA,kBAAkB;iBAClB,gBAAgB,CAAC,cA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G;IACH,iBAAiB,GAAA;QAChB,IAAI,CAAC,cAAc,EAAE;QACrB,IAAI,CAAC,aAAa,EAAE;;AAGrB;;AAEG;IACH,MAAM,GAAA;QACL,QACC,CACC,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,CAA8B,2BAAA,EAAA,IAAI,CAAC,eAAe,CAAA,qBAAA,EAAwB,IAAI,CAAC,cAAc,CAAE,CAAA,EACtG,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,cAAc,CAAI,EAAA,CAAA,EAAE,EAAA,EAE5C,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAC,UAAU,EAChB,KAAK,EAAE,EAAE,IAAI,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,CAAE,CAAA,EAAE,EACzF,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,EAAE,EAAC,eAAe,EAAA,EAElB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,iKAAiK,GAAG,CACvK,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["OntarioIconMicrophoneOn","__stencil_proxyCustomElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-microphone-on&encapsulation=shadow","src/components/ontario-icon/ontario-icon-microphone-on.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-microphone-on',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMicrophoneOn implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-microphone-on> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-microphone-on> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\tclass=\"svg-icon\"\n\t\t\t\t\tstyle={{ fill: `${this.iconCustomColourState}`, stroke: `${this.iconCustomColourState}` }}\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"microphone-on\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M12 2a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3 3 3 0 0 1-3-3V5a3 3 0 0 1 3-3zm7 9c0 3.53-2.6 6.44-6 6.93V21h-2v-3.07c-3.4-.5-6-3.4-6-6.93h2a5 5 0 0 0 5 5 5 5 0 0 0 5-5h2z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}
@@ -1,13 +1,13 @@
1
- import { p as proxyCustomElement, H, h } from './index.js';
2
- import { v as validateColor, I as IconColours } from './p-BOcd5PoR.js';
3
- import { C as ConsoleMessageClass } from './p-CJXRCL8b.js';
4
- import { v as validateValueAgainstArray } from './p-CNqFEifG.js';
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { v as validateColor, I as IconColours } from './index2.js';
3
+ import { C as ConsoleMessageClass } from './console-message.js';
4
+ import { v as validateValueAgainstArray } from './validation-functions.js';
5
5
 
6
6
  const ontarioIconCss =
7
7
  '.ontario-icon svg,.ontario-icon{display:inline-block;stroke-width:0;stroke:currentColor;fill:currentColor;vertical-align:middle;overflow:hidden}.ontario-icon--blue svg{stroke:#0066CC;fill:#0066CC}.ontario-icon--grey svg{stroke:#666666;fill:#666666}.ontario-icon--black svg{stroke:#1A1A1A;fill:#1A1A1A}.ontario-icon--white svg{stroke:#FFFFFF;fill:#FFFFFF}.ontario-icon--white svg{stroke:#FFFFFF;fill:#FFFFFF}';
8
8
 
9
9
  const OntarioIconMoreVertical$1 = /*@__PURE__*/ proxyCustomElement(
10
- class OntarioIconMoreVertical extends H {
10
+ class OntarioIconMoreVertical extends HTMLElement {
11
11
  constructor() {
12
12
  super();
13
13
  this.__registerHost();
@@ -1 +1 @@
1
- {"file":"ontario-icon-more-vertical.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,yBAAuB,iBAAAC,kBAAA,CAAA,MAAA,uBAAA,SAAAC,CAAA,CAAA;;;;;;AACnC;;;AAGG;IACK,SAAS,GAAa,EAAE;AAEhC;;;AAGG;AACM,IAAA,cAAc;AAEvB;;;AAGG;IAEH,aAAa,GAAA;QACZ,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,EAAE;AAC7E,YAAA,MAAM,OAAO,GAAG,IAAI,mBAAmB,EAAE;YACzC;AACE,iBAAA,kBAAkB;iBAClB,gBAAgB,CAAC,cAAc;iBAC/B,cAAc,CAAC,IAAI;iBACnB,gBAAgB,CAAC,gCAAgC;AACjD,iBAAA,cAAc,CACd,CAC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rB;;AAEG;IACH,MAAM,GAAA;QACL,QACC,CACC,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,CAA8B,2BAAA,EAAA,IAAI,CAAC,eAAe,CAAA,qBAAA,EAAwB,IAAI,CAAC,cAAc,CAAE,CAAA,EACtG,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,cAAc,CAAI,EAAA,CAAA,EAAE,EAAA,EAE5C,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAC,UAAU,EAChB,KAAK,EAAE,EAAE,IAAI,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,CAAE,CAAA,EAAE,EACzF,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,EAAE,EAAC,eAAe,EAAA,EAElB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,2LAA2L,GAAG,CACjM,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["OntarioIconMoreVertical","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-more-vertical&encapsulation=shadow","src/components/ontario-icon/ontario-icon-more-vertical.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-more-vertical',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMoreVertical implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-more-vertical> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-more-vertical> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\tclass=\"svg-icon\"\n\t\t\t\t\tstyle={{ fill: `${this.iconCustomColourState}`, stroke: `${this.iconCustomColourState}` }}\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"more-vertical\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M12 16a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2zm0-6a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2zm0-6a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}
1
+ {"file":"ontario-icon-more-vertical.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCanaA,yBAAuB,iBAAAC,kBAAA,CAAA,MAAA,uBAAA,SAAA,WAAA,CAAA;;;;;;AACnC;;;AAGG;IACK,SAAS,GAAa,EAAE;AAEhC;;;AAGG;AACM,IAA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AA,kBAAkB;aAClB,gBAAgB,CAAC,UAAU;aAC3B,cAAc,CAAC,IAAI;aACnB,gBAAgB,CAAC,gCAAgC;aACjD,cAAc,CAAC,oCAAoC;aACnD,gBAAgB,CAAC,8BAA8B;aAC/C,cAAc,CAAC,mCAAmC;aAClD,gBAAgB,CAAC,SAAS;aAC1B,cAAc,CAAC,aAAa;AAC5B,aAAA,YAAY,EAAE;AAChB,QAAA,OAAO,OAAO;;AAGf;;AAEG;IACH,iBAAiB,GAAA;QAChB,IAAI,CAAC,cAAc,EAAE;QACrB,IAAI,CAAC,aAAa,EAAE;;AAGrB;;AAEG;IACH,MAAM,GAAA;QACL,QACC,CACC,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,CAA8B,2BAAA,EAAA,IAAI,CAAC,eAAe,CAAA,qBAAA,EAAwB,IAAI,CAAC,cAAc,CAAE,CAAA,EACtG,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,cAAc,CAAI,EAAA,CAAA,EAAE,EAAA,EAE5C,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAC,UAAU,EAChB,KAAK,EAAE,EAAE,IAAI,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,EAAE,EAAE,MAAM,EAAE,CAAA,EAAG,IAAI,CAAC,qBAAqB,CAAE,CAAA,EAAE,EACzF,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,EAAE,EAAC,eAAe,EAAA,EAElB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,2LAA2L,GAAG,CACjM,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["OntarioIconMoreVertical","__stencil_proxyCustomElement"],"sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-more-vertical&encapsulation=shadow","src/components/ontario-icon/ontario-icon-more-vertical.tsx"],"sourcesContent":["@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;\n\n.ontario-icon svg,\n// Fractal component style coverage ↓\n.ontario-icon {\n\tdisplay: inline-block;\n\tstroke-width: 0;\n\tstroke: currentColor;\n\tfill: currentColor;\n\t/* The default vertical-align is `baseline`, which leaves a few pixels of space below the icon. Using `center` prevents this. For icons shown alongside text, you may want to use a more precise value, e.g. `vertical-align: -4px` or `vertical-align: -0.15em`. */\n\tvertical-align: middle;\n\t/* Paths and strokes that overflow the viewBox can show in IE11. */\n\toverflow: hidden;\n}\n\n.ontario-icon--blue svg {\n\tstroke: colours.$ontario-colour-icon-blue;\n\tfill: colours.$ontario-colour-icon-blue;\n}\n\n.ontario-icon--grey svg {\n\tstroke: colours.$ontario-colour-icon-grey;\n\tfill: colours.$ontario-colour-icon-grey;\n}\n\n.ontario-icon--black svg {\n\tstroke: colours.$ontario-colour-icon-black;\n\tfill: colours.$ontario-colour-icon-black;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-icon-white;\n\tfill: colours.$ontario-colour-icon-white;\n}\n\n.ontario-icon--white svg {\n\tstroke: colours.$ontario-colour-white;\n\tfill: colours.$ontario-colour-white;\n}\n","// content automatically generated by `generate-icons.js` begins\nimport { Component, Prop, h, Watch, State } from '@stencil/core';\nimport { IconWithColour } from './icon.interface';\nimport { IconSize, IconColour, IconColours } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\nimport { validateValueAgainstArray } from '../../utils/validation/validation-functions';\nimport validateColor from 'validate-color';\n\n@Component({\n\ttag: 'ontario-icon-more-vertical',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMoreVertical implements IconWithColour {\n\t/**\n\t * The icon width will autogenerate the height since the icons are in square format, thus preserving\n\t * the aspect ratio.\n\t */\n\t@Prop() iconWidth: IconSize = 24;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's width depending on validation result.\n\t */\n\t@State() iconWidthState: number;\n\n\t/**\n\t * Watch for changes in the `iconWidth` variable for validation purpose.\n\t * If the user input is not a number or is a negative number then `iconWidth` will be set to its default (24).\n\t */\n\t@Watch('iconWidth')\n\tvalidateWidth() {\n\t\tif (isNaN(this.iconWidth) || (!isNaN(this.iconWidth) && this.iconWidth <= 0)) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' icon-width ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-more-vertical> ')\n\t\t\t\t.addRegularText(\n\t\t\t\t\t`${\n\t\t\t\t\t\tisNaN(this.iconWidth) ? 'was set to a non-numeric value' : 'was set to a negative number'\n\t\t\t\t\t}; only a positive number is allowed. The default size of`,\n\t\t\t\t)\n\t\t\t\t.addMonospaceText(' 24px ')\n\t\t\t\t.addRegularText('was assumed.')\n\t\t\t\t.printMessage();\n\t\t\tthis.iconWidthState = 24;\n\t\t} else {\n\t\t\tthis.iconWidthState = this.iconWidth;\n\t\t}\n\t}\n\n\t/**\n\t * Set the icon's colour.\n\t */\n\t@Prop() colour: IconColour = 'black';\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconColourState: string;\n\n\t/**\n\t * Mutable variable, for internal use only.\n\t * Set the icon's colour based on validation result.\n\t */\n\t@State() iconCustomColourState: string;\n\n\t/**\n\t * Watch for changes in the `colour` variable for validation purpose.\n\t * If the user input doesn't match one of the enum values then `colour` will be set to its default (`black`).\n\t * If a match is found in one of the enum values then `colour` will be set to the matching enum value.\n\t */\n\t@Watch('colour')\n\tvalidateColour() {\n\t\tconst isValid = validateValueAgainstArray(this.colour, IconColours);\n\t\tif (isValid) {\n\t\t\tthis.iconColourState = this.colour;\n\t\t} else {\n\t\t\tif (validateColor(this.colour)) {\n\t\t\t\tthis.iconCustomColourState = this.colour;\n\t\t\t} else {\n\t\t\t\tthis.iconColourState = this.warnDefaultColour();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Print the invalid colour warning message\n\t * @returns default colour (black)\n\t */\n\tprivate warnDefaultColour(): IconColour {\n\t\tconst message = new ConsoleMessageClass();\n\t\tmessage\n\t\t\t.addDesignSystemTag()\n\t\t\t.addMonospaceText(' colour ')\n\t\t\t.addRegularText('on')\n\t\t\t.addMonospaceText(' <ontario-icon-more-vertical> ')\n\t\t\t.addRegularText('was set to an invalid colour; only')\n\t\t\t.addMonospaceText(' black, blue, grey or white ')\n\t\t\t.addRegularText('are supported. The default colour')\n\t\t\t.addMonospaceText(' black ')\n\t\t\t.addRegularText('is assumed.')\n\t\t\t.printMessage();\n\t\treturn 'black';\n\t}\n\n\t/**\n\t * Stencil component lifecycle method that is called once after the component is first connected to the DOM.\n\t */\n\tcomponentWillLoad() {\n\t\tthis.validateColour();\n\t\tthis.validateWidth();\n\t}\n\n\t/**\n\t * Returns the HTML code to be rendered into a custom element.\n\t */\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`ontario-icon ontario-icon--${this.iconColourState} ontario-icon--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\tclass=\"svg-icon\"\n\t\t\t\t\tstyle={{ fill: `${this.iconCustomColourState}`, stroke: `${this.iconCustomColourState}` }}\n\t\t\t\t\trole=\"img\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tid=\"more-vertical\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M12 16a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2zm0-6a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2zm0-6a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content automatically generated by `generate-icons.js` ends\n"],"version":3}