@ons/design-system 51.0.0 → 53.0.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/README.md +0 -2
- package/components/address-input/autosuggest.address.setter.js +6 -2
- package/components/button/_button.scss +75 -33
- package/components/button/_macro.njk +1 -1
- package/components/button/_macro.spec.js +2 -2
- package/components/checkboxes/checkbox-with-autoselect.js +2 -1
- package/components/external-link/_macro.njk +5 -2
- package/components/external-link/_macro.spec.js +18 -1
- package/components/footer/_footer.scss +19 -4
- package/components/footer/_macro.njk +103 -97
- package/components/footer/_macro.spec.js +131 -2
- package/components/header/_header.scss +65 -46
- package/components/header/_macro.njk +172 -120
- package/components/header/_macro.spec.js +85 -29
- package/components/hero/_hero.scss +30 -140
- package/components/hero/_macro.njk +13 -20
- package/components/hero/_macro.spec.js +32 -29
- package/components/icons/_macro.njk +257 -29
- package/components/icons/_macro.spec.js +6 -6
- package/components/input/_input.scss +8 -0
- package/components/language-selector/_macro.njk +1 -1
- package/components/language-selector/_macro.spec.js +9 -1
- package/components/mutually-exclusive/_macro.njk +1 -1
- package/components/mutually-exclusive/_macro.spec.js +2 -0
- package/components/navigation/_macro.njk +42 -35
- package/components/navigation/_macro.spec.js +34 -32
- package/components/navigation/_navigation.scss +20 -4
- package/components/question/_macro.njk +12 -10
- package/components/related-content/_macro.njk +13 -21
- package/components/related-content/_macro.spec.js +18 -27
- package/components/related-content/_section-macro.njk +10 -0
- package/components/related-content/_section-macro.spec.js +43 -0
- package/components/share-page/_macro.njk +4 -2
- package/css/census.css +3 -1
- package/css/ids.css +2 -0
- package/css/main.css +1 -1
- package/img/dummy-brand-logo.svg +1 -0
- package/layout/_template.njk +8 -4
- package/package.json +1 -1
- package/scripts/main.es5.js +2 -2
- package/scripts/main.js +1 -1
- package/scss/ids.scss +2 -0
- package/scss/settings/_census.scss +141 -0
- package/scss/settings/_ids.scss +48 -0
- package/scss/utilities/_margin.scss +1 -0
- package/scss/vars/_colors.scss +5 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="180" height="43" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M69.072 12.908c.05.895.262 1.622.634 2.18.709 1.046 1.959 1.57 3.75 1.57.801 0 1.532-.115 2.19-.345 1.275-.443 1.913-1.238 1.913-2.384 0-.86-.269-1.472-.806-1.837-.544-.358-1.397-.67-2.557-.935l-2.137-.483c-1.397-.315-2.385-.663-2.965-1.042-1.003-.659-1.504-1.644-1.504-2.954 0-1.418.49-2.582 1.471-3.491.982-.91 2.371-1.365 4.168-1.365 1.655 0 3.058.401 4.211 1.203 1.16.795 1.74 2.07 1.74 3.825h-2.008c-.108-.845-.337-1.494-.688-1.945-.651-.823-1.758-1.235-3.319-1.235-1.26 0-2.166.265-2.718.795-.551.53-.827 1.146-.827 1.848 0 .773.322 1.339.967 1.697.422.229 1.379.515 2.868.86l2.213.504c1.067.244 1.89.577 2.47.999 1.003.738 1.505 1.808 1.505 3.212 0 1.747-.638 2.997-1.912 3.749-1.268.752-2.743 1.128-4.426 1.128-1.963 0-3.499-.501-4.609-1.504-1.11-.995-1.654-2.345-1.632-4.05h2.008zm17.81-6.67c.817 0 1.609.193 2.375.58.766.379 1.35.873 1.75 1.482.387.58.645 1.257.774 2.03.115.53.172 1.375.172 2.535H83.52c.036 1.168.312 2.106.828 2.815.515.701 1.314 1.052 2.395 1.052 1.01 0 1.816-.333 2.417-.999.344-.386.587-.834.73-1.342h1.902c-.05.422-.218.895-.505 1.418-.28.515-.594.938-.945 1.267-.587.573-1.314.96-2.18 1.16a6.623 6.623 0 01-1.58.172c-1.432 0-2.646-.519-3.642-1.557-.995-1.046-1.493-2.507-1.493-4.383 0-1.848.502-3.348 1.504-4.501 1.003-1.153 2.313-1.73 3.932-1.73zm3.084 5.091c-.079-.838-.262-1.507-.548-2.009-.53-.93-1.414-1.396-2.653-1.396-.888 0-1.633.322-2.235.967-.601.637-.92 1.45-.956 2.438h6.392zm4.426-4.834h1.837v1.987c.15-.386.519-.855 1.106-1.407.587-.558 1.264-.838 2.03-.838.036 0 .097.004.183.011.086.007.233.022.44.043v2.041a2.862 2.862 0 00-.322-.043 4.092 4.092 0 00-.311-.01c-.975 0-1.723.314-2.246.945a3.26 3.26 0 00-.784 2.159V18h-1.933V6.495zm8.217 0l3.073 9.367 3.212-9.367h2.116L106.67 18h-2.063l-4.243-11.505h2.245zm10.055.054h1.966V18h-1.966V6.549zm0-4.33h1.966v2.192h-1.966V2.22zm9.335 3.943c1.296 0 2.349.315 3.158.945.817.63 1.307 1.716 1.472 3.255h-1.88c-.115-.709-.376-1.296-.784-1.761-.408-.473-1.064-.71-1.966-.71-1.232 0-2.113.602-2.643 1.805-.343.78-.515 1.744-.515 2.89 0 1.153.243 2.123.73 2.911.487.788 1.254 1.182 2.299 1.182.802 0 1.436-.244 1.901-.73.473-.495.799-1.168.978-2.02h1.88c-.215 1.525-.752 2.642-1.611 3.351-.86.702-1.959 1.053-3.298 1.053-1.504 0-2.704-.548-3.599-1.643-.895-1.103-1.343-2.478-1.343-4.126 0-2.02.491-3.591 1.472-4.715.981-1.125 2.231-1.687 3.749-1.687zm11.355.075c.816 0 1.607.194 2.374.58.766.38 1.349.874 1.751 1.483.386.58.644 1.257.773 2.03.115.53.172 1.375.172 2.535h-8.433c.036 1.168.312 2.106.827 2.815.516.701 1.314 1.052 2.396 1.052 1.01 0 1.815-.333 2.417-.999a3.36 3.36 0 00.73-1.342h1.902c-.05.422-.219.895-.505 1.418a4.953 4.953 0 01-.946 1.267c-.587.573-1.314.96-2.18 1.16a6.627 6.627 0 01-1.579.172c-1.433 0-2.646-.519-3.642-1.557-.995-1.046-1.493-2.507-1.493-4.383 0-1.848.501-3.348 1.504-4.501 1.002-1.153 2.313-1.73 3.932-1.73zm3.083 5.092c-.079-.838-.262-1.507-.548-2.009-.53-.93-1.415-1.396-2.654-1.396-.888 0-1.632.322-2.234.967-.602.637-.92 1.45-.956 2.438h6.392zM73.605 28.891c.903 0 1.605-.126 2.106-.376.788-.394 1.182-1.103 1.182-2.127 0-1.032-.42-1.726-1.257-2.084-.473-.2-1.175-.301-2.106-.301h-3.813v4.888h3.889zm.72 7.283c1.31 0 2.245-.38 2.804-1.139.35-.48.526-1.06.526-1.74 0-1.146-.512-1.927-1.536-2.342-.544-.222-1.264-.333-2.159-.333h-4.243v5.554h4.608zM67.622 22.22H74.4c1.848 0 3.162.551 3.943 1.654.458.652.687 1.404.687 2.256 0 .995-.283 1.812-.848 2.45-.294.336-.716.644-1.268.923.81.308 1.415.655 1.816 1.042.709.687 1.063 1.636 1.063 2.847 0 1.016-.319 1.937-.956 2.76C77.884 37.384 76.37 38 74.293 38h-6.67V22.22zm14.523 4.275h1.837v1.987c.15-.386.52-.855 1.107-1.407.587-.558 1.264-.838 2.03-.838.036 0 .097.004.183.011.086.007.232.021.44.043v2.041a2.843 2.843 0 00-.322-.043 4.069 4.069 0 00-.312-.01c-.974 0-1.722.314-2.245.945a3.26 3.26 0 00-.784 2.159V38h-1.933V26.495zm8.755 8.443c0 .56.204 1 .613 1.322.408.322.891.483 1.45.483.68 0 1.34-.157 1.977-.473 1.074-.522 1.61-1.378 1.61-2.567v-1.558c-.236.15-.54.276-.912.377-.373.1-.738.171-1.096.214l-1.17.15c-.703.094-1.23.24-1.58.441-.594.337-.892.874-.892 1.611zm4.684-3.91c.444-.057.741-.243.892-.558.085-.172.129-.42.129-.741 0-.66-.237-1.136-.71-1.43-.465-.3-1.135-.45-2.008-.45-1.01 0-1.726.272-2.149.816-.236.3-.39.748-.462 1.343h-1.804c.035-1.418.494-2.403 1.375-2.954.888-.559 1.915-.838 3.083-.838 1.353 0 2.452.258 3.297.773.838.516 1.257 1.318 1.257 2.406v6.628c0 .201.04.362.119.484.086.122.26.183.526.183.086 0 .182-.004.29-.011.107-.015.222-.032.344-.054v1.429c-.301.086-.53.14-.688.16a5.02 5.02 0 01-.644.033c-.666 0-1.15-.236-1.45-.709-.158-.25-.27-.605-.334-1.063-.393.515-.96.963-1.697 1.342a5.25 5.25 0 01-2.438.57c-1.067 0-1.941-.322-2.621-.967-.674-.652-1.01-1.465-1.01-2.439 0-1.067.333-1.894.999-2.481.666-.587 1.54-.949 2.621-1.085l3.083-.387zm6.08-4.533h1.837v1.633c.544-.673 1.121-1.157 1.729-1.45.609-.294 1.286-.44 2.031-.44 1.633 0 2.735.569 3.308 1.707.315.623.473 1.515.473 2.675V38h-1.966v-7.251c0-.702-.104-1.268-.311-1.697-.344-.716-.967-1.075-1.869-1.075-.459 0-.835.047-1.128.14-.53.158-.996.473-1.397.945-.322.38-.533.774-.634 1.182-.093.401-.139.978-.139 1.73V38h-1.934V26.495zm13.471 5.887c0 1.232.261 2.263.784 3.094.523.83 1.361 1.246 2.514 1.246.895 0 1.629-.383 2.202-1.15.58-.773.87-1.88.87-3.32 0-1.453-.297-2.527-.892-3.222-.594-.702-1.328-1.053-2.202-1.053-.974 0-1.765.373-2.374 1.118-.601.745-.902 1.84-.902 3.287zm2.911-6.091c.881 0 1.618.186 2.213.559.344.214.734.59 1.171 1.127v-5.811h1.858V38h-1.74v-1.6c-.451.708-.985 1.22-1.601 1.535-.616.316-1.321.473-2.116.473-1.282 0-2.392-.537-3.33-1.611-.938-1.081-1.407-2.517-1.407-4.308 0-1.675.426-3.126 1.278-4.35.859-1.232 2.084-1.848 3.674-1.848zm14.491-4.071h2.138v13.9h7.992V38h-10.13V22.22zm16.554 14.534c1.282 0 2.159-.483 2.632-1.45.479-.974.719-2.056.719-3.244 0-1.075-.171-1.948-.515-2.622-.545-1.06-1.483-1.59-2.815-1.59-1.181 0-2.041.452-2.578 1.354-.537.902-.805 1.991-.805 3.266 0 1.224.268 2.245.805 3.061.537.817 1.39 1.225 2.557 1.225zm.075-10.592c1.482 0 2.736.494 3.76 1.483 1.024.988 1.536 2.442 1.536 4.36 0 1.856-.451 3.388-1.354 4.598-.902 1.21-2.302 1.816-4.2 1.816-1.582 0-2.839-.534-3.77-1.6-.931-1.075-1.397-2.514-1.397-4.319 0-1.934.491-3.473 1.472-4.62.981-1.145 2.299-1.718 3.953-1.718zm11.666.129c.902 0 1.69.222 2.363.666.366.25.738.616 1.117 1.096v-1.45h1.784v10.462c0 1.461-.215 2.614-.645 3.46-.802 1.56-2.317 2.341-4.544 2.341-1.239 0-2.281-.28-3.126-.838-.845-.551-1.317-1.418-1.418-2.6h1.966c.093.516.279.914.559 1.193.437.43 1.124.645 2.062.645 1.483 0 2.453-.523 2.911-1.569.272-.616.398-1.715.376-3.298-.386.588-.852 1.024-1.396 1.311-.544.286-1.264.43-2.159.43-1.246 0-2.339-.44-3.277-1.322-.931-.888-1.396-2.352-1.396-4.393 0-1.927.469-3.43 1.407-4.512.945-1.081 2.084-1.622 3.416-1.622zm3.48 5.908c0-1.425-.293-2.481-.88-3.169-.588-.687-1.336-1.031-2.245-1.031-1.361 0-2.292.637-2.793 1.912-.265.68-.398 1.572-.398 2.675 0 1.296.261 2.284.784 2.965.53.673 1.239 1.01 2.127 1.01 1.39 0 2.367-.627 2.933-1.88.315-.71.472-1.536.472-2.482zm9.271 4.555c1.282 0 2.159-.483 2.632-1.45.48-.974.72-2.056.72-3.244 0-1.075-.172-1.948-.516-2.622-.544-1.06-1.482-1.59-2.815-1.59-1.181 0-2.041.452-2.578 1.354-.537.902-.805 1.991-.805 3.266 0 1.224.268 2.245.805 3.061.537.817 1.39 1.225 2.557 1.225zm.075-10.592c1.483 0 2.736.494 3.76 1.483 1.024.988 1.536 2.442 1.536 4.36 0 1.856-.451 3.388-1.353 4.598-.903 1.21-2.303 1.816-4.201 1.816-1.582 0-2.839-.534-3.77-1.6-.931-1.075-1.397-2.514-1.397-4.319 0-1.934.491-3.473 1.472-4.62.981-1.145 2.299-1.718 3.953-1.718z" fill="#000"/><path fill="#624691" d="M0 2h15v36H0z"/><path fill="#49943C" d="M20 2h15v36H20z"/><path fill="#EB6B24" d="M40 2h15v36H40z"/></svg>
|
package/layout/_template.njk
CHANGED
|
@@ -157,11 +157,15 @@
|
|
|
157
157
|
"phase": pageConfig.phase,
|
|
158
158
|
"assetsURL": assetsURL,
|
|
159
159
|
"serviceLinks": pageConfig.serviceLinks,
|
|
160
|
-
"
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
"
|
|
160
|
+
"noMasthead": pageConfig.header.noMasthead,
|
|
161
|
+
"orgLogo": pageConfig.header.orgLogo,
|
|
162
|
+
"orgMobileLogo": pageConfig.header.orgMobileLogo,
|
|
163
|
+
"orgLogoAlt": pageConfig.header.orgLogoAlt,
|
|
164
|
+
"orgLogoHref": pageConfig.header.orgLogoHref,
|
|
164
165
|
"titleLogo": pageConfig.header.titleLogo,
|
|
166
|
+
"titleLogoClasses": pageConfig.header.titleLogoClasses,
|
|
167
|
+
"titleMobileLogo": pageConfig.header.titleMobileLogo,
|
|
168
|
+
"titleMobileLogoClasses": pageConfig.header.titleMobileLogoClasses,
|
|
165
169
|
"titleLogoAlt": pageConfig.header.titleLogoAlt,
|
|
166
170
|
"titleLogoHref": pageConfig.header.titleLogoHref,
|
|
167
171
|
"customHeaderLogo": pageConfig.header.customHeaderLogo
|