From 4abb03198355f9b1ef9130cf640cb153e82ca3f3 Mon Sep 17 00:00:00 2001 From: Brandon Fuller Date: Fri, 14 Aug 2020 14:24:05 -0400 Subject: [PATCH 01/18] Add badge for undergrad certificates --- css/map/programs.built.css.map | 2 +- css/programs.built.css | 2 +- js/programs.built.js | 2 +- src/js/program-finder.js | 3 +++ src/sass/_base.scss | 4 ++++ 5 files changed, 10 insertions(+), 3 deletions(-) diff --git a/css/map/programs.built.css.map b/css/map/programs.built.css.map index 8393f34..28a4878 100644 --- a/css/map/programs.built.css.map +++ b/css/map/programs.built.css.map @@ -1 +1 @@ -{"version":3,"sources":["_base.scss","_select2.scss"],"names":[],"mappings":"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","file":"../programs.built.css","sourcesContent":["/* ===== PROGRAM FINDER ===== */\n\n#program-finder {\n padding-bottom: 2rem;\n border-bottom: 1px solid #ddd;\n}\n\n#program-finder .has-js #search-programs {\n padding: 1rem;\n font-size: 1.2rem;\n line-height: 2rem;\n display: inline-block;\n width: 80%;\n clear: both;\n box-shadow: none;\n box-sizing: border-box;\n border: 1px solid #ddd;\n margin-bottom: 10px;\n border-radius: 2px;\n}\n\n#program-finder .has-js #search-programs:hover,\n#program-finder .has-js #search-programs:focus {\n border: 1px solid #057fd4;\n}\n\n#program-finder .has-js #search-programs:focus {\n color: #005ebc;\n box-shadow: 0 .2rem .5rem rgba(0,0,0,.2);\n}\n\n#program-finder .has-js label {\n display: inline-block;\n width: 32%;\n}\n\n#program-finder .has-js label:not(:last-of-type) {\n margin-right: 2%;\n}\n\n#program-finder .has-js label>span {\n display: block;\n margin-bottom: 6px;\n font-size: .75rem;\n color: #555;\n}\n\n#program-finder .has-js #js-form-reset {\n background: #eee;\n width: 18%;\n float: right;\n color: #555;\n font-weight: 600;\n padding: 1rem 0;\n font-size: 1.2rem;\n line-height: 2rem;\n text-align: center;\n border: 1px solid #ddd;\n border-radius: 2px;\n box-shadow: none;\n cursor: pointer;\n position: relative;\n top: 0;\n transition: all .1s ease-in-out;\n}\n\n#program-finder .has-js #js-form-reset:hover,\n#program-finder .has-js #js-form-reset:focus {\n background: #fff;\n}\n\n@media all and (max-width: 600px) {\n #program-finder {\n padding: 5px 5px 10px;\n }\n\n #program-finder .has-js label {\n width: 100%;\n display: block;\n margin-right: 0;\n margin-bottom: 10px;\n }\n #program-finder .has-js #search-programs {\n margin-bottom: 10px;\n padding: .8rem .5rem;\n width: 100%;\n display: block;\n box-shadow: none !important;\n }\n\n #program-finder .has-js #js-form-reset {\n float: none;\n width: 100%;\n margin-bottom: 2rem;\n padding: 1rem 0;\n font-size: 1rem;\n line-height: 1.5rem;\n }\n}\n\n#program-status {\n font-size: 1.2rem;\n line-height: 30px;\n padding: 2rem 0;\n}\n\n#program-status:after {\n clear: both;\n display: block;\n content:'';\n}\n\n#program-status.results {\n color: #000;\n}\n\n#program-status.empty {\n color: #999;\n}\n\n#program-status.loading {\n color: #3875d7;\n}\n\n#program-status.error {\n color: #999;\n}\n\n@keyframes loading {\n from {transform: rotate(0);}\n to {transform: rotate(360deg);}\n}\n\n#program-status.loading .spinner {\n position: relative;\n float: left;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n background: linear-gradient(135deg, #ddd 70%, #3875d7 70%);\n animation: loading .8s infinite linear;\n}\n#program-status.loading .spinner span {\n background: #f8f8f8;\n display: block;\n width: 80%;\n height: 80%;\n position: relative;\n top: 10%;\n left: 10%;\n border-radius: 50%;\n}\n\n#program-status.loading div {\n height: 30px;\n line-height: 30px;\n margin-left: 20px;\n float: left;\n}\n\n#program-results .cl-card {\n margin-top: 2%;\n}\n\n#program-results .cl-card .badges {\n display: block;\n z-index: 2;\n margin: -2.2rem 0 1rem 1rem;\n position: relative;\n}\n\n#program-results .cl-card .badges li {\n display: inline-block;\n height: 20px;\n line-height: 20px;\n text-align: center;\n font-size: .7rem;\n font-weight: 600;\n border-radius: 2px;\n margin-right: 4px;\n margin-bottom: 0 !important;\n padding: 0 8px;\n color: rgba(0,0,0,.8);\n}\n\n#program-results .cl-card .badges li.bs,\n#program-results .cl-card .badges li.ba {\n background: #d6deea;\n}\n\n#program-results .cl-card .badges li.ms,\n#program-results .cl-card .badges li.ma {\n background: #f1ecca;\n}\n\n#program-results .cl-card .badges li.phd {\n background: #cbe5d2;\n}\n\n#program-results .cl-card .badges li.cert {\n background: #f0d8da;\n}\n\n#program-results .cl-card .badges li.pro {\n background: #dfd5e9;\n}\n\n#program-results .cl-card .badges li.uw {\n background: #ddd;\n}\n\n#program-results .cl-card .badges li.min {\n background: #eee;\n}\n\n.featured-image.sc.program {\n display: block;\n float: right;\n width: 250px;\n margin-right: 50px;\n margin-left: 30px;\n}\n\n.featured-image.sc.program img {\n border-radius: 2px;\n}\n\n@media all and (max-width: 480px) {\n .featured-image.sc.program {\n float: none;\n width: 100%;\n margin: 15px 0;\n }\n}\n","/* CUSTOM STYLES FOR SELECT2 */\n\n#program-finder {\n\n .select2-container--default {\n\n .select2-selection--multiple {\n\n border: 1px solid #ddd;\n border-radius: 2px;\n\n li {\n margin-bottom: 0;\n }\n\n .select2-selection__choice {\n background: #eee;\n border-radius: 2px;\n border: none;\n padding: 2px 5px 1px;\n }\n\n .select2-selection__choice__remove {\n margin-right: 5px;\n }\n }\n\n &.select2-container--focus {\n\n .select2-selection--multiple {\n border: 1px solid #057fd4;\n }\n\n }\n\n }\n\n}\n\n.select2-dropdown {\n\n border: 1px solid #ddd;\n font-size: .9rem;\n\n li {\n margin-bottom: 0;\n }\n\n}\n"]} \ No newline at end of file +{"version":3,"sources":["_base.scss","_select2.scss"],"names":[],"mappings":"AAEA,gBACI,mBAAoB,CACpB,4BAA6B,CAChC,yCAGG,YAAa,CACb,gBAAiB,CACjB,gBAAiB,CACjB,oBAAqB,CACrB,SAAU,CACV,UAAW,CACX,uBAAgB,CAAhB,eAAgB,CAChB,6BAAsB,CAAtB,0BAAsB,CAAtB,qBAAsB,CACtB,qBAAsB,CACtB,kBAAmB,CACnB,iBAAkB,CACrB,8FAIG,wBAAyB,CAC5B,+CAGG,aAAc,CACd,kDAA0B,CAA1B,0CAAwC,CAC3C,8BAGG,oBAAqB,CACrB,SAAU,CACb,iDAGG,eAAgB,CACnB,mCAGG,aAAc,CACd,iBAAkB,CAClB,gBAAiB,CACjB,UAAW,CACd,uCAGG,eAAgB,CAChB,SAAU,CACV,WAAY,CACZ,UAAW,CACX,eAAgB,CAChB,cAAe,CACf,gBAAiB,CACjB,gBAAiB,CACjB,iBAAkB,CAClB,qBAAsB,CACtB,iBAAkB,CAClB,uBAAgB,CAAhB,eAAgB,CAChB,cAAe,CACf,iBAAkB,CAClB,KAAM,CACN,sCAAY,CAAZ,8BAA+B,CAClC,0FAIG,eAAgB,CACnB,kCAGG,gBACI,oBAAqB,CACxB,8BAGG,UAAW,CACX,aAAc,CACd,cAAe,CACf,kBAAmB,CACtB,yCAEG,kBAAmB,CACnB,mBAAoB,CACpB,UAAW,CACX,aAAc,CACd,kCAAY,CAAZ,0BAA2B,CAC9B,uCAGG,UAAW,CACX,UAAW,CACX,kBAAmB,CACnB,cAAe,CACf,cAAe,CACf,kBAAmB,CACtB,CAGL,gBACI,gBAAiB,CACjB,gBAAiB,CACjB,cAAe,CAClB,sBAGG,UAAW,CACX,aAAc,CACd,UAAU,CACb,wBAGG,UAAW,CACd,sBAGG,UAAW,CACd,wBAGG,aAAc,CACjB,sBAGG,UAAW,CACd,2BAGG,KAAS,2BAAW,CAAX,mBAAoB,CAC7B,GAAS,gCAAW,CAAX,wBAAyB,CAAA,CAJrC,mBAGG,KAAS,2BAAW,CAAX,mBAAoB,CAC7B,GAAS,gCAAW,CAAX,wBAAyB,CAAA,CAGtC,iCACI,iBAAkB,CAClB,UAAW,CACX,iBAAkB,CAClB,UAAW,CACX,WAAY,CACZ,yDAA0D,CAC1D,6CAAW,CAAX,qCAAsC,CACzC,sCAEG,kBAAmB,CACnB,aAAc,CACd,SAAU,CACV,UAAW,CACX,iBAAkB,CAClB,OAAQ,CACR,QAAS,CACT,iBAAkB,CACrB,4BAGG,WAAY,CACZ,gBAAiB,CACjB,gBAAiB,CACjB,UAAW,CACd,0BAGG,aAAc,CACjB,kCAGG,aAAc,CACd,SAAU,CACV,0BAA2B,CAC3B,iBAAkB,CACrB,qCAGG,oBAAqB,CACrB,WAAY,CACZ,gBAAiB,CACjB,iBAAkB,CAClB,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,gBAAiB,CACjB,0BAA2B,CAC3B,aAAc,CACd,qBAAqB,CACxB,gFAIG,kBAAmB,CACtB,gFAIG,kBAAmB,CACtB,yCAGG,kBAAmB,CACtB,0CAGG,kBAAmB,CACtB,2CAGG,eAAgB,CACnB,yCAGG,kBAAmB,CACtB,wCAGG,eAAgB,CACnB,yCAGG,eAAgB,CACnB,2BAGG,aAAc,CACd,WAAY,CACZ,WAAY,CACZ,iBAAkB,CAClB,gBAAiB,CACpB,+BAGG,iBAAkB,CACrB,kCAGG,2BACI,UAAW,CACX,UAAW,CACX,aAAc,CACjB,CC1OL,yEAMM,qBAAsB,CACtB,iBAAkB,CAPxB,4EAUQ,eAAgB,CAVxB,oGAcQ,eAAgB,CAChB,iBAAkB,CAClB,WAAY,CACZ,mBAAoB,CAjB5B,4GAqBQ,gBAAiB,CArBzB,kGA4BQ,wBAAyB,CAC1B,kBAUL,qBAAsB,CACtB,eAAgB,CAHlB,qBAMI,eAAgB","file":"../programs.built.css","sourcesContent":["/* ===== PROGRAM FINDER ===== */\n\n#program-finder {\n padding-bottom: 2rem;\n border-bottom: 1px solid #ddd;\n}\n\n#program-finder .has-js #search-programs {\n padding: 1rem;\n font-size: 1.2rem;\n line-height: 2rem;\n display: inline-block;\n width: 80%;\n clear: both;\n box-shadow: none;\n box-sizing: border-box;\n border: 1px solid #ddd;\n margin-bottom: 10px;\n border-radius: 2px;\n}\n\n#program-finder .has-js #search-programs:hover,\n#program-finder .has-js #search-programs:focus {\n border: 1px solid #057fd4;\n}\n\n#program-finder .has-js #search-programs:focus {\n color: #005ebc;\n box-shadow: 0 .2rem .5rem rgba(0,0,0,.2);\n}\n\n#program-finder .has-js label {\n display: inline-block;\n width: 32%;\n}\n\n#program-finder .has-js label:not(:last-of-type) {\n margin-right: 2%;\n}\n\n#program-finder .has-js label>span {\n display: block;\n margin-bottom: 6px;\n font-size: .75rem;\n color: #555;\n}\n\n#program-finder .has-js #js-form-reset {\n background: #eee;\n width: 18%;\n float: right;\n color: #555;\n font-weight: 600;\n padding: 1rem 0;\n font-size: 1.2rem;\n line-height: 2rem;\n text-align: center;\n border: 1px solid #ddd;\n border-radius: 2px;\n box-shadow: none;\n cursor: pointer;\n position: relative;\n top: 0;\n transition: all .1s ease-in-out;\n}\n\n#program-finder .has-js #js-form-reset:hover,\n#program-finder .has-js #js-form-reset:focus {\n background: #fff;\n}\n\n@media all and (max-width: 600px) {\n #program-finder {\n padding: 5px 5px 10px;\n }\n\n #program-finder .has-js label {\n width: 100%;\n display: block;\n margin-right: 0;\n margin-bottom: 10px;\n }\n #program-finder .has-js #search-programs {\n margin-bottom: 10px;\n padding: .8rem .5rem;\n width: 100%;\n display: block;\n box-shadow: none !important;\n }\n\n #program-finder .has-js #js-form-reset {\n float: none;\n width: 100%;\n margin-bottom: 2rem;\n padding: 1rem 0;\n font-size: 1rem;\n line-height: 1.5rem;\n }\n}\n\n#program-status {\n font-size: 1.2rem;\n line-height: 30px;\n padding: 2rem 0;\n}\n\n#program-status:after {\n clear: both;\n display: block;\n content:'';\n}\n\n#program-status.results {\n color: #000;\n}\n\n#program-status.empty {\n color: #999;\n}\n\n#program-status.loading {\n color: #3875d7;\n}\n\n#program-status.error {\n color: #999;\n}\n\n@keyframes loading {\n from {transform: rotate(0);}\n to {transform: rotate(360deg);}\n}\n\n#program-status.loading .spinner {\n position: relative;\n float: left;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n background: linear-gradient(135deg, #ddd 70%, #3875d7 70%);\n animation: loading .8s infinite linear;\n}\n#program-status.loading .spinner span {\n background: #f8f8f8;\n display: block;\n width: 80%;\n height: 80%;\n position: relative;\n top: 10%;\n left: 10%;\n border-radius: 50%;\n}\n\n#program-status.loading div {\n height: 30px;\n line-height: 30px;\n margin-left: 20px;\n float: left;\n}\n\n#program-results .cl-card {\n margin-top: 2%;\n}\n\n#program-results .cl-card .badges {\n display: block;\n z-index: 2;\n margin: -2.2rem 0 1rem 1rem;\n position: relative;\n}\n\n#program-results .cl-card .badges li {\n display: inline-block;\n height: 20px;\n line-height: 20px;\n text-align: center;\n font-size: .7rem;\n font-weight: 600;\n border-radius: 2px;\n margin-right: 4px;\n margin-bottom: 0 !important;\n padding: 0 8px;\n color: rgba(0,0,0,.8);\n}\n\n#program-results .cl-card .badges li.bs,\n#program-results .cl-card .badges li.ba {\n background: #d6deea;\n}\n\n#program-results .cl-card .badges li.ms,\n#program-results .cl-card .badges li.ma {\n background: #f1ecca;\n}\n\n#program-results .cl-card .badges li.phd {\n background: #cbe5d2;\n}\n\n#program-results .cl-card .badges li.cert {\n background: #f0d8da;\n}\n\n#program-results .cl-card .badges li.ucert {\n background: #eee;\n}\n\n#program-results .cl-card .badges li.pro {\n background: #dfd5e9;\n}\n\n#program-results .cl-card .badges li.uw {\n background: #ddd;\n}\n\n#program-results .cl-card .badges li.min {\n background: #eee;\n}\n\n.featured-image.sc.program {\n display: block;\n float: right;\n width: 250px;\n margin-right: 50px;\n margin-left: 30px;\n}\n\n.featured-image.sc.program img {\n border-radius: 2px;\n}\n\n@media all and (max-width: 480px) {\n .featured-image.sc.program {\n float: none;\n width: 100%;\n margin: 15px 0;\n }\n}\n","/* CUSTOM STYLES FOR SELECT2 */\n\n#program-finder {\n\n .select2-container--default {\n\n .select2-selection--multiple {\n\n border: 1px solid #ddd;\n border-radius: 2px;\n\n li {\n margin-bottom: 0;\n }\n\n .select2-selection__choice {\n background: #eee;\n border-radius: 2px;\n border: none;\n padding: 2px 5px 1px;\n }\n\n .select2-selection__choice__remove {\n margin-right: 5px;\n }\n }\n\n &.select2-container--focus {\n\n .select2-selection--multiple {\n border: 1px solid #057fd4;\n }\n\n }\n\n }\n\n}\n\n.select2-dropdown {\n\n border: 1px solid #ddd;\n font-size: .9rem;\n\n li {\n margin-bottom: 0;\n }\n\n}\n"]} \ No newline at end of file diff --git a/css/programs.built.css b/css/programs.built.css index 66ee071..b95e705 100644 --- a/css/programs.built.css +++ b/css/programs.built.css @@ -1,3 +1,3 @@ -#program-finder{padding-bottom:2rem;border-bottom:1px solid #ddd}#program-finder .has-js #search-programs{padding:1rem;font-size:1.2rem;line-height:2rem;display:inline-block;width:80%;clear:both;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #ddd;margin-bottom:10px;border-radius:2px}#program-finder .has-js #search-programs:hover,#program-finder .has-js #search-programs:focus{border:1px solid #057fd4}#program-finder .has-js #search-programs:focus{color:#005ebc;-webkit-box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.2);box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.2)}#program-finder .has-js label{display:inline-block;width:32%}#program-finder .has-js label:not(:last-of-type){margin-right:2%}#program-finder .has-js label>span{display:block;margin-bottom:6px;font-size:.75rem;color:#555}#program-finder .has-js #js-form-reset{background:#eee;width:18%;float:right;color:#555;font-weight:600;padding:1rem 0;font-size:1.2rem;line-height:2rem;text-align:center;border:1px solid #ddd;border-radius:2px;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;position:relative;top:0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#program-finder .has-js #js-form-reset:hover,#program-finder .has-js #js-form-reset:focus{background:#fff}@media all and (max-width: 600px){#program-finder{padding:5px 5px 10px}#program-finder .has-js label{width:100%;display:block;margin-right:0;margin-bottom:10px}#program-finder .has-js #search-programs{margin-bottom:10px;padding:.8rem .5rem;width:100%;display:block;-webkit-box-shadow:none !important;box-shadow:none !important}#program-finder .has-js #js-form-reset{float:none;width:100%;margin-bottom:2rem;padding:1rem 0;font-size:1rem;line-height:1.5rem}}#program-status{font-size:1.2rem;line-height:30px;padding:2rem 0}#program-status:after{clear:both;display:block;content:''}#program-status.results{color:#000}#program-status.empty{color:#999}#program-status.loading{color:#3875d7}#program-status.error{color:#999}@-webkit-keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}#program-status.loading .spinner{position:relative;float:left;border-radius:50%;width:30px;height:30px;background:linear-gradient(135deg, #ddd 70%, #3875d7 70%);-webkit-animation:loading .8s infinite linear;animation:loading .8s infinite linear}#program-status.loading .spinner span{background:#f8f8f8;display:block;width:80%;height:80%;position:relative;top:10%;left:10%;border-radius:50%}#program-status.loading div{height:30px;line-height:30px;margin-left:20px;float:left}#program-results .cl-card{margin-top:2%}#program-results .cl-card .badges{display:block;z-index:2;margin:-2.2rem 0 1rem 1rem;position:relative}#program-results .cl-card .badges li{display:inline-block;height:20px;line-height:20px;text-align:center;font-size:.7rem;font-weight:600;border-radius:2px;margin-right:4px;margin-bottom:0 !important;padding:0 8px;color:rgba(0,0,0,0.8)}#program-results .cl-card .badges li.bs,#program-results .cl-card .badges li.ba{background:#d6deea}#program-results .cl-card .badges li.ms,#program-results .cl-card .badges li.ma{background:#f1ecca}#program-results .cl-card .badges li.phd{background:#cbe5d2}#program-results .cl-card .badges li.cert{background:#f0d8da}#program-results .cl-card .badges li.pro{background:#dfd5e9}#program-results .cl-card .badges li.uw{background:#ddd}#program-results .cl-card .badges li.min{background:#eee}.featured-image.sc.program{display:block;float:right;width:250px;margin-right:50px;margin-left:30px}.featured-image.sc.program img{border-radius:2px}@media all and (max-width: 480px){.featured-image.sc.program{float:none;width:100%;margin:15px 0}}#program-finder .select2-container--default .select2-selection--multiple{border:1px solid #ddd;border-radius:2px}#program-finder .select2-container--default .select2-selection--multiple li{margin-bottom:0}#program-finder .select2-container--default .select2-selection--multiple .select2-selection__choice{background:#eee;border-radius:2px;border:none;padding:2px 5px 1px}#program-finder .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{margin-right:5px}#program-finder .select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #057fd4}.select2-dropdown{border:1px solid #ddd;font-size:.9rem}.select2-dropdown li{margin-bottom:0} +#program-finder{padding-bottom:2rem;border-bottom:1px solid #ddd}#program-finder .has-js #search-programs{padding:1rem;font-size:1.2rem;line-height:2rem;display:inline-block;width:80%;clear:both;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #ddd;margin-bottom:10px;border-radius:2px}#program-finder .has-js #search-programs:hover,#program-finder .has-js #search-programs:focus{border:1px solid #057fd4}#program-finder .has-js #search-programs:focus{color:#005ebc;-webkit-box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.2);box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.2)}#program-finder .has-js label{display:inline-block;width:32%}#program-finder .has-js label:not(:last-of-type){margin-right:2%}#program-finder .has-js label>span{display:block;margin-bottom:6px;font-size:.75rem;color:#555}#program-finder .has-js #js-form-reset{background:#eee;width:18%;float:right;color:#555;font-weight:600;padding:1rem 0;font-size:1.2rem;line-height:2rem;text-align:center;border:1px solid #ddd;border-radius:2px;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;position:relative;top:0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#program-finder .has-js #js-form-reset:hover,#program-finder .has-js #js-form-reset:focus{background:#fff}@media all and (max-width: 600px){#program-finder{padding:5px 5px 10px}#program-finder .has-js label{width:100%;display:block;margin-right:0;margin-bottom:10px}#program-finder .has-js #search-programs{margin-bottom:10px;padding:.8rem .5rem;width:100%;display:block;-webkit-box-shadow:none !important;box-shadow:none !important}#program-finder .has-js #js-form-reset{float:none;width:100%;margin-bottom:2rem;padding:1rem 0;font-size:1rem;line-height:1.5rem}}#program-status{font-size:1.2rem;line-height:30px;padding:2rem 0}#program-status:after{clear:both;display:block;content:''}#program-status.results{color:#000}#program-status.empty{color:#999}#program-status.loading{color:#3875d7}#program-status.error{color:#999}@-webkit-keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}#program-status.loading .spinner{position:relative;float:left;border-radius:50%;width:30px;height:30px;background:linear-gradient(135deg, #ddd 70%, #3875d7 70%);-webkit-animation:loading .8s infinite linear;animation:loading .8s infinite linear}#program-status.loading .spinner span{background:#f8f8f8;display:block;width:80%;height:80%;position:relative;top:10%;left:10%;border-radius:50%}#program-status.loading div{height:30px;line-height:30px;margin-left:20px;float:left}#program-results .cl-card{margin-top:2%}#program-results .cl-card .badges{display:block;z-index:2;margin:-2.2rem 0 1rem 1rem;position:relative}#program-results .cl-card .badges li{display:inline-block;height:20px;line-height:20px;text-align:center;font-size:.7rem;font-weight:600;border-radius:2px;margin-right:4px;margin-bottom:0 !important;padding:0 8px;color:rgba(0,0,0,0.8)}#program-results .cl-card .badges li.bs,#program-results .cl-card .badges li.ba{background:#d6deea}#program-results .cl-card .badges li.ms,#program-results .cl-card .badges li.ma{background:#f1ecca}#program-results .cl-card .badges li.phd{background:#cbe5d2}#program-results .cl-card .badges li.cert{background:#f0d8da}#program-results .cl-card .badges li.ucert{background:#eee}#program-results .cl-card .badges li.pro{background:#dfd5e9}#program-results .cl-card .badges li.uw{background:#ddd}#program-results .cl-card .badges li.min{background:#eee}.featured-image.sc.program{display:block;float:right;width:250px;margin-right:50px;margin-left:30px}.featured-image.sc.program img{border-radius:2px}@media all and (max-width: 480px){.featured-image.sc.program{float:none;width:100%;margin:15px 0}}#program-finder .select2-container--default .select2-selection--multiple{border:1px solid #ddd;border-radius:2px}#program-finder .select2-container--default .select2-selection--multiple li{margin-bottom:0}#program-finder .select2-container--default .select2-selection--multiple .select2-selection__choice{background:#eee;border-radius:2px;border:none;padding:2px 5px 1px}#program-finder .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{margin-right:5px}#program-finder .select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #057fd4}.select2-dropdown{border:1px solid #ddd;font-size:.9rem}.select2-dropdown li{margin-bottom:0} /*# sourceMappingURL=map/programs.built.css.map */ diff --git a/js/programs.built.js b/js/programs.built.js index 83c0d64..5a63370 100644 --- a/js/programs.built.js +++ b/js/programs.built.js @@ -1 +1 @@ -!function(e){"use strict";let t,n,r,s;const i=[];let o;function a(){t.innerHTML=""}function c(e,t){n.className=e,n.innerHTML=t}function l(e){let t,n,r,s="";const i=document.createElement("a");for(i.setAttribute("class","cl-card"),i.setAttribute("href",e.link),i.setAttribute("data-id",e.id),t=0;t'+n[1]+"")}return r=e.image,r+='",r+='

'+e.title+"

",r+='
Explore
',i.innerHTML=r,i}function u(t){let n;const r=function(t){let n,r;const s={},i=t.querySelectorAll("select");for(r=0;r1||""!==t.value)&&(o=window.setTimeout((function(){f("terms",t.value),h()}),300))}function f(e,t){let n;const r=window.location.toString(),s=new RegExp("([?&])"+e+"=.*?(&|$)","i"),i=-1!==r.indexOf("?")?"&":"?";n=r.match(s)?r.replace(s,"$1"+e+"="+t+"$2"):r+i+e+"="+t,history.pushState&&window.history.pushState({path:n},"",n)}function p(){let e,t;e={};const n=location.search.substring(1);return""!==n&&(e=n.split("&").reduce((function(e,n){return t=n.split("="),e[decodeURIComponent(t[0])]=decodeURIComponent(t[1]),e}),{})),e}function h(){let e,t,n;const i=p();for(n in e=URIProgramFinder.base+"/wp-json/uri-programs/v1/category",i)t=-1!==e.indexOf("?")?"&":"?",e+=t+n+"="+i[n];i.terms&&(e+="&s="+i.terms),e!==s&&(c("loading",'
Loading...
'),s=e,function(e,t){r=new XMLHttpRequest,r.onreadystatechange=function(){r.readyState===XMLHttpRequest.DONE&&(200===r.status?t(r.responseText):404===r.status&&(c("error","There was an error retrieving results."),a()))},r.open("GET",e,!0),r.send()}(e,m))}function m(n){let r,s,o,u,d;const f=JSON.parse(n),p=f.length;if(function(){let e;for(e in i)window.clearTimeout(i[e])}(),0===p)a(),c("empty","No matches found.");else if(d=1!==p?"programs match":"program matches",c("results",p+" "+d+" your search."),r=e("#program-results .cl-card"),r.length){for(u in o=[],f)o.push(f[u].id);for(r.each((function(){-1===o.indexOf(e(this).data("id"))&&e(this).remove()})),u=0;u'+n[1]+"")}return r=e.image,r+='
    '+i+"
",r+='

'+e.title+"

",r+='
Explore
',s.innerHTML=r,s}function u(t){let n;const r=function(t){let n,r;const i={},s=t.querySelectorAll("select");for(r=0;r1||""!==t.value)&&(a=window.setTimeout((function(){f("terms",t.value),h()}),300))}function f(e,t){let n;const r=window.location.toString(),i=new RegExp("([?&])"+e+"=.*?(&|$)","i"),s=-1!==r.indexOf("?")?"&":"?";n=r.match(i)?r.replace(i,"$1"+e+"="+t+"$2"):r+s+e+"="+t,history.pushState&&window.history.pushState({path:n},"",n)}function p(){let e,t;e={};const n=location.search.substring(1);return""!==n&&(e=n.split("&").reduce((function(e,n){return t=n.split("="),e[decodeURIComponent(t[0])]=decodeURIComponent(t[1]),e}),{})),e}function h(){let e,t,n;const s=p();for(n in e=URIProgramFinder.base+"/wp-json/uri-programs/v1/category",s)t=-1!==e.indexOf("?")?"&":"?",e+=t+n+"="+s[n];s.terms&&(e+="&s="+s.terms),e!==i&&(c("loading",'
Loading...
'),i=e,function(e,t){r=new XMLHttpRequest,r.onreadystatechange=function(){r.readyState===XMLHttpRequest.DONE&&(200===r.status?t(r.responseText):404===r.status&&(c("error","There was an error retrieving results."),o()))},r.open("GET",e,!0),r.send()}(e,m))}function m(n){let r,i,a,u,d;const f=JSON.parse(n),p=f.length;if(function(){let e;for(e in s)window.clearTimeout(s[e])}(),0===p)o(),c("empty","No matches found.");else if(d=1!==p?"programs match":"program matches",c("results",p+" "+d+" your search."),r=e("#program-results .cl-card"),r.length){for(u in a=[],f)a.push(f[u].id);for(r.each((function(){-1===a.indexOf(e(this).data("id"))&&e(this).remove()})),u=0;u Date: Thu, 17 Sep 2020 15:07:04 -0400 Subject: [PATCH 02/18] Force use of eslint v6 (@see https://stackoverflow.com/questions/62636329/how-to-fix-unexpected-token-in-eslint) --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d793bc5..b821844 100644 --- a/.travis.yml +++ b/.travis.yml @@ -73,7 +73,7 @@ before_script: # After CodeSniffer install you should refresh your path. - phpenv rehash # Install ESLint - - npm install -g eslint + - npm install -g eslint@6 # Install WP JS standards - npm install @wordpress/eslint-plugin --save-dev From b189c9447b65c1e04b8f9430a2f06314be15ec2a Mon Sep 17 00:00:00 2001 From: Brandon Fuller Date: Wed, 30 Sep 2020 14:48:11 -0400 Subject: [PATCH 03/18] Update dev dependencies and add necessary peer dependencies --- package-lock.json | 1082 ++++++++++++++++++++++++++------------------- package.json | 11 +- 2 files changed, 642 insertions(+), 451 deletions(-) diff --git a/package-lock.json b/package-lock.json index c741638..cb6b97f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "uri-program-finder", - "version": "1.4.0", + "version": "1.4.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -14,44 +14,43 @@ } }, "@babel/generator": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.9.6.tgz", - "integrity": "sha512-+htwWKJbH2bL72HRluF8zumBxzuX0ZZUFl3JLNyoUjM/Ho8wnVpPXM6aUz8cfKDqQ/h7zHqKt4xzJteUosckqQ==", + "version": "7.11.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.11.6.tgz", + "integrity": "sha512-DWtQ1PV3r+cLbySoHrwn9RWEgKMBLLma4OBQloPRyDYvc5msJM9kvTLo1YnlJd1P/ZuKbdli3ijr5q3FvAF3uA==", "dev": true, "requires": { - "@babel/types": "^7.9.6", + "@babel/types": "^7.11.5", "jsesc": "^2.5.1", - "lodash": "^4.17.13", "source-map": "^0.5.0" } }, "@babel/helper-function-name": { - "version": "7.9.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.9.5.tgz", - "integrity": "sha512-JVcQZeXM59Cd1qanDUxv9fgJpt3NeKUaqBqUEvfmQ+BCOKq2xUgaWZW2hr0dkbyJgezYuplEoh5knmrnS68efw==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.4.tgz", + "integrity": "sha512-YdaSyz1n8gY44EmN7x44zBn9zQ1Ry2Y+3GTA+3vH6Mizke1Vw0aWDM66FOYEPw8//qKkmqOckrGgTYa+6sceqQ==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.8.3", - "@babel/template": "^7.8.3", - "@babel/types": "^7.9.5" + "@babel/helper-get-function-arity": "^7.10.4", + "@babel/template": "^7.10.4", + "@babel/types": "^7.10.4" } }, "@babel/helper-get-function-arity": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz", - "integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz", + "integrity": "sha512-EkN3YDB+SRDgiIUnNgcmiD361ti+AVbL3f3Henf6dqqUyr5dMsorno0lJWJuLhDhkI5sYEpgj6y9kB8AOU1I2A==", "dev": true, "requires": { - "@babel/types": "^7.8.3" + "@babel/types": "^7.10.4" } }, "@babel/helper-split-export-declaration": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz", - "integrity": "sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA==", + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.11.0.tgz", + "integrity": "sha512-74Vejvp6mHkGE+m+k5vHY93FX2cAtrw1zXrZXRlG4l410Nm9PxfEiVTn1PjDPV5SnmieiueY4AFg2xqhNFuuZg==", "dev": true, "requires": { - "@babel/types": "^7.8.3" + "@babel/types": "^7.11.0" } }, "@babel/helper-validator-identifier": { @@ -103,24 +102,24 @@ } }, "@babel/parser": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.9.6.tgz", - "integrity": "sha512-AoeIEJn8vt+d/6+PXDRPaksYhnlbMIiejioBZvvMQsOjW/JYK6k/0dKnvvP3EhK5GfMBWDPtrxRtegWdAcdq9Q==", + "version": "7.11.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.5.tgz", + "integrity": "sha512-X9rD8qqm695vgmeaQ4fvz/o3+Wk4ZzQvSHkDBgpYKxpD4qTAUm88ZKtHkVqIOsYFFbIQ6wQYhC6q7pjqVK0E0Q==", "dev": true }, "@babel/runtime": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.6.tgz", - "integrity": "sha512-64AF1xY3OAkFHqOb9s4jpgk1Mm5vDZ4L3acHvAml+53nO1XbXLuDodsVpO4OIUsmemlUHMxNdYMNJmsvOwLrvQ==", + "version": "7.11.2", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.11.2.tgz", + "integrity": "sha512-TeWkU52so0mPtDcaCTxNBI/IHiz0pZgr8VEFqXFtZWpYD08ZB6FaSwVAS8MKRQAP3bYKiVjwysOJgMFY28o6Tw==", "dev": true, "requires": { "regenerator-runtime": "^0.13.4" } }, "@babel/runtime-corejs3": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.9.6.tgz", - "integrity": "sha512-6toWAfaALQjt3KMZQc6fABqZwUDDuWzz+cAfPhqyEnzxvdWOAkjwPNxgF8xlmo7OWLsSjaKjsskpKHRLaMArOA==", + "version": "7.11.2", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.11.2.tgz", + "integrity": "sha512-qh5IR+8VgFz83VBa6OkaET6uN/mJOhHONuy3m1sgF0CV6mXdPSEBdA7e1eUbVvyNtANjMbg22JUv71BaDXLY6A==", "dev": true, "requires": { "core-js-pure": "^3.0.0", @@ -128,40 +127,94 @@ } }, "@babel/template": { - "version": "7.8.6", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.6.tgz", - "integrity": "sha512-zbMsPMy/v0PWFZEhQJ66bqjhH+z0JgMoBWuikXybgG3Gkd/3t5oQ1Rw2WQhnSrsOmsKXnZOx15tkC4qON/+JPg==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.4.tgz", + "integrity": "sha512-ZCjD27cGJFUB6nmCB1Enki3r+L5kJveX9pq1SvAUKoICy6CZ9yD8xO086YXdYhvNjBdnekm4ZnaP5yC8Cs/1tA==", "dev": true, "requires": { - "@babel/code-frame": "^7.8.3", - "@babel/parser": "^7.8.6", - "@babel/types": "^7.8.6" + "@babel/code-frame": "^7.10.4", + "@babel/parser": "^7.10.4", + "@babel/types": "^7.10.4" + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", + "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", + "dev": true, + "requires": { + "@babel/highlight": "^7.10.4" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", + "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==", + "dev": true + }, + "@babel/highlight": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz", + "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.10.4", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + } } }, "@babel/traverse": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.9.6.tgz", - "integrity": "sha512-b3rAHSjbxy6VEAvlxM8OV/0X4XrG72zoxme6q1MOoe2vd0bEc+TwayhuC1+Dfgqh1QEG+pj7atQqvUprHIccsg==", + "version": "7.11.5", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.5.tgz", + "integrity": "sha512-EjiPXt+r7LiCZXEfRpSJd+jUMnBd4/9OUv7Nx3+0u9+eimMwJmG0Q98lw4/289JCoxSE8OolDMNZaaF/JZ69WQ==", "dev": true, "requires": { - "@babel/code-frame": "^7.8.3", - "@babel/generator": "^7.9.6", - "@babel/helper-function-name": "^7.9.5", - "@babel/helper-split-export-declaration": "^7.8.3", - "@babel/parser": "^7.9.6", - "@babel/types": "^7.9.6", + "@babel/code-frame": "^7.10.4", + "@babel/generator": "^7.11.5", + "@babel/helper-function-name": "^7.10.4", + "@babel/helper-split-export-declaration": "^7.11.0", + "@babel/parser": "^7.11.5", + "@babel/types": "^7.11.5", "debug": "^4.1.0", "globals": "^11.1.0", - "lodash": "^4.17.13" + "lodash": "^4.17.19" }, "dependencies": { + "@babel/code-frame": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", + "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", + "dev": true, + "requires": { + "@babel/highlight": "^7.10.4" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", + "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==", + "dev": true + }, + "@babel/highlight": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz", + "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.10.4", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz", + "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==", "dev": true, "requires": { - "ms": "^2.1.1" + "ms": "2.1.2" } }, "globals": { @@ -170,6 +223,12 @@ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", "dev": true }, + "lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", + "dev": true + }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -179,14 +238,28 @@ } }, "@babel/types": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.9.6.tgz", - "integrity": "sha512-qxXzvBO//jO9ZnoasKF1uJzHd2+M6Q2ZPIVfnFps8JJvXy0ZBbwbNOmE6SGIY5XOY6d1Bo5lb9d9RJ8nv3WSeA==", + "version": "7.11.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.5.tgz", + "integrity": "sha512-bvM7Qz6eKnJVFIn+1LPtjlBFPVN5jNDc1XmN15vWe7Q3DPBufWWsLiIvUu7xW87uTG6QoggpIDnUgLQvPheU+Q==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.9.5", - "lodash": "^4.17.13", + "@babel/helper-validator-identifier": "^7.10.4", + "lodash": "^4.17.19", "to-fast-properties": "^2.0.0" + }, + "dependencies": { + "@babel/helper-validator-identifier": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", + "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==", + "dev": true + }, + "lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", + "dev": true + } } }, "@gulp-sourcemaps/identity-map": { @@ -233,27 +306,33 @@ "dev": true }, "@types/json-schema": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.4.tgz", - "integrity": "sha512-8+KAKzEvSUdeo+kmqnKrqgeE+LcA0tjYWFY7RPProVYwnqDjukzO+3b6dLD56rYX5TdWejnEOLJYOIeh4CXKuA==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.6.tgz", + "integrity": "sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw==", + "dev": true + }, + "@types/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", "dev": true }, "@typescript-eslint/experimental-utils": { - "version": "2.31.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.31.0.tgz", - "integrity": "sha512-MI6IWkutLYQYTQgZ48IVnRXmLR/0Q6oAyJgiOror74arUMh7EWjJkADfirZhRsUMHeLJ85U2iySDwHTSnNi9vA==", + "version": "2.34.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.34.0.tgz", + "integrity": "sha512-eS6FTkq+wuMJ+sgtuNTtcqavWXqsflWcfBnlYhg/nS4aZ1leewkXGbvBhaapn1q6qf4M71bsR1tez5JTRMuqwA==", "dev": true, "requires": { "@types/json-schema": "^7.0.3", - "@typescript-eslint/typescript-estree": "2.31.0", + "@typescript-eslint/typescript-estree": "2.34.0", "eslint-scope": "^5.0.0", "eslint-utils": "^2.0.0" }, "dependencies": { "eslint-utils": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.0.0.tgz", - "integrity": "sha512-0HCPuJv+7Wv1bACm8y5/ECVfYdfsAm9xmVb7saeFlxjPYALefjhbYoCkBjPdPzGH8wWyTpAez82Fh3VKYEZ8OA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", + "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", "dev": true, "requires": { "eslint-visitor-keys": "^1.1.0" @@ -262,9 +341,9 @@ } }, "@typescript-eslint/typescript-estree": { - "version": "2.31.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.31.0.tgz", - "integrity": "sha512-vxW149bXFXXuBrAak0eKHOzbcu9cvi6iNcJDzEtOkRwGHxJG15chiAQAwhLOsk+86p9GTr/TziYvw+H9kMaIgA==", + "version": "2.34.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.34.0.tgz", + "integrity": "sha512-OMAr+nJWKdlVM9LOqCqh3pQQPwxHAN7Du8DR6dmwCrAmxtiXQnhHJ6tBNtf+cggqfo51SG/FCwnKhXCIM7hnVg==", "dev": true, "requires": { "debug": "^4.1.1", @@ -272,17 +351,17 @@ "glob": "^7.1.6", "is-glob": "^4.0.1", "lodash": "^4.17.15", - "semver": "^6.3.0", + "semver": "^7.3.2", "tsutils": "^3.17.1" }, "dependencies": { "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz", + "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==", "dev": true, "requires": { - "ms": "^2.1.1" + "ms": "2.1.2" } }, "glob": { @@ -315,37 +394,38 @@ "dev": true }, "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", + "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", "dev": true } } }, "@wordpress/eslint-plugin": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-5.1.0.tgz", - "integrity": "sha512-uWQ7eXezwnWqj3MUOeeNEkUY7o5zEHG4uX+PL0WgHlM6dZIl65Ae5/KoItOst9t5053RHQV+0rOMMbup9KPHGQ==", + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-7.2.1.tgz", + "integrity": "sha512-p4LrUukVyuZAH/vSHFOV5L0NHW2i8WegOYFDgYCIzcWCi/A7jW1O+vUA5ylm1rRCKqj8Z/4WIMOGflf/8delYw==", "dev": true, "requires": { - "@wordpress/prettier-config": "^0.2.0", + "@wordpress/prettier-config": "^0.4.0", "babel-eslint": "^10.1.0", + "cosmiconfig": "^7.0.0", "eslint-config-prettier": "^6.10.1", "eslint-plugin-jest": "^23.8.2", - "eslint-plugin-jsdoc": "^22.1.0", + "eslint-plugin-jsdoc": "^30.2.2", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-prettier": "^3.1.2", - "eslint-plugin-react": "^7.19.0", - "eslint-plugin-react-hooks": "^3.0.0", + "eslint-plugin-react": "^7.20.0", + "eslint-plugin-react-hooks": "^4.0.4", "globals": "^12.0.0", - "prettier": "npm:wp-prettier@1.19.1", + "prettier": "npm:wp-prettier@2.0.5", "requireindex": "^1.2.0" } }, "@wordpress/prettier-config": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-0.2.0.tgz", - "integrity": "sha512-v5H1dIDG9s2wASC8eah3hYRFuviPFNnflcAvHP7D7dOA6YPfPTCJDHeJ8CVKT+QBkNKkdueyYiR6YkxEVBj7iw==", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@wordpress/prettier-config/-/prettier-config-0.4.0.tgz", + "integrity": "sha512-7c4VeugkCwDkaHSD7ffxoP0VC5c///gCTEAT032OhI5Rik2dPxE3EkNAB2NhotGE8M4dMAg4g5Wj2OWZIn8TFw==", "dev": true }, "abbrev": { @@ -510,13 +590,13 @@ } }, "aria-query": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-3.0.0.tgz", - "integrity": "sha1-ZbP8wcoRVajJrmTW7uKX8V1RM8w=", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-4.2.2.tgz", + "integrity": "sha512-o/HelwhuKpTj/frsOsbNLNgnNGVIFsVP/SW2BSF14gVl7kAfMOJ6/8wUAUvG1R1NHKrfG+2sHZTu0yauT1qBrA==", "dev": true, "requires": { - "ast-types-flow": "0.0.7", - "commander": "^2.11.0" + "@babel/runtime": "^7.10.2", + "@babel/runtime-corejs3": "^7.10.2" } }, "arr-diff": { @@ -673,6 +753,34 @@ "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", "dev": true }, + "array.prototype.flatmap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.2.3.tgz", + "integrity": "sha512-OOEk+lkePcg+ODXIpvuU9PAryCikCJyo7GlDG1upleEpQRx6mzL9puEBkozQ5iAx20KV0l3DbyQwqciJtqe5Pg==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.0-next.1", + "function-bind": "^1.1.1" + }, + "dependencies": { + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "requires": { + "object-keys": "^1.0.12" + } + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true + } + } + }, "asn1": { "version": "0.2.4", "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", @@ -752,18 +860,17 @@ "dev": true }, "autoprefixer": { - "version": "9.7.6", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.7.6.tgz", - "integrity": "sha512-F7cYpbN7uVVhACZTeeIeealwdGM6wMtfWARVLTy5xmKtgVdBNJvbDRoCK3YO1orcs7gv/KwYlb3iXwu9Ug9BkQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.0.1.tgz", + "integrity": "sha512-aQo2BDIsoOdemXUAOBpFv4ZQa2DrOtEufarYhtFsK1088Ca0TUwu/aQWf0M3mrILXZ3mTIVn1lR3hPW8acacsw==", "dev": true, "requires": { - "browserslist": "^4.11.1", - "caniuse-lite": "^1.0.30001039", - "chalk": "^2.4.2", + "browserslist": "^4.14.5", + "caniuse-lite": "^1.0.30001137", + "colorette": "^1.2.1", "normalize-range": "^0.1.2", "num2fraction": "^1.2.2", - "postcss": "^7.0.27", - "postcss-value-parser": "^4.0.3" + "postcss-value-parser": "^4.1.0" } }, "aws-sign2": { @@ -778,10 +885,16 @@ "integrity": "sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug==", "dev": true }, + "axe-core": { + "version": "3.5.5", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-3.5.5.tgz", + "integrity": "sha512-5P0QZ6J5xGikH780pghEdbEKijCTrruK9KxtPZCFWUpef0f6GipO+xEZ5GKCb020mmqgbiNO6TcA55CriL784Q==", + "dev": true + }, "axobject-query": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.1.2.tgz", - "integrity": "sha512-ICt34ZmrVt8UQnvPl6TVyDTkmhXmAyAT4Jh5ugfGUX4MOrZ+U/ZY6/sdylRw3qGNr9Ub5AJsaHeDMzNLehRdOQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz", + "integrity": "sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA==", "dev": true }, "babel-eslint": { @@ -956,15 +1069,15 @@ } }, "browserslist": { - "version": "4.11.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.11.1.tgz", - "integrity": "sha512-DCTr3kDrKEYNw6Jb9HFxVLQNaue8z+0ZfRBRjmCunKDEXEBajKDj2Y+Uelg+Pi29OnvaSGwjOsnRyNEkXzHg5g==", + "version": "4.14.5", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.14.5.tgz", + "integrity": "sha512-Z+vsCZIvCBvqLoYkBFTwEYH3v5MCQbsAjp50ERycpOjnPmolg1Gjy4+KaWWpm8QOJt9GHkhdqAl14NpCX73CWA==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001038", - "electron-to-chromium": "^1.3.390", - "node-releases": "^1.1.53", - "pkg-up": "^2.0.0" + "caniuse-lite": "^1.0.30001135", + "electron-to-chromium": "^1.3.571", + "escalade": "^3.1.0", + "node-releases": "^1.1.61" } }, "buffer-equal": { @@ -1059,9 +1172,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001041", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001041.tgz", - "integrity": "sha512-fqDtRCApddNrQuBxBS7kEiSGdBsgO4wiVw4G/IClfqzfhW45MbTumfN4cuUJGTM0YGFNn97DCXPJ683PS6zwvA==", + "version": "1.0.30001140", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001140.tgz", + "integrity": "sha512-xFtvBtfGrpjTOxTpjP5F2LmN04/ZGfYV8EQzUIC/RmKpdrmzJrjqlJ4ho7sGuAMPko2/Jl08h7x9uObCfBFaAA==", "dev": true }, "caseless": { @@ -1255,6 +1368,12 @@ "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", "dev": true }, + "colorette": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.1.tgz", + "integrity": "sha512-puCDz0CzydiSYOrnXpz/PKd69zRrribezjtE9yd4zvytoRc8+RY/KJPvtPFKZS3E3wP6neGyMe0vOTlHO5L3Pw==", + "dev": true + }, "combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", @@ -1271,9 +1390,9 @@ "dev": true }, "comment-parser": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-0.7.2.tgz", - "integrity": "sha512-4Rjb1FnxtOcv9qsfuaNuVsmmVn4ooVoBHzYfyKteiXwIU84PClyGA5jASoFMwPV93+FPh9spwueXauxFJZkGAg==", + "version": "0.7.6", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-0.7.6.tgz", + "integrity": "sha512-GKNxVA7/iuTnAqGADlTWX4tkhzxZKXp5fLJqKTlQLHkE65XDUKutZ3BHaJC5IGcper2tT3QRD1xr4o3jNpgXXg==", "dev": true }, "component-emitter": { @@ -1358,41 +1477,34 @@ "dev": true }, "cosmiconfig": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", - "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz", + "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==", "dev": true, "requires": { - "import-fresh": "^2.0.0", - "is-directory": "^0.3.1", - "js-yaml": "^3.13.1", - "parse-json": "^4.0.0" + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" }, "dependencies": { - "import-fresh": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", - "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", - "dev": true, - "requires": { - "caller-path": "^2.0.0", - "resolve-from": "^3.0.0" - } - }, "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz", + "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==", "dev": true, "requires": { + "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" } }, - "resolve-from": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", - "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", "dev": true } } @@ -1708,9 +1820,9 @@ } }, "electron-to-chromium": { - "version": "1.3.405", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.405.tgz", - "integrity": "sha512-D+xkP+hAQY/790DzImC8bI8QJLaArNG4b74bYvkhkK/fli51JmNyUYxwKLSl/8VPGkkXEqKCupSDD05/E5P72w==", + "version": "1.3.576", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.576.tgz", + "integrity": "sha512-uSEI0XZ//5ic+0NdOqlxp0liCD44ck20OAGyLMSymIWTEAtHKVJi6JM18acOnRgUgX7Q65QqnI+sNncNvIy8ew==", "dev": true }, "emoji-regex": { @@ -1738,22 +1850,22 @@ } }, "es-abstract": { - "version": "1.17.5", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz", - "integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==", + "version": "1.17.6", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz", + "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==", "dev": true, "requires": { "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", "has": "^1.0.3", "has-symbols": "^1.0.1", - "is-callable": "^1.1.5", - "is-regex": "^1.0.5", + "is-callable": "^1.2.0", + "is-regex": "^1.1.0", "object-inspect": "^1.7.0", "object-keys": "^1.1.1", "object.assign": "^4.1.0", - "string.prototype.trimleft": "^2.1.1", - "string.prototype.trimright": "^2.1.1" + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" }, "dependencies": { "has-symbols": { @@ -1825,6 +1937,12 @@ "es6-symbol": "^3.1.1" } }, + "escalade": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.0.tgz", + "integrity": "sha512-mAk+hPSO8fLDkhV7V0dXazH5pDc6MrjBTPyD3VeKzxnVFjH1MIxbCdqGZB9O8+EwWakZs3ZCbDS4IpRt79V1ig==", + "dev": true + }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", @@ -1967,9 +2085,9 @@ } }, "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", "dev": true }, "ms": { @@ -2017,47 +2135,53 @@ } }, "eslint-config-prettier": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.11.0.tgz", - "integrity": "sha512-oB8cpLWSAjOVFEJhhyMZh6NOEOtBVziaqdDQ86+qhDHFbZXoRTM7pNSvFRfW/W/L/LrQ38C99J5CGuRBBzBsdA==", + "version": "6.12.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.12.0.tgz", + "integrity": "sha512-9jWPlFlgNwRUYVoujvWTQ1aMO8o6648r+K7qU7K5Jmkbyqav1fuEZC0COYpGBxyiAJb65Ra9hrmFx19xRGwXWw==", "dev": true, "requires": { "get-stdin": "^6.0.0" } }, "eslint-plugin-jest": { - "version": "23.9.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.9.0.tgz", - "integrity": "sha512-8mt5xJQIFh33W5nE7vCikkDTE4saTo08V91KjU6yI5sLQ9e8Jkp1OXkWJoIHLheFqY5OXIZdAjZmNYHSJ3IpzQ==", + "version": "23.20.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.20.0.tgz", + "integrity": "sha512-+6BGQt85OREevBDWCvhqj1yYA4+BFK4XnRZSGJionuEYmcglMZYLNNBBemwzbqUAckURaHdJSBcjHPyrtypZOw==", "dev": true, "requires": { "@typescript-eslint/experimental-utils": "^2.5.0" } }, "eslint-plugin-jsdoc": { - "version": "22.2.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-22.2.0.tgz", - "integrity": "sha512-r8yRB6jGay9tJkx1BherKFtOkpDud086VZenUqZiZe0F7cD4OABhte0xcj3/7mXPuJbaou8WF3JzEtTdDnCzhA==", + "version": "30.6.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-30.6.2.tgz", + "integrity": "sha512-LlRdsSQBSPsI3MvhWoGc+Ev3PfFRBk41wwkmbOgC7KP7WQlbeWPpASF5Vdv17XEZ7J+xvPB3KCMyR//6Dbjnnw==", "dev": true, "requires": { - "comment-parser": "^0.7.2", + "comment-parser": "^0.7.6", "debug": "^4.1.1", - "jsdoctypeparser": "^6.1.0", - "lodash": "^4.17.15", - "regextras": "^0.7.0", - "semver": "^6.3.0", - "spdx-expression-parse": "^3.0.0" + "jsdoctypeparser": "^9.0.0", + "lodash": "^4.17.20", + "regextras": "^0.7.1", + "semver": "^7.3.2", + "spdx-expression-parse": "^3.0.1" }, "dependencies": { "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz", + "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==", "dev": true, "requires": { - "ms": "^2.1.1" + "ms": "2.1.2" } }, + "lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", + "dev": true + }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -2065,81 +2189,122 @@ "dev": true }, "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", + "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } } } }, "eslint-plugin-jsx-a11y": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.2.3.tgz", - "integrity": "sha512-CawzfGt9w83tyuVekn0GDPU9ytYtxyxyFZ3aSWROmnRRFQFT2BiPJd7jvRdzNDi6oLWaS2asMeYSNMjWTV4eNg==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.3.1.tgz", + "integrity": "sha512-i1S+P+c3HOlBJzMFORRbC58tHa65Kbo8b52/TwCwSKLohwvpfT5rm2GjGWzOHTEuq4xxf2aRlHHTtmExDQOP+g==", "dev": true, "requires": { - "@babel/runtime": "^7.4.5", - "aria-query": "^3.0.0", - "array-includes": "^3.0.3", + "@babel/runtime": "^7.10.2", + "aria-query": "^4.2.2", + "array-includes": "^3.1.1", "ast-types-flow": "^0.0.7", - "axobject-query": "^2.0.2", - "damerau-levenshtein": "^1.0.4", - "emoji-regex": "^7.0.2", + "axe-core": "^3.5.4", + "axobject-query": "^2.1.2", + "damerau-levenshtein": "^1.0.6", + "emoji-regex": "^9.0.0", "has": "^1.0.3", - "jsx-ast-utils": "^2.2.1" + "jsx-ast-utils": "^2.4.1", + "language-tags": "^1.0.5" + }, + "dependencies": { + "emoji-regex": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.0.0.tgz", + "integrity": "sha512-6p1NII1Vm62wni/VR/cUMauVQoxmLVb9csqQlvLz+hO2gk8U2UYDfXHQSUYIBKmZwAKz867IDqG7B+u0mj+M6w==", + "dev": true + } } }, "eslint-plugin-prettier": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.3.tgz", - "integrity": "sha512-+HG5jmu/dN3ZV3T6eCD7a4BlAySdN7mLIbJYo0z1cFQuI+r2DiTJEFeF68ots93PsnrMxbzIZ2S/ieX+mkrBeQ==", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.4.tgz", + "integrity": "sha512-jZDa8z76klRqo+TdGDTFJSavwbnWK2ZpqGKNZ+VvweMW516pDUMmQ2koXvxEE4JhzNvTv+radye/bWGBmA6jmg==", "dev": true, "requires": { "prettier-linter-helpers": "^1.0.0" } }, "eslint-plugin-react": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.19.0.tgz", - "integrity": "sha512-SPT8j72CGuAP+JFbT0sJHOB80TX/pu44gQ4vXH/cq+hQTiY2PuZ6IHkqXJV6x1b28GDdo1lbInjKUrrdUf0LOQ==", + "version": "7.21.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.21.2.tgz", + "integrity": "sha512-j3XKvrK3rpBzveKFbgAeGsWb9uz6iUOrR0jixRfjwdFeGSRsXvVTFtHDQYCjsd1/6Z/xvb8Vy3LiI5Reo7fDrg==", "dev": true, "requires": { "array-includes": "^3.1.1", + "array.prototype.flatmap": "^1.2.3", "doctrine": "^2.1.0", "has": "^1.0.3", - "jsx-ast-utils": "^2.2.3", - "object.entries": "^1.1.1", + "jsx-ast-utils": "^2.4.1", + "object.entries": "^1.1.2", "object.fromentries": "^2.0.2", "object.values": "^1.1.1", "prop-types": "^15.7.2", - "resolve": "^1.15.1", - "semver": "^6.3.0", - "string.prototype.matchall": "^4.0.2", - "xregexp": "^4.3.0" + "resolve": "^1.17.0", + "string.prototype.matchall": "^4.0.2" }, "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true + "resolve": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + "dev": true, + "requires": { + "path-parse": "^1.0.6" + } } } }, "eslint-plugin-react-hooks": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-3.0.0.tgz", - "integrity": "sha512-EjxTHxjLKIBWFgDJdhKKzLh5q+vjTFrqNZX36uIxWS4OfyXe5DawqPj3U5qeJ1ngLwatjzQnmR0Lz0J0YH3kxw==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.1.2.tgz", + "integrity": "sha512-ykUeqkGyUGgwTtk78C0o8UG2fzwmgJ0qxBGPp2WqRKsTwcLuVf01kTDRAtOsd4u6whX2XOC8749n2vPydP82fg==", "dev": true }, "eslint-scope": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz", - "integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", "dev": true, "requires": { - "esrecurse": "^4.1.0", + "esrecurse": "^4.3.0", "estraverse": "^4.1.1" + }, + "dependencies": { + "esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "requires": { + "estraverse": "^5.2.0" + }, + "dependencies": { + "estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "dev": true + } + } + } } }, "eslint-utils": { @@ -3461,28 +3626,27 @@ } }, "gulp-postcss": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/gulp-postcss/-/gulp-postcss-8.0.0.tgz", - "integrity": "sha512-Wtl6vH7a+8IS/fU5W9IbOpcaLqKxd5L1DUOzaPmlnCbX1CrG0aWdwVnC3Spn8th0m8D59YbysV5zPUe1n/GJYg==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/gulp-postcss/-/gulp-postcss-9.0.0.tgz", + "integrity": "sha512-5mSQ9CK8salSagrXgrVyILfEMy6I5rUGPRiR9rVjgJV9m/rwdZYUhekMr+XxDlApfc5ZdEJ8gXNZrU/TsgT5dQ==", "dev": true, "requires": { - "fancy-log": "^1.3.2", + "fancy-log": "^1.3.3", "plugin-error": "^1.0.1", - "postcss": "^7.0.2", - "postcss-load-config": "^2.0.0", + "postcss-load-config": "^2.1.1", "vinyl-sourcemaps-apply": "^0.2.1" }, "dependencies": { - "plugin-error": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/plugin-error/-/plugin-error-1.0.1.tgz", - "integrity": "sha512-L1zP0dk7vGweZME2i+EeakvUNqSrdiI3F91TwEoYiGrAfUXmVv6fJIq4g82PAXxNsWOp0J7ZqQy/3Szz0ajTxA==", + "fancy-log": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.3.3.tgz", + "integrity": "sha512-k9oEhlyc0FrVh25qYuSELjr8oxsCoc4/LEZfg2iJJrfEk/tZL9bCoJE47gqAvI2m/AUjluCS4+3I0eTx8n3AEw==", "dev": true, "requires": { - "ansi-colors": "^1.0.1", - "arr-diff": "^4.0.0", - "arr-union": "^3.1.0", - "extend-shallow": "^3.0.2" + "ansi-gray": "^0.1.1", + "color-support": "^1.1.3", + "parse-node-version": "^1.0.0", + "time-stamp": "^1.0.0" } } } @@ -3652,36 +3816,42 @@ } }, "gulp-terser": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/gulp-terser/-/gulp-terser-1.2.0.tgz", - "integrity": "sha512-lf+jE2DALg2w32p0HRiYMlFYRYelKZPNunHp2pZccCYrrdCLOs0ItbZcN63yr2pbz116IyhUG9mD/QbtRO1FKA==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/gulp-terser/-/gulp-terser-1.4.0.tgz", + "integrity": "sha512-7df9leJna3WOmj76tYHxjpn7BSU+vmKVjVSd6bz3uLEyrzCfZI97KPhRcIabrSNzs0UY/UXTt+JwkxPw3sF85w==", "dev": true, "requires": { + "is-promise": "^4.0.0", "plugin-error": "^1.0.1", - "terser": "^4.0.0", - "through2": "^3.0.1", + "terser": ">=4", + "through2": "^4.0.2", "vinyl-sourcemaps-apply": "^0.2.1" }, "dependencies": { - "plugin-error": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/plugin-error/-/plugin-error-1.0.1.tgz", - "integrity": "sha512-L1zP0dk7vGweZME2i+EeakvUNqSrdiI3F91TwEoYiGrAfUXmVv6fJIq4g82PAXxNsWOp0J7ZqQy/3Szz0ajTxA==", + "is-promise": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", + "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", + "dev": true + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "dev": true, "requires": { - "ansi-colors": "^1.0.1", - "arr-diff": "^4.0.0", - "arr-union": "^3.1.0", - "extend-shallow": "^3.0.2" + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" } }, "through2": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.1.tgz", - "integrity": "sha512-M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", + "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", "dev": true, "requires": { - "readable-stream": "2 || 3" + "readable-stream": "3" } } } @@ -4104,9 +4274,9 @@ "dev": true }, "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", "dev": true }, "mute-stream": { @@ -4230,9 +4400,9 @@ } }, "is-callable": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz", - "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", + "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==", "dev": true }, "is-data-descriptor": { @@ -4328,6 +4498,12 @@ "integrity": "sha1-aRC8pdqMleeEtXUbl2z1oQ/uNtI=", "dev": true }, + "is-negative-zero": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.0.tgz", + "integrity": "sha1-lVOxIbD6wohp2p7UWeIMdUN4hGE=", + "dev": true + }, "is-number": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", @@ -4364,12 +4540,20 @@ "dev": true }, "is-regex": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz", - "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", + "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", "dev": true, "requires": { - "has": "^1.0.3" + "has-symbols": "^1.0.1" + }, + "dependencies": { + "has-symbols": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", + "dev": true + } } }, "is-relative": { @@ -4490,9 +4674,9 @@ "dev": true }, "jsdoctypeparser": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsdoctypeparser/-/jsdoctypeparser-6.1.0.tgz", - "integrity": "sha512-UCQBZ3xCUBv/PLfwKAJhp6jmGOSLFNKzrotXGNgbKhWvz27wPsCsVeP7gIcHPElQw2agBmynAitXqhxR58XAmA==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/jsdoctypeparser/-/jsdoctypeparser-9.0.0.tgz", + "integrity": "sha512-jrTA2jJIL6/DAEILBEh2/w9QxCuwmvNXIry39Ay/HVfhE3o2yVV0U44blYkqdHA/OKloJEqvJy0xU+GSdE2SIw==", "dev": true }, "jsesc": { @@ -4507,6 +4691,12 @@ "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", "dev": true }, + "json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, "json-schema": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", @@ -4544,12 +4734,12 @@ } }, "jsx-ast-utils": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.2.3.tgz", - "integrity": "sha512-EdIHFMm+1BPynpKOpdPqiOsvnIrInRGJD7bzPZdPkjitQEqpdpUuFpq4T0npZFKTiB3RhWFdGN+oqOJIdhDhQA==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.4.1.tgz", + "integrity": "sha512-z1xSldJ6imESSzOjd3NNkieVJKRlKYSOtMG8SFyCj2FIrvSaSuli/WjpBkEzCBoR9bYYYFgqJw61Xhu7Lcgk+w==", "dev": true, "requires": { - "array-includes": "^3.0.3", + "array-includes": "^3.1.1", "object.assign": "^4.1.0" } }, @@ -4565,6 +4755,21 @@ "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dev": true }, + "language-subtag-registry": { + "version": "0.3.20", + "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.20.tgz", + "integrity": "sha512-KPMwROklF4tEx283Xw0pNKtfTj1gZ4UByp4EsIFWLgBavJltF4TiYPc39k06zSTsLzxTVXXDSpbwaQXaFB4Qeg==", + "dev": true + }, + "language-tags": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.5.tgz", + "integrity": "sha1-0yHbxNowuovzAk4ED6XBRmH5GTo=", + "dev": true, + "requires": { + "language-subtag-registry": "~0.3.2" + } + }, "last-run": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/last-run/-/last-run-1.1.1.tgz", @@ -4628,6 +4833,33 @@ "resolve": "^1.1.7" } }, + "line-column": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/line-column/-/line-column-1.0.2.tgz", + "integrity": "sha1-0lryk2tvSEkXKzEuR5LR2Ye8NKI=", + "dev": true, + "requires": { + "isarray": "^1.0.0", + "isobject": "^2.0.0" + }, + "dependencies": { + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + } + } + } + }, + "lines-and-columns": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", + "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", + "dev": true + }, "load-json-file": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", @@ -4641,28 +4873,10 @@ "strip-bom": "^2.0.0" } }, - "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "dev": true, - "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - }, - "dependencies": { - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true - } - } - }, "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", "dev": true }, "lodash._basecopy": { @@ -5062,6 +5276,12 @@ "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==", "dev": true }, + "nanoid": { + "version": "3.1.12", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.12.tgz", + "integrity": "sha512-1qstj9z5+x491jfiC4Nelk+f8XBad7LN20PmyWINJEMRSf3wcAjAWysw1qaA8z6NSKe2sjq1hRSDpBH5paCb6A==", + "dev": true + }, "nanomatch": { "version": "1.2.13", "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", @@ -5122,9 +5342,9 @@ } }, "node-releases": { - "version": "1.1.53", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.53.tgz", - "integrity": "sha512-wp8zyQVwef2hpZ/dJH7SfSrIPD6YoJz6BDQDpGEkcA0s3LpAQoxBIYmfIq6QAhC1DhwsyCgTaTTcONwX8qzCuQ==", + "version": "1.1.61", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.61.tgz", + "integrity": "sha512-DD5vebQLg8jLCOzwupn954fbIiZht05DAZs0k2u8NStSe6h9XdsuIQL8hSRKYiU8WUQRznmSDrKGbv3ObOmC7g==", "dev": true }, "node-sass": { @@ -5308,9 +5528,9 @@ } }, "object-inspect": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz", - "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz", + "integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA==", "dev": true }, "object-keys": { @@ -5353,14 +5573,13 @@ } }, "object.entries": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.1.tgz", - "integrity": "sha512-ilqR7BgdyZetJutmDPfXCDffGa0/Yzl2ivVNpbx/g4UeWrCdRnFDUBrKJGLhGieRHDATnyZXWBeCb29k9CJysQ==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.2.tgz", + "integrity": "sha512-BQdB9qKmb/HyNdMNWVr7O3+z5MUIx3aiegEIJqjMBbBf0YT9RRxTJSim4mzFqtyr7PDAHigq0N9dO0m0tRakQA==", "dev": true, "requires": { "define-properties": "^1.1.3", - "es-abstract": "^1.17.0-next.1", - "function-bind": "^1.1.1", + "es-abstract": "^1.17.5", "has": "^1.0.3" }, "dependencies": { @@ -5540,30 +5759,6 @@ "os-tmpdir": "^1.0.0" } }, - "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dev": true, - "requires": { - "p-try": "^1.0.0" - } - }, - "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", - "dev": true, - "requires": { - "p-limit": "^1.1.0" - } - }, - "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", - "dev": true - }, "parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -5697,26 +5892,6 @@ "pinkie": "^2.0.0" } }, - "pkg-up": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-2.0.0.tgz", - "integrity": "sha1-yBmscoBZpGHKscOImivjxJoATX8=", - "dev": true, - "requires": { - "find-up": "^2.1.0" - }, - "dependencies": { - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "requires": { - "locate-path": "^2.0.0" - } - } - } - }, "plugin-error": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/plugin-error/-/plugin-error-1.0.1.tgz", @@ -5736,14 +5911,15 @@ "dev": true }, "postcss": { - "version": "7.0.27", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.27.tgz", - "integrity": "sha512-WuQETPMcW9Uf1/22HWUWP9lgsIC+KEHg2kozMflKjbeUtw9ujvFX6QmIfozaErDkmLWS9WEnEdEe6Uo9/BNTdQ==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.1.1.tgz", + "integrity": "sha512-9DGLSsjooH3kSNjTZUOt2eIj2ZTW0VI2PZ/3My+8TC7KIbH2OKwUlISfDsf63EP4aiRUt3XkEWMWvyJHvJelEg==", "dev": true, "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" + "colorette": "^1.2.1", + "line-column": "^1.0.2", + "nanoid": "^3.1.12", + "source-map": "^0.6.1" }, "dependencies": { "source-map": { @@ -5751,32 +5927,63 @@ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } } } }, "postcss-load-config": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.1.0.tgz", - "integrity": "sha512-4pV3JJVPLd5+RueiVVB+gFOAa7GWc25XQcMp86Zexzke69mKf6Nx9LRcQywdz7yZI9n1udOxmLuAwTBypypF8Q==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.1.2.tgz", + "integrity": "sha512-/rDeGV6vMUo3mwJZmeHfEDvwnTKKqQ0S7OHUi/kJvvtx3aWtyWG2/0ZWnzCt2keEclwN6Tf0DST2v9kITdOKYw==", "dev": true, "requires": { "cosmiconfig": "^5.0.0", "import-cwd": "^2.0.0" + }, + "dependencies": { + "cosmiconfig": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", + "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", + "dev": true, + "requires": { + "import-fresh": "^2.0.0", + "is-directory": "^0.3.1", + "js-yaml": "^3.13.1", + "parse-json": "^4.0.0" + } + }, + "import-fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", + "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", + "dev": true, + "requires": { + "caller-path": "^2.0.0", + "resolve-from": "^3.0.0" + } + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + }, + "resolve-from": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", + "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "dev": true + } } }, "postcss-value-parser": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.0.3.tgz", - "integrity": "sha512-N7h4pG+Nnu5BEIzyeaaIYWs0LI5XC40OrRh5L60z0QjFsqGWcHcbkBvpe1WYpcIS9yQ8sOi/vIPt1ejQCrMVrg==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz", + "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==", "dev": true }, "prelude-ls": { @@ -5786,9 +5993,9 @@ "dev": true }, "prettier": { - "version": "npm:wp-prettier@1.19.1", - "resolved": "https://registry.npmjs.org/wp-prettier/-/wp-prettier-1.19.1.tgz", - "integrity": "sha512-mqAC2r1NDmRjG+z3KCJ/i61tycKlmADIjxnDhQab+KBxSAGbF/W7/zwB2guy/ypIeKrrftNsIYkNZZQKf3vJcg==", + "version": "npm:wp-prettier@2.0.5", + "resolved": "https://registry.npmjs.org/wp-prettier/-/wp-prettier-2.0.5.tgz", + "integrity": "sha512-5GCgdeevIXwR3cW4Qj5XWC5MO1iSCz8+IPn0mMw6awAt/PBiey8yyO7MhePRsaMqghJAhg6Q3QLYWSnUHWkG6A==", "dev": true }, "prettier-linter-helpers": { @@ -5955,9 +6162,9 @@ } }, "regenerator-runtime": { - "version": "0.13.5", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz", - "integrity": "sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA==", + "version": "0.13.7", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", + "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==", "dev": true }, "regex-not": { @@ -6004,9 +6211,9 @@ "dev": true }, "regextras": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/regextras/-/regextras-0.7.0.tgz", - "integrity": "sha512-ds+fL+Vhl918gbAUb0k2gVKbTZLsg84Re3DI6p85Et0U0tYME3hyW4nMK8Px4dtDaBA2qNjvG5uWyW7eK5gfmw==", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/regextras/-/regextras-0.7.1.tgz", + "integrity": "sha512-9YXf6xtW+qzQ+hcMQXx95MOvfqXFgsKDZodX3qZB0x2n5Z94ioetIITsBtvJbiOyxa/6s9AtyweBLCdPmPko/w==", "dev": true }, "remove-bom-buffer": { @@ -6496,13 +6703,47 @@ "dev": true }, "side-channel": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.2.tgz", - "integrity": "sha512-7rL9YlPHg7Ancea1S96Pa8/QWb4BtXL/TZvS6B8XFetGBeuhAsfmUspK6DokBeZ64+Kj9TCNRD/30pVz1BvQNA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.3.tgz", + "integrity": "sha512-A6+ByhlLkksFoUepsGxfj5x1gTSrs+OydsRptUxeNCabQpCFUvcwIczgOigI8vhY/OJCnPnyE9rGiwgvr9cS1g==", "dev": true, "requires": { - "es-abstract": "^1.17.0-next.1", - "object-inspect": "^1.7.0" + "es-abstract": "^1.18.0-next.0", + "object-inspect": "^1.8.0" + }, + "dependencies": { + "es-abstract": { + "version": "1.18.0-next.0", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.0.tgz", + "integrity": "sha512-elZXTZXKn51hUBdJjSZGYRujuzilgXo8vSPQzjGYXLvSlGiCo8VO8ZGV3kjo9a0WNJJ57hENagwbtlRuHuzkcQ==", + "dev": true, + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.0", + "is-negative-zero": "^2.0.0", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.0", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + } + }, + "has-symbols": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", + "dev": true + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true + } } }, "signal-exit": { @@ -6666,9 +6907,9 @@ } }, "source-map-support": { - "version": "0.5.16", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.16.tgz", - "integrity": "sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ==", + "version": "0.5.19", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", + "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", "dev": true, "requires": { "buffer-from": "^1.0.0", @@ -6882,62 +7123,6 @@ } } }, - "string.prototype.trimleft": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.2.tgz", - "integrity": "sha512-gCA0tza1JBvqr3bfAIFJGqfdRTyPae82+KTnm3coDXkZN9wnuW3HjGgN386D7hfv5CHQYCI022/rJPVlqXyHSw==", - "dev": true, - "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.5", - "string.prototype.trimstart": "^1.0.0" - }, - "dependencies": { - "define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dev": true, - "requires": { - "object-keys": "^1.0.12" - } - }, - "object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true - } - } - }, - "string.prototype.trimright": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.2.tgz", - "integrity": "sha512-ZNRQ7sY3KroTaYjRS6EbNiiHrOkjihL9aQE/8gfQ4DtAC/aEBRHFJa44OmoWxGGqXuJlfKkZW4WcXErGr+9ZFg==", - "dev": true, - "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.5", - "string.prototype.trimend": "^1.0.0" - }, - "dependencies": { - "define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dev": true, - "requires": { - "object-keys": "^1.0.12" - } - }, - "object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true - } - } - }, "string.prototype.trimstart": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz", @@ -7059,9 +7244,9 @@ "dev": true }, "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", "dev": true }, "string-width": { @@ -7098,20 +7283,20 @@ } }, "terser": { - "version": "4.6.11", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.6.11.tgz", - "integrity": "sha512-76Ynm7OXUG5xhOpblhytE7X58oeNSmC8xnNhjWVo8CksHit0U0kO4hfNbPrrYwowLWFgM2n9L176VNx2QaHmtA==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.3.3.tgz", + "integrity": "sha512-vRQDIlD+2Pg8YMwVK9kMM3yGylG95EIwzBai1Bw7Ot4OBfn3VP1TZn3EWx4ep2jERN/AmnVaTiGuelZSN7ds/A==", "dev": true, "requires": { "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" + "source-map": "~0.7.2", + "source-map-support": "~0.5.19" }, "dependencies": { "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", "dev": true } } @@ -7355,6 +7540,12 @@ "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", "dev": true }, + "typescript": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.3.tgz", + "integrity": "sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg==", + "dev": true + }, "unc-path-regex": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", @@ -7645,15 +7836,6 @@ "mkdirp": "^0.5.1" } }, - "xregexp": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-4.3.0.tgz", - "integrity": "sha512-7jXDIFXh5yJ/orPn4SXjuVrWWoi4Cr8jfV1eHv9CixKSbU+jY4mxfrBwAuDvupPNKpMUY+FeIqsVw/JLT9+B8g==", - "dev": true, - "requires": { - "@babel/runtime-corejs3": "^7.8.3" - } - }, "xtend": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", @@ -7672,6 +7854,12 @@ "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", "dev": true }, + "yaml": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.0.tgz", + "integrity": "sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg==", + "dev": true + }, "yargs": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz", diff --git a/package.json b/package.json index 75518f9..f0b5a0e 100644 --- a/package.json +++ b/package.json @@ -14,17 +14,20 @@ "license": "GPL-3.0", "licenseURI": "http://www.gnu.org/licenses/gpl.html", "devDependencies": { - "@wordpress/eslint-plugin": "^5.1.0", - "autoprefixer": "^9.7.6", + "@wordpress/eslint-plugin": "^7.2.1", + "autoprefixer": "^10.0.1", "gulp": "^4.0.2", "gulp-concat": ">=2.6.1", "gulp-eslint": "^6.0.0", - "gulp-postcss": "^8.0.0", + "gulp-postcss": "^9.0.0", "gulp-replace-task": "^0.11.0", "gulp-sass": "^4.1.0", "gulp-shell": "^0.8.0", "gulp-sourcemaps": "^2.6.5", - "gulp-terser": ">=1.1.7" + "gulp-terser": "^1.4.0", + "postcss": "^8.1.1", + "tsutils": "^3.17.1", + "typescript": "^4.0.3" }, "browserslist": { "production": [ From 10c7a3a11b65b3819e0699e7da04f216de116af5 Mon Sep 17 00:00:00 2001 From: Brandon Fuller Date: Wed, 30 Sep 2020 15:00:28 -0400 Subject: [PATCH 04/18] Update results card construction Card constructions will change in Component Library versions later than v4.2 --- js/programs.built.js | 2 +- src/js/program-finder.js | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/js/programs.built.js b/js/programs.built.js index 5a63370..4359be3 100644 --- a/js/programs.built.js +++ b/js/programs.built.js @@ -1 +1 @@ -!function(e){"use strict";let t,n,r,i;const s=[];let a;function o(){t.innerHTML=""}function c(e,t){n.className=e,n.innerHTML=t}function l(e){let t,n,r,i="";const s=document.createElement("a");for(s.setAttribute("class","cl-card"),s.setAttribute("href",e.link),s.setAttribute("data-id",e.id),t=0;t'+n[1]+"")}return r=e.image,r+='
    '+i+"
",r+='

'+e.title+"

",r+='
Explore
',s.innerHTML=r,s}function u(t){let n;const r=function(t){let n,r;const i={},s=t.querySelectorAll("select");for(r=0;r1||""!==t.value)&&(a=window.setTimeout((function(){f("terms",t.value),h()}),300))}function f(e,t){let n;const r=window.location.toString(),i=new RegExp("([?&])"+e+"=.*?(&|$)","i"),s=-1!==r.indexOf("?")?"&":"?";n=r.match(i)?r.replace(i,"$1"+e+"="+t+"$2"):r+s+e+"="+t,history.pushState&&window.history.pushState({path:n},"",n)}function p(){let e,t;e={};const n=location.search.substring(1);return""!==n&&(e=n.split("&").reduce((function(e,n){return t=n.split("="),e[decodeURIComponent(t[0])]=decodeURIComponent(t[1]),e}),{})),e}function h(){let e,t,n;const s=p();for(n in e=URIProgramFinder.base+"/wp-json/uri-programs/v1/category",s)t=-1!==e.indexOf("?")?"&":"?",e+=t+n+"="+s[n];s.terms&&(e+="&s="+s.terms),e!==i&&(c("loading",'
Loading...
'),i=e,function(e,t){r=new XMLHttpRequest,r.onreadystatechange=function(){r.readyState===XMLHttpRequest.DONE&&(200===r.status?t(r.responseText):404===r.status&&(c("error","There was an error retrieving results."),o()))},r.open("GET",e,!0),r.send()}(e,m))}function m(n){let r,i,a,u,d;const f=JSON.parse(n),p=f.length;if(function(){let e;for(e in s)window.clearTimeout(s[e])}(),0===p)o(),c("empty","No matches found.");else if(d=1!==p?"programs match":"program matches",c("results",p+" "+d+" your search."),r=e("#program-results .cl-card"),r.length){for(u in a=[],f)a.push(f[u].id);for(r.each((function(){-1===a.indexOf(e(this).data("id"))&&e(this).remove()})),u=0;u'+n[1]+"")}return r='
'+e.image+'
    '+a+"
",r+='

'+e.title+"

",r+='
Explore
',i.innerHTML=r,i}function d(t){let n;const r=function(t){let n,r;const a={},i=t.querySelectorAll("select");for(r=0;r1||""!==t.value)&&(s=window.setTimeout((function(){f("terms",t.value),m()}),300))}function f(e,t){let n;const r=window.location.toString(),a=new RegExp("([?&])"+e+"=.*?(&|$)","i"),i=-1!==r.indexOf("?")?"&":"?";n=r.match(a)?r.replace(a,"$1"+e+"="+t+"$2"):r+i+e+"="+t,history.pushState&&window.history.pushState({path:n},"",n)}function p(){let e,t;e={};const n=location.search.substring(1);return""!==n&&(e=n.split("&").reduce((function(e,n){return t=n.split("="),e[decodeURIComponent(t[0])]=decodeURIComponent(t[1]),e}),{})),e}function m(){let e,t,n;const i=p();for(n in e=URIProgramFinder.base+"/wp-json/uri-programs/v1/category",i)t=-1!==e.indexOf("?")?"&":"?",e+=t+n+"="+i[n];i.terms&&(e+="&s="+i.terms),e!==a&&(c("loading",'
Loading...
'),a=e,function(e,t){r=new XMLHttpRequest,r.onreadystatechange=function(){r.readyState===XMLHttpRequest.DONE&&(200===r.status?t(r.responseText):404===r.status&&(c("error","There was an error retrieving results."),o()))},r.open("GET",e,!0),r.send()}(e,h))}function h(n){let r,a,s,d,u;const f=JSON.parse(n),p=f.length;if(function(){let e;for(e in i)window.clearTimeout(i[e])}(),0===p)o(),c("empty","No matches found.");else if(u=1!==p?"programs match":"program matches",c("results",p+" "+u+" your search."),r=e("#program-results .cl-card"),r.length){for(d in s=[],f)s.push(f[d].id);for(r.each((function(){-1===s.indexOf(e(this).data("id"))&&e(this).remove()})),d=0;d'; - html += '

' + data.title + '

'; - html += '
Explore
'; + html = '
' + data.image + '
    ' + badgeHtml + '
'; + html += '

' + data.title + '

'; + html += '
Explore
'; result.innerHTML = html; From 03eb426b37a6789c14cc2299e59e74b29aa63094 Mon Sep 17 00:00:00 2001 From: Brandon Fuller Date: Wed, 30 Sep 2020 16:01:45 -0400 Subject: [PATCH 05/18] Add accelerated program type; add program badge tooltips --- css/map/programs.built.css.map | 2 +- css/programs.built.css | 2 +- i/accelerated.png | Bin 0 -> 2847 bytes js/programs.built.js | 2 +- src/js/program-finder.js | 5 ++++- src/sass/_base.scss | 25 ++++++++++++++++++++++--- 6 files changed, 29 insertions(+), 7 deletions(-) create mode 100644 i/accelerated.png diff --git a/css/map/programs.built.css.map b/css/map/programs.built.css.map index 28a4878..1d8f3e3 100644 --- a/css/map/programs.built.css.map +++ b/css/map/programs.built.css.map @@ -1 +1 @@ -{"version":3,"sources":["_base.scss","_select2.scss"],"names":[],"mappings":"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","file":"../programs.built.css","sourcesContent":["/* ===== PROGRAM FINDER ===== */\n\n#program-finder {\n padding-bottom: 2rem;\n border-bottom: 1px solid #ddd;\n}\n\n#program-finder .has-js #search-programs {\n padding: 1rem;\n font-size: 1.2rem;\n line-height: 2rem;\n display: inline-block;\n width: 80%;\n clear: both;\n box-shadow: none;\n box-sizing: border-box;\n border: 1px solid #ddd;\n margin-bottom: 10px;\n border-radius: 2px;\n}\n\n#program-finder .has-js #search-programs:hover,\n#program-finder .has-js #search-programs:focus {\n border: 1px solid #057fd4;\n}\n\n#program-finder .has-js #search-programs:focus {\n color: #005ebc;\n box-shadow: 0 .2rem .5rem rgba(0,0,0,.2);\n}\n\n#program-finder .has-js label {\n display: inline-block;\n width: 32%;\n}\n\n#program-finder .has-js label:not(:last-of-type) {\n margin-right: 2%;\n}\n\n#program-finder .has-js label>span {\n display: block;\n margin-bottom: 6px;\n font-size: .75rem;\n color: #555;\n}\n\n#program-finder .has-js #js-form-reset {\n background: #eee;\n width: 18%;\n float: right;\n color: #555;\n font-weight: 600;\n padding: 1rem 0;\n font-size: 1.2rem;\n line-height: 2rem;\n text-align: center;\n border: 1px solid #ddd;\n border-radius: 2px;\n box-shadow: none;\n cursor: pointer;\n position: relative;\n top: 0;\n transition: all .1s ease-in-out;\n}\n\n#program-finder .has-js #js-form-reset:hover,\n#program-finder .has-js #js-form-reset:focus {\n background: #fff;\n}\n\n@media all and (max-width: 600px) {\n #program-finder {\n padding: 5px 5px 10px;\n }\n\n #program-finder .has-js label {\n width: 100%;\n display: block;\n margin-right: 0;\n margin-bottom: 10px;\n }\n #program-finder .has-js #search-programs {\n margin-bottom: 10px;\n padding: .8rem .5rem;\n width: 100%;\n display: block;\n box-shadow: none !important;\n }\n\n #program-finder .has-js #js-form-reset {\n float: none;\n width: 100%;\n margin-bottom: 2rem;\n padding: 1rem 0;\n font-size: 1rem;\n line-height: 1.5rem;\n }\n}\n\n#program-status {\n font-size: 1.2rem;\n line-height: 30px;\n padding: 2rem 0;\n}\n\n#program-status:after {\n clear: both;\n display: block;\n content:'';\n}\n\n#program-status.results {\n color: #000;\n}\n\n#program-status.empty {\n color: #999;\n}\n\n#program-status.loading {\n color: #3875d7;\n}\n\n#program-status.error {\n color: #999;\n}\n\n@keyframes loading {\n from {transform: rotate(0);}\n to {transform: rotate(360deg);}\n}\n\n#program-status.loading .spinner {\n position: relative;\n float: left;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n background: linear-gradient(135deg, #ddd 70%, #3875d7 70%);\n animation: loading .8s infinite linear;\n}\n#program-status.loading .spinner span {\n background: #f8f8f8;\n display: block;\n width: 80%;\n height: 80%;\n position: relative;\n top: 10%;\n left: 10%;\n border-radius: 50%;\n}\n\n#program-status.loading div {\n height: 30px;\n line-height: 30px;\n margin-left: 20px;\n float: left;\n}\n\n#program-results .cl-card {\n margin-top: 2%;\n}\n\n#program-results .cl-card .badges {\n display: block;\n z-index: 2;\n margin: -2.2rem 0 1rem 1rem;\n position: relative;\n}\n\n#program-results .cl-card .badges li {\n display: inline-block;\n height: 20px;\n line-height: 20px;\n text-align: center;\n font-size: .7rem;\n font-weight: 600;\n border-radius: 2px;\n margin-right: 4px;\n margin-bottom: 0 !important;\n padding: 0 8px;\n color: rgba(0,0,0,.8);\n}\n\n#program-results .cl-card .badges li.bs,\n#program-results .cl-card .badges li.ba {\n background: #d6deea;\n}\n\n#program-results .cl-card .badges li.ms,\n#program-results .cl-card .badges li.ma {\n background: #f1ecca;\n}\n\n#program-results .cl-card .badges li.phd {\n background: #cbe5d2;\n}\n\n#program-results .cl-card .badges li.cert {\n background: #f0d8da;\n}\n\n#program-results .cl-card .badges li.ucert {\n background: #eee;\n}\n\n#program-results .cl-card .badges li.pro {\n background: #dfd5e9;\n}\n\n#program-results .cl-card .badges li.uw {\n background: #ddd;\n}\n\n#program-results .cl-card .badges li.min {\n background: #eee;\n}\n\n.featured-image.sc.program {\n display: block;\n float: right;\n width: 250px;\n margin-right: 50px;\n margin-left: 30px;\n}\n\n.featured-image.sc.program img {\n border-radius: 2px;\n}\n\n@media all and (max-width: 480px) {\n .featured-image.sc.program {\n float: none;\n width: 100%;\n margin: 15px 0;\n }\n}\n","/* CUSTOM STYLES FOR SELECT2 */\n\n#program-finder {\n\n .select2-container--default {\n\n .select2-selection--multiple {\n\n border: 1px solid #ddd;\n border-radius: 2px;\n\n li {\n margin-bottom: 0;\n }\n\n .select2-selection__choice {\n background: #eee;\n border-radius: 2px;\n border: none;\n padding: 2px 5px 1px;\n }\n\n .select2-selection__choice__remove {\n margin-right: 5px;\n }\n }\n\n &.select2-container--focus {\n\n .select2-selection--multiple {\n border: 1px solid #057fd4;\n }\n\n }\n\n }\n\n}\n\n.select2-dropdown {\n\n border: 1px solid #ddd;\n font-size: .9rem;\n\n li {\n margin-bottom: 0;\n }\n\n}\n"]} \ No newline at end of file +{"version":3,"sources":["_base.scss","_select2.scss"],"names":[],"mappings":"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","file":"../programs.built.css","sourcesContent":["/* ===== PROGRAM FINDER ===== */\n\n#program-finder {\n padding-bottom: 2rem;\n border-bottom: 1px solid #ddd;\n}\n\n#program-finder .has-js #search-programs {\n padding: 1rem;\n font-size: 1.2rem;\n line-height: 2rem;\n display: inline-block;\n width: 80%;\n clear: both;\n box-shadow: none;\n box-sizing: border-box;\n border: 1px solid #ddd;\n margin-bottom: 10px;\n border-radius: 2px;\n}\n\n#program-finder .has-js #search-programs:hover,\n#program-finder .has-js #search-programs:focus {\n border: 1px solid #057fd4;\n}\n\n#program-finder .has-js #search-programs:focus {\n color: #005ebc;\n box-shadow: 0 .2rem .5rem rgba(0,0,0,.2);\n}\n\n#program-finder .has-js label {\n display: inline-block;\n width: 32%;\n}\n\n#program-finder .has-js label:not(:last-of-type) {\n margin-right: 2%;\n}\n\n#program-finder .has-js label>span {\n display: block;\n margin-bottom: 6px;\n font-size: .75rem;\n color: #555;\n}\n\n#program-finder .has-js #js-form-reset {\n background: #eee;\n width: 18%;\n float: right;\n color: #555;\n font-weight: 600;\n padding: 1rem 0;\n font-size: 1.2rem;\n line-height: 2rem;\n text-align: center;\n border: 1px solid #ddd;\n border-radius: 2px;\n box-shadow: none;\n cursor: pointer;\n position: relative;\n top: 0;\n transition: all .1s ease-in-out;\n}\n\n#program-finder .has-js #js-form-reset:hover,\n#program-finder .has-js #js-form-reset:focus {\n background: #fff;\n}\n\n@media all and (max-width: 600px) {\n #program-finder {\n padding: 5px 5px 10px;\n }\n\n #program-finder .has-js label {\n width: 100%;\n display: block;\n margin-right: 0;\n margin-bottom: 10px;\n }\n #program-finder .has-js #search-programs {\n margin-bottom: 10px;\n padding: .8rem .5rem;\n width: 100%;\n display: block;\n box-shadow: none !important;\n }\n\n #program-finder .has-js #js-form-reset {\n float: none;\n width: 100%;\n margin-bottom: 2rem;\n padding: 1rem 0;\n font-size: 1rem;\n line-height: 1.5rem;\n }\n}\n\n#program-status {\n font-size: 1.2rem;\n line-height: 30px;\n padding: 2rem 0;\n}\n\n#program-status:after {\n clear: both;\n display: block;\n content:'';\n}\n\n#program-status.results {\n color: #000;\n}\n\n#program-status.empty {\n color: #999;\n}\n\n#program-status.loading {\n color: #3875d7;\n}\n\n#program-status.error {\n color: #999;\n}\n\n@keyframes loading {\n from {transform: rotate(0);}\n to {transform: rotate(360deg);}\n}\n\n#program-status.loading .spinner {\n position: relative;\n float: left;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n background: linear-gradient(135deg, #ddd 70%, #3875d7 70%);\n animation: loading .8s infinite linear;\n}\n#program-status.loading .spinner span {\n background: #f8f8f8;\n display: block;\n width: 80%;\n height: 80%;\n position: relative;\n top: 10%;\n left: 10%;\n border-radius: 50%;\n}\n\n#program-status.loading div {\n height: 30px;\n line-height: 30px;\n margin-left: 20px;\n float: left;\n}\n\n#program-results .cl-card {\n margin-top: 2%;\n}\n\n#program-results .cl-card .badges {\n display: inline-block;\n z-index: 2;\n margin: -2.2rem 0 1rem 1rem;\n position: absolute;\n}\n\n#program-results .cl-card .badges:after {\n display: block;\n content: '';\n clear: both;\n}\n\n#program-results .cl-card .badges li {\n display: block;\n height: 20px;\n line-height: 20px;\n float: left;\n text-align: center;\n font-size: .7rem;\n font-weight: 600;\n border-radius: 2px;\n margin-right: 4px;\n margin-bottom: 0 !important;\n padding: 0 8px;\n color: rgba(0,0,0,.8);\n}\n\n#program-results .cl-card .badges li.bs,\n#program-results .cl-card .badges li.ba {\n background: #d6deea;\n}\n\n#program-results .cl-card .badges li.ms,\n#program-results .cl-card .badges li.ma {\n background: #f1ecca;\n}\n\n#program-results .cl-card .badges li.phd {\n background: #cbe5d2;\n}\n\n#program-results .cl-card .badges li.cert {\n background: #f0d8da;\n}\n\n#program-results .cl-card .badges li.ucert {\n background: #eee;\n}\n\n#program-results .cl-card .badges li.pro {\n background: #dfd5e9;\n}\n\n#program-results .cl-card .badges li.uw {\n background: #ddd;\n}\n\n#program-results .cl-card .badges li.min {\n background: #eee;\n}\n\n#program-results .cl-card .badges li.acc {\n background: #FF7100;\n overflow: hidden;\n width: 0;\n padding-left: 20px;\n padding-right: 0;\n background-image: url( '../i/accelerated.png' );\n background-position: center center;\n background-repeat: no-repeat;\n background-size: 80% auto;\n}\n\n.featured-image.sc.program {\n display: block;\n float: right;\n width: 250px;\n margin-right: 50px;\n margin-left: 30px;\n}\n\n.featured-image.sc.program img {\n border-radius: 2px;\n}\n\n@media all and (max-width: 480px) {\n .featured-image.sc.program {\n float: none;\n width: 100%;\n margin: 15px 0;\n }\n}\n","/* CUSTOM STYLES FOR SELECT2 */\n\n#program-finder {\n\n .select2-container--default {\n\n .select2-selection--multiple {\n\n border: 1px solid #ddd;\n border-radius: 2px;\n\n li {\n margin-bottom: 0;\n }\n\n .select2-selection__choice {\n background: #eee;\n border-radius: 2px;\n border: none;\n padding: 2px 5px 1px;\n }\n\n .select2-selection__choice__remove {\n margin-right: 5px;\n }\n }\n\n &.select2-container--focus {\n\n .select2-selection--multiple {\n border: 1px solid #057fd4;\n }\n\n }\n\n }\n\n}\n\n.select2-dropdown {\n\n border: 1px solid #ddd;\n font-size: .9rem;\n\n li {\n margin-bottom: 0;\n }\n\n}\n"]} \ No newline at end of file diff --git a/css/programs.built.css b/css/programs.built.css index b95e705..6285ed1 100644 --- a/css/programs.built.css +++ b/css/programs.built.css @@ -1,3 +1,3 @@ -#program-finder{padding-bottom:2rem;border-bottom:1px solid #ddd}#program-finder .has-js #search-programs{padding:1rem;font-size:1.2rem;line-height:2rem;display:inline-block;width:80%;clear:both;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #ddd;margin-bottom:10px;border-radius:2px}#program-finder .has-js #search-programs:hover,#program-finder .has-js #search-programs:focus{border:1px solid #057fd4}#program-finder .has-js #search-programs:focus{color:#005ebc;-webkit-box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.2);box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.2)}#program-finder .has-js label{display:inline-block;width:32%}#program-finder .has-js label:not(:last-of-type){margin-right:2%}#program-finder .has-js label>span{display:block;margin-bottom:6px;font-size:.75rem;color:#555}#program-finder .has-js #js-form-reset{background:#eee;width:18%;float:right;color:#555;font-weight:600;padding:1rem 0;font-size:1.2rem;line-height:2rem;text-align:center;border:1px solid #ddd;border-radius:2px;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;position:relative;top:0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#program-finder .has-js #js-form-reset:hover,#program-finder .has-js #js-form-reset:focus{background:#fff}@media all and (max-width: 600px){#program-finder{padding:5px 5px 10px}#program-finder .has-js label{width:100%;display:block;margin-right:0;margin-bottom:10px}#program-finder .has-js #search-programs{margin-bottom:10px;padding:.8rem .5rem;width:100%;display:block;-webkit-box-shadow:none !important;box-shadow:none !important}#program-finder .has-js #js-form-reset{float:none;width:100%;margin-bottom:2rem;padding:1rem 0;font-size:1rem;line-height:1.5rem}}#program-status{font-size:1.2rem;line-height:30px;padding:2rem 0}#program-status:after{clear:both;display:block;content:''}#program-status.results{color:#000}#program-status.empty{color:#999}#program-status.loading{color:#3875d7}#program-status.error{color:#999}@-webkit-keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}#program-status.loading .spinner{position:relative;float:left;border-radius:50%;width:30px;height:30px;background:linear-gradient(135deg, #ddd 70%, #3875d7 70%);-webkit-animation:loading .8s infinite linear;animation:loading .8s infinite linear}#program-status.loading .spinner span{background:#f8f8f8;display:block;width:80%;height:80%;position:relative;top:10%;left:10%;border-radius:50%}#program-status.loading div{height:30px;line-height:30px;margin-left:20px;float:left}#program-results .cl-card{margin-top:2%}#program-results .cl-card .badges{display:block;z-index:2;margin:-2.2rem 0 1rem 1rem;position:relative}#program-results .cl-card .badges li{display:inline-block;height:20px;line-height:20px;text-align:center;font-size:.7rem;font-weight:600;border-radius:2px;margin-right:4px;margin-bottom:0 !important;padding:0 8px;color:rgba(0,0,0,0.8)}#program-results .cl-card .badges li.bs,#program-results .cl-card .badges li.ba{background:#d6deea}#program-results .cl-card .badges li.ms,#program-results .cl-card .badges li.ma{background:#f1ecca}#program-results .cl-card .badges li.phd{background:#cbe5d2}#program-results .cl-card .badges li.cert{background:#f0d8da}#program-results .cl-card .badges li.ucert{background:#eee}#program-results .cl-card .badges li.pro{background:#dfd5e9}#program-results .cl-card .badges li.uw{background:#ddd}#program-results .cl-card .badges li.min{background:#eee}.featured-image.sc.program{display:block;float:right;width:250px;margin-right:50px;margin-left:30px}.featured-image.sc.program img{border-radius:2px}@media all and (max-width: 480px){.featured-image.sc.program{float:none;width:100%;margin:15px 0}}#program-finder .select2-container--default .select2-selection--multiple{border:1px solid #ddd;border-radius:2px}#program-finder .select2-container--default .select2-selection--multiple li{margin-bottom:0}#program-finder .select2-container--default .select2-selection--multiple .select2-selection__choice{background:#eee;border-radius:2px;border:none;padding:2px 5px 1px}#program-finder .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{margin-right:5px}#program-finder .select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #057fd4}.select2-dropdown{border:1px solid #ddd;font-size:.9rem}.select2-dropdown li{margin-bottom:0} +#program-finder{padding-bottom:2rem;border-bottom:1px solid #ddd}#program-finder .has-js #search-programs{padding:1rem;font-size:1.2rem;line-height:2rem;display:inline-block;width:80%;clear:both;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #ddd;margin-bottom:10px;border-radius:2px}#program-finder .has-js #search-programs:hover,#program-finder .has-js #search-programs:focus{border:1px solid #057fd4}#program-finder .has-js #search-programs:focus{color:#005ebc;-webkit-box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.2);box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.2)}#program-finder .has-js label{display:inline-block;width:32%}#program-finder .has-js label:not(:last-of-type){margin-right:2%}#program-finder .has-js label>span{display:block;margin-bottom:6px;font-size:.75rem;color:#555}#program-finder .has-js #js-form-reset{background:#eee;width:18%;float:right;color:#555;font-weight:600;padding:1rem 0;font-size:1.2rem;line-height:2rem;text-align:center;border:1px solid #ddd;border-radius:2px;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;position:relative;top:0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#program-finder .has-js #js-form-reset:hover,#program-finder .has-js #js-form-reset:focus{background:#fff}@media all and (max-width: 600px){#program-finder{padding:5px 5px 10px}#program-finder .has-js label{width:100%;display:block;margin-right:0;margin-bottom:10px}#program-finder .has-js #search-programs{margin-bottom:10px;padding:.8rem .5rem;width:100%;display:block;-webkit-box-shadow:none !important;box-shadow:none !important}#program-finder .has-js #js-form-reset{float:none;width:100%;margin-bottom:2rem;padding:1rem 0;font-size:1rem;line-height:1.5rem}}#program-status{font-size:1.2rem;line-height:30px;padding:2rem 0}#program-status:after{clear:both;display:block;content:''}#program-status.results{color:#000}#program-status.empty{color:#999}#program-status.loading{color:#3875d7}#program-status.error{color:#999}@-webkit-keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}#program-status.loading .spinner{position:relative;float:left;border-radius:50%;width:30px;height:30px;background:linear-gradient(135deg, #ddd 70%, #3875d7 70%);-webkit-animation:loading .8s infinite linear;animation:loading .8s infinite linear}#program-status.loading .spinner span{background:#f8f8f8;display:block;width:80%;height:80%;position:relative;top:10%;left:10%;border-radius:50%}#program-status.loading div{height:30px;line-height:30px;margin-left:20px;float:left}#program-results .cl-card{margin-top:2%}#program-results .cl-card .badges{display:inline-block;z-index:2;margin:-2.2rem 0 1rem 1rem;position:absolute}#program-results .cl-card .badges:after{display:block;content:'';clear:both}#program-results .cl-card .badges li{display:block;height:20px;line-height:20px;float:left;text-align:center;font-size:.7rem;font-weight:600;border-radius:2px;margin-right:4px;margin-bottom:0 !important;padding:0 8px;color:rgba(0,0,0,0.8)}#program-results .cl-card .badges li.bs,#program-results .cl-card .badges li.ba{background:#d6deea}#program-results .cl-card .badges li.ms,#program-results .cl-card .badges li.ma{background:#f1ecca}#program-results .cl-card .badges li.phd{background:#cbe5d2}#program-results .cl-card .badges li.cert{background:#f0d8da}#program-results .cl-card .badges li.ucert{background:#eee}#program-results .cl-card .badges li.pro{background:#dfd5e9}#program-results .cl-card .badges li.uw{background:#ddd}#program-results .cl-card .badges li.min{background:#eee}#program-results .cl-card .badges li.acc{background:#FF7100;overflow:hidden;width:0;padding-left:20px;padding-right:0;background-image:url("../i/accelerated.png");background-position:center center;background-repeat:no-repeat;background-size:80% auto}.featured-image.sc.program{display:block;float:right;width:250px;margin-right:50px;margin-left:30px}.featured-image.sc.program img{border-radius:2px}@media all and (max-width: 480px){.featured-image.sc.program{float:none;width:100%;margin:15px 0}}#program-finder .select2-container--default .select2-selection--multiple{border:1px solid #ddd;border-radius:2px}#program-finder .select2-container--default .select2-selection--multiple li{margin-bottom:0}#program-finder .select2-container--default .select2-selection--multiple .select2-selection__choice{background:#eee;border-radius:2px;border:none;padding:2px 5px 1px}#program-finder .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{margin-right:5px}#program-finder .select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #057fd4}.select2-dropdown{border:1px solid #ddd;font-size:.9rem}.select2-dropdown li{margin-bottom:0} /*# sourceMappingURL=map/programs.built.css.map */ diff --git a/i/accelerated.png b/i/accelerated.png new file mode 100644 index 0000000000000000000000000000000000000000..f31d0b608ae742ad16023a43d82220d245b666b1 GIT binary patch literal 2847 zcmai0c_38#9v_t5lNK#h(~;<5W^7aD&Wvp=gBjb9(qfo1jAdrb!kDt8D^irJYYU;0 zEu^TFr6kXiHcLIFlFK!obgL;zyfdS#+pXUF>DCB^iLNX;l7!qJX11#~%SOEqS2m^UkxF9T) z$;Ak8fK(R){g!Ma0l1XH3&84I(fkc@gO-zg+h7mW4$)gI4m|Pu+#JmOp>{8UI}a7i$mzqXAG0wLWWM~VFGBT{nu{&W(H{3Z;nl<=413fax?L1O@# zC&-0?0xcFs63B$+5CE+WKU@)0@22`ML3Il`br}5J|oo%d_CtB84CsN&1R%!r! zPN!6h(AG|rB^&6+dhJ_wwT>n!g(>XCN}hLS5&e{M7cehc!+jgu= zZc6E{jzRG7`>__>18EP-0pQ7;U%@OK>AA)CJuTyPI-d!0yxQktRy*Xx6QKa@!LV5krI(4-oG4 z=CW}!t3*6;dF~Cb_oaG+8>`4}PlK(e-0OHdoISHr-YE1OSe&%&)5g}xf>k;qi)PNV zm$J7vO~_ydVWQj3PJa8Y7stA8HaqQiww+Qxl^@_Q zhkdG)Vs3ommG>rj%X6uD~F%<>-qoO?MeMRGXer*U%0X?DSi6HfZnC!-qK!We4K2HO^mgJXMM-aF^4D;bF7E zM!7j}VGoiuPac^L=^c5op5HKi5z}Hg>1uJVy#*P}z*RqAQW6?xpRT)Uz4vS%;pR)3 z?sr8%a~)lo-ITNLCA_*ud#VHCkoX8y`Nw(@N)B2%__-4YeWG`V_3E;m!SHb_h{cdzn#?;StmxpudBW~un2?3!nvO!&i? z73dSIGG%oPEE|?vXOQ-+pYj13L+!^;NV$N&l>TX=-2h6hSIzpuLo6A7Om5} zs`8kaQTYybV*E^nh+K2CEC>J0?pbNl!xMVN)'+n[1]+"")}return r='
'+e.image+'
    '+a+"
",r+='

'+e.title+"

",r+='
Explore
',i.innerHTML=r,i}function d(t){let n;const r=function(t){let n,r;const a={},i=t.querySelectorAll("select");for(r=0;r1||""!==t.value)&&(s=window.setTimeout((function(){f("terms",t.value),m()}),300))}function f(e,t){let n;const r=window.location.toString(),a=new RegExp("([?&])"+e+"=.*?(&|$)","i"),i=-1!==r.indexOf("?")?"&":"?";n=r.match(a)?r.replace(a,"$1"+e+"="+t+"$2"):r+i+e+"="+t,history.pushState&&window.history.pushState({path:n},"",n)}function p(){let e,t;e={};const n=location.search.substring(1);return""!==n&&(e=n.split("&").reduce((function(e,n){return t=n.split("="),e[decodeURIComponent(t[0])]=decodeURIComponent(t[1]),e}),{})),e}function m(){let e,t,n;const i=p();for(n in e=URIProgramFinder.base+"/wp-json/uri-programs/v1/category",i)t=-1!==e.indexOf("?")?"&":"?",e+=t+n+"="+i[n];i.terms&&(e+="&s="+i.terms),e!==a&&(c("loading",'
Loading...
'),a=e,function(e,t){r=new XMLHttpRequest,r.onreadystatechange=function(){r.readyState===XMLHttpRequest.DONE&&(200===r.status?t(r.responseText):404===r.status&&(c("error","There was an error retrieving results."),o()))},r.open("GET",e,!0),r.send()}(e,h))}function h(n){let r,a,s,d,u;const f=JSON.parse(n),p=f.length;if(function(){let e;for(e in i)window.clearTimeout(i[e])}(),0===p)o(),c("empty","No matches found.");else if(u=1!==p?"programs match":"program matches",c("results",p+" "+u+" your search."),r=e("#program-results .cl-card"),r.length){for(d in s=[],f)s.push(f[d].id);for(r.each((function(){-1===s.indexOf(e(this).data("id"))&&e(this).remove()})),d=0;d'+n[1]+"")}return r='
'+e.image+'
    '+a+"
",r+='

'+e.title+"

",r+='
Explore
',i.innerHTML=r,i}function d(t){let n;const r=function(t){let n,r;const a={},i=t.querySelectorAll("select");for(r=0;r1||""!==t.value)&&(s=window.setTimeout((function(){f("terms",t.value),m()}),300))}function f(e,t){let n;const r=window.location.toString(),a=new RegExp("([?&])"+e+"=.*?(&|$)","i"),i=-1!==r.indexOf("?")?"&":"?";n=r.match(a)?r.replace(a,"$1"+e+"="+t+"$2"):r+i+e+"="+t,history.pushState&&window.history.pushState({path:n},"",n)}function p(){let e,t;e={};const n=location.search.substring(1);return""!==n&&(e=n.split("&").reduce((function(e,n){return t=n.split("="),e[decodeURIComponent(t[0])]=decodeURIComponent(t[1]),e}),{})),e}function m(){let e,t,n;const i=p();for(n in e=URIProgramFinder.base+"/wp-json/uri-programs/v1/category",i)t=-1!==e.indexOf("?")?"&":"?",e+=t+n+"="+i[n];i.terms&&(e+="&s="+i.terms),e!==a&&(c("loading",'
Loading...
'),a=e,function(e,t){r=new XMLHttpRequest,r.onreadystatechange=function(){r.readyState===XMLHttpRequest.DONE&&(200===r.status?t(r.responseText):404===r.status&&(c("error","There was an error retrieving results."),o()))},r.open("GET",e,!0),r.send()}(e,h))}function h(n){let r,a,s,d,u;const f=JSON.parse(n),p=f.length;if(function(){let e;for(e in i)window.clearTimeout(i[e])}(),0===p)o(),c("empty","No matches found.");else if(u=1!==p?"programs match":"program matches",c("results",p+" "+u+" your search."),r=e("#program-results .cl-card"),r.length){for(d in s=[],f)s.push(f[d].id);for(r.each((function(){-1===s.indexOf(e(this).data("id"))&&e(this).remove()})),d=0;d' + badge[ 1 ] + ''; + badgeHtml += '
  • ' + badge[ 1 ] + '
  • '; } } diff --git a/src/sass/_base.scss b/src/sass/_base.scss index 300c98b..d965ba5 100644 --- a/src/sass/_base.scss +++ b/src/sass/_base.scss @@ -163,16 +163,23 @@ } #program-results .cl-card .badges { - display: block; + display: inline-block; z-index: 2; margin: -2.2rem 0 1rem 1rem; - position: relative; + position: absolute; +} + +#program-results .cl-card .badges:after { + display: block; + content: ''; + clear: both; } #program-results .cl-card .badges li { - display: inline-block; + display: block; height: 20px; line-height: 20px; + float: left; text-align: center; font-size: .7rem; font-weight: 600; @@ -217,6 +224,18 @@ background: #eee; } +#program-results .cl-card .badges li.acc { + background: #FF7100; + overflow: hidden; + width: 0; + padding-left: 20px; + padding-right: 0; + background-image: url( '../i/accelerated.png' ); + background-position: center center; + background-repeat: no-repeat; + background-size: 80% auto; +} + .featured-image.sc.program { display: block; float: right; From 71f79c799ed5e9d1f6819e76b63bbab6ec146005 Mon Sep 17 00:00:00 2001 From: Brandon Fuller Date: Wed, 30 Sep 2020 16:05:00 -0400 Subject: [PATCH 06/18] Force travis-ci to use the latest node version --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index b821844..a6325c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,8 @@ services: before_install: # Disable XDebug - phpenv config-rm xdebug.ini + # Install latest Node.js (sometimes Travis-CI doesn't run the latest) + - nvm install nvm@latest -g # Install latest NPM (sometimes Travis-CI doesn't run the latest) - npm install npm@latest -g From 43cac9d6c8b3e250e52ce5226754bd80eba393a6 Mon Sep 17 00:00:00 2001 From: Brandon Fuller Date: Wed, 30 Sep 2020 16:07:34 -0400 Subject: [PATCH 07/18] Trying this again... did this once before o_O --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a6325c6..d946216 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,7 @@ before_install: # Disable XDebug - phpenv config-rm xdebug.ini # Install latest Node.js (sometimes Travis-CI doesn't run the latest) - - nvm install nvm@latest -g + - nvm install lts/* # Install latest NPM (sometimes Travis-CI doesn't run the latest) - npm install npm@latest -g From 691b92ca42add4d97c3bd524a6777700ea734a36 Mon Sep 17 00:00:00 2001 From: Brandon Fuller Date: Fri, 2 Oct 2020 16:27:46 -0400 Subject: [PATCH 08/18] Add badge for online programs; adjust badge styles --- css/map/programs.built.css.map | 2 +- css/programs.built.css | 2 +- i/accelerated.png | Bin 2847 -> 3007 bytes i/online.png | Bin 0 -> 2501 bytes js/programs.built.js | 2 +- src/js/program-finder.js | 16 ++++++- src/sass/_base.scss | 74 ++++++++++++++------------------- 7 files changed, 50 insertions(+), 46 deletions(-) create mode 100644 i/online.png diff --git a/css/map/programs.built.css.map b/css/map/programs.built.css.map index 1d8f3e3..fd5906e 100644 --- a/css/map/programs.built.css.map +++ b/css/map/programs.built.css.map @@ -1 +1 @@ -{"version":3,"sources":["_base.scss","_select2.scss"],"names":[],"mappings":"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","file":"../programs.built.css","sourcesContent":["/* ===== PROGRAM FINDER ===== */\n\n#program-finder {\n padding-bottom: 2rem;\n border-bottom: 1px solid #ddd;\n}\n\n#program-finder .has-js #search-programs {\n padding: 1rem;\n font-size: 1.2rem;\n line-height: 2rem;\n display: inline-block;\n width: 80%;\n clear: both;\n box-shadow: none;\n box-sizing: border-box;\n border: 1px solid #ddd;\n margin-bottom: 10px;\n border-radius: 2px;\n}\n\n#program-finder .has-js #search-programs:hover,\n#program-finder .has-js #search-programs:focus {\n border: 1px solid #057fd4;\n}\n\n#program-finder .has-js #search-programs:focus {\n color: #005ebc;\n box-shadow: 0 .2rem .5rem rgba(0,0,0,.2);\n}\n\n#program-finder .has-js label {\n display: inline-block;\n width: 32%;\n}\n\n#program-finder .has-js label:not(:last-of-type) {\n margin-right: 2%;\n}\n\n#program-finder .has-js label>span {\n display: block;\n margin-bottom: 6px;\n font-size: .75rem;\n color: #555;\n}\n\n#program-finder .has-js #js-form-reset {\n background: #eee;\n width: 18%;\n float: right;\n color: #555;\n font-weight: 600;\n padding: 1rem 0;\n font-size: 1.2rem;\n line-height: 2rem;\n text-align: center;\n border: 1px solid #ddd;\n border-radius: 2px;\n box-shadow: none;\n cursor: pointer;\n position: relative;\n top: 0;\n transition: all .1s ease-in-out;\n}\n\n#program-finder .has-js #js-form-reset:hover,\n#program-finder .has-js #js-form-reset:focus {\n background: #fff;\n}\n\n@media all and (max-width: 600px) {\n #program-finder {\n padding: 5px 5px 10px;\n }\n\n #program-finder .has-js label {\n width: 100%;\n display: block;\n margin-right: 0;\n margin-bottom: 10px;\n }\n #program-finder .has-js #search-programs {\n margin-bottom: 10px;\n padding: .8rem .5rem;\n width: 100%;\n display: block;\n box-shadow: none !important;\n }\n\n #program-finder .has-js #js-form-reset {\n float: none;\n width: 100%;\n margin-bottom: 2rem;\n padding: 1rem 0;\n font-size: 1rem;\n line-height: 1.5rem;\n }\n}\n\n#program-status {\n font-size: 1.2rem;\n line-height: 30px;\n padding: 2rem 0;\n}\n\n#program-status:after {\n clear: both;\n display: block;\n content:'';\n}\n\n#program-status.results {\n color: #000;\n}\n\n#program-status.empty {\n color: #999;\n}\n\n#program-status.loading {\n color: #3875d7;\n}\n\n#program-status.error {\n color: #999;\n}\n\n@keyframes loading {\n from {transform: rotate(0);}\n to {transform: rotate(360deg);}\n}\n\n#program-status.loading .spinner {\n position: relative;\n float: left;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n background: linear-gradient(135deg, #ddd 70%, #3875d7 70%);\n animation: loading .8s infinite linear;\n}\n#program-status.loading .spinner span {\n background: #f8f8f8;\n display: block;\n width: 80%;\n height: 80%;\n position: relative;\n top: 10%;\n left: 10%;\n border-radius: 50%;\n}\n\n#program-status.loading div {\n height: 30px;\n line-height: 30px;\n margin-left: 20px;\n float: left;\n}\n\n#program-results .cl-card {\n margin-top: 2%;\n}\n\n#program-results .cl-card .badges {\n display: inline-block;\n z-index: 2;\n margin: -2.2rem 0 1rem 1rem;\n position: absolute;\n}\n\n#program-results .cl-card .badges:after {\n display: block;\n content: '';\n clear: both;\n}\n\n#program-results .cl-card .badges li {\n display: block;\n height: 20px;\n line-height: 20px;\n float: left;\n text-align: center;\n font-size: .7rem;\n font-weight: 600;\n border-radius: 2px;\n margin-right: 4px;\n margin-bottom: 0 !important;\n padding: 0 8px;\n color: rgba(0,0,0,.8);\n}\n\n#program-results .cl-card .badges li.bs,\n#program-results .cl-card .badges li.ba {\n background: #d6deea;\n}\n\n#program-results .cl-card .badges li.ms,\n#program-results .cl-card .badges li.ma {\n background: #f1ecca;\n}\n\n#program-results .cl-card .badges li.phd {\n background: #cbe5d2;\n}\n\n#program-results .cl-card .badges li.cert {\n background: #f0d8da;\n}\n\n#program-results .cl-card .badges li.ucert {\n background: #eee;\n}\n\n#program-results .cl-card .badges li.pro {\n background: #dfd5e9;\n}\n\n#program-results .cl-card .badges li.uw {\n background: #ddd;\n}\n\n#program-results .cl-card .badges li.min {\n background: #eee;\n}\n\n#program-results .cl-card .badges li.acc {\n background: #FF7100;\n overflow: hidden;\n width: 0;\n padding-left: 20px;\n padding-right: 0;\n background-image: url( '../i/accelerated.png' );\n background-position: center center;\n background-repeat: no-repeat;\n background-size: 80% auto;\n}\n\n.featured-image.sc.program {\n display: block;\n float: right;\n width: 250px;\n margin-right: 50px;\n margin-left: 30px;\n}\n\n.featured-image.sc.program img {\n border-radius: 2px;\n}\n\n@media all and (max-width: 480px) {\n .featured-image.sc.program {\n float: none;\n width: 100%;\n margin: 15px 0;\n }\n}\n","/* CUSTOM STYLES FOR SELECT2 */\n\n#program-finder {\n\n .select2-container--default {\n\n .select2-selection--multiple {\n\n border: 1px solid #ddd;\n border-radius: 2px;\n\n li {\n margin-bottom: 0;\n }\n\n .select2-selection__choice {\n background: #eee;\n border-radius: 2px;\n border: none;\n padding: 2px 5px 1px;\n }\n\n .select2-selection__choice__remove {\n margin-right: 5px;\n }\n }\n\n &.select2-container--focus {\n\n .select2-selection--multiple {\n border: 1px solid #057fd4;\n }\n\n }\n\n }\n\n}\n\n.select2-dropdown {\n\n border: 1px solid #ddd;\n font-size: .9rem;\n\n li {\n margin-bottom: 0;\n }\n\n}\n"]} \ No newline at end of file +{"version":3,"sources":["_base.scss","_select2.scss"],"names":[],"mappings":"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","file":"../programs.built.css","sourcesContent":["/* ===== PROGRAM FINDER ===== */\n\n#program-finder {\n padding-bottom: 2rem;\n border-bottom: 1px solid #ddd;\n}\n\n#program-finder .has-js #search-programs {\n padding: 1rem;\n font-size: 1.2rem;\n line-height: 2rem;\n display: inline-block;\n width: 80%;\n clear: both;\n box-shadow: none;\n box-sizing: border-box;\n border: 1px solid #ddd;\n margin-bottom: 10px;\n border-radius: 2px;\n}\n\n#program-finder .has-js #search-programs:hover,\n#program-finder .has-js #search-programs:focus {\n border: 1px solid #057fd4;\n}\n\n#program-finder .has-js #search-programs:focus {\n color: #005ebc;\n box-shadow: 0 .2rem .5rem rgba(0,0,0,.2);\n}\n\n#program-finder .has-js label {\n display: inline-block;\n width: 32%;\n}\n\n#program-finder .has-js label:not(:last-of-type) {\n margin-right: 2%;\n}\n\n#program-finder .has-js label>span {\n display: block;\n margin-bottom: 6px;\n font-size: .75rem;\n color: #555;\n}\n\n#program-finder .has-js #js-form-reset {\n background: #eee;\n width: 18%;\n float: right;\n color: #555;\n font-weight: 600;\n padding: 1rem 0;\n font-size: 1.2rem;\n line-height: 2rem;\n text-align: center;\n border: 1px solid #ddd;\n border-radius: 2px;\n box-shadow: none;\n cursor: pointer;\n position: relative;\n top: 0;\n transition: all .1s ease-in-out;\n}\n\n#program-finder .has-js #js-form-reset:hover,\n#program-finder .has-js #js-form-reset:focus {\n background: #fff;\n}\n\n@media all and (max-width: 600px) {\n #program-finder {\n padding: 5px 5px 10px;\n }\n\n #program-finder .has-js label {\n width: 100%;\n display: block;\n margin-right: 0;\n margin-bottom: 10px;\n }\n #program-finder .has-js #search-programs {\n margin-bottom: 10px;\n padding: .8rem .5rem;\n width: 100%;\n display: block;\n box-shadow: none !important;\n }\n\n #program-finder .has-js #js-form-reset {\n float: none;\n width: 100%;\n margin-bottom: 2rem;\n padding: 1rem 0;\n font-size: 1rem;\n line-height: 1.5rem;\n }\n}\n\n#program-status {\n font-size: 1.2rem;\n line-height: 30px;\n padding: 2rem 0;\n}\n\n#program-status:after {\n clear: both;\n display: block;\n content:'';\n}\n\n#program-status.results {\n color: #000;\n}\n\n#program-status.empty {\n color: #999;\n}\n\n#program-status.loading {\n color: #3875d7;\n}\n\n#program-status.error {\n color: #999;\n}\n\n@keyframes loading {\n from {transform: rotate(0);}\n to {transform: rotate(360deg);}\n}\n\n#program-status.loading .spinner {\n position: relative;\n float: left;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n background: linear-gradient(135deg, #ddd 70%, #3875d7 70%);\n animation: loading .8s infinite linear;\n}\n#program-status.loading .spinner span {\n background: #f8f8f8;\n display: block;\n width: 80%;\n height: 80%;\n position: relative;\n top: 10%;\n left: 10%;\n border-radius: 50%;\n}\n\n#program-status.loading div {\n height: 30px;\n line-height: 30px;\n margin-left: 20px;\n float: left;\n}\n\n#program-results .cl-card {\n margin-top: 2%;\n}\n\n#program-results .cl-card .badges {\n position: absolute;\n display: block;\n z-index: 2;\n margin: 0;\n padding: 30px 1rem 0;\n width: 100%;\n height: 60px;\n box-sizing: border-box;\n transform: translateY(-60px);\n background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.5) 70%);\n}\n\n#program-results .cl-card .badges:after {\n display: block;\n content: '';\n clear: both;\n}\n\n#program-results .cl-card .badges li {\n display: block;\n height: 20px;\n line-height: 20px;\n float: left;\n text-align: center;\n font-size: .7rem;\n font-weight: 600;\n margin-right: 4px;\n margin-bottom: 0 !important;\n padding: 0 4px 0 8px;\n color: #fff;\n}\n\n#program-results .cl-card .badges li.program-type:not(:first-of-type) {\n border-left: 1px solid rgba(255,255,255,.5);\n}\n\n#program-results .cl-card .badges li.icon {\n\n overflow: hidden;\n width: 0;\n padding-left: 16px;\n height: 16px;\n transform: translateY(2px);\n padding-right: 0;\n margin-right: 8px;\n background-position: center center;\n background-repeat: no-repeat;\n background-size: 100% auto;\n\n &:first-child {\n margin-left: 8px;\n }\n\n &.acc {\n background-image: url( '../i/accelerated.png' );\n }\n\n &.online {\n background-image: url( '../i/online.png' );\n }\n\n}\n\n.featured-image.sc.program {\n display: block;\n float: right;\n width: 250px;\n margin-right: 50px;\n margin-left: 30px;\n}\n\n.featured-image.sc.program img {\n border-radius: 2px;\n}\n\n@media all and (max-width: 480px) {\n .featured-image.sc.program {\n float: none;\n width: 100%;\n margin: 15px 0;\n }\n}\n","/* CUSTOM STYLES FOR SELECT2 */\n\n#program-finder {\n\n .select2-container--default {\n\n .select2-selection--multiple {\n\n border: 1px solid #ddd;\n border-radius: 2px;\n\n li {\n margin-bottom: 0;\n }\n\n .select2-selection__choice {\n background: #eee;\n border-radius: 2px;\n border: none;\n padding: 2px 5px 1px;\n }\n\n .select2-selection__choice__remove {\n margin-right: 5px;\n }\n }\n\n &.select2-container--focus {\n\n .select2-selection--multiple {\n border: 1px solid #057fd4;\n }\n\n }\n\n }\n\n}\n\n.select2-dropdown {\n\n border: 1px solid #ddd;\n font-size: .9rem;\n\n li {\n margin-bottom: 0;\n }\n\n}\n"]} \ No newline at end of file diff --git a/css/programs.built.css b/css/programs.built.css index 6285ed1..325ef70 100644 --- a/css/programs.built.css +++ b/css/programs.built.css @@ -1,3 +1,3 @@ -#program-finder{padding-bottom:2rem;border-bottom:1px solid #ddd}#program-finder .has-js #search-programs{padding:1rem;font-size:1.2rem;line-height:2rem;display:inline-block;width:80%;clear:both;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #ddd;margin-bottom:10px;border-radius:2px}#program-finder .has-js #search-programs:hover,#program-finder .has-js #search-programs:focus{border:1px solid #057fd4}#program-finder .has-js #search-programs:focus{color:#005ebc;-webkit-box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.2);box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.2)}#program-finder .has-js label{display:inline-block;width:32%}#program-finder .has-js label:not(:last-of-type){margin-right:2%}#program-finder .has-js label>span{display:block;margin-bottom:6px;font-size:.75rem;color:#555}#program-finder .has-js #js-form-reset{background:#eee;width:18%;float:right;color:#555;font-weight:600;padding:1rem 0;font-size:1.2rem;line-height:2rem;text-align:center;border:1px solid #ddd;border-radius:2px;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;position:relative;top:0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#program-finder .has-js #js-form-reset:hover,#program-finder .has-js #js-form-reset:focus{background:#fff}@media all and (max-width: 600px){#program-finder{padding:5px 5px 10px}#program-finder .has-js label{width:100%;display:block;margin-right:0;margin-bottom:10px}#program-finder .has-js #search-programs{margin-bottom:10px;padding:.8rem .5rem;width:100%;display:block;-webkit-box-shadow:none !important;box-shadow:none !important}#program-finder .has-js #js-form-reset{float:none;width:100%;margin-bottom:2rem;padding:1rem 0;font-size:1rem;line-height:1.5rem}}#program-status{font-size:1.2rem;line-height:30px;padding:2rem 0}#program-status:after{clear:both;display:block;content:''}#program-status.results{color:#000}#program-status.empty{color:#999}#program-status.loading{color:#3875d7}#program-status.error{color:#999}@-webkit-keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}#program-status.loading .spinner{position:relative;float:left;border-radius:50%;width:30px;height:30px;background:linear-gradient(135deg, #ddd 70%, #3875d7 70%);-webkit-animation:loading .8s infinite linear;animation:loading .8s infinite linear}#program-status.loading .spinner span{background:#f8f8f8;display:block;width:80%;height:80%;position:relative;top:10%;left:10%;border-radius:50%}#program-status.loading div{height:30px;line-height:30px;margin-left:20px;float:left}#program-results .cl-card{margin-top:2%}#program-results .cl-card .badges{display:inline-block;z-index:2;margin:-2.2rem 0 1rem 1rem;position:absolute}#program-results .cl-card .badges:after{display:block;content:'';clear:both}#program-results .cl-card .badges li{display:block;height:20px;line-height:20px;float:left;text-align:center;font-size:.7rem;font-weight:600;border-radius:2px;margin-right:4px;margin-bottom:0 !important;padding:0 8px;color:rgba(0,0,0,0.8)}#program-results .cl-card .badges li.bs,#program-results .cl-card .badges li.ba{background:#d6deea}#program-results .cl-card .badges li.ms,#program-results .cl-card .badges li.ma{background:#f1ecca}#program-results .cl-card .badges li.phd{background:#cbe5d2}#program-results .cl-card .badges li.cert{background:#f0d8da}#program-results .cl-card .badges li.ucert{background:#eee}#program-results .cl-card .badges li.pro{background:#dfd5e9}#program-results .cl-card .badges li.uw{background:#ddd}#program-results .cl-card .badges li.min{background:#eee}#program-results .cl-card .badges li.acc{background:#FF7100;overflow:hidden;width:0;padding-left:20px;padding-right:0;background-image:url("../i/accelerated.png");background-position:center center;background-repeat:no-repeat;background-size:80% auto}.featured-image.sc.program{display:block;float:right;width:250px;margin-right:50px;margin-left:30px}.featured-image.sc.program img{border-radius:2px}@media all and (max-width: 480px){.featured-image.sc.program{float:none;width:100%;margin:15px 0}}#program-finder .select2-container--default .select2-selection--multiple{border:1px solid #ddd;border-radius:2px}#program-finder .select2-container--default .select2-selection--multiple li{margin-bottom:0}#program-finder .select2-container--default .select2-selection--multiple .select2-selection__choice{background:#eee;border-radius:2px;border:none;padding:2px 5px 1px}#program-finder .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{margin-right:5px}#program-finder .select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #057fd4}.select2-dropdown{border:1px solid #ddd;font-size:.9rem}.select2-dropdown li{margin-bottom:0} +#program-finder{padding-bottom:2rem;border-bottom:1px solid #ddd}#program-finder .has-js #search-programs{padding:1rem;font-size:1.2rem;line-height:2rem;display:inline-block;width:80%;clear:both;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #ddd;margin-bottom:10px;border-radius:2px}#program-finder .has-js #search-programs:hover,#program-finder .has-js #search-programs:focus{border:1px solid #057fd4}#program-finder .has-js #search-programs:focus{color:#005ebc;-webkit-box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.2);box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.2)}#program-finder .has-js label{display:inline-block;width:32%}#program-finder .has-js label:not(:last-of-type){margin-right:2%}#program-finder .has-js label>span{display:block;margin-bottom:6px;font-size:.75rem;color:#555}#program-finder .has-js #js-form-reset{background:#eee;width:18%;float:right;color:#555;font-weight:600;padding:1rem 0;font-size:1.2rem;line-height:2rem;text-align:center;border:1px solid #ddd;border-radius:2px;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;position:relative;top:0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#program-finder .has-js #js-form-reset:hover,#program-finder .has-js #js-form-reset:focus{background:#fff}@media all and (max-width: 600px){#program-finder{padding:5px 5px 10px}#program-finder .has-js label{width:100%;display:block;margin-right:0;margin-bottom:10px}#program-finder .has-js #search-programs{margin-bottom:10px;padding:.8rem .5rem;width:100%;display:block;-webkit-box-shadow:none !important;box-shadow:none !important}#program-finder .has-js #js-form-reset{float:none;width:100%;margin-bottom:2rem;padding:1rem 0;font-size:1rem;line-height:1.5rem}}#program-status{font-size:1.2rem;line-height:30px;padding:2rem 0}#program-status:after{clear:both;display:block;content:''}#program-status.results{color:#000}#program-status.empty{color:#999}#program-status.loading{color:#3875d7}#program-status.error{color:#999}@-webkit-keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}#program-status.loading .spinner{position:relative;float:left;border-radius:50%;width:30px;height:30px;background:linear-gradient(135deg, #ddd 70%, #3875d7 70%);-webkit-animation:loading .8s infinite linear;animation:loading .8s infinite linear}#program-status.loading .spinner span{background:#f8f8f8;display:block;width:80%;height:80%;position:relative;top:10%;left:10%;border-radius:50%}#program-status.loading div{height:30px;line-height:30px;margin-left:20px;float:left}#program-results .cl-card{margin-top:2%}#program-results .cl-card .badges{position:absolute;display:block;z-index:2;margin:0;padding:30px 1rem 0;width:100%;height:60px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transform:translateY(-60px);transform:translateY(-60px);background:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)), color-stop(30%, rgba(0,0,0,0.2)), color-stop(70%, rgba(0,0,0,0.5)));background:linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.5) 70%)}#program-results .cl-card .badges:after{display:block;content:'';clear:both}#program-results .cl-card .badges li{display:block;height:20px;line-height:20px;float:left;text-align:center;font-size:.7rem;font-weight:600;margin-right:4px;margin-bottom:0 !important;padding:0 4px 0 8px;color:#fff}#program-results .cl-card .badges li.program-type:not(:first-of-type){border-left:1px solid rgba(255,255,255,0.5)}#program-results .cl-card .badges li.icon{overflow:hidden;width:0;padding-left:16px;height:16px;-webkit-transform:translateY(2px);transform:translateY(2px);padding-right:0;margin-right:8px;background-position:center center;background-repeat:no-repeat;background-size:100% auto}#program-results .cl-card .badges li.icon:first-child{margin-left:8px}#program-results .cl-card .badges li.icon.acc{background-image:url("../i/accelerated.png")}#program-results .cl-card .badges li.icon.online{background-image:url("../i/online.png")}.featured-image.sc.program{display:block;float:right;width:250px;margin-right:50px;margin-left:30px}.featured-image.sc.program img{border-radius:2px}@media all and (max-width: 480px){.featured-image.sc.program{float:none;width:100%;margin:15px 0}}#program-finder .select2-container--default .select2-selection--multiple{border:1px solid #ddd;border-radius:2px}#program-finder .select2-container--default .select2-selection--multiple li{margin-bottom:0}#program-finder .select2-container--default .select2-selection--multiple .select2-selection__choice{background:#eee;border-radius:2px;border:none;padding:2px 5px 1px}#program-finder .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{margin-right:5px}#program-finder .select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #057fd4}.select2-dropdown{border:1px solid #ddd;font-size:.9rem}.select2-dropdown li{margin-bottom:0} /*# sourceMappingURL=map/programs.built.css.map */ diff --git a/i/accelerated.png b/i/accelerated.png index f31d0b608ae742ad16023a43d82220d245b666b1..3c70a077d96740e85069d53fe4a0310fbc4d790f 100644 GIT binary patch delta 634 zcmbO)wqJaLG81d;MAhFaDap1<86_nJR{Ht{rA0Y<`9hsQDRAIij6)JJgQJCzuzaJFlE2k7HTq(;fx}#>UBSS)}XtdpiY+9JkL(oU$;$*}2)p zG;>Dd6`>_Atb$2wk-EP=xi9!uah@ZSH>$O1#nO1^zpPu?&N>E&IGUK6h;N;;=bX1= zr_J=@^Uv$v+qPGqXU#TQ{p5?9{F6_tx<-N}=Z}ls`6eE<@zJ7YhnS03Hx^XPYWr5% zf3#90Du z_RpHL?!)$zQ6@r6tG#c`UH8~UR$Ee6T}OYp`SjS}Ro@NcA9*}`o~HV(qkOS&Vv|DN zG6{8;21mCPz6VFoH>}B+@c#GN`H7)LqBBFgGS*B`b7t&cksV~KX{cIX734N;(arz+ zYp(`7|MMz!7nn7l_wio-H@5@yB#&L6m^h{X;5U}(KcoJ=Qsk-ch+CDpm;J$=md~qa zO}o+Bt^1-XGJC;#p(JP6E`lXHZyy^&Hj>yx?fDiqpo#*Er%yx*|J?)CvDHC*;}*b|Gqw} zUVQQ{rfF;s6J4)z9eR9dvNr40C%zBMRE6V3?8Lrh7CAo54)zcEaq>w?tG&;)MH2-g zqFe92jGy!4sF&Mm&eNwqKHKE_^ts(LZ<&*S&TMh%uVA+lJjU@Tttrrn=fd#`XPAF* zUQpJ~dh)&Qx&KC;on2?NR86LNOkUXFe`QgKzn4#a=e#Ksm!^FCpCA7xx^KbuYGH-NBQUq24(MUs~;WcV&mz z|7kgou7z;T>tCSCmOK4|N&L&3=k40J3&c)czpLS`?2Boi&$a4jail-@%#Su?U|`@Z T@Q5sCV9--$VA!n6K8pnaY{=JI diff --git a/i/online.png b/i/online.png new file mode 100644 index 0000000000000000000000000000000000000000..0f3a6a9ecfc9f39c364991e5843a3f424627e441 GIT binary patch literal 2501 zcmai04OCO-84f5vW(83|P^Z0Irht;%B>c48CO}B|lZHhIl7xz0lAGj0NYdm60@f8M zRMDOZ9YdrrkqRPET8Bub<&Zk9XY(kNgAOPn6^0!v;wn(9RQ4qxNY(9}dy{VyWYB8Sxq8dOpIB;;_FF?sl zK%Q2u)hB`?#5pk2>SIw3jm^ZAcrqa;Rf}9p&)>u~%3lJO$kawlDI{qKa2D1Qmv{-| zzyS;fs6tDHSotI`#uhVyTH_OFdgT`dg7%UMp0A;<7vY0eRAj+5z$Z8F`M~;!$|FgIB0K}Hd zP?8|kxOFw(6I?YpznWjF2}>iOYD}Z#z$Tg;S71gp35RMmYC?mv5lh>si3NY_>L~#m zS;o!=(Fp`-3}GO(`kZGrOvK+_zM-}IAjn!%C?>O{gahmJTDeh%%dHZE(C1NuRzYTC zdYr2S<-~!x3Izd@mji*uCX^an5Bcsesv*|vkVQDZ<-XY}9PqweQRLY}Jq?nLJa>$F z4W1b#z;FH;7*Sx>A&bKfEEdNlt^qSr4~Ai>Qw5l@Hu(f7hUbcaLh&s%mUhKO>~y;v zmX4L35b}8M@q>tp{NA-E`F3m4>?O2EKSbBen7SPaCuvbZL){+U&vtG0SGhtrZeUQL zM_bvK*W$Rv?4yS6yT6;{9N5=wml4=BI<@uH(I4z+tTkl!<#mHI9?~;+YTpZg>-vo| zI#cEQGdV{tebAoTx@*KRC;djBkZkUO*^LcSt|`Hk+gVfjrT5@z`JF2llovJ&=)UhL z$BU_5l~pbG+y5#JTx;7D*H_&#!r!!gJm`%q_VIQRTJ$b6xvy zB=Vl@Fh;vn9(Nk)T>bqwLi+lz|51vS9rcjRt$T-eTNcX-p6x;V>`CO5yYNDT`a^rd)_>Xe!+Sxou>YB)=7<9yA zo2Q+?bz|H{uR6HkkA2&uDhzY=r(NoaDs)VDcN|TStS>HcD{xtJ*q1wb=JS;WL-%e? zObiWuJ3G){y?<`<8m+z6C32_R!ZlYd%(9`3XAQeBY@1gc&;O^(h4j-!?y;QHp~=a; zjdP8S55{*J-|e3si>emgzPYMu?4w-4#3A>OiU&@GYM2ji4>fp$_wlg~-u~-~hk}f8 zQU9^Zdgq4LkfPgDiJZ5x&ee)yEWQ-xa|i9T^7e{Am%N8RU6OB^l)$?89_XK#CBdRdR6PEE zJa{_4BX!{8mYk&N69c_hGashxI*^xbJ`?=7k3jObdlgO+4t2rdn^vaUxQ48|8EY^f zbBPH0S6%Q?sgPMmj+KJbv zRKK{i^0W3Ls_#kvVoA>i25%xD>C+U4R3E3U!BF96j)O>Tt@9V{rFAV)leRyb{dL'+n[1]+"")}return r='
    '+e.image+'
      '+a+"
    ",r+='

    '+e.title+"

    ",r+='
    Explore
    ',i.innerHTML=r,i}function d(t){let n;const r=function(t){let n,r;const a={},i=t.querySelectorAll("select");for(r=0;r1||""!==t.value)&&(s=window.setTimeout((function(){f("terms",t.value),m()}),300))}function f(e,t){let n;const r=window.location.toString(),a=new RegExp("([?&])"+e+"=.*?(&|$)","i"),i=-1!==r.indexOf("?")?"&":"?";n=r.match(a)?r.replace(a,"$1"+e+"="+t+"$2"):r+i+e+"="+t,history.pushState&&window.history.pushState({path:n},"",n)}function p(){let e,t;e={};const n=location.search.substring(1);return""!==n&&(e=n.split("&").reduce((function(e,n){return t=n.split("="),e[decodeURIComponent(t[0])]=decodeURIComponent(t[1]),e}),{})),e}function m(){let e,t,n;const i=p();for(n in e=URIProgramFinder.base+"/wp-json/uri-programs/v1/category",i)t=-1!==e.indexOf("?")?"&":"?",e+=t+n+"="+i[n];i.terms&&(e+="&s="+i.terms),e!==a&&(c("loading",'
    Loading...
    '),a=e,function(e,t){r=new XMLHttpRequest,r.onreadystatechange=function(){r.readyState===XMLHttpRequest.DONE&&(200===r.status?t(r.responseText):404===r.status&&(c("error","There was an error retrieving results."),o()))},r.open("GET",e,!0),r.send()}(e,h))}function h(n){let r,a,s,d,u;const f=JSON.parse(n),p=f.length;if(function(){let e;for(e in i)window.clearTimeout(i[e])}(),0===p)o(),c("empty","No matches found.");else if(u=1!==p?"programs match":"program matches",c("results",p+" "+u+" your search."),r=e("#program-results .cl-card"),r.length){for(d in s=[],f)s.push(f[d].id);for(r.each((function(){-1===s.indexOf(e(this).data("id"))&&e(this).remove()})),d=0;d'+n[1]+"")}for(t=0;t'+n[1]+"")}return r='
    '+e.image+'
      '+a+"
    ",r+='

    '+e.title+"

    ",r+='
    Explore
    ',i.innerHTML=r,i}function d(t){let n;const r=function(t){let n,r;const a={},i=t.querySelectorAll("select");for(r=0;r1||""!==t.value)&&(s=window.setTimeout((function(){f("terms",t.value),m()}),300))}function f(e,t){let n;const r=window.location.toString(),a=new RegExp("([?&])"+e+"=.*?(&|$)","i"),i=-1!==r.indexOf("?")?"&":"?";n=r.match(a)?r.replace(a,"$1"+e+"="+t+"$2"):r+i+e+"="+t,history.pushState&&window.history.pushState({path:n},"",n)}function p(){let e,t;e={};const n=location.search.substring(1);return""!==n&&(e=n.split("&").reduce((function(e,n){return t=n.split("="),e[decodeURIComponent(t[0])]=decodeURIComponent(t[1]),e}),{})),e}function m(){let e,t,n;const i=p();for(n in e=URIProgramFinder.base+"/wp-json/uri-programs/v1/category",i)t=-1!==e.indexOf("?")?"&":"?",e+=t+n+"="+i[n];i.terms&&(e+="&s="+i.terms),e!==a&&(c("loading",'
    Loading...
    '),a=e,function(e,t){r=new XMLHttpRequest,r.onreadystatechange=function(){r.readyState===XMLHttpRequest.DONE&&(200===r.status?t(r.responseText):404===r.status&&(c("error","There was an error retrieving results."),o()))},r.open("GET",e,!0),r.send()}(e,h))}function h(n){let r,a,s,d,u;const f=JSON.parse(n),p=f.length;if(function(){let e;for(e in i)window.clearTimeout(i[e])}(),0===p)o(),c("empty","No matches found.");else if(u=1!==p?"programs match":"program matches",c("results",p+" "+u+" your search."),r=e("#program-results .cl-card"),r.length){for(d in s=[],f)s.push(f[d].id);for(r.each((function(){-1===s.indexOf(e(this).data("id"))&&e(this).remove()})),d=0;d' + badge[ 1 ] + ''; + } + } + + for ( i = 0; i < data.program_types.length; i++ ) { + switch ( data.program_types[ i ].slug ) { case 'bachelors': badge = [ 'ba', 'Bachelor's' ]; break; @@ -209,7 +223,7 @@ badge = []; } if ( badge.length ) { - badgeHtml += '
  • ' + badge[ 1 ] + '
  • '; + badgeHtml += '
  • ' + badge[ 1 ] + '
  • '; } } diff --git a/src/sass/_base.scss b/src/sass/_base.scss index d965ba5..37748b4 100644 --- a/src/sass/_base.scss +++ b/src/sass/_base.scss @@ -163,10 +163,16 @@ } #program-results .cl-card .badges { - display: inline-block; - z-index: 2; - margin: -2.2rem 0 1rem 1rem; position: absolute; + display: block; + z-index: 2; + margin: 0; + padding: 30px 1rem 0; + width: 100%; + height: 60px; + box-sizing: border-box; + transform: translateY(-60px); + background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.5) 70%); } #program-results .cl-card .badges:after { @@ -183,57 +189,41 @@ text-align: center; font-size: .7rem; font-weight: 600; - border-radius: 2px; margin-right: 4px; margin-bottom: 0 !important; - padding: 0 8px; - color: rgba(0,0,0,.8); + padding: 0 4px 0 8px; + color: #fff; } -#program-results .cl-card .badges li.bs, -#program-results .cl-card .badges li.ba { - background: #d6deea; +#program-results .cl-card .badges li.program-type:not(:first-of-type) { + border-left: 1px solid rgba(255,255,255,.5); } -#program-results .cl-card .badges li.ms, -#program-results .cl-card .badges li.ma { - background: #f1ecca; -} +#program-results .cl-card .badges li.icon { -#program-results .cl-card .badges li.phd { - background: #cbe5d2; -} - -#program-results .cl-card .badges li.cert { - background: #f0d8da; -} - -#program-results .cl-card .badges li.ucert { - background: #eee; -} - -#program-results .cl-card .badges li.pro { - background: #dfd5e9; -} - -#program-results .cl-card .badges li.uw { - background: #ddd; -} - -#program-results .cl-card .badges li.min { - background: #eee; -} - -#program-results .cl-card .badges li.acc { - background: #FF7100; overflow: hidden; width: 0; - padding-left: 20px; + padding-left: 16px; + height: 16px; + transform: translateY(2px); padding-right: 0; - background-image: url( '../i/accelerated.png' ); + margin-right: 8px; background-position: center center; background-repeat: no-repeat; - background-size: 80% auto; + background-size: 100% auto; + + &:first-child { + margin-left: 8px; + } + + &.acc { + background-image: url( '../i/accelerated.png' ); + } + + &.online { + background-image: url( '../i/online.png' ); + } + } .featured-image.sc.program { From 9da27c0e1c5f5bc69c4f7da8003da4f8edbc37c0 Mon Sep 17 00:00:00 2001 From: Brandon Fuller Date: Tue, 6 Oct 2020 15:35:30 -0400 Subject: [PATCH 09/18] Update WP eslint rules --- package-lock.json | 182 ++++++++++++++++++++++++++++------------------ package.json | 2 +- 2 files changed, 113 insertions(+), 71 deletions(-) diff --git a/package-lock.json b/package-lock.json index cb6b97f..f646fb2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -223,12 +223,6 @@ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", "dev": true }, - "lodash": { - "version": "4.17.20", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", - "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", - "dev": true - }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -253,12 +247,6 @@ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==", "dev": true - }, - "lodash": { - "version": "4.17.20", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", - "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", - "dev": true } } }, @@ -402,9 +390,9 @@ } }, "@wordpress/eslint-plugin": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-7.2.1.tgz", - "integrity": "sha512-p4LrUukVyuZAH/vSHFOV5L0NHW2i8WegOYFDgYCIzcWCi/A7jW1O+vUA5ylm1rRCKqj8Z/4WIMOGflf/8delYw==", + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/@wordpress/eslint-plugin/-/eslint-plugin-7.3.0.tgz", + "integrity": "sha512-7wIFzzc14E1XuuT9haBuhoA9FRUGWlbD4Oek+XkiZlzNVqZI3slgbtIFJ6/Mfij1V18rv6Ns9a1cPJLtCU8JHQ==", "dev": true, "requires": { "@wordpress/prettier-config": "^0.4.0", @@ -1850,35 +1838,91 @@ } }, "es-abstract": { - "version": "1.17.6", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz", - "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==", - "dev": true, + "version": "1.17.7", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz", + "integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==", "requires": { "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", "has": "^1.0.3", "has-symbols": "^1.0.1", - "is-callable": "^1.2.0", - "is-regex": "^1.1.0", - "object-inspect": "^1.7.0", + "is-callable": "^1.2.2", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", "object-keys": "^1.1.1", - "object.assign": "^4.1.0", + "object.assign": "^4.1.1", "string.prototype.trimend": "^1.0.1", "string.prototype.trimstart": "^1.0.1" }, "dependencies": { + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "requires": { + "object-keys": "^1.0.12" + } + }, + "es-abstract": { + "version": "1.18.0-next.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", + "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-negative-zero": "^2.0.0", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + } + }, "has-symbols": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", - "dev": true + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" }, "object-keys": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" + }, + "object.assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.1.tgz", + "integrity": "sha512-VT/cxmx5yaoHSOTSyrCygIDFco+RsibY2NM0a4RdEeY/4KgqezwFtK1yr3U67xYhqJSlASm2pKhLVzPj2lr4bA==", + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.0", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + }, + "dependencies": { + "es-abstract": { + "version": "1.18.0-next.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", + "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-negative-zero": "^2.0.0", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + } + } + } } } }, @@ -1886,7 +1930,6 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, "requires": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", @@ -2153,9 +2196,9 @@ } }, "eslint-plugin-jsdoc": { - "version": "30.6.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-30.6.2.tgz", - "integrity": "sha512-LlRdsSQBSPsI3MvhWoGc+Ev3PfFRBk41wwkmbOgC7KP7WQlbeWPpASF5Vdv17XEZ7J+xvPB3KCMyR//6Dbjnnw==", + "version": "30.6.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-30.6.3.tgz", + "integrity": "sha512-RnyM+a3SKRfPs/jqO2qOGAEZnOJT2dOhiwhBlYVp8/yRUUBNPlvkwZm0arrnyFKvfZX6WqSwlK5OcNnM5W1Etg==", "dev": true, "requires": { "comment-parser": "^0.7.6", @@ -2176,12 +2219,6 @@ "ms": "2.1.2" } }, - "lodash": { - "version": "4.17.20", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", - "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", - "dev": true - }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -2243,9 +2280,9 @@ } }, "eslint-plugin-react": { - "version": "7.21.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.21.2.tgz", - "integrity": "sha512-j3XKvrK3rpBzveKFbgAeGsWb9uz6iUOrR0jixRfjwdFeGSRsXvVTFtHDQYCjsd1/6Z/xvb8Vy3LiI5Reo7fDrg==", + "version": "7.21.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.21.3.tgz", + "integrity": "sha512-OI4GwTCqyIb4ipaOEGLWdaOHCXZZydStAsBEPB2e1ZfNM37bojpgO1BoOQbFb0eLVz3QLDx7b+6kYcrxCuJfhw==", "dev": true, "requires": { "array-includes": "^3.1.1", @@ -3362,8 +3399,7 @@ "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "functional-red-black-tree": { "version": "1.0.1", @@ -4000,7 +4036,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, "requires": { "function-bind": "^1.1.1" } @@ -4402,8 +4437,7 @@ "is-callable": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", - "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==", - "dev": true + "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==" }, "is-data-descriptor": { "version": "0.1.4", @@ -4428,8 +4462,7 @@ "is-date-object": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", - "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", - "dev": true + "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==" }, "is-descriptor": { "version": "0.1.6", @@ -4501,8 +4534,7 @@ "is-negative-zero": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.0.tgz", - "integrity": "sha1-lVOxIbD6wohp2p7UWeIMdUN4hGE=", - "dev": true + "integrity": "sha1-lVOxIbD6wohp2p7UWeIMdUN4hGE=" }, "is-number": { "version": "3.0.0", @@ -4543,7 +4575,6 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", - "dev": true, "requires": { "has-symbols": "^1.0.1" }, @@ -4551,8 +4582,7 @@ "has-symbols": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", - "dev": true + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" } } }, @@ -4575,7 +4605,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", - "dev": true, "requires": { "has-symbols": "^1.0.1" }, @@ -4583,8 +4612,7 @@ "has-symbols": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", - "dev": true + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" } } }, @@ -5530,8 +5558,7 @@ "object-inspect": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz", - "integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA==", - "dev": true + "integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA==" }, "object-keys": { "version": "1.0.11", @@ -6712,22 +6739,31 @@ "object-inspect": "^1.8.0" }, "dependencies": { + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "requires": { + "object-keys": "^1.0.12" + } + }, "es-abstract": { - "version": "1.18.0-next.0", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.0.tgz", - "integrity": "sha512-elZXTZXKn51hUBdJjSZGYRujuzilgXo8vSPQzjGYXLvSlGiCo8VO8ZGV3kjo9a0WNJJ57hENagwbtlRuHuzkcQ==", + "version": "1.18.0-next.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", + "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", "dev": true, "requires": { "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", "has": "^1.0.3", "has-symbols": "^1.0.1", - "is-callable": "^1.2.0", + "is-callable": "^1.2.2", "is-negative-zero": "^2.0.0", "is-regex": "^1.1.1", "object-inspect": "^1.8.0", "object-keys": "^1.1.1", - "object.assign": "^4.1.0", + "object.assign": "^4.1.1", "string.prototype.trimend": "^1.0.1", "string.prototype.trimstart": "^1.0.1" } @@ -6743,6 +6779,18 @@ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", "dev": true + }, + "object.assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.1.tgz", + "integrity": "sha512-VT/cxmx5yaoHSOTSyrCygIDFco+RsibY2NM0a4RdEeY/4KgqezwFtK1yr3U67xYhqJSlASm2pKhLVzPj2lr4bA==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.0", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } } } }, @@ -7100,7 +7148,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz", "integrity": "sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g==", - "dev": true, "requires": { "define-properties": "^1.1.3", "es-abstract": "^1.17.5" @@ -7110,7 +7157,6 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dev": true, "requires": { "object-keys": "^1.0.12" } @@ -7118,8 +7164,7 @@ "object-keys": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" } } }, @@ -7127,7 +7172,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz", "integrity": "sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw==", - "dev": true, "requires": { "define-properties": "^1.1.3", "es-abstract": "^1.17.5" @@ -7137,7 +7181,6 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dev": true, "requires": { "object-keys": "^1.0.12" } @@ -7145,8 +7188,7 @@ "object-keys": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" } } }, diff --git a/package.json b/package.json index f0b5a0e..8a87bdf 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "license": "GPL-3.0", "licenseURI": "http://www.gnu.org/licenses/gpl.html", "devDependencies": { - "@wordpress/eslint-plugin": "^7.2.1", + "@wordpress/eslint-plugin": "^7.3.0", "autoprefixer": "^10.0.1", "gulp": "^4.0.2", "gulp-concat": ">=2.6.1", From 5aa234749f3675fa7cbdf62f604cb1844a49e13a Mon Sep 17 00:00:00 2001 From: Brandon Fuller Date: Wed, 7 Oct 2020 16:35:14 -0400 Subject: [PATCH 10/18] Adjust program option badge tooltips --- js/programs.built.js | 2 +- src/js/program-finder.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/programs.built.js b/js/programs.built.js index 27c47d5..1d20bf5 100644 --- a/js/programs.built.js +++ b/js/programs.built.js @@ -1 +1 @@ -!function(e){"use strict";let t,n,r,a;const i=[];let s;function o(){t.innerHTML=""}function c(e,t){n.className=e,n.innerHTML=t}function l(e){let t,n,r,a="";const i=document.createElement("a");for(i.setAttribute("class","cl-card"),i.setAttribute("href",e.link),i.setAttribute("data-id",e.id),t=0;t'+n[1]+"")}for(t=0;t'+n[1]+"")}return r='
    '+e.image+'
      '+a+"
    ",r+='

    '+e.title+"

    ",r+='
    Explore
    ',i.innerHTML=r,i}function d(t){let n;const r=function(t){let n,r;const a={},i=t.querySelectorAll("select");for(r=0;r1||""!==t.value)&&(s=window.setTimeout((function(){f("terms",t.value),m()}),300))}function f(e,t){let n;const r=window.location.toString(),a=new RegExp("([?&])"+e+"=.*?(&|$)","i"),i=-1!==r.indexOf("?")?"&":"?";n=r.match(a)?r.replace(a,"$1"+e+"="+t+"$2"):r+i+e+"="+t,history.pushState&&window.history.pushState({path:n},"",n)}function p(){let e,t;e={};const n=location.search.substring(1);return""!==n&&(e=n.split("&").reduce((function(e,n){return t=n.split("="),e[decodeURIComponent(t[0])]=decodeURIComponent(t[1]),e}),{})),e}function m(){let e,t,n;const i=p();for(n in e=URIProgramFinder.base+"/wp-json/uri-programs/v1/category",i)t=-1!==e.indexOf("?")?"&":"?",e+=t+n+"="+i[n];i.terms&&(e+="&s="+i.terms),e!==a&&(c("loading",'
    Loading...
    '),a=e,function(e,t){r=new XMLHttpRequest,r.onreadystatechange=function(){r.readyState===XMLHttpRequest.DONE&&(200===r.status?t(r.responseText):404===r.status&&(c("error","There was an error retrieving results."),o()))},r.open("GET",e,!0),r.send()}(e,h))}function h(n){let r,a,s,d,u;const f=JSON.parse(n),p=f.length;if(function(){let e;for(e in i)window.clearTimeout(i[e])}(),0===p)o(),c("empty","No matches found.");else if(u=1!==p?"programs match":"program matches",c("results",p+" "+u+" your search."),r=e("#program-results .cl-card"),r.length){for(d in s=[],f)s.push(f[d].id);for(r.each((function(){-1===s.indexOf(e(this).data("id"))&&e(this).remove()})),d=0;d'+n[1]+"")}for(t=0;t'+n[1]+"")}return r='
    '+e.image+'
      '+a+"
    ",r+='

    '+e.title+"

    ",r+='
    Explore
    ',i.innerHTML=r,i}function d(t){let n;const r=function(t){let n,r;const a={},i=t.querySelectorAll("select");for(r=0;r1||""!==t.value)&&(s=window.setTimeout((function(){f("terms",t.value),m()}),300))}function f(e,t){let n;const r=window.location.toString(),a=new RegExp("([?&])"+e+"=.*?(&|$)","i"),i=-1!==r.indexOf("?")?"&":"?";n=r.match(a)?r.replace(a,"$1"+e+"="+t+"$2"):r+i+e+"="+t,history.pushState&&window.history.pushState({path:n},"",n)}function p(){let e,t;e={};const n=location.search.substring(1);return""!==n&&(e=n.split("&").reduce((function(e,n){return t=n.split("="),e[decodeURIComponent(t[0])]=decodeURIComponent(t[1]),e}),{})),e}function m(){let e,t,n;const i=p();for(n in e=URIProgramFinder.base+"/wp-json/uri-programs/v1/category",i)t=-1!==e.indexOf("?")?"&":"?",e+=t+n+"="+i[n];i.terms&&(e+="&s="+i.terms),e!==a&&(c("loading",'
    Loading...
    '),a=e,function(e,t){r=new XMLHttpRequest,r.onreadystatechange=function(){r.readyState===XMLHttpRequest.DONE&&(200===r.status?t(r.responseText):404===r.status&&(c("error","There was an error retrieving results."),o()))},r.open("GET",e,!0),r.send()}(e,h))}function h(n){let r,a,s,d,u;const f=JSON.parse(n),p=f.length;if(function(){let e;for(e in i)window.clearTimeout(i[e])}(),0===p)o(),c("empty","No matches found.");else if(u=1!==p?"programs match":"program matches",c("results",p+" "+u+" your search."),r=e("#program-results .cl-card"),r.length){for(d in s=[],f)s.push(f[d].id);for(r.each((function(){-1===s.indexOf(e(this).data("id"))&&e(this).remove()})),d=0;d Date: Thu, 8 Oct 2020 11:55:40 -0400 Subject: [PATCH 11/18] Add field for modifying the accelerated program language; add accelerated and online display to the default template --- inc/uri-program-finder-fields.php | 12 ++++++++++++ template-parts/single-program.php | 18 ++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/inc/uri-program-finder-fields.php b/inc/uri-program-finder-fields.php index 7aa3a1e..35c43da 100755 --- a/inc/uri-program-finder-fields.php +++ b/inc/uri-program-finder-fields.php @@ -244,6 +244,18 @@ function uri_program_finder_create_taxonomy() { 'allow_null' => 0, 'multiple' => 0, ), + array( + 'key' => 'field_5f7f3423326e4', + 'label' => 'Accelerated program language', + 'name' => 'accelerated_language', + 'type' => 'text', + 'instructions' => 'Modify the display language for accelerated programs (if applicable)', + 'default_value' => '', + 'placeholder' => '', + 'prepend' => '', + 'append' => '', + 'maxlength' => '', + ), ), 'location' => array( array( diff --git a/template-parts/single-program.php b/template-parts/single-program.php index 9e712a4..d65b3a1 100755 --- a/template-parts/single-program.php +++ b/template-parts/single-program.php @@ -64,6 +64,24 @@ ); ?> + +
    + Optional bachelor's to master's in five years

    "; + } + ?> +
    + + + +
    +

    Fully online program

    +
    + +

    Accreditation

    From 1d2e40f56d58239c286f59aea75d17a3e64d4858 Mon Sep 17 00:00:00 2001 From: Brandon Fuller Date: Thu, 8 Oct 2020 13:47:30 -0400 Subject: [PATCH 12/18] Convert styles to sass; update search styles --- css/map/programs.built.css.map | 2 +- css/programs.built.css | 2 +- inc/uri-program-finder-form.php | 4 + src/sass/_base.scss | 410 ++++++++++++++++++-------------- 4 files changed, 236 insertions(+), 182 deletions(-) diff --git a/css/map/programs.built.css.map b/css/map/programs.built.css.map index fd5906e..b95c86a 100644 --- a/css/map/programs.built.css.map +++ b/css/map/programs.built.css.map @@ -1 +1 @@ -{"version":3,"sources":["_base.scss","_select2.scss"],"names":[],"mappings":"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","file":"../programs.built.css","sourcesContent":["/* ===== PROGRAM FINDER ===== */\n\n#program-finder {\n padding-bottom: 2rem;\n border-bottom: 1px solid #ddd;\n}\n\n#program-finder .has-js #search-programs {\n padding: 1rem;\n font-size: 1.2rem;\n line-height: 2rem;\n display: inline-block;\n width: 80%;\n clear: both;\n box-shadow: none;\n box-sizing: border-box;\n border: 1px solid #ddd;\n margin-bottom: 10px;\n border-radius: 2px;\n}\n\n#program-finder .has-js #search-programs:hover,\n#program-finder .has-js #search-programs:focus {\n border: 1px solid #057fd4;\n}\n\n#program-finder .has-js #search-programs:focus {\n color: #005ebc;\n box-shadow: 0 .2rem .5rem rgba(0,0,0,.2);\n}\n\n#program-finder .has-js label {\n display: inline-block;\n width: 32%;\n}\n\n#program-finder .has-js label:not(:last-of-type) {\n margin-right: 2%;\n}\n\n#program-finder .has-js label>span {\n display: block;\n margin-bottom: 6px;\n font-size: .75rem;\n color: #555;\n}\n\n#program-finder .has-js #js-form-reset {\n background: #eee;\n width: 18%;\n float: right;\n color: #555;\n font-weight: 600;\n padding: 1rem 0;\n font-size: 1.2rem;\n line-height: 2rem;\n text-align: center;\n border: 1px solid #ddd;\n border-radius: 2px;\n box-shadow: none;\n cursor: pointer;\n position: relative;\n top: 0;\n transition: all .1s ease-in-out;\n}\n\n#program-finder .has-js #js-form-reset:hover,\n#program-finder .has-js #js-form-reset:focus {\n background: #fff;\n}\n\n@media all and (max-width: 600px) {\n #program-finder {\n padding: 5px 5px 10px;\n }\n\n #program-finder .has-js label {\n width: 100%;\n display: block;\n margin-right: 0;\n margin-bottom: 10px;\n }\n #program-finder .has-js #search-programs {\n margin-bottom: 10px;\n padding: .8rem .5rem;\n width: 100%;\n display: block;\n box-shadow: none !important;\n }\n\n #program-finder .has-js #js-form-reset {\n float: none;\n width: 100%;\n margin-bottom: 2rem;\n padding: 1rem 0;\n font-size: 1rem;\n line-height: 1.5rem;\n }\n}\n\n#program-status {\n font-size: 1.2rem;\n line-height: 30px;\n padding: 2rem 0;\n}\n\n#program-status:after {\n clear: both;\n display: block;\n content:'';\n}\n\n#program-status.results {\n color: #000;\n}\n\n#program-status.empty {\n color: #999;\n}\n\n#program-status.loading {\n color: #3875d7;\n}\n\n#program-status.error {\n color: #999;\n}\n\n@keyframes loading {\n from {transform: rotate(0);}\n to {transform: rotate(360deg);}\n}\n\n#program-status.loading .spinner {\n position: relative;\n float: left;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n background: linear-gradient(135deg, #ddd 70%, #3875d7 70%);\n animation: loading .8s infinite linear;\n}\n#program-status.loading .spinner span {\n background: #f8f8f8;\n display: block;\n width: 80%;\n height: 80%;\n position: relative;\n top: 10%;\n left: 10%;\n border-radius: 50%;\n}\n\n#program-status.loading div {\n height: 30px;\n line-height: 30px;\n margin-left: 20px;\n float: left;\n}\n\n#program-results .cl-card {\n margin-top: 2%;\n}\n\n#program-results .cl-card .badges {\n position: absolute;\n display: block;\n z-index: 2;\n margin: 0;\n padding: 30px 1rem 0;\n width: 100%;\n height: 60px;\n box-sizing: border-box;\n transform: translateY(-60px);\n background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.5) 70%);\n}\n\n#program-results .cl-card .badges:after {\n display: block;\n content: '';\n clear: both;\n}\n\n#program-results .cl-card .badges li {\n display: block;\n height: 20px;\n line-height: 20px;\n float: left;\n text-align: center;\n font-size: .7rem;\n font-weight: 600;\n margin-right: 4px;\n margin-bottom: 0 !important;\n padding: 0 4px 0 8px;\n color: #fff;\n}\n\n#program-results .cl-card .badges li.program-type:not(:first-of-type) {\n border-left: 1px solid rgba(255,255,255,.5);\n}\n\n#program-results .cl-card .badges li.icon {\n\n overflow: hidden;\n width: 0;\n padding-left: 16px;\n height: 16px;\n transform: translateY(2px);\n padding-right: 0;\n margin-right: 8px;\n background-position: center center;\n background-repeat: no-repeat;\n background-size: 100% auto;\n\n &:first-child {\n margin-left: 8px;\n }\n\n &.acc {\n background-image: url( '../i/accelerated.png' );\n }\n\n &.online {\n background-image: url( '../i/online.png' );\n }\n\n}\n\n.featured-image.sc.program {\n display: block;\n float: right;\n width: 250px;\n margin-right: 50px;\n margin-left: 30px;\n}\n\n.featured-image.sc.program img {\n border-radius: 2px;\n}\n\n@media all and (max-width: 480px) {\n .featured-image.sc.program {\n float: none;\n width: 100%;\n margin: 15px 0;\n }\n}\n","/* CUSTOM STYLES FOR SELECT2 */\n\n#program-finder {\n\n .select2-container--default {\n\n .select2-selection--multiple {\n\n border: 1px solid #ddd;\n border-radius: 2px;\n\n li {\n margin-bottom: 0;\n }\n\n .select2-selection__choice {\n background: #eee;\n border-radius: 2px;\n border: none;\n padding: 2px 5px 1px;\n }\n\n .select2-selection__choice__remove {\n margin-right: 5px;\n }\n }\n\n &.select2-container--focus {\n\n .select2-selection--multiple {\n border: 1px solid #057fd4;\n }\n\n }\n\n }\n\n}\n\n.select2-dropdown {\n\n border: 1px solid #ddd;\n font-size: .9rem;\n\n li {\n margin-bottom: 0;\n }\n\n}\n"]} \ No newline at end of file +{"version":3,"sources":["_base.scss","_select2.scss"],"names":[],"mappings":"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","file":"../programs.built.css","sourcesContent":["/* ===== PROGRAM FINDER ===== */\n\n#program-finder {\n\n width: 100vw;\n margin-left: -25px;\n background: #f3f3f3;\n overflow: hidden;\n border: 1px solid #ddd;\n\n .has-js {\n\n .keyword-search,\n .facets {\n padding: 1.5rem 25px;\n }\n\n .keyword-search {\n background: #fff;\n }\n\n #search-programs {\n\n padding: .8rem .5rem;\n font-size: 1.2rem;\n line-height: 2rem;\n display: block;\n width: 100%;\n clear: both;\n box-shadow: none !important;\n box-sizing: border-box;\n border: 1px solid #01abff;\n color: #007AB8;\n border-radius: 4px;\n margin-bottom: 10px;\n\n &:focus {\n color: #005ebc;\n box-shadow: 0 .2rem .5rem rgba(0,0,0,.2);\n }\n\n }\n\n label {\n width: 100%;\n display: block;\n margin-right: 0;\n margin-bottom: 10px;\n }\n\n label>span {\n display: block;\n margin-bottom: 6px;\n font-size: .75rem;\n color: #555;\n }\n\n #js-form-reset {\n\n background: #fff;\n width: 100%;\n float: none;\n color: #888;\n font-weight: 600;\n padding: 1rem 0;\n font-size: 1rem;\n line-height: 1.5rem;\n text-align: center;\n border: 1px solid #eee;\n border-radius: 4px;\n box-shadow: none;\n cursor: pointer;\n position: relative;\n top: 0;\n transition: all .1s ease-in-out;\n\n &:hover,\n &:focus {\n background: #f3f3f3;\n }\n\n }\n\n }\n\n}\n\n\n@media all and (min-width: 600px) {\n #program-finder {\n\n border-radius: .4rem;\n width: 100%;\n margin-left: 0;\n\n .has-js {\n\n .keyword-search,\n .facets {\n padding: 1rem;\n }\n\n label {\n display: inline-block;\n width: 32%;\n margin-bottom: 0;\n }\n\n label:not(:last-of-type) {\n margin-right: 2%;\n }\n\n #search-programs {\n margin-bottom: 0;\n padding: 1rem;\n width: 80%;\n display: inline-block;\n }\n\n #js-form-reset {\n float: right;\n width: 18%;\n font-size: 1.2rem;\n line-height: 2rem;\n }\n\n }\n\n }\n}\n\n@keyframes loading {\n from {transform: rotate(0);}\n to {transform: rotate(360deg);}\n}\n\n#program-status {\n\n font-size: 1.2rem;\n line-height: 30px;\n padding: 2rem 0;\n\n &:after {\n clear: both;\n display: block;\n content:'';\n }\n\n &.results {\n color: #000;\n }\n\n &.empty {\n color: #999;\n }\n\n &.loading {\n color: #3875d7;\n }\n\n &.error {\n color: #999;\n }\n\n &.loading {\n\n .spinner {\n\n position: relative;\n float: left;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n background: linear-gradient(135deg, #ddd 70%, #3875d7 70%);\n animation: loading .8s infinite linear;\n\n span {\n background: #f8f8f8;\n display: block;\n width: 80%;\n height: 80%;\n position: relative;\n top: 10%;\n left: 10%;\n border-radius: 50%;\n }\n\n }\n\n div {\n height: 30px;\n line-height: 30px;\n margin-left: 20px;\n float: left;\n }\n\n }\n\n}\n\n#program-results {\n\n .cl-card {\n\n margin-top: 2%;\n\n .badges {\n\n position: absolute;\n display: block;\n z-index: 2;\n margin: 0;\n padding: 30px 1rem 0;\n width: 100%;\n height: 60px;\n box-sizing: border-box;\n transform: translateY(-60px);\n background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.5) 70%);\n\n &:after {\n display: block;\n content: '';\n clear: both;\n }\n\n li {\n\n display: block;\n height: 20px;\n line-height: 20px;\n float: left;\n text-align: center;\n font-size: .7rem;\n font-weight: 600;\n margin-right: 4px;\n margin-bottom: 0 !important;\n padding: 0 4px 0 8px;\n color: #fff;\n\n &.program-type:not(:first-of-type) {\n border-left: 1px solid rgba(255,255,255,.5);\n }\n\n &.icon {\n\n overflow: hidden;\n width: 0;\n padding-left: 16px;\n height: 16px;\n transform: translateY(2px);\n padding-right: 0;\n margin-right: 8px;\n background-position: center center;\n background-repeat: no-repeat;\n background-size: 100% auto;\n\n &:first-child {\n margin-left: 8px;\n }\n\n &.acc {\n background-image: url( '../i/accelerated.png' );\n }\n\n &.online {\n background-image: url( '../i/online.png' );\n }\n\n }\n\n }\n\n }\n\n }\n\n}\n\n.featured-image.sc.program {\n display: block;\n float: right;\n width: 250px;\n margin-right: 50px;\n margin-left: 30px;\n}\n\n.featured-image.sc.program img {\n border-radius: 2px;\n}\n\n@media all and (max-width: 480px) {\n .featured-image.sc.program {\n float: none;\n width: 100%;\n margin: 15px 0;\n }\n}\n","/* CUSTOM STYLES FOR SELECT2 */\n\n#program-finder {\n\n .select2-container--default {\n\n .select2-selection--multiple {\n\n border: 1px solid #ddd;\n border-radius: 2px;\n\n li {\n margin-bottom: 0;\n }\n\n .select2-selection__choice {\n background: #eee;\n border-radius: 2px;\n border: none;\n padding: 2px 5px 1px;\n }\n\n .select2-selection__choice__remove {\n margin-right: 5px;\n }\n }\n\n &.select2-container--focus {\n\n .select2-selection--multiple {\n border: 1px solid #057fd4;\n }\n\n }\n\n }\n\n}\n\n.select2-dropdown {\n\n border: 1px solid #ddd;\n font-size: .9rem;\n\n li {\n margin-bottom: 0;\n }\n\n}\n"]} \ No newline at end of file diff --git a/css/programs.built.css b/css/programs.built.css index 325ef70..ba7e61b 100644 --- a/css/programs.built.css +++ b/css/programs.built.css @@ -1,3 +1,3 @@ -#program-finder{padding-bottom:2rem;border-bottom:1px solid #ddd}#program-finder .has-js #search-programs{padding:1rem;font-size:1.2rem;line-height:2rem;display:inline-block;width:80%;clear:both;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #ddd;margin-bottom:10px;border-radius:2px}#program-finder .has-js #search-programs:hover,#program-finder .has-js #search-programs:focus{border:1px solid #057fd4}#program-finder .has-js #search-programs:focus{color:#005ebc;-webkit-box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.2);box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.2)}#program-finder .has-js label{display:inline-block;width:32%}#program-finder .has-js label:not(:last-of-type){margin-right:2%}#program-finder .has-js label>span{display:block;margin-bottom:6px;font-size:.75rem;color:#555}#program-finder .has-js #js-form-reset{background:#eee;width:18%;float:right;color:#555;font-weight:600;padding:1rem 0;font-size:1.2rem;line-height:2rem;text-align:center;border:1px solid #ddd;border-radius:2px;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;position:relative;top:0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#program-finder .has-js #js-form-reset:hover,#program-finder .has-js #js-form-reset:focus{background:#fff}@media all and (max-width: 600px){#program-finder{padding:5px 5px 10px}#program-finder .has-js label{width:100%;display:block;margin-right:0;margin-bottom:10px}#program-finder .has-js #search-programs{margin-bottom:10px;padding:.8rem .5rem;width:100%;display:block;-webkit-box-shadow:none !important;box-shadow:none !important}#program-finder .has-js #js-form-reset{float:none;width:100%;margin-bottom:2rem;padding:1rem 0;font-size:1rem;line-height:1.5rem}}#program-status{font-size:1.2rem;line-height:30px;padding:2rem 0}#program-status:after{clear:both;display:block;content:''}#program-status.results{color:#000}#program-status.empty{color:#999}#program-status.loading{color:#3875d7}#program-status.error{color:#999}@-webkit-keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}#program-status.loading .spinner{position:relative;float:left;border-radius:50%;width:30px;height:30px;background:linear-gradient(135deg, #ddd 70%, #3875d7 70%);-webkit-animation:loading .8s infinite linear;animation:loading .8s infinite linear}#program-status.loading .spinner span{background:#f8f8f8;display:block;width:80%;height:80%;position:relative;top:10%;left:10%;border-radius:50%}#program-status.loading div{height:30px;line-height:30px;margin-left:20px;float:left}#program-results .cl-card{margin-top:2%}#program-results .cl-card .badges{position:absolute;display:block;z-index:2;margin:0;padding:30px 1rem 0;width:100%;height:60px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transform:translateY(-60px);transform:translateY(-60px);background:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)), color-stop(30%, rgba(0,0,0,0.2)), color-stop(70%, rgba(0,0,0,0.5)));background:linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.5) 70%)}#program-results .cl-card .badges:after{display:block;content:'';clear:both}#program-results .cl-card .badges li{display:block;height:20px;line-height:20px;float:left;text-align:center;font-size:.7rem;font-weight:600;margin-right:4px;margin-bottom:0 !important;padding:0 4px 0 8px;color:#fff}#program-results .cl-card .badges li.program-type:not(:first-of-type){border-left:1px solid rgba(255,255,255,0.5)}#program-results .cl-card .badges li.icon{overflow:hidden;width:0;padding-left:16px;height:16px;-webkit-transform:translateY(2px);transform:translateY(2px);padding-right:0;margin-right:8px;background-position:center center;background-repeat:no-repeat;background-size:100% auto}#program-results .cl-card .badges li.icon:first-child{margin-left:8px}#program-results .cl-card .badges li.icon.acc{background-image:url("../i/accelerated.png")}#program-results .cl-card .badges li.icon.online{background-image:url("../i/online.png")}.featured-image.sc.program{display:block;float:right;width:250px;margin-right:50px;margin-left:30px}.featured-image.sc.program img{border-radius:2px}@media all and (max-width: 480px){.featured-image.sc.program{float:none;width:100%;margin:15px 0}}#program-finder .select2-container--default .select2-selection--multiple{border:1px solid #ddd;border-radius:2px}#program-finder .select2-container--default .select2-selection--multiple li{margin-bottom:0}#program-finder .select2-container--default .select2-selection--multiple .select2-selection__choice{background:#eee;border-radius:2px;border:none;padding:2px 5px 1px}#program-finder .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{margin-right:5px}#program-finder .select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #057fd4}.select2-dropdown{border:1px solid #ddd;font-size:.9rem}.select2-dropdown li{margin-bottom:0} +#program-finder{width:100vw;margin-left:-25px;background:#f3f3f3;overflow:hidden;border:1px solid #ddd}#program-finder .has-js .keyword-search,#program-finder .has-js .facets{padding:1.5rem 25px}#program-finder .has-js .keyword-search{background:#fff}#program-finder .has-js #search-programs{padding:.8rem .5rem;font-size:1.2rem;line-height:2rem;display:block;width:100%;clear:both;-webkit-box-shadow:none !important;box-shadow:none !important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #01abff;color:#007AB8;border-radius:4px;margin-bottom:10px}#program-finder .has-js #search-programs:focus{color:#005ebc;-webkit-box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.2);box-shadow:0 0.2rem 0.5rem rgba(0,0,0,0.2)}#program-finder .has-js label{width:100%;display:block;margin-right:0;margin-bottom:10px}#program-finder .has-js label>span{display:block;margin-bottom:6px;font-size:.75rem;color:#555}#program-finder .has-js #js-form-reset{background:#fff;width:100%;float:none;color:#888;font-weight:600;padding:1rem 0;font-size:1rem;line-height:1.5rem;text-align:center;border:1px solid #eee;border-radius:4px;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;position:relative;top:0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}#program-finder .has-js #js-form-reset:hover,#program-finder .has-js #js-form-reset:focus{background:#f3f3f3}@media all and (min-width: 600px){#program-finder{border-radius:.4rem;width:100%;margin-left:0}#program-finder .has-js .keyword-search,#program-finder .has-js .facets{padding:1rem}#program-finder .has-js label{display:inline-block;width:32%;margin-bottom:0}#program-finder .has-js label:not(:last-of-type){margin-right:2%}#program-finder .has-js #search-programs{margin-bottom:0;padding:1rem;width:80%;display:inline-block}#program-finder .has-js #js-form-reset{float:right;width:18%;font-size:1.2rem;line-height:2rem}}@-webkit-keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}#program-status{font-size:1.2rem;line-height:30px;padding:2rem 0}#program-status:after{clear:both;display:block;content:''}#program-status.results{color:#000}#program-status.empty{color:#999}#program-status.loading{color:#3875d7}#program-status.error{color:#999}#program-status.loading .spinner{position:relative;float:left;border-radius:50%;width:30px;height:30px;background:linear-gradient(135deg, #ddd 70%, #3875d7 70%);-webkit-animation:loading .8s infinite linear;animation:loading .8s infinite linear}#program-status.loading .spinner span{background:#f8f8f8;display:block;width:80%;height:80%;position:relative;top:10%;left:10%;border-radius:50%}#program-status.loading div{height:30px;line-height:30px;margin-left:20px;float:left}#program-results .cl-card{margin-top:2%}#program-results .cl-card .badges{position:absolute;display:block;z-index:2;margin:0;padding:30px 1rem 0;width:100%;height:60px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transform:translateY(-60px);transform:translateY(-60px);background:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)), color-stop(30%, rgba(0,0,0,0.2)), color-stop(70%, rgba(0,0,0,0.5)));background:linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.5) 70%)}#program-results .cl-card .badges:after{display:block;content:'';clear:both}#program-results .cl-card .badges li{display:block;height:20px;line-height:20px;float:left;text-align:center;font-size:.7rem;font-weight:600;margin-right:4px;margin-bottom:0 !important;padding:0 4px 0 8px;color:#fff}#program-results .cl-card .badges li.program-type:not(:first-of-type){border-left:1px solid rgba(255,255,255,0.5)}#program-results .cl-card .badges li.icon{overflow:hidden;width:0;padding-left:16px;height:16px;-webkit-transform:translateY(2px);transform:translateY(2px);padding-right:0;margin-right:8px;background-position:center center;background-repeat:no-repeat;background-size:100% auto}#program-results .cl-card .badges li.icon:first-child{margin-left:8px}#program-results .cl-card .badges li.icon.acc{background-image:url("../i/accelerated.png")}#program-results .cl-card .badges li.icon.online{background-image:url("../i/online.png")}.featured-image.sc.program{display:block;float:right;width:250px;margin-right:50px;margin-left:30px}.featured-image.sc.program img{border-radius:2px}@media all and (max-width: 480px){.featured-image.sc.program{float:none;width:100%;margin:15px 0}}#program-finder .select2-container--default .select2-selection--multiple{border:1px solid #ddd;border-radius:2px}#program-finder .select2-container--default .select2-selection--multiple li{margin-bottom:0}#program-finder .select2-container--default .select2-selection--multiple .select2-selection__choice{background:#eee;border-radius:2px;border:none;padding:2px 5px 1px}#program-finder .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{margin-right:5px}#program-finder .select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #057fd4}.select2-dropdown{border:1px solid #ddd;font-size:.9rem}.select2-dropdown li{margin-bottom:0} /*# sourceMappingURL=map/programs.built.css.map */ diff --git a/inc/uri-program-finder-form.php b/inc/uri-program-finder-form.php index 3bbd76b..d0aec99 100644 --- a/inc/uri-program-finder-form.php +++ b/inc/uri-program-finder-form.php @@ -57,9 +57,12 @@ function uri_program_finder_make_form( $categories ) { // now create the js form $output .= '