@ongov/ontario-design-system-component-library 4.2.0-alpha.1 → 4.3.0-alpha.1
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.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ontario-accordion_42.cjs.entry.js +286 -249
- package/dist/cjs/ontario-accordion_42.cjs.entry.js.map +1 -1
- package/dist/cjs/ontario-design-system-components.cjs.js +1 -1
- package/dist/cjs/ontario-icon-account.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-add-alt.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-add.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-arrow-up.cjs.entry.js +4 -4
- package/dist/cjs/ontario-icon-attach.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-bookmark-off.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-bookmark-on.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-calendar.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-chevron-right.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-clock.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-close-header.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-close.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-cloud.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-collapse.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-credit-card.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-critical-alert-warning.cjs.entry.js +5 -5
- package/dist/cjs/ontario-icon-delete.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-document.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-download.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-dropdown-arrow.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-edit.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-expand.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-export.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-facebook-alt.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-facebook.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-favourite-off.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-favourite-on.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-filter.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-flickr.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-grid.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-instagram.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-interac-en-alt.cjs.entry.js +19 -19
- package/dist/cjs/ontario-icon-interac-en.cjs.entry.js +18 -18
- package/dist/cjs/ontario-icon-interac-fr-alt.cjs.entry.js +19 -19
- package/dist/cjs/ontario-icon-interac-fr.cjs.entry.js +12 -12
- package/dist/cjs/ontario-icon-linkedin-alt.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-linkedin.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-list.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-live-chat.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-location-off.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-location-on.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-lock-off.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-lock-on.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-map.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-mastercard-alt.cjs.entry.js +6 -6
- package/dist/cjs/ontario-icon-media-fast-forward.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-media-fast-rewind.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-media-pause.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-media-play.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-media-stop.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-menu-header.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-menu.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-microphone-off.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-microphone-on.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-more-vertical.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-new-window.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-next.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-password-hide.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-password-show.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-phone.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-photo.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-pin-location-off.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-pin-location-on.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-previous.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-remove-alt.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-remove.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-replay.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-rss-feed.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-save.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-search-white.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-search.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-sentiment-1.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-sentiment-2.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-sentiment-3.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-sentiment-4.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-settings.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-share.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-sort.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-tag.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-timer.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-transport-bicycle.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-transport-car.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-transport-walk.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-tty.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-twitter-alt.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-twitter.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-upload.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-video.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-visa.cjs.entry.js +5 -5
- package/dist/cjs/ontario-icon-vote-dislike.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-vote-like.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-vpn-key.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-wheelchair.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-wifi.cjs.entry.js +3 -3
- package/dist/cjs/ontario-icon-youtube.cjs.entry.js +3 -3
- package/dist/collection/components/ontario-aside/ontario-aside.js +18 -37
- package/dist/collection/components/ontario-aside/ontario-aside.js.map +1 -1
- package/dist/collection/components/ontario-aside/test/ontario-aside.spec.js +35 -0
- package/dist/collection/components/ontario-aside/test/ontario-aside.spec.js.map +1 -1
- package/dist/collection/components/ontario-callout/ontario-callout.js +16 -36
- package/dist/collection/components/ontario-callout/ontario-callout.js.map +1 -1
- package/dist/collection/components/ontario-callout/test/ontario-callout.spec.js +18 -0
- package/dist/collection/components/ontario-callout/test/ontario-callout.spec.js.map +1 -1
- package/dist/collection/components/ontario-card/ontario-card.css +5 -0
- package/dist/collection/components/ontario-card-collection/ontario-card-collection.css +3 -0
- package/dist/collection/components/ontario-checkbox/ontario-checkboxes.css +113 -22
- package/dist/collection/components/ontario-checkbox/ontario-checkboxes.js +52 -3
- package/dist/collection/components/ontario-checkbox/ontario-checkboxes.js.map +1 -1
- package/dist/collection/components/ontario-checkbox/test/ontario-checkboxes.spec.js +4 -0
- package/dist/collection/components/ontario-checkbox/test/ontario-checkboxes.spec.js.map +1 -1
- package/dist/collection/components/ontario-critical-alert/ontario-critical-alert.js +6 -6
- package/dist/collection/components/ontario-date-input/ontario-date-input.css +4 -0
- package/dist/collection/components/ontario-date-input/ontario-date-input.js +4 -4
- package/dist/collection/components/ontario-dropdown-list/ontario-dropdown-list.css +28 -0
- package/dist/collection/components/ontario-dropdown-list/ontario-dropdown-list.js +51 -2
- package/dist/collection/components/ontario-dropdown-list/ontario-dropdown-list.js.map +1 -1
- package/dist/collection/components/ontario-dropdown-list/test/ontario-dropdown-list.spec.js +4 -0
- package/dist/collection/components/ontario-dropdown-list/test/ontario-dropdown-list.spec.js.map +1 -1
- package/dist/collection/components/ontario-fieldset/ontario-fieldset.css +4 -0
- package/dist/collection/components/ontario-fieldset/ontario-fieldset.js +4 -4
- package/dist/collection/components/ontario-footer/components/expanded-footer-wrapper.js.map +1 -1
- package/dist/collection/components/ontario-header/ontario-header.css +5 -1
- package/dist/collection/components/ontario-hint-expander/ontario-hint-expander.js +7 -7
- package/dist/collection/components/ontario-icon/ontario-icon-accessibility.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-account.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-add-alt.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-add.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-alert-error.js +4 -4
- package/dist/collection/components/ontario-icon/ontario-icon-alert-information.js +4 -4
- package/dist/collection/components/ontario-icon/ontario-icon-alert-success.js +4 -4
- package/dist/collection/components/ontario-icon/ontario-icon-alert-warning.js +4 -4
- package/dist/collection/components/ontario-icon/ontario-icon-arrow-up.js +4 -4
- package/dist/collection/components/ontario-icon/ontario-icon-attach.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-bookmark-off.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-bookmark-on.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-calendar.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-camera.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-chevron-down.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-chevron-left.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-chevron-right.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-chevron-up.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-clock.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-close-header.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-close.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-cloud.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-collapse.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-credit-card.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-critical-alert-warning.js +5 -5
- package/dist/collection/components/ontario-icon/ontario-icon-delete.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-document.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-download.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-dropdown-arrow.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-edit.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-email.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-expand.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-export.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-facebook-alt.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-facebook.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-favourite-off.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-favourite-on.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-filter.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-flickr.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-grid.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-help.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-instagram.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-interac-en-alt.js +19 -19
- package/dist/collection/components/ontario-icon/ontario-icon-interac-en.js +18 -18
- package/dist/collection/components/ontario-icon/ontario-icon-interac-fr-alt.js +19 -19
- package/dist/collection/components/ontario-icon/ontario-icon-interac-fr.js +12 -12
- package/dist/collection/components/ontario-icon/ontario-icon-linkedin-alt.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-linkedin.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-list.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-live-chat.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-location-off.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-location-on.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-lock-off.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-lock-on.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-map.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-mastercard-alt.js +6 -6
- package/dist/collection/components/ontario-icon/ontario-icon-mastercard.js +9 -9
- package/dist/collection/components/ontario-icon/ontario-icon-media-fast-forward.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-media-fast-rewind.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-media-pause.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-media-play.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-media-stop.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-menu-header.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-menu.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-microphone-off.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-microphone-on.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-more-vertical.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-new-window.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-next.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-notification.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-password-hide.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-password-show.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-phone.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-photo.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-pin-location-off.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-pin-location-on.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-previous.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-print.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-remove-alt.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-remove.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-replay.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-rss-feed.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-save.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-search-white.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-search.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-sentiment-1.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-sentiment-2.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-sentiment-3.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-sentiment-4.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-sentiment-5.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-settings.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-share.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-sort.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-tag.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-text-message.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-timer.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-transport-bicycle.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-transport-bus.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-transport-car.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-transport-walk.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-tty.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-twitter-alt.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-twitter.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-upload.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-video.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-visa.js +5 -5
- package/dist/collection/components/ontario-icon/ontario-icon-vote-dislike.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-vote-like.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-vpn-key.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-wheelchair.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-wifi.js +3 -3
- package/dist/collection/components/ontario-icon/ontario-icon-youtube.js +3 -3
- package/dist/collection/components/ontario-input/ontario-input.css +4 -0
- package/dist/collection/components/ontario-input/ontario-input.js +3 -3
- package/dist/collection/components/ontario-language-toggle/ontario-language-toggle.js +1 -1
- package/dist/collection/components/ontario-page-alert/ontario-page-alert.js +5 -5
- package/dist/collection/components/ontario-radio-buttons/ontario-radio-buttons.css +77 -1
- package/dist/collection/components/ontario-radio-buttons/ontario-radio-buttons.js +56 -3
- package/dist/collection/components/ontario-radio-buttons/ontario-radio-buttons.js.map +1 -1
- package/dist/collection/components/ontario-radio-buttons/test/ontario-radio-button.spec.js +6 -1
- package/dist/collection/components/ontario-radio-buttons/test/ontario-radio-button.spec.js.map +1 -1
- package/dist/collection/components/ontario-step-indicator/ontario-step-indicator.js +5 -5
- package/dist/collection/components/ontario-table/ontario-table.js +5 -5
- package/dist/collection/components/ontario-textarea/ontario-textarea.css +28 -0
- package/dist/collection/components/ontario-textarea/ontario-textarea.js +54 -2
- package/dist/collection/components/ontario-textarea/ontario-textarea.js.map +1 -1
- package/dist/collection/components/ontario-textarea/test/ontario-textarea.spec.js +4 -0
- package/dist/collection/components/ontario-textarea/test/ontario-textarea.spec.js.map +1 -1
- package/dist/collection/utils/components/callout-aside/callout-aside-helpers.js +4 -4
- package/dist/collection/utils/components/callout-aside/callout-aside-helpers.js.map +1 -1
- package/dist/collection/utils/components/callout-aside/callout-aside.interface.js.map +1 -1
- package/dist/components/callout-aside-helpers.js +4 -4
- package/dist/components/callout-aside-helpers.js.map +1 -1
- package/dist/components/error-message.js +324 -1
- package/dist/components/error-message.js.map +1 -1
- package/dist/components/ontario-aside.js +13 -31
- package/dist/components/ontario-aside.js.map +1 -1
- package/dist/components/ontario-callout.js +12 -30
- package/dist/components/ontario-callout.js.map +1 -1
- package/dist/components/ontario-card-collection.js +1 -1
- package/dist/components/ontario-card-collection.js.map +1 -1
- package/dist/components/ontario-card.js +1 -1
- package/dist/components/ontario-card.js.map +1 -1
- package/dist/components/ontario-checkboxes.js +34 -8
- package/dist/components/ontario-checkboxes.js.map +1 -1
- package/dist/components/ontario-critical-alert.js +6 -6
- package/dist/components/ontario-date-input.js +6 -7
- package/dist/components/ontario-date-input.js.map +1 -1
- package/dist/components/ontario-dropdown-list.js +29 -7
- package/dist/components/ontario-dropdown-list.js.map +1 -1
- package/dist/components/ontario-fieldset.js +5 -5
- package/dist/components/ontario-fieldset.js.map +1 -1
- package/dist/components/ontario-footer.js.map +1 -1
- package/dist/components/ontario-header.js +1 -1
- package/dist/components/ontario-header.js.map +1 -1
- package/dist/components/ontario-hint-expander2.js +7 -7
- package/dist/components/ontario-icon-accessibility.js +3 -3
- package/dist/components/ontario-icon-account.js +3 -3
- package/dist/components/ontario-icon-add-alt.js +3 -3
- package/dist/components/ontario-icon-add.js +3 -3
- package/dist/components/ontario-icon-alert-error2.js +4 -4
- package/dist/components/ontario-icon-alert-information2.js +4 -4
- package/dist/components/ontario-icon-alert-success2.js +4 -4
- package/dist/components/ontario-icon-alert-warning2.js +4 -4
- package/dist/components/ontario-icon-arrow-up.js +4 -4
- package/dist/components/ontario-icon-attach.js +3 -3
- package/dist/components/ontario-icon-bookmark-off.js +3 -3
- package/dist/components/ontario-icon-bookmark-on.js +3 -3
- package/dist/components/ontario-icon-calendar.js +3 -3
- package/dist/components/ontario-icon-camera.js +3 -3
- package/dist/components/ontario-icon-chevron-down2.js +3 -3
- package/dist/components/ontario-icon-chevron-left2.js +3 -3
- package/dist/components/ontario-icon-chevron-right.js +3 -3
- package/dist/components/ontario-icon-chevron-up2.js +3 -3
- package/dist/components/ontario-icon-clock.js +3 -3
- package/dist/components/ontario-icon-close-header.js +3 -3
- package/dist/components/ontario-icon-close.js +3 -3
- package/dist/components/ontario-icon-cloud.js +3 -3
- package/dist/components/ontario-icon-collapse.js +3 -3
- package/dist/components/ontario-icon-credit-card.js +3 -3
- package/dist/components/ontario-icon-critical-alert-warning.js +5 -5
- package/dist/components/ontario-icon-delete.js +3 -3
- package/dist/components/ontario-icon-document.js +3 -3
- package/dist/components/ontario-icon-download.js +3 -3
- package/dist/components/ontario-icon-dropdown-arrow.js +3 -3
- package/dist/components/ontario-icon-edit.js +3 -3
- package/dist/components/ontario-icon-email.js +3 -3
- package/dist/components/ontario-icon-expand.js +3 -3
- package/dist/components/ontario-icon-export.js +3 -3
- package/dist/components/ontario-icon-facebook-alt.js +3 -3
- package/dist/components/ontario-icon-facebook.js +3 -3
- package/dist/components/ontario-icon-favourite-off.js +3 -3
- package/dist/components/ontario-icon-favourite-on.js +3 -3
- package/dist/components/ontario-icon-filter.js +3 -3
- package/dist/components/ontario-icon-flickr.js +3 -3
- package/dist/components/ontario-icon-grid.js +3 -3
- package/dist/components/ontario-icon-help.js +3 -3
- package/dist/components/ontario-icon-instagram.js +3 -3
- package/dist/components/ontario-icon-interac-en-alt.js +19 -19
- package/dist/components/ontario-icon-interac-en.js +18 -18
- package/dist/components/ontario-icon-interac-fr-alt.js +19 -19
- package/dist/components/ontario-icon-interac-fr.js +12 -12
- package/dist/components/ontario-icon-linkedin-alt.js +3 -3
- package/dist/components/ontario-icon-linkedin.js +3 -3
- package/dist/components/ontario-icon-list.js +3 -3
- package/dist/components/ontario-icon-live-chat.js +3 -3
- package/dist/components/ontario-icon-location-off.js +3 -3
- package/dist/components/ontario-icon-location-on.js +3 -3
- package/dist/components/ontario-icon-lock-off.js +3 -3
- package/dist/components/ontario-icon-lock-on.js +3 -3
- package/dist/components/ontario-icon-map.js +3 -3
- package/dist/components/ontario-icon-mastercard-alt.js +6 -6
- package/dist/components/ontario-icon-mastercard.js +9 -9
- package/dist/components/ontario-icon-media-fast-forward.js +3 -3
- package/dist/components/ontario-icon-media-fast-rewind.js +3 -3
- package/dist/components/ontario-icon-media-pause.js +3 -3
- package/dist/components/ontario-icon-media-play.js +3 -3
- package/dist/components/ontario-icon-media-stop.js +3 -3
- package/dist/components/ontario-icon-menu-header.js +3 -3
- package/dist/components/ontario-icon-menu.js +3 -3
- package/dist/components/ontario-icon-microphone-off.js +3 -3
- package/dist/components/ontario-icon-microphone-on.js +3 -3
- package/dist/components/ontario-icon-more-vertical.js +3 -3
- package/dist/components/ontario-icon-new-window.js +3 -3
- package/dist/components/ontario-icon-next.js +3 -3
- package/dist/components/ontario-icon-notification.js +3 -3
- package/dist/components/ontario-icon-password-hide.js +3 -3
- package/dist/components/ontario-icon-password-show.js +3 -3
- package/dist/components/ontario-icon-phone.js +3 -3
- package/dist/components/ontario-icon-photo.js +3 -3
- package/dist/components/ontario-icon-pin-location-off.js +3 -3
- package/dist/components/ontario-icon-pin-location-on.js +3 -3
- package/dist/components/ontario-icon-previous.js +3 -3
- package/dist/components/ontario-icon-print.js +3 -3
- package/dist/components/ontario-icon-remove-alt.js +3 -3
- package/dist/components/ontario-icon-remove.js +3 -3
- package/dist/components/ontario-icon-replay.js +3 -3
- package/dist/components/ontario-icon-rss-feed.js +3 -3
- package/dist/components/ontario-icon-save.js +3 -3
- package/dist/components/ontario-icon-search-white.js +3 -3
- package/dist/components/ontario-icon-search.js +3 -3
- package/dist/components/ontario-icon-sentiment-1.js +3 -3
- package/dist/components/ontario-icon-sentiment-2.js +3 -3
- package/dist/components/ontario-icon-sentiment-3.js +3 -3
- package/dist/components/ontario-icon-sentiment-4.js +3 -3
- package/dist/components/ontario-icon-sentiment-5.js +3 -3
- package/dist/components/ontario-icon-settings.js +3 -3
- package/dist/components/ontario-icon-share.js +3 -3
- package/dist/components/ontario-icon-sort.js +3 -3
- package/dist/components/ontario-icon-tag.js +3 -3
- package/dist/components/ontario-icon-text-message.js +3 -3
- package/dist/components/ontario-icon-timer.js +3 -3
- package/dist/components/ontario-icon-transport-bicycle.js +3 -3
- package/dist/components/ontario-icon-transport-bus.js +3 -3
- package/dist/components/ontario-icon-transport-car.js +3 -3
- package/dist/components/ontario-icon-transport-walk.js +3 -3
- package/dist/components/ontario-icon-tty.js +3 -3
- package/dist/components/ontario-icon-twitter-alt.js +3 -3
- package/dist/components/ontario-icon-twitter.js +3 -3
- package/dist/components/ontario-icon-upload.js +3 -3
- package/dist/components/ontario-icon-video.js +3 -3
- package/dist/components/ontario-icon-visa.js +5 -5
- package/dist/components/ontario-icon-vote-dislike.js +3 -3
- package/dist/components/ontario-icon-vote-like.js +3 -3
- package/dist/components/ontario-icon-vpn-key.js +3 -3
- package/dist/components/ontario-icon-wheelchair.js +3 -3
- package/dist/components/ontario-icon-wifi.js +3 -3
- package/dist/components/ontario-icon-youtube.js +3 -3
- package/dist/components/ontario-input.js +5 -6
- package/dist/components/ontario-input.js.map +1 -1
- package/dist/components/ontario-language-toggle2.js +1 -1
- package/dist/components/ontario-page-alert.js +5 -5
- package/dist/components/ontario-radio-buttons.js +34 -8
- package/dist/components/ontario-radio-buttons.js.map +1 -1
- package/dist/components/ontario-step-indicator.js +5 -5
- package/dist/components/ontario-table.js +5 -5
- package/dist/components/ontario-textarea.js +32 -7
- package/dist/components/ontario-textarea.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ontario-accordion_42.entry.js +274 -249
- package/dist/esm/ontario-accordion_42.entry.js.map +1 -1
- package/dist/esm/ontario-design-system-components.js +1 -1
- package/dist/esm/ontario-icon-account.entry.js +3 -3
- package/dist/esm/ontario-icon-add-alt.entry.js +3 -3
- package/dist/esm/ontario-icon-add.entry.js +3 -3
- package/dist/esm/ontario-icon-arrow-up.entry.js +4 -4
- package/dist/esm/ontario-icon-attach.entry.js +3 -3
- package/dist/esm/ontario-icon-bookmark-off.entry.js +3 -3
- package/dist/esm/ontario-icon-bookmark-on.entry.js +3 -3
- package/dist/esm/ontario-icon-calendar.entry.js +3 -3
- package/dist/esm/ontario-icon-chevron-right.entry.js +3 -3
- package/dist/esm/ontario-icon-clock.entry.js +3 -3
- package/dist/esm/ontario-icon-close-header.entry.js +3 -3
- package/dist/esm/ontario-icon-close.entry.js +3 -3
- package/dist/esm/ontario-icon-cloud.entry.js +3 -3
- package/dist/esm/ontario-icon-collapse.entry.js +3 -3
- package/dist/esm/ontario-icon-credit-card.entry.js +3 -3
- package/dist/esm/ontario-icon-critical-alert-warning.entry.js +5 -5
- package/dist/esm/ontario-icon-delete.entry.js +3 -3
- package/dist/esm/ontario-icon-document.entry.js +3 -3
- package/dist/esm/ontario-icon-download.entry.js +3 -3
- package/dist/esm/ontario-icon-dropdown-arrow.entry.js +3 -3
- package/dist/esm/ontario-icon-edit.entry.js +3 -3
- package/dist/esm/ontario-icon-expand.entry.js +3 -3
- package/dist/esm/ontario-icon-export.entry.js +3 -3
- package/dist/esm/ontario-icon-facebook-alt.entry.js +3 -3
- package/dist/esm/ontario-icon-facebook.entry.js +3 -3
- package/dist/esm/ontario-icon-favourite-off.entry.js +3 -3
- package/dist/esm/ontario-icon-favourite-on.entry.js +3 -3
- package/dist/esm/ontario-icon-filter.entry.js +3 -3
- package/dist/esm/ontario-icon-flickr.entry.js +3 -3
- package/dist/esm/ontario-icon-grid.entry.js +3 -3
- package/dist/esm/ontario-icon-instagram.entry.js +3 -3
- package/dist/esm/ontario-icon-interac-en-alt.entry.js +19 -19
- package/dist/esm/ontario-icon-interac-en.entry.js +18 -18
- package/dist/esm/ontario-icon-interac-fr-alt.entry.js +19 -19
- package/dist/esm/ontario-icon-interac-fr.entry.js +12 -12
- package/dist/esm/ontario-icon-linkedin-alt.entry.js +3 -3
- package/dist/esm/ontario-icon-linkedin.entry.js +3 -3
- package/dist/esm/ontario-icon-list.entry.js +3 -3
- package/dist/esm/ontario-icon-live-chat.entry.js +3 -3
- package/dist/esm/ontario-icon-location-off.entry.js +3 -3
- package/dist/esm/ontario-icon-location-on.entry.js +3 -3
- package/dist/esm/ontario-icon-lock-off.entry.js +3 -3
- package/dist/esm/ontario-icon-lock-on.entry.js +3 -3
- package/dist/esm/ontario-icon-map.entry.js +3 -3
- package/dist/esm/ontario-icon-mastercard-alt.entry.js +6 -6
- package/dist/esm/ontario-icon-media-fast-forward.entry.js +3 -3
- package/dist/esm/ontario-icon-media-fast-rewind.entry.js +3 -3
- package/dist/esm/ontario-icon-media-pause.entry.js +3 -3
- package/dist/esm/ontario-icon-media-play.entry.js +3 -3
- package/dist/esm/ontario-icon-media-stop.entry.js +3 -3
- package/dist/esm/ontario-icon-menu-header.entry.js +3 -3
- package/dist/esm/ontario-icon-menu.entry.js +3 -3
- package/dist/esm/ontario-icon-microphone-off.entry.js +3 -3
- package/dist/esm/ontario-icon-microphone-on.entry.js +3 -3
- package/dist/esm/ontario-icon-more-vertical.entry.js +3 -3
- package/dist/esm/ontario-icon-new-window.entry.js +3 -3
- package/dist/esm/ontario-icon-next.entry.js +3 -3
- package/dist/esm/ontario-icon-password-hide.entry.js +3 -3
- package/dist/esm/ontario-icon-password-show.entry.js +3 -3
- package/dist/esm/ontario-icon-phone.entry.js +3 -3
- package/dist/esm/ontario-icon-photo.entry.js +3 -3
- package/dist/esm/ontario-icon-pin-location-off.entry.js +3 -3
- package/dist/esm/ontario-icon-pin-location-on.entry.js +3 -3
- package/dist/esm/ontario-icon-previous.entry.js +3 -3
- package/dist/esm/ontario-icon-remove-alt.entry.js +3 -3
- package/dist/esm/ontario-icon-remove.entry.js +3 -3
- package/dist/esm/ontario-icon-replay.entry.js +3 -3
- package/dist/esm/ontario-icon-rss-feed.entry.js +3 -3
- package/dist/esm/ontario-icon-save.entry.js +3 -3
- package/dist/esm/ontario-icon-search-white.entry.js +3 -3
- package/dist/esm/ontario-icon-search.entry.js +3 -3
- package/dist/esm/ontario-icon-sentiment-1.entry.js +3 -3
- package/dist/esm/ontario-icon-sentiment-2.entry.js +3 -3
- package/dist/esm/ontario-icon-sentiment-3.entry.js +3 -3
- package/dist/esm/ontario-icon-sentiment-4.entry.js +3 -3
- package/dist/esm/ontario-icon-settings.entry.js +3 -3
- package/dist/esm/ontario-icon-share.entry.js +3 -3
- package/dist/esm/ontario-icon-sort.entry.js +3 -3
- package/dist/esm/ontario-icon-tag.entry.js +3 -3
- package/dist/esm/ontario-icon-timer.entry.js +3 -3
- package/dist/esm/ontario-icon-transport-bicycle.entry.js +3 -3
- package/dist/esm/ontario-icon-transport-car.entry.js +3 -3
- package/dist/esm/ontario-icon-transport-walk.entry.js +3 -3
- package/dist/esm/ontario-icon-tty.entry.js +3 -3
- package/dist/esm/ontario-icon-twitter-alt.entry.js +3 -3
- package/dist/esm/ontario-icon-twitter.entry.js +3 -3
- package/dist/esm/ontario-icon-upload.entry.js +3 -3
- package/dist/esm/ontario-icon-video.entry.js +3 -3
- package/dist/esm/ontario-icon-visa.entry.js +5 -5
- package/dist/esm/ontario-icon-vote-dislike.entry.js +3 -3
- package/dist/esm/ontario-icon-vote-like.entry.js +3 -3
- package/dist/esm/ontario-icon-vpn-key.entry.js +3 -3
- package/dist/esm/ontario-icon-wheelchair.entry.js +3 -3
- package/dist/esm/ontario-icon-wifi.entry.js +3 -3
- package/dist/esm/ontario-icon-youtube.entry.js +3 -3
- package/dist/ontario-design-system-components/ontario-design-system-components.css +3 -0
- package/dist/ontario-design-system-components/ontario-design-system-components.esm.js +3 -3
- package/dist/ontario-design-system-components/ontario-design-system-components.esm.js.map +1 -1
- package/dist/ontario-design-system-components/{p-c290df94.entry.js → p-00364195.entry.js} +372 -343
- package/dist/ontario-design-system-components/p-00364195.entry.js.map +1 -0
- package/{www/build/p-9eb84b8a.entry.js → dist/ontario-design-system-components/p-01f427db.entry.js} +4 -4
- package/{www/build/p-076fbd17.entry.js → dist/ontario-design-system-components/p-04fb2b1f.entry.js} +4 -4
- package/{www/build/p-5af55b3a.entry.js → dist/ontario-design-system-components/p-0aea8df7.entry.js} +9 -9
- package/dist/ontario-design-system-components/{p-c75f5396.entry.js → p-0f8e5a0c.entry.js} +24 -24
- package/dist/ontario-design-system-components/{p-ac72bccb.entry.js → p-0fa6ba1b.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-6e62de52.entry.js → p-10899c2d.entry.js} +21 -21
- package/{www/build/p-0f9e2d2c.entry.js → dist/ontario-design-system-components/p-12d41776.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-72c7c4aa.entry.js → p-1526e1f3.entry.js} +4 -4
- package/{www/build/p-32ecc2eb.entry.js → dist/ontario-design-system-components/p-1567ea71.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-8bae2e2d.entry.js → p-16dc2584.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-e18cb3eb.entry.js → p-17409379.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-5fa28101.entry.js → p-1cd78ef5.entry.js} +7 -7
- package/{www/build/p-5ef6f597.entry.js → dist/ontario-design-system-components/p-21b80693.entry.js} +9 -9
- package/{www/build/p-635feedf.entry.js → dist/ontario-design-system-components/p-2a6e912e.entry.js} +11 -11
- package/dist/ontario-design-system-components/{p-f88fe1bd.entry.js → p-3218a141.entry.js} +4 -4
- package/{www/build/p-6efbc44d.entry.js → dist/ontario-design-system-components/p-32666b1a.entry.js} +9 -9
- package/{www/build/p-a596839c.entry.js → dist/ontario-design-system-components/p-34371cd7.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-e21b53a2.entry.js → p-35681159.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-ffe78c79.entry.js → p-3868d245.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-78d9f49e.entry.js → p-39ab52ad.entry.js} +4 -4
- package/{www/build/p-71a2dd36.entry.js → dist/ontario-design-system-components/p-3b1c06b1.entry.js} +4 -4
- package/{www/build/p-8c3a8ddc.entry.js → dist/ontario-design-system-components/p-3cca2f28.entry.js} +47 -47
- package/dist/ontario-design-system-components/{p-db4a37a3.entry.js → p-3fb5a2f5.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-2e894229.entry.js → p-404f3050.entry.js} +4 -4
- package/{www/build/p-e402f3b8.entry.js → dist/ontario-design-system-components/p-446337ea.entry.js} +9 -9
- package/dist/ontario-design-system-components/{p-fd039069.entry.js → p-44fe73c2.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-5dae140f.entry.js → p-47b56153.entry.js} +4 -4
- package/{www/build/p-cef09b28.entry.js → dist/ontario-design-system-components/p-4f1683c0.entry.js} +4 -4
- package/{www/build/p-8ee66922.entry.js → dist/ontario-design-system-components/p-5128c0bb.entry.js} +7 -7
- package/dist/ontario-design-system-components/{p-191d8da8.entry.js → p-5184701e.entry.js} +6 -6
- package/dist/ontario-design-system-components/{p-34f2d1b1.entry.js → p-533a039a.entry.js} +9 -9
- package/dist/ontario-design-system-components/{p-c1723522.entry.js → p-564a51a5.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-a558baf0.entry.js → p-5a775ff3.entry.js} +4 -4
- package/{www/build/p-64642937.entry.js → dist/ontario-design-system-components/p-61548ae2.entry.js} +7 -7
- package/{www/build/p-107b5f8f.entry.js → dist/ontario-design-system-components/p-6477890e.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-091b695a.entry.js → p-6a62b87d.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-fcb2cadf.entry.js → p-6c85610c.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-3522193d.entry.js → p-6df12aab.entry.js} +24 -24
- package/dist/ontario-design-system-components/{p-c14d49ab.entry.js → p-6fb80d3b.entry.js} +4 -4
- package/{www/build/p-b2270cd5.entry.js → dist/ontario-design-system-components/p-7738a68d.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-31f3c62d.entry.js → p-7a822cb8.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-c90c72e0.entry.js → p-7afdef3f.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-75d5df20.entry.js → p-7c593bd8.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-15417698.entry.js → p-7f8d2db6.entry.js} +7 -7
- package/{www/build/p-2d987bdb.entry.js → dist/ontario-design-system-components/p-80d23c2c.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-8dacd96c.entry.js → p-8653b9a6.entry.js} +9 -9
- package/{www/build/p-a4e527cb.entry.js → dist/ontario-design-system-components/p-86849b43.entry.js} +4 -4
- package/{www/build/p-f91476fd.entry.js → dist/ontario-design-system-components/p-87fb19b5.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-81c8e9f0.entry.js → p-8973affb.entry.js} +9 -9
- package/dist/ontario-design-system-components/{p-bdd5c0cd.entry.js → p-8b743603.entry.js} +4 -4
- package/{www/build/p-360d6b10.entry.js → dist/ontario-design-system-components/p-8ed8323f.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-83144457.entry.js → p-95671e82.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-4e7bb7e6.entry.js → p-965f968c.entry.js} +9 -9
- package/dist/ontario-design-system-components/{p-c08b85f3.entry.js → p-981933f3.entry.js} +4 -4
- package/{www/build/p-86997e62.entry.js → dist/ontario-design-system-components/p-9c9d49a3.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-508bd33a.entry.js → p-9cab9d12.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-98642cf0.entry.js → p-9ffdf9ad.entry.js} +7 -7
- package/{www/build/p-00c121e9.entry.js → dist/ontario-design-system-components/p-a168d607.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-557d211e.entry.js → p-a2461cfc.entry.js} +4 -4
- package/{www/build/p-eebc769a.entry.js → dist/ontario-design-system-components/p-a33f978b.entry.js} +4 -4
- package/{www/build/p-3c5c66df.entry.js → dist/ontario-design-system-components/p-a80d7066.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-283c67bd.entry.js → p-adbbd012.entry.js} +12 -12
- package/dist/ontario-design-system-components/{p-d6942c50.entry.js → p-af8d070d.entry.js} +12 -12
- package/dist/ontario-design-system-components/{p-2d7fc382.entry.js → p-b1596322.entry.js} +7 -7
- package/{www/build/p-fc7a8df4.entry.js → dist/ontario-design-system-components/p-b428f67a.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-92e1ad8b.entry.js → p-b52ef7dc.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-9a52f817.entry.js → p-b83a30cf.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-01d17804.entry.js → p-ba5dc106.entry.js} +4 -4
- package/{www/build/p-c16792b1.entry.js → dist/ontario-design-system-components/p-bad1e757.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-151fc1fa.entry.js → p-baf6249e.entry.js} +10 -10
- package/dist/ontario-design-system-components/{p-c8f2ccf5.entry.js → p-bb072cb8.entry.js} +9 -9
- package/{www/build/p-ac5451d3.entry.js → dist/ontario-design-system-components/p-be4fbe09.entry.js} +6 -6
- package/dist/ontario-design-system-components/{p-20493ac1.entry.js → p-c69e5796.entry.js} +9 -9
- package/dist/ontario-design-system-components/{p-128d7d9c.entry.js → p-c6d771f1.entry.js} +4 -4
- package/{www/build/p-c84fd6f3.entry.js → dist/ontario-design-system-components/p-c779e248.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-6ae89bbc.entry.js → p-cb21b1a3.entry.js} +9 -9
- package/dist/ontario-design-system-components/{p-88722311.entry.js → p-ce1fa4bd.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-02c38199.entry.js → p-d733ba28.entry.js} +4 -4
- package/{www/build/p-35fe7d9d.entry.js → dist/ontario-design-system-components/p-d8e9546c.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-f0a53d8d.entry.js → p-daca3528.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-302c4671.entry.js → p-e51793eb.entry.js} +4 -4
- package/{www/build/p-608d5068.entry.js → dist/ontario-design-system-components/p-e6c90ae8.entry.js} +4 -4
- package/{www/build/p-cad51f9e.entry.js → dist/ontario-design-system-components/p-e87fde13.entry.js} +4 -4
- package/{www/build/p-9e9f6184.entry.js → dist/ontario-design-system-components/p-e952d94f.entry.js} +4 -4
- package/{www/build/p-3d27e2f8.entry.js → dist/ontario-design-system-components/p-e96e36ff.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-131d1f76.entry.js → p-eb4faafb.entry.js} +7 -7
- package/{www/build/p-812fc78e.entry.js → dist/ontario-design-system-components/p-ecbcd457.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-4bf52401.entry.js → p-ed2d68e1.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-ddb66bbb.entry.js → p-f0ca3e20.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-1700035e.entry.js → p-f125e857.entry.js} +13 -13
- package/{www/build/p-cc653027.entry.js → dist/ontario-design-system-components/p-f45d1e6b.entry.js} +4 -4
- package/{www/build/p-a365505f.entry.js → dist/ontario-design-system-components/p-f8c4ff40.entry.js} +4 -4
- package/dist/ontario-design-system-components/{p-abafe472.entry.js → p-f8cbec7c.entry.js} +4 -4
- package/{www/build/p-87897e51.entry.js → dist/ontario-design-system-components/p-fb1a144e.entry.js} +10 -10
- package/{www/build/p-33554950.entry.js → dist/ontario-design-system-components/p-fe487325.entry.js} +4 -4
- package/dist/types/components/ontario-aside/ontario-aside.d.ts +2 -8
- package/dist/types/components/ontario-callout/ontario-callout.d.ts +2 -8
- package/dist/types/components/ontario-checkbox/ontario-checkboxes.d.ts +11 -0
- package/dist/types/components/ontario-dropdown-list/ontario-dropdown-list.d.ts +11 -0
- package/dist/types/components/ontario-radio-buttons/ontario-radio-buttons.d.ts +11 -0
- package/dist/types/components/ontario-textarea/ontario-textarea.d.ts +12 -0
- package/dist/types/components.d.ts +56 -4
- package/dist/types/utils/components/callout-aside/callout-aside-helpers.d.ts +2 -2
- package/dist/types/utils/components/callout-aside/callout-aside.interface.d.ts +2 -2
- package/package.json +3 -3
- package/src/components/ontario-aside/ontario-aside.tsx +15 -33
- package/src/components/ontario-aside/readme.md +3 -3
- package/src/components/ontario-aside/test/ontario-aside.spec.tsx +39 -0
- package/src/components/ontario-callout/ontario-callout.tsx +14 -32
- package/src/components/ontario-callout/readme.md +2 -2
- package/src/components/ontario-callout/test/ontario-callout.spec.tsx +20 -0
- package/src/components/ontario-card/ontario-card.scss +5 -0
- package/src/components/ontario-card-collection/ontario-card-collection.scss +3 -0
- package/src/components/ontario-checkbox/ontario-checkboxes.scss +13 -5
- package/src/components/ontario-checkbox/ontario-checkboxes.tsx +20 -2
- package/src/components/ontario-checkbox/readme.md +9 -5
- package/src/components/ontario-checkbox/test/ontario-checkboxes.spec.tsx +4 -0
- package/src/components/ontario-dropdown-list/ontario-dropdown-list.scss +9 -0
- package/src/components/ontario-dropdown-list/ontario-dropdown-list.tsx +20 -1
- package/src/components/ontario-dropdown-list/readme.md +9 -5
- package/src/components/ontario-dropdown-list/test/ontario-dropdown-list.spec.tsx +4 -0
- package/src/components/ontario-footer/components/expanded-footer-wrapper.tsx +1 -1
- package/src/components/ontario-header/ontario-header.scss +5 -1
- package/src/components/ontario-radio-buttons/ontario-radio-buttons.scss +3 -0
- package/src/components/ontario-radio-buttons/ontario-radio-buttons.tsx +21 -2
- package/src/components/ontario-radio-buttons/readme.md +9 -5
- package/src/components/ontario-radio-buttons/test/ontario-radio-button.spec.tsx +6 -1
- package/src/components/ontario-textarea/ontario-textarea.scss +9 -0
- package/src/components/ontario-textarea/ontario-textarea.tsx +20 -1
- package/src/components/ontario-textarea/readme.md +10 -6
- package/src/components/ontario-textarea/test/__snapshots__/ontario-textarea.spec.tsx.snap +5 -1
- package/src/components/ontario-textarea/test/ontario-textarea.spec.tsx +4 -1
- package/src/components.d.ts +56 -4
- package/src/index.html +15 -0
- package/src/utils/components/callout-aside/callout-aside-helpers.tsx +6 -6
- package/src/utils/components/callout-aside/callout-aside.interface.ts +2 -2
- package/www/build/ontario-design-system-components.css +3 -0
- package/www/build/ontario-design-system-components.esm.js +3 -3
- package/www/build/ontario-design-system-components.esm.js.map +1 -1
- package/www/build/{p-c290df94.entry.js → p-00364195.entry.js} +372 -343
- package/www/build/p-00364195.entry.js.map +1 -0
- package/www/build/{p-12d6190c.css → p-016eeaf2.css} +3 -0
- package/{dist/ontario-design-system-components/p-9eb84b8a.entry.js → www/build/p-01f427db.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-076fbd17.entry.js → www/build/p-04fb2b1f.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-5af55b3a.entry.js → www/build/p-0aea8df7.entry.js} +9 -9
- package/www/build/{p-c75f5396.entry.js → p-0f8e5a0c.entry.js} +24 -24
- package/www/build/{p-ac72bccb.entry.js → p-0fa6ba1b.entry.js} +4 -4
- package/www/build/{p-6e62de52.entry.js → p-10899c2d.entry.js} +21 -21
- package/{dist/ontario-design-system-components/p-0f9e2d2c.entry.js → www/build/p-12d41776.entry.js} +4 -4
- package/www/build/{p-72c7c4aa.entry.js → p-1526e1f3.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-32ecc2eb.entry.js → www/build/p-1567ea71.entry.js} +4 -4
- package/www/build/{p-8bae2e2d.entry.js → p-16dc2584.entry.js} +4 -4
- package/www/build/{p-e18cb3eb.entry.js → p-17409379.entry.js} +4 -4
- package/www/build/{p-5fa28101.entry.js → p-1cd78ef5.entry.js} +7 -7
- package/{dist/ontario-design-system-components/p-5ef6f597.entry.js → www/build/p-21b80693.entry.js} +9 -9
- package/{dist/ontario-design-system-components/p-635feedf.entry.js → www/build/p-2a6e912e.entry.js} +11 -11
- package/www/build/{p-f88fe1bd.entry.js → p-3218a141.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-6efbc44d.entry.js → www/build/p-32666b1a.entry.js} +9 -9
- package/{dist/ontario-design-system-components/p-a596839c.entry.js → www/build/p-34371cd7.entry.js} +4 -4
- package/www/build/{p-e21b53a2.entry.js → p-35681159.entry.js} +4 -4
- package/www/build/{p-ffe78c79.entry.js → p-3868d245.entry.js} +4 -4
- package/www/build/{p-78d9f49e.entry.js → p-39ab52ad.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-71a2dd36.entry.js → www/build/p-3b1c06b1.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-8c3a8ddc.entry.js → www/build/p-3cca2f28.entry.js} +47 -47
- package/www/build/{p-db4a37a3.entry.js → p-3fb5a2f5.entry.js} +4 -4
- package/www/build/{p-2e894229.entry.js → p-404f3050.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-e402f3b8.entry.js → www/build/p-446337ea.entry.js} +9 -9
- package/www/build/{p-fd039069.entry.js → p-44fe73c2.entry.js} +4 -4
- package/www/build/{p-5dae140f.entry.js → p-47b56153.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-cef09b28.entry.js → www/build/p-4f1683c0.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-8ee66922.entry.js → www/build/p-5128c0bb.entry.js} +7 -7
- package/www/build/{p-191d8da8.entry.js → p-5184701e.entry.js} +6 -6
- package/www/build/{p-34f2d1b1.entry.js → p-533a039a.entry.js} +9 -9
- package/www/build/{p-c1723522.entry.js → p-564a51a5.entry.js} +4 -4
- package/www/build/{p-a558baf0.entry.js → p-5a775ff3.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-64642937.entry.js → www/build/p-61548ae2.entry.js} +7 -7
- package/{dist/ontario-design-system-components/p-107b5f8f.entry.js → www/build/p-6477890e.entry.js} +4 -4
- package/www/build/{p-091b695a.entry.js → p-6a62b87d.entry.js} +4 -4
- package/www/build/{p-fcb2cadf.entry.js → p-6c85610c.entry.js} +4 -4
- package/www/build/{p-3522193d.entry.js → p-6df12aab.entry.js} +24 -24
- package/www/build/{p-c14d49ab.entry.js → p-6fb80d3b.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-b2270cd5.entry.js → www/build/p-7738a68d.entry.js} +4 -4
- package/www/build/{p-31f3c62d.entry.js → p-7a822cb8.entry.js} +4 -4
- package/www/build/{p-c90c72e0.entry.js → p-7afdef3f.entry.js} +4 -4
- package/www/build/{p-75d5df20.entry.js → p-7c593bd8.entry.js} +4 -4
- package/www/build/{p-15417698.entry.js → p-7f8d2db6.entry.js} +7 -7
- package/{dist/ontario-design-system-components/p-2d987bdb.entry.js → www/build/p-80d23c2c.entry.js} +4 -4
- package/www/build/{p-8dacd96c.entry.js → p-8653b9a6.entry.js} +9 -9
- package/{dist/ontario-design-system-components/p-a4e527cb.entry.js → www/build/p-86849b43.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-f91476fd.entry.js → www/build/p-87fb19b5.entry.js} +4 -4
- package/www/build/{p-81c8e9f0.entry.js → p-8973affb.entry.js} +9 -9
- package/www/build/{p-bdd5c0cd.entry.js → p-8b743603.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-360d6b10.entry.js → www/build/p-8ed8323f.entry.js} +4 -4
- package/www/build/{p-83144457.entry.js → p-95671e82.entry.js} +4 -4
- package/www/build/{p-4e7bb7e6.entry.js → p-965f968c.entry.js} +9 -9
- package/www/build/{p-c08b85f3.entry.js → p-981933f3.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-86997e62.entry.js → www/build/p-9c9d49a3.entry.js} +4 -4
- package/www/build/{p-508bd33a.entry.js → p-9cab9d12.entry.js} +4 -4
- package/www/build/{p-98642cf0.entry.js → p-9ffdf9ad.entry.js} +7 -7
- package/{dist/ontario-design-system-components/p-00c121e9.entry.js → www/build/p-a168d607.entry.js} +4 -4
- package/www/build/{p-557d211e.entry.js → p-a2461cfc.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-eebc769a.entry.js → www/build/p-a33f978b.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-3c5c66df.entry.js → www/build/p-a80d7066.entry.js} +4 -4
- package/www/build/p-a8bba86c.js +21 -0
- package/www/build/{p-283c67bd.entry.js → p-adbbd012.entry.js} +12 -12
- package/www/build/{p-d6942c50.entry.js → p-af8d070d.entry.js} +12 -12
- package/www/build/{p-2d7fc382.entry.js → p-b1596322.entry.js} +7 -7
- package/{dist/ontario-design-system-components/p-fc7a8df4.entry.js → www/build/p-b428f67a.entry.js} +4 -4
- package/www/build/{p-92e1ad8b.entry.js → p-b52ef7dc.entry.js} +4 -4
- package/www/build/{p-9a52f817.entry.js → p-b83a30cf.entry.js} +4 -4
- package/www/build/{p-01d17804.entry.js → p-ba5dc106.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-c16792b1.entry.js → www/build/p-bad1e757.entry.js} +4 -4
- package/www/build/{p-151fc1fa.entry.js → p-baf6249e.entry.js} +10 -10
- package/www/build/{p-c8f2ccf5.entry.js → p-bb072cb8.entry.js} +9 -9
- package/{dist/ontario-design-system-components/p-ac5451d3.entry.js → www/build/p-be4fbe09.entry.js} +6 -6
- package/www/build/{p-20493ac1.entry.js → p-c69e5796.entry.js} +9 -9
- package/www/build/{p-128d7d9c.entry.js → p-c6d771f1.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-c84fd6f3.entry.js → www/build/p-c779e248.entry.js} +4 -4
- package/www/build/{p-6ae89bbc.entry.js → p-cb21b1a3.entry.js} +9 -9
- package/www/build/{p-88722311.entry.js → p-ce1fa4bd.entry.js} +4 -4
- package/www/build/{p-02c38199.entry.js → p-d733ba28.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-35fe7d9d.entry.js → www/build/p-d8e9546c.entry.js} +4 -4
- package/www/build/{p-f0a53d8d.entry.js → p-daca3528.entry.js} +4 -4
- package/www/build/{p-302c4671.entry.js → p-e51793eb.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-608d5068.entry.js → www/build/p-e6c90ae8.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-cad51f9e.entry.js → www/build/p-e87fde13.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-9e9f6184.entry.js → www/build/p-e952d94f.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-3d27e2f8.entry.js → www/build/p-e96e36ff.entry.js} +4 -4
- package/www/build/{p-131d1f76.entry.js → p-eb4faafb.entry.js} +7 -7
- package/{dist/ontario-design-system-components/p-812fc78e.entry.js → www/build/p-ecbcd457.entry.js} +4 -4
- package/www/build/{p-4bf52401.entry.js → p-ed2d68e1.entry.js} +4 -4
- package/www/build/{p-ddb66bbb.entry.js → p-f0ca3e20.entry.js} +4 -4
- package/www/build/{p-1700035e.entry.js → p-f125e857.entry.js} +13 -13
- package/{dist/ontario-design-system-components/p-cc653027.entry.js → www/build/p-f45d1e6b.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-a365505f.entry.js → www/build/p-f8c4ff40.entry.js} +4 -4
- package/www/build/{p-abafe472.entry.js → p-f8cbec7c.entry.js} +4 -4
- package/{dist/ontario-design-system-components/p-87897e51.entry.js → www/build/p-fb1a144e.entry.js} +10 -10
- package/{dist/ontario-design-system-components/p-33554950.entry.js → www/build/p-fe487325.entry.js} +4 -4
- package/www/index.html +17 -3
- package/dist/components/event-handler.js +0 -328
- package/dist/components/event-handler.js.map +0 -1
- package/dist/ontario-design-system-components/p-c290df94.entry.js.map +0 -1
- package/www/build/p-1d439e32.js +0 -21
- package/www/build/p-c290df94.entry.js.map +0 -1
- /package/dist/ontario-design-system-components/{p-9eb84b8a.entry.js.map → p-01f427db.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-076fbd17.entry.js.map → p-04fb2b1f.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-5af55b3a.entry.js.map → p-0aea8df7.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-c75f5396.entry.js.map → p-0f8e5a0c.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-ac72bccb.entry.js.map → p-0fa6ba1b.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-6e62de52.entry.js.map → p-10899c2d.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-0f9e2d2c.entry.js.map → p-12d41776.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-72c7c4aa.entry.js.map → p-1526e1f3.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-32ecc2eb.entry.js.map → p-1567ea71.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-8bae2e2d.entry.js.map → p-16dc2584.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-e18cb3eb.entry.js.map → p-17409379.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-5fa28101.entry.js.map → p-1cd78ef5.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-5ef6f597.entry.js.map → p-21b80693.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-635feedf.entry.js.map → p-2a6e912e.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-f88fe1bd.entry.js.map → p-3218a141.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-6efbc44d.entry.js.map → p-32666b1a.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-a596839c.entry.js.map → p-34371cd7.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-e21b53a2.entry.js.map → p-35681159.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-ffe78c79.entry.js.map → p-3868d245.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-78d9f49e.entry.js.map → p-39ab52ad.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-71a2dd36.entry.js.map → p-3b1c06b1.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-8c3a8ddc.entry.js.map → p-3cca2f28.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-db4a37a3.entry.js.map → p-3fb5a2f5.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-2e894229.entry.js.map → p-404f3050.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-e402f3b8.entry.js.map → p-446337ea.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-fd039069.entry.js.map → p-44fe73c2.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-5dae140f.entry.js.map → p-47b56153.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-cef09b28.entry.js.map → p-4f1683c0.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-8ee66922.entry.js.map → p-5128c0bb.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-191d8da8.entry.js.map → p-5184701e.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-34f2d1b1.entry.js.map → p-533a039a.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-c1723522.entry.js.map → p-564a51a5.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-a558baf0.entry.js.map → p-5a775ff3.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-64642937.entry.js.map → p-61548ae2.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-107b5f8f.entry.js.map → p-6477890e.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-091b695a.entry.js.map → p-6a62b87d.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-fcb2cadf.entry.js.map → p-6c85610c.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-3522193d.entry.js.map → p-6df12aab.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-c14d49ab.entry.js.map → p-6fb80d3b.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-b2270cd5.entry.js.map → p-7738a68d.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-31f3c62d.entry.js.map → p-7a822cb8.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-c90c72e0.entry.js.map → p-7afdef3f.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-75d5df20.entry.js.map → p-7c593bd8.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-15417698.entry.js.map → p-7f8d2db6.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-2d987bdb.entry.js.map → p-80d23c2c.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-8dacd96c.entry.js.map → p-8653b9a6.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-a4e527cb.entry.js.map → p-86849b43.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-f91476fd.entry.js.map → p-87fb19b5.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-81c8e9f0.entry.js.map → p-8973affb.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-bdd5c0cd.entry.js.map → p-8b743603.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-360d6b10.entry.js.map → p-8ed8323f.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-83144457.entry.js.map → p-95671e82.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-4e7bb7e6.entry.js.map → p-965f968c.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-c08b85f3.entry.js.map → p-981933f3.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-86997e62.entry.js.map → p-9c9d49a3.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-508bd33a.entry.js.map → p-9cab9d12.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-98642cf0.entry.js.map → p-9ffdf9ad.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-00c121e9.entry.js.map → p-a168d607.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-557d211e.entry.js.map → p-a2461cfc.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-eebc769a.entry.js.map → p-a33f978b.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-3c5c66df.entry.js.map → p-a80d7066.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-283c67bd.entry.js.map → p-adbbd012.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-d6942c50.entry.js.map → p-af8d070d.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-2d7fc382.entry.js.map → p-b1596322.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-fc7a8df4.entry.js.map → p-b428f67a.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-92e1ad8b.entry.js.map → p-b52ef7dc.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-9a52f817.entry.js.map → p-b83a30cf.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-01d17804.entry.js.map → p-ba5dc106.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-c16792b1.entry.js.map → p-bad1e757.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-151fc1fa.entry.js.map → p-baf6249e.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-c8f2ccf5.entry.js.map → p-bb072cb8.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-ac5451d3.entry.js.map → p-be4fbe09.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-20493ac1.entry.js.map → p-c69e5796.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-128d7d9c.entry.js.map → p-c6d771f1.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-c84fd6f3.entry.js.map → p-c779e248.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-6ae89bbc.entry.js.map → p-cb21b1a3.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-88722311.entry.js.map → p-ce1fa4bd.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-02c38199.entry.js.map → p-d733ba28.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-35fe7d9d.entry.js.map → p-d8e9546c.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-f0a53d8d.entry.js.map → p-daca3528.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-302c4671.entry.js.map → p-e51793eb.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-608d5068.entry.js.map → p-e6c90ae8.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-cad51f9e.entry.js.map → p-e87fde13.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-9e9f6184.entry.js.map → p-e952d94f.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-3d27e2f8.entry.js.map → p-e96e36ff.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-131d1f76.entry.js.map → p-eb4faafb.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-812fc78e.entry.js.map → p-ecbcd457.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-4bf52401.entry.js.map → p-ed2d68e1.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-ddb66bbb.entry.js.map → p-f0ca3e20.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-1700035e.entry.js.map → p-f125e857.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-cc653027.entry.js.map → p-f45d1e6b.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-a365505f.entry.js.map → p-f8c4ff40.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-abafe472.entry.js.map → p-f8cbec7c.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-87897e51.entry.js.map → p-fb1a144e.entry.js.map} +0 -0
- /package/dist/ontario-design-system-components/{p-33554950.entry.js.map → p-fe487325.entry.js.map} +0 -0
- /package/www/build/{p-9eb84b8a.entry.js.map → p-01f427db.entry.js.map} +0 -0
- /package/www/build/{p-076fbd17.entry.js.map → p-04fb2b1f.entry.js.map} +0 -0
- /package/www/build/{p-5af55b3a.entry.js.map → p-0aea8df7.entry.js.map} +0 -0
- /package/www/build/{p-c75f5396.entry.js.map → p-0f8e5a0c.entry.js.map} +0 -0
- /package/www/build/{p-ac72bccb.entry.js.map → p-0fa6ba1b.entry.js.map} +0 -0
- /package/www/build/{p-6e62de52.entry.js.map → p-10899c2d.entry.js.map} +0 -0
- /package/www/build/{p-0f9e2d2c.entry.js.map → p-12d41776.entry.js.map} +0 -0
- /package/www/build/{p-72c7c4aa.entry.js.map → p-1526e1f3.entry.js.map} +0 -0
- /package/www/build/{p-32ecc2eb.entry.js.map → p-1567ea71.entry.js.map} +0 -0
- /package/www/build/{p-8bae2e2d.entry.js.map → p-16dc2584.entry.js.map} +0 -0
- /package/www/build/{p-e18cb3eb.entry.js.map → p-17409379.entry.js.map} +0 -0
- /package/www/build/{p-5fa28101.entry.js.map → p-1cd78ef5.entry.js.map} +0 -0
- /package/www/build/{p-5ef6f597.entry.js.map → p-21b80693.entry.js.map} +0 -0
- /package/www/build/{p-635feedf.entry.js.map → p-2a6e912e.entry.js.map} +0 -0
- /package/www/build/{p-f88fe1bd.entry.js.map → p-3218a141.entry.js.map} +0 -0
- /package/www/build/{p-6efbc44d.entry.js.map → p-32666b1a.entry.js.map} +0 -0
- /package/www/build/{p-a596839c.entry.js.map → p-34371cd7.entry.js.map} +0 -0
- /package/www/build/{p-e21b53a2.entry.js.map → p-35681159.entry.js.map} +0 -0
- /package/www/build/{p-ffe78c79.entry.js.map → p-3868d245.entry.js.map} +0 -0
- /package/www/build/{p-78d9f49e.entry.js.map → p-39ab52ad.entry.js.map} +0 -0
- /package/www/build/{p-71a2dd36.entry.js.map → p-3b1c06b1.entry.js.map} +0 -0
- /package/www/build/{p-8c3a8ddc.entry.js.map → p-3cca2f28.entry.js.map} +0 -0
- /package/www/build/{p-db4a37a3.entry.js.map → p-3fb5a2f5.entry.js.map} +0 -0
- /package/www/build/{p-2e894229.entry.js.map → p-404f3050.entry.js.map} +0 -0
- /package/www/build/{p-e402f3b8.entry.js.map → p-446337ea.entry.js.map} +0 -0
- /package/www/build/{p-fd039069.entry.js.map → p-44fe73c2.entry.js.map} +0 -0
- /package/www/build/{p-5dae140f.entry.js.map → p-47b56153.entry.js.map} +0 -0
- /package/www/build/{p-cef09b28.entry.js.map → p-4f1683c0.entry.js.map} +0 -0
- /package/www/build/{p-8ee66922.entry.js.map → p-5128c0bb.entry.js.map} +0 -0
- /package/www/build/{p-191d8da8.entry.js.map → p-5184701e.entry.js.map} +0 -0
- /package/www/build/{p-34f2d1b1.entry.js.map → p-533a039a.entry.js.map} +0 -0
- /package/www/build/{p-c1723522.entry.js.map → p-564a51a5.entry.js.map} +0 -0
- /package/www/build/{p-a558baf0.entry.js.map → p-5a775ff3.entry.js.map} +0 -0
- /package/www/build/{p-64642937.entry.js.map → p-61548ae2.entry.js.map} +0 -0
- /package/www/build/{p-107b5f8f.entry.js.map → p-6477890e.entry.js.map} +0 -0
- /package/www/build/{p-091b695a.entry.js.map → p-6a62b87d.entry.js.map} +0 -0
- /package/www/build/{p-fcb2cadf.entry.js.map → p-6c85610c.entry.js.map} +0 -0
- /package/www/build/{p-3522193d.entry.js.map → p-6df12aab.entry.js.map} +0 -0
- /package/www/build/{p-c14d49ab.entry.js.map → p-6fb80d3b.entry.js.map} +0 -0
- /package/www/build/{p-b2270cd5.entry.js.map → p-7738a68d.entry.js.map} +0 -0
- /package/www/build/{p-31f3c62d.entry.js.map → p-7a822cb8.entry.js.map} +0 -0
- /package/www/build/{p-c90c72e0.entry.js.map → p-7afdef3f.entry.js.map} +0 -0
- /package/www/build/{p-75d5df20.entry.js.map → p-7c593bd8.entry.js.map} +0 -0
- /package/www/build/{p-15417698.entry.js.map → p-7f8d2db6.entry.js.map} +0 -0
- /package/www/build/{p-2d987bdb.entry.js.map → p-80d23c2c.entry.js.map} +0 -0
- /package/www/build/{p-8dacd96c.entry.js.map → p-8653b9a6.entry.js.map} +0 -0
- /package/www/build/{p-a4e527cb.entry.js.map → p-86849b43.entry.js.map} +0 -0
- /package/www/build/{p-f91476fd.entry.js.map → p-87fb19b5.entry.js.map} +0 -0
- /package/www/build/{p-81c8e9f0.entry.js.map → p-8973affb.entry.js.map} +0 -0
- /package/www/build/{p-bdd5c0cd.entry.js.map → p-8b743603.entry.js.map} +0 -0
- /package/www/build/{p-360d6b10.entry.js.map → p-8ed8323f.entry.js.map} +0 -0
- /package/www/build/{p-83144457.entry.js.map → p-95671e82.entry.js.map} +0 -0
- /package/www/build/{p-4e7bb7e6.entry.js.map → p-965f968c.entry.js.map} +0 -0
- /package/www/build/{p-c08b85f3.entry.js.map → p-981933f3.entry.js.map} +0 -0
- /package/www/build/{p-86997e62.entry.js.map → p-9c9d49a3.entry.js.map} +0 -0
- /package/www/build/{p-508bd33a.entry.js.map → p-9cab9d12.entry.js.map} +0 -0
- /package/www/build/{p-98642cf0.entry.js.map → p-9ffdf9ad.entry.js.map} +0 -0
- /package/www/build/{p-00c121e9.entry.js.map → p-a168d607.entry.js.map} +0 -0
- /package/www/build/{p-557d211e.entry.js.map → p-a2461cfc.entry.js.map} +0 -0
- /package/www/build/{p-eebc769a.entry.js.map → p-a33f978b.entry.js.map} +0 -0
- /package/www/build/{p-3c5c66df.entry.js.map → p-a80d7066.entry.js.map} +0 -0
- /package/www/build/{p-283c67bd.entry.js.map → p-adbbd012.entry.js.map} +0 -0
- /package/www/build/{p-d6942c50.entry.js.map → p-af8d070d.entry.js.map} +0 -0
- /package/www/build/{p-2d7fc382.entry.js.map → p-b1596322.entry.js.map} +0 -0
- /package/www/build/{p-fc7a8df4.entry.js.map → p-b428f67a.entry.js.map} +0 -0
- /package/www/build/{p-92e1ad8b.entry.js.map → p-b52ef7dc.entry.js.map} +0 -0
- /package/www/build/{p-9a52f817.entry.js.map → p-b83a30cf.entry.js.map} +0 -0
- /package/www/build/{p-01d17804.entry.js.map → p-ba5dc106.entry.js.map} +0 -0
- /package/www/build/{p-c16792b1.entry.js.map → p-bad1e757.entry.js.map} +0 -0
- /package/www/build/{p-151fc1fa.entry.js.map → p-baf6249e.entry.js.map} +0 -0
- /package/www/build/{p-c8f2ccf5.entry.js.map → p-bb072cb8.entry.js.map} +0 -0
- /package/www/build/{p-ac5451d3.entry.js.map → p-be4fbe09.entry.js.map} +0 -0
- /package/www/build/{p-20493ac1.entry.js.map → p-c69e5796.entry.js.map} +0 -0
- /package/www/build/{p-128d7d9c.entry.js.map → p-c6d771f1.entry.js.map} +0 -0
- /package/www/build/{p-c84fd6f3.entry.js.map → p-c779e248.entry.js.map} +0 -0
- /package/www/build/{p-6ae89bbc.entry.js.map → p-cb21b1a3.entry.js.map} +0 -0
- /package/www/build/{p-88722311.entry.js.map → p-ce1fa4bd.entry.js.map} +0 -0
- /package/www/build/{p-02c38199.entry.js.map → p-d733ba28.entry.js.map} +0 -0
- /package/www/build/{p-35fe7d9d.entry.js.map → p-d8e9546c.entry.js.map} +0 -0
- /package/www/build/{p-f0a53d8d.entry.js.map → p-daca3528.entry.js.map} +0 -0
- /package/www/build/{p-302c4671.entry.js.map → p-e51793eb.entry.js.map} +0 -0
- /package/www/build/{p-608d5068.entry.js.map → p-e6c90ae8.entry.js.map} +0 -0
- /package/www/build/{p-cad51f9e.entry.js.map → p-e87fde13.entry.js.map} +0 -0
- /package/www/build/{p-9e9f6184.entry.js.map → p-e952d94f.entry.js.map} +0 -0
- /package/www/build/{p-3d27e2f8.entry.js.map → p-e96e36ff.entry.js.map} +0 -0
- /package/www/build/{p-131d1f76.entry.js.map → p-eb4faafb.entry.js.map} +0 -0
- /package/www/build/{p-812fc78e.entry.js.map → p-ecbcd457.entry.js.map} +0 -0
- /package/www/build/{p-4bf52401.entry.js.map → p-ed2d68e1.entry.js.map} +0 -0
- /package/www/build/{p-ddb66bbb.entry.js.map → p-f0ca3e20.entry.js.map} +0 -0
- /package/www/build/{p-1700035e.entry.js.map → p-f125e857.entry.js.map} +0 -0
- /package/www/build/{p-cc653027.entry.js.map → p-f45d1e6b.entry.js.map} +0 -0
- /package/www/build/{p-a365505f.entry.js.map → p-f8c4ff40.entry.js.map} +0 -0
- /package/www/build/{p-abafe472.entry.js.map → p-f8cbec7c.entry.js.map} +0 -0
- /package/www/build/{p-87897e51.entry.js.map → p-fb1a144e.entry.js.map} +0 -0
- /package/www/build/{p-33554950.entry.js.map → p-fe487325.entry.js.map} +0 -0
|
@@ -141,7 +141,7 @@ export namespace Components {
|
|
|
141
141
|
/**
|
|
142
142
|
* Text or HTML to be displayed as the heading of the aside. If the heading content should be displayed as HTML, the `headingContentType` needs to be set to `html`.
|
|
143
143
|
*/
|
|
144
|
-
headingContent
|
|
144
|
+
headingContent?: string;
|
|
145
145
|
/**
|
|
146
146
|
* The type of the heading content. If no prop is passed, it will default to string.
|
|
147
147
|
*/
|
|
@@ -149,7 +149,7 @@ export namespace Components {
|
|
|
149
149
|
/**
|
|
150
150
|
* The heading level of the aside heading.
|
|
151
151
|
*/
|
|
152
|
-
headingType
|
|
152
|
+
headingType?: HeadingLevelOptions;
|
|
153
153
|
/**
|
|
154
154
|
* Optional prop to choose the border colour of the aside. If none is passed, the default colour will be teal.
|
|
155
155
|
*/
|
|
@@ -208,7 +208,7 @@ export namespace Components {
|
|
|
208
208
|
/**
|
|
209
209
|
* Text or HTML to be displayed as the heading of the callout. If the heading content should be displayed as HTML, the `headingContentType` needs to be set to `html`.
|
|
210
210
|
*/
|
|
211
|
-
headingContent
|
|
211
|
+
headingContent?: string;
|
|
212
212
|
/**
|
|
213
213
|
* The type of the heading content. If no prop is passed, it will default to `string`.
|
|
214
214
|
*/
|
|
@@ -216,7 +216,7 @@ export namespace Components {
|
|
|
216
216
|
/**
|
|
217
217
|
* The heading level of the callout heading.
|
|
218
218
|
*/
|
|
219
|
-
headingType
|
|
219
|
+
headingType?: HeadingLevelOptions;
|
|
220
220
|
/**
|
|
221
221
|
* Optional prop to choose the border colour of the callout. If none is passed, the default colour will be teal.
|
|
222
222
|
*/
|
|
@@ -287,6 +287,10 @@ export namespace Components {
|
|
|
287
287
|
* Used to add a custom function to the checkbox onFocus event.
|
|
288
288
|
*/
|
|
289
289
|
customOnFocus?: (event: globalThis.Event) => void;
|
|
290
|
+
/**
|
|
291
|
+
* Set this to display an error message
|
|
292
|
+
*/
|
|
293
|
+
errorMessage?: string;
|
|
290
294
|
/**
|
|
291
295
|
* Used to include the ontario-hint-expander component for the checkbox group. This is passed in as an object with key-value pairs. This is optional.
|
|
292
296
|
* @example <ontario-checkboxes caption='{ "captionText": "Checkbox legend", "captionType": "heading", } name='ontario-checkboxes' options='[ { "value": "checkbox-option-1", "label": "Checkbox option 1 label", "elementId": "checkbox-1" } }]' hint-expander='{ "hint": "Hint expander for the checkbox group", "content": "Example hint expander content for the checkbox group" }' required="true" > </ontario-checkboxes>
|
|
@@ -386,6 +390,10 @@ export namespace Components {
|
|
|
386
390
|
* The ID for the dropdown list. If no ID is provided, one will be generated.
|
|
387
391
|
*/
|
|
388
392
|
elementId?: string;
|
|
393
|
+
/**
|
|
394
|
+
* Set this to display an error message
|
|
395
|
+
*/
|
|
396
|
+
errorMessage?: string;
|
|
389
397
|
/**
|
|
390
398
|
* Used to include the ontario-hint-expander component for the dropdown list component. This is passed in as an object with key-value pairs. This is optional.
|
|
391
399
|
* @example <ontario-dropdown-list caption='{ "caption": "What province do you live in?", "captionType": "heading", } name="ontario-dropdown-list" options='[ { "value": "dropdown-option-1", "label": "Option 1", "selected": "true" }, { "value": "dropdown-option-2", "label": "Option 2" }, { "value": "dropdown-option-3", "label": "Option 3" } ]' hint-expander='{ "hint": "Hint expander for the dropdown list", "content": "Example hint expander content for the dropdown list." }' > </ontario-dropdown-list>
|
|
@@ -1767,6 +1775,10 @@ export namespace Components {
|
|
|
1767
1775
|
* Used to add a custom function to the radio input onFocus event.
|
|
1768
1776
|
*/
|
|
1769
1777
|
customOnFocus?: (event: globalThis.Event) => void;
|
|
1778
|
+
/**
|
|
1779
|
+
* Set this to display an error message
|
|
1780
|
+
*/
|
|
1781
|
+
errorMessage?: string;
|
|
1770
1782
|
/**
|
|
1771
1783
|
* Used to include the ontario-hint-expander component for the radio button group. This is passed in as an object with key-value pairs. This is optional.
|
|
1772
1784
|
* @example <ontario-radio-buttons caption='{ "captionText": "Radio legend", "captionType": "heading", }' name="radios" options='[ { "value": "radio-option-1", "elementId": "radio-1", "label": "Radio option 1 label", "hintExpander": { "hint": "Hint expander for radio option 1", "content": "Example hint expander content for radio option 1." } } ]' hint-expander='{ "hint": "Hint expander for the radio button group", "content": "Example hint expander content for the radio button group." }' required="true" > </ontario-radio-buttons>
|
|
@@ -1878,6 +1890,10 @@ export namespace Components {
|
|
|
1878
1890
|
* The unique identifier of the textarea. This is optional - if no ID is passed, one will be generated.
|
|
1879
1891
|
*/
|
|
1880
1892
|
elementId?: string;
|
|
1893
|
+
/**
|
|
1894
|
+
* Set this to display an error message
|
|
1895
|
+
*/
|
|
1896
|
+
errorMessage?: string;
|
|
1881
1897
|
/**
|
|
1882
1898
|
* Used to include the ontario-hint-expander component for the textarea component. This is passed in as an object with key-value pairs. This is optional.
|
|
1883
1899
|
* @example <ontario-textarea caption='{ "captionText": "What are your thoughts", "captionType": "heading", }' name: "textarea" hint-expander='{ "hint": "This is the hint expander", "content": "This is the content for the hint expander" }' required="true" > </ontario-textarea>
|
|
@@ -1982,6 +1998,7 @@ declare global {
|
|
|
1982
1998
|
checkboxOnChange: RadioAndCheckboxChangeEvent;
|
|
1983
1999
|
checkboxOnBlur: InputFocusBlurEvent;
|
|
1984
2000
|
checkboxOnFocus: InputFocusBlurEvent;
|
|
2001
|
+
inputErrorOccurred: { errorMessage: string };
|
|
1985
2002
|
}
|
|
1986
2003
|
interface HTMLOntarioCheckboxesElement extends Components.OntarioCheckboxes, HTMLStencilElement {
|
|
1987
2004
|
addEventListener<K extends keyof HTMLOntarioCheckboxesElementEventMap>(
|
|
@@ -2109,6 +2126,7 @@ declare global {
|
|
|
2109
2126
|
dropdownOnChange: InputInteractionEvent;
|
|
2110
2127
|
dropdownOnBlur: InputFocusBlurEvent;
|
|
2111
2128
|
dropdownOnFocus: InputFocusBlurEvent;
|
|
2129
|
+
inputErrorOccurred: { errorMessage: string };
|
|
2112
2130
|
}
|
|
2113
2131
|
interface HTMLOntarioDropdownListElement extends Components.OntarioDropdownList, HTMLStencilElement {
|
|
2114
2132
|
addEventListener<K extends keyof HTMLOntarioDropdownListElementEventMap>(
|
|
@@ -2922,6 +2940,7 @@ declare global {
|
|
|
2922
2940
|
radioOnChange: RadioAndCheckboxChangeEvent;
|
|
2923
2941
|
radioOnBlur: InputFocusBlurEvent;
|
|
2924
2942
|
radioOnFocus: InputFocusBlurEvent;
|
|
2943
|
+
inputErrorOccurred: { errorMessage: string };
|
|
2925
2944
|
}
|
|
2926
2945
|
interface HTMLOntarioRadioButtonsElement extends Components.OntarioRadioButtons, HTMLStencilElement {
|
|
2927
2946
|
addEventListener<K extends keyof HTMLOntarioRadioButtonsElementEventMap>(
|
|
@@ -2990,6 +3009,7 @@ declare global {
|
|
|
2990
3009
|
inputOnChange: InputInteractionEvent;
|
|
2991
3010
|
inputOnBlur: InputFocusBlurEvent;
|
|
2992
3011
|
inputOnFocus: InputFocusBlurEvent;
|
|
3012
|
+
inputErrorOccurred: { inputId: string; errorMessage: string };
|
|
2993
3013
|
}
|
|
2994
3014
|
interface HTMLOntarioTextareaElement extends Components.OntarioTextarea, HTMLStencilElement {
|
|
2995
3015
|
addEventListener<K extends keyof HTMLOntarioTextareaElementEventMap>(
|
|
@@ -3363,6 +3383,10 @@ declare namespace LocalJSX {
|
|
|
3363
3383
|
* Used to add a custom function to the checkbox onFocus event.
|
|
3364
3384
|
*/
|
|
3365
3385
|
customOnFocus?: (event: globalThis.Event) => void;
|
|
3386
|
+
/**
|
|
3387
|
+
* Set this to display an error message
|
|
3388
|
+
*/
|
|
3389
|
+
errorMessage?: string;
|
|
3366
3390
|
/**
|
|
3367
3391
|
* Used to include the ontario-hint-expander component for the checkbox group. This is passed in as an object with key-value pairs. This is optional.
|
|
3368
3392
|
* @example <ontario-checkboxes caption='{ "captionText": "Checkbox legend", "captionType": "heading", } name='ontario-checkboxes' options='[ { "value": "checkbox-option-1", "label": "Checkbox option 1 label", "elementId": "checkbox-1" } }]' hint-expander='{ "hint": "Hint expander for the checkbox group", "content": "Example hint expander content for the checkbox group" }' required="true" > </ontario-checkboxes>
|
|
@@ -3392,6 +3416,10 @@ declare namespace LocalJSX {
|
|
|
3392
3416
|
* Emitted when a keyboard input event occurs when a checkbox option has gained focus.
|
|
3393
3417
|
*/
|
|
3394
3418
|
onCheckboxOnFocus?: (event: OntarioCheckboxesCustomEvent<InputFocusBlurEvent>) => void;
|
|
3419
|
+
/**
|
|
3420
|
+
* Emitted when an error message is reported to the component.
|
|
3421
|
+
*/
|
|
3422
|
+
onInputErrorOccurred?: (event: OntarioCheckboxesCustomEvent<{ errorMessage: string }>) => void;
|
|
3395
3423
|
/**
|
|
3396
3424
|
* The options for the checkbox group. Each property will be passed in through an object in the options array. This can either be passed in as an object directly (if using react), or as a string in HTML. If there are multiple checkboxes in a fieldset, each checkbox will be displayed as an option. In the example below, the options are being passed in as a string and there are two checkboxes to be displayed in the fieldset.
|
|
3397
3425
|
* @example <ontario-checkboxes caption='{ "captionText": "Checkbox legend", "captionType": "heading", } name="ontario-checkboxes", hint-text="Hint text for the checkbox group." options='[ { "value": "checkbox-option-1", "label": "Checkbox option 1 label" "elementId": "checkbox-1" }, { "value": "checkbox-option-2", "label": "Checkbox option 2 label", "elementId": "checkbox-2", "hintExpander": { "hint": "Hint expander for checkbox option 2", "content": "Example hint expander content for checkbox option 2" } } ]' required="true" > </ontario-checkboxes>
|
|
@@ -3504,6 +3532,10 @@ declare namespace LocalJSX {
|
|
|
3504
3532
|
* The ID for the dropdown list. If no ID is provided, one will be generated.
|
|
3505
3533
|
*/
|
|
3506
3534
|
elementId?: string;
|
|
3535
|
+
/**
|
|
3536
|
+
* Set this to display an error message
|
|
3537
|
+
*/
|
|
3538
|
+
errorMessage?: string;
|
|
3507
3539
|
/**
|
|
3508
3540
|
* Used to include the ontario-hint-expander component for the dropdown list component. This is passed in as an object with key-value pairs. This is optional.
|
|
3509
3541
|
* @example <ontario-dropdown-list caption='{ "caption": "What province do you live in?", "captionType": "heading", } name="ontario-dropdown-list" options='[ { "value": "dropdown-option-1", "label": "Option 1", "selected": "true" }, { "value": "dropdown-option-2", "label": "Option 2" }, { "value": "dropdown-option-3", "label": "Option 3" } ]' hint-expander='{ "hint": "Hint expander for the dropdown list", "content": "Example hint expander content for the dropdown list." }' > </ontario-dropdown-list>
|
|
@@ -3538,6 +3570,10 @@ declare namespace LocalJSX {
|
|
|
3538
3570
|
* Emitted when a keyboard input event occurs when a dropdown list has gained focus.
|
|
3539
3571
|
*/
|
|
3540
3572
|
onDropdownOnFocus?: (event: OntarioDropdownListCustomEvent<InputFocusBlurEvent>) => void;
|
|
3573
|
+
/**
|
|
3574
|
+
* Emitted when an error message is reported to the component.
|
|
3575
|
+
*/
|
|
3576
|
+
onInputErrorOccurred?: (event: OntarioDropdownListCustomEvent<{ errorMessage: string }>) => void;
|
|
3541
3577
|
/**
|
|
3542
3578
|
* The options for dropdown list. Each option will be passed in through an object in the options array. This can either be passed in as an object directly (if using react), or as a string in HTML. In the example below, the options are being passed in as a string and there are three dropdown options displayed.
|
|
3543
3579
|
* @example <ontario-dropdown-list caption='{ "captionText": "Label", "captionType": "heading", }' name="ontario-dropdown-list" options='[ { "value": "dropdown-option-1", "label": "Option 1", "selected": "true" }, { "value": "dropdown-option-2", "label": "Option 2" }, { "value": "dropdown-option-3", "label": "Option 3" } ]' > </ontario-dropdown-list>
|
|
@@ -4924,6 +4960,10 @@ declare namespace LocalJSX {
|
|
|
4924
4960
|
* Used to add a custom function to the radio input onFocus event.
|
|
4925
4961
|
*/
|
|
4926
4962
|
customOnFocus?: (event: globalThis.Event) => void;
|
|
4963
|
+
/**
|
|
4964
|
+
* Set this to display an error message
|
|
4965
|
+
*/
|
|
4966
|
+
errorMessage?: string;
|
|
4927
4967
|
/**
|
|
4928
4968
|
* Used to include the ontario-hint-expander component for the radio button group. This is passed in as an object with key-value pairs. This is optional.
|
|
4929
4969
|
* @example <ontario-radio-buttons caption='{ "captionText": "Radio legend", "captionType": "heading", }' name="radios" options='[ { "value": "radio-option-1", "elementId": "radio-1", "label": "Radio option 1 label", "hintExpander": { "hint": "Hint expander for radio option 1", "content": "Example hint expander content for radio option 1." } } ]' hint-expander='{ "hint": "Hint expander for the radio button group", "content": "Example hint expander content for the radio button group." }' required="true" > </ontario-radio-buttons>
|
|
@@ -4941,6 +4981,10 @@ declare namespace LocalJSX {
|
|
|
4941
4981
|
* The name assigned to the radio button. The name value is used to reference form data after a form is submitted.
|
|
4942
4982
|
*/
|
|
4943
4983
|
name?: string;
|
|
4984
|
+
/**
|
|
4985
|
+
* Emitted when an error message is reported to the component.
|
|
4986
|
+
*/
|
|
4987
|
+
onInputErrorOccurred?: (event: OntarioRadioButtonsCustomEvent<{ errorMessage: string }>) => void;
|
|
4944
4988
|
/**
|
|
4945
4989
|
* Emitted when a keyboard input event occurs when a radio option has lost focus.
|
|
4946
4990
|
*/
|
|
@@ -5047,6 +5091,10 @@ declare namespace LocalJSX {
|
|
|
5047
5091
|
* The unique identifier of the textarea. This is optional - if no ID is passed, one will be generated.
|
|
5048
5092
|
*/
|
|
5049
5093
|
elementId?: string;
|
|
5094
|
+
/**
|
|
5095
|
+
* Set this to display an error message
|
|
5096
|
+
*/
|
|
5097
|
+
errorMessage?: string;
|
|
5050
5098
|
/**
|
|
5051
5099
|
* Used to include the ontario-hint-expander component for the textarea component. This is passed in as an object with key-value pairs. This is optional.
|
|
5052
5100
|
* @example <ontario-textarea caption='{ "captionText": "What are your thoughts", "captionType": "heading", }' name: "textarea" hint-expander='{ "hint": "This is the hint expander", "content": "This is the content for the hint expander" }' required="true" > </ontario-textarea>
|
|
@@ -5064,6 +5112,10 @@ declare namespace LocalJSX {
|
|
|
5064
5112
|
* The name assigned to the textarea. The name value is used to reference form data after a form is submitted.
|
|
5065
5113
|
*/
|
|
5066
5114
|
name?: string;
|
|
5115
|
+
/**
|
|
5116
|
+
* Emitted when an error message is reported to the component.
|
|
5117
|
+
*/
|
|
5118
|
+
onInputErrorOccurred?: (event: OntarioTextareaCustomEvent<{ inputId: string; errorMessage: string }>) => void;
|
|
5067
5119
|
/**
|
|
5068
5120
|
* Emitted when a keyboard input event occurs when an input has lost focus.
|
|
5069
5121
|
*/
|
|
@@ -10,9 +10,9 @@ export declare const isValidHighlightColour: (
|
|
|
10
10
|
export declare const isValidHeadingLevel: (level: HeadingLevelOptions) => level is 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
11
11
|
export declare const generateCalloutAside: (
|
|
12
12
|
type: CalloutAsideType,
|
|
13
|
-
headingType: HeadingLevelOptions,
|
|
14
13
|
headingContentType: HeadingContentType,
|
|
15
|
-
|
|
14
|
+
headingType?: HeadingLevelOptions,
|
|
15
|
+
headingContent?: string,
|
|
16
16
|
content?: string | HTMLElement,
|
|
17
17
|
highlightColour?: HighlightColourOptions,
|
|
18
18
|
) => any;
|
|
@@ -20,7 +20,7 @@ export interface CalloutAside extends Base {
|
|
|
20
20
|
/**
|
|
21
21
|
* The heading level of the callout/aside heading.
|
|
22
22
|
*/
|
|
23
|
-
headingType
|
|
23
|
+
headingType?: HeadingLevelOptions;
|
|
24
24
|
/**
|
|
25
25
|
* The type of the heading content. If no prop is passed, it will default to string.
|
|
26
26
|
*/
|
|
@@ -28,7 +28,7 @@ export interface CalloutAside extends Base {
|
|
|
28
28
|
/**
|
|
29
29
|
* Text or HTML to be displayed as the heading of the callout/aside. If the heading content should be displayed as HTML, the `headingContentType` needs to be set to `html`.
|
|
30
30
|
*/
|
|
31
|
-
headingContent
|
|
31
|
+
headingContent?: string;
|
|
32
32
|
/**
|
|
33
33
|
* Optional text to be displayed as the content for the callout/aside component. If a string is passed, it will automatically be nested in a paragraph tag.
|
|
34
34
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ongov/ontario-design-system-component-library",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0-alpha.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Ontario Design System Component Library",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"test:unit": "stencil test --spec"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@ongov/ontario-design-system-global-styles": "4.
|
|
43
|
+
"@ongov/ontario-design-system-global-styles": "4.3.0-alpha.1",
|
|
44
44
|
"@stencil/core": "^4.12.2",
|
|
45
45
|
"dotenv": "^16.3.1"
|
|
46
46
|
},
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"collection:main": "dist/collection/index.js",
|
|
103
103
|
"es2015": "dist/esm/index.mjs",
|
|
104
104
|
"es2017": "dist/esm/index.mjs",
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "e2994e1e48a783104f3299980481b3cdaab2a302"
|
|
106
106
|
}
|
|
@@ -24,17 +24,17 @@ export class OntarioAside implements CalloutAside {
|
|
|
24
24
|
/**
|
|
25
25
|
* The heading level of the aside heading.
|
|
26
26
|
*/
|
|
27
|
-
@Prop({ mutable: true }) headingType
|
|
27
|
+
@Prop({ mutable: true }) headingType?: HeadingLevelOptions;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* The type of the heading content. If no prop is passed, it will default to string.
|
|
31
31
|
*/
|
|
32
|
-
@Prop({ mutable: true }) headingContentType: HeadingContentType;
|
|
32
|
+
@Prop({ mutable: true }) headingContentType: HeadingContentType = 'string';
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* Text or HTML to be displayed as the heading of the aside. If the heading content should be displayed as HTML, the `headingContentType` needs to be set to `html`.
|
|
36
36
|
*/
|
|
37
|
-
@Prop() headingContent
|
|
37
|
+
@Prop() headingContent?: string;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* Optional text to be displayed as the content for the aside component. If a string is passed, it will automatically be nested in a paragraph tag.
|
|
@@ -58,16 +58,18 @@ export class OntarioAside implements CalloutAside {
|
|
|
58
58
|
*/
|
|
59
59
|
@Watch('headingType')
|
|
60
60
|
validateHeadingType() {
|
|
61
|
-
if (
|
|
61
|
+
if (!!this.headingType) {
|
|
62
|
+
if (isValidHeadingLevel(this.headingType)) return this.headingType;
|
|
62
63
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
64
|
+
const message = new ConsoleMessageClass();
|
|
65
|
+
return message
|
|
66
|
+
.addDesignSystemTag()
|
|
67
|
+
.addMonospaceText(` headingType ${this.headingType} `)
|
|
68
|
+
.addRegularText('for')
|
|
69
|
+
.addMonospaceText(' <ontario-aside> ')
|
|
70
|
+
.addRegularText('is not a valid type. Please ensure your heading type matches one of the headingType types.')
|
|
71
|
+
.printMessage();
|
|
72
|
+
}
|
|
71
73
|
}
|
|
72
74
|
|
|
73
75
|
/**
|
|
@@ -86,25 +88,6 @@ export class OntarioAside implements CalloutAside {
|
|
|
86
88
|
}
|
|
87
89
|
}
|
|
88
90
|
|
|
89
|
-
/**
|
|
90
|
-
* Watch for changes in the `headingContent` prop for validation purposes.
|
|
91
|
-
*
|
|
92
|
-
* If no `headingContent` value is provided, a warning message will be printed.
|
|
93
|
-
*/
|
|
94
|
-
@Watch('headingContent')
|
|
95
|
-
validateHeadingContent() {
|
|
96
|
-
if (!this.headingContent) {
|
|
97
|
-
const message = new ConsoleMessageClass();
|
|
98
|
-
message
|
|
99
|
-
.addDesignSystemTag()
|
|
100
|
-
.addMonospaceText(' headingContent ')
|
|
101
|
-
.addRegularText('for')
|
|
102
|
-
.addMonospaceText(' <ontario-aside> ')
|
|
103
|
-
.addRegularText('was not provided.')
|
|
104
|
-
.printMessage();
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
91
|
/**
|
|
109
92
|
* Watch for changes to the `highlightColour` prop.
|
|
110
93
|
*
|
|
@@ -154,7 +137,6 @@ export class OntarioAside implements CalloutAside {
|
|
|
154
137
|
|
|
155
138
|
componentWillLoad() {
|
|
156
139
|
this.validateHighlightColour();
|
|
157
|
-
this.validateHeadingContent();
|
|
158
140
|
this.validateHeadingType();
|
|
159
141
|
this.validateHeadingContentType();
|
|
160
142
|
}
|
|
@@ -162,8 +144,8 @@ export class OntarioAside implements CalloutAside {
|
|
|
162
144
|
render() {
|
|
163
145
|
return generateCalloutAside(
|
|
164
146
|
'aside',
|
|
165
|
-
this.headingType,
|
|
166
147
|
this.headingContentType,
|
|
148
|
+
this.headingType,
|
|
167
149
|
this.headingContent,
|
|
168
150
|
this.content,
|
|
169
151
|
this.highlightColour,
|
|
@@ -73,9 +73,9 @@ This is another example of an aside. This time, the content is passed as a child
|
|
|
73
73
|
| Property | Attribute | Description | Type | Default |
|
|
74
74
|
| -------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------- | ----------- |
|
|
75
75
|
| `content` | `content` | Optional text to be displayed as the content for the aside component. If a string is passed, it will automatically be nested in a paragraph tag. HTML content can also be passed as the child/children of the aside component if additional/different elements for the content are needed. | `string \| undefined` | `undefined` |
|
|
76
|
-
| `headingContent` | `heading-content` | Text or HTML to be displayed as the heading of the aside. If the heading content should be displayed as HTML, the `headingContentType` needs to be set to `html`. | `string`
|
|
77
|
-
| `headingContentType` | `heading-content-type` | The type of the heading content. If no prop is passed, it will default to string. | `"html" \| "string"` | `
|
|
78
|
-
| `headingType` | `heading-type` | The heading level of the aside heading. | `"h2" \| "h3" \| "h4" \| "h5" \| "h6"`
|
|
76
|
+
| `headingContent` | `heading-content` | Text or HTML to be displayed as the heading of the aside. If the heading content should be displayed as HTML, the `headingContentType` needs to be set to `html`. | `string \| undefined` | `undefined` |
|
|
77
|
+
| `headingContentType` | `heading-content-type` | The type of the heading content. If no prop is passed, it will default to string. | `"html" \| "string"` | `'string'` |
|
|
78
|
+
| `headingType` | `heading-type` | The heading level of the aside heading. | `"h2" \| "h3" \| "h4" \| "h5" \| "h6" \| undefined` | `undefined` |
|
|
79
79
|
| `highlightColour` | `highlight-colour` | Optional prop to choose the border colour of the aside. If none is passed, the default colour will be teal. | `"blue" \| "gold" \| "green" \| "lime" \| "purple" \| "sky" \| "taupe" \| "teal" \| "yellow" \| undefined` | `'teal'` |
|
|
80
80
|
|
|
81
81
|
---
|
|
@@ -97,6 +97,45 @@ describe('ontario-aside', () => {
|
|
|
97
97
|
`);
|
|
98
98
|
});
|
|
99
99
|
|
|
100
|
+
it('should render html in the heading content if the headingContentType prop is set to `html`', async () => {
|
|
101
|
+
const page = await newSpecPage({
|
|
102
|
+
components: [OntarioAside],
|
|
103
|
+
html: `<ontario-aside heading-content-type="html" heading-content="<a href='#'>Quick fact:</a>"><p>As of 2013, Canada is responsible for 1.6% of global emissions, with Ontario responsible for less than 0.4% of global emissions.</p></ontario-aside>`,
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
expect(page.root).toEqualHtml(`
|
|
107
|
+
<ontario-aside heading-content-type="html" heading-content="<a href='#'>Quick fact:</a>" heading-content="Quick fact:">
|
|
108
|
+
<mock:shadow-root>
|
|
109
|
+
<aside class="ontario-aside ontario-border-highlight--teal">
|
|
110
|
+
<h2 class="ontario-aside__title ontario-h5">
|
|
111
|
+
<a href="#">Quick fact:</a>
|
|
112
|
+
</h2>
|
|
113
|
+
<slot></slot>
|
|
114
|
+
</aside>
|
|
115
|
+
</mock:shadow-root>
|
|
116
|
+
<p>As of 2013, Canada is responsible for 1.6% of global emissions, with Ontario responsible for less than 0.4% of global emissions.</p>
|
|
117
|
+
</ontario-aside>
|
|
118
|
+
`);
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
it('should not render the heading if headingContent prop is set to `undefined`', async () => {
|
|
122
|
+
const page = await newSpecPage({
|
|
123
|
+
components: [OntarioAside],
|
|
124
|
+
html: `<ontario-aside><p>As of 2013, Canada is responsible for 1.6% of global emissions, with Ontario responsible for less than 0.4% of global emissions.</p></ontario-aside>`,
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
expect(page.root).toEqualHtml(`
|
|
128
|
+
<ontario-aside>
|
|
129
|
+
<mock:shadow-root>
|
|
130
|
+
<aside class="ontario-aside ontario-border-highlight--teal">
|
|
131
|
+
<slot></slot>
|
|
132
|
+
</aside>
|
|
133
|
+
</mock:shadow-root>
|
|
134
|
+
<p>As of 2013, Canada is responsible for 1.6% of global emissions, with Ontario responsible for less than 0.4% of global emissions.</p>
|
|
135
|
+
</ontario-aside>
|
|
136
|
+
`);
|
|
137
|
+
});
|
|
138
|
+
|
|
100
139
|
it('should reflect attributes/props being set', async () => {
|
|
101
140
|
const page = await newSpecPage({
|
|
102
141
|
components: [OntarioAside],
|
|
@@ -24,7 +24,7 @@ export class OntarioCallout implements CalloutAside {
|
|
|
24
24
|
/**
|
|
25
25
|
* The heading level of the callout heading.
|
|
26
26
|
*/
|
|
27
|
-
@Prop({ mutable: true }) headingType
|
|
27
|
+
@Prop({ mutable: true }) headingType?: HeadingLevelOptions;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* The type of the heading content. If no prop is passed, it will default to `string`.
|
|
@@ -34,7 +34,7 @@ export class OntarioCallout implements CalloutAside {
|
|
|
34
34
|
/**
|
|
35
35
|
* Text or HTML to be displayed as the heading of the callout. If the heading content should be displayed as HTML, the `headingContentType` needs to be set to `html`.
|
|
36
36
|
*/
|
|
37
|
-
@Prop() headingContent
|
|
37
|
+
@Prop() headingContent?: string;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* Optional text to be displayed as the content for the callout component. If a string is passed, it will automatically be nested in a paragraph tag.
|
|
@@ -57,16 +57,18 @@ export class OntarioCallout implements CalloutAside {
|
|
|
57
57
|
*/
|
|
58
58
|
@Watch('headingType')
|
|
59
59
|
validateHeadingType() {
|
|
60
|
-
if (
|
|
60
|
+
if (!!this.headingType) {
|
|
61
|
+
if (isValidHeadingLevel(this.headingType)) return this.headingType;
|
|
61
62
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
63
|
+
const message = new ConsoleMessageClass();
|
|
64
|
+
return message
|
|
65
|
+
.addDesignSystemTag()
|
|
66
|
+
.addMonospaceText(` headingType ${this.headingType} `)
|
|
67
|
+
.addRegularText('for')
|
|
68
|
+
.addMonospaceText(' <ontario-callout> ')
|
|
69
|
+
.addRegularText('is not a valid type. Please ensure your heading type matches one of the headingType types.')
|
|
70
|
+
.printMessage();
|
|
71
|
+
}
|
|
70
72
|
}
|
|
71
73
|
|
|
72
74
|
/**
|
|
@@ -85,25 +87,6 @@ export class OntarioCallout implements CalloutAside {
|
|
|
85
87
|
}
|
|
86
88
|
}
|
|
87
89
|
|
|
88
|
-
/**
|
|
89
|
-
* Watch for changes in the `headingContent` prop for validation purposes.
|
|
90
|
-
*
|
|
91
|
-
* If no `headingContent` value is provided, a warning message will be printed.
|
|
92
|
-
*/
|
|
93
|
-
@Watch('headingContent')
|
|
94
|
-
validateHeadingContent() {
|
|
95
|
-
if (!this.headingContent) {
|
|
96
|
-
const message = new ConsoleMessageClass();
|
|
97
|
-
message
|
|
98
|
-
.addDesignSystemTag()
|
|
99
|
-
.addMonospaceText(' headingContent ')
|
|
100
|
-
.addRegularText('for')
|
|
101
|
-
.addMonospaceText(' <ontario-callout> ')
|
|
102
|
-
.addRegularText('was not provided.')
|
|
103
|
-
.printMessage();
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
90
|
/**
|
|
108
91
|
* Watch for changes to the `highlightColour` prop.
|
|
109
92
|
*
|
|
@@ -153,7 +136,6 @@ export class OntarioCallout implements CalloutAside {
|
|
|
153
136
|
|
|
154
137
|
componentWillLoad() {
|
|
155
138
|
this.validateHighlightColour();
|
|
156
|
-
this.validateHeadingContent();
|
|
157
139
|
this.validateHeadingType();
|
|
158
140
|
this.validateHeadingContentType();
|
|
159
141
|
}
|
|
@@ -161,8 +143,8 @@ export class OntarioCallout implements CalloutAside {
|
|
|
161
143
|
render() {
|
|
162
144
|
return generateCalloutAside(
|
|
163
145
|
'callout',
|
|
164
|
-
this.headingType,
|
|
165
146
|
this.headingContentType,
|
|
147
|
+
this.headingType,
|
|
166
148
|
this.headingContent,
|
|
167
149
|
this.content,
|
|
168
150
|
this.highlightColour,
|
|
@@ -65,9 +65,9 @@ This is another example of an callout. This time, the content is passed as a chi
|
|
|
65
65
|
| Property | Attribute | Description | Type | Default |
|
|
66
66
|
| -------------------- | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ----------- |
|
|
67
67
|
| `content` | `content` | Optional text to be displayed as the content for the callout component. If a string is passed, it will automatically be nested in a paragraph tag. HTML content can also be passed as the child/children of the callout component if additional/different elements for the content are needed. | `string \| undefined` | `undefined` |
|
|
68
|
-
| `headingContent` | `heading-content` | Text or HTML to be displayed as the heading of the callout. If the heading content should be displayed as HTML, the `headingContentType` needs to be set to `html`. | `string`
|
|
68
|
+
| `headingContent` | `heading-content` | Text or HTML to be displayed as the heading of the callout. If the heading content should be displayed as HTML, the `headingContentType` needs to be set to `html`. | `string \| undefined` | `undefined` |
|
|
69
69
|
| `headingContentType` | `heading-content-type` | The type of the heading content. If no prop is passed, it will default to `string`. | `"html" \| "string"` | `'string'` |
|
|
70
|
-
| `headingType` | `heading-type` | The heading level of the callout heading. | `"h2" \| "h3" \| "h4" \| "h5" \| "h6"`
|
|
70
|
+
| `headingType` | `heading-type` | The heading level of the callout heading. | `"h2" \| "h3" \| "h4" \| "h5" \| "h6" \| undefined` | `undefined` |
|
|
71
71
|
| `highlightColour` | `highlight-colour` | Optional prop to choose the border colour of the callout. If none is passed, the default colour will be teal. | `"blue" \| "gold" \| "green" \| "lime" \| "purple" \| "sky" \| "taupe" \| "teal" \| "yellow" \| undefined` | `'teal'` |
|
|
72
72
|
|
|
73
73
|
---
|
|
@@ -105,6 +105,26 @@ describe('ontario-callout', () => {
|
|
|
105
105
|
`);
|
|
106
106
|
});
|
|
107
107
|
|
|
108
|
+
it('should not render the heading if headingContent prop is set to `undefined`', async () => {
|
|
109
|
+
const page = await newSpecPage({
|
|
110
|
+
components: [OntarioCallout],
|
|
111
|
+
html: `<ontario-callout ><p><a href="#">Sign up for email reminders</a> and we’ll notify you 60 and 30 days before your licence expires.</p></ontario-callout>`,
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
expect(page.root).toEqualHtml(`
|
|
115
|
+
<ontario-callout >
|
|
116
|
+
<mock:shadow-root>
|
|
117
|
+
<div class="ontario-callout ontario-border-highlight--teal">
|
|
118
|
+
<slot></slot>
|
|
119
|
+
</div>
|
|
120
|
+
</mock:shadow-root>
|
|
121
|
+
<p>
|
|
122
|
+
<a href="#">Sign up for email reminders</a> and we’ll notify you 60 and 30 days before your licence expires.
|
|
123
|
+
</p>
|
|
124
|
+
</ontario-callout>
|
|
125
|
+
`);
|
|
126
|
+
});
|
|
127
|
+
|
|
108
128
|
it('should reflect attributes/props being set', async () => {
|
|
109
129
|
const page = await newSpecPage({
|
|
110
130
|
components: [OntarioCallout],
|
|
@@ -15,6 +15,11 @@
|
|
|
15
15
|
border-radius: globalVariables.$global-radius;
|
|
16
16
|
margin: spacing.$spacing-0 spacing.$spacing-7 spacing.$spacing-7 spacing.$spacing-0;
|
|
17
17
|
padding: spacing.$spacing-0;
|
|
18
|
+
/*
|
|
19
|
+
* Required for cards to stay the same height regardless of content size.
|
|
20
|
+
* Without subtracting the margin-bottom amount the cards will be too large.
|
|
21
|
+
*/
|
|
22
|
+
height: calc(100% - spacing.$spacing-7);
|
|
18
23
|
list-style-type: none;
|
|
19
24
|
transition: all 0.3s ease-in-out;
|
|
20
25
|
position: relative;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use 'sass:math';
|
|
2
2
|
@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/global.variables' as globalVariables;
|
|
3
|
+
@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/2-tools/functions/global.functions' as globalFunctions;
|
|
3
4
|
@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/spacing.variables' as spacing;
|
|
4
5
|
@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/colours.variables' as colours;
|
|
5
6
|
@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/1-variables/breakpoints.variables' as breakpoints;
|
|
@@ -8,11 +9,18 @@
|
|
|
8
9
|
@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/4-elements/_global.elements.scss';
|
|
9
10
|
@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/6-components/_form.component.scss';
|
|
10
11
|
@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/7-overrides/_visibility.overrides.scss';
|
|
12
|
+
@use '@ongov/ontario-design-system-global-styles/dist/styles/scss/6-components/_text-inputs.component.scss';
|
|
13
|
+
@forward '../../utils/components/error-message/error-message';
|
|
11
14
|
|
|
12
|
-
$ontario-checkboxes-size:
|
|
13
|
-
$ontario-checkboxes-size-mobile:
|
|
14
|
-
$ontario-checkbox-border-size:
|
|
15
|
-
$ontario-checkbox-box-shadow-outline:
|
|
15
|
+
$ontario-checkboxes-size: globalFunctions.px-to-rem(28);
|
|
16
|
+
$ontario-checkboxes-size-mobile: globalFunctions.px-to-rem(32);
|
|
17
|
+
$ontario-checkbox-border-size: globalFunctions.px-to-rem(2);
|
|
18
|
+
$ontario-checkbox-box-shadow-outline: globalFunctions.px-to-rem(4);
|
|
19
|
+
$ontario-input-border-width: 0.125rem;
|
|
20
|
+
|
|
21
|
+
:host {
|
|
22
|
+
--checkbox-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M0 2.667C0 1.194 1.194 0 2.667 0h18.667C22.806 0 24 1.194 24 2.667v18.667C24 22.806 22.806 24 21.333 24H2.667C1.194 24 0 22.806 0 21.333V2.667z' fill='%231a1a1a'/%3E%3Cpath d='M2.667 12.616l6.667 6.718 12-12.092-1.88-1.908L9.333 15.53l-4.787-4.8-1.88 1.894z' fill='%23fff'/%3E%3C/svg%3E");
|
|
23
|
+
}
|
|
16
24
|
|
|
17
25
|
.ontario-checkboxes {
|
|
18
26
|
margin-bottom: spacing.$spacing-7;
|
|
@@ -93,7 +101,7 @@ $ontario-checkbox-box-shadow-outline: 4px;
|
|
|
93
101
|
// ✔✔✔ Check mark styles ✔✔✔
|
|
94
102
|
&:after {
|
|
95
103
|
content: '';
|
|
96
|
-
background-image:
|
|
104
|
+
background-image: var(--checkbox-bg);
|
|
97
105
|
background-repeat: no-repeat;
|
|
98
106
|
height: $ontario-checkboxes-size + $ontario-checkbox-border-size;
|
|
99
107
|
width: $ontario-checkboxes-size + $ontario-checkbox-border-size;
|