@ongov/ontario-design-system-component-library 6.0.0-alpha.3 → 6.0.0-alpha.4

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 (1873) hide show
  1. package/dist/cjs/index-uGhCiiii.js +3366 -0
  2. package/dist/cjs/index-uGhCiiii.js.map +1 -0
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/ontario-accordion_47.cjs.entry.js +10125 -0
  5. package/dist/cjs/ontario-accordion_47.cjs.entry.js.map +1 -0
  6. package/dist/cjs/ontario-design-system-components.cjs.js +2 -2
  7. package/dist/cjs/ontario-icon-account.cjs.entry.js +4 -4
  8. package/dist/cjs/ontario-icon-account.cjs.entry.js.map +1 -1
  9. package/dist/cjs/ontario-icon-account.entry.cjs.js.map +1 -1
  10. package/dist/cjs/ontario-icon-add-alt.cjs.entry.js +4 -4
  11. package/dist/cjs/ontario-icon-add-alt.cjs.entry.js.map +1 -1
  12. package/dist/cjs/ontario-icon-add-alt.entry.cjs.js.map +1 -1
  13. package/dist/cjs/ontario-icon-add.cjs.entry.js +4 -4
  14. package/dist/cjs/ontario-icon-add.cjs.entry.js.map +1 -1
  15. package/dist/cjs/ontario-icon-add.entry.cjs.js.map +1 -1
  16. package/dist/cjs/ontario-icon-arrow-up.cjs.entry.js +5 -5
  17. package/dist/cjs/ontario-icon-arrow-up.cjs.entry.js.map +1 -1
  18. package/dist/cjs/ontario-icon-arrow-up.entry.cjs.js.map +1 -1
  19. package/dist/cjs/ontario-icon-attach.cjs.entry.js +4 -4
  20. package/dist/cjs/ontario-icon-attach.cjs.entry.js.map +1 -1
  21. package/dist/cjs/ontario-icon-attach.entry.cjs.js.map +1 -1
  22. package/dist/cjs/ontario-icon-bookmark-off.cjs.entry.js +4 -4
  23. package/dist/cjs/ontario-icon-bookmark-off.cjs.entry.js.map +1 -1
  24. package/dist/cjs/ontario-icon-bookmark-off.entry.cjs.js.map +1 -1
  25. package/dist/cjs/ontario-icon-bookmark-on.cjs.entry.js +4 -4
  26. package/dist/cjs/ontario-icon-bookmark-on.cjs.entry.js.map +1 -1
  27. package/dist/cjs/ontario-icon-bookmark-on.entry.cjs.js.map +1 -1
  28. package/dist/cjs/ontario-icon-calendar.cjs.entry.js +4 -4
  29. package/dist/cjs/ontario-icon-calendar.cjs.entry.js.map +1 -1
  30. package/dist/cjs/ontario-icon-calendar.entry.cjs.js.map +1 -1
  31. package/dist/cjs/ontario-icon-chevron-right.cjs.entry.js +4 -4
  32. package/dist/cjs/ontario-icon-chevron-right.cjs.entry.js.map +1 -1
  33. package/dist/cjs/ontario-icon-chevron-right.entry.cjs.js.map +1 -1
  34. package/dist/cjs/ontario-icon-clock.cjs.entry.js +4 -4
  35. package/dist/cjs/ontario-icon-clock.cjs.entry.js.map +1 -1
  36. package/dist/cjs/ontario-icon-clock.entry.cjs.js.map +1 -1
  37. package/dist/cjs/ontario-icon-close-header.cjs.entry.js +4 -4
  38. package/dist/cjs/ontario-icon-close-header.cjs.entry.js.map +1 -1
  39. package/dist/cjs/ontario-icon-close-header.entry.cjs.js.map +1 -1
  40. package/dist/cjs/ontario-icon-close.cjs.entry.js +4 -4
  41. package/dist/cjs/ontario-icon-close.cjs.entry.js.map +1 -1
  42. package/dist/cjs/ontario-icon-close.entry.cjs.js.map +1 -1
  43. package/dist/cjs/ontario-icon-cloud.cjs.entry.js +4 -4
  44. package/dist/cjs/ontario-icon-cloud.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ontario-icon-cloud.entry.cjs.js.map +1 -1
  46. package/dist/cjs/ontario-icon-collapse.cjs.entry.js +4 -4
  47. package/dist/cjs/ontario-icon-collapse.cjs.entry.js.map +1 -1
  48. package/dist/cjs/ontario-icon-collapse.entry.cjs.js.map +1 -1
  49. package/dist/cjs/ontario-icon-credit-card.cjs.entry.js +4 -4
  50. package/dist/cjs/ontario-icon-credit-card.cjs.entry.js.map +1 -1
  51. package/dist/cjs/ontario-icon-credit-card.entry.cjs.js.map +1 -1
  52. package/dist/cjs/ontario-icon-critical-alert-warning.cjs.entry.js +6 -6
  53. package/dist/cjs/ontario-icon-critical-alert-warning.cjs.entry.js.map +1 -1
  54. package/dist/cjs/ontario-icon-critical-alert-warning.entry.cjs.js.map +1 -1
  55. package/dist/cjs/ontario-icon-delete.cjs.entry.js +4 -4
  56. package/dist/cjs/ontario-icon-delete.cjs.entry.js.map +1 -1
  57. package/dist/cjs/ontario-icon-delete.entry.cjs.js.map +1 -1
  58. package/dist/cjs/ontario-icon-document.cjs.entry.js +4 -4
  59. package/dist/cjs/ontario-icon-document.cjs.entry.js.map +1 -1
  60. package/dist/cjs/ontario-icon-document.entry.cjs.js.map +1 -1
  61. package/dist/cjs/ontario-icon-download.cjs.entry.js +4 -4
  62. package/dist/cjs/ontario-icon-download.cjs.entry.js.map +1 -1
  63. package/dist/cjs/ontario-icon-download.entry.cjs.js.map +1 -1
  64. package/dist/cjs/ontario-icon-dropdown-arrow.cjs.entry.js +4 -4
  65. package/dist/cjs/ontario-icon-dropdown-arrow.cjs.entry.js.map +1 -1
  66. package/dist/cjs/ontario-icon-dropdown-arrow.entry.cjs.js.map +1 -1
  67. package/dist/cjs/ontario-icon-edit.cjs.entry.js +4 -4
  68. package/dist/cjs/ontario-icon-edit.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ontario-icon-edit.entry.cjs.js.map +1 -1
  70. package/dist/cjs/ontario-icon-expand.cjs.entry.js +4 -4
  71. package/dist/cjs/ontario-icon-expand.cjs.entry.js.map +1 -1
  72. package/dist/cjs/ontario-icon-expand.entry.cjs.js.map +1 -1
  73. package/dist/cjs/ontario-icon-export.cjs.entry.js +4 -4
  74. package/dist/cjs/ontario-icon-export.cjs.entry.js.map +1 -1
  75. package/dist/cjs/ontario-icon-export.entry.cjs.js.map +1 -1
  76. package/dist/cjs/ontario-icon-facebook-alt.cjs.entry.js +4 -4
  77. package/dist/cjs/ontario-icon-facebook-alt.cjs.entry.js.map +1 -1
  78. package/dist/cjs/ontario-icon-facebook-alt.entry.cjs.js.map +1 -1
  79. package/dist/cjs/ontario-icon-facebook.cjs.entry.js +4 -4
  80. package/dist/cjs/ontario-icon-facebook.cjs.entry.js.map +1 -1
  81. package/dist/cjs/ontario-icon-facebook.entry.cjs.js.map +1 -1
  82. package/dist/cjs/ontario-icon-favourite-off.cjs.entry.js +4 -4
  83. package/dist/cjs/ontario-icon-favourite-off.cjs.entry.js.map +1 -1
  84. package/dist/cjs/ontario-icon-favourite-off.entry.cjs.js.map +1 -1
  85. package/dist/cjs/ontario-icon-favourite-on.cjs.entry.js +4 -4
  86. package/dist/cjs/ontario-icon-favourite-on.cjs.entry.js.map +1 -1
  87. package/dist/cjs/ontario-icon-favourite-on.entry.cjs.js.map +1 -1
  88. package/dist/cjs/ontario-icon-filter.cjs.entry.js +4 -4
  89. package/dist/cjs/ontario-icon-filter.cjs.entry.js.map +1 -1
  90. package/dist/cjs/ontario-icon-filter.entry.cjs.js.map +1 -1
  91. package/dist/cjs/ontario-icon-flickr.cjs.entry.js +4 -4
  92. package/dist/cjs/ontario-icon-flickr.cjs.entry.js.map +1 -1
  93. package/dist/cjs/ontario-icon-flickr.entry.cjs.js.map +1 -1
  94. package/dist/cjs/ontario-icon-grid.cjs.entry.js +4 -4
  95. package/dist/cjs/ontario-icon-grid.cjs.entry.js.map +1 -1
  96. package/dist/cjs/ontario-icon-grid.entry.cjs.js.map +1 -1
  97. package/dist/cjs/ontario-icon-instagram.cjs.entry.js +4 -4
  98. package/dist/cjs/ontario-icon-instagram.cjs.entry.js.map +1 -1
  99. package/dist/cjs/ontario-icon-instagram.entry.cjs.js.map +1 -1
  100. package/dist/cjs/ontario-icon-interac-en-alt.cjs.entry.js +20 -20
  101. package/dist/cjs/ontario-icon-interac-en-alt.cjs.entry.js.map +1 -1
  102. package/dist/cjs/ontario-icon-interac-en-alt.entry.cjs.js.map +1 -1
  103. package/dist/cjs/ontario-icon-interac-en.cjs.entry.js +19 -19
  104. package/dist/cjs/ontario-icon-interac-en.cjs.entry.js.map +1 -1
  105. package/dist/cjs/ontario-icon-interac-en.entry.cjs.js.map +1 -1
  106. package/dist/cjs/ontario-icon-interac-fr-alt.cjs.entry.js +20 -20
  107. package/dist/cjs/ontario-icon-interac-fr-alt.cjs.entry.js.map +1 -1
  108. package/dist/cjs/ontario-icon-interac-fr-alt.entry.cjs.js.map +1 -1
  109. package/dist/cjs/ontario-icon-interac-fr.cjs.entry.js +13 -13
  110. package/dist/cjs/ontario-icon-interac-fr.cjs.entry.js.map +1 -1
  111. package/dist/cjs/ontario-icon-interac-fr.entry.cjs.js.map +1 -1
  112. package/dist/cjs/ontario-icon-linkedin-alt.cjs.entry.js +4 -4
  113. package/dist/cjs/ontario-icon-linkedin-alt.cjs.entry.js.map +1 -1
  114. package/dist/cjs/ontario-icon-linkedin-alt.entry.cjs.js.map +1 -1
  115. package/dist/cjs/ontario-icon-linkedin.cjs.entry.js +4 -4
  116. package/dist/cjs/ontario-icon-linkedin.cjs.entry.js.map +1 -1
  117. package/dist/cjs/ontario-icon-linkedin.entry.cjs.js.map +1 -1
  118. package/dist/cjs/ontario-icon-list.cjs.entry.js +4 -4
  119. package/dist/cjs/ontario-icon-list.cjs.entry.js.map +1 -1
  120. package/dist/cjs/ontario-icon-list.entry.cjs.js.map +1 -1
  121. package/dist/cjs/ontario-icon-live-chat.cjs.entry.js +4 -4
  122. package/dist/cjs/ontario-icon-live-chat.cjs.entry.js.map +1 -1
  123. package/dist/cjs/ontario-icon-live-chat.entry.cjs.js.map +1 -1
  124. package/dist/cjs/ontario-icon-location-off.cjs.entry.js +4 -4
  125. package/dist/cjs/ontario-icon-location-off.cjs.entry.js.map +1 -1
  126. package/dist/cjs/ontario-icon-location-off.entry.cjs.js.map +1 -1
  127. package/dist/cjs/ontario-icon-location-on.cjs.entry.js +4 -4
  128. package/dist/cjs/ontario-icon-location-on.cjs.entry.js.map +1 -1
  129. package/dist/cjs/ontario-icon-location-on.entry.cjs.js.map +1 -1
  130. package/dist/cjs/ontario-icon-lock-off.cjs.entry.js +4 -4
  131. package/dist/cjs/ontario-icon-lock-off.cjs.entry.js.map +1 -1
  132. package/dist/cjs/ontario-icon-lock-off.entry.cjs.js.map +1 -1
  133. package/dist/cjs/ontario-icon-lock-on.cjs.entry.js +4 -4
  134. package/dist/cjs/ontario-icon-lock-on.cjs.entry.js.map +1 -1
  135. package/dist/cjs/ontario-icon-lock-on.entry.cjs.js.map +1 -1
  136. package/dist/cjs/ontario-icon-map.cjs.entry.js +4 -4
  137. package/dist/cjs/ontario-icon-map.cjs.entry.js.map +1 -1
  138. package/dist/cjs/ontario-icon-map.entry.cjs.js.map +1 -1
  139. package/dist/cjs/ontario-icon-mastercard-alt.cjs.entry.js +7 -7
  140. package/dist/cjs/ontario-icon-mastercard-alt.cjs.entry.js.map +1 -1
  141. package/dist/cjs/ontario-icon-mastercard-alt.entry.cjs.js.map +1 -1
  142. package/dist/cjs/ontario-icon-media-fast-forward.cjs.entry.js +4 -4
  143. package/dist/cjs/ontario-icon-media-fast-forward.cjs.entry.js.map +1 -1
  144. package/dist/cjs/ontario-icon-media-fast-forward.entry.cjs.js.map +1 -1
  145. package/dist/cjs/ontario-icon-media-fast-rewind.cjs.entry.js +4 -4
  146. package/dist/cjs/ontario-icon-media-fast-rewind.cjs.entry.js.map +1 -1
  147. package/dist/cjs/ontario-icon-media-fast-rewind.entry.cjs.js.map +1 -1
  148. package/dist/cjs/ontario-icon-media-pause.cjs.entry.js +4 -4
  149. package/dist/cjs/ontario-icon-media-pause.cjs.entry.js.map +1 -1
  150. package/dist/cjs/ontario-icon-media-pause.entry.cjs.js.map +1 -1
  151. package/dist/cjs/ontario-icon-media-play.cjs.entry.js +4 -4
  152. package/dist/cjs/ontario-icon-media-play.cjs.entry.js.map +1 -1
  153. package/dist/cjs/ontario-icon-media-play.entry.cjs.js.map +1 -1
  154. package/dist/cjs/ontario-icon-media-stop.cjs.entry.js +4 -4
  155. package/dist/cjs/ontario-icon-media-stop.cjs.entry.js.map +1 -1
  156. package/dist/cjs/ontario-icon-media-stop.entry.cjs.js.map +1 -1
  157. package/dist/cjs/ontario-icon-menu-header.cjs.entry.js +4 -4
  158. package/dist/cjs/ontario-icon-menu-header.cjs.entry.js.map +1 -1
  159. package/dist/cjs/ontario-icon-menu-header.entry.cjs.js.map +1 -1
  160. package/dist/cjs/ontario-icon-menu.cjs.entry.js +4 -4
  161. package/dist/cjs/ontario-icon-menu.cjs.entry.js.map +1 -1
  162. package/dist/cjs/ontario-icon-menu.entry.cjs.js.map +1 -1
  163. package/dist/cjs/ontario-icon-microphone-off.cjs.entry.js +4 -4
  164. package/dist/cjs/ontario-icon-microphone-off.cjs.entry.js.map +1 -1
  165. package/dist/cjs/ontario-icon-microphone-off.entry.cjs.js.map +1 -1
  166. package/dist/cjs/ontario-icon-microphone-on.cjs.entry.js +4 -4
  167. package/dist/cjs/ontario-icon-microphone-on.cjs.entry.js.map +1 -1
  168. package/dist/cjs/ontario-icon-microphone-on.entry.cjs.js.map +1 -1
  169. package/dist/cjs/ontario-icon-more-vertical.cjs.entry.js +4 -4
  170. package/dist/cjs/ontario-icon-more-vertical.cjs.entry.js.map +1 -1
  171. package/dist/cjs/ontario-icon-more-vertical.entry.cjs.js.map +1 -1
  172. package/dist/cjs/ontario-icon-new-window.cjs.entry.js +4 -4
  173. package/dist/cjs/ontario-icon-new-window.cjs.entry.js.map +1 -1
  174. package/dist/cjs/ontario-icon-new-window.entry.cjs.js.map +1 -1
  175. package/dist/cjs/ontario-icon-next.cjs.entry.js +4 -4
  176. package/dist/cjs/ontario-icon-next.cjs.entry.js.map +1 -1
  177. package/dist/cjs/ontario-icon-next.entry.cjs.js.map +1 -1
  178. package/dist/cjs/ontario-icon-password-hide.cjs.entry.js +4 -4
  179. package/dist/cjs/ontario-icon-password-hide.cjs.entry.js.map +1 -1
  180. package/dist/cjs/ontario-icon-password-hide.entry.cjs.js.map +1 -1
  181. package/dist/cjs/ontario-icon-password-show.cjs.entry.js +4 -4
  182. package/dist/cjs/ontario-icon-password-show.cjs.entry.js.map +1 -1
  183. package/dist/cjs/ontario-icon-password-show.entry.cjs.js.map +1 -1
  184. package/dist/cjs/ontario-icon-phone.cjs.entry.js +4 -4
  185. package/dist/cjs/ontario-icon-phone.cjs.entry.js.map +1 -1
  186. package/dist/cjs/ontario-icon-phone.entry.cjs.js.map +1 -1
  187. package/dist/cjs/ontario-icon-photo.cjs.entry.js +4 -4
  188. package/dist/cjs/ontario-icon-photo.cjs.entry.js.map +1 -1
  189. package/dist/cjs/ontario-icon-photo.entry.cjs.js.map +1 -1
  190. package/dist/cjs/ontario-icon-pin-location-off.cjs.entry.js +4 -4
  191. package/dist/cjs/ontario-icon-pin-location-off.cjs.entry.js.map +1 -1
  192. package/dist/cjs/ontario-icon-pin-location-off.entry.cjs.js.map +1 -1
  193. package/dist/cjs/ontario-icon-pin-location-on.cjs.entry.js +4 -4
  194. package/dist/cjs/ontario-icon-pin-location-on.cjs.entry.js.map +1 -1
  195. package/dist/cjs/ontario-icon-pin-location-on.entry.cjs.js.map +1 -1
  196. package/dist/cjs/ontario-icon-previous.cjs.entry.js +4 -4
  197. package/dist/cjs/ontario-icon-previous.cjs.entry.js.map +1 -1
  198. package/dist/cjs/ontario-icon-previous.entry.cjs.js.map +1 -1
  199. package/dist/cjs/ontario-icon-remove-alt.cjs.entry.js +4 -4
  200. package/dist/cjs/ontario-icon-remove-alt.cjs.entry.js.map +1 -1
  201. package/dist/cjs/ontario-icon-remove-alt.entry.cjs.js.map +1 -1
  202. package/dist/cjs/ontario-icon-remove.cjs.entry.js +4 -4
  203. package/dist/cjs/ontario-icon-remove.cjs.entry.js.map +1 -1
  204. package/dist/cjs/ontario-icon-remove.entry.cjs.js.map +1 -1
  205. package/dist/cjs/ontario-icon-replay.cjs.entry.js +4 -4
  206. package/dist/cjs/ontario-icon-replay.cjs.entry.js.map +1 -1
  207. package/dist/cjs/ontario-icon-replay.entry.cjs.js.map +1 -1
  208. package/dist/cjs/ontario-icon-rss-feed.cjs.entry.js +4 -4
  209. package/dist/cjs/ontario-icon-rss-feed.cjs.entry.js.map +1 -1
  210. package/dist/cjs/ontario-icon-rss-feed.entry.cjs.js.map +1 -1
  211. package/dist/cjs/ontario-icon-save.cjs.entry.js +4 -4
  212. package/dist/cjs/ontario-icon-save.cjs.entry.js.map +1 -1
  213. package/dist/cjs/ontario-icon-save.entry.cjs.js.map +1 -1
  214. package/dist/cjs/ontario-icon-search-white.cjs.entry.js +4 -4
  215. package/dist/cjs/ontario-icon-search-white.cjs.entry.js.map +1 -1
  216. package/dist/cjs/ontario-icon-search-white.entry.cjs.js.map +1 -1
  217. package/dist/cjs/ontario-icon-search.cjs.entry.js +4 -4
  218. package/dist/cjs/ontario-icon-search.cjs.entry.js.map +1 -1
  219. package/dist/cjs/ontario-icon-search.entry.cjs.js.map +1 -1
  220. package/dist/cjs/ontario-icon-sentiment-1.cjs.entry.js +4 -4
  221. package/dist/cjs/ontario-icon-sentiment-1.cjs.entry.js.map +1 -1
  222. package/dist/cjs/ontario-icon-sentiment-1.entry.cjs.js.map +1 -1
  223. package/dist/cjs/ontario-icon-sentiment-2.cjs.entry.js +4 -4
  224. package/dist/cjs/ontario-icon-sentiment-2.cjs.entry.js.map +1 -1
  225. package/dist/cjs/ontario-icon-sentiment-2.entry.cjs.js.map +1 -1
  226. package/dist/cjs/ontario-icon-sentiment-3.cjs.entry.js +4 -4
  227. package/dist/cjs/ontario-icon-sentiment-3.cjs.entry.js.map +1 -1
  228. package/dist/cjs/ontario-icon-sentiment-3.entry.cjs.js.map +1 -1
  229. package/dist/cjs/ontario-icon-sentiment-4.cjs.entry.js +4 -4
  230. package/dist/cjs/ontario-icon-sentiment-4.cjs.entry.js.map +1 -1
  231. package/dist/cjs/ontario-icon-sentiment-4.entry.cjs.js.map +1 -1
  232. package/dist/cjs/ontario-icon-settings.cjs.entry.js +4 -4
  233. package/dist/cjs/ontario-icon-settings.cjs.entry.js.map +1 -1
  234. package/dist/cjs/ontario-icon-settings.entry.cjs.js.map +1 -1
  235. package/dist/cjs/ontario-icon-share.cjs.entry.js +4 -4
  236. package/dist/cjs/ontario-icon-share.cjs.entry.js.map +1 -1
  237. package/dist/cjs/ontario-icon-share.entry.cjs.js.map +1 -1
  238. package/dist/cjs/ontario-icon-sort-alphabetical-ascending.cjs.entry.js +130 -0
  239. package/dist/cjs/ontario-icon-sort-alphabetical-ascending.cjs.entry.js.map +1 -0
  240. package/dist/cjs/ontario-icon-sort-alphabetical-ascending.entry.cjs.js.map +1 -0
  241. package/dist/cjs/ontario-icon-sort-alphabetical-descending.cjs.entry.js +130 -0
  242. package/dist/cjs/ontario-icon-sort-alphabetical-descending.cjs.entry.js.map +1 -0
  243. package/dist/cjs/ontario-icon-sort-alphabetical-descending.entry.cjs.js.map +1 -0
  244. package/dist/cjs/ontario-icon-sort-ascending.cjs.entry.js +130 -0
  245. package/dist/cjs/ontario-icon-sort-ascending.cjs.entry.js.map +1 -0
  246. package/dist/cjs/ontario-icon-sort-ascending.entry.cjs.js.map +1 -0
  247. package/dist/cjs/ontario-icon-sort-descending.cjs.entry.js +130 -0
  248. package/dist/cjs/ontario-icon-sort-descending.cjs.entry.js.map +1 -0
  249. package/dist/cjs/ontario-icon-sort-descending.entry.cjs.js.map +1 -0
  250. package/dist/cjs/ontario-icon-sort-variant.cjs.entry.js +130 -0
  251. package/dist/cjs/ontario-icon-sort-variant.cjs.entry.js.map +1 -0
  252. package/dist/cjs/ontario-icon-sort-variant.entry.cjs.js.map +1 -0
  253. package/dist/cjs/ontario-icon-sort.cjs.entry.js +9 -9
  254. package/dist/cjs/ontario-icon-sort.cjs.entry.js.map +1 -1
  255. package/dist/cjs/ontario-icon-sort.entry.cjs.js.map +1 -1
  256. package/dist/cjs/ontario-icon-tag.cjs.entry.js +4 -4
  257. package/dist/cjs/ontario-icon-tag.cjs.entry.js.map +1 -1
  258. package/dist/cjs/ontario-icon-tag.entry.cjs.js.map +1 -1
  259. package/dist/cjs/ontario-icon-timer.cjs.entry.js +4 -4
  260. package/dist/cjs/ontario-icon-timer.cjs.entry.js.map +1 -1
  261. package/dist/cjs/ontario-icon-timer.entry.cjs.js.map +1 -1
  262. package/dist/cjs/ontario-icon-transport-bicycle.cjs.entry.js +4 -4
  263. package/dist/cjs/ontario-icon-transport-bicycle.cjs.entry.js.map +1 -1
  264. package/dist/cjs/ontario-icon-transport-bicycle.entry.cjs.js.map +1 -1
  265. package/dist/cjs/ontario-icon-transport-car.cjs.entry.js +4 -4
  266. package/dist/cjs/ontario-icon-transport-car.cjs.entry.js.map +1 -1
  267. package/dist/cjs/ontario-icon-transport-car.entry.cjs.js.map +1 -1
  268. package/dist/cjs/ontario-icon-transport-walk.cjs.entry.js +4 -4
  269. package/dist/cjs/ontario-icon-transport-walk.cjs.entry.js.map +1 -1
  270. package/dist/cjs/ontario-icon-transport-walk.entry.cjs.js.map +1 -1
  271. package/dist/cjs/ontario-icon-tty.cjs.entry.js +4 -4
  272. package/dist/cjs/ontario-icon-tty.cjs.entry.js.map +1 -1
  273. package/dist/cjs/ontario-icon-tty.entry.cjs.js.map +1 -1
  274. package/dist/cjs/ontario-icon-twitter-alt.cjs.entry.js +4 -4
  275. package/dist/cjs/ontario-icon-twitter-alt.cjs.entry.js.map +1 -1
  276. package/dist/cjs/ontario-icon-twitter-alt.entry.cjs.js.map +1 -1
  277. package/dist/cjs/ontario-icon-twitter.cjs.entry.js +4 -4
  278. package/dist/cjs/ontario-icon-twitter.cjs.entry.js.map +1 -1
  279. package/dist/cjs/ontario-icon-twitter.entry.cjs.js.map +1 -1
  280. package/dist/cjs/ontario-icon-upload.cjs.entry.js +4 -4
  281. package/dist/cjs/ontario-icon-upload.cjs.entry.js.map +1 -1
  282. package/dist/cjs/ontario-icon-upload.entry.cjs.js.map +1 -1
  283. package/dist/cjs/ontario-icon-video.cjs.entry.js +4 -4
  284. package/dist/cjs/ontario-icon-video.cjs.entry.js.map +1 -1
  285. package/dist/cjs/ontario-icon-video.entry.cjs.js.map +1 -1
  286. package/dist/cjs/ontario-icon-visa.cjs.entry.js +6 -6
  287. package/dist/cjs/ontario-icon-visa.cjs.entry.js.map +1 -1
  288. package/dist/cjs/ontario-icon-visa.entry.cjs.js.map +1 -1
  289. package/dist/cjs/ontario-icon-vote-dislike.cjs.entry.js +4 -4
  290. package/dist/cjs/ontario-icon-vote-dislike.cjs.entry.js.map +1 -1
  291. package/dist/cjs/ontario-icon-vote-dislike.entry.cjs.js.map +1 -1
  292. package/dist/cjs/ontario-icon-vote-like.cjs.entry.js +4 -4
  293. package/dist/cjs/ontario-icon-vote-like.cjs.entry.js.map +1 -1
  294. package/dist/cjs/ontario-icon-vote-like.entry.cjs.js.map +1 -1
  295. package/dist/cjs/ontario-icon-vpn-key.cjs.entry.js +4 -4
  296. package/dist/cjs/ontario-icon-vpn-key.cjs.entry.js.map +1 -1
  297. package/dist/cjs/ontario-icon-vpn-key.entry.cjs.js.map +1 -1
  298. package/dist/cjs/ontario-icon-wheelchair.cjs.entry.js +4 -4
  299. package/dist/cjs/ontario-icon-wheelchair.cjs.entry.js.map +1 -1
  300. package/dist/cjs/ontario-icon-wheelchair.entry.cjs.js.map +1 -1
  301. package/dist/cjs/ontario-icon-wifi.cjs.entry.js +4 -4
  302. package/dist/cjs/ontario-icon-wifi.cjs.entry.js.map +1 -1
  303. package/dist/cjs/ontario-icon-wifi.entry.cjs.js.map +1 -1
  304. package/dist/cjs/ontario-icon-youtube.cjs.entry.js +4 -4
  305. package/dist/cjs/ontario-icon-youtube.cjs.entry.js.map +1 -1
  306. package/dist/cjs/ontario-icon-youtube.entry.cjs.js.map +1 -1
  307. package/dist/collection/collection-manifest.json +6 -0
  308. package/dist/collection/components/ontario-accordion/accordion.interface.js +6 -1
  309. package/dist/collection/components/ontario-accordion/accordion.interface.js.map +1 -1
  310. package/dist/collection/components/ontario-accordion/ontario-accordion.css +3 -2
  311. package/dist/collection/components/ontario-accordion/ontario-accordion.js +127 -62
  312. package/dist/collection/components/ontario-accordion/ontario-accordion.js.map +1 -1
  313. package/dist/collection/components/ontario-aside/ontario-aside.css +6 -4
  314. package/dist/collection/components/ontario-back-to-top/ontario-back-to-top.css +9 -4
  315. package/dist/collection/components/ontario-back-to-top/ontario-back-to-top.js +7 -3
  316. package/dist/collection/components/ontario-back-to-top/ontario-back-to-top.js.map +1 -1
  317. package/dist/collection/components/ontario-badge/ontario-badge.css +10 -10
  318. package/dist/collection/components/ontario-badge/ontario-badge.js +1 -1
  319. package/dist/collection/components/ontario-blockquote/ontario-blockquote.css +3 -2
  320. package/dist/collection/components/ontario-blockquote/ontario-blockquote.js +4 -4
  321. package/dist/collection/components/ontario-button/ontario-button.css +17 -12
  322. package/dist/collection/components/ontario-button/ontario-button.js +1 -1
  323. package/dist/collection/components/ontario-callout/ontario-callout.css +7 -5
  324. package/dist/collection/components/ontario-card/ontario-card.css +9 -8
  325. package/dist/collection/components/ontario-card/ontario-card.js +7 -7
  326. package/dist/collection/components/ontario-card-collection/ontario-card-collection.js +2 -2
  327. package/dist/collection/components/ontario-checkbox/ontario-checkboxes.css +121 -86
  328. package/dist/collection/components/ontario-checkbox/ontario-checkboxes.js +12 -11
  329. package/dist/collection/components/ontario-checkbox/ontario-checkboxes.js.map +1 -1
  330. package/dist/collection/components/ontario-critical-alert/ontario-critical-alert.css +4 -4
  331. package/dist/collection/components/ontario-critical-alert/ontario-critical-alert.js +8 -7
  332. package/dist/collection/components/ontario-critical-alert/ontario-critical-alert.js.map +1 -1
  333. package/dist/collection/components/ontario-date-input/ontario-date-input.css +121 -146
  334. package/dist/collection/components/ontario-date-input/ontario-date-input.js +65 -65
  335. package/dist/collection/components/ontario-date-input/ontario-date-input.js.map +1 -1
  336. package/dist/collection/components/ontario-dropdown-list/ontario-dropdown-list.css +121 -146
  337. package/dist/collection/components/ontario-dropdown-list/ontario-dropdown-list.js +10 -9
  338. package/dist/collection/components/ontario-dropdown-list/ontario-dropdown-list.js.map +1 -1
  339. package/dist/collection/components/ontario-fieldset/ontario-fieldset.css +279 -10
  340. package/dist/collection/components/ontario-fieldset/ontario-fieldset.js +43 -11
  341. package/dist/collection/components/ontario-fieldset/ontario-fieldset.js.map +1 -1
  342. package/dist/collection/components/ontario-footer/ontario-footer.css +790 -789
  343. package/dist/collection/components/ontario-footer/ontario-footer.js +5 -1
  344. package/dist/collection/components/ontario-footer/ontario-footer.js.map +1 -1
  345. package/dist/collection/components/ontario-form-container/ontario-form-container.css +304 -0
  346. package/dist/collection/components/ontario-form-container/ontario-form-container.js +72 -0
  347. package/dist/collection/components/ontario-form-container/ontario-form-container.js.map +1 -0
  348. package/dist/collection/components/ontario-header/ontario-application-header.css +68 -74
  349. package/dist/collection/components/ontario-header/ontario-header.css +76 -75
  350. package/dist/collection/components/ontario-header/service-ontario-header.css +69 -75
  351. package/dist/collection/components/ontario-hint-expander/ontario-hint-expander.css +4 -3
  352. package/dist/collection/components/ontario-hint-expander/ontario-hint-expander.js +15 -7
  353. package/dist/collection/components/ontario-hint-expander/ontario-hint-expander.js.map +1 -1
  354. package/dist/collection/components/ontario-hint-text/ontario-hint-text.css +1 -1
  355. package/dist/collection/components/ontario-icon/assets/ontario-icon-sort-alphabetical-ascending.svg +3 -0
  356. package/dist/collection/components/ontario-icon/assets/ontario-icon-sort-alphabetical-descending.svg +3 -0
  357. package/dist/collection/components/ontario-icon/assets/ontario-icon-sort-ascending.svg +3 -0
  358. package/dist/collection/components/ontario-icon/assets/ontario-icon-sort-descending.svg +3 -0
  359. package/dist/collection/components/ontario-icon/assets/ontario-icon-sort-variant.svg +3 -0
  360. package/dist/collection/components/ontario-icon/assets/ontario-icon-sort.svg +3 -1
  361. package/dist/collection/components/ontario-icon/ontario-icon-accessibility.js +3 -3
  362. package/dist/collection/components/ontario-icon/ontario-icon-account.js +3 -3
  363. package/dist/collection/components/ontario-icon/ontario-icon-add-alt.js +3 -3
  364. package/dist/collection/components/ontario-icon/ontario-icon-add.js +3 -3
  365. package/dist/collection/components/ontario-icon/ontario-icon-alert-error.js +4 -4
  366. package/dist/collection/components/ontario-icon/ontario-icon-alert-information.js +4 -4
  367. package/dist/collection/components/ontario-icon/ontario-icon-alert-success.js +4 -4
  368. package/dist/collection/components/ontario-icon/ontario-icon-alert-warning.js +4 -4
  369. package/dist/collection/components/ontario-icon/ontario-icon-arrow-up.js +4 -4
  370. package/dist/collection/components/ontario-icon/ontario-icon-attach.js +3 -3
  371. package/dist/collection/components/ontario-icon/ontario-icon-bookmark-off.js +3 -3
  372. package/dist/collection/components/ontario-icon/ontario-icon-bookmark-on.js +3 -3
  373. package/dist/collection/components/ontario-icon/ontario-icon-calendar.js +3 -3
  374. package/dist/collection/components/ontario-icon/ontario-icon-camera.js +3 -3
  375. package/dist/collection/components/ontario-icon/ontario-icon-chevron-down.js +3 -3
  376. package/dist/collection/components/ontario-icon/ontario-icon-chevron-left.js +3 -3
  377. package/dist/collection/components/ontario-icon/ontario-icon-chevron-right.js +3 -3
  378. package/dist/collection/components/ontario-icon/ontario-icon-chevron-up.js +3 -3
  379. package/dist/collection/components/ontario-icon/ontario-icon-clock.js +3 -3
  380. package/dist/collection/components/ontario-icon/ontario-icon-close-header.js +3 -3
  381. package/dist/collection/components/ontario-icon/ontario-icon-close.js +3 -3
  382. package/dist/collection/components/ontario-icon/ontario-icon-cloud.js +3 -3
  383. package/dist/collection/components/ontario-icon/ontario-icon-collapse.js +3 -3
  384. package/dist/collection/components/ontario-icon/ontario-icon-credit-card.js +3 -3
  385. package/dist/collection/components/ontario-icon/ontario-icon-critical-alert-warning.js +5 -5
  386. package/dist/collection/components/ontario-icon/ontario-icon-delete.js +3 -3
  387. package/dist/collection/components/ontario-icon/ontario-icon-document.js +3 -3
  388. package/dist/collection/components/ontario-icon/ontario-icon-download.js +3 -3
  389. package/dist/collection/components/ontario-icon/ontario-icon-dropdown-arrow.js +3 -3
  390. package/dist/collection/components/ontario-icon/ontario-icon-edit.js +3 -3
  391. package/dist/collection/components/ontario-icon/ontario-icon-email.js +3 -3
  392. package/dist/collection/components/ontario-icon/ontario-icon-expand.js +3 -3
  393. package/dist/collection/components/ontario-icon/ontario-icon-export.js +3 -3
  394. package/dist/collection/components/ontario-icon/ontario-icon-facebook-alt.js +3 -3
  395. package/dist/collection/components/ontario-icon/ontario-icon-facebook.js +3 -3
  396. package/dist/collection/components/ontario-icon/ontario-icon-favourite-off.js +3 -3
  397. package/dist/collection/components/ontario-icon/ontario-icon-favourite-on.js +3 -3
  398. package/dist/collection/components/ontario-icon/ontario-icon-filter.js +3 -3
  399. package/dist/collection/components/ontario-icon/ontario-icon-flickr.js +3 -3
  400. package/dist/collection/components/ontario-icon/ontario-icon-grid.js +3 -3
  401. package/dist/collection/components/ontario-icon/ontario-icon-help.js +3 -3
  402. package/dist/collection/components/ontario-icon/ontario-icon-instagram.js +3 -3
  403. package/dist/collection/components/ontario-icon/ontario-icon-interac-en-alt.js +19 -19
  404. package/dist/collection/components/ontario-icon/ontario-icon-interac-en.js +18 -18
  405. package/dist/collection/components/ontario-icon/ontario-icon-interac-fr-alt.js +19 -19
  406. package/dist/collection/components/ontario-icon/ontario-icon-interac-fr.js +12 -12
  407. package/dist/collection/components/ontario-icon/ontario-icon-linkedin-alt.js +3 -3
  408. package/dist/collection/components/ontario-icon/ontario-icon-linkedin.js +3 -3
  409. package/dist/collection/components/ontario-icon/ontario-icon-list.js +3 -3
  410. package/dist/collection/components/ontario-icon/ontario-icon-live-chat.js +3 -3
  411. package/dist/collection/components/ontario-icon/ontario-icon-location-off.js +3 -3
  412. package/dist/collection/components/ontario-icon/ontario-icon-location-on.js +3 -3
  413. package/dist/collection/components/ontario-icon/ontario-icon-lock-off.js +3 -3
  414. package/dist/collection/components/ontario-icon/ontario-icon-lock-on.js +3 -3
  415. package/dist/collection/components/ontario-icon/ontario-icon-map.js +3 -3
  416. package/dist/collection/components/ontario-icon/ontario-icon-mastercard-alt.js +6 -6
  417. package/dist/collection/components/ontario-icon/ontario-icon-mastercard.js +9 -9
  418. package/dist/collection/components/ontario-icon/ontario-icon-media-fast-forward.js +3 -3
  419. package/dist/collection/components/ontario-icon/ontario-icon-media-fast-rewind.js +3 -3
  420. package/dist/collection/components/ontario-icon/ontario-icon-media-pause.js +3 -3
  421. package/dist/collection/components/ontario-icon/ontario-icon-media-play.js +3 -3
  422. package/dist/collection/components/ontario-icon/ontario-icon-media-stop.js +3 -3
  423. package/dist/collection/components/ontario-icon/ontario-icon-menu-header.js +3 -3
  424. package/dist/collection/components/ontario-icon/ontario-icon-menu.js +3 -3
  425. package/dist/collection/components/ontario-icon/ontario-icon-microphone-off.js +3 -3
  426. package/dist/collection/components/ontario-icon/ontario-icon-microphone-on.js +3 -3
  427. package/dist/collection/components/ontario-icon/ontario-icon-more-vertical.js +3 -3
  428. package/dist/collection/components/ontario-icon/ontario-icon-new-window.js +3 -3
  429. package/dist/collection/components/ontario-icon/ontario-icon-next.js +3 -3
  430. package/dist/collection/components/ontario-icon/ontario-icon-notification.js +3 -3
  431. package/dist/collection/components/ontario-icon/ontario-icon-password-hide.js +3 -3
  432. package/dist/collection/components/ontario-icon/ontario-icon-password-show.js +3 -3
  433. package/dist/collection/components/ontario-icon/ontario-icon-phone.js +3 -3
  434. package/dist/collection/components/ontario-icon/ontario-icon-photo.js +3 -3
  435. package/dist/collection/components/ontario-icon/ontario-icon-pin-location-off.js +3 -3
  436. package/dist/collection/components/ontario-icon/ontario-icon-pin-location-on.js +3 -3
  437. package/dist/collection/components/ontario-icon/ontario-icon-previous.js +3 -3
  438. package/dist/collection/components/ontario-icon/ontario-icon-print.js +3 -3
  439. package/dist/collection/components/ontario-icon/ontario-icon-remove-alt.js +3 -3
  440. package/dist/collection/components/ontario-icon/ontario-icon-remove.js +3 -3
  441. package/dist/collection/components/ontario-icon/ontario-icon-replay.js +3 -3
  442. package/dist/collection/components/ontario-icon/ontario-icon-rss-feed.js +3 -3
  443. package/dist/collection/components/ontario-icon/ontario-icon-save.js +3 -3
  444. package/dist/collection/components/ontario-icon/ontario-icon-search-white.js +3 -3
  445. package/dist/collection/components/ontario-icon/ontario-icon-search.js +3 -3
  446. package/dist/collection/components/ontario-icon/ontario-icon-sentiment-1.js +3 -3
  447. package/dist/collection/components/ontario-icon/ontario-icon-sentiment-2.js +3 -3
  448. package/dist/collection/components/ontario-icon/ontario-icon-sentiment-3.js +3 -3
  449. package/dist/collection/components/ontario-icon/ontario-icon-sentiment-4.js +3 -3
  450. package/dist/collection/components/ontario-icon/ontario-icon-sentiment-5.js +3 -3
  451. package/dist/collection/components/ontario-icon/ontario-icon-settings.js +3 -3
  452. package/dist/collection/components/ontario-icon/ontario-icon-share.js +3 -3
  453. package/dist/collection/components/ontario-icon/ontario-icon-sort-alphabetical-ascending.js +207 -0
  454. package/dist/collection/components/ontario-icon/ontario-icon-sort-alphabetical-ascending.js.map +1 -0
  455. package/dist/collection/components/ontario-icon/ontario-icon-sort-alphabetical-descending.js +207 -0
  456. package/dist/collection/components/ontario-icon/ontario-icon-sort-alphabetical-descending.js.map +1 -0
  457. package/dist/collection/components/ontario-icon/ontario-icon-sort-ascending.js +207 -0
  458. package/dist/collection/components/ontario-icon/ontario-icon-sort-ascending.js.map +1 -0
  459. package/dist/collection/components/ontario-icon/ontario-icon-sort-descending.js +207 -0
  460. package/dist/collection/components/ontario-icon/ontario-icon-sort-descending.js.map +1 -0
  461. package/dist/collection/components/ontario-icon/ontario-icon-sort-variant.js +204 -0
  462. package/dist/collection/components/ontario-icon/ontario-icon-sort-variant.js.map +1 -0
  463. package/dist/collection/components/ontario-icon/ontario-icon-sort.js +8 -8
  464. package/dist/collection/components/ontario-icon/ontario-icon-sort.js.map +1 -1
  465. package/dist/collection/components/ontario-icon/ontario-icon-tag.js +3 -3
  466. package/dist/collection/components/ontario-icon/ontario-icon-text-message.js +3 -3
  467. package/dist/collection/components/ontario-icon/ontario-icon-timer.js +3 -3
  468. package/dist/collection/components/ontario-icon/ontario-icon-transport-bicycle.js +3 -3
  469. package/dist/collection/components/ontario-icon/ontario-icon-transport-bus.js +3 -3
  470. package/dist/collection/components/ontario-icon/ontario-icon-transport-car.js +3 -3
  471. package/dist/collection/components/ontario-icon/ontario-icon-transport-walk.js +3 -3
  472. package/dist/collection/components/ontario-icon/ontario-icon-tty.js +3 -3
  473. package/dist/collection/components/ontario-icon/ontario-icon-twitter-alt.js +3 -3
  474. package/dist/collection/components/ontario-icon/ontario-icon-twitter.js +3 -3
  475. package/dist/collection/components/ontario-icon/ontario-icon-upload.js +3 -3
  476. package/dist/collection/components/ontario-icon/ontario-icon-video.js +3 -3
  477. package/dist/collection/components/ontario-icon/ontario-icon-visa.js +5 -5
  478. package/dist/collection/components/ontario-icon/ontario-icon-vote-dislike.js +3 -3
  479. package/dist/collection/components/ontario-icon/ontario-icon-vote-like.js +3 -3
  480. package/dist/collection/components/ontario-icon/ontario-icon-vpn-key.js +3 -3
  481. package/dist/collection/components/ontario-icon/ontario-icon-wheelchair.js +3 -3
  482. package/dist/collection/components/ontario-icon/ontario-icon-wifi.js +3 -3
  483. package/dist/collection/components/ontario-icon/ontario-icon-youtube.js +3 -3
  484. package/dist/collection/components/ontario-input/ontario-input.css +124 -149
  485. package/dist/collection/components/ontario-input/ontario-input.js +6 -9
  486. package/dist/collection/components/ontario-input/ontario-input.js.map +1 -1
  487. package/dist/collection/components/ontario-language-toggle/ontario-language-toggle.css +5 -3
  488. package/dist/collection/components/ontario-language-toggle/ontario-language-toggle.js +1 -1
  489. package/dist/collection/components/ontario-loading-indicator/ontario-loading-indicator.css +2 -2
  490. package/dist/collection/components/ontario-loading-indicator/ontario-loading-indicator.js +9 -4
  491. package/dist/collection/components/ontario-loading-indicator/ontario-loading-indicator.js.map +1 -1
  492. package/dist/collection/components/ontario-page-alert/ontario-page-alert.css +4 -3
  493. package/dist/collection/components/ontario-page-alert/ontario-page-alert.js +9 -5
  494. package/dist/collection/components/ontario-page-alert/ontario-page-alert.js.map +1 -1
  495. package/dist/collection/components/ontario-radio-buttons/ontario-radio-buttons.css +128 -87
  496. package/dist/collection/components/ontario-radio-buttons/ontario-radio-buttons.js +12 -11
  497. package/dist/collection/components/ontario-radio-buttons/ontario-radio-buttons.js.map +1 -1
  498. package/dist/collection/components/ontario-search-box/ontario-search-box.css +123 -149
  499. package/dist/collection/components/ontario-search-box/ontario-search-box.js +20 -9
  500. package/dist/collection/components/ontario-search-box/ontario-search-box.js.map +1 -1
  501. package/dist/collection/components/ontario-step-indicator/ontario-step-indicator.css +17 -13
  502. package/dist/collection/components/ontario-step-indicator/ontario-step-indicator.js +22 -10
  503. package/dist/collection/components/ontario-step-indicator/ontario-step-indicator.js.map +1 -1
  504. package/dist/collection/components/ontario-table/ontario-table.css +5 -4
  505. package/dist/collection/components/ontario-table/ontario-table.js +13 -12
  506. package/dist/collection/components/ontario-table/ontario-table.js.map +1 -1
  507. package/dist/collection/components/ontario-task/ontario-task.css +30 -20
  508. package/dist/collection/components/ontario-task/ontario-task.js +12 -14
  509. package/dist/collection/components/ontario-task/ontario-task.js.map +1 -1
  510. package/dist/collection/components/ontario-task-list/ontario-task-list.css +1 -0
  511. package/dist/collection/components/ontario-task-list/ontario-task-list.js +4 -4
  512. package/dist/collection/components/ontario-textarea/ontario-textarea.css +124 -149
  513. package/dist/collection/components/ontario-textarea/ontario-textarea.js +10 -9
  514. package/dist/collection/components/ontario-textarea/ontario-textarea.js.map +1 -1
  515. package/dist/collection/styles/slotted-styles/callouts-asides.scss +11 -0
  516. package/dist/collection/styles/slotted-styles/page-alerts.scss +46 -0
  517. package/dist/collection/styles/theme.scss +7 -0
  518. package/dist/collection/utils/components/form-container/form-container.interface.js +6 -0
  519. package/dist/collection/utils/components/form-container/form-container.interface.js.map +1 -0
  520. package/dist/esm/index-B0__ICHj.js +2932 -0
  521. package/dist/esm/index-B0__ICHj.js.map +1 -0
  522. package/dist/esm/loader.js +3 -3
  523. package/dist/esm/ontario-accordion_47.entry.js +10064 -0
  524. package/dist/esm/ontario-accordion_47.entry.js.map +1 -0
  525. package/dist/esm/ontario-design-system-components.js +3 -3
  526. package/dist/esm/ontario-icon-account.entry.js +4 -4
  527. package/dist/esm/ontario-icon-account.entry.js.map +1 -1
  528. package/dist/esm/ontario-icon-add-alt.entry.js +4 -4
  529. package/dist/esm/ontario-icon-add-alt.entry.js.map +1 -1
  530. package/dist/esm/ontario-icon-add.entry.js +4 -4
  531. package/dist/esm/ontario-icon-add.entry.js.map +1 -1
  532. package/dist/esm/ontario-icon-arrow-up.entry.js +5 -5
  533. package/dist/esm/ontario-icon-arrow-up.entry.js.map +1 -1
  534. package/dist/esm/ontario-icon-attach.entry.js +4 -4
  535. package/dist/esm/ontario-icon-attach.entry.js.map +1 -1
  536. package/dist/esm/ontario-icon-bookmark-off.entry.js +4 -4
  537. package/dist/esm/ontario-icon-bookmark-off.entry.js.map +1 -1
  538. package/dist/esm/ontario-icon-bookmark-on.entry.js +4 -4
  539. package/dist/esm/ontario-icon-bookmark-on.entry.js.map +1 -1
  540. package/dist/esm/ontario-icon-calendar.entry.js +4 -4
  541. package/dist/esm/ontario-icon-calendar.entry.js.map +1 -1
  542. package/dist/esm/ontario-icon-chevron-right.entry.js +4 -4
  543. package/dist/esm/ontario-icon-chevron-right.entry.js.map +1 -1
  544. package/dist/esm/ontario-icon-clock.entry.js +4 -4
  545. package/dist/esm/ontario-icon-clock.entry.js.map +1 -1
  546. package/dist/esm/ontario-icon-close-header.entry.js +4 -4
  547. package/dist/esm/ontario-icon-close-header.entry.js.map +1 -1
  548. package/dist/esm/ontario-icon-close.entry.js +4 -4
  549. package/dist/esm/ontario-icon-close.entry.js.map +1 -1
  550. package/dist/esm/ontario-icon-cloud.entry.js +4 -4
  551. package/dist/esm/ontario-icon-cloud.entry.js.map +1 -1
  552. package/dist/esm/ontario-icon-collapse.entry.js +4 -4
  553. package/dist/esm/ontario-icon-collapse.entry.js.map +1 -1
  554. package/dist/esm/ontario-icon-credit-card.entry.js +4 -4
  555. package/dist/esm/ontario-icon-credit-card.entry.js.map +1 -1
  556. package/dist/esm/ontario-icon-critical-alert-warning.entry.js +6 -6
  557. package/dist/esm/ontario-icon-critical-alert-warning.entry.js.map +1 -1
  558. package/dist/esm/ontario-icon-delete.entry.js +4 -4
  559. package/dist/esm/ontario-icon-delete.entry.js.map +1 -1
  560. package/dist/esm/ontario-icon-document.entry.js +4 -4
  561. package/dist/esm/ontario-icon-document.entry.js.map +1 -1
  562. package/dist/esm/ontario-icon-download.entry.js +4 -4
  563. package/dist/esm/ontario-icon-download.entry.js.map +1 -1
  564. package/dist/esm/ontario-icon-dropdown-arrow.entry.js +4 -4
  565. package/dist/esm/ontario-icon-dropdown-arrow.entry.js.map +1 -1
  566. package/dist/esm/ontario-icon-edit.entry.js +4 -4
  567. package/dist/esm/ontario-icon-edit.entry.js.map +1 -1
  568. package/dist/esm/ontario-icon-expand.entry.js +4 -4
  569. package/dist/esm/ontario-icon-expand.entry.js.map +1 -1
  570. package/dist/esm/ontario-icon-export.entry.js +4 -4
  571. package/dist/esm/ontario-icon-export.entry.js.map +1 -1
  572. package/dist/esm/ontario-icon-facebook-alt.entry.js +4 -4
  573. package/dist/esm/ontario-icon-facebook-alt.entry.js.map +1 -1
  574. package/dist/esm/ontario-icon-facebook.entry.js +4 -4
  575. package/dist/esm/ontario-icon-facebook.entry.js.map +1 -1
  576. package/dist/esm/ontario-icon-favourite-off.entry.js +4 -4
  577. package/dist/esm/ontario-icon-favourite-off.entry.js.map +1 -1
  578. package/dist/esm/ontario-icon-favourite-on.entry.js +4 -4
  579. package/dist/esm/ontario-icon-favourite-on.entry.js.map +1 -1
  580. package/dist/esm/ontario-icon-filter.entry.js +4 -4
  581. package/dist/esm/ontario-icon-filter.entry.js.map +1 -1
  582. package/dist/esm/ontario-icon-flickr.entry.js +4 -4
  583. package/dist/esm/ontario-icon-flickr.entry.js.map +1 -1
  584. package/dist/esm/ontario-icon-grid.entry.js +4 -4
  585. package/dist/esm/ontario-icon-grid.entry.js.map +1 -1
  586. package/dist/esm/ontario-icon-instagram.entry.js +4 -4
  587. package/dist/esm/ontario-icon-instagram.entry.js.map +1 -1
  588. package/dist/esm/ontario-icon-interac-en-alt.entry.js +20 -20
  589. package/dist/esm/ontario-icon-interac-en-alt.entry.js.map +1 -1
  590. package/dist/esm/ontario-icon-interac-en.entry.js +19 -19
  591. package/dist/esm/ontario-icon-interac-en.entry.js.map +1 -1
  592. package/dist/esm/ontario-icon-interac-fr-alt.entry.js +20 -20
  593. package/dist/esm/ontario-icon-interac-fr-alt.entry.js.map +1 -1
  594. package/dist/esm/ontario-icon-interac-fr.entry.js +13 -13
  595. package/dist/esm/ontario-icon-interac-fr.entry.js.map +1 -1
  596. package/dist/esm/ontario-icon-linkedin-alt.entry.js +4 -4
  597. package/dist/esm/ontario-icon-linkedin-alt.entry.js.map +1 -1
  598. package/dist/esm/ontario-icon-linkedin.entry.js +4 -4
  599. package/dist/esm/ontario-icon-linkedin.entry.js.map +1 -1
  600. package/dist/esm/ontario-icon-list.entry.js +4 -4
  601. package/dist/esm/ontario-icon-list.entry.js.map +1 -1
  602. package/dist/esm/ontario-icon-live-chat.entry.js +4 -4
  603. package/dist/esm/ontario-icon-live-chat.entry.js.map +1 -1
  604. package/dist/esm/ontario-icon-location-off.entry.js +4 -4
  605. package/dist/esm/ontario-icon-location-off.entry.js.map +1 -1
  606. package/dist/esm/ontario-icon-location-on.entry.js +4 -4
  607. package/dist/esm/ontario-icon-location-on.entry.js.map +1 -1
  608. package/dist/esm/ontario-icon-lock-off.entry.js +4 -4
  609. package/dist/esm/ontario-icon-lock-off.entry.js.map +1 -1
  610. package/dist/esm/ontario-icon-lock-on.entry.js +4 -4
  611. package/dist/esm/ontario-icon-lock-on.entry.js.map +1 -1
  612. package/dist/esm/ontario-icon-map.entry.js +4 -4
  613. package/dist/esm/ontario-icon-map.entry.js.map +1 -1
  614. package/dist/esm/ontario-icon-mastercard-alt.entry.js +7 -7
  615. package/dist/esm/ontario-icon-mastercard-alt.entry.js.map +1 -1
  616. package/dist/esm/ontario-icon-media-fast-forward.entry.js +4 -4
  617. package/dist/esm/ontario-icon-media-fast-forward.entry.js.map +1 -1
  618. package/dist/esm/ontario-icon-media-fast-rewind.entry.js +4 -4
  619. package/dist/esm/ontario-icon-media-fast-rewind.entry.js.map +1 -1
  620. package/dist/esm/ontario-icon-media-pause.entry.js +4 -4
  621. package/dist/esm/ontario-icon-media-pause.entry.js.map +1 -1
  622. package/dist/esm/ontario-icon-media-play.entry.js +4 -4
  623. package/dist/esm/ontario-icon-media-play.entry.js.map +1 -1
  624. package/dist/esm/ontario-icon-media-stop.entry.js +4 -4
  625. package/dist/esm/ontario-icon-media-stop.entry.js.map +1 -1
  626. package/dist/esm/ontario-icon-menu-header.entry.js +4 -4
  627. package/dist/esm/ontario-icon-menu-header.entry.js.map +1 -1
  628. package/dist/esm/ontario-icon-menu.entry.js +4 -4
  629. package/dist/esm/ontario-icon-menu.entry.js.map +1 -1
  630. package/dist/esm/ontario-icon-microphone-off.entry.js +4 -4
  631. package/dist/esm/ontario-icon-microphone-off.entry.js.map +1 -1
  632. package/dist/esm/ontario-icon-microphone-on.entry.js +4 -4
  633. package/dist/esm/ontario-icon-microphone-on.entry.js.map +1 -1
  634. package/dist/esm/ontario-icon-more-vertical.entry.js +4 -4
  635. package/dist/esm/ontario-icon-more-vertical.entry.js.map +1 -1
  636. package/dist/esm/ontario-icon-new-window.entry.js +4 -4
  637. package/dist/esm/ontario-icon-new-window.entry.js.map +1 -1
  638. package/dist/esm/ontario-icon-next.entry.js +4 -4
  639. package/dist/esm/ontario-icon-next.entry.js.map +1 -1
  640. package/dist/esm/ontario-icon-password-hide.entry.js +4 -4
  641. package/dist/esm/ontario-icon-password-hide.entry.js.map +1 -1
  642. package/dist/esm/ontario-icon-password-show.entry.js +4 -4
  643. package/dist/esm/ontario-icon-password-show.entry.js.map +1 -1
  644. package/dist/esm/ontario-icon-phone.entry.js +4 -4
  645. package/dist/esm/ontario-icon-phone.entry.js.map +1 -1
  646. package/dist/esm/ontario-icon-photo.entry.js +4 -4
  647. package/dist/esm/ontario-icon-photo.entry.js.map +1 -1
  648. package/dist/esm/ontario-icon-pin-location-off.entry.js +4 -4
  649. package/dist/esm/ontario-icon-pin-location-off.entry.js.map +1 -1
  650. package/dist/esm/ontario-icon-pin-location-on.entry.js +4 -4
  651. package/dist/esm/ontario-icon-pin-location-on.entry.js.map +1 -1
  652. package/dist/esm/ontario-icon-previous.entry.js +4 -4
  653. package/dist/esm/ontario-icon-previous.entry.js.map +1 -1
  654. package/dist/esm/ontario-icon-remove-alt.entry.js +4 -4
  655. package/dist/esm/ontario-icon-remove-alt.entry.js.map +1 -1
  656. package/dist/esm/ontario-icon-remove.entry.js +4 -4
  657. package/dist/esm/ontario-icon-remove.entry.js.map +1 -1
  658. package/dist/esm/ontario-icon-replay.entry.js +4 -4
  659. package/dist/esm/ontario-icon-replay.entry.js.map +1 -1
  660. package/dist/esm/ontario-icon-rss-feed.entry.js +4 -4
  661. package/dist/esm/ontario-icon-rss-feed.entry.js.map +1 -1
  662. package/dist/esm/ontario-icon-save.entry.js +4 -4
  663. package/dist/esm/ontario-icon-save.entry.js.map +1 -1
  664. package/dist/esm/ontario-icon-search-white.entry.js +4 -4
  665. package/dist/esm/ontario-icon-search-white.entry.js.map +1 -1
  666. package/dist/esm/ontario-icon-search.entry.js +4 -4
  667. package/dist/esm/ontario-icon-search.entry.js.map +1 -1
  668. package/dist/esm/ontario-icon-sentiment-1.entry.js +4 -4
  669. package/dist/esm/ontario-icon-sentiment-1.entry.js.map +1 -1
  670. package/dist/esm/ontario-icon-sentiment-2.entry.js +4 -4
  671. package/dist/esm/ontario-icon-sentiment-2.entry.js.map +1 -1
  672. package/dist/esm/ontario-icon-sentiment-3.entry.js +4 -4
  673. package/dist/esm/ontario-icon-sentiment-3.entry.js.map +1 -1
  674. package/dist/esm/ontario-icon-sentiment-4.entry.js +4 -4
  675. package/dist/esm/ontario-icon-sentiment-4.entry.js.map +1 -1
  676. package/dist/esm/ontario-icon-settings.entry.js +4 -4
  677. package/dist/esm/ontario-icon-settings.entry.js.map +1 -1
  678. package/dist/esm/ontario-icon-share.entry.js +4 -4
  679. package/dist/esm/ontario-icon-share.entry.js.map +1 -1
  680. package/dist/esm/ontario-icon-sort-alphabetical-ascending.entry.js +128 -0
  681. package/dist/esm/ontario-icon-sort-alphabetical-ascending.entry.js.map +1 -0
  682. package/dist/esm/ontario-icon-sort-alphabetical-descending.entry.js +128 -0
  683. package/dist/esm/ontario-icon-sort-alphabetical-descending.entry.js.map +1 -0
  684. package/dist/esm/ontario-icon-sort-ascending.entry.js +128 -0
  685. package/dist/esm/ontario-icon-sort-ascending.entry.js.map +1 -0
  686. package/dist/esm/ontario-icon-sort-descending.entry.js +128 -0
  687. package/dist/esm/ontario-icon-sort-descending.entry.js.map +1 -0
  688. package/dist/esm/ontario-icon-sort-variant.entry.js +125 -0
  689. package/dist/esm/ontario-icon-sort-variant.entry.js.map +1 -0
  690. package/dist/esm/ontario-icon-sort.entry.js +9 -9
  691. package/dist/esm/ontario-icon-sort.entry.js.map +1 -1
  692. package/dist/esm/ontario-icon-tag.entry.js +4 -4
  693. package/dist/esm/ontario-icon-tag.entry.js.map +1 -1
  694. package/dist/esm/ontario-icon-timer.entry.js +4 -4
  695. package/dist/esm/ontario-icon-timer.entry.js.map +1 -1
  696. package/dist/esm/ontario-icon-transport-bicycle.entry.js +4 -4
  697. package/dist/esm/ontario-icon-transport-bicycle.entry.js.map +1 -1
  698. package/dist/esm/ontario-icon-transport-car.entry.js +4 -4
  699. package/dist/esm/ontario-icon-transport-car.entry.js.map +1 -1
  700. package/dist/esm/ontario-icon-transport-walk.entry.js +4 -4
  701. package/dist/esm/ontario-icon-transport-walk.entry.js.map +1 -1
  702. package/dist/esm/ontario-icon-tty.entry.js +4 -4
  703. package/dist/esm/ontario-icon-tty.entry.js.map +1 -1
  704. package/dist/esm/ontario-icon-twitter-alt.entry.js +4 -4
  705. package/dist/esm/ontario-icon-twitter-alt.entry.js.map +1 -1
  706. package/dist/esm/ontario-icon-twitter.entry.js +4 -4
  707. package/dist/esm/ontario-icon-twitter.entry.js.map +1 -1
  708. package/dist/esm/ontario-icon-upload.entry.js +4 -4
  709. package/dist/esm/ontario-icon-upload.entry.js.map +1 -1
  710. package/dist/esm/ontario-icon-video.entry.js +4 -4
  711. package/dist/esm/ontario-icon-video.entry.js.map +1 -1
  712. package/dist/esm/ontario-icon-visa.entry.js +6 -6
  713. package/dist/esm/ontario-icon-visa.entry.js.map +1 -1
  714. package/dist/esm/ontario-icon-vote-dislike.entry.js +4 -4
  715. package/dist/esm/ontario-icon-vote-dislike.entry.js.map +1 -1
  716. package/dist/esm/ontario-icon-vote-like.entry.js +4 -4
  717. package/dist/esm/ontario-icon-vote-like.entry.js.map +1 -1
  718. package/dist/esm/ontario-icon-vpn-key.entry.js +4 -4
  719. package/dist/esm/ontario-icon-vpn-key.entry.js.map +1 -1
  720. package/dist/esm/ontario-icon-wheelchair.entry.js +4 -4
  721. package/dist/esm/ontario-icon-wheelchair.entry.js.map +1 -1
  722. package/dist/esm/ontario-icon-wifi.entry.js +4 -4
  723. package/dist/esm/ontario-icon-wifi.entry.js.map +1 -1
  724. package/dist/esm/ontario-icon-youtube.entry.js +4 -4
  725. package/dist/esm/ontario-icon-youtube.entry.js.map +1 -1
  726. package/dist/ontario-design-system-components/ontario-design-system-components.css +43 -200
  727. package/dist/ontario-design-system-components/ontario-design-system-components.esm.js +3 -3
  728. package/dist/ontario-design-system-components/ontario-icon-account.entry.esm.js.map +1 -1
  729. package/dist/ontario-design-system-components/ontario-icon-add-alt.entry.esm.js.map +1 -1
  730. package/dist/ontario-design-system-components/ontario-icon-add.entry.esm.js.map +1 -1
  731. package/dist/ontario-design-system-components/ontario-icon-arrow-up.entry.esm.js.map +1 -1
  732. package/dist/ontario-design-system-components/ontario-icon-attach.entry.esm.js.map +1 -1
  733. package/dist/ontario-design-system-components/ontario-icon-bookmark-off.entry.esm.js.map +1 -1
  734. package/dist/ontario-design-system-components/ontario-icon-bookmark-on.entry.esm.js.map +1 -1
  735. package/dist/ontario-design-system-components/ontario-icon-calendar.entry.esm.js.map +1 -1
  736. package/dist/ontario-design-system-components/ontario-icon-chevron-right.entry.esm.js.map +1 -1
  737. package/dist/ontario-design-system-components/ontario-icon-clock.entry.esm.js.map +1 -1
  738. package/dist/ontario-design-system-components/ontario-icon-close-header.entry.esm.js.map +1 -1
  739. package/dist/ontario-design-system-components/ontario-icon-close.entry.esm.js.map +1 -1
  740. package/dist/ontario-design-system-components/ontario-icon-cloud.entry.esm.js.map +1 -1
  741. package/dist/ontario-design-system-components/ontario-icon-collapse.entry.esm.js.map +1 -1
  742. package/dist/ontario-design-system-components/ontario-icon-credit-card.entry.esm.js.map +1 -1
  743. package/dist/ontario-design-system-components/ontario-icon-critical-alert-warning.entry.esm.js.map +1 -1
  744. package/dist/ontario-design-system-components/ontario-icon-delete.entry.esm.js.map +1 -1
  745. package/dist/ontario-design-system-components/ontario-icon-document.entry.esm.js.map +1 -1
  746. package/dist/ontario-design-system-components/ontario-icon-download.entry.esm.js.map +1 -1
  747. package/dist/ontario-design-system-components/ontario-icon-dropdown-arrow.entry.esm.js.map +1 -1
  748. package/dist/ontario-design-system-components/ontario-icon-edit.entry.esm.js.map +1 -1
  749. package/dist/ontario-design-system-components/ontario-icon-expand.entry.esm.js.map +1 -1
  750. package/dist/ontario-design-system-components/ontario-icon-export.entry.esm.js.map +1 -1
  751. package/dist/ontario-design-system-components/ontario-icon-facebook-alt.entry.esm.js.map +1 -1
  752. package/dist/ontario-design-system-components/ontario-icon-facebook.entry.esm.js.map +1 -1
  753. package/dist/ontario-design-system-components/ontario-icon-favourite-off.entry.esm.js.map +1 -1
  754. package/dist/ontario-design-system-components/ontario-icon-favourite-on.entry.esm.js.map +1 -1
  755. package/dist/ontario-design-system-components/ontario-icon-filter.entry.esm.js.map +1 -1
  756. package/dist/ontario-design-system-components/ontario-icon-flickr.entry.esm.js.map +1 -1
  757. package/dist/ontario-design-system-components/ontario-icon-grid.entry.esm.js.map +1 -1
  758. package/dist/ontario-design-system-components/ontario-icon-instagram.entry.esm.js.map +1 -1
  759. package/dist/ontario-design-system-components/ontario-icon-interac-en-alt.entry.esm.js.map +1 -1
  760. package/dist/ontario-design-system-components/ontario-icon-interac-en.entry.esm.js.map +1 -1
  761. package/dist/ontario-design-system-components/ontario-icon-interac-fr-alt.entry.esm.js.map +1 -1
  762. package/dist/ontario-design-system-components/ontario-icon-interac-fr.entry.esm.js.map +1 -1
  763. package/dist/ontario-design-system-components/ontario-icon-linkedin-alt.entry.esm.js.map +1 -1
  764. package/dist/ontario-design-system-components/ontario-icon-linkedin.entry.esm.js.map +1 -1
  765. package/dist/ontario-design-system-components/ontario-icon-list.entry.esm.js.map +1 -1
  766. package/dist/ontario-design-system-components/ontario-icon-live-chat.entry.esm.js.map +1 -1
  767. package/dist/ontario-design-system-components/ontario-icon-location-off.entry.esm.js.map +1 -1
  768. package/dist/ontario-design-system-components/ontario-icon-location-on.entry.esm.js.map +1 -1
  769. package/dist/ontario-design-system-components/ontario-icon-lock-off.entry.esm.js.map +1 -1
  770. package/dist/ontario-design-system-components/ontario-icon-lock-on.entry.esm.js.map +1 -1
  771. package/dist/ontario-design-system-components/ontario-icon-map.entry.esm.js.map +1 -1
  772. package/dist/ontario-design-system-components/ontario-icon-mastercard-alt.entry.esm.js.map +1 -1
  773. package/dist/ontario-design-system-components/ontario-icon-media-fast-forward.entry.esm.js.map +1 -1
  774. package/dist/ontario-design-system-components/ontario-icon-media-fast-rewind.entry.esm.js.map +1 -1
  775. package/dist/ontario-design-system-components/ontario-icon-media-pause.entry.esm.js.map +1 -1
  776. package/dist/ontario-design-system-components/ontario-icon-media-play.entry.esm.js.map +1 -1
  777. package/dist/ontario-design-system-components/ontario-icon-media-stop.entry.esm.js.map +1 -1
  778. package/dist/ontario-design-system-components/ontario-icon-menu-header.entry.esm.js.map +1 -1
  779. package/dist/ontario-design-system-components/ontario-icon-menu.entry.esm.js.map +1 -1
  780. package/dist/ontario-design-system-components/ontario-icon-microphone-off.entry.esm.js.map +1 -1
  781. package/dist/ontario-design-system-components/ontario-icon-microphone-on.entry.esm.js.map +1 -1
  782. package/dist/ontario-design-system-components/ontario-icon-more-vertical.entry.esm.js.map +1 -1
  783. package/dist/ontario-design-system-components/ontario-icon-new-window.entry.esm.js.map +1 -1
  784. package/dist/ontario-design-system-components/ontario-icon-next.entry.esm.js.map +1 -1
  785. package/dist/ontario-design-system-components/ontario-icon-password-hide.entry.esm.js.map +1 -1
  786. package/dist/ontario-design-system-components/ontario-icon-password-show.entry.esm.js.map +1 -1
  787. package/dist/ontario-design-system-components/ontario-icon-phone.entry.esm.js.map +1 -1
  788. package/dist/ontario-design-system-components/ontario-icon-photo.entry.esm.js.map +1 -1
  789. package/dist/ontario-design-system-components/ontario-icon-pin-location-off.entry.esm.js.map +1 -1
  790. package/dist/ontario-design-system-components/ontario-icon-pin-location-on.entry.esm.js.map +1 -1
  791. package/dist/ontario-design-system-components/ontario-icon-previous.entry.esm.js.map +1 -1
  792. package/dist/ontario-design-system-components/ontario-icon-remove-alt.entry.esm.js.map +1 -1
  793. package/dist/ontario-design-system-components/ontario-icon-remove.entry.esm.js.map +1 -1
  794. package/dist/ontario-design-system-components/ontario-icon-replay.entry.esm.js.map +1 -1
  795. package/dist/ontario-design-system-components/ontario-icon-rss-feed.entry.esm.js.map +1 -1
  796. package/dist/ontario-design-system-components/ontario-icon-save.entry.esm.js.map +1 -1
  797. package/dist/ontario-design-system-components/ontario-icon-search-white.entry.esm.js.map +1 -1
  798. package/dist/ontario-design-system-components/ontario-icon-search.entry.esm.js.map +1 -1
  799. package/dist/ontario-design-system-components/ontario-icon-sentiment-1.entry.esm.js.map +1 -1
  800. package/dist/ontario-design-system-components/ontario-icon-sentiment-2.entry.esm.js.map +1 -1
  801. package/dist/ontario-design-system-components/ontario-icon-sentiment-3.entry.esm.js.map +1 -1
  802. package/dist/ontario-design-system-components/ontario-icon-sentiment-4.entry.esm.js.map +1 -1
  803. package/dist/ontario-design-system-components/ontario-icon-settings.entry.esm.js.map +1 -1
  804. package/dist/ontario-design-system-components/ontario-icon-share.entry.esm.js.map +1 -1
  805. package/dist/ontario-design-system-components/ontario-icon-sort-alphabetical-ascending.entry.esm.js.map +1 -0
  806. package/dist/ontario-design-system-components/ontario-icon-sort-alphabetical-descending.entry.esm.js.map +1 -0
  807. package/dist/ontario-design-system-components/ontario-icon-sort-ascending.entry.esm.js.map +1 -0
  808. package/dist/ontario-design-system-components/ontario-icon-sort-descending.entry.esm.js.map +1 -0
  809. package/dist/ontario-design-system-components/ontario-icon-sort-variant.entry.esm.js.map +1 -0
  810. package/dist/ontario-design-system-components/ontario-icon-sort.entry.esm.js.map +1 -1
  811. package/dist/ontario-design-system-components/ontario-icon-tag.entry.esm.js.map +1 -1
  812. package/dist/ontario-design-system-components/ontario-icon-timer.entry.esm.js.map +1 -1
  813. package/dist/ontario-design-system-components/ontario-icon-transport-bicycle.entry.esm.js.map +1 -1
  814. package/dist/ontario-design-system-components/ontario-icon-transport-car.entry.esm.js.map +1 -1
  815. package/dist/ontario-design-system-components/ontario-icon-transport-walk.entry.esm.js.map +1 -1
  816. package/dist/ontario-design-system-components/ontario-icon-tty.entry.esm.js.map +1 -1
  817. package/dist/ontario-design-system-components/ontario-icon-twitter-alt.entry.esm.js.map +1 -1
  818. package/dist/ontario-design-system-components/ontario-icon-twitter.entry.esm.js.map +1 -1
  819. package/dist/ontario-design-system-components/ontario-icon-upload.entry.esm.js.map +1 -1
  820. package/dist/ontario-design-system-components/ontario-icon-video.entry.esm.js.map +1 -1
  821. package/dist/ontario-design-system-components/ontario-icon-visa.entry.esm.js.map +1 -1
  822. package/dist/ontario-design-system-components/ontario-icon-vote-dislike.entry.esm.js.map +1 -1
  823. package/dist/ontario-design-system-components/ontario-icon-vote-like.entry.esm.js.map +1 -1
  824. package/dist/ontario-design-system-components/ontario-icon-vpn-key.entry.esm.js.map +1 -1
  825. package/dist/ontario-design-system-components/ontario-icon-wheelchair.entry.esm.js.map +1 -1
  826. package/dist/ontario-design-system-components/ontario-icon-wifi.entry.esm.js.map +1 -1
  827. package/dist/ontario-design-system-components/ontario-icon-youtube.entry.esm.js.map +1 -1
  828. package/dist/ontario-design-system-components/p-011ab496.entry.js +93 -0
  829. package/dist/ontario-design-system-components/p-011ab496.entry.js.map +1 -0
  830. package/dist/ontario-design-system-components/p-04c46187.entry.js +92 -0
  831. package/dist/ontario-design-system-components/p-04c46187.entry.js.map +1 -0
  832. package/dist/ontario-design-system-components/p-0afffbb2.entry.js +90 -0
  833. package/dist/ontario-design-system-components/p-0afffbb2.entry.js.map +1 -0
  834. package/dist/ontario-design-system-components/p-0ce6b840.entry.js +92 -0
  835. package/dist/ontario-design-system-components/p-0ce6b840.entry.js.map +1 -0
  836. package/dist/ontario-design-system-components/p-0e4d96ce.entry.js +93 -0
  837. package/dist/ontario-design-system-components/p-0e4d96ce.entry.js.map +1 -0
  838. package/dist/ontario-design-system-components/p-0e534a49.entry.js +92 -0
  839. package/dist/ontario-design-system-components/p-0e534a49.entry.js.map +1 -0
  840. package/dist/ontario-design-system-components/p-1096d047.entry.js +92 -0
  841. package/dist/ontario-design-system-components/p-1096d047.entry.js.map +1 -0
  842. package/dist/ontario-design-system-components/p-1956edbd.entry.js +92 -0
  843. package/dist/ontario-design-system-components/p-1956edbd.entry.js.map +1 -0
  844. package/dist/ontario-design-system-components/p-1b3b845e.entry.js +7322 -0
  845. package/dist/ontario-design-system-components/p-1b3b845e.entry.js.map +1 -0
  846. package/dist/ontario-design-system-components/p-22a571b1.entry.js +92 -0
  847. package/dist/ontario-design-system-components/p-22a571b1.entry.js.map +1 -0
  848. package/dist/ontario-design-system-components/p-22ba08bc.entry.js +92 -0
  849. package/dist/ontario-design-system-components/p-22ba08bc.entry.js.map +1 -0
  850. package/dist/ontario-design-system-components/p-256bafc0.entry.js +93 -0
  851. package/dist/ontario-design-system-components/p-256bafc0.entry.js.map +1 -0
  852. package/dist/ontario-design-system-components/p-26049def.entry.js +78 -0
  853. package/dist/ontario-design-system-components/p-26049def.entry.js.map +1 -0
  854. package/dist/ontario-design-system-components/p-260e7e2b.entry.js +92 -0
  855. package/dist/ontario-design-system-components/p-260e7e2b.entry.js.map +1 -0
  856. package/dist/ontario-design-system-components/p-27c1d49b.entry.js +93 -0
  857. package/dist/ontario-design-system-components/p-27c1d49b.entry.js.map +1 -0
  858. package/dist/ontario-design-system-components/p-2c1ae1e3.entry.js +92 -0
  859. package/dist/ontario-design-system-components/p-2c1ae1e3.entry.js.map +1 -0
  860. package/dist/ontario-design-system-components/p-311dcc5b.entry.js +92 -0
  861. package/dist/ontario-design-system-components/p-311dcc5b.entry.js.map +1 -0
  862. package/dist/ontario-design-system-components/p-31711253.entry.js +92 -0
  863. package/dist/ontario-design-system-components/p-31711253.entry.js.map +1 -0
  864. package/dist/ontario-design-system-components/p-33520e7f.entry.js +89 -0
  865. package/dist/ontario-design-system-components/p-33520e7f.entry.js.map +1 -0
  866. package/dist/ontario-design-system-components/p-3403da5c.entry.js +92 -0
  867. package/dist/ontario-design-system-components/p-3403da5c.entry.js.map +1 -0
  868. package/dist/ontario-design-system-components/p-34be4c65.entry.js +89 -0
  869. package/dist/ontario-design-system-components/p-34be4c65.entry.js.map +1 -0
  870. package/dist/ontario-design-system-components/p-38cf9497.entry.js +93 -0
  871. package/dist/ontario-design-system-components/p-38cf9497.entry.js.map +1 -0
  872. package/dist/ontario-design-system-components/p-3b744094.entry.js +92 -0
  873. package/dist/ontario-design-system-components/p-3b744094.entry.js.map +1 -0
  874. package/dist/ontario-design-system-components/p-3c1b008d.entry.js +92 -0
  875. package/dist/ontario-design-system-components/p-3c1b008d.entry.js.map +1 -0
  876. package/dist/ontario-design-system-components/p-3f8b790f.entry.js +92 -0
  877. package/dist/ontario-design-system-components/p-3f8b790f.entry.js.map +1 -0
  878. package/dist/ontario-design-system-components/p-40d8fb2e.entry.js +90 -0
  879. package/dist/ontario-design-system-components/p-40d8fb2e.entry.js.map +1 -0
  880. package/dist/ontario-design-system-components/p-43652536.entry.js +89 -0
  881. package/dist/ontario-design-system-components/p-43652536.entry.js.map +1 -0
  882. package/dist/ontario-design-system-components/p-45872b98.entry.js +89 -0
  883. package/dist/ontario-design-system-components/p-45872b98.entry.js.map +1 -0
  884. package/dist/ontario-design-system-components/p-46c3d16e.entry.js +92 -0
  885. package/dist/ontario-design-system-components/p-46c3d16e.entry.js.map +1 -0
  886. package/dist/ontario-design-system-components/p-46cff4f2.entry.js +92 -0
  887. package/dist/ontario-design-system-components/p-46cff4f2.entry.js.map +1 -0
  888. package/dist/ontario-design-system-components/p-4c5c9374.entry.js +92 -0
  889. package/dist/ontario-design-system-components/p-4c5c9374.entry.js.map +1 -0
  890. package/dist/ontario-design-system-components/p-4e9b237e.entry.js +92 -0
  891. package/dist/ontario-design-system-components/p-4e9b237e.entry.js.map +1 -0
  892. package/dist/ontario-design-system-components/p-4ff027fc.entry.js +92 -0
  893. package/dist/ontario-design-system-components/p-4ff027fc.entry.js.map +1 -0
  894. package/dist/ontario-design-system-components/p-547b0444.entry.js +92 -0
  895. package/dist/ontario-design-system-components/p-547b0444.entry.js.map +1 -0
  896. package/dist/ontario-design-system-components/p-55b99943.entry.js +92 -0
  897. package/dist/ontario-design-system-components/p-55b99943.entry.js.map +1 -0
  898. package/dist/ontario-design-system-components/p-57b23d6d.entry.js +92 -0
  899. package/dist/ontario-design-system-components/p-57b23d6d.entry.js.map +1 -0
  900. package/dist/ontario-design-system-components/p-57ea2348.entry.js +92 -0
  901. package/dist/ontario-design-system-components/p-57ea2348.entry.js.map +1 -0
  902. package/dist/ontario-design-system-components/p-5a986c60.entry.js +92 -0
  903. package/dist/ontario-design-system-components/p-5a986c60.entry.js.map +1 -0
  904. package/dist/ontario-design-system-components/p-5b600716.entry.js +89 -0
  905. package/dist/ontario-design-system-components/p-5b600716.entry.js.map +1 -0
  906. package/dist/ontario-design-system-components/p-5f7771d6.entry.js +92 -0
  907. package/dist/ontario-design-system-components/p-5f7771d6.entry.js.map +1 -0
  908. package/dist/ontario-design-system-components/p-609b00ae.entry.js +138 -0
  909. package/dist/ontario-design-system-components/p-609b00ae.entry.js.map +1 -0
  910. package/dist/ontario-design-system-components/p-64c67020.entry.js +93 -0
  911. package/dist/ontario-design-system-components/p-64c67020.entry.js.map +1 -0
  912. package/dist/ontario-design-system-components/p-64d25987.entry.js +85 -0
  913. package/dist/ontario-design-system-components/p-64d25987.entry.js.map +1 -0
  914. package/dist/ontario-design-system-components/p-6dfabd46.entry.js +92 -0
  915. package/dist/ontario-design-system-components/p-6dfabd46.entry.js.map +1 -0
  916. package/dist/ontario-design-system-components/p-720f3dcf.entry.js +93 -0
  917. package/dist/ontario-design-system-components/p-720f3dcf.entry.js.map +1 -0
  918. package/dist/ontario-design-system-components/p-76fa4432.entry.js +95 -0
  919. package/dist/ontario-design-system-components/p-76fa4432.entry.js.map +1 -0
  920. package/dist/ontario-design-system-components/p-774a2c04.entry.js +92 -0
  921. package/dist/ontario-design-system-components/p-774a2c04.entry.js.map +1 -0
  922. package/dist/ontario-design-system-components/p-85920b0a.entry.js +89 -0
  923. package/dist/ontario-design-system-components/p-85920b0a.entry.js.map +1 -0
  924. package/dist/ontario-design-system-components/p-8592cf59.entry.js +92 -0
  925. package/dist/ontario-design-system-components/p-8592cf59.entry.js.map +1 -0
  926. package/dist/ontario-design-system-components/p-88612e1c.entry.js +92 -0
  927. package/dist/ontario-design-system-components/p-88612e1c.entry.js.map +1 -0
  928. package/dist/ontario-design-system-components/p-8a9fc798.entry.js +92 -0
  929. package/dist/ontario-design-system-components/p-8a9fc798.entry.js.map +1 -0
  930. package/dist/ontario-design-system-components/p-8c92d87d.entry.js +92 -0
  931. package/dist/ontario-design-system-components/p-8c92d87d.entry.js.map +1 -0
  932. package/dist/ontario-design-system-components/p-8e3d0778.entry.js +92 -0
  933. package/dist/ontario-design-system-components/p-8e3d0778.entry.js.map +1 -0
  934. package/dist/ontario-design-system-components/p-8f3c6e93.entry.js +93 -0
  935. package/dist/ontario-design-system-components/p-8f3c6e93.entry.js.map +1 -0
  936. package/dist/ontario-design-system-components/p-910e1211.entry.js +92 -0
  937. package/dist/ontario-design-system-components/p-910e1211.entry.js.map +1 -0
  938. package/dist/ontario-design-system-components/p-951c9029.entry.js +119 -0
  939. package/dist/ontario-design-system-components/p-951c9029.entry.js.map +1 -0
  940. package/dist/ontario-design-system-components/p-9611acaa.entry.js +92 -0
  941. package/dist/ontario-design-system-components/p-9611acaa.entry.js.map +1 -0
  942. package/dist/ontario-design-system-components/p-962be3cc.entry.js +94 -0
  943. package/dist/ontario-design-system-components/p-962be3cc.entry.js.map +1 -0
  944. package/dist/ontario-design-system-components/p-968078b7.entry.js +92 -0
  945. package/dist/ontario-design-system-components/p-968078b7.entry.js.map +1 -0
  946. package/dist/ontario-design-system-components/p-96c9bfec.entry.js +92 -0
  947. package/dist/ontario-design-system-components/p-96c9bfec.entry.js.map +1 -0
  948. package/dist/ontario-design-system-components/p-98625354.entry.js +92 -0
  949. package/dist/ontario-design-system-components/p-98625354.entry.js.map +1 -0
  950. package/dist/ontario-design-system-components/p-98ca84c6.entry.js +92 -0
  951. package/dist/ontario-design-system-components/p-98ca84c6.entry.js.map +1 -0
  952. package/dist/ontario-design-system-components/p-99f0a59c.entry.js +92 -0
  953. package/dist/ontario-design-system-components/p-99f0a59c.entry.js.map +1 -0
  954. package/dist/ontario-design-system-components/p-9a754e2d.entry.js +92 -0
  955. package/dist/ontario-design-system-components/p-9a754e2d.entry.js.map +1 -0
  956. package/dist/ontario-design-system-components/p-9b270242.entry.js +89 -0
  957. package/dist/ontario-design-system-components/p-9b270242.entry.js.map +1 -0
  958. package/dist/ontario-design-system-components/p-9c1fb4d0.entry.js +92 -0
  959. package/dist/ontario-design-system-components/p-9c1fb4d0.entry.js.map +1 -0
  960. package/dist/ontario-design-system-components/p-B0__ICHj.js +2070 -0
  961. package/dist/ontario-design-system-components/p-B0__ICHj.js.map +1 -0
  962. package/dist/ontario-design-system-components/p-a224a778.entry.js +92 -0
  963. package/dist/ontario-design-system-components/p-a224a778.entry.js.map +1 -0
  964. package/dist/ontario-design-system-components/p-a3404cab.entry.js +93 -0
  965. package/dist/ontario-design-system-components/p-a3404cab.entry.js.map +1 -0
  966. package/dist/ontario-design-system-components/p-a76a56dc.entry.js +92 -0
  967. package/dist/ontario-design-system-components/p-a76a56dc.entry.js.map +1 -0
  968. package/dist/ontario-design-system-components/p-a7d355d3.entry.js +139 -0
  969. package/dist/ontario-design-system-components/p-a7d355d3.entry.js.map +1 -0
  970. package/dist/ontario-design-system-components/p-ac8af1e6.entry.js +92 -0
  971. package/dist/ontario-design-system-components/p-ac8af1e6.entry.js.map +1 -0
  972. package/dist/ontario-design-system-components/p-b0b0d17d.entry.js +92 -0
  973. package/dist/ontario-design-system-components/p-b0b0d17d.entry.js.map +1 -0
  974. package/dist/ontario-design-system-components/p-b0f4106b.entry.js +92 -0
  975. package/dist/ontario-design-system-components/p-b0f4106b.entry.js.map +1 -0
  976. package/dist/ontario-design-system-components/p-b38571df.entry.js +92 -0
  977. package/dist/ontario-design-system-components/p-b38571df.entry.js.map +1 -0
  978. package/dist/ontario-design-system-components/p-b3bff995.entry.js +93 -0
  979. package/dist/ontario-design-system-components/p-b3bff995.entry.js.map +1 -0
  980. package/dist/ontario-design-system-components/p-b4cd6deb.entry.js +92 -0
  981. package/dist/ontario-design-system-components/p-b4cd6deb.entry.js.map +1 -0
  982. package/dist/ontario-design-system-components/p-b6565ab6.entry.js +92 -0
  983. package/dist/ontario-design-system-components/p-b6565ab6.entry.js.map +1 -0
  984. package/dist/ontario-design-system-components/p-bb0fab86.entry.js +92 -0
  985. package/dist/ontario-design-system-components/p-bb0fab86.entry.js.map +1 -0
  986. package/dist/ontario-design-system-components/p-bdbb3998.entry.js +139 -0
  987. package/dist/ontario-design-system-components/p-bdbb3998.entry.js.map +1 -0
  988. package/dist/ontario-design-system-components/p-be7be079.entry.js +92 -0
  989. package/dist/ontario-design-system-components/p-be7be079.entry.js.map +1 -0
  990. package/dist/ontario-design-system-components/p-c46e01aa.entry.js +93 -0
  991. package/dist/ontario-design-system-components/p-c46e01aa.entry.js.map +1 -0
  992. package/dist/ontario-design-system-components/p-c4fb5adf.entry.js +93 -0
  993. package/dist/ontario-design-system-components/p-c4fb5adf.entry.js.map +1 -0
  994. package/dist/ontario-design-system-components/p-c64816c5.entry.js +92 -0
  995. package/dist/ontario-design-system-components/p-c64816c5.entry.js.map +1 -0
  996. package/dist/ontario-design-system-components/p-cdb807d9.entry.js +92 -0
  997. package/dist/ontario-design-system-components/p-cdb807d9.entry.js.map +1 -0
  998. package/dist/ontario-design-system-components/p-d1a230a7.entry.js +92 -0
  999. package/dist/ontario-design-system-components/p-d1a230a7.entry.js.map +1 -0
  1000. package/dist/ontario-design-system-components/p-d3730220.entry.js +93 -0
  1001. package/dist/ontario-design-system-components/p-d3730220.entry.js.map +1 -0
  1002. package/dist/ontario-design-system-components/p-d5064740.entry.js +92 -0
  1003. package/dist/ontario-design-system-components/p-d5064740.entry.js.map +1 -0
  1004. package/dist/ontario-design-system-components/p-d78db69b.entry.js +110 -0
  1005. package/dist/ontario-design-system-components/p-d78db69b.entry.js.map +1 -0
  1006. package/dist/ontario-design-system-components/p-d7cc5b7b.entry.js +92 -0
  1007. package/dist/ontario-design-system-components/p-d7cc5b7b.entry.js.map +1 -0
  1008. package/dist/ontario-design-system-components/p-dbbe4d07.entry.js +92 -0
  1009. package/dist/ontario-design-system-components/p-dbbe4d07.entry.js.map +1 -0
  1010. package/dist/ontario-design-system-components/p-e36f41fb.entry.js +93 -0
  1011. package/dist/ontario-design-system-components/p-e36f41fb.entry.js.map +1 -0
  1012. package/dist/ontario-design-system-components/p-e40042e7.entry.js +92 -0
  1013. package/dist/ontario-design-system-components/p-e40042e7.entry.js.map +1 -0
  1014. package/dist/ontario-design-system-components/p-ea34beff.entry.js +92 -0
  1015. package/dist/ontario-design-system-components/p-ea34beff.entry.js.map +1 -0
  1016. package/dist/ontario-design-system-components/p-f0debc61.entry.js +92 -0
  1017. package/dist/ontario-design-system-components/p-f0debc61.entry.js.map +1 -0
  1018. package/dist/ontario-design-system-components/p-f7d38827.entry.js +92 -0
  1019. package/dist/ontario-design-system-components/p-f7d38827.entry.js.map +1 -0
  1020. package/dist/ontario-design-system-components/p-fa5ceec3.entry.js +93 -0
  1021. package/dist/ontario-design-system-components/p-fa5ceec3.entry.js.map +1 -0
  1022. package/dist/ontario-design-system-components/p-fc1ab073.entry.js +92 -0
  1023. package/dist/ontario-design-system-components/p-fc1ab073.entry.js.map +1 -0
  1024. package/dist/ontario-design-system-components/p-fd78415b.entry.js +92 -0
  1025. package/dist/ontario-design-system-components/p-fd78415b.entry.js.map +1 -0
  1026. package/dist/ontario-design-system-components/p-fdeedba3.entry.js +84 -0
  1027. package/dist/ontario-design-system-components/p-fdeedba3.entry.js.map +1 -0
  1028. package/dist/ontario-design-system-components/p-fe374278.entry.js +92 -0
  1029. package/dist/ontario-design-system-components/p-fe374278.entry.js.map +1 -0
  1030. package/dist/ontario-design-system-components/p-ff75bd0d.entry.js +92 -0
  1031. package/dist/ontario-design-system-components/p-ff75bd0d.entry.js.map +1 -0
  1032. package/dist/ontario-design-system-components/styles/slotted-styles/callouts-asides.scss +11 -0
  1033. package/dist/ontario-design-system-components/styles/slotted-styles/page-alerts.scss +46 -0
  1034. package/dist/ontario-design-system-components/styles/theme.scss +7 -0
  1035. package/dist/types/components/ontario-accordion/accordion.interface.d.ts +18 -0
  1036. package/dist/types/components/ontario-accordion/ontario-accordion.d.ts +33 -15
  1037. package/dist/types/components/ontario-back-to-top/ontario-back-to-top.d.ts +6 -1
  1038. package/dist/types/components/ontario-checkbox/ontario-checkboxes.d.ts +6 -1
  1039. package/dist/types/components/ontario-date-input/ontario-date-input.d.ts +6 -1
  1040. package/dist/types/components/ontario-dropdown-list/ontario-dropdown-list.d.ts +6 -1
  1041. package/dist/types/components/ontario-fieldset/ontario-fieldset.d.ts +15 -1
  1042. package/dist/types/components/ontario-footer/ontario-footer.d.ts +6 -1
  1043. package/dist/types/components/ontario-form-container/ontario-form-container.d.ts +13 -0
  1044. package/dist/types/components/ontario-icon/ontario-icon-sort-alphabetical-ascending.d.ts +52 -0
  1045. package/dist/types/components/ontario-icon/ontario-icon-sort-alphabetical-descending.d.ts +52 -0
  1046. package/dist/types/components/ontario-icon/ontario-icon-sort-ascending.d.ts +52 -0
  1047. package/dist/types/components/ontario-icon/ontario-icon-sort-descending.d.ts +52 -0
  1048. package/dist/types/components/ontario-icon/ontario-icon-sort-variant.d.ts +52 -0
  1049. package/dist/types/components/ontario-input/ontario-input.d.ts +1 -1
  1050. package/dist/types/components/ontario-loading-indicator/ontario-loading-indicator.d.ts +6 -1
  1051. package/dist/types/components/ontario-radio-buttons/ontario-radio-buttons.d.ts +6 -1
  1052. package/dist/types/components/ontario-search-box/ontario-search-box.d.ts +1 -0
  1053. package/dist/types/components/ontario-step-indicator/ontario-step-indicator.d.ts +6 -1
  1054. package/dist/types/components/ontario-task/ontario-task.d.ts +4 -3
  1055. package/dist/types/components/ontario-textarea/ontario-textarea.d.ts +6 -1
  1056. package/dist/types/components.d.ts +258 -17
  1057. package/dist/types/utils/components/form-container/form-container.interface.d.ts +7 -0
  1058. package/hydrate/index.js +1932 -1042
  1059. package/hydrate/index.mjs +1932 -1042
  1060. package/package.json +15 -11
  1061. package/readme.md +29 -3
  1062. package/src/components/ontario-accordion/accordion.interface.ts +23 -0
  1063. package/src/components/ontario-accordion/ontario-accordion.scss +7 -7
  1064. package/src/components/ontario-accordion/ontario-accordion.tsx +142 -75
  1065. package/src/components/ontario-accordion/readme.md +35 -9
  1066. package/src/components/ontario-aside/ontario-aside.scss +7 -6
  1067. package/src/components/ontario-back-to-top/ontario-back-to-top.scss +16 -10
  1068. package/src/components/ontario-back-to-top/ontario-back-to-top.tsx +7 -3
  1069. package/src/components/ontario-badge/ontario-badge.scss +7 -6
  1070. package/src/components/ontario-blockquote/ontario-blockquote.scss +9 -8
  1071. package/src/components/ontario-button/ontario-button.scss +15 -9
  1072. package/src/components/ontario-callout/ontario-callout.scss +6 -5
  1073. package/src/components/ontario-card/ontario-card.scss +10 -9
  1074. package/src/components/ontario-card-collection/ontario-card-collection.scss +2 -2
  1075. package/src/components/ontario-checkbox/ontario-checkboxes.scss +22 -13
  1076. package/src/components/ontario-checkbox/ontario-checkboxes.tsx +8 -3
  1077. package/src/components/ontario-checkbox/test/ontario-checkboxes.spec.tsx +1 -1
  1078. package/src/components/ontario-critical-alert/ontario-critical-alert.scss +4 -4
  1079. package/src/components/ontario-critical-alert/ontario-critical-alert.tsx +5 -1
  1080. package/src/components/ontario-critical-alert/test/ontario-critical-alert.spec.tsx +2 -2
  1081. package/src/components/ontario-date-input/ontario-date-input.scss +10 -6
  1082. package/src/components/ontario-date-input/ontario-date-input.tsx +65 -62
  1083. package/src/components/ontario-date-input/test/ontario-date-input.spec.tsx +72 -76
  1084. package/src/components/ontario-dropdown-list/ontario-dropdown-list.scss +8 -4
  1085. package/src/components/ontario-dropdown-list/ontario-dropdown-list.tsx +8 -3
  1086. package/src/components/ontario-dropdown-list/test/ontario-dropdown-list.spec.tsx +1 -1
  1087. package/src/components/ontario-fieldset/ontario-fieldset.scss +38 -2
  1088. package/src/components/ontario-fieldset/ontario-fieldset.tsx +44 -10
  1089. package/src/components/ontario-fieldset/test/__snapshots__/ontario-fieldset.spec.tsx.snap +8 -10
  1090. package/src/components/ontario-fieldset/test/ontario-fieldset.spec.tsx +4 -6
  1091. package/src/components/ontario-footer/ontario-footer.scss +9 -8
  1092. package/src/components/ontario-footer/ontario-footer.tsx +7 -2
  1093. package/src/components/ontario-form-container/ontario-form-container.scss +70 -0
  1094. package/src/components/ontario-form-container/ontario-form-container.tsx +38 -0
  1095. package/src/components/ontario-form-container/readme.md +208 -0
  1096. package/src/components/ontario-form-container/test/__snapshots__/ontario-form-container.spec.tsx.snap +11 -0
  1097. package/src/components/ontario-form-container/test/ontario-form-container.e2e.ts +19 -0
  1098. package/src/components/ontario-form-container/test/ontario-form-container.spec.tsx +32 -0
  1099. package/src/components/ontario-header/ontario-application-header.scss +15 -13
  1100. package/src/components/ontario-header/ontario-header.scss +15 -13
  1101. package/src/components/ontario-header/service-ontario-header.scss +10 -9
  1102. package/src/components/ontario-hint-expander/ontario-hint-expander.scss +8 -8
  1103. package/src/components/ontario-hint-expander/ontario-hint-expander.tsx +2 -2
  1104. package/src/components/ontario-hint-expander/test/ontario-hint-expander.spec.tsx +2 -2
  1105. package/src/components/ontario-hint-text/ontario-hint-text.scss +3 -3
  1106. package/src/components/ontario-icon/assets/ontario-icon-sort-alphabetical-ascending.svg +3 -0
  1107. package/src/components/ontario-icon/assets/ontario-icon-sort-alphabetical-descending.svg +3 -0
  1108. package/src/components/ontario-icon/assets/ontario-icon-sort-ascending.svg +3 -0
  1109. package/src/components/ontario-icon/assets/ontario-icon-sort-descending.svg +3 -0
  1110. package/src/components/ontario-icon/assets/ontario-icon-sort-variant.svg +3 -0
  1111. package/src/components/ontario-icon/assets/ontario-icon-sort.svg +3 -1
  1112. package/src/components/ontario-icon/ontario-icon-sort-alphabetical-ascending.tsx +139 -0
  1113. package/src/components/ontario-icon/ontario-icon-sort-alphabetical-descending.tsx +139 -0
  1114. package/src/components/ontario-icon/ontario-icon-sort-ascending.tsx +139 -0
  1115. package/src/components/ontario-icon/ontario-icon-sort-descending.tsx +139 -0
  1116. package/src/components/ontario-icon/ontario-icon-sort-variant.tsx +139 -0
  1117. package/src/components/ontario-icon/ontario-icon-sort.tsx +3 -12
  1118. package/src/components/ontario-icon/ontario-icon.scss +1 -1
  1119. package/src/components/ontario-input/ontario-input.scss +13 -9
  1120. package/src/components/ontario-input/ontario-input.tsx +2 -2
  1121. package/src/components/ontario-input/test/__snapshots__/ontario-input.spec.tsx.snap +1 -1
  1122. package/src/components/ontario-input/test/ontario-input.spec.tsx +1 -1
  1123. package/src/components/ontario-language-toggle/ontario-language-toggle.scss +11 -8
  1124. package/src/components/ontario-loading-indicator/ontario-loading-indicator.scss +7 -6
  1125. package/src/components/ontario-loading-indicator/ontario-loading-indicator.tsx +13 -4
  1126. package/src/components/ontario-loading-indicator/test/__snapshots__/ontario-loading-indicator.spec.tsx.snap +1 -1
  1127. package/src/components/ontario-loading-indicator/test/ontario-loading-indicator.spec.tsx +1 -1
  1128. package/src/components/ontario-page-alert/ontario-page-alert.scss +7 -6
  1129. package/src/components/ontario-page-alert/ontario-page-alert.tsx +3 -1
  1130. package/src/components/ontario-page-alert/test/ontario-page-alert.spec.tsx +5 -5
  1131. package/src/components/ontario-radio-buttons/ontario-radio-buttons.scss +30 -15
  1132. package/src/components/ontario-radio-buttons/ontario-radio-buttons.tsx +8 -3
  1133. package/src/components/ontario-radio-buttons/test/ontario-radio-button.spec.tsx +1 -1
  1134. package/src/components/ontario-search-box/ontario-search-box.scss +16 -11
  1135. package/src/components/ontario-search-box/ontario-search-box.tsx +6 -3
  1136. package/src/components/ontario-search-box/test/__snapshots__/ontario-search-box.spec.tsx.snap +8 -2
  1137. package/src/components/ontario-step-indicator/ontario-step-indicator.scss +4 -4
  1138. package/src/components/ontario-step-indicator/ontario-step-indicator.tsx +9 -4
  1139. package/src/components/ontario-table/ontario-table.scss +9 -8
  1140. package/src/components/ontario-table/ontario-table.tsx +1 -0
  1141. package/src/components/ontario-table/test/__snapshots__/ontario-table.spec.tsx.snap +1 -1
  1142. package/src/components/ontario-task/ontario-task.scss +39 -19
  1143. package/src/components/ontario-task/ontario-task.tsx +12 -16
  1144. package/src/components/ontario-task/test/ontario-task.spec.tsx +3 -1
  1145. package/src/components/ontario-task-list/ontario-task-list.scss +6 -4
  1146. package/src/components/ontario-textarea/ontario-textarea.scss +13 -9
  1147. package/src/components/ontario-textarea/ontario-textarea.tsx +8 -3
  1148. package/src/components/ontario-textarea/test/__snapshots__/ontario-textarea.spec.tsx.snap +1 -1
  1149. package/src/components/ontario-textarea/test/ontario-textarea.spec.tsx +1 -1
  1150. package/src/components.d.ts +258 -17
  1151. package/src/global.scss +19 -1
  1152. package/src/index.html +61 -66
  1153. package/src/styles/fieldsets.scss +60 -0
  1154. package/src/styles/labels.scss +56 -0
  1155. package/src/styles/slotted-styles/callouts-asides.scss +11 -0
  1156. package/src/styles/slotted-styles/page-alerts.scss +46 -0
  1157. package/src/styles/text-inputs.scss +56 -0
  1158. package/src/utils/common/common.form-elements.scss +10 -0
  1159. package/src/utils/components/error-message/error-message.scss +5 -3
  1160. package/src/utils/components/form-container/form-container.interface.ts +8 -0
  1161. package/www/build/ontario-design-system-components.css +43 -200
  1162. package/www/build/ontario-design-system-components.esm.js +3 -3
  1163. package/www/build/ontario-icon-account.entry.esm.js.map +1 -1
  1164. package/www/build/ontario-icon-add-alt.entry.esm.js.map +1 -1
  1165. package/www/build/ontario-icon-add.entry.esm.js.map +1 -1
  1166. package/www/build/ontario-icon-arrow-up.entry.esm.js.map +1 -1
  1167. package/www/build/ontario-icon-attach.entry.esm.js.map +1 -1
  1168. package/www/build/ontario-icon-bookmark-off.entry.esm.js.map +1 -1
  1169. package/www/build/ontario-icon-bookmark-on.entry.esm.js.map +1 -1
  1170. package/www/build/ontario-icon-calendar.entry.esm.js.map +1 -1
  1171. package/www/build/ontario-icon-chevron-right.entry.esm.js.map +1 -1
  1172. package/www/build/ontario-icon-clock.entry.esm.js.map +1 -1
  1173. package/www/build/ontario-icon-close-header.entry.esm.js.map +1 -1
  1174. package/www/build/ontario-icon-close.entry.esm.js.map +1 -1
  1175. package/www/build/ontario-icon-cloud.entry.esm.js.map +1 -1
  1176. package/www/build/ontario-icon-collapse.entry.esm.js.map +1 -1
  1177. package/www/build/ontario-icon-credit-card.entry.esm.js.map +1 -1
  1178. package/www/build/ontario-icon-critical-alert-warning.entry.esm.js.map +1 -1
  1179. package/www/build/ontario-icon-delete.entry.esm.js.map +1 -1
  1180. package/www/build/ontario-icon-document.entry.esm.js.map +1 -1
  1181. package/www/build/ontario-icon-download.entry.esm.js.map +1 -1
  1182. package/www/build/ontario-icon-dropdown-arrow.entry.esm.js.map +1 -1
  1183. package/www/build/ontario-icon-edit.entry.esm.js.map +1 -1
  1184. package/www/build/ontario-icon-expand.entry.esm.js.map +1 -1
  1185. package/www/build/ontario-icon-export.entry.esm.js.map +1 -1
  1186. package/www/build/ontario-icon-facebook-alt.entry.esm.js.map +1 -1
  1187. package/www/build/ontario-icon-facebook.entry.esm.js.map +1 -1
  1188. package/www/build/ontario-icon-favourite-off.entry.esm.js.map +1 -1
  1189. package/www/build/ontario-icon-favourite-on.entry.esm.js.map +1 -1
  1190. package/www/build/ontario-icon-filter.entry.esm.js.map +1 -1
  1191. package/www/build/ontario-icon-flickr.entry.esm.js.map +1 -1
  1192. package/www/build/ontario-icon-grid.entry.esm.js.map +1 -1
  1193. package/www/build/ontario-icon-instagram.entry.esm.js.map +1 -1
  1194. package/www/build/ontario-icon-interac-en-alt.entry.esm.js.map +1 -1
  1195. package/www/build/ontario-icon-interac-en.entry.esm.js.map +1 -1
  1196. package/www/build/ontario-icon-interac-fr-alt.entry.esm.js.map +1 -1
  1197. package/www/build/ontario-icon-interac-fr.entry.esm.js.map +1 -1
  1198. package/www/build/ontario-icon-linkedin-alt.entry.esm.js.map +1 -1
  1199. package/www/build/ontario-icon-linkedin.entry.esm.js.map +1 -1
  1200. package/www/build/ontario-icon-list.entry.esm.js.map +1 -1
  1201. package/www/build/ontario-icon-live-chat.entry.esm.js.map +1 -1
  1202. package/www/build/ontario-icon-location-off.entry.esm.js.map +1 -1
  1203. package/www/build/ontario-icon-location-on.entry.esm.js.map +1 -1
  1204. package/www/build/ontario-icon-lock-off.entry.esm.js.map +1 -1
  1205. package/www/build/ontario-icon-lock-on.entry.esm.js.map +1 -1
  1206. package/www/build/ontario-icon-map.entry.esm.js.map +1 -1
  1207. package/www/build/ontario-icon-mastercard-alt.entry.esm.js.map +1 -1
  1208. package/www/build/ontario-icon-media-fast-forward.entry.esm.js.map +1 -1
  1209. package/www/build/ontario-icon-media-fast-rewind.entry.esm.js.map +1 -1
  1210. package/www/build/ontario-icon-media-pause.entry.esm.js.map +1 -1
  1211. package/www/build/ontario-icon-media-play.entry.esm.js.map +1 -1
  1212. package/www/build/ontario-icon-media-stop.entry.esm.js.map +1 -1
  1213. package/www/build/ontario-icon-menu-header.entry.esm.js.map +1 -1
  1214. package/www/build/ontario-icon-menu.entry.esm.js.map +1 -1
  1215. package/www/build/ontario-icon-microphone-off.entry.esm.js.map +1 -1
  1216. package/www/build/ontario-icon-microphone-on.entry.esm.js.map +1 -1
  1217. package/www/build/ontario-icon-more-vertical.entry.esm.js.map +1 -1
  1218. package/www/build/ontario-icon-new-window.entry.esm.js.map +1 -1
  1219. package/www/build/ontario-icon-next.entry.esm.js.map +1 -1
  1220. package/www/build/ontario-icon-password-hide.entry.esm.js.map +1 -1
  1221. package/www/build/ontario-icon-password-show.entry.esm.js.map +1 -1
  1222. package/www/build/ontario-icon-phone.entry.esm.js.map +1 -1
  1223. package/www/build/ontario-icon-photo.entry.esm.js.map +1 -1
  1224. package/www/build/ontario-icon-pin-location-off.entry.esm.js.map +1 -1
  1225. package/www/build/ontario-icon-pin-location-on.entry.esm.js.map +1 -1
  1226. package/www/build/ontario-icon-previous.entry.esm.js.map +1 -1
  1227. package/www/build/ontario-icon-remove-alt.entry.esm.js.map +1 -1
  1228. package/www/build/ontario-icon-remove.entry.esm.js.map +1 -1
  1229. package/www/build/ontario-icon-replay.entry.esm.js.map +1 -1
  1230. package/www/build/ontario-icon-rss-feed.entry.esm.js.map +1 -1
  1231. package/www/build/ontario-icon-save.entry.esm.js.map +1 -1
  1232. package/www/build/ontario-icon-search-white.entry.esm.js.map +1 -1
  1233. package/www/build/ontario-icon-search.entry.esm.js.map +1 -1
  1234. package/www/build/ontario-icon-sentiment-1.entry.esm.js.map +1 -1
  1235. package/www/build/ontario-icon-sentiment-2.entry.esm.js.map +1 -1
  1236. package/www/build/ontario-icon-sentiment-3.entry.esm.js.map +1 -1
  1237. package/www/build/ontario-icon-sentiment-4.entry.esm.js.map +1 -1
  1238. package/www/build/ontario-icon-settings.entry.esm.js.map +1 -1
  1239. package/www/build/ontario-icon-share.entry.esm.js.map +1 -1
  1240. package/www/build/ontario-icon-sort-alphabetical-ascending.entry.esm.js.map +1 -0
  1241. package/www/build/ontario-icon-sort-alphabetical-descending.entry.esm.js.map +1 -0
  1242. package/www/build/ontario-icon-sort-ascending.entry.esm.js.map +1 -0
  1243. package/www/build/ontario-icon-sort-descending.entry.esm.js.map +1 -0
  1244. package/www/build/ontario-icon-sort-variant.entry.esm.js.map +1 -0
  1245. package/www/build/ontario-icon-sort.entry.esm.js.map +1 -1
  1246. package/www/build/ontario-icon-tag.entry.esm.js.map +1 -1
  1247. package/www/build/ontario-icon-timer.entry.esm.js.map +1 -1
  1248. package/www/build/ontario-icon-transport-bicycle.entry.esm.js.map +1 -1
  1249. package/www/build/ontario-icon-transport-car.entry.esm.js.map +1 -1
  1250. package/www/build/ontario-icon-transport-walk.entry.esm.js.map +1 -1
  1251. package/www/build/ontario-icon-tty.entry.esm.js.map +1 -1
  1252. package/www/build/ontario-icon-twitter-alt.entry.esm.js.map +1 -1
  1253. package/www/build/ontario-icon-twitter.entry.esm.js.map +1 -1
  1254. package/www/build/ontario-icon-upload.entry.esm.js.map +1 -1
  1255. package/www/build/ontario-icon-video.entry.esm.js.map +1 -1
  1256. package/www/build/ontario-icon-visa.entry.esm.js.map +1 -1
  1257. package/www/build/ontario-icon-vote-dislike.entry.esm.js.map +1 -1
  1258. package/www/build/ontario-icon-vote-like.entry.esm.js.map +1 -1
  1259. package/www/build/ontario-icon-vpn-key.entry.esm.js.map +1 -1
  1260. package/www/build/ontario-icon-wheelchair.entry.esm.js.map +1 -1
  1261. package/www/build/ontario-icon-wifi.entry.esm.js.map +1 -1
  1262. package/www/build/ontario-icon-youtube.entry.esm.js.map +1 -1
  1263. package/www/build/p-011ab496.entry.js +93 -0
  1264. package/www/build/p-011ab496.entry.js.map +1 -0
  1265. package/www/build/p-04c46187.entry.js +92 -0
  1266. package/www/build/p-04c46187.entry.js.map +1 -0
  1267. package/www/build/p-0afffbb2.entry.js +90 -0
  1268. package/www/build/p-0afffbb2.entry.js.map +1 -0
  1269. package/www/build/p-0ce6b840.entry.js +92 -0
  1270. package/www/build/p-0ce6b840.entry.js.map +1 -0
  1271. package/www/build/p-0e4d96ce.entry.js +93 -0
  1272. package/www/build/p-0e4d96ce.entry.js.map +1 -0
  1273. package/www/build/p-0e534a49.entry.js +92 -0
  1274. package/www/build/p-0e534a49.entry.js.map +1 -0
  1275. package/www/build/p-1096d047.entry.js +92 -0
  1276. package/www/build/p-1096d047.entry.js.map +1 -0
  1277. package/www/build/p-1956edbd.entry.js +92 -0
  1278. package/www/build/p-1956edbd.entry.js.map +1 -0
  1279. package/www/build/p-1b3b845e.entry.js +7322 -0
  1280. package/www/build/p-1b3b845e.entry.js.map +1 -0
  1281. package/www/build/p-22a571b1.entry.js +92 -0
  1282. package/www/build/p-22a571b1.entry.js.map +1 -0
  1283. package/www/build/p-22ba08bc.entry.js +92 -0
  1284. package/www/build/p-22ba08bc.entry.js.map +1 -0
  1285. package/www/build/p-256bafc0.entry.js +93 -0
  1286. package/www/build/p-256bafc0.entry.js.map +1 -0
  1287. package/www/build/p-26049def.entry.js +78 -0
  1288. package/www/build/p-26049def.entry.js.map +1 -0
  1289. package/www/build/p-260e7e2b.entry.js +92 -0
  1290. package/www/build/p-260e7e2b.entry.js.map +1 -0
  1291. package/www/build/p-27c1d49b.entry.js +93 -0
  1292. package/www/build/p-27c1d49b.entry.js.map +1 -0
  1293. package/www/build/p-2c1ae1e3.entry.js +92 -0
  1294. package/www/build/p-2c1ae1e3.entry.js.map +1 -0
  1295. package/www/build/p-311dcc5b.entry.js +92 -0
  1296. package/www/build/p-311dcc5b.entry.js.map +1 -0
  1297. package/www/build/p-31711253.entry.js +92 -0
  1298. package/www/build/p-31711253.entry.js.map +1 -0
  1299. package/www/build/p-33520e7f.entry.js +89 -0
  1300. package/www/build/p-33520e7f.entry.js.map +1 -0
  1301. package/www/build/p-3403da5c.entry.js +92 -0
  1302. package/www/build/p-3403da5c.entry.js.map +1 -0
  1303. package/www/build/p-34be4c65.entry.js +89 -0
  1304. package/www/build/p-34be4c65.entry.js.map +1 -0
  1305. package/www/build/p-37359b42.css +2968 -0
  1306. package/www/build/p-38cf9497.entry.js +93 -0
  1307. package/www/build/p-38cf9497.entry.js.map +1 -0
  1308. package/www/build/p-3b744094.entry.js +92 -0
  1309. package/www/build/p-3b744094.entry.js.map +1 -0
  1310. package/www/build/p-3c1b008d.entry.js +92 -0
  1311. package/www/build/p-3c1b008d.entry.js.map +1 -0
  1312. package/www/build/p-3f8b790f.entry.js +92 -0
  1313. package/www/build/p-3f8b790f.entry.js.map +1 -0
  1314. package/www/build/p-40d8fb2e.entry.js +90 -0
  1315. package/www/build/p-40d8fb2e.entry.js.map +1 -0
  1316. package/www/build/p-43652536.entry.js +89 -0
  1317. package/www/build/p-43652536.entry.js.map +1 -0
  1318. package/www/build/p-45872b98.entry.js +89 -0
  1319. package/www/build/p-45872b98.entry.js.map +1 -0
  1320. package/www/build/p-46c3d16e.entry.js +92 -0
  1321. package/www/build/p-46c3d16e.entry.js.map +1 -0
  1322. package/www/build/p-46cff4f2.entry.js +92 -0
  1323. package/www/build/p-46cff4f2.entry.js.map +1 -0
  1324. package/www/build/p-4c5c9374.entry.js +92 -0
  1325. package/www/build/p-4c5c9374.entry.js.map +1 -0
  1326. package/www/build/p-4e9b237e.entry.js +92 -0
  1327. package/www/build/p-4e9b237e.entry.js.map +1 -0
  1328. package/www/build/p-4ff027fc.entry.js +92 -0
  1329. package/www/build/p-4ff027fc.entry.js.map +1 -0
  1330. package/www/build/p-547b0444.entry.js +92 -0
  1331. package/www/build/p-547b0444.entry.js.map +1 -0
  1332. package/www/build/p-55b99943.entry.js +92 -0
  1333. package/www/build/p-55b99943.entry.js.map +1 -0
  1334. package/www/build/p-57b23d6d.entry.js +92 -0
  1335. package/www/build/p-57b23d6d.entry.js.map +1 -0
  1336. package/www/build/p-57ea2348.entry.js +92 -0
  1337. package/www/build/p-57ea2348.entry.js.map +1 -0
  1338. package/www/build/p-5a986c60.entry.js +92 -0
  1339. package/www/build/p-5a986c60.entry.js.map +1 -0
  1340. package/www/build/p-5b600716.entry.js +89 -0
  1341. package/www/build/p-5b600716.entry.js.map +1 -0
  1342. package/www/build/p-5f7771d6.entry.js +92 -0
  1343. package/www/build/p-5f7771d6.entry.js.map +1 -0
  1344. package/www/build/p-609b00ae.entry.js +138 -0
  1345. package/www/build/p-609b00ae.entry.js.map +1 -0
  1346. package/www/build/p-64c67020.entry.js +93 -0
  1347. package/www/build/p-64c67020.entry.js.map +1 -0
  1348. package/www/build/p-64d25987.entry.js +85 -0
  1349. package/www/build/p-64d25987.entry.js.map +1 -0
  1350. package/www/build/p-6dfabd46.entry.js +92 -0
  1351. package/www/build/p-6dfabd46.entry.js.map +1 -0
  1352. package/www/build/p-720f3dcf.entry.js +93 -0
  1353. package/www/build/p-720f3dcf.entry.js.map +1 -0
  1354. package/www/build/p-76fa4432.entry.js +95 -0
  1355. package/www/build/p-76fa4432.entry.js.map +1 -0
  1356. package/www/build/p-774a2c04.entry.js +92 -0
  1357. package/www/build/p-774a2c04.entry.js.map +1 -0
  1358. package/www/build/p-85920b0a.entry.js +89 -0
  1359. package/www/build/p-85920b0a.entry.js.map +1 -0
  1360. package/www/build/p-8592cf59.entry.js +92 -0
  1361. package/www/build/p-8592cf59.entry.js.map +1 -0
  1362. package/www/build/p-88612e1c.entry.js +92 -0
  1363. package/www/build/p-88612e1c.entry.js.map +1 -0
  1364. package/www/build/p-8a9fc798.entry.js +92 -0
  1365. package/www/build/p-8a9fc798.entry.js.map +1 -0
  1366. package/www/build/p-8c92d87d.entry.js +92 -0
  1367. package/www/build/p-8c92d87d.entry.js.map +1 -0
  1368. package/www/build/p-8e3d0778.entry.js +92 -0
  1369. package/www/build/p-8e3d0778.entry.js.map +1 -0
  1370. package/www/build/p-8f3c6e93.entry.js +93 -0
  1371. package/www/build/p-8f3c6e93.entry.js.map +1 -0
  1372. package/www/build/p-910e1211.entry.js +92 -0
  1373. package/www/build/p-910e1211.entry.js.map +1 -0
  1374. package/www/build/p-951c9029.entry.js +119 -0
  1375. package/www/build/p-951c9029.entry.js.map +1 -0
  1376. package/www/build/p-9611acaa.entry.js +92 -0
  1377. package/www/build/p-9611acaa.entry.js.map +1 -0
  1378. package/www/build/p-962be3cc.entry.js +94 -0
  1379. package/www/build/p-962be3cc.entry.js.map +1 -0
  1380. package/www/build/p-968078b7.entry.js +92 -0
  1381. package/www/build/p-968078b7.entry.js.map +1 -0
  1382. package/www/build/p-96c9bfec.entry.js +92 -0
  1383. package/www/build/p-96c9bfec.entry.js.map +1 -0
  1384. package/www/build/p-98625354.entry.js +92 -0
  1385. package/www/build/p-98625354.entry.js.map +1 -0
  1386. package/www/build/p-98ca84c6.entry.js +92 -0
  1387. package/www/build/p-98ca84c6.entry.js.map +1 -0
  1388. package/www/build/p-99f0a59c.entry.js +92 -0
  1389. package/www/build/p-99f0a59c.entry.js.map +1 -0
  1390. package/www/build/p-9a754e2d.entry.js +92 -0
  1391. package/www/build/p-9a754e2d.entry.js.map +1 -0
  1392. package/www/build/p-9b270242.entry.js +89 -0
  1393. package/www/build/p-9b270242.entry.js.map +1 -0
  1394. package/www/build/p-9c1fb4d0.entry.js +92 -0
  1395. package/www/build/p-9c1fb4d0.entry.js.map +1 -0
  1396. package/www/build/p-B0__ICHj.js +2070 -0
  1397. package/www/build/p-B0__ICHj.js.map +1 -0
  1398. package/www/build/p-a224a778.entry.js +92 -0
  1399. package/www/build/p-a224a778.entry.js.map +1 -0
  1400. package/www/build/p-a3404cab.entry.js +93 -0
  1401. package/www/build/p-a3404cab.entry.js.map +1 -0
  1402. package/www/build/p-a76a56dc.entry.js +92 -0
  1403. package/www/build/p-a76a56dc.entry.js.map +1 -0
  1404. package/www/build/p-a7d355d3.entry.js +139 -0
  1405. package/www/build/p-a7d355d3.entry.js.map +1 -0
  1406. package/www/build/p-ac8af1e6.entry.js +92 -0
  1407. package/www/build/p-ac8af1e6.entry.js.map +1 -0
  1408. package/www/build/p-b0b0d17d.entry.js +92 -0
  1409. package/www/build/p-b0b0d17d.entry.js.map +1 -0
  1410. package/www/build/p-b0f4106b.entry.js +92 -0
  1411. package/www/build/p-b0f4106b.entry.js.map +1 -0
  1412. package/www/build/p-b38571df.entry.js +92 -0
  1413. package/www/build/p-b38571df.entry.js.map +1 -0
  1414. package/www/build/p-b3bff995.entry.js +93 -0
  1415. package/www/build/p-b3bff995.entry.js.map +1 -0
  1416. package/www/build/p-b4cd6deb.entry.js +92 -0
  1417. package/www/build/p-b4cd6deb.entry.js.map +1 -0
  1418. package/www/build/p-b6565ab6.entry.js +92 -0
  1419. package/www/build/p-b6565ab6.entry.js.map +1 -0
  1420. package/www/build/p-bb0fab86.entry.js +92 -0
  1421. package/www/build/p-bb0fab86.entry.js.map +1 -0
  1422. package/www/build/p-bdbb3998.entry.js +139 -0
  1423. package/www/build/p-bdbb3998.entry.js.map +1 -0
  1424. package/www/build/p-be7be079.entry.js +92 -0
  1425. package/www/build/p-be7be079.entry.js.map +1 -0
  1426. package/www/build/p-c46e01aa.entry.js +93 -0
  1427. package/www/build/p-c46e01aa.entry.js.map +1 -0
  1428. package/www/build/p-c4fb5adf.entry.js +93 -0
  1429. package/www/build/p-c4fb5adf.entry.js.map +1 -0
  1430. package/www/build/p-c64816c5.entry.js +92 -0
  1431. package/www/build/p-c64816c5.entry.js.map +1 -0
  1432. package/www/build/p-cdb807d9.entry.js +92 -0
  1433. package/www/build/p-cdb807d9.entry.js.map +1 -0
  1434. package/www/build/p-d1a230a7.entry.js +92 -0
  1435. package/www/build/p-d1a230a7.entry.js.map +1 -0
  1436. package/www/build/p-d3730220.entry.js +93 -0
  1437. package/www/build/p-d3730220.entry.js.map +1 -0
  1438. package/www/build/p-d5064740.entry.js +92 -0
  1439. package/www/build/p-d5064740.entry.js.map +1 -0
  1440. package/www/build/p-d6dabb1a.js +20 -0
  1441. package/www/build/p-d78db69b.entry.js +110 -0
  1442. package/www/build/p-d78db69b.entry.js.map +1 -0
  1443. package/www/build/p-d7cc5b7b.entry.js +92 -0
  1444. package/www/build/p-d7cc5b7b.entry.js.map +1 -0
  1445. package/www/build/p-dbbe4d07.entry.js +92 -0
  1446. package/www/build/p-dbbe4d07.entry.js.map +1 -0
  1447. package/www/build/p-e36f41fb.entry.js +93 -0
  1448. package/www/build/p-e36f41fb.entry.js.map +1 -0
  1449. package/www/build/p-e40042e7.entry.js +92 -0
  1450. package/www/build/p-e40042e7.entry.js.map +1 -0
  1451. package/www/build/p-ea34beff.entry.js +92 -0
  1452. package/www/build/p-ea34beff.entry.js.map +1 -0
  1453. package/www/build/p-f0debc61.entry.js +92 -0
  1454. package/www/build/p-f0debc61.entry.js.map +1 -0
  1455. package/www/build/p-f7d38827.entry.js +92 -0
  1456. package/www/build/p-f7d38827.entry.js.map +1 -0
  1457. package/www/build/p-fa5ceec3.entry.js +93 -0
  1458. package/www/build/p-fa5ceec3.entry.js.map +1 -0
  1459. package/www/build/p-fc1ab073.entry.js +92 -0
  1460. package/www/build/p-fc1ab073.entry.js.map +1 -0
  1461. package/www/build/p-fd78415b.entry.js +92 -0
  1462. package/www/build/p-fd78415b.entry.js.map +1 -0
  1463. package/www/build/p-fdeedba3.entry.js +84 -0
  1464. package/www/build/p-fdeedba3.entry.js.map +1 -0
  1465. package/www/build/p-fe374278.entry.js +92 -0
  1466. package/www/build/p-fe374278.entry.js.map +1 -0
  1467. package/www/build/p-ff75bd0d.entry.js +92 -0
  1468. package/www/build/p-ff75bd0d.entry.js.map +1 -0
  1469. package/www/index.html +63 -68
  1470. package/www/scss/theme.scss +19 -0
  1471. package/dist/cjs/index-Dg0o4Zzb.js +0 -3321
  1472. package/dist/cjs/index-Dg0o4Zzb.js.map +0 -1
  1473. package/dist/cjs/ontario-accordion_46.cjs.entry.js +0 -9951
  1474. package/dist/cjs/ontario-accordion_46.cjs.entry.js.map +0 -1
  1475. package/dist/esm/index-sKE6XOGY.js +0 -2907
  1476. package/dist/esm/index-sKE6XOGY.js.map +0 -1
  1477. package/dist/esm/ontario-accordion_46.entry.js +0 -9889
  1478. package/dist/esm/ontario-accordion_46.entry.js.map +0 -1
  1479. package/dist/ontario-design-system-components/p-00046fb7.entry.js +0 -94
  1480. package/dist/ontario-design-system-components/p-00046fb7.entry.js.map +0 -1
  1481. package/dist/ontario-design-system-components/p-02952bf4.entry.js +0 -110
  1482. package/dist/ontario-design-system-components/p-02952bf4.entry.js.map +0 -1
  1483. package/dist/ontario-design-system-components/p-0359311b.entry.js +0 -93
  1484. package/dist/ontario-design-system-components/p-0359311b.entry.js.map +0 -1
  1485. package/dist/ontario-design-system-components/p-03d9dec8.entry.js +0 -92
  1486. package/dist/ontario-design-system-components/p-03d9dec8.entry.js.map +0 -1
  1487. package/dist/ontario-design-system-components/p-055dafa7.entry.js +0 -92
  1488. package/dist/ontario-design-system-components/p-055dafa7.entry.js.map +0 -1
  1489. package/dist/ontario-design-system-components/p-06669311.entry.js +0 -92
  1490. package/dist/ontario-design-system-components/p-06669311.entry.js.map +0 -1
  1491. package/dist/ontario-design-system-components/p-07670594.entry.js +0 -92
  1492. package/dist/ontario-design-system-components/p-07670594.entry.js.map +0 -1
  1493. package/dist/ontario-design-system-components/p-095dd75e.entry.js +0 -92
  1494. package/dist/ontario-design-system-components/p-095dd75e.entry.js.map +0 -1
  1495. package/dist/ontario-design-system-components/p-10977db1.entry.js +0 -93
  1496. package/dist/ontario-design-system-components/p-10977db1.entry.js.map +0 -1
  1497. package/dist/ontario-design-system-components/p-11567c01.entry.js +0 -92
  1498. package/dist/ontario-design-system-components/p-11567c01.entry.js.map +0 -1
  1499. package/dist/ontario-design-system-components/p-12bec59e.entry.js +0 -89
  1500. package/dist/ontario-design-system-components/p-12bec59e.entry.js.map +0 -1
  1501. package/dist/ontario-design-system-components/p-168ded35.entry.js +0 -92
  1502. package/dist/ontario-design-system-components/p-168ded35.entry.js.map +0 -1
  1503. package/dist/ontario-design-system-components/p-16be1bf5.entry.js +0 -92
  1504. package/dist/ontario-design-system-components/p-16be1bf5.entry.js.map +0 -1
  1505. package/dist/ontario-design-system-components/p-18db2f7e.entry.js +0 -92
  1506. package/dist/ontario-design-system-components/p-18db2f7e.entry.js.map +0 -1
  1507. package/dist/ontario-design-system-components/p-1b8948fe.entry.js +0 -93
  1508. package/dist/ontario-design-system-components/p-1b8948fe.entry.js.map +0 -1
  1509. package/dist/ontario-design-system-components/p-1e917cf9.entry.js +0 -92
  1510. package/dist/ontario-design-system-components/p-1e917cf9.entry.js.map +0 -1
  1511. package/dist/ontario-design-system-components/p-200fc862.entry.js +0 -92
  1512. package/dist/ontario-design-system-components/p-200fc862.entry.js.map +0 -1
  1513. package/dist/ontario-design-system-components/p-22e91c3f.entry.js +0 -92
  1514. package/dist/ontario-design-system-components/p-22e91c3f.entry.js.map +0 -1
  1515. package/dist/ontario-design-system-components/p-238b2bda.entry.js +0 -7228
  1516. package/dist/ontario-design-system-components/p-238b2bda.entry.js.map +0 -1
  1517. package/dist/ontario-design-system-components/p-24442d98.entry.js +0 -90
  1518. package/dist/ontario-design-system-components/p-24442d98.entry.js.map +0 -1
  1519. package/dist/ontario-design-system-components/p-26be65d6.entry.js +0 -92
  1520. package/dist/ontario-design-system-components/p-26be65d6.entry.js.map +0 -1
  1521. package/dist/ontario-design-system-components/p-2744aba1.entry.js +0 -89
  1522. package/dist/ontario-design-system-components/p-2744aba1.entry.js.map +0 -1
  1523. package/dist/ontario-design-system-components/p-30163437.entry.js +0 -92
  1524. package/dist/ontario-design-system-components/p-30163437.entry.js.map +0 -1
  1525. package/dist/ontario-design-system-components/p-308d5631.entry.js +0 -92
  1526. package/dist/ontario-design-system-components/p-308d5631.entry.js.map +0 -1
  1527. package/dist/ontario-design-system-components/p-32390b27.entry.js +0 -92
  1528. package/dist/ontario-design-system-components/p-32390b27.entry.js.map +0 -1
  1529. package/dist/ontario-design-system-components/p-348b3013.entry.js +0 -92
  1530. package/dist/ontario-design-system-components/p-348b3013.entry.js.map +0 -1
  1531. package/dist/ontario-design-system-components/p-39d78342.entry.js +0 -93
  1532. package/dist/ontario-design-system-components/p-39d78342.entry.js.map +0 -1
  1533. package/dist/ontario-design-system-components/p-3ab02a8a.entry.js +0 -93
  1534. package/dist/ontario-design-system-components/p-3ab02a8a.entry.js.map +0 -1
  1535. package/dist/ontario-design-system-components/p-3ae20b99.entry.js +0 -92
  1536. package/dist/ontario-design-system-components/p-3ae20b99.entry.js.map +0 -1
  1537. package/dist/ontario-design-system-components/p-3ccfeb1a.entry.js +0 -92
  1538. package/dist/ontario-design-system-components/p-3ccfeb1a.entry.js.map +0 -1
  1539. package/dist/ontario-design-system-components/p-3e01ad51.entry.js +0 -92
  1540. package/dist/ontario-design-system-components/p-3e01ad51.entry.js.map +0 -1
  1541. package/dist/ontario-design-system-components/p-3ec28cbb.entry.js +0 -93
  1542. package/dist/ontario-design-system-components/p-3ec28cbb.entry.js.map +0 -1
  1543. package/dist/ontario-design-system-components/p-3eccae1e.entry.js +0 -92
  1544. package/dist/ontario-design-system-components/p-3eccae1e.entry.js.map +0 -1
  1545. package/dist/ontario-design-system-components/p-423df9ec.entry.js +0 -92
  1546. package/dist/ontario-design-system-components/p-423df9ec.entry.js.map +0 -1
  1547. package/dist/ontario-design-system-components/p-4327fce7.entry.js +0 -138
  1548. package/dist/ontario-design-system-components/p-4327fce7.entry.js.map +0 -1
  1549. package/dist/ontario-design-system-components/p-47ee54a1.entry.js +0 -85
  1550. package/dist/ontario-design-system-components/p-47ee54a1.entry.js.map +0 -1
  1551. package/dist/ontario-design-system-components/p-4913c427.entry.js +0 -93
  1552. package/dist/ontario-design-system-components/p-4913c427.entry.js.map +0 -1
  1553. package/dist/ontario-design-system-components/p-4a17492b.entry.js +0 -92
  1554. package/dist/ontario-design-system-components/p-4a17492b.entry.js.map +0 -1
  1555. package/dist/ontario-design-system-components/p-4ce96795.entry.js +0 -93
  1556. package/dist/ontario-design-system-components/p-4ce96795.entry.js.map +0 -1
  1557. package/dist/ontario-design-system-components/p-4d4af8e3.entry.js +0 -92
  1558. package/dist/ontario-design-system-components/p-4d4af8e3.entry.js.map +0 -1
  1559. package/dist/ontario-design-system-components/p-4fb360ea.entry.js +0 -92
  1560. package/dist/ontario-design-system-components/p-4fb360ea.entry.js.map +0 -1
  1561. package/dist/ontario-design-system-components/p-508e677a.entry.js +0 -92
  1562. package/dist/ontario-design-system-components/p-508e677a.entry.js.map +0 -1
  1563. package/dist/ontario-design-system-components/p-51d80429.entry.js +0 -89
  1564. package/dist/ontario-design-system-components/p-51d80429.entry.js.map +0 -1
  1565. package/dist/ontario-design-system-components/p-526a5a93.entry.js +0 -92
  1566. package/dist/ontario-design-system-components/p-526a5a93.entry.js.map +0 -1
  1567. package/dist/ontario-design-system-components/p-5460ca6c.entry.js +0 -93
  1568. package/dist/ontario-design-system-components/p-5460ca6c.entry.js.map +0 -1
  1569. package/dist/ontario-design-system-components/p-549b0633.entry.js +0 -93
  1570. package/dist/ontario-design-system-components/p-549b0633.entry.js.map +0 -1
  1571. package/dist/ontario-design-system-components/p-54d9a4d9.entry.js +0 -139
  1572. package/dist/ontario-design-system-components/p-54d9a4d9.entry.js.map +0 -1
  1573. package/dist/ontario-design-system-components/p-5676c74b.entry.js +0 -92
  1574. package/dist/ontario-design-system-components/p-5676c74b.entry.js.map +0 -1
  1575. package/dist/ontario-design-system-components/p-58a4e795.entry.js +0 -119
  1576. package/dist/ontario-design-system-components/p-58a4e795.entry.js.map +0 -1
  1577. package/dist/ontario-design-system-components/p-5b97b5d8.entry.js +0 -92
  1578. package/dist/ontario-design-system-components/p-5b97b5d8.entry.js.map +0 -1
  1579. package/dist/ontario-design-system-components/p-5c7b2246.entry.js +0 -92
  1580. package/dist/ontario-design-system-components/p-5c7b2246.entry.js.map +0 -1
  1581. package/dist/ontario-design-system-components/p-5fa346ec.entry.js +0 -92
  1582. package/dist/ontario-design-system-components/p-5fa346ec.entry.js.map +0 -1
  1583. package/dist/ontario-design-system-components/p-615238b5.entry.js +0 -92
  1584. package/dist/ontario-design-system-components/p-615238b5.entry.js.map +0 -1
  1585. package/dist/ontario-design-system-components/p-61f5225b.entry.js +0 -89
  1586. package/dist/ontario-design-system-components/p-61f5225b.entry.js.map +0 -1
  1587. package/dist/ontario-design-system-components/p-62e2b9ab.entry.js +0 -92
  1588. package/dist/ontario-design-system-components/p-62e2b9ab.entry.js.map +0 -1
  1589. package/dist/ontario-design-system-components/p-7905dbee.entry.js +0 -92
  1590. package/dist/ontario-design-system-components/p-7905dbee.entry.js.map +0 -1
  1591. package/dist/ontario-design-system-components/p-7a20dedc.entry.js +0 -92
  1592. package/dist/ontario-design-system-components/p-7a20dedc.entry.js.map +0 -1
  1593. package/dist/ontario-design-system-components/p-7bb9476e.entry.js +0 -92
  1594. package/dist/ontario-design-system-components/p-7bb9476e.entry.js.map +0 -1
  1595. package/dist/ontario-design-system-components/p-7c294c6a.entry.js +0 -92
  1596. package/dist/ontario-design-system-components/p-7c294c6a.entry.js.map +0 -1
  1597. package/dist/ontario-design-system-components/p-7ceb98ff.entry.js +0 -92
  1598. package/dist/ontario-design-system-components/p-7ceb98ff.entry.js.map +0 -1
  1599. package/dist/ontario-design-system-components/p-7e6f5fe1.entry.js +0 -139
  1600. package/dist/ontario-design-system-components/p-7e6f5fe1.entry.js.map +0 -1
  1601. package/dist/ontario-design-system-components/p-7faf3203.entry.js +0 -84
  1602. package/dist/ontario-design-system-components/p-7faf3203.entry.js.map +0 -1
  1603. package/dist/ontario-design-system-components/p-87e76fc7.entry.js +0 -92
  1604. package/dist/ontario-design-system-components/p-87e76fc7.entry.js.map +0 -1
  1605. package/dist/ontario-design-system-components/p-89202ab4.entry.js +0 -92
  1606. package/dist/ontario-design-system-components/p-89202ab4.entry.js.map +0 -1
  1607. package/dist/ontario-design-system-components/p-8fb02182.entry.js +0 -93
  1608. package/dist/ontario-design-system-components/p-8fb02182.entry.js.map +0 -1
  1609. package/dist/ontario-design-system-components/p-929f1399.entry.js +0 -92
  1610. package/dist/ontario-design-system-components/p-929f1399.entry.js.map +0 -1
  1611. package/dist/ontario-design-system-components/p-933b5ab7.entry.js +0 -92
  1612. package/dist/ontario-design-system-components/p-933b5ab7.entry.js.map +0 -1
  1613. package/dist/ontario-design-system-components/p-9463f353.entry.js +0 -92
  1614. package/dist/ontario-design-system-components/p-9463f353.entry.js.map +0 -1
  1615. package/dist/ontario-design-system-components/p-965680ce.entry.js +0 -78
  1616. package/dist/ontario-design-system-components/p-965680ce.entry.js.map +0 -1
  1617. package/dist/ontario-design-system-components/p-9933a457.entry.js +0 -92
  1618. package/dist/ontario-design-system-components/p-9933a457.entry.js.map +0 -1
  1619. package/dist/ontario-design-system-components/p-9a146f00.entry.js +0 -92
  1620. package/dist/ontario-design-system-components/p-9a146f00.entry.js.map +0 -1
  1621. package/dist/ontario-design-system-components/p-9a8c9987.entry.js +0 -92
  1622. package/dist/ontario-design-system-components/p-9a8c9987.entry.js.map +0 -1
  1623. package/dist/ontario-design-system-components/p-9b05a2f1.entry.js +0 -92
  1624. package/dist/ontario-design-system-components/p-9b05a2f1.entry.js.map +0 -1
  1625. package/dist/ontario-design-system-components/p-9b68b70a.entry.js +0 -92
  1626. package/dist/ontario-design-system-components/p-9b68b70a.entry.js.map +0 -1
  1627. package/dist/ontario-design-system-components/p-9f74187a.entry.js +0 -92
  1628. package/dist/ontario-design-system-components/p-9f74187a.entry.js.map +0 -1
  1629. package/dist/ontario-design-system-components/p-a65d2781.entry.js +0 -92
  1630. package/dist/ontario-design-system-components/p-a65d2781.entry.js.map +0 -1
  1631. package/dist/ontario-design-system-components/p-a67bc09d.entry.js +0 -92
  1632. package/dist/ontario-design-system-components/p-a67bc09d.entry.js.map +0 -1
  1633. package/dist/ontario-design-system-components/p-a7ded593.entry.js +0 -92
  1634. package/dist/ontario-design-system-components/p-a7ded593.entry.js.map +0 -1
  1635. package/dist/ontario-design-system-components/p-a7e49dd7.entry.js +0 -93
  1636. package/dist/ontario-design-system-components/p-a7e49dd7.entry.js.map +0 -1
  1637. package/dist/ontario-design-system-components/p-aa5b3c2a.entry.js +0 -92
  1638. package/dist/ontario-design-system-components/p-aa5b3c2a.entry.js.map +0 -1
  1639. package/dist/ontario-design-system-components/p-aec65db1.entry.js +0 -92
  1640. package/dist/ontario-design-system-components/p-aec65db1.entry.js.map +0 -1
  1641. package/dist/ontario-design-system-components/p-b86d656e.entry.js +0 -90
  1642. package/dist/ontario-design-system-components/p-b86d656e.entry.js.map +0 -1
  1643. package/dist/ontario-design-system-components/p-bc843f75.entry.js +0 -89
  1644. package/dist/ontario-design-system-components/p-bc843f75.entry.js.map +0 -1
  1645. package/dist/ontario-design-system-components/p-beb07750.entry.js +0 -92
  1646. package/dist/ontario-design-system-components/p-beb07750.entry.js.map +0 -1
  1647. package/dist/ontario-design-system-components/p-c865c4a0.entry.js +0 -92
  1648. package/dist/ontario-design-system-components/p-c865c4a0.entry.js.map +0 -1
  1649. package/dist/ontario-design-system-components/p-c9357954.entry.js +0 -92
  1650. package/dist/ontario-design-system-components/p-c9357954.entry.js.map +0 -1
  1651. package/dist/ontario-design-system-components/p-cadaa0b5.entry.js +0 -92
  1652. package/dist/ontario-design-system-components/p-cadaa0b5.entry.js.map +0 -1
  1653. package/dist/ontario-design-system-components/p-d5dd0628.entry.js +0 -92
  1654. package/dist/ontario-design-system-components/p-d5dd0628.entry.js.map +0 -1
  1655. package/dist/ontario-design-system-components/p-d743281a.entry.js +0 -93
  1656. package/dist/ontario-design-system-components/p-d743281a.entry.js.map +0 -1
  1657. package/dist/ontario-design-system-components/p-e186ca34.entry.js +0 -92
  1658. package/dist/ontario-design-system-components/p-e186ca34.entry.js.map +0 -1
  1659. package/dist/ontario-design-system-components/p-e46c0edd.entry.js +0 -93
  1660. package/dist/ontario-design-system-components/p-e46c0edd.entry.js.map +0 -1
  1661. package/dist/ontario-design-system-components/p-eae08722.entry.js +0 -92
  1662. package/dist/ontario-design-system-components/p-eae08722.entry.js.map +0 -1
  1663. package/dist/ontario-design-system-components/p-ee65ab94.entry.js +0 -95
  1664. package/dist/ontario-design-system-components/p-ee65ab94.entry.js.map +0 -1
  1665. package/dist/ontario-design-system-components/p-ef181bed.entry.js +0 -92
  1666. package/dist/ontario-design-system-components/p-ef181bed.entry.js.map +0 -1
  1667. package/dist/ontario-design-system-components/p-f288e8f7.entry.js +0 -93
  1668. package/dist/ontario-design-system-components/p-f288e8f7.entry.js.map +0 -1
  1669. package/dist/ontario-design-system-components/p-f408d24f.entry.js +0 -89
  1670. package/dist/ontario-design-system-components/p-f408d24f.entry.js.map +0 -1
  1671. package/dist/ontario-design-system-components/p-sKE6XOGY.js +0 -2070
  1672. package/dist/ontario-design-system-components/p-sKE6XOGY.js.map +0 -1
  1673. package/src/components/ontario-icon/scripts/generate-icons.js +0 -294
  1674. package/src/styles/common.scss +0 -2
  1675. package/src/styles/form.scss +0 -4
  1676. package/src/styles/grid.scss +0 -1
  1677. package/www/build/p-00046fb7.entry.js +0 -94
  1678. package/www/build/p-00046fb7.entry.js.map +0 -1
  1679. package/www/build/p-02952bf4.entry.js +0 -110
  1680. package/www/build/p-02952bf4.entry.js.map +0 -1
  1681. package/www/build/p-0359311b.entry.js +0 -93
  1682. package/www/build/p-0359311b.entry.js.map +0 -1
  1683. package/www/build/p-03d9dec8.entry.js +0 -92
  1684. package/www/build/p-03d9dec8.entry.js.map +0 -1
  1685. package/www/build/p-055dafa7.entry.js +0 -92
  1686. package/www/build/p-055dafa7.entry.js.map +0 -1
  1687. package/www/build/p-06669311.entry.js +0 -92
  1688. package/www/build/p-06669311.entry.js.map +0 -1
  1689. package/www/build/p-07670594.entry.js +0 -92
  1690. package/www/build/p-07670594.entry.js.map +0 -1
  1691. package/www/build/p-095dd75e.entry.js +0 -92
  1692. package/www/build/p-095dd75e.entry.js.map +0 -1
  1693. package/www/build/p-10977db1.entry.js +0 -93
  1694. package/www/build/p-10977db1.entry.js.map +0 -1
  1695. package/www/build/p-11567c01.entry.js +0 -92
  1696. package/www/build/p-11567c01.entry.js.map +0 -1
  1697. package/www/build/p-12bec59e.entry.js +0 -89
  1698. package/www/build/p-12bec59e.entry.js.map +0 -1
  1699. package/www/build/p-168ded35.entry.js +0 -92
  1700. package/www/build/p-168ded35.entry.js.map +0 -1
  1701. package/www/build/p-16be1bf5.entry.js +0 -92
  1702. package/www/build/p-16be1bf5.entry.js.map +0 -1
  1703. package/www/build/p-18db2f7e.entry.js +0 -92
  1704. package/www/build/p-18db2f7e.entry.js.map +0 -1
  1705. package/www/build/p-1b8948fe.entry.js +0 -93
  1706. package/www/build/p-1b8948fe.entry.js.map +0 -1
  1707. package/www/build/p-1e917cf9.entry.js +0 -92
  1708. package/www/build/p-1e917cf9.entry.js.map +0 -1
  1709. package/www/build/p-200fc862.entry.js +0 -92
  1710. package/www/build/p-200fc862.entry.js.map +0 -1
  1711. package/www/build/p-22e91c3f.entry.js +0 -92
  1712. package/www/build/p-22e91c3f.entry.js.map +0 -1
  1713. package/www/build/p-238b2bda.entry.js +0 -7228
  1714. package/www/build/p-238b2bda.entry.js.map +0 -1
  1715. package/www/build/p-24442d98.entry.js +0 -90
  1716. package/www/build/p-24442d98.entry.js.map +0 -1
  1717. package/www/build/p-26be65d6.entry.js +0 -92
  1718. package/www/build/p-26be65d6.entry.js.map +0 -1
  1719. package/www/build/p-2744aba1.entry.js +0 -89
  1720. package/www/build/p-2744aba1.entry.js.map +0 -1
  1721. package/www/build/p-30163437.entry.js +0 -92
  1722. package/www/build/p-30163437.entry.js.map +0 -1
  1723. package/www/build/p-308d5631.entry.js +0 -92
  1724. package/www/build/p-308d5631.entry.js.map +0 -1
  1725. package/www/build/p-32390b27.entry.js +0 -92
  1726. package/www/build/p-32390b27.entry.js.map +0 -1
  1727. package/www/build/p-348b3013.entry.js +0 -92
  1728. package/www/build/p-348b3013.entry.js.map +0 -1
  1729. package/www/build/p-39d78342.entry.js +0 -93
  1730. package/www/build/p-39d78342.entry.js.map +0 -1
  1731. package/www/build/p-3ab02a8a.entry.js +0 -93
  1732. package/www/build/p-3ab02a8a.entry.js.map +0 -1
  1733. package/www/build/p-3ae20b99.entry.js +0 -92
  1734. package/www/build/p-3ae20b99.entry.js.map +0 -1
  1735. package/www/build/p-3ccfeb1a.entry.js +0 -92
  1736. package/www/build/p-3ccfeb1a.entry.js.map +0 -1
  1737. package/www/build/p-3e01ad51.entry.js +0 -92
  1738. package/www/build/p-3e01ad51.entry.js.map +0 -1
  1739. package/www/build/p-3ec28cbb.entry.js +0 -93
  1740. package/www/build/p-3ec28cbb.entry.js.map +0 -1
  1741. package/www/build/p-3eccae1e.entry.js +0 -92
  1742. package/www/build/p-3eccae1e.entry.js.map +0 -1
  1743. package/www/build/p-423df9ec.entry.js +0 -92
  1744. package/www/build/p-423df9ec.entry.js.map +0 -1
  1745. package/www/build/p-4327fce7.entry.js +0 -138
  1746. package/www/build/p-4327fce7.entry.js.map +0 -1
  1747. package/www/build/p-47ee54a1.entry.js +0 -85
  1748. package/www/build/p-47ee54a1.entry.js.map +0 -1
  1749. package/www/build/p-4913c427.entry.js +0 -93
  1750. package/www/build/p-4913c427.entry.js.map +0 -1
  1751. package/www/build/p-4a17492b.entry.js +0 -92
  1752. package/www/build/p-4a17492b.entry.js.map +0 -1
  1753. package/www/build/p-4ce96795.entry.js +0 -93
  1754. package/www/build/p-4ce96795.entry.js.map +0 -1
  1755. package/www/build/p-4d4af8e3.entry.js +0 -92
  1756. package/www/build/p-4d4af8e3.entry.js.map +0 -1
  1757. package/www/build/p-4fb360ea.entry.js +0 -92
  1758. package/www/build/p-4fb360ea.entry.js.map +0 -1
  1759. package/www/build/p-508e677a.entry.js +0 -92
  1760. package/www/build/p-508e677a.entry.js.map +0 -1
  1761. package/www/build/p-51d80429.entry.js +0 -89
  1762. package/www/build/p-51d80429.entry.js.map +0 -1
  1763. package/www/build/p-526a5a93.entry.js +0 -92
  1764. package/www/build/p-526a5a93.entry.js.map +0 -1
  1765. package/www/build/p-5460ca6c.entry.js +0 -93
  1766. package/www/build/p-5460ca6c.entry.js.map +0 -1
  1767. package/www/build/p-549b0633.entry.js +0 -93
  1768. package/www/build/p-549b0633.entry.js.map +0 -1
  1769. package/www/build/p-54d9a4d9.entry.js +0 -139
  1770. package/www/build/p-54d9a4d9.entry.js.map +0 -1
  1771. package/www/build/p-5676c74b.entry.js +0 -92
  1772. package/www/build/p-5676c74b.entry.js.map +0 -1
  1773. package/www/build/p-58a4e795.entry.js +0 -119
  1774. package/www/build/p-58a4e795.entry.js.map +0 -1
  1775. package/www/build/p-5b97b5d8.entry.js +0 -92
  1776. package/www/build/p-5b97b5d8.entry.js.map +0 -1
  1777. package/www/build/p-5c7b2246.entry.js +0 -92
  1778. package/www/build/p-5c7b2246.entry.js.map +0 -1
  1779. package/www/build/p-5fa346ec.entry.js +0 -92
  1780. package/www/build/p-5fa346ec.entry.js.map +0 -1
  1781. package/www/build/p-615238b5.entry.js +0 -92
  1782. package/www/build/p-615238b5.entry.js.map +0 -1
  1783. package/www/build/p-61f5225b.entry.js +0 -89
  1784. package/www/build/p-61f5225b.entry.js.map +0 -1
  1785. package/www/build/p-62e2b9ab.entry.js +0 -92
  1786. package/www/build/p-62e2b9ab.entry.js.map +0 -1
  1787. package/www/build/p-7905dbee.entry.js +0 -92
  1788. package/www/build/p-7905dbee.entry.js.map +0 -1
  1789. package/www/build/p-7a20dedc.entry.js +0 -92
  1790. package/www/build/p-7a20dedc.entry.js.map +0 -1
  1791. package/www/build/p-7bb9476e.entry.js +0 -92
  1792. package/www/build/p-7bb9476e.entry.js.map +0 -1
  1793. package/www/build/p-7c294c6a.entry.js +0 -92
  1794. package/www/build/p-7c294c6a.entry.js.map +0 -1
  1795. package/www/build/p-7ceb98ff.entry.js +0 -92
  1796. package/www/build/p-7ceb98ff.entry.js.map +0 -1
  1797. package/www/build/p-7e6f5fe1.entry.js +0 -139
  1798. package/www/build/p-7e6f5fe1.entry.js.map +0 -1
  1799. package/www/build/p-7faf3203.entry.js +0 -84
  1800. package/www/build/p-7faf3203.entry.js.map +0 -1
  1801. package/www/build/p-87e76fc7.entry.js +0 -92
  1802. package/www/build/p-87e76fc7.entry.js.map +0 -1
  1803. package/www/build/p-89202ab4.entry.js +0 -92
  1804. package/www/build/p-89202ab4.entry.js.map +0 -1
  1805. package/www/build/p-8fb02182.entry.js +0 -93
  1806. package/www/build/p-8fb02182.entry.js.map +0 -1
  1807. package/www/build/p-929f1399.entry.js +0 -92
  1808. package/www/build/p-929f1399.entry.js.map +0 -1
  1809. package/www/build/p-933b5ab7.entry.js +0 -92
  1810. package/www/build/p-933b5ab7.entry.js.map +0 -1
  1811. package/www/build/p-9463f353.entry.js +0 -92
  1812. package/www/build/p-9463f353.entry.js.map +0 -1
  1813. package/www/build/p-965680ce.entry.js +0 -78
  1814. package/www/build/p-965680ce.entry.js.map +0 -1
  1815. package/www/build/p-9933a457.entry.js +0 -92
  1816. package/www/build/p-9933a457.entry.js.map +0 -1
  1817. package/www/build/p-9a146f00.entry.js +0 -92
  1818. package/www/build/p-9a146f00.entry.js.map +0 -1
  1819. package/www/build/p-9a8c9987.entry.js +0 -92
  1820. package/www/build/p-9a8c9987.entry.js.map +0 -1
  1821. package/www/build/p-9b05a2f1.entry.js +0 -92
  1822. package/www/build/p-9b05a2f1.entry.js.map +0 -1
  1823. package/www/build/p-9b68b70a.entry.js +0 -92
  1824. package/www/build/p-9b68b70a.entry.js.map +0 -1
  1825. package/www/build/p-9f74187a.entry.js +0 -92
  1826. package/www/build/p-9f74187a.entry.js.map +0 -1
  1827. package/www/build/p-a65d2781.entry.js +0 -92
  1828. package/www/build/p-a65d2781.entry.js.map +0 -1
  1829. package/www/build/p-a661bec6.css +0 -3125
  1830. package/www/build/p-a67bc09d.entry.js +0 -92
  1831. package/www/build/p-a67bc09d.entry.js.map +0 -1
  1832. package/www/build/p-a7ded593.entry.js +0 -92
  1833. package/www/build/p-a7ded593.entry.js.map +0 -1
  1834. package/www/build/p-a7e49dd7.entry.js +0 -93
  1835. package/www/build/p-a7e49dd7.entry.js.map +0 -1
  1836. package/www/build/p-aa5b3c2a.entry.js +0 -92
  1837. package/www/build/p-aa5b3c2a.entry.js.map +0 -1
  1838. package/www/build/p-aec65db1.entry.js +0 -92
  1839. package/www/build/p-aec65db1.entry.js.map +0 -1
  1840. package/www/build/p-b86d656e.entry.js +0 -90
  1841. package/www/build/p-b86d656e.entry.js.map +0 -1
  1842. package/www/build/p-bc843f75.entry.js +0 -89
  1843. package/www/build/p-bc843f75.entry.js.map +0 -1
  1844. package/www/build/p-beb07750.entry.js +0 -92
  1845. package/www/build/p-beb07750.entry.js.map +0 -1
  1846. package/www/build/p-c865c4a0.entry.js +0 -92
  1847. package/www/build/p-c865c4a0.entry.js.map +0 -1
  1848. package/www/build/p-c9357954.entry.js +0 -92
  1849. package/www/build/p-c9357954.entry.js.map +0 -1
  1850. package/www/build/p-cadaa0b5.entry.js +0 -92
  1851. package/www/build/p-cadaa0b5.entry.js.map +0 -1
  1852. package/www/build/p-cd291f03.js +0 -20
  1853. package/www/build/p-d5dd0628.entry.js +0 -92
  1854. package/www/build/p-d5dd0628.entry.js.map +0 -1
  1855. package/www/build/p-d743281a.entry.js +0 -93
  1856. package/www/build/p-d743281a.entry.js.map +0 -1
  1857. package/www/build/p-e186ca34.entry.js +0 -92
  1858. package/www/build/p-e186ca34.entry.js.map +0 -1
  1859. package/www/build/p-e46c0edd.entry.js +0 -93
  1860. package/www/build/p-e46c0edd.entry.js.map +0 -1
  1861. package/www/build/p-eae08722.entry.js +0 -92
  1862. package/www/build/p-eae08722.entry.js.map +0 -1
  1863. package/www/build/p-ee65ab94.entry.js +0 -95
  1864. package/www/build/p-ee65ab94.entry.js.map +0 -1
  1865. package/www/build/p-ef181bed.entry.js +0 -92
  1866. package/www/build/p-ef181bed.entry.js.map +0 -1
  1867. package/www/build/p-f288e8f7.entry.js +0 -93
  1868. package/www/build/p-f288e8f7.entry.js.map +0 -1
  1869. package/www/build/p-f408d24f.entry.js +0 -89
  1870. package/www/build/p-f408d24f.entry.js.map +0 -1
  1871. package/www/build/p-sKE6XOGY.js +0 -2070
  1872. package/www/build/p-sKE6XOGY.js.map +0 -1
  1873. /package/{dist/collection/components/ontario-icon/scripts/generate-icons.js → src/components/ontario-icon/scripts/generate-icons.cjs} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"ontario-icon-linkedin.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-linkedin&encapsulation=shadow","src/components/ontario-icon/ontario-icon-linkedin.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-linkedin',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconLinkedin 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-linkedin> ')\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-linkedin> ')\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=\"linkedin\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M21 21h-4v-6.75c0-1.06-1.2-1.94-2.25-1.94S13 13.2 13 14.25V21H9V9h4v2c.66-1.07 2.36-1.76 3.5-1.76a4.51 4.51 0 0 1 4.5 4.51V21zM7 21H3V9h4v12zM5 3a2 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"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCana,mBAAmB,GAAA,MAAA;AALhC,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMC;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAa,EAAE;AAmChC;;AAEG;AACK,QAAA,IAAM,CAAA,MAAA,GAAe,OAAO;AAmFpC;AAjHA;;;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,2BAA2B;AAC5C,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;;;AAqBtC;;;;AAIG;IAEH,cAAc,GAAA;QAC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AG,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,UAAU,EAAA,EAEb,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,4MAA4M,GAAG,CAClN,CACD;;;;;;;;;;;"}
1
+ {"version":3,"file":"ontario-icon-linkedin.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-linkedin&encapsulation=shadow","src/components/ontario-icon/ontario-icon-linkedin.tsx"],"sourcesContent":["@use 'pkg:@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-linkedin',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconLinkedin 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-linkedin> ')\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-linkedin> ')\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=\"linkedin\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M21 21h-4v-6.75c0-1.06-1.2-1.94-2.25-1.94S13 13.2 13 14.25V21H9V9h4v2c.66-1.07 2.36-1.76 3.5-1.76a4.51 4.51 0 0 1 4.5 4.51V21zM7 21H3V9h4v12zM5 3a2 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"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCana,mBAAmB,GAAA,MAAA;AALhC,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMC;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAa,EAAE;AAmChC;;AAEG;AACK,QAAA,IAAM,CAAA,MAAA,GAAe,OAAO;AAmFpC;AAjHA;;;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,2BAA2B;AAC5C,iBAAA,cAAc,CACd,CACC,EAAA,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,gCAAgC,GAAG,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AI,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,UAAU,EAAA,EAEb,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,4MAA4M,GAAG,CAClN,CACD;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ontario-icon-list.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-list&encapsulation=shadow","src/components/ontario-icon/ontario-icon-list.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-list',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconList 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-list> ')\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-list> ')\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=\"list\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M4 10.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 1 0 0-3zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 1 0 0-3zm0 12c-.83 0-1.5.68-1.5 1.5A1.51 1.51 0 0 0 4 19.5 1.51 1.51 0 0 0 5.5 18c0-.82-.67-1.5-1.5-1.5zM7 19h14v-2H7v2zm0-6h14v-2H7v2zm0-8v2h14V5H7z\" />\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"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCana,eAAe,GAAA,MAAA;AAL5B,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMC;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAa,EAAE;AAmChC;;AAEG;AACK,QAAA,IAAM,CAAA,MAAA,GAAe,OAAO;AAmFpC;AAjHA;;;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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AEG;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,MAAM,EAAA,EAET,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,oOAAoO,GAAG,CAC1O,CACD;;;;;;;;;;;"}
1
+ {"version":3,"file":"ontario-icon-list.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-list&encapsulation=shadow","src/components/ontario-icon/ontario-icon-list.tsx"],"sourcesContent":["@use 'pkg:@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-list',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconList 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-list> ')\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-list> ')\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=\"list\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M4 10.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 1 0 0-3zm0-6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 1 0 0-3zm0 12c-.83 0-1.5.68-1.5 1.5A1.51 1.51 0 0 0 4 19.5 1.51 1.51 0 0 0 5.5 18c0-.82-.67-1.5-1.5-1.5zM7 19h14v-2H7v2zm0-6h14v-2H7v2zm0-8v2h14V5H7z\" />\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"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCana,eAAe,GAAA,MAAA;AAL5B,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMC;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAa,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AC3B,cAAc,CAAC,IAAI;aACnB,gBAAgB,CAAC,uBAAuB;aACxC,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,MAAM,EAAA,EAET,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,oOAAoO,GAAG,CAC1O,CACD;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ontario-icon-live-chat.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-live-chat&encapsulation=shadow","src/components/ontario-icon/ontario-icon-live-chat.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-live-chat',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconLiveChat 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-live-chat> ')\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-live-chat> ')\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=\"live-chat\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 9h12v2H6V9zm8 5H6v-2h8v2zm4-6H6V6h12v2z\" />\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"],"names":[],"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":"ontario-icon-live-chat.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-live-chat&encapsulation=shadow","src/components/ontario-icon/ontario-icon-live-chat.tsx"],"sourcesContent":["@use 'pkg:@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-live-chat',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconLiveChat 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-live-chat> ')\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-live-chat> ')\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=\"live-chat\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1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AAE,EAAC,WAAW,EAAA,EAEd,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,8GAA8G,GAAG,CACpH,CACD;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ontario-icon-location-off.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-location-off&encapsulation=shadow","src/components/ontario-icon/ontario-icon-location-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-location-off',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconLocationOff 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-location-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-location-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=\"location-off\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M20.94 11c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06c-1.13.12-2.2.46-3.16.97l1.5 1.5C10.16 5.2 11.06 5 12 5c3.87 0 7 3.13 7 7a7.03 7.03 0 0 1-.52 2.65l1.5 1.5c.5-.96.84-2.02.97-3.15H23v-2h-2.06zM3 4.27L5.04 6.3c-1.07 1.3-1.8 2.92-1.98 4.7H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c1.77-.2 3.38-.9 4.7-1.98L19.73 21 21 19.73 4.27 3 3 4.27zm13.27 13.27C15.1 18.45 13.6 19 12 19c-3.87 0-7-3.13-7-7 0-1.6.55-3.1 1.46-4.27l9.8 9.8z\" />\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"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCana,sBAAsB,GAAA,MAAA;AALnC,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMC;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAa,EAAE;AAmChC;;AAEG;AACK,QAAA,IAAM,CAAA,MAAA,GAAe,OAAO;AAmFpC;AAjHA;;;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,+BAA+B;AAChD,iBAAA,cAAc,CACd,CACC,EAAA,KAAK,CAAC,IAAI,CAAC,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C,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,cAAc,EAAA,EAEjB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,gbAAgb,GAAG,CACtb,CACD;;;;;;;;;;;"}
1
+ {"version":3,"file":"ontario-icon-location-off.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-location-off&encapsulation=shadow","src/components/ontario-icon/ontario-icon-location-off.tsx"],"sourcesContent":["@use 'pkg:@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-location-off',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconLocationOff 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-location-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-location-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=\"location-off\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M20.94 11c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06c-1.13.12-2.2.46-3.16.97l1.5 1.5C10.16 5.2 11.06 5 12 5c3.87 0 7 3.13 7 7a7.03 7.03 0 0 1-.52 2.65l1.5 1.5c.5-.96.84-2.02.97-3.15H23v-2h-2.06zM3 4.27L5.04 6.3c-1.07 1.3-1.8 2.92-1.98 4.7H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c1.77-.2 3.38-.9 4.7-1.98L19.73 21 21 19.73 4.27 3 3 4.27zm13.27 13.27C15.1 18.45 13.6 19 12 19c-3.87 0-7-3.13-7-7 0-1.6.55-3.1 1.46-4.27l9.8 9.8z\" />\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"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCana,sBAAsB,GAAA,MAAA;AALnC,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMC;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAa,EAAE;AAmChC;;AAEG;AAC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;aACnB,gBAAgB,CAAC,+BAA+B;aAChD,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,cAAc,EAAA,EAEjB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,gbAAgb,GAAG,CACtb,CACD;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ontario-icon-location-on.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-location-on&encapsulation=shadow","src/components/ontario-icon/ontario-icon-location-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-location-on',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconLocationOn 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-location-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-location-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=\"location-on\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M12 8a4 4 0 1 0 0 8 4 4 0 1 0 0-8zm8.94 3c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 7.94-7.94H23v-2h-2.06zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 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,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,qQAAqQ,GAAG,CAC3Q,CACD;;;;;;;;;;;"}
1
+ {"version":3,"file":"ontario-icon-location-on.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-location-on&encapsulation=shadow","src/components/ontario-icon/ontario-icon-location-on.tsx"],"sourcesContent":["@use 'pkg:@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-location-on',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconLocationOn 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-location-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-location-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=\"location-on\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M12 8a4 4 0 1 0 0 8 4 4 0 1 0 0-8zm8.94 3c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 7.94-7.94H23v-2h-2.06zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z\" />\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"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCana,qBAAqB,GAAA,MAAA;AALlC,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMC;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAa,EAAE;AAmChC;;AAEG;AACK,QAAA,IAAM,CAAA,MAAA,GAAe,OAAO;AAmFpC;AAjHA;;;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,cA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,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,qQAAqQ,GAAG,CAC3Q,CACD;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ontario-icon-lock-off.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-lock-off&encapsulation=shadow","src/components/ontario-icon/ontario-icon-lock-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-lock-off',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconLockOff 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-lock-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-lock-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=\"lock-off\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M18 8a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h9V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3H7a5 5 0 0 1 5-5 5 5 0 0 1 3.536 1.464A5 5 0 0 1 17 6v2h1zm-6 9a2 2 0 0 0 2-2 2 2 0 0 0-2-2 2 2 0 0 0-2 2 2 2 0 0 0 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"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCana,kBAAkB,GAAA,MAAA;AAL/B,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMC;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAa,EAAE;AAmChC;;AAEG;AACK,QAAA,IAAM,CAAA,MAAA,GAAe,OAAO;AAmFpC;AAjHA;;;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;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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,UAAU,EAAA,EAEb,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,+NAA+N,GAAG,CACrO,CACD;;;;;;;;;;;"}
1
+ {"version":3,"file":"ontario-icon-lock-off.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-lock-off&encapsulation=shadow","src/components/ontario-icon/ontario-icon-lock-off.tsx"],"sourcesContent":["@use 'pkg:@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-lock-off',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconLockOff 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-lock-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-lock-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=\"lock-off\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M18 8a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2h9V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3H7a5 5 0 0 1 5-5 5 5 0 0 1 3.536 1.464A5 5 0 0 1 17 6v2h1zm-6 9a2 2 0 0 0 2-2 2 2 0 0 0-2-2 2 2 0 0 0-2 2 2 2 0 0 0 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"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCana,kBAAkB,GAAA,MAAA;AAL/B,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMC;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAa,EAAE;AAmChC;;AAEG;AACK,QAAA,IAAM,CAAA,MAAA,GAAe,OAAO;AAmFpC;AAjHA;;;AAGG;IAEH,aAAa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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,UAAU,EAAA,EAEb,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,+NAA+N,GAAG,CACrO,CACD;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ontario-icon-lock-on.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-lock-on&encapsulation=shadow","src/components/ontario-icon/ontario-icon-lock-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-lock-on',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconLockOn 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-lock-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-lock-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=\"lock-on\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.7 1.4-3.1 3.1-3.1s3.1 1.4 3.1 3.1v2z\" />\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t);\n\t}\n}\n// content autom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CACD;;;;;;;;;;;"}
1
+ {"version":3,"file":"ontario-icon-lock-on.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-lock-on&encapsulation=shadow","src/components/ontario-icon/ontario-icon-lock-on.tsx"],"sourcesContent":["@use 'pkg:@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-lock-on',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconLockOn 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-lock-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-lock-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=\"lock-on\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M18 8h-1V6c0-2.76-2.24-5-5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AAqB,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,SAAS,EAAA,EAEZ,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,yNAAyN,GAAG,CAC/N,CACD;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ontario-icon-map.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-map&encapsulation=shadow","src/components/ontario-icon/ontario-icon-map.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-map',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMap 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-map> ')\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-map> ')\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=\"map\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.2.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.2-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.1V5l6 2.1V19z\" />\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"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCana,cAAc,GAAA,MAAA;AAL3B,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMC;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAa,EAAE;AAmChC;;AAEG;AACK,QAAA,IAAM,CAAA,MAAA,GAAe,OAAO;AAmFpC;AAjHA;;;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,sBAAsB;AACvC,iBAAA,cAAc,CACd,CACC,EAAA,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,gCAAgC,GAAG,8BAC5D,0DAA0D;iBAE1D,gBAAgB,CAAC,QAAQ;iBACzB,cAAc,CAAC,cAAc;AA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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,KAAK,EAAA,EAER,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,kLAAkL,GAAG,CACxL,CACD;;;;;;;;;;;"}
1
+ {"version":3,"file":"ontario-icon-map.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-map&encapsulation=shadow","src/components/ontario-icon/ontario-icon-map.tsx"],"sourcesContent":["@use 'pkg:@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-map',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMap 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-map> ')\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-map> ')\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=\"map\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.2.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.2-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.1V5l6 2.1V19z\" />\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"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCana,cAAc,GAAA,MAAA;AAL3B,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMC;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAa,EAAE;AAmChC;;AAEG;AACK,QAAA,IAAM,CAAA,MAAA,GAAe,OAAO;AAmFpC;AAjHA;;;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,s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AAA,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,KAAK,EAAA,EAER,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,kLAAkL,GAAG,CACxL,CACD;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ontario-icon-mastercard-alt.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-mastercard-alt&encapsulation=shadow","src/components/ontario-icon/ontario-icon-mastercard-alt.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, Element } from '@stencil/core';\nimport { Icon } from './icon.interface';\nimport { IconSize } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\n\n@Component({\n\ttag: 'ontario-icon-mastercard-alt',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMastercardAlt implements Icon {\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-mastercard-alt> ')\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 * Reference to the host element\n\t * Use to check if the host element has the `colour` attribute set\n\t */\n\t@Element() host: HTMLElement;\n\n\t/**\n\t * Validate that the `colour` attribute is not set by users\n\t * Prints a warning message if the `colour` attribute is set\n\t */\n\tvalidateColour() {\n\t\tif (this.host.hasAttribute('colour')) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' colour ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-mastercard-alt> ')\n\t\t\t\t.addRegularText('cannot be set. The provided colour is ignored.')\n\t\t\t\t.printMessage();\n\t\t}\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--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg class=\"svg-icon\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" id=\"mastercard-alt\">\n\t\t\t\t\t<circle cx=\"8\" cy=\"12\" r=\"6.5\" fill=\"#eb001b\" />\n\t\t\t\t\t<circle cx=\"16\" cy=\"12\" r=\"6.5\" fill=\"#f79e1b\" />\n\t\t\t\t\t<path d=\"M12 17.124S9.5 15.5 9.5 12 12 6.876 12 6.876 14.5 8.5 14.5 12 12 17.124 12 17.124z\" fill=\"#ff5f00\" />\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M21.173 16.85v-.3h.125v-.06H21v.06h.117v.3h.055zm.578 0v-.35h-.1l-.105.25-.105-.25h-.1v.35h.065v-.265l.098.227h.067l.098-.227v.265h.063z\"\n\t\t\t\t\t\tfill=\"#f79e1b\"\n\t\t\t\t\t/>\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"],"names":[],"mappings":";;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCWna,wBAAwB,GAAA,MAAA;AALrC,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMC;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAa,EAAE;AAuFhC;AA/EA;;;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;;;AAUtC;;;AAGG;IACH,cAAc,GAAA;QACb,IAAI,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE;AACrC,YA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I,EAC5I,IAAI,EAAC,SAAS,EACb,CAAA,CACG,CACD;;;;;;;;;;;"}
1
+ {"version":3,"file":"ontario-icon-mastercard-alt.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-mastercard-alt&encapsulation=shadow","src/components/ontario-icon/ontario-icon-mastercard-alt.tsx"],"sourcesContent":["@use 'pkg:@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, Element } from '@stencil/core';\nimport { Icon } from './icon.interface';\nimport { IconSize } from './icon.types';\nimport { ConsoleMessageClass } from '../../utils/console-message/console-message';\n\n@Component({\n\ttag: 'ontario-icon-mastercard-alt',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMastercardAlt implements Icon {\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-mastercard-alt> ')\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 * Reference to the host element\n\t * Use to check if the host element has the `colour` attribute set\n\t */\n\t@Element() host: HTMLElement;\n\n\t/**\n\t * Validate that the `colour` attribute is not set by users\n\t * Prints a warning message if the `colour` attribute is set\n\t */\n\tvalidateColour() {\n\t\tif (this.host.hasAttribute('colour')) {\n\t\t\tconst message = new ConsoleMessageClass();\n\t\t\tmessage\n\t\t\t\t.addDesignSystemTag()\n\t\t\t\t.addMonospaceText(' colour ')\n\t\t\t\t.addRegularText('on')\n\t\t\t\t.addMonospaceText(' <ontario-icon-mastercard-alt> ')\n\t\t\t\t.addRegularText('cannot be set. The provided colour is ignored.')\n\t\t\t\t.printMessage();\n\t\t}\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--width-${this.iconWidthState}`}\n\t\t\t\tstyle={{ width: `${this.iconWidthState}px` }}\n\t\t\t>\n\t\t\t\t<svg class=\"svg-icon\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" id=\"mastercard-alt\">\n\t\t\t\t\t<circle cx=\"8\" cy=\"12\" r=\"6.5\" fill=\"#eb001b\" />\n\t\t\t\t\t<circle cx=\"16\" cy=\"12\" r=\"6.5\" fill=\"#f79e1b\" />\n\t\t\t\t\t<path d=\"M12 17.124S9.5 15.5 9.5 12 12 6.876 12 6.876 14.5 8.5 14.5 12 12 17.124 12 17.124z\" fill=\"#ff5f00\" />\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M21.173 16.85v-.3h.125v-.06H21v.06h.117v.3h.055zm.578 0v-.35h-.1l-.105.25-.105-.25h-.1v.35h.065v-.265l.098.227h.067l.098-.227v.265h.063z\"\n\t\t\t\t\t\tfill=\"#f79e1b\"\n\t\t\t\t\t/>\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"],"names":[],"mappings":";;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCWna,wBAAwB,GAAA,MAAA;AALrC,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMC;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAa,EAAE;AAuFhC;AA/EA;;;AAGG;IAEH,aAAa,GAAA;QACZ,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,IA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AAC,IAAI,EAAC,KAAK,EAAC,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,WAAW,EAAC,EAAE,EAAC,gBAAgB,EAAA,EAC1G,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAQ,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,KAAK,EAAC,IAAI,EAAC,SAAS,EAAG,CAAA,EAChD,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,KAAK,EAAC,IAAI,EAAC,SAAS,EAAG,CAAA,EACjD,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,oFAAoF,EAAC,IAAI,EAAC,SAAS,EAAG,CAAA,EAC9G,CACC,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAC,EAAC,0IAA0I,EAC5I,IAAI,EAAC,SAAS,EACb,CAAA,CACG,CACD;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ontario-icon-media-fast-forward.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-media-fast-forward&encapsulation=shadow","src/components/ontario-icon/ontario-icon-media-fast-forward.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-forward',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMediaFastForward 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-forward> ')\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-forward> ')\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-forward\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M4 18l8.5-6L4 6v12zm9-12v12l8.5-6L13 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"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCana,2BAA2B,GAAA,MAAA;AALxC,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMC;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAa,EAAE;AAmChC;;AAEG;AACK,QAAA,IAAM,CAAA,MAAA,GAAe,OAAO;AAmFpC;AAjHA;;;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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AiB,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,oBAAoB,EAAA,EAEvB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,yCAAyC,GAAG,CAC/C,CACD;;;;;;;;;;;"}
1
+ {"version":3,"file":"ontario-icon-media-fast-forward.entry.esm.js","sources":["src/components/ontario-icon/ontario-icon.scss?tag=ontario-icon-media-fast-forward&encapsulation=shadow","src/components/ontario-icon/ontario-icon-media-fast-forward.tsx"],"sourcesContent":["@use 'pkg:@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-forward',\n\tstyleUrl: 'ontario-icon.scss',\n\tshadow: true,\n})\nexport class OntarioIconMediaFastForward 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-forward> ')\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-forward> ')\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-forward\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M4 18l8.5-6L4 6v12zm9-12v12l8.5-6L13 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"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCana,2BAA2B,GAAA,MAAA;AALxC,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMC;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAa,EAAE;AAmChC;;AAEG;AACK,QAAA,IAAM,CAAA,MAAA,GAAe,OAAO;AAmFpC;AAjHA;;;AAGG;IAEH,aAAa,GAAA;QACZ,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAA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;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,oBAAoB,EAAA,EAEvB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,yCAAyC,GAAG,CAC/C,CACD;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ontario-icon-media-fast-rewind.entry.esm.js","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"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCana,0BAA0B,GAAA,MAAA;AALvC,IAAA,WAAA,CAAA,OAAA,EAAA;;AAMC;;;AAGG;AACK,QAAA,IAAS,CAAA,SAAA,GAAa,EAAE;AAmChC;;AAEG;AACK,QAAA,IAAM,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,CAAC,oCAAoC;aACrD,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,mBAAmB,EAAA,EAEtB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,CAAC,EAAC,6CAA6C,GAAG,CACnD,CACD;;;;;;;;;;;"}
1
+ {"version":3,"file":"ontario-icon-media-fast-rewind.entry.esm.js","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 'pkg:@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"],"names":[],"mappings":";;;;AAAA,MAAM,cAAc,GAAG,yZAAyZ;;MCana,0BAA0B,GAAA,MAAA;AALvC,IA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-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"],"names":[],"mappings":";;;;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on-media-pause.entry.esm.js","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 'pkg:@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\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