New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@uob-web-and-digital/uob-components

Package Overview
Dependencies
Maintainers
4
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uob-web-and-digital/uob-components - npm Package Compare versions

Comparing version 0.1.18 to 0.1.19

2

dist/Study.js

@@ -31,3 +31,3 @@ module.exports=function(o){var a={};function i(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return o[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}return i.m=o,i.c=a,i.d=function(e,t,o){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)i.d(o,a,function(e){return t[e]}.bind(null,a));return o},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=87)}({0:function(e,t){e.exports=require("styled-components")},1:function(e,t,o){"use strict";t.a=e=>e/16*1+"rem"},10:function(e,t,o){"use strict";var n=o(11);function a(){}function i(){}i.resetWarningCache=a,e.exports=function(){function e(e,t,o,a,i,r){if(r!==n){r=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw r.name="Invariant Violation",r}}function t(){return e}var o={array:e.isRequired=e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:a};return o.PropTypes=o}},11:function(e,t,o){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},14:function(e,t,o){"use strict";t.a="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA4LjIgMTMuOSI+PHBhdGggZD0iTS43IDEzLjRMNy4xIDcgLjcuNiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMzA2MWFiIi8+PC9zdmc+"},16:function(e,t,o){"use strict";o.d(t,"a",function(){return l});var a=o(6),i=o(0),r=o.n(i),t=o(5),o=o(1),o=Object(i.css)(["display:inline-flex;text-transform:uppercase;font-family:",";font-weight:",";font-size:var(--font-size-1);border-radius:",";padding:"," ",";"],e=>e.theme.fonts.body,e=>e.theme.fontWeights.semiboldBody,Object(o.a)(5),Object(o.a)(5),Object(o.a)(8));const n={undergraduate:{backgroundColor:"#e5e9ef",color:t.a.colors.blue},postgraduate:{backgroundColor:t.a.colors.silver,color:t.a.colors.navy}},l=r()(a.NavLink).withConfig({displayName:"Styles__LevelTagStyled"})([""," ",""],o,({level:e})=>e&&n[e]&&Object(i.css)(["background-color:",";color:",";"],n[e].backgroundColor,n[e].color))},2:function(e,t){e.exports=require("react")},20:function(e,t,o){"use strict";var a=o(2),r=o.n(a),a=o(3),a=o.n(a),n=o(16);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o,a=arguments[t];for(o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e}).apply(this,arguments)}o=({label:e,url:t,level:o})=>{let a,i={};return t?/^((http|https):\/\/)/.test(t)?(a="a",i.href=t):i.to=t:a="div",r.a.createElement(n.a,l({level:o,as:a},i),e)};o.propTypes={label:a.a.string.isRequired,url:a.a.oneOfType([a.a.string,a.a.object,a.a.func]),level:a.a.oneOf(["undergraduate","postgraduate"])},t.a=o},24:function(e,t,o){"use strict";var a=o(2),i=o.n(a),r=o(3),n=o.n(r),l=o(0),s=o.n(l),c=o(4),a=o(6),r=o(9),l=o(16),o=o(1);const d=s.a.div.withConfig({displayName:"Styles__CourseStyled"})(["display:flex;align-items:center;border-radius:",";padding:",";background-color:white;border:1px solid ",";",""],Object(o.a)(5),Object(o.a)(15),e=>e.theme.colors.silver,c.a.m`

font-size: var(--font-size-10);
`),u=s.a.p.withConfig({displayName:"Styles__Paragraph"})(["font-size:var(--font-size-3);margin-bottom:0;margin-top:",";"],Object(o.a)(20)),g=s.a.div.withConfig({displayName:"Styles__Image"})(["width:40%;background-image:url(",");background-position:center;background-repeat:no-repeat;background-size:cover;"],e=>e.image);s=({title:e,paragraph:t,image:o,button:a,modifier:i})=>r.a.createElement(c,{modifier:i},r.a.createElement(d,null,r.a.createElement(m,null,e),t&&r.a.createElement(u,null,t),a),r.a.createElement(g,{image:o}));s.propTypes={title:n.a.string.isRequired,paragraph:n.a.string,image:n.a.string,button:n.a.element,modifier:n.a.string};t.a=s},4:function(e,t,o){"use strict";o.d(t,"a",function(){return r}),o.d(t,"b",function(){return n});var a=o(0),i=o(5);const r=Object.keys(i.a.breakpoints).reduce((e,t)=>(e[t]=(...e)=>Object(a.css)(["@media (min-width:","){",";}"],i.a.breakpoints[t],Object(a.css)(...e)),e),{}),n={s:"(min-width: 400px)",m:"(min-width: 768px)",l:"(min-width: 992px)",xl:"(min-width: 1200px)",maxWidth:"(min-width: 1240px)"}},41:function(e,t,o){"use strict";var a=o(2),i=o.n(a),r=o(3),a=o.n(r),r=o(0),r=o.n(r),o=o(1);const n=r.a.div.withConfig({displayName:"Styles__ContentTimelineStyled"})([""]),l=r.a.div.withConfig({displayName:"Styles__Timeline"})(['position:relative;&:before{content:"";position:absolute;display:block;top:',";bottom:",";left:",";width:",";background-color:",";}"],Object(o.a)(8.5),Object(o.a)(8.5),Object(o.a)(12),Object(o.a)(1),e=>e.theme.colors.silver),s=r.a.div.withConfig({displayName:"Styles__TimelineItem"})(["position:relative;padding-left:",';&:before{content:"";position:absolute;top:',";left:",";display:block;width:",";height:",";border-radius:50%;background-color:",";}"],Object(o.a)(24),Object(o.a)(8.5),Object(o.a)(8.5),Object(o.a)(8),Object(o.a)(8),e=>e.theme.colors.blue),c=r.a.h2.withConfig({displayName:"Styles__Title"})(["font-size:var(--font-size-3);font-family:",";font-weight:",";"],e=>e.theme.fonts.body,e=>e.theme.fontWeights.bold),d=r.a.h2.withConfig({displayName:"Styles__Heading"})(["font-size:var(--font-size-3);font-family:",";font-weight:",";"],e=>e.theme.fonts.body,e=>e.theme.fontWeights.bold),m=r.a.div.withConfig({displayName:"Styles__Content"})(["ul{margin-left:0;}li{position:relative;list-style:none;padding-left:",';&:before{content:"";position:absolute;display:block;top:',";left:",";transform:translateY(-50%);width:",";height:",";border-radius:50%;border:2px solid ",";background-color:white;}}"],Object(o.a)(24),Object(o.a)(12.5),Object(o.a)(6),Object(o.a)(6),Object(o.a)(6),e=>e.theme.colors.blue);o=({timelineTitle:e,timelineItems:t})=>i.a.createElement(n,null,e&&i.a.createElement(c,null,e),i.a.createElement(l,null,t.map((e,t)=>i.a.createElement(s,{key:"timelineItem"+t},i.a.createElement(d,null,e.heading),i.a.createElement(m,null,e.content&&e.content.isArray?e.content.map((e,t)=>i.a.createElement(i.a.Fragment,{key:"timelineContentItem"+t},e)):e.content)))));o.propTypes={timelineTitle:a.a.string,timelineItems:a.a.array};t.a=o},42:function(e,t,o){"use strict";var a=o(2),r=o.n(a),i=o(3),n=o.n(i),l=o(0),s=o.n(l),a=o(14),i=o(4),l=o(6),o=o(1);const c=s.a.div.withConfig({displayName:"Styles__CourseSubjectStyled"})(["overflow:hidden;border:1px solid ",";border-radius:",";"],e=>e.theme.colors.silver,Object(o.a)(5)),d=s.a.h2.withConfig({displayName:"Styles__Title"})(["display:flex;justify-content:space-between;align-items:center;padding:"," ",";line-height:1.3;font-size:var(--font-size-3);font-weight:",";margin-bottom:0;"," ",""],Object(o.a)(30),Object(o.a)(15),e=>e.theme.fontWeights.medium,i.a.m`
`),u=s.a.p.withConfig({displayName:"Styles__Paragraph"})(["font-size:var(--font-size-3);margin-bottom:0;margin-top:",";"],Object(o.a)(20)),g=s.a.div.withConfig({displayName:"Styles__Image"})(["width:40%;background-image:url(",");background-position:center;background-repeat:no-repeat;background-size:cover;"],e=>e.image);s=({title:e,paragraph:t,image:o,button:a,modifier:i})=>r.a.createElement(c,{modifier:i},r.a.createElement(d,null,r.a.createElement(m,null,e),t&&r.a.createElement(u,null,t),a),r.a.createElement(g,{image:o}));s.propTypes={title:n.a.string.isRequired,paragraph:n.a.string,image:n.a.string,button:n.a.element,modifier:n.a.string};t.a=s},4:function(e,t,o){"use strict";o.d(t,"a",function(){return r}),o.d(t,"b",function(){return n});var a=o(0),i=o(5);const r=Object.keys(i.a.breakpoints).reduce((e,t)=>(e[t]=(...e)=>Object(a.css)(["@media (min-width:","){",";}"],i.a.breakpoints[t],Object(a.css)(...e)),e),{}),n={s:"(min-width: 400px)",m:"(min-width: 768px)",l:"(min-width: 992px)",xl:"(min-width: 1200px)",maxWidth:"(min-width: 1240px)"}},41:function(e,t,o){"use strict";var a=o(2),i=o.n(a),r=o(3),a=o.n(r),r=o(0),r=o.n(r),o=o(1);const n=r.a.div.withConfig({displayName:"Styles__ContentTimelineStyled"})([""]),l=r.a.div.withConfig({displayName:"Styles__Timeline"})(['position:relative;&:before{content:"";position:absolute;display:block;top:',";bottom:",";left:",";width:",";background-color:",";}"],Object(o.a)(8.5),Object(o.a)(8.5),Object(o.a)(12),Object(o.a)(1),e=>e.theme.colors.silver),s=r.a.div.withConfig({displayName:"Styles__TimelineItem"})(["position:relative;padding-left:",';&:before{content:"";position:absolute;top:',";left:",";display:block;width:",";height:",";border-radius:50%;background-color:",";}&:not(:first-of-type){h2{margin-top:var(--spacing-6);}}"],Object(o.a)(24),Object(o.a)(8.5),Object(o.a)(8.5),Object(o.a)(8),Object(o.a)(8),e=>e.theme.colors.blue),c=r.a.h2.withConfig({displayName:"Styles__Title"})(["font-size:var(--font-size-3);font-family:",";font-weight:",";"],e=>e.theme.fonts.body,e=>e.theme.fontWeights.bold),d=r.a.h2.withConfig({displayName:"Styles__Heading"})(["font-size:var(--font-size-3);font-family:",";font-weight:",";"],e=>e.theme.fonts.body,e=>e.theme.fontWeights.bold),m=r.a.div.withConfig({displayName:"Styles__Content"})(["ul{margin-left:0;}li{position:relative;list-style:none;padding-left:",';&:before{content:"";position:absolute;display:block;top:',";left:",";transform:translateY(-50%);width:",";height:",";border-radius:50%;border:2px solid ",";background-color:white;}}"],Object(o.a)(24),Object(o.a)(12.5),Object(o.a)(6),Object(o.a)(6),Object(o.a)(6),e=>e.theme.colors.blue);o=({timelineTitle:e,timelineItems:t})=>i.a.createElement(n,null,e&&i.a.createElement(c,null,e),i.a.createElement(l,null,t.map((e,t)=>i.a.createElement(s,{key:"timelineItem"+t},i.a.createElement(d,null,e.heading),i.a.createElement(m,null,e.content&&e.content.isArray?e.content.map((e,t)=>i.a.createElement(i.a.Fragment,{key:"timelineContentItem"+t},e)):e.content)))));o.propTypes={timelineTitle:a.a.string,timelineItems:a.a.array};t.a=o},42:function(e,t,o){"use strict";var a=o(2),r=o.n(a),i=o(3),n=o.n(i),l=o(0),s=o.n(l),a=o(14),i=o(4),l=o(6),o=o(1);const c=s.a.div.withConfig({displayName:"Styles__CourseSubjectStyled"})(["overflow:hidden;border:1px solid ",";border-radius:",";"],e=>e.theme.colors.silver,Object(o.a)(5)),d=s.a.h2.withConfig({displayName:"Styles__Title"})(["display:flex;justify-content:space-between;align-items:center;padding:"," ",";line-height:1.3;font-size:var(--font-size-3);font-weight:",";margin-bottom:0;"," ",""],Object(o.a)(30),Object(o.a)(15),e=>e.theme.fontWeights.medium,i.a.m`
&:after {

@@ -34,0 +34,0 @@ content: '';

@@ -1,2 +0,2 @@

module.exports=function(t){var o={};function r(n){if(o[n])return o[n].exports;var e=o[n]={i:n,l:!1,exports:{}};return t[n].call(e.exports,e,e.exports,r),e.l=!0,e.exports}return r.m=t,r.c=o,r.d=function(n,e,t){r.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:t})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(e,n){if(1&n&&(e=r(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)r.d(t,o,function(n){return e[n]}.bind(null,o));return t},r.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(e,"a",e),e},r.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},r.p="",r(r.s=88)}({0:function(n,e){n.exports=require("styled-components")},1:function(n,e,t){"use strict";e.a=n=>n/16*1+"rem"},17:function(n,e,t){"use strict";var o=t(2),r=t.n(o),i=t(5),a=t(0);e.a=({children:n})=>r.a.createElement(a.ThemeProvider,{theme:i.a},n)},18:function(n,e,t){"use strict";t.d(e,"a",function(){return s});var o=t(0),r=t(4),i=t(5),a=t(1),e=t(78);const s=Object(o.createGlobalStyle)(["*{margin:0;padding:0;box-sizing:border-box;}html{line-height:1.5;}body{font-family:var(--font-family-body);font-weight:var(--font-weight-medium);-webkit-font-smoothing:antialiased;color:var(--color-text);}p,ul,ol,input,textarea,label,select{margin-bottom:var(---spacing-6);font-size:var(--font-size-3);font-weight:var(--font-weight-medium);}a{text-decoration:none;color:",";}a:hover{text-decoration:underline;}h1,h2,h3,h4,h5,h6{font-family:",";font-weight:",";line-height:1.5;margin-bottom:",";}h1{font-size:var(--font-size-10);@media ","{font-size:var(--font-size-11);}}h2{font-size:var(--font-size-7);font-weight:",";","}h3{font-size:var(--font-size-4);","}h4{font-size:var(--font-size-3);","}ul,ol{margin-left:",";}audio,canvas,iframe,img,svg,video{vertical-align:middle;}"],i.a.colors.primary,i.a.fonts.heading,i.a.fontWeights.bold,Object(a.a)(12),r.b.m,i.a.fontWeights.light,r.a.m`
module.exports=function(t){var o={};function r(n){if(o[n])return o[n].exports;var e=o[n]={i:n,l:!1,exports:{}};return t[n].call(e.exports,e,e.exports,r),e.l=!0,e.exports}return r.m=t,r.c=o,r.d=function(n,e,t){r.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:t})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(e,n){if(1&n&&(e=r(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)r.d(t,o,function(n){return e[n]}.bind(null,o));return t},r.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(e,"a",e),e},r.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},r.p="",r(r.s=88)}({0:function(n,e){n.exports=require("styled-components")},1:function(n,e,t){"use strict";e.a=n=>n/16*1+"rem"},17:function(n,e,t){"use strict";var o=t(2),r=t.n(o),i=t(5),a=t(0);e.a=({children:n})=>r.a.createElement(a.ThemeProvider,{theme:i.a},n)},18:function(n,e,t){"use strict";t.d(e,"a",function(){return s});var o=t(0),r=t(4),i=t(5),a=t(1),e=t(78);const s=Object(o.createGlobalStyle)(["*{margin:0;padding:0;box-sizing:border-box;}html{line-height:1.5;}body{font-family:var(--font-family-body);font-weight:var(--font-weight-medium);-webkit-font-smoothing:antialiased;color:var(--color-text);}p,ul,ol,input,textarea,label,select{margin-bottom:var(--spacing-6);font-size:var(--font-size-3);font-weight:var(--font-weight-medium);}a{text-decoration:none;color:",";}a:hover{text-decoration:underline;}h1,h2,h3,h4,h5,h6{font-family:",";font-weight:",";line-height:1.5;margin-bottom:",";}h1{font-size:var(--font-size-10);@media ","{font-size:var(--font-size-11);}}h2{font-size:var(--font-size-7);font-weight:",";","}h3{font-size:var(--font-size-4);","}h4{font-size:var(--font-size-3);","}ul,ol{margin-left:",";}audio,canvas,iframe,img,svg,video{vertical-align:middle;}"],i.a.colors.primary,i.a.fonts.heading,i.a.fontWeights.bold,Object(a.a)(12),r.b.m,i.a.fontWeights.light,r.a.m`
font-size: var(--font-size-9);

@@ -3,0 +3,0 @@ `,r.a.m`

{
"name": "@uob-web-and-digital/uob-components",
"version": "0.1.18",
"version": "0.1.19",
"main": "dist/main.js",

@@ -5,0 +5,0 @@ "description": "University of Birmingham - Component Library",

@@ -36,2 +36,8 @@ import styled from "styled-components";

}
&:not(:first-of-type) {
h2 {
margin-top: var(--spacing-6);
}
}
`;

@@ -38,0 +44,0 @@

@@ -5,22 +5,26 @@ import React from "react";

"p",
{ key: "timelineContent1" },
{ key: "contentTimelineItem1" },
"Once you recieve your Confirmation of Acceptance for Studies (CAS) you can start to prepare your visa application."
);
const TimelineList1 = React.createElement("ul", {}, [
React.createElement(
"li",
{ key: "timelineListItem1" },
"Read the latest policy guidance published by UK Visas and Immigration (UKVI formerly UKBA)."
),
React.createElement(
"li",
{ key: "timelineListItem2" },
"Read the instructions on how to have your BRP card sent to the University of Birmingham."
),
]);
const TimelineList1 = React.createElement(
"ul",
{ key: "contentTimelineList" },
[
React.createElement(
"li",
{ key: "contentTimelineListItem1" },
"Read the latest policy guidance published by UK Visas and Immigration (UKVI formerly UKBA)."
),
React.createElement(
"li",
{ key: "contentTimelineListItem2" },
"Read the instructions on how to have your BRP card sent to the University of Birmingham."
),
]
);
const TimelineContent2 = React.createElement(
"p",
{ key: "timelineContent2" },
{ key: "contentTimelineItem2" },
"To apply from outside of the UK you need to complete an online application form, with the exception of students residing in North Korea who must apply in person."

@@ -31,3 +35,3 @@ );

"p",
{ key: "timelineContent3" },
{ key: "contentTimelineItem3" },
"In most cases you will also be required to pay the visa fee online. The current fee for applicaitons made outside the UK is £335 (in local currency equivalent)."

@@ -38,3 +42,3 @@ );

"p",
{ key: "timelineContent4" },
{ key: "contentTimelineItem4" },
"You should then book an appointment at a Visa Application Centre (VAC), which may be in a different country. Note that some VACs may charge an additional fee for their services."

@@ -45,3 +49,3 @@ );

"p",
{ key: "timelineContent5" },
{ key: "contentTimelineItem5" },
"When you attend your appointment you need to take your printed applicaiton along with all the reuired supporting docuemnts for your visa. You may need to take a tuberculosis (TB) test."

@@ -48,0 +52,0 @@ );

@@ -32,3 +32,3 @@ import { createGlobalStyle } from "styled-components";

select {
margin-bottom: var(---spacing-6);
margin-bottom: var(--spacing-6);
font-size: var(--font-size-3);

@@ -35,0 +35,0 @@ font-weight: var(--font-weight-medium);

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc