@madgex/design-system 1.20.3 → 1.21.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/_tokens/css/_tokens.css +5 -1
- package/dist/_tokens/js/_tokens-module.js +71 -1
- package/dist/_tokens/scss/_tokens.scss +11 -1
- package/dist/assets/icons.json +1 -1
- package/dist/assets/icons.svg +1 -1
- package/dist/css/index.css +27 -2
- package/dist/js/index.js +8 -1
- package/docs/tokens/icons.njk +7 -8
- package/fractal-theme/assets/css/styles.css +14 -0
- package/gulp-tasks/js-bundle.js +1 -1
- package/gulp-tasks/svgsprite.js +5 -0
- package/package.json +4 -2
- package/src/components/icons/README.md +33 -0
- package/src/components/{icon → icons}/_template.njk +3 -3
- package/src/components/icons/icons.config.js +4 -0
- package/src/components/icons/icons.njk +31 -0
- package/src/components/icons/icons.scss +31 -0
- package/src/icons/chevron-left.svg +9 -0
- package/src/icons/chevron-right.svg +9 -0
- package/src/icons/email.svg +9 -0
- package/src/icons/job.svg +15 -0
- package/src/icons/location-pin.svg +13 -0
- package/src/icons/menu.svg +15 -0
- package/src/icons/search.svg +15 -0
- package/src/icons/social-facebook.svg +12 -0
- package/src/icons/social-linkedIn.svg +16 -0
- package/src/icons/social-twitter.svg +12 -0
- package/src/icons/star-fill.svg +11 -0
- package/src/icons/star-outline.svg +9 -0
- package/src/icons/user.svg +9 -0
- package/src/js/index-polyfills.js +2 -0
- package/src/js/index.js +0 -1
- package/src/scss/index.scss +1 -1
- package/src/tokens/size.json +6 -0
- package/src/components/icon/README.md +0 -13
- package/src/components/icon/icon.config.js +0 -20
- package/src/components/icon/icon.njk +0 -5
- package/src/components/icon/icon.scss +0 -6
- package/src/icons/bike.svg +0 -4
- package/src/icons/camera.svg +0 -7
- package/src/icons/facebook.svg +0 -8
- package/src/icons/linkedin.svg +0 -10
- package/src/icons/twitter.svg +0 -8
- /package/src/components/{icon → icons}/_macro.njk +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 07 Aug 2019 12:40:24 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -144,4 +144,8 @@
|
|
|
144
144
|
--mds-size-wrapper-padding: 1.5%;
|
|
145
145
|
--mds-size-surface-padding: 28px 32px;
|
|
146
146
|
--mds-size-button-border-radius: 4px;
|
|
147
|
+
--mds-size-icon-default: 1em;
|
|
148
|
+
--mds-size-icon-sm: 16px;
|
|
149
|
+
--mds-size-icon-md: 24px;
|
|
150
|
+
--mds-size-icon-lg: 32px;
|
|
147
151
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 07 Aug 2019 12:40:25 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
@@ -2954,6 +2954,76 @@ module.exports = {
|
|
|
2954
2954
|
]
|
|
2955
2955
|
}
|
|
2956
2956
|
}
|
|
2957
|
+
},
|
|
2958
|
+
"icon": {
|
|
2959
|
+
"default": {
|
|
2960
|
+
"value": "1rem",
|
|
2961
|
+
"original": {
|
|
2962
|
+
"value": "1em"
|
|
2963
|
+
},
|
|
2964
|
+
"name": "MdsSizeIconDefault",
|
|
2965
|
+
"attributes": {
|
|
2966
|
+
"category": "size",
|
|
2967
|
+
"type": "icon",
|
|
2968
|
+
"item": "default"
|
|
2969
|
+
},
|
|
2970
|
+
"path": [
|
|
2971
|
+
"size",
|
|
2972
|
+
"icon",
|
|
2973
|
+
"default"
|
|
2974
|
+
]
|
|
2975
|
+
},
|
|
2976
|
+
"sm": {
|
|
2977
|
+
"value": "16rem",
|
|
2978
|
+
"original": {
|
|
2979
|
+
"value": "16px"
|
|
2980
|
+
},
|
|
2981
|
+
"name": "MdsSizeIconSm",
|
|
2982
|
+
"attributes": {
|
|
2983
|
+
"category": "size",
|
|
2984
|
+
"type": "icon",
|
|
2985
|
+
"item": "sm"
|
|
2986
|
+
},
|
|
2987
|
+
"path": [
|
|
2988
|
+
"size",
|
|
2989
|
+
"icon",
|
|
2990
|
+
"sm"
|
|
2991
|
+
]
|
|
2992
|
+
},
|
|
2993
|
+
"md": {
|
|
2994
|
+
"value": "24rem",
|
|
2995
|
+
"original": {
|
|
2996
|
+
"value": "24px"
|
|
2997
|
+
},
|
|
2998
|
+
"name": "MdsSizeIconMd",
|
|
2999
|
+
"attributes": {
|
|
3000
|
+
"category": "size",
|
|
3001
|
+
"type": "icon",
|
|
3002
|
+
"item": "md"
|
|
3003
|
+
},
|
|
3004
|
+
"path": [
|
|
3005
|
+
"size",
|
|
3006
|
+
"icon",
|
|
3007
|
+
"md"
|
|
3008
|
+
]
|
|
3009
|
+
},
|
|
3010
|
+
"lg": {
|
|
3011
|
+
"value": "32rem",
|
|
3012
|
+
"original": {
|
|
3013
|
+
"value": "32px"
|
|
3014
|
+
},
|
|
3015
|
+
"name": "MdsSizeIconLg",
|
|
3016
|
+
"attributes": {
|
|
3017
|
+
"category": "size",
|
|
3018
|
+
"type": "icon",
|
|
3019
|
+
"item": "lg"
|
|
3020
|
+
},
|
|
3021
|
+
"path": [
|
|
3022
|
+
"size",
|
|
3023
|
+
"icon",
|
|
3024
|
+
"lg"
|
|
3025
|
+
]
|
|
3026
|
+
}
|
|
2957
3027
|
}
|
|
2958
3028
|
}
|
|
2959
3029
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
3
|
Do not edit directly
|
|
4
|
-
Generated on
|
|
4
|
+
Generated on Wed, 07 Aug 2019 12:40:25 GMT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
$mds-color-brand-1-base: #1b75bb !default;
|
|
@@ -144,6 +144,10 @@ $mds-size-wrapper-max-width: 1280px !default;
|
|
|
144
144
|
$mds-size-wrapper-padding: 1.5% !default;
|
|
145
145
|
$mds-size-surface-padding: 28px 32px !default;
|
|
146
146
|
$mds-size-button-border-radius: 4px !default;
|
|
147
|
+
$mds-size-icon-default: 1em !default;
|
|
148
|
+
$mds-size-icon-sm: 16px !default;
|
|
149
|
+
$mds-size-icon-md: 24px !default;
|
|
150
|
+
$mds-size-icon-lg: 32px !default;
|
|
147
151
|
|
|
148
152
|
$tokens: (
|
|
149
153
|
'color': (
|
|
@@ -432,6 +436,12 @@ $tokens: (
|
|
|
432
436
|
'border': (
|
|
433
437
|
'radius': $mds-size-button-border-radius
|
|
434
438
|
)
|
|
439
|
+
),
|
|
440
|
+
'icon': (
|
|
441
|
+
'default': $mds-size-icon-default,
|
|
442
|
+
'sm': $mds-size-icon-sm,
|
|
443
|
+
'md': $mds-size-icon-md,
|
|
444
|
+
'lg': $mds-size-icon-lg
|
|
435
445
|
)
|
|
436
446
|
)
|
|
437
447
|
);
|
package/dist/assets/icons.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"
|
|
1
|
+
[{"name":"chevron-left"},{"name":"chevron-right"},{"name":"email"},{"name":"job"},{"name":"location-pin"},{"name":"menu"},{"name":"search"},{"name":"social-facebook"},{"name":"social-linkedIn"},{"name":"social-twitter"},{"name":"star-fill"},{"name":"star-outline"},{"name":"user"}]
|
package/dist/assets/icons.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><symbol id="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><symbol id="chevron-left" viewBox="0 0 24 24"><path d="M4.5 12a2.3 2.3 0 01.78-1.729L16.432.46a1.847 1.847 0 012.439 2.773l-9.752 8.579a.25.25 0 000 .376l9.752 8.579a1.847 1.847 0 01-2.439 2.773L5.284 13.732A2.31 2.31 0 014.5 12z" fill-rule="nonzero"/></symbol><symbol id="chevron-right" viewBox="0 0 24 24"><path d="M19.5 12a2.3 2.3 0 01-.78 1.729L7.568 23.54a1.847 1.847 0 01-2.439-2.773l9.752-8.579a.25.25 0 000-.376L5.129 3.233A1.847 1.847 0 017.568.46l11.148 9.808A2.31 2.31 0 0119.5 12z" fill-rule="nonzero"/></symbol><symbol id="email" viewBox="0 0 24 24"><path d="M11.114 14.556L1.43 4.87a.5.5 0 01.281-.849C1.807 4.007 1.903 4 2 4h20c.096 0 .192.007.287.021a.5.5 0 01.281.849l-9.686 9.686a1.252 1.252 0 01-1.768 0zm12.774-8.724A.181.181 0 0124 6v12a2 2 0 01-2 2H2a2 2 0 01-2-2V6c0-.073.045-.138.112-.166a.18.18 0 01.2.039l6.2 6.2a.251.251 0 010 .354L1.469 17.47a.75.75 0 001.06 1.061l5.043-5.043a.251.251 0 01.354 0l2.131 2.127a2.75 2.75 0 003.888 0l2.129-2.129a.25.25 0 01.354 0l5.043 5.043a.75.75 0 101.06-1.061l-5.043-5.043a.251.251 0 010-.354l6.2-6.2a.182.182 0 01.2-.039z" fill-rule="nonzero"/></symbol><symbol id="job" viewBox="0 0 24 24"><path d="M3 22.5h18a3 3 0 003-3v-11a3 3 0 00-3-3h-3.9a.25.25 0 01-.248-.219l-.144-1.153A3 3 0 0013.734 1.5h-3.468a3 3 0 00-2.977 2.628l-.144 1.153A.25.25 0 016.9 5.5H3a3 3 0 00-3 3v11a3 3 0 003 3zM9.273 4.376a1 1 0 01.993-.876h3.468a1 1 0 01.993.876l.105.844a.25.25 0 01-.248.28H9.416a.25.25 0 01-.248-.28l.105-.844zM5.25 11a.75.75 0 01.75-.75h12a.75.75 0 01.75.75v.5a.75.75 0 01-.75.75H6a.75.75 0 01-.75-.75V11zm0 5.5a.75.75 0 01.75-.75h12a.75.75 0 01.75.75v.5a.75.75 0 01-.75.75H6a.75.75 0 01-.75-.75v-.5z" fill-rule="nonzero"/></symbol><symbol id="location-pin" viewBox="0 0 24 24"><path d="M12 0a8.009 8.009 0 00-8 8c0 3.51 5 12.025 7.148 15.524a1 1 0 001.704-.001C15 20.026 20 11.514 20 8a8.009 8.009 0 00-8-8zm0 11.5a3.5 3.5 0 110-7 3.5 3.5 0 010 7z" fill-rule="nonzero"/></symbol><symbol id="menu" viewBox="0 0 24 24"><g transform="translate(1 2.429)" fill-rule="nonzero"><rect width="22" height="4.222" rx="1.5"/><rect y="7.389" width="22" height="4.222" rx="1.5"/><rect y="14.778" width="22" height="4.222" rx="1.5"/></g></symbol><symbol id="search" viewBox="0 0 24 24"><path d="M23.384 21.619l-6.529-6.529a9.284 9.284 0 10-1.768 1.768l6.529 6.529c.492.48 1.276.48 1.768 0a1.251 1.251 0 000-1.768zM2.75 9.5a6.75 6.75 0 116.75 6.75A6.758 6.758 0 012.75 9.5z" fill-rule="nonzero"/></symbol><symbol id="social-facebook" viewBox="0 0 32 32"><g fill-rule="evenodd"><path d="M16.894 4h3.894V8c-.389 0-.733-.004-1.077.002-.508.007-1.019-.009-1.524.042-.647.064-.952.372-.98 1.02-.036.827-.013 1.657-.014 2.486 0 .013.02.025.053.064H20.8l-.422 3.998h-3.193v8.504c0 1.034.004 2.068.006 3.102h-4.832c.005-.057.012-.114.012-.17v-11.21c0-.07-.01-.141-.018-.236H10V11.6h2.37c0-.294-.002-.563.001-.831.013-1.042-.046-2.084.134-3.12.334-1.926 1.397-3.062 3.3-3.482.357-.08.725-.112 1.089-.166"/></g></symbol><symbol id="social-linkedIn" viewBox="0 0 32 32"><g fill-rule="evenodd"><path d="M12.97 26.687c-.017-.084-.048-.167-.048-.25.01-4.744.023-9.488.037-14.232 0-.043.009-.086.015-.146h4.9v1.945l.056.011c.153-.198.3-.402.462-.594.844-1.004 1.934-1.556 3.245-1.678 1.465-.136 2.848.09 4.058.972 1.104.805 1.72 1.926 2.023 3.221.118.502.16 1.021.236 1.533.014.086.03.172.046.257v8.961H23.08c-.002-.14-.005-.28-.005-.42 0-2.426.013-4.85-.01-7.274a6.881 6.881 0 00-.214-1.717c-.456-1.7-2.488-2.315-3.881-1.203-.758.604-1.096 1.387-1.09 2.35.015 2.644.005 5.288.003 7.932 0 .111-.029.222-.045.332H12.97zM5.321 26.687c-.01-.112-.028-.226-.028-.338-.002-4.656-.001-9.31-.001-13.966v-.326h4.92c.004.09.013.183.013.276v14.071c0 .095-.024.189-.037.283H5.321zM5 7.13c.045-.15.084-.302.137-.45.386-1.078 1.45-1.73 2.743-1.677 1.083.044 1.957.444 2.423 1.466.748 1.64-.313 3.416-2.132 3.55a4.24 4.24 0 01-1.346-.105c-.948-.243-1.527-.883-1.765-1.82L5 7.868V7.13z"/></g></symbol><symbol id="social-twitter" viewBox="0 0 32 32"><g fill-rule="evenodd"><path d="M21.433 7h.064l-.384.688c.359-.074.75-.179 1.149-.225.132-.015.282.123.424.191-.075.14-.117.342-.234.407-.276.154-.585.252-.887.355-.295.099-.596.176-.894.263 1.246.077 2.332.495 3.278 1.28 1.135.942 1.848 2.145 2.183 3.573.055.233.147.359.395.357.447-.003.9.049 1.338-.007.477-.06.94-.217 1.445-.34-.561 1.09-1.559 1.456-2.648 1.714.462.126.91.231 1.363.27.447.038.9.008 1.41.008-.91.906-1.985 1.177-3.141 1.185-.742 2.039-1.035 2.671-1.816 3.639-2.403 2.975-5.6 4.463-9.326 4.946-.431.056-.865.087-1.299.13h-.835c-.09-.017-.182-.046-.274-.051-3.208-.162-6.017-1.293-8.377-3.483-.49-.455-.913-.983-1.367-1.478l.062-.055c3.428 2.76 7.71 1.562 9.483-.462-.071-.01-.133-.013-.193-.027-.328-.082-.685-.11-.98-.26-.764-.395-.808-1.183-.128-1.71.12-.092.25-.175.417-.292-1.37.012-2.429-.44-3.102-1.627.398-.516.973-.629 1.538-.78-1.343-.437-2.422-1.102-2.686-2.652l1.462-.227c-1.224-.792-2.131-1.723-2.117-3.293.147.05.248.079.343.12 1.558.648 3.126 1.273 4.667 1.96 1.131.503 2.263 1.026 3.178 1.9.216.205.436.403.675.623.148-.369.282-.705.418-1.04.563-1.38 1.2-2.72 2.14-3.891.449-.559.946-1.066 1.626-1.477l-.123.437L21.433 7"/></g></symbol><symbol id="star-fill" viewBox="0 0 24 24"><path d="M23.555 8.729a1.505 1.505 0 00-1.406-.98h-6.087a.5.5 0 01-.472-.334l-2.185-6.193a1.5 1.5 0 00-2.81 0l-.005.016-2.18 6.177a.5.5 0 01-.471.334H1.85A1.5 1.5 0 00.887 10.4l5.184 4.3a.5.5 0 01.155.543l-2.178 6.531a1.5 1.5 0 002.31 1.684l5.346-3.92a.5.5 0 01.591 0l5.344 3.919a1.5 1.5 0 002.312-1.683l-2.178-6.535a.5.5 0 01.155-.543l5.194-4.306a1.5 1.5 0 00.433-1.661z" fill-rule="evenodd"/></symbol><symbol id="star-outline" viewBox="0 0 24 24"><path d="M23.901 8.657a1.616 1.616 0 00-1.512-1.046h-6.538L13.51 1.038A1.612 1.612 0 0011.99 0a1.611 1.611 0 00-1.507 1.058L8.15 7.61H1.612c-.678 0-1.283.421-1.515 1.053a1.59 1.59 0 00.48 1.771l5.535 4.547-2.323 6.91a1.59 1.59 0 00.577 1.798c.567.411 1.338.41 1.904-.001L12 19.527l5.73 4.164a1.623 1.623 0 001.902.002 1.59 1.59 0 00.58-1.795l-2.324-6.913 5.548-4.559a1.594 1.594 0 00.465-1.769zm-7.996 5.127c-.35.287-.485.757-.342 1.184l1.704 5.069a.271.271 0 01-.098.307.277.277 0 01-.325 0l-4.194-3.052a1.108 1.108 0 00-1.302 0l-4.189 3.046a.277.277 0 01-.324 0 .271.271 0 01-.1-.305l1.704-5.07a1.085 1.085 0 00-.341-1.184L3.83 10.276a.271.271 0 01-.084-.303.275.275 0 01.259-.18H8.93a1.1 1.1 0 001.037-.729l1.774-4.983a.275.275 0 01.52 0l1.772 4.983a1.1 1.1 0 001.037.729h4.924a.271.271 0 01.175.483l-4.264 3.508z" fill-rule="nonzero"/></symbol><symbol id="user" viewBox="0 0 24 24"><path d="M12 11.75a5.5 5.5 0 110-11 5.5 5.5 0 010 11zm0 1.5a9.511 9.511 0 019.5 9.5.5.5 0 01-.5.5H3a.5.5 0 01-.5-.5 9.511 9.511 0 019.5-9.5z" fill-rule="nonzero"/></symbol></svg>
|
package/dist/css/index.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
Do not edit directly
|
|
3
|
-
Generated on
|
|
3
|
+
Generated on Wed, 07 Aug 2019 12:40:25 GMT
|
|
4
4
|
*/
|
|
5
5
|
html,
|
|
6
6
|
body,
|
|
@@ -1406,9 +1406,34 @@ body {
|
|
|
1406
1406
|
|
|
1407
1407
|
.mds-icon {
|
|
1408
1408
|
display: inline-block;
|
|
1409
|
+
fill: currentColor;
|
|
1409
1410
|
width: 1em;
|
|
1410
1411
|
height: 1em;
|
|
1411
|
-
|
|
1412
|
+
position: relative;
|
|
1413
|
+
top: 0.125em;
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
.mds-icon--sm {
|
|
1417
|
+
width: 16px;
|
|
1418
|
+
height: 16px;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
.mds-icon--md {
|
|
1422
|
+
width: 24px;
|
|
1423
|
+
height: 24px;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
.mds-icon--lg {
|
|
1427
|
+
width: 32px;
|
|
1428
|
+
height: 32px;
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
.mds-icon--before {
|
|
1432
|
+
margin-right: 0.66em;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
.mds-icon--after {
|
|
1436
|
+
margin-left: 0.66em;
|
|
1412
1437
|
}
|
|
1413
1438
|
|
|
1414
1439
|
.mds-button {
|
package/dist/js/index.js
CHANGED
|
@@ -1 +1,8 @@
|
|
|
1
|
-
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=83)}([function(t,e,n){(function(e){var n="object",r=function(t){return t&&t.Math==Math&&t};t.exports=r(typeof globalThis==n&&globalThis)||r(typeof window==n&&window)||r(typeof self==n&&self)||r(typeof e==n&&e)||Function("return this")()}).call(this,n(45))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(0),o=n(11),i=n(33),c=n(60),u=r.Symbol,a=o("wks");t.exports=function(t){return a[t]||(a[t]=c&&u[t]||(c?u:i)("Symbol."+t))}},function(t,e,n){var r=n(7),o=n(8),i=n(9);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var r=n(1);t.exports=!r(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(7),o=n(28),i=n(6),c=n(16),u=Object.defineProperty;e.f=r?u:function(t,e,n){if(i(t),e=c(e,!0),i(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(0),o=n(17),i=n(18),c=r["__core-js_shared__"]||o("__core-js_shared__",{});(t.exports=function(t,e){return c[t]||(c[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.1.3",mode:i?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports={}},function(t,e,n){var r=n(0),o=n(26).f,i=n(4),c=n(30),u=n(17),a=n(48),f=n(55);t.exports=function(t,e){var n,s,l,p,v,y=t.target,d=t.global,b=t.stat;if(n=d?r:b?r[y]||u(y,{}):(r[y]||{}).prototype)for(s in e){if(p=e[s],l=t.noTargetGet?(v=o(n,s))&&v.value:n[s],!f(d?s:y+(b?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(n,s,p,t)}}},function(t,e,n){var r=n(27),o=n(10);t.exports=function(t){return r(o(t))}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(5);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(0),o=n(4);t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},function(t,e){t.exports=!1},function(t,e,n){var r=n(11),o=n(33),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(22),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r=n(10);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(13),o=n(56);r({target:"Array",stat:!0,forced:!n(64)(function(t){Array.from(t)})},{from:o})},function(t,e,n){var r=n(7),o=n(46),i=n(9),c=n(14),u=n(16),a=n(2),f=n(28),s=Object.getOwnPropertyDescriptor;e.f=r?s:function(t,e){if(t=c(t),e=u(e,!0),f)try{return s(t,e)}catch(t){}if(a(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,n){var r=n(1),o=n(15),i="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,n){var r=n(7),o=n(1),i=n(29);t.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(0),o=n(5),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,e,n){var r=n(0),o=n(11),i=n(4),c=n(2),u=n(17),a=n(31),f=n(32),s=f.get,l=f.enforce,p=String(a).split("toString");o("inspectSource",function(t){return a.call(t)}),(t.exports=function(t,e,n,o){var a=!!o&&!!o.unsafe,f=!!o&&!!o.enumerable,s=!!o&&!!o.noTargetGet;"function"==typeof n&&("string"!=typeof e||c(n,"name")||i(n,"name",e),l(n).source=p.join("string"==typeof e?e:"")),t!==r?(a?!s&&t[e]&&(f=!0):delete t[e],f?t[e]=n:i(t,e,n)):f?t[e]=n:u(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&s(this).source||a.call(this)})},function(t,e,n){var r=n(11);t.exports=r("native-function-to-string",Function.toString)},function(t,e,n){var r,o,i,c=n(47),u=n(0),a=n(5),f=n(4),s=n(2),l=n(19),p=n(20),v=u.WeakMap;if(c){var y=new v,d=y.get,b=y.has,h=y.set;r=function(t,e){return h.call(y,t,e),e},o=function(t){return d.call(y,t)||{}},i=function(t){return b.call(y,t)}}else{var g=l("state");p[g]=!0,r=function(t,e){return f(t,g,e),e},o=function(t){return s(t,g)?t[g]:{}},i=function(t){return s(t,g)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!a(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e,n){var r=n(50),o=n(0),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},function(t,e,n){var r=n(2),o=n(14),i=n(52).indexOf,c=n(20);t.exports=function(t,e){var n,u=o(t),a=0,f=[];for(n in u)!r(c,n)&&r(u,n)&&f.push(n);for(;e.length>a;)r(u,n=e[a++])&&(~i(f,n)||f.push(n));return f}},function(t,e,n){var r=n(57);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r=n(65).charAt,o=n(32),i=n(66),c=o.set,u=o.getterFor("String Iterator");i(String,"String",function(t){c(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,e=u(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r,o,i,c=n(39),u=n(4),a=n(2),f=n(3),s=n(18),l=f("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),s||a(r,l)||u(r,l,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(t,e,n){var r=n(2),o=n(24),i=n(19),c=n(68),u=i("IE_PROTO"),a=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),r(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(8).f,o=n(2),i=n(3)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=n(13),o=n(75).trim;r({target:"String",proto:!0,forced:n(76)("trim")},{trim:function(){return o(this)}})},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,n){var r=n(0),o=n(77),i=n(78),c=n(4);for(var u in o){var a=r[u],f=a&&a.prototype;if(f&&f.forEach!==i)try{c(f,"forEach",i)}catch(t){f.forEach=i}}},function(t,e){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null})},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(0),o=n(31),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o.call(i))},function(t,e,n){var r=n(2),o=n(49),i=n(26),c=n(8);t.exports=function(t,e){for(var n=o(e),u=c.f,a=i.f,f=0;f<n.length;f++){var s=n[f];r(t,s)||u(t,s,a(e,s))}}},function(t,e,n){var r=n(34),o=n(51),i=n(54),c=n(6);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(c(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){t.exports=n(0)},function(t,e,n){var r=n(35),o=n(23).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(14),o=n(21),i=n(53),c=function(t){return function(e,n,c){var u,a=r(e),f=o(a.length),s=i(c,f);if(t&&n!=n){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},function(t,e,n){var r=n(22),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(1),o=/#|\.prototype\./,i=function(t,e){var n=u[c(t)];return n==f||n!=a&&("function"==typeof e?r(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,e,n){"use strict";var r=n(36),o=n(24),i=n(58),c=n(59),u=n(21),a=n(61),f=n(62);t.exports=function(t){var e,n,s,l,p=o(t),v="function"==typeof this?this:Array,y=arguments.length,d=y>1?arguments[1]:void 0,b=void 0!==d,h=0,g=f(p);if(b&&(d=r(d,y>2?arguments[2]:void 0,2)),null==g||v==Array&&c(g))for(n=new v(e=u(p.length));e>h;h++)a(n,h,b?d(p[h],h):p[h]);else for(l=g.call(p),n=new v;!(s=l.next()).done;h++)a(n,h,b?i(l,d,[s.value,h],!0):s.value);return n.length=h,n}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){var r=n(6);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(3),o=n(12),i=r("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},function(t,e,n){var r=n(1);t.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},function(t,e,n){"use strict";var r=n(16),o=n(8),i=n(9);t.exports=function(t,e,n){var c=r(e);c in t?o.f(t,c,i(0,n)):t[c]=n}},function(t,e,n){var r=n(63),o=n(12),i=n(3)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(15),o=n(3)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(c=r(e))&&"function"==typeof e.callee?"Arguments":c}},function(t,e,n){var r=n(3)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[r]=function(){return this},Array.from(c,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},function(t,e,n){var r=n(22),o=n(10),i=function(t){return function(e,n){var i,c,u=String(o(e)),a=r(n),f=u.length;return a<0||a>=f?t?"":void 0:(i=u.charCodeAt(a))<55296||i>56319||a+1===f||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,e,n){"use strict";var r=n(13),o=n(67),i=n(39),c=n(73),u=n(40),a=n(4),f=n(30),s=n(3),l=n(18),p=n(12),v=n(38),y=v.IteratorPrototype,d=v.BUGGY_SAFARI_ITERATORS,b=s("iterator"),h=function(){return this};t.exports=function(t,e,n,s,v,g,m){o(n,e,s);var x,S,A,_=function(t){if(t===v&&P)return P;if(!d&&t in w)return w[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},O=e+" Iterator",T=!1,w=t.prototype,E=w[b]||w["@@iterator"]||v&&w[v],P=!d&&E||_(v),j="Array"==e&&w.entries||E;if(j&&(x=i(j.call(new t)),y!==Object.prototype&&x.next&&(l||i(x)===y||(c?c(x,y):"function"!=typeof x[b]&&a(x,b,h)),u(x,O,!0,!0),l&&(p[O]=h))),"values"==v&&E&&"values"!==E.name&&(T=!0,P=function(){return E.call(this)}),l&&!m||w[b]===P||a(w,b,P),p[e]=P,v)if(S={values:_("values"),keys:g?P:_("keys"),entries:_("entries")},m)for(A in S)!d&&!T&&A in w||f(w,A,S[A]);else r({target:e,proto:!0,forced:d||T},S);return S}},function(t,e,n){"use strict";var r=n(38).IteratorPrototype,o=n(69),i=n(9),c=n(40),u=n(12),a=function(){return this};t.exports=function(t,e,n){var f=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),c(t,f,!1,!0),u[f]=a,t}},function(t,e,n){var r=n(1);t.exports=!r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},function(t,e,n){var r=n(6),o=n(70),i=n(23),c=n(20),u=n(72),a=n(29),f=n(19)("IE_PROTO"),s=function(){},l=function(){var t,e=a("iframe"),n=i.length;for(e.style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;n--;)delete l.prototype[i[n]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[f]=t):n=l(),void 0===e?n:o(n,e)},c[f]=!0},function(t,e,n){var r=n(7),o=n(8),i=n(6),c=n(71);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=c(e),u=r.length,a=0;u>a;)o.f(t,n=r[a++],e[n]);return t}},function(t,e,n){var r=n(35),o=n(23);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(34);t.exports=r("document","documentElement")},function(t,e,n){var r=n(6),o=n(74);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){var r=n(10),o="["+n(42)+"]",i=RegExp("^"+o+o+"*"),c=RegExp(o+o+"*$"),u=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(c,"")),n}};t.exports={start:u(1),end:u(2),trim:u(3)}},function(t,e,n){var r=n(1),o=n(42);t.exports=function(t){return r(function(){return!!o[t]()||"
"!="
"[t]()||o[t].name!==t})}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){"use strict";var r=n(79).forEach,o=n(82);t.exports=o("forEach")?function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach},function(t,e,n){var r=n(36),o=n(27),i=n(24),c=n(21),u=n(80),a=[].push,f=function(t){var e=1==t,n=2==t,f=3==t,s=4==t,l=6==t,p=5==t||l;return function(v,y,d,b){for(var h,g,m=i(v),x=o(m),S=r(y,d,3),A=c(x.length),_=0,O=b||u,T=e?O(v,A):n?O(v,0):void 0;A>_;_++)if((p||_ in x)&&(g=S(h=x[_],_,m),t))if(e)T[_]=g;else if(g)switch(t){case 3:return!0;case 5:return h;case 6:return _;case 2:a.call(T,h)}else if(s)return!1;return l?-1:f||s?s:T}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6)}},function(t,e,n){var r=n(5),o=n(81),i=n(3)("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},function(t,e,n){var r=n(15);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";var r=n(1);t.exports=function(t,e){var n=[][t];return!n||!r(function(){n.call(null,e||function(){throw 1},1)})}},function(t,e,n){"use strict";n.r(e);n(44),n(25),n(37),n(41),n(43);window.addEventListener("hashchange",function(){var t=window.location.hash.trim();Array.from(document.querySelectorAll("a[href='".concat(t,"']"))).forEach(function(t){t.click()})},!1);var r=37,o=39,i=38,c=40,u={init:function(){var t=Array.from(document.querySelectorAll(".".concat("mds-tabs__list"))),e=Array.from(document.querySelectorAll(".".concat("mds-tabs__list-item"))),n=Array.from(document.querySelectorAll(".".concat("mds-tabs__tab"))),a=Array.from(document.querySelectorAll(".".concat("mds-tabs__panel")));t.forEach(function(t){t.setAttribute("role","tablist")}),e.forEach(function(t){t.setAttribute("role","presentation")}),n.forEach(function(t){t.setAttribute("role","tab"),t.setAttribute("aria-controls",t.attributes.href.value.substring(1)),t.classList.contains("mds-tabs__tab--selected")?t.setAttribute("tabindex","0"):t.setAttribute("tabindex","-1")}),a.forEach(function(t){t.setAttribute("role","tabpanel"),t.setAttribute("aria-labelledby",t.attributes.id.value)});var f=document.querySelectorAll(".".concat("js-tabs-item"));Array.from(f).forEach(function(t){var e=window.location.hash.trim(),n=t.attributes.href.value,r=t.closest(".".concat("mds-tabs")),o=u.getAllPanels(r),i=u.getAllTabs(r),c=u.getTargetPanel(t,r);t.addEventListener("click",function(e){e.preventDefault(),u.updateTabs(i,o,t,c,n)}),n===e&&u.updateTabs(i,o,t,c,n)}),t.forEach(function(t){var e=t.closest(".".concat("mds-tabs")),n=u.getAllPanels(e),a=u.getAllTabs(e);t.addEventListener("keydown",function(f){switch(f.keyCode){case r:case i:f.preventDefault(),u.moveTab(t,e,a,n,!1);break;case o:case c:f.preventDefault(),u.moveTab(t,e,a,n,!0)}})})},getSelectedTab:function(t){return t.querySelector(".".concat("mds-tabs__tab--selected"))},getPrevTab:function(t){return!!t.parentElement.previousSibling&&t.parentElement.previousSibling.querySelector(".".concat("mds-tabs__tab"))},getNextTab:function(t){return!!t.parentElement.nextSibling&&t.parentElement.nextSibling.querySelector(".".concat("mds-tabs__tab"))},getTargetPanel:function(t,e){var n=t.attributes.href.value;return e.querySelector(n)},getAllPanels:function(t){return Array.from(t.querySelectorAll(".".concat("mds-tabs__panel")))},getAllTabs:function(t){return Array.from(t.querySelectorAll(".".concat("mds-tabs__tab")))},moveTab:function(t,e,n,r,o){var i=u.getSelectedTab(t),c=o?u.getNextTab(i):u.getPrevTab(i);if(c){var a=c.attributes.href.value,f=u.getTargetPanel(c,e);u.updateTabs(n,r,c,f,a,!1)}},updateTabs:function(t,e,n,r,o){u.clearAllTabs(t),u.setActiveTab(n),u.clearAllPanels(e),u.setActivePanel(r,o)},clearAllTabs:function(t){t.forEach(function(t){t.classList.remove("mds-tabs__tab--selected"),t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1")})},clearAllPanels:function(t){t.forEach(function(t){t.classList.add("mds-tabs__panel--hidden")})},setActiveTab:function(t){t.classList.add("mds-tabs__tab--selected"),t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0"),t.focus()},setActivePanel:function(t,e){t.classList.remove("mds-tabs__panel--hidden"),window.history.replaceState({},"",e)}},a=u;document.addEventListener("DOMContentLoaded",function(){a.init()})}]);
|
|
1
|
+
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=44)}([function(t,e,n){(function(e){var n="object",r=function(t){return t&&t.Math==Math&&t};t.exports=r(typeof globalThis==n&&globalThis)||r(typeof window==n&&window)||r(typeof self==n&&self)||r(typeof e==n&&e)||Function("return this")()}).call(this,n(45))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(0),o=n(11),i=n(33),u=n(60),c=r.Symbol,a=o("wks");t.exports=function(t){return a[t]||(a[t]=u&&c[t]||(u?c:i)("Symbol."+t))}},function(t,e,n){var r=n(7),o=n(8),i=n(9);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var r=n(1);t.exports=!r(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(7),o=n(28),i=n(6),u=n(16),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(i(t),e=u(e,!0),i(n),o)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(0),o=n(17),i=n(18),u=r["__core-js_shared__"]||o("__core-js_shared__",{});(t.exports=function(t,e){return u[t]||(u[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.1.3",mode:i?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports={}},function(t,e,n){var r=n(0),o=n(26).f,i=n(4),u=n(30),c=n(17),a=n(48),s=n(55);t.exports=function(t,e){var n,f,l,p,v,d=t.target,y=t.global,h=t.stat;if(n=y?r:h?r[d]||c(d,{}):(r[d]||{}).prototype)for(f in e){if(p=e[f],l=t.noTargetGet?(v=o(n,f))&&v.value:n[f],!s(y?f:d+(h?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),u(n,f,p,t)}}},function(t,e,n){var r=n(27),o=n(10);t.exports=function(t){return r(o(t))}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(5);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(0),o=n(4);t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},function(t,e){t.exports=!1},function(t,e,n){var r=n(11),o=n(33),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(22),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r=n(10);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(13),o=n(56);r({target:"Array",stat:!0,forced:!n(64)(function(t){Array.from(t)})},{from:o})},function(t,e,n){var r=n(7),o=n(46),i=n(9),u=n(14),c=n(16),a=n(2),s=n(28),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=u(t),e=c(e,!0),s)try{return f(t,e)}catch(t){}if(a(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e,n){var r=n(1),o=n(15),i="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,n){var r=n(7),o=n(1),i=n(29);t.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(0),o=n(5),i=r.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},function(t,e,n){var r=n(0),o=n(11),i=n(4),u=n(2),c=n(17),a=n(31),s=n(32),f=s.get,l=s.enforce,p=String(a).split("toString");o("inspectSource",function(t){return a.call(t)}),(t.exports=function(t,e,n,o){var a=!!o&&!!o.unsafe,s=!!o&&!!o.enumerable,f=!!o&&!!o.noTargetGet;"function"==typeof n&&("string"!=typeof e||u(n,"name")||i(n,"name",e),l(n).source=p.join("string"==typeof e?e:"")),t!==r?(a?!f&&t[e]&&(s=!0):delete t[e],s?t[e]=n:i(t,e,n)):s?t[e]=n:c(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&f(this).source||a.call(this)})},function(t,e,n){var r=n(11);t.exports=r("native-function-to-string",Function.toString)},function(t,e,n){var r,o,i,u=n(47),c=n(0),a=n(5),s=n(4),f=n(2),l=n(19),p=n(20),v=c.WeakMap;if(u){var d=new v,y=d.get,h=d.has,b=d.set;r=function(t,e){return b.call(d,t,e),e},o=function(t){return y.call(d,t)||{}},i=function(t){return h.call(d,t)}}else{var m=l("state");p[m]=!0,r=function(t,e){return s(t,m,e),e},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!a(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e,n){var r=n(50),o=n(0),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},function(t,e,n){var r=n(2),o=n(14),i=n(52).indexOf,u=n(20);t.exports=function(t,e){var n,c=o(t),a=0,s=[];for(n in c)!r(u,n)&&r(c,n)&&s.push(n);for(;e.length>a;)r(c,n=e[a++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){var r=n(57);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r=n(65).charAt,o=n(32),i=n(66),u=o.set,c=o.getterFor("String Iterator");i(String,"String",function(t){u(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,e=c(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r,o,i,u=n(39),c=n(4),a=n(2),s=n(3),f=n(18),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),f||a(r,l)||c(r,l,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(t,e,n){var r=n(2),o=n(24),i=n(19),u=n(68),c=i("IE_PROTO"),a=Object.prototype;t.exports=u?Object.getPrototypeOf:function(t){return t=o(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(8).f,o=n(2),i=n(3)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=n(13),o=n(75).trim;r({target:"String",proto:!0,forced:n(76)("trim")},{trim:function(){return o(this)}})},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,n){var r=n(0),o=n(77),i=n(78),u=n(4);for(var c in o){var a=r[c],s=a&&a.prototype;if(s&&s.forEach!==i)try{u(s,"forEach",i)}catch(t){s.forEach=i}}},function(t,e,n){n(86),t.exports=n(83)},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(0),o=n(31),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o.call(i))},function(t,e,n){var r=n(2),o=n(49),i=n(26),u=n(8);t.exports=function(t,e){for(var n=o(e),c=u.f,a=i.f,s=0;s<n.length;s++){var f=n[s];r(t,f)||c(t,f,a(e,f))}}},function(t,e,n){var r=n(34),o=n(51),i=n(54),u=n(6);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(u(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){t.exports=n(0)},function(t,e,n){var r=n(35),o=n(23).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(14),o=n(21),i=n(53),u=function(t){return function(e,n,u){var c,a=r(e),s=o(a.length),f=i(u,s);if(t&&n!=n){for(;s>f;)if((c=a[f++])!=c)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},function(t,e,n){var r=n(22),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(1),o=/#|\.prototype\./,i=function(t,e){var n=c[u(t)];return n==s||n!=a&&("function"==typeof e?r(e):!!e)},u=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},a=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},function(t,e,n){"use strict";var r=n(36),o=n(24),i=n(58),u=n(59),c=n(21),a=n(61),s=n(62);t.exports=function(t){var e,n,f,l,p=o(t),v="function"==typeof this?this:Array,d=arguments.length,y=d>1?arguments[1]:void 0,h=void 0!==y,b=0,m=s(p);if(h&&(y=r(y,d>2?arguments[2]:void 0,2)),null==m||v==Array&&u(m))for(n=new v(e=c(p.length));e>b;b++)a(n,b,h?y(p[b],b):p[b]);else for(l=m.call(p),n=new v;!(f=l.next()).done;b++)a(n,b,h?i(l,y,[f.value,b],!0):f.value);return n.length=b,n}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){var r=n(6);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(3),o=n(12),i=r("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},function(t,e,n){var r=n(1);t.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},function(t,e,n){"use strict";var r=n(16),o=n(8),i=n(9);t.exports=function(t,e,n){var u=r(e);u in t?o.f(t,u,i(0,n)):t[u]=n}},function(t,e,n){var r=n(63),o=n(12),i=n(3)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(15),o=n(3)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){var r=n(3)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[r]=function(){return this},Array.from(u,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},function(t,e,n){var r=n(22),o=n(10),i=function(t){return function(e,n){var i,u,c=String(o(e)),a=r(n),s=c.length;return a<0||a>=s?t?"":void 0:(i=c.charCodeAt(a))<55296||i>56319||a+1===s||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):u-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,e,n){"use strict";var r=n(13),o=n(67),i=n(39),u=n(73),c=n(40),a=n(4),s=n(30),f=n(3),l=n(18),p=n(12),v=n(38),d=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,h=f("iterator"),b=function(){return this};t.exports=function(t,e,n,f,v,m,g){o(n,e,f);var x,w,S,A=function(t){if(t===v&&L)return L;if(!y&&t in O)return O[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},E=e+" Iterator",T=!1,O=t.prototype,_=O[h]||O["@@iterator"]||v&&O[v],L=!y&&_||A(v),P="Array"==e&&O.entries||_;if(P&&(x=i(P.call(new t)),d!==Object.prototype&&x.next&&(l||i(x)===d||(u?u(x,d):"function"!=typeof x[h]&&a(x,h,b)),c(x,E,!0,!0),l&&(p[E]=b))),"values"==v&&_&&"values"!==_.name&&(T=!0,L=function(){return _.call(this)}),l&&!g||O[h]===L||a(O,h,L),p[e]=L,v)if(w={values:A("values"),keys:m?L:A("keys"),entries:A("entries")},g)for(S in w)!y&&!T&&S in O||s(O,S,w[S]);else r({target:e,proto:!0,forced:y||T},w);return w}},function(t,e,n){"use strict";var r=n(38).IteratorPrototype,o=n(69),i=n(9),u=n(40),c=n(12),a=function(){return this};t.exports=function(t,e,n){var s=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),u(t,s,!1,!0),c[s]=a,t}},function(t,e,n){var r=n(1);t.exports=!r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},function(t,e,n){var r=n(6),o=n(70),i=n(23),u=n(20),c=n(72),a=n(29),s=n(19)("IE_PROTO"),f=function(){},l=function(){var t,e=a("iframe"),n=i.length;for(e.style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;n--;)delete l.prototype[i[n]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(f.prototype=r(t),n=new f,f.prototype=null,n[s]=t):n=l(),void 0===e?n:o(n,e)},u[s]=!0},function(t,e,n){var r=n(7),o=n(8),i=n(6),u=n(71);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=u(e),c=r.length,a=0;c>a;)o.f(t,n=r[a++],e[n]);return t}},function(t,e,n){var r=n(35),o=n(23);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(34);t.exports=r("document","documentElement")},function(t,e,n){var r=n(6),o=n(74);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){var r=n(10),o="["+n(42)+"]",i=RegExp("^"+o+o+"*"),u=RegExp(o+o+"*$"),c=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(u,"")),n}};t.exports={start:c(1),end:c(2),trim:c(3)}},function(t,e,n){var r=n(1),o=n(42);t.exports=function(t){return r(function(){return!!o[t]()||"
"!="
"[t]()||o[t].name!==t})}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){"use strict";var r=n(79).forEach,o=n(82);t.exports=o("forEach")?function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach},function(t,e,n){var r=n(36),o=n(27),i=n(24),u=n(21),c=n(80),a=[].push,s=function(t){var e=1==t,n=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l;return function(v,d,y,h){for(var b,m,g=i(v),x=o(g),w=r(d,y,3),S=u(x.length),A=0,E=h||c,T=e?E(v,S):n?E(v,0):void 0;S>A;A++)if((p||A in x)&&(m=w(b=x[A],A,g),t))if(e)T[A]=m;else if(m)switch(t){case 3:return!0;case 5:return b;case 6:return A;case 2:a.call(T,b)}else if(f)return!1;return l?-1:s||f?f:T}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(t,e,n){var r=n(5),o=n(81),i=n(3)("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},function(t,e,n){var r=n(15);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";var r=n(1);t.exports=function(t,e){var n=[][t];return!n||!r(function(){n.call(null,e||function(){throw 1},1)})}},function(t,e,n){"use strict";n.r(e);n(84),n(85)},function(t,e){
|
|
2
|
+
/*!
|
|
3
|
+
* @copyright Copyright (c) 2017 IcoMoon.io
|
|
4
|
+
* @license Licensed under MIT license
|
|
5
|
+
* See https://github.com/Keyamoon/svgxuse
|
|
6
|
+
* @version 1.2.6
|
|
7
|
+
*/
|
|
8
|
+
!function(){"use strict";if("undefined"!=typeof window&&window.addEventListener){var t,e,n,r=Object.create(null),o=function(){clearTimeout(e),e=setTimeout(t,100)},i=function(){},u=function(){var t;window.addEventListener("resize",o,!1),window.addEventListener("orientationchange",o,!1),window.MutationObserver?((t=new MutationObserver(o)).observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),i=function(){try{t.disconnect(),window.removeEventListener("resize",o,!1),window.removeEventListener("orientationchange",o,!1)}catch(t){}}):(document.documentElement.addEventListener("DOMSubtreeModified",o,!1),i=function(){document.documentElement.removeEventListener("DOMSubtreeModified",o,!1),window.removeEventListener("resize",o,!1),window.removeEventListener("orientationchange",o,!1)})},c=function(t){function e(t){var e;return void 0!==t.protocol?e=t:(e=document.createElement("a")).href=t,e.protocol.replace(/:/g,"")+e.host}var n,r,o;return window.XMLHttpRequest&&(n=new XMLHttpRequest,r=e(location),o=e(t),n=void 0===n.withCredentials&&""!==o&&o!==r?XDomainRequest||void 0:XMLHttpRequest),n},a="http://www.w3.org/1999/xlink";t=function(){var t,e,n,o,s,f,l,p,v,d,y=0;function h(){0===(y-=1)&&(i(),u())}function b(t){return function(){!0!==r[t.base]&&(t.useEl.setAttributeNS(a,"xlink:href","#"+t.hash),t.useEl.hasAttribute("href")&&t.useEl.setAttribute("href","#"+t.hash))}}function m(t){return function(){var e,n=document.body,r=document.createElement("x");t.onload=null,r.innerHTML=t.responseText,(e=r.getElementsByTagName("svg")[0])&&(e.setAttribute("aria-hidden","true"),e.style.position="absolute",e.style.width=0,e.style.height=0,e.style.overflow="hidden",n.insertBefore(e,n.firstChild)),h()}}function g(t){return function(){t.onerror=null,t.ontimeout=null,h()}}for(i(),v=document.getElementsByTagName("use"),s=0;s<v.length;s+=1){try{e=v[s].getBoundingClientRect()}catch(t){e=!1}t=(p=(o=v[s].getAttribute("href")||v[s].getAttributeNS(a,"href")||v[s].getAttribute("xlink:href"))&&o.split?o.split("#"):["",""])[0],n=p[1],f=e&&0===e.left&&0===e.right&&0===e.top&&0===e.bottom,e&&0===e.width&&0===e.height&&!f?(v[s].hasAttribute("href")&&v[s].setAttributeNS(a,"xlink:href",o),t.length&&(!0!==(d=r[t])&&setTimeout(b({useEl:v[s],base:t,hash:n}),0),void 0===d&&void 0!==(l=c(t))&&(d=new l,r[t]=d,d.onload=m(d),d.onerror=g(d),d.ontimeout=g(d),d.open("GET",t),d.send(),y+=1))):f?t.length&&r[t]&&setTimeout(b({useEl:v[s],base:t,hash:n}),0):void 0===r[t]?r[t]=!0:r[t].onload&&(r[t].abort(),delete r[t].onload,r[t]=!0)}v="",y+=1,h()},n=function(){window.removeEventListener("load",n,!1),e=setTimeout(t,0)},"complete"!==document.readyState?window.addEventListener("load",n,!1):n()}}()},function(t,e){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null})},function(t,e,n){"use strict";n.r(e);n(25),n(37),n(41),n(43);window.addEventListener("hashchange",function(){var t=window.location.hash.trim();Array.from(document.querySelectorAll("a[href='".concat(t,"']"))).forEach(function(t){t.click()})},!1);var r=37,o=39,i=38,u=40,c={init:function(){var t=Array.from(document.querySelectorAll(".".concat("mds-tabs__list"))),e=Array.from(document.querySelectorAll(".".concat("mds-tabs__list-item"))),n=Array.from(document.querySelectorAll(".".concat("mds-tabs__tab"))),a=Array.from(document.querySelectorAll(".".concat("mds-tabs__panel")));t.forEach(function(t){t.setAttribute("role","tablist")}),e.forEach(function(t){t.setAttribute("role","presentation")}),n.forEach(function(t){t.setAttribute("role","tab"),t.setAttribute("aria-controls",t.attributes.href.value.substring(1)),t.classList.contains("mds-tabs__tab--selected")?t.setAttribute("tabindex","0"):t.setAttribute("tabindex","-1")}),a.forEach(function(t){t.setAttribute("role","tabpanel"),t.setAttribute("aria-labelledby",t.attributes.id.value)});var s=document.querySelectorAll(".".concat("js-tabs-item"));Array.from(s).forEach(function(t){var e=window.location.hash.trim(),n=t.attributes.href.value,r=t.closest(".".concat("mds-tabs")),o=c.getAllPanels(r),i=c.getAllTabs(r),u=c.getTargetPanel(t,r);t.addEventListener("click",function(e){e.preventDefault(),c.updateTabs(i,o,t,u,n)}),n===e&&c.updateTabs(i,o,t,u,n)}),t.forEach(function(t){var e=t.closest(".".concat("mds-tabs")),n=c.getAllPanels(e),a=c.getAllTabs(e);t.addEventListener("keydown",function(s){switch(s.keyCode){case r:case i:s.preventDefault(),c.moveTab(t,e,a,n,!1);break;case o:case u:s.preventDefault(),c.moveTab(t,e,a,n,!0)}})})},getSelectedTab:function(t){return t.querySelector(".".concat("mds-tabs__tab--selected"))},getPrevTab:function(t){return!!t.parentElement.previousSibling&&t.parentElement.previousSibling.querySelector(".".concat("mds-tabs__tab"))},getNextTab:function(t){return!!t.parentElement.nextSibling&&t.parentElement.nextSibling.querySelector(".".concat("mds-tabs__tab"))},getTargetPanel:function(t,e){var n=t.attributes.href.value;return e.querySelector(n)},getAllPanels:function(t){return Array.from(t.querySelectorAll(".".concat("mds-tabs__panel")))},getAllTabs:function(t){return Array.from(t.querySelectorAll(".".concat("mds-tabs__tab")))},moveTab:function(t,e,n,r,o){var i=c.getSelectedTab(t),u=o?c.getNextTab(i):c.getPrevTab(i);if(u){var a=u.attributes.href.value,s=c.getTargetPanel(u,e);c.updateTabs(n,r,u,s,a,!1)}},updateTabs:function(t,e,n,r,o){c.clearAllTabs(t),c.setActiveTab(n),c.clearAllPanels(e),c.setActivePanel(r,o)},clearAllTabs:function(t){t.forEach(function(t){t.classList.remove("mds-tabs__tab--selected"),t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1")})},clearAllPanels:function(t){t.forEach(function(t){t.classList.add("mds-tabs__panel--hidden")})},setActiveTab:function(t){t.classList.add("mds-tabs__tab--selected"),t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0"),t.focus()},setActivePanel:function(t,e){t.classList.remove("mds-tabs__panel--hidden"),window.history.replaceState({},"",e)}},a=c;document.addEventListener("DOMContentLoaded",function(){a.init()})}]);
|
package/docs/tokens/icons.njk
CHANGED
|
@@ -7,20 +7,19 @@ All icons available in MDS
|
|
|
7
7
|
{# <pre>{{ icons | dump }}</pre> #}
|
|
8
8
|
|
|
9
9
|
{% macro Icon(params) %}
|
|
10
|
-
<
|
|
11
|
-
<
|
|
12
|
-
|
|
10
|
+
<div class="icon">
|
|
11
|
+
<svg class="mds-icon mds-icon--{{ params.name }}{% if class %} {{ class }}{% endif %}">
|
|
12
|
+
<use href="{{ '/assets/icons.svg' | path }}#{{ params.name }}" />
|
|
13
|
+
</svg>
|
|
14
|
+
<span class="icon__label"><code>mds-icon--{{ params.name }}</code></span>
|
|
15
|
+
</div>
|
|
13
16
|
{% endmacro %}
|
|
14
17
|
|
|
15
18
|
|
|
16
|
-
<div class="
|
|
19
|
+
<div class="icons">
|
|
17
20
|
{% for icon in icons %}
|
|
18
|
-
<p>
|
|
19
21
|
{{ Icon({
|
|
20
22
|
name: icon.name
|
|
21
23
|
}) }}
|
|
22
|
-
|
|
23
|
-
{{ icon.name }}
|
|
24
|
-
</p>
|
|
25
24
|
{% endfor %}
|
|
26
25
|
</div>
|
package/gulp-tasks/js-bundle.js
CHANGED
package/gulp-tasks/svgsprite.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@madgex/design-system",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"clean": "rimraf dist public tokens/build",
|
|
6
6
|
"commit": "commit",
|
|
@@ -20,7 +20,9 @@
|
|
|
20
20
|
"type": "git",
|
|
21
21
|
"url": "https://github.com/jameswragg/madgex-design-system"
|
|
22
22
|
},
|
|
23
|
-
"dependencies": {
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"svgxuse": "^1.2.6"
|
|
25
|
+
},
|
|
24
26
|
"devDependencies": {
|
|
25
27
|
"@babel/core": "^7.5.5",
|
|
26
28
|
"@babel/plugin-transform-runtime": "^7.5.5",
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
## Parameters
|
|
2
|
+
|
|
3
|
+
- `iconName`: the name of the icon you want to use
|
|
4
|
+
- `classes`: add extra CSS classes to the icon
|
|
5
|
+
- `path`: if you need to use a different path than the default (*/assets/icons.svg*)
|
|
6
|
+
- `visuallyHiddenLabel`: add a visually hidden label (see Accessibility notes below)
|
|
7
|
+
|
|
8
|
+
## Accessibility
|
|
9
|
+
|
|
10
|
+
The SVGs are hidden from screen readers by default (with the use of `aria-hidden=true` and `focusable=false`). When the icons are used without a visible label, a **visually hidden label needs to be added** instead.
|
|
11
|
+
|
|
12
|
+
If using the 'Icon' macro, simply pass the parameter `visuallyHiddenLabel` with the label you'd like as its value. It will add a `<span>` next to the SVG that will be visually hidden but accessible to screen readers (thanks to the class `mds-visually-hidden`).
|
|
13
|
+
|
|
14
|
+
## Sizes
|
|
15
|
+
|
|
16
|
+
By default, the icon size (width and height) is set to 1em.
|
|
17
|
+
We also have 3 fixed sizes:
|
|
18
|
+
|
|
19
|
+
- `.mds-icon--sm` : 16px
|
|
20
|
+
- `.mds-icon--md` : 24px
|
|
21
|
+
- `.mds-icon--lg` : 32px
|
|
22
|
+
|
|
23
|
+
## Next to text
|
|
24
|
+
|
|
25
|
+
If using an icon next to some text, use classes `mds-icon--before` or `mds-icon--after` to add `margin-right` or `margin-left` to the icon.
|
|
26
|
+
|
|
27
|
+
## Alignment
|
|
28
|
+
|
|
29
|
+
To make sure that the icons have the same baseline as the text, we are adding `top: 0.125em` on them which corresponds to the icon offset divided by the size of the icon. Please see https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4 to see how it is calculated.
|
|
30
|
+
|
|
31
|
+
## IE support
|
|
32
|
+
|
|
33
|
+
Internet Explorer doesn't support `<use href="url" />` if we use a URL in the href. We are using https://github.com/Keyamoon/svgxuse as a polyfill.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<svg aria-hidden="true" focusable="false" class="mds-icon mds-icon--{{ params.iconName }}{% if params.classes %} {{ params.classes }}{% endif %}">
|
|
2
|
-
<use
|
|
2
|
+
<use href="{{ params.path | default('/assets/icons.svg') }}#{{ params.iconName }}" />
|
|
3
3
|
</svg>
|
|
4
|
-
{
|
|
4
|
+
{%- if params.visuallyHiddenLabel %}
|
|
5
5
|
<span class="mds-visually-hidden">{{ params.visuallyHiddenLabel }}</span>
|
|
6
|
-
{% endif
|
|
6
|
+
{% endif -%}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{% from "./icons/_macro.njk" import MdsIcon %}
|
|
2
|
+
|
|
3
|
+
<h2>Different sizes</h2>
|
|
4
|
+
|
|
5
|
+
<p>{{ MdsIcon({
|
|
6
|
+
iconName: 'star-fill',
|
|
7
|
+
classes: 'mds-icon--sm',
|
|
8
|
+
visuallyHiddenLabel: 'Shortlisted'
|
|
9
|
+
}) }} : small (16px)</p>
|
|
10
|
+
<p>{{ MdsIcon({
|
|
11
|
+
iconName: 'star-fill',
|
|
12
|
+
classes: 'mds-icon--md'
|
|
13
|
+
}) }} : medium (24px)</p>
|
|
14
|
+
<p>{{ MdsIcon({
|
|
15
|
+
iconName: 'star-fill',
|
|
16
|
+
classes: 'mds-icon--lg'
|
|
17
|
+
}) }} : large (32px)</p>
|
|
18
|
+
|
|
19
|
+
<br><hr><br>
|
|
20
|
+
|
|
21
|
+
<h2>Icon with text</h2>
|
|
22
|
+
|
|
23
|
+
<p>{{- MdsIcon({
|
|
24
|
+
iconName: 'email',
|
|
25
|
+
classes: 'mds-icon--before'
|
|
26
|
+
}) -}}Email me</p>
|
|
27
|
+
|
|
28
|
+
<p><a href="#">Apply{{- MdsIcon({
|
|
29
|
+
iconName: 'chevron-right',
|
|
30
|
+
classes: 'mds-icon--after'
|
|
31
|
+
}) -}}</a></p>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.mds-icon {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
fill: currentColor;
|
|
4
|
+
width: $mds-size-icon-default;
|
|
5
|
+
height: $mds-size-icon-default;
|
|
6
|
+
position: relative;
|
|
7
|
+
// Move icon to baseline of text - see readme
|
|
8
|
+
top: 0.125em;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.mds-icon--sm {
|
|
12
|
+
width: $mds-size-icon-sm;
|
|
13
|
+
height: $mds-size-icon-sm;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.mds-icon--md {
|
|
17
|
+
width: $mds-size-icon-md;
|
|
18
|
+
height: $mds-size-icon-md;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.mds-icon--lg {
|
|
22
|
+
width: $mds-size-icon-lg;
|
|
23
|
+
height: $mds-size-icon-lg;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.mds-icon--before {
|
|
27
|
+
margin-right: 0.66em;
|
|
28
|
+
}
|
|
29
|
+
.mds-icon--after {
|
|
30
|
+
margin-left: 0.66em;
|
|
31
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
|
|
4
|
+
<title>Icon / Left Chevron</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="Icon-/-Left-Chevron" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<path d="M19.4662488,12 C19.467066,12.6617023 19.1828559,13.2917013 18.686247,13.729 L7.53424704,23.54 C6.76565608,24.1849293 5.62277383,24.098329 4.96013766,23.3449505 C4.29750148,22.591572 4.35748888,21.4469844 5.09524704,20.767 L14.847247,12.188 C14.9014018,12.1405308 14.9324563,12.0720143 14.9324563,12 C14.9324563,11.9279857 14.9014018,11.8594692 14.847247,11.812 L5.09524704,3.233 C4.35748888,2.55301564 4.29750148,1.40842796 4.96013766,0.655049482 C5.62277383,-0.0983289982 6.76565608,-0.184929277 7.53424704,0.46 L18.682247,10.268 C19.1800581,10.7060475 19.4656174,11.3369004 19.4662488,12 Z" id="Shape" fill="#000000" fill-rule="nonzero" transform="translate(11.983124, 12.000000) rotate(-180.000000) translate(-11.983124, -12.000000) "></path>
|
|
8
|
+
</g>
|
|
9
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
|
|
4
|
+
<title>Icon / Right Chevron</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="Icon-/-Right-Chevron" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<path d="M19.5000018,12 C19.500819,12.6617023 19.2166089,13.2917013 18.72,13.729 L7.568,23.54 C6.79940904,24.1849293 5.65652679,24.098329 4.99389062,23.3449505 C4.33125444,22.591572 4.39124184,21.4469844 5.129,20.767 L14.881,12.188 C14.9351547,12.1405308 14.9662092,12.0720143 14.9662092,12 C14.9662092,11.9279857 14.9351547,11.8594692 14.881,11.812 L5.129,3.233 C4.39124184,2.55301564 4.33125444,1.40842796 4.99389062,0.655049482 C5.65652679,-0.0983289982 6.79940904,-0.184929277 7.568,0.46 L18.716,10.268 C19.213811,10.7060475 19.4993703,11.3369004 19.5000018,12 Z" id="Shape" fill="#000000" fill-rule="nonzero"></path>
|
|
8
|
+
</g>
|
|
9
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
|
|
4
|
+
<title>Icon / Email</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="Icon-/-Email" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<path d="M11.114,14.556 L1.43,4.87 C1.29587774,4.73636618 1.24874084,4.53843826 1.30823181,4.3586951 C1.36772277,4.17895193 1.52363575,4.04822898 1.711,4.021 C1.80668563,4.00690075 1.90328126,3.99988169 2,3.99999853 L22,3.99999853 C22.0960512,3.99999853 22.1919748,4.00699854 22.287,4.021 C22.4743642,4.04822898 22.6302772,4.17895193 22.6897682,4.3586951 C22.7492592,4.53843826 22.7021223,4.73636618 22.568,4.87 L12.882,14.556 C12.3933619,15.0432087 11.6026381,15.0432087 11.114,14.556 Z M23.888,5.832 C23.9560016,5.86004015 24.0002713,5.92644459 24,6 L24,18 C24,19.1045695 23.1045695,20 22,20 L2,20 C0.8954305,20 0,19.1045695 0,18 L0,6 C0.000801278477,5.92725538 0.0448452062,5.86197599 0.112,5.834 C0.180316146,5.80438187 0.259816909,5.81988452 0.312,5.873 L6.512,12.073 C6.60937828,12.1709099 6.60937828,12.3290901 6.512,12.427 L1.469,17.47 C1.18462895,17.7641496 1.1884718,18.2319335 1.47763704,18.5213716 C1.76680228,18.8108096 2.23458233,18.8150936 2.529,18.531 L7.572,13.488 C7.66990989,13.3906217 7.82809011,13.3906217 7.926,13.488 L10.057,15.615 C11.1308173,16.6882171 12.8711827,16.6882171 13.945,15.615 L16.074,13.486 C16.1209021,13.4389791 16.1845864,13.4125531 16.251,13.4125531 C16.3174136,13.4125531 16.3810979,13.4389791 16.428,13.486 L21.471,18.529 C21.6593982,18.7238766 21.9382866,18.8019356 22.2004751,18.7331751 C22.4626635,18.6644146 22.6673497,18.4595354 22.7358629,18.1972822 C22.8043761,17.935029 22.7260542,17.6562144 22.531,17.468 L17.488,12.425 C17.3906217,12.3270901 17.3906217,12.1689099 17.488,12.071 L23.688,5.871 C23.7404595,5.81840086 23.8196217,5.80296424 23.888,5.832 Z" id="Combined-Shape" fill="#000000" fill-rule="nonzero"></path>
|
|
8
|
+
</g>
|
|
9
|
+
</svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
|
|
4
|
+
<title>Icon / Job</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="Icon-/-Job" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<g fill="#000000" id="briefcase">
|
|
8
|
+
<g>
|
|
9
|
+
<g fill-rule="nonzero">
|
|
10
|
+
<path d="M3,22.5 L21,22.5 C22.6568542,22.5 24,21.1568542 24,19.5 L24,8.5 C24,6.84314575 22.6568542,5.5 21,5.5 L17.1,5.5 C16.9739427,5.49996442 16.8676311,5.40608439 16.852,5.281 L16.708,4.128 C16.5205219,2.6277429 15.245925,1.50143473 13.734,1.5 L10.266,1.5 C8.75293175,1.5 7.47662046,2.62660928 7.289,4.128 L7.145,5.281 C7.12951913,5.40495892 7.02491242,5.4984645 6.9,5.5 L3,5.5 C1.34314575,5.5 0,6.84314575 0,8.5 L0,19.5 C0,21.1568542 1.34314575,22.5 3,22.5 Z M9.273,4.376 C9.33557154,3.87528425 9.76138992,3.49963782 10.266,3.49999974 L13.734,3.49999974 C14.2386101,3.49963782 14.6644285,3.87528425 14.727,4.376 L14.832,5.22 C14.8405796,5.29098017 14.8183585,5.36223721 14.7709536,5.41575889 C14.7235487,5.46928056 14.6554968,5.49994467 14.584,5.49999974 L9.416,5.49999974 C9.3445032,5.49994467 9.27645133,5.46928056 9.22904642,5.41575889 C9.18164151,5.36223721 9.15942036,5.29098017 9.168,5.22 L9.273,4.376 Z M5.25,11 C5.25,10.5857864 5.58578644,10.25 6,10.25 L18,10.25 C18.4142136,10.25 18.75,10.5857864 18.75,11 L18.75,11.5 C18.75,11.9142136 18.4142136,12.25 18,12.25 L6,12.25 C5.58578644,12.25 5.25,11.9142136 5.25,11.5 L5.25,11 Z M5.25,16.5 C5.25,16.0857864 5.58578644,15.75 6,15.75 L18,15.75 C18.4142136,15.75 18.75,16.0857864 18.75,16.5 L18.75,17 C18.75,17.4142136 18.4142136,17.75 18,17.75 L6,17.75 C5.58578644,17.75 5.25,17.4142136 5.25,17 L5.25,16.5 Z" id="Shape"></path>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
|
|
4
|
+
<title>Icon / Location Pin</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="Icon-/-Location-Pin" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<g fill="#000000" fill-rule="nonzero" id="pin">
|
|
8
|
+
<g>
|
|
9
|
+
<path d="M12,-8.8917762e-16 C7.58377808,0.00495988455 4.00495988,3.58377808 4,8 C4,11.51 9,20.025 11.148,23.524 C11.3300385,23.8198884 11.6525983,24.0000112 12,24.0000112 C12.3480606,24.0016551 12.671474,23.8205891 12.852,23.523 C15,20.026 20,11.514 20,8 C19.9950401,3.58377808 16.4162219,0.00495988455 12,-8.8917762e-16 Z M12,11.5 C10.0670034,11.5 8.5,9.93299662 8.5,8 C8.5,6.06700338 10.0670034,4.5 12,4.5 C13.9329966,4.5 15.5,6.06700338 15.5,8 C15.5,9.93299662 13.9329966,11.5 12,11.5 Z" id="Shape"></path>
|
|
10
|
+
</g>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
|
|
4
|
+
<title>Icon / Menu</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="Icon-/-Menu" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<g transform="translate(1.000000, 2.000000)" fill="#000000" fill-rule="nonzero" id="navigation-menu-1">
|
|
8
|
+
<g transform="translate(0.000000, 0.428571)">
|
|
9
|
+
<rect id="Rectangle-path" x="0" y="0" width="22" height="4.22222222" rx="1.5"></rect>
|
|
10
|
+
<rect id="Rectangle-path" x="0" y="7.38888889" width="22" height="4.22222222" rx="1.5"></rect>
|
|
11
|
+
<rect id="Rectangle-path" x="0" y="14.7777778" width="22" height="4.22222222" rx="1.5"></rect>
|
|
12
|
+
</g>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
|
|
4
|
+
<title>Icon / Search</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="Icon-/-Search" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<g fill="#000000" id="search-alternate">
|
|
8
|
+
<g>
|
|
9
|
+
<g fill-rule="nonzero">
|
|
10
|
+
<path d="M23.384,21.619 L16.855,15.09 C19.8121553,11.2027145 19.2516834,5.68892669 15.5728164,2.47618737 C11.8939495,-0.736551948 6.35490842,-0.549443611 2.9012324,2.9042324 C-0.552443611,6.35790842 -0.739551948,11.8969495 2.47318737,15.5758164 C5.68592669,19.2546834 11.1997145,19.8151553 15.087,16.858 L21.616,23.387 C22.1077348,23.8666586 22.8922652,23.8666586 23.384,23.387 C23.871759,22.8985895 23.871759,22.1074105 23.384,21.619 Z M2.75,9.5 C2.75,5.77207794 5.77207794,2.75 9.5,2.75 C13.2279221,2.75 16.25,5.77207794 16.25,9.5 C16.25,13.2279221 13.2279221,16.25 9.5,16.25 C5.77390544,16.2455917 2.75440828,13.2260946 2.75,9.5 Z" id="Shape"></path>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
|
|
4
|
+
<title>Icon/ 32/ Social/ Facebook</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="Icon/-32/-Social/-Facebook" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<g id="Group-3" transform="translate(10.000000, 4.000000)">
|
|
8
|
+
<g id="Clip-2"></g>
|
|
9
|
+
<path d="M6.89378438,-0.000136380952 L10.7881425,-0.000136380952 L10.7881425,4.00128076 C10.3994568,4.00128076 10.0550949,3.99718933 9.71141486,4.00264457 C9.20339581,4.01014552 8.69196724,3.99446171 8.18735771,4.04492267 C7.5402301,4.10902171 7.23541867,4.41656076 7.20677867,5.06437029 C7.17063771,5.89220267 7.19382248,6.72208076 7.19314057,7.55127695 C7.19314057,7.56355124 7.21291581,7.57582552 7.24632914,7.615376 L10.799053,7.615376 C10.6578987,8.95600076 10.5187901,10.2679855 10.3769539,11.6127017 L7.1835939,11.6127017 L7.1835939,11.9366065 C7.1835939,14.6628617 7.182912,17.389117 7.1835939,20.1160541 C7.18427581,21.1505036 7.18768533,22.1849531 7.18973105,23.2194027 L2.35843581,23.2194027 C2.36252724,23.1621227 2.37002819,23.1048427 2.37002819,23.0482446 C2.3707101,19.3120884 2.3707101,15.5759322 2.37002819,11.839776 C2.37002819,11.7688579 2.35979962,11.6979398 2.35229867,11.603155 L0.000409142857,11.603155 L0.000409142857,7.59901029 L2.3707101,7.59901029 C2.3707101,7.30510933 2.36798248,7.03643886 2.371392,6.76776838 C2.38366629,5.72649981 2.32502248,4.68386743 2.50504533,3.6480541 C2.83917867,1.72235505 3.90158629,0.586301714 5.80410057,0.165566476 C6.16210057,0.0864655238 6.53032914,0.054416 6.89378438,-0.000136380952" id="Fill-1" fill="#000000"></path>
|
|
10
|
+
</g>
|
|
11
|
+
</g>
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
|
|
4
|
+
<title>Icon/ 32/ Social/ LinkedIn</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="Icon/-32/-Social/-LinkedIn" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<g id="Group-8" transform="translate(5.000000, 5.000000)">
|
|
8
|
+
<g id="Group-3" transform="translate(7.441176, 6.354067)">
|
|
9
|
+
<g id="Clip-2"></g>
|
|
10
|
+
<path d="M0.528458824,15.3333333 C0.511547059,15.2493333 0.480429412,15.166 0.480429412,15.082 C0.491252941,10.3386667 0.504105882,5.59466667 0.518311765,0.850666667 C0.518311765,0.808 0.526429412,0.765333333 0.532517647,0.705333333 L5.43354706,0.705333333 L5.43354706,2.65 C5.45181176,2.654 5.47007647,2.65733333 5.48834118,2.66133333 C5.6419,2.46266667 5.78869412,2.25933333 5.95037059,2.06733333 C6.79528235,1.06333333 7.8844,0.510666667 9.19607647,0.388666667 C10.6606353,0.252666667 12.0440176,0.479333333 13.2542235,1.36133333 C14.3582235,2.166 14.9744882,3.28733333 15.2768706,4.582 C15.3945765,5.084 15.4365176,5.60333333 15.5129588,6.11533333 C15.5264882,6.20133333 15.5434,6.28666667 15.5589588,6.372 L15.5589588,15.3333333 L10.6376353,15.3333333 C10.6362824,15.1926667 10.6329,15.0526667 10.6329,14.912 C10.6329,12.4873333 10.6457529,10.0633333 10.6227529,7.63866667 C10.6180176,7.06533333 10.5578118,6.47466667 10.4089882,5.922 C9.95237059,4.222 7.92092941,3.60733333 6.5274,4.71933333 C5.76975294,5.32333333 5.43151765,6.106 5.43692941,7.06933333 C5.45248824,9.71266667 5.44301765,12.3566667 5.44098824,15.0006667 C5.44098824,15.112 5.4119,15.2226667 5.39566471,15.3333333 L0.528458824,15.3333333 Z" id="Fill-1" fill="#000000"></path>
|
|
11
|
+
</g>
|
|
12
|
+
<path d="M0.321052941,21.6874 C0.310905882,21.5747333 0.292641176,21.4614 0.292641176,21.3487333 C0.291288235,16.6934 0.291964706,12.0380667 0.291964706,7.38273333 L0.291964706,7.0574 L5.21125882,7.0574 C5.21599412,7.1474 5.22546471,7.24006667 5.22546471,7.33273333 C5.22614118,12.0227333 5.22614118,16.7134 5.22478824,21.4040667 C5.22478824,21.4987333 5.20111176,21.5927333 5.18825882,21.6874 L0.321052941,21.6874 Z" id="Fill-4" fill="#000000"></path>
|
|
13
|
+
<path d="M0,2.13073333 C0.0453235294,1.98073333 0.0838823529,1.82806667 0.136647059,1.68073333 C0.522911765,0.602066667 1.58767647,-0.0499333333 2.88041176,0.0034 C3.96344118,0.0474 4.83676471,0.4474 5.30285294,1.4694 C6.05102941,3.10806667 4.98964706,4.88473333 3.17061765,5.0194 C2.7255,5.05273333 2.25467647,5.02406667 1.82511765,4.91406667 C0.877382353,4.67073333 0.297647059,4.03073333 0.0595294118,3.0934 C0.0405882353,3.01873333 0.0196176471,2.9434 0,2.86873333 L0,2.13073333 Z" id="Fill-6" fill="#000000"></path>
|
|
14
|
+
</g>
|
|
15
|
+
</g>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
|
|
4
|
+
<title>Icon/ 32/ Social/ Twitter</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="Icon/-32/-Social/-Twitter" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<g id="Group-3" transform="translate(3.000000, 7.000000)">
|
|
8
|
+
<g id="Clip-2"></g>
|
|
9
|
+
<path d="M18.4327536,0.000146859903 L18.497372,0.000146859903 C18.3644638,0.237325604 18.2322899,0.475238647 18.1133333,0.688185507 C18.4716715,0.614021256 18.8630531,0.509016425 19.2617778,0.463489855 C19.3939517,0.448069565 19.5437488,0.586117874 19.6862029,0.654407729 C19.61057,0.793924638 19.5694493,0.995857005 19.4519614,1.06120966 C19.1758647,1.21467826 18.8667246,1.3130744 18.5649275,1.41587633 C18.2704734,1.51500676 17.9694106,1.59210821 17.671285,1.67875556 C18.9173913,1.755857 20.0034203,2.17367343 20.9491981,2.95937391 C22.0836908,3.90148019 22.79743,5.1035285 23.1322705,6.53174106 C23.1866087,6.76451401 23.2791304,6.89081353 23.5265894,6.88861063 C23.9737778,6.88567343 24.4261063,6.9378087 24.8652174,6.88200193 C25.3417778,6.82178937 25.8058551,6.66538357 26.3095845,6.54202126 C25.7485797,7.63172174 24.751401,7.9981372 23.6617005,8.25587633 C24.1235749,8.38217585 24.5714976,8.48718068 25.0252947,8.52536425 C25.4717488,8.56354783 25.9255459,8.53417585 26.4344155,8.53417585 C25.5246184,9.44030145 24.4496039,9.71052367 23.2938164,9.71860097 C22.5521739,11.7577507 22.2591884,12.3899826 21.4778937,13.3577894 C19.0752657,16.333171 15.8781256,17.8208618 12.1515556,18.3040309 C11.7205217,18.3598377 11.2865507,18.3914126 10.853314,18.4347362 L10.0184155,18.4347362 C9.92736232,18.417113 9.83557488,18.3877411 9.74378744,18.382601 C6.53563285,18.2210551 3.7269372,17.0902338 1.36689855,14.8998184 C0.876386473,14.4445527 0.454164251,13.9165913 -0.000367149758,13.4216734 L0.0620483092,13.3673353 C3.49049275,16.1268329 7.77292754,14.9291903 9.54479227,12.9047266 C9.47356522,12.8951807 9.41188406,12.8922435 9.3524058,12.8775575 C9.02417391,12.7960502 8.66657005,12.7688812 8.37285024,12.6176155 C7.60844444,12.2232966 7.56438647,11.4346589 8.24434783,10.9089005 C8.36477295,10.8156444 8.49400966,10.7326686 8.66142995,10.615915 C7.29122705,10.6276638 6.23236715,10.1753353 5.55901449,8.98870725 C5.95700483,8.47322899 6.53196135,8.36014686 7.09663768,8.20888116 C5.75360386,7.77197295 4.67491787,7.10669758 4.41057005,5.5565913 C4.91283092,5.47875556 5.36736232,5.4089971 5.87256039,5.33042705 C4.64921739,4.53811787 3.74162319,3.60702609 3.75557488,2.03709372 C3.90316908,2.08776039 4.00376812,2.11566377 4.09922705,2.15605024 C5.65667633,2.80517101 7.2251401,3.4300599 8.76643478,4.11662995 C9.89725604,4.62035942 11.0288116,5.14318068 11.9444831,6.0169971 C12.1596329,6.22186667 12.3799227,6.42012754 12.61857,6.64041739 C12.7668986,6.27106473 12.9005411,5.93548986 13.0371208,5.60064928 C13.6003285,4.22090048 14.2377005,2.88006957 15.1776039,1.70886184 C15.6255266,1.1500599 16.1233816,0.642658937 16.8026087,0.232185507 C16.7423961,0.445866667 16.7005411,0.595663768 16.6799807,0.66909372 C17.2497971,0.451741063 17.8409082,0.225576812 18.4327536,0.000146859903" id="Fill-1" fill="#000000"></path>
|
|
10
|
+
</g>
|
|
11
|
+
</g>
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
|
|
4
|
+
<title>Icon / Star / Fill</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="Icon-/-Star-/-Fill" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<g id="Icon/-32/-Star-Fill" fill="#000000">
|
|
8
|
+
<path d="M23.555,8.729 C23.3362593,8.1413246 22.7760617,7.75085969 22.149,7.749 L16.062,7.749 C15.8497168,7.74915295 15.660478,7.61524246 15.59,7.415 L13.405,1.222 C13.1858327,0.635838575 12.6257951,0.247333228 12,0.247333228 C11.3742049,0.247333228 10.8141673,0.635838575 10.595,1.222 L10.59,1.238 L8.41,7.415 C8.33964397,7.61489632 8.15091611,7.74872882 7.939,7.749 L1.85,7.749 C1.21864395,7.74852528 0.65457518,8.14343843 0.439011284,8.73685472 C0.223447388,9.33027101 0.402539142,9.99514402 0.887,10.4 L6.071,14.7 C6.22971272,14.8317089 6.29126923,15.0473552 6.226,15.243 L4.048,21.774 C3.84145715,22.3936301 4.05960681,23.0756853 4.58739553,23.4604456 C5.11518426,23.8452058 5.83127614,23.8442168 6.358,23.458 L11.704,19.538 C11.8799194,19.4091144 12.1190806,19.4091144 12.295,19.538 L17.639,23.457 C18.165522,23.8445491 18.8824077,23.8464427 19.4109697,23.4616806 C19.9395318,23.0769186 20.1580118,22.3941337 19.951,21.774 L17.773,15.239 C17.7077308,15.0433552 17.7692873,14.8277089 17.928,14.696 L23.122,10.39 C23.6001673,9.98179061 23.7730265,9.31869759 23.555,8.729 Z" id="Shape"></path>
|
|
9
|
+
</g>
|
|
10
|
+
</g>
|
|
11
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
|
|
4
|
+
<title>Icon / Star / Outline</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="Icon-/-Star-/-Outline" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<path d="M23.9009835,8.65718944 C23.6667187,8.02985551 23.0639832,7.61280941 22.3892048,7.61115622 L15.8513667,7.61115622 L13.50998,1.03827176 C13.2730972,0.410269372 12.6659443,-0.00435238256 11.9896335,0 C11.3133226,0.00442133475 10.7116946,0.426883789 10.4831216,1.05790534 L8.1494369,7.61115622 L1.6115988,7.61115622 C0.933773578,7.61177552 0.328652618,8.03243246 0.097109237,8.66397143 C-0.134434144,9.2955104 0.0570044126,10.0031801 0.576239389,10.4351187 L6.11172634,14.9824727 L3.78904438,21.8913094 C3.56528925,22.551543 3.79868137,23.2793984 4.36592421,23.6903635 C4.93316705,24.1013287 5.70357887,24.1007254 6.27016604,23.6888723 L12.0004018,19.5265545 L17.7295373,23.6910538 C18.2954438,24.1020864 19.064536,24.1030664 19.6315065,23.6934772 C20.1984769,23.283888 20.4331116,22.5577985 20.2117592,21.897854 L17.887977,14.9846542 L23.4355669,10.4263927 C23.9479102,9.99071468 24.1334479,9.28542428 23.9009835,8.65718944 Z M15.9052802,13.7837339 C15.5556268,14.07079 15.4197187,14.5412689 15.5630944,14.9682929 L17.2674215,20.0370274 C17.3055507,20.1497251 17.2656476,20.2739236 17.1687956,20.3440013 C17.0719436,20.414079 16.9404598,20.413888 16.8438153,20.3435293 L12.6495644,17.2915992 C12.2622147,17.0099011 11.735288,17.0099011 11.3479383,17.2915992 L7.15918879,20.3380755 C7.06270733,20.4079954 6.93172292,20.4081544 6.83506905,20.3384689 C6.73841518,20.2687835 6.69821039,20.1452007 6.73558265,20.0326644 L8.4388094,14.9639299 C8.58243769,14.5371292 8.44697943,14.0666949 8.09772394,13.7793709 L3.83085485,10.2758686 C3.74120453,10.2026942 3.70756693,10.0815889 3.74679667,9.97323434 C3.7860264,9.86487974 3.88967134,9.79262104 4.00579869,9.79266451 L8.92953236,9.79266451 C9.39626863,9.79253523 9.8121359,9.50049353 9.96709233,9.06404074 L11.7407367,4.08147582 C11.779318,3.97204709 11.8834696,3.89875963 12.0004018,3.89875963 C12.1173339,3.89875963 12.2214856,3.97204709 12.2600668,4.08147582 L14.032611,9.06404074 C14.1875674,9.50049353 14.6034347,9.79253523 15.0701709,9.79266451 L19.9939046,9.79266451 C20.110032,9.79262104 20.2136769,9.86487974 20.2529066,9.97323434 C20.2921364,10.0815889 20.2584988,10.2026942 20.1688484,10.2758686 L15.9052802,13.7837339 Z" id="Shape" fill="#000000" fill-rule="nonzero"></path>
|
|
8
|
+
</g>
|
|
9
|
+
</svg>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<!-- Generator: Sketch 55.2 (78181) - https://sketchapp.com -->
|
|
4
|
+
<title>Icon / User</title>
|
|
5
|
+
<desc>Created with Sketch.</desc>
|
|
6
|
+
<g id="Icon-/-User" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
7
|
+
<path d="M12,11.75 C8.96243388,11.75 6.5,9.28756612 6.5,6.25 C6.5,3.21243388 8.96243388,0.75 12,0.75 C15.0375661,0.75 17.5,3.21243388 17.5,6.25 C17.5,9.28756612 15.0375661,11.75 12,11.75 Z M12,13.25 C17.2441922,13.2560617 21.4939383,17.5058078 21.5,22.75 C21.5,23.0261424 21.2761424,23.25 21,23.25 L3,23.25 C2.72385763,23.25 2.5,23.0261424 2.5,22.75 C2.5060617,17.5058078 6.75580777,13.2560617 12,13.25 Z" id="Combined-Shape" fill="#000000" fill-rule="nonzero"></path>
|
|
8
|
+
</g>
|
|
9
|
+
</svg>
|
package/src/js/index.js
CHANGED
package/src/scss/index.scss
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
@import 'utilities/_index';
|
|
6
6
|
@import 'core/_index';
|
|
7
7
|
|
|
8
|
-
@import '../components/
|
|
8
|
+
@import '../components/icons/icons';
|
|
9
9
|
@import '../components/button/button';
|
|
10
10
|
@import '../components/card/card';
|
|
11
11
|
@import '../components/section-title/section-title';
|
package/src/tokens/size.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
## Parameters
|
|
2
|
-
|
|
3
|
-
- `iconName`: the name of the icon you want to use
|
|
4
|
-
- `classes`: add extra CSS classes to the icon
|
|
5
|
-
- `path`: if you need to use a different path than the default (*/assets/icons.svg*)
|
|
6
|
-
- `visuallyHiddenLabel`: add a visually hidden label (see Accessibility notes below)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
## Accessibility
|
|
10
|
-
|
|
11
|
-
The SVGs are hidden from screen readers by default (with the use of `aria-hidden=true` and `focusable=false`). When the icons are used without a visible label, a **visually hidden label needs to be added** instead.
|
|
12
|
-
|
|
13
|
-
If using the 'Icon' macro, simply pass the parameter `visuallyHiddenLabel` with the label you'd like as its value. It will add a `<span>` next to the SVG that will be visually hidden but accessible to screen readers (thanks to the class `mds-visually-hidden`).
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Icon Pattern Config
|
|
3
|
-
* Loads icons from `assets` and creates the variants
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
const iconList = require('../../../dist/assets/icons.json');
|
|
7
|
-
|
|
8
|
-
module.exports = {
|
|
9
|
-
title: 'Icon',
|
|
10
|
-
status: 'ready',
|
|
11
|
-
default: iconList[0].name,
|
|
12
|
-
variants: iconList.map((item) => {
|
|
13
|
-
return {
|
|
14
|
-
name: item.name,
|
|
15
|
-
context: {
|
|
16
|
-
iconName: item.name,
|
|
17
|
-
},
|
|
18
|
-
};
|
|
19
|
-
}),
|
|
20
|
-
};
|
package/src/icons/bike.svg
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="100pt" height="100pt" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<path d="m72.918 41.668c-2.082 0-3.957 0.41797-5.625 1.043l-4.793-7.918 1.457-3.543h0.625c1.25 0 2.082-0.83203 2.082-2.082s-0.83203-2.082-2.082-2.082h-6.25c-1.25 0-2.082 0.83203-2.082 2.082s0.83203 2.082 2.082 2.082h1.043l-0.83203 2.082h-18.961v-8.332h-10.418v4.168h6.25v5.832l-3.75 7.5c-1.457-0.625-2.9141-0.83203-4.582-0.83203-8.125 0-14.582 6.457-14.582 14.582s6.457 14.582 14.582 14.582 14.582-6.457 14.582-14.582c0-5-2.5-9.375-6.25-11.875l2.5-4.793 13.125 18.957h7.5c1.043 7.082 7.082 12.5 14.375 12.5 8.125 0 14.582-6.457 14.582-14.582 0.003906-8.332-6.4531-14.789-14.578-14.789zm-35.418 14.582c0 5.832-4.582 10.418-10.418 10.418-5.832 0-10.418-4.582-10.418-10.418 0-5.832 4.582-10.418 10.418-10.418 0.83203 0 1.875 0.20703 2.707 0.41797l-4.582 9.168c-0.20703 0.20703-0.20703 0.41406-0.20703 0.83203 0 1.25 0.83203 2.082 2.082 2.082 0.83203 0 1.457-0.41797 1.875-1.25l4.582-9.168c2.293 2.0859 3.9609 5.0039 3.9609 8.3359zm26.25-11.25c-2.707 2.293-4.582 5.418-5.207 9.168h-3.332l5.418-14.375zm2.082 3.543l3.332 5.625h-6.457c0.41797-2.293 1.668-4.168 3.125-5.625zm-14.375 3.332l-10-14.375h15.625zm21.461 14.793c-5 0-9.168-3.543-10.207-8.332l10.207-0.003907c1.25 0 2.082-0.83203 2.082-2.082 0-0.41797-0.20703-0.83203-0.41797-1.043l-5.207-8.75c1.043-0.41797 2.293-0.625 3.543-0.625 5.832 0 10.418 4.582 10.418 10.418-0.003907 5.832-4.5859 10.418-10.418 10.418z"/>
|
|
4
|
-
</svg>
|
package/src/icons/camera.svg
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="100pt" height="100pt" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<g>
|
|
4
|
-
<path d="m56.25 56.25c0 3.4531-2.7969 6.25-6.25 6.25s-6.25-2.7969-6.25-6.25 2.7969-6.25 6.25-6.25 6.25 2.7969 6.25 6.25"/>
|
|
5
|
-
<path d="m81.25 33.332h-16.668l-4.168-8.332h-20.832l-4.168 8.332h-16.664c-3.543 0-6.25 2.707-6.25 6.25v33.332c0 3.332 2.707 6.25 6.25 6.25h62.5c3.543 0 6.25-2.918 6.25-6.25v-33.332c0-3.5391-2.707-6.25-6.25-6.25zm-31.25 37.5c-8.125 0-14.582-6.457-14.582-14.582s6.457-14.582 14.582-14.582 14.582 6.457 14.582 14.582-6.457 14.582-14.582 14.582z"/>
|
|
6
|
-
</g>
|
|
7
|
-
</svg>
|
package/src/icons/facebook.svg
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="100pt" height="100pt" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<g>
|
|
4
|
-
<g transform="translate(31.000000, 13.000000)">
|
|
5
|
-
<path d="M31.9090909,12.4015748 L39,12.4015748 L39,0.590551181 L28.6590909,0 C18.3181818,0 11.5227273,6.2007874 11.5227273,17.7165354 L11.5227273,27.4606299 L0,27.4606299 L0,40.7480315 L11.5227273,40.7480315 L11.5227273,75 L25.4090909,75 L25.4090909,40.7480315 L36.9318182,40.7480315 L38.7045455,27.4606299 L25.4090909,27.4606299 L25.4090909,18.8976378 C25.4090909,15.0590551 26.2954545,12.4015748 31.9090909,12.4015748 Z"></path>
|
|
6
|
-
</g>
|
|
7
|
-
</g>
|
|
8
|
-
</svg>
|
package/src/icons/linkedin.svg
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="100pt" height="100pt" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<g>
|
|
4
|
-
<g transform="translate(13.000000, 13.000000)">
|
|
5
|
-
<rect x="2.8125" y="24.0625" width="14.6875" height="47.8125"></rect>
|
|
6
|
-
<circle cx="10.3125" cy="8.75" r="8.4375"></circle>
|
|
7
|
-
<path d="M55.625,22.8125 C50,22.5 44.375,25.625 41.5625,30.625 L41.25,30.625 L41.25,24.0625 L27.1875,24.0625 L27.1875,71.5625 L41.875,71.5625 L41.875,48.125 C41.875,41.875 43.125,35.9375 50.625,35.9375 C58.125,35.9375 58.4375,43.125 58.4375,48.4375 L58.4375,71.5625 L73.125,71.5625 L73.125,45.625 C73.125,32.5 70.625,22.8125 55.625,22.8125 Z"></path>
|
|
8
|
-
</g>
|
|
9
|
-
</g>
|
|
10
|
-
</svg>
|
package/src/icons/twitter.svg
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="100pt" height="100pt" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<g>
|
|
4
|
-
<g transform="translate(3.000000, 13.000000)">
|
|
5
|
-
<path d="M94.0140845,9.08431312 C90.3127426,10.5329203 86.6114007,11.6193756 82.9100588,11.9815274 C86.9815349,9.44646491 89.9426084,5.82494705 91.4231452,1.47912561 C87.7218033,3.65203633 83.6503272,5.46279526 79.2087169,6.18709883 C72.1761672,-1.41808868 59.9617389,-2.14239225 52.1889209,4.73849169 C46.6369081,9.44646491 44.4161029,16.6895006 46.2667739,23.5703846 C30.7211379,22.846081 16.2859044,15.6030453 6.66241544,3.65203633 C1.48053676,12.3436792 4.0714761,23.5703846 12.5845625,29.0026614 C9.62348897,29.0026614 6.29228125,27.916206 3.70134191,26.4675989 C3.70134191,35.5213935 10.3637573,43.126581 19.2469779,44.93734 L14.0650993,45.6616435 L10.3637573,45.6616435 C12.9546967,53.266831 20.3573805,58.6991078 28.5003327,58.6991078 C21.4677831,63.7692328 13.3248309,66.6664471 4.44161029,66.6664471 L0,66.6664471 C8.88322058,72.0987239 19.2469779,74.9959382 29.6107353,74.9959382 C59.5916047,75.35809 84.0204614,51.4560721 84.3905955,22.1217774 C84.3905955,21.7596256 84.3905955,21.7596256 84.3905955,21.3974739 C84.3905955,20.6731703 84.3905955,19.9488667 84.3905955,18.8624113 C88.0919375,16.3273488 91.4231452,12.705831 94.0140845,9.08431312 Z"></path>
|
|
6
|
-
</g>
|
|
7
|
-
</g>
|
|
8
|
-
</svg>
|
|
File without changes
|