tg-core-components 6.3.4-picture.0 → 6.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/auth ADDED
@@ -0,0 +1,51 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="sv">
4
+
5
+ <head>
6
+ <meta charset="utf-8">
7
+ <meta name="referrer" content="no-referrer">
8
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
9
+ <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
10
+ <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
11
+ <title>Bethard</title>
12
+ <script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
13
+ <script src="https://cdn.ravenjs.com/3.26.4/raven.min.js" crossorigin="anonymous"></script>
14
+ <style type="text/css">
15
+
16
+ @font-face {
17
+ font-family: Futura;
18
+ font-style: normal;
19
+ font-weight: 400;
20
+ src: url("https://static.gii.cloud/futura_lt/Futura LT Medium.woff") format("woff"),url("https://static.gii.cloud/futura_lt/Futura LT Medium.ttf") format("truetype")
21
+ }
22
+ @font-face {
23
+ font-family: Futura;
24
+ src: local("Futura LT Bold"),local("Futura-LT-Bold"),url("https://static.gii.cloud/futura_lt/Futura LT Bold.woff") format("woff"),url("https://static.gii.cloud/futura_lt/Futura LT Bold.ttf") format("truetype");
25
+ font-weight: 600;
26
+ font-style: normal
27
+ }
28
+ @font-face {
29
+ font-family: Futura;
30
+ src: local("Futura LT Bold"),local("Futura-LT-Bold"),url("https://static.gii.cloud/futura_lt/Futura LT Bold.woff") format("woff"),url("https://static.gii.cloud/futura_lt/Futura LT Bold.ttf") format("truetype");
31
+ font-weight: 700;
32
+ font-style: normal
33
+ }
34
+
35
+ </style>
36
+ </head>
37
+
38
+ <body>
39
+ <main>
40
+ <div class="bankid-se-config" bankid-se-config="{&quot;relyingPartyName&quot;:&quot;Bethard&quot;,&quot;relyingPartyAvatar&quot;:&quot;https://www.icelondon.uk.com/__media/libraries/exhibitor-press-releases/8FA2DD80-5056-B779-246F1902D15A57A0-image.png&quot;,&quot;relyingPartyURL&quot;:&quot;https://www.bethard.com&quot;,&quot;theme&quot;:&quot;dark&quot;,&quot;themeConfig&quot;:&quot;\n\t\t{\n\t\t \&quot;shadows\&quot;: [],\n\t\t \&quot;props\&quot;: {\n\t\t \&quot;MuiButtonBase\&quot;: {\n\t\t \&quot;disableRipple\&quot;: true\n\t\t },\n\t\t \&quot;MuiPaper\&quot;: {\n\t\t \&quot;square\&quot;: true\n\t\t }\n\t\t },\n\t\t \&quot;typography\&quot;: {\n\t\t\t\t\&quot;fontFamily\&quot;: \&quot;Futura, sans-serif\&quot;,\n\t\t\t\t\&quot;fontSize\&quot;: 12\n\t\t\t},\n\t\t\t\&quot;palette\&quot;: {\n\t\t\t\t\&quot;type\&quot;: \&quot;dark\&quot;,\n\t\t\t\t\&quot;background\&quot;:{\n\t\t\t\t\t\&quot;default\&quot;: \&quot;#1a1a1a\&quot;\n\t\t\t\t},\n\t\t\t\t\&quot;primary\&quot;: {\n\t\t\t\t\t\&quot;main\&quot;: \&quot;#f7d146\&quot;\n\t\t\t\t},\n\t\t\t\t\&quot;secondary\&quot;: {\n\t\t\t\t\t\&quot;main\&quot;: \&quot;#C4A638\&quot;\n\t\t\t\t}\n\t\t\t},\n\t\t\t\&quot;shape\&quot;: {\n\t\t\t\t\&quot;borderRadius\&quot;: 0\n\t\t\t},\n\t\t \&quot;overrides\&quot;: {\n\t\t \&quot;MuiPaper\&quot;: {\n\t\t \&quot;root\&quot;: {\n\t\t\t\t\t\t\&quot;background\&quot;: \&quot;#1a1a1a!important\&quot;,\n\t\t\t\t\t\t\&quot;color\&quot;: \&quot;#dedede\&quot;\n\t\t }\n\t\t },\n\t\t \&quot;MuiTypography\&quot;: {\n\t\t \&quot;display1\&quot;: {\n\t\t \&quot;color\&quot;: \&quot;#f7d146!important\&quot;,\n\t\t \&quot;fontWeight\&quot;: \&quot;bold\&quot;,\n\t\t \&quot;textTransform\&quot;: \&quot;uppercase\&quot;\n\t\t },\n\t\t \&quot;title\&quot;: {\n\t\t \&quot;fontWeight\&quot;: \&quot;bold\&quot;,\n\t\t \&quot;textTransform\&quot;: \&quot;uppercase\&quot;\n\t\t },\n\t\t \&quot;headline\&quot;: {\n\t\t \&quot;fontWeight\&quot;: \&quot;bold\&quot;,\n\t\t \&quot;textTransform\&quot;: \&quot;uppercase\&quot;\n\t\t }\n\t\t },\n\t\t \&quot;MuiBottomNavigation\&quot;: {\n\t\t \&quot;root\&quot;: {\n\t\t \&quot;background\&quot;: \&quot;#282828!important\&quot;\n\t\t }\n\t\t },\n\t\t \&quot;MuiBottomNavigationAction\&quot;: {\n\t\t \&quot;selected\&quot;: {\n\t\t \&quot;color\&quot;: \&quot;#f7d146!important\&quot;\n\t\t },\n\t\t \&quot;label\&quot;: {\n\t\t \&quot;color\&quot;: \&quot;#dedede!important\&quot;\n\t\t }\n\t\t },\n\t\t \&quot;MuiButton\&quot;: {\n\t\t \&quot;root\&quot;: {\n\t\t \&quot;_fontWeight\&quot;: \&quot;bold\&quot;,\n\t\t \&quot;paddingLeft\&quot;: \&quot;3em!important\&quot;,\n\t\t \&quot;paddingRight\&quot;: \&quot;3em!important\&quot;\n\t\t },\n\t\t \&quot;outlined\&quot;: {\n\t\t \&quot;borderWidth\&quot;: 1.5,\n\t\t \&quot;borderColor\&quot;: \&quot;inherit\&quot;\n\t\t\t\t\t},\n\t\t\t\t\t\&quot;raised\&quot;: {\n\t\t\t\t\t\t\&quot;fontWeight\&quot;: \&quot;bold\&quot;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\&quot;MuiInputLabel\&quot;: {\n\t\t\t\t\t\&quot;root\&quot;: {\n\t\t\t\t\t\t\&quot;color\&quot;: \&quot;#dedede!important\&quot;\n\t\t\t\t\t},\n\t\t\t\t\t\&quot;shrink\&quot;: {\n\t\t\t\t\t\t\&quot;transform\&quot;: \&quot;translate(0, 1.5px) scale(0.875)\&quot;,\n\t\t\t\t\t\t\&quot;transformOrigin\&quot;: \&quot;top left\&quot;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\&quot;MuiCircularProgress\&quot;: {\n\t\t\t\t\t\&quot;_colorPrimary\&quot;: \&quot;#f7d14666\&quot;,\n\t\t\t\t\t\&quot;root\&quot;: {\n\t\t\t\t\t\t\&quot;width\&quot;: \&quot;70px!important\&quot;,\n \t\t \&quot;height\&quot;: \&quot;70px!important\&quot;,\n\t\t\t\t\t\t\&quot;color\&quot;: \&quot;#f7d146\&quot;\n\t\t\t\t\t},\n\t\t\t\t\t\&quot;circle\&quot;: {\n\t\t\t\t\t\t\&quot;strokeWidth\&quot;: 2\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t }\n\t\t}&quot;,&quot;fontURL&quot;:&quot;&quot;,&quot;faviconURL&quot;:&quot;&quot;,&quot;isIframe&quot;:true,&quot;isInline&quot;:false,&quot;css&quot;:&quot;&quot;,&quot;cssURL&quot;:&quot;&quot;,&quot;isPartial&quot;:false,&quot;hasFixedSSN&quot;:true,&quot;csrfToken&quot;:&quot;FQC/JSj+/5Knv6FcyGEwio+ILW161vDZsLzNhbt82EI=&quot;,&quot;collectURL&quot;:&quot;https://demo-api.gii.cloud/api/ip/bankid-se/auth/collect?id=880035236545495042\u0026csrfToken=FQC%2FJSj%2B%2F5Knv6FcyGEwio%2BILW161vDZsLzNhbt82EI%3D\u0026sessionID=96872c4a0e5e982ead7066a63ae065b231f5b3b03e6e4e58ffb2ea33ea86fa1a\u0026authRequestID=880035236525965314%2C341305621978906625%2CVqAgTCpjgN2%2B%2FjlHfeU9qoEqZdHNwFhBS5lc5VmQBUQ%3D&quot;,&quot;initSameDeviceURL&quot;:&quot;https://demo-api.gii.cloud/api/ip/bankid-se/auth/initSameDevice?id=880035236545495042\u0026csrfToken=FQC%2FJSj%2B%2F5Knv6FcyGEwio%2BILW161vDZsLzNhbt82EI%3D\u0026sessionID=96872c4a0e5e982ead7066a63ae065b231f5b3b03e6e4e58ffb2ea33ea86fa1a\u0026authRequestID=880035236525965314%2C341305621978906625%2CVqAgTCpjgN2%2B%2FjlHfeU9qoEqZdHNwFhBS5lc5VmQBUQ%3D&quot;,&quot;initOtherDeviceURL&quot;:&quot;https://demo-api.gii.cloud/api/ip/bankid-se/auth/initOtherDevice?id=880035236545495042\u0026csrfToken=FQC%2FJSj%2B%2F5Knv6FcyGEwio%2BILW161vDZsLzNhbt82EI%3D\u0026sessionID=96872c4a0e5e982ead7066a63ae065b231f5b3b03e6e4e58ffb2ea33ea86fa1a\u0026authRequestID=880035236525965314%2C341305621978906625%2CVqAgTCpjgN2%2B%2FjlHfeU9qoEqZdHNwFhBS5lc5VmQBUQ%3D&quot;,&quot;isSign&quot;:false,&quot;hasPersonalNumber&quot;:true,&quot;device&quot;:&quot;OTHER&quot;,&quot;other&quot;:&quot;&quot;,&quot;QR&quot;:&quot;FALSE&quot;,&quot;lang&quot;:&quot;sv&quot;,&quot;ssn&quot;:&quot;199202143112&quot;,&quot;isNativePlatform&quot;:false,&quot;redirectURL&quot;:&quot;&quot;,&quot;redirect&quot;:false,&quot;referer&quot;:&quot;&quot;,&quot;isPhone&quot;:false,&quot;cancelURL&quot;:&quot;https://demo-api.gii.cloud/api/ip/bankid-se/auth/cancel?id=880035236545495042\u0026csrfToken=FQC%2FJSj%2B%2F5Knv6FcyGEwio%2BILW161vDZsLzNhbt82EI%3D\u0026sessionID=96872c4a0e5e982ead7066a63ae065b231f5b3b03e6e4e58ffb2ea33ea86fa1a\u0026authRequestID=880035236525965314%2C341305621978906625%2CVqAgTCpjgN2%2B%2FjlHfeU9qoEqZdHNwFhBS5lc5VmQBUQ%3D&quot;}"></div>
41
+ <div class="bankid-se-lang" bankid-se-lang="{}"></div>
42
+
43
+ <script src="https://demo-api.gii.cloud/static/ip/bankidse/iframeResizer.contentWindow.min.js?rev=e05483705b84562824d8cb5f2ee1ce4657f40e18"></script>
44
+ <script src="https://demo-api.gii.cloud/static/ip/bankidse/bankidse-iframe.js?rev=e05483705b84562824d8cb5f2ee1ce4657f40e18"></script>
45
+
46
+ </main>
47
+
48
+
49
+ </body>
50
+
51
+ </html>
@@ -13,13 +13,11 @@ export var LOADING = {
13
13
 
14
14
  var Picture = function Picture(_ref) {
15
15
  var src = _ref.src,
16
- load = _ref.load,
17
- opacity = _ref.opacity,
18
16
  width = _ref.width,
19
17
  height = _ref.height,
20
18
  loading = _ref.loading,
21
19
  className = _ref.className,
22
- rest = _objectWithoutProperties(_ref, ['src', 'load', 'opacity', 'width', 'height', 'loading', 'className']);
20
+ rest = _objectWithoutProperties(_ref, ['src', 'width', 'height', 'loading', 'className']);
23
21
 
24
22
  if (!src) {
25
23
  return React.createElement('img', null);
@@ -27,7 +25,7 @@ var Picture = function Picture(_ref) {
27
25
 
28
26
  return React.createElement(
29
27
  'picture',
30
- { className: cn('Picture', className), style: { opacity: opacity } },
28
+ { className: cn('Picture', className) },
31
29
  Array.isArray(src) && src.map(function (image, i) {
32
30
  return React.createElement('source', {
33
31
  key: i,
@@ -40,11 +38,6 @@ var Picture = function Picture(_ref) {
40
38
  src: typeof src === 'string' ? src : undefined,
41
39
  width: width,
42
40
  height: height,
43
- onLoad: function onLoad() {
44
- if (typeof load === 'function') {
45
- load();
46
- }
47
- },
48
41
  loading: loading
49
42
  }, rest))
50
43
  );
@@ -59,8 +52,6 @@ Picture.propTypes = {
59
52
  width: PropTypes.number,
60
53
  height: PropTypes.number,
61
54
  lazy: PropTypes.bool,
62
- load: PropTypes.func,
63
- opacity: PropTypes.number,
64
55
  className: PropTypes.string
65
56
  };
66
57
 
@@ -30,13 +30,11 @@ var LOADING = exports.LOADING = {
30
30
 
31
31
  var Picture = function Picture(_ref) {
32
32
  var src = _ref.src,
33
- load = _ref.load,
34
- opacity = _ref.opacity,
35
33
  width = _ref.width,
36
34
  height = _ref.height,
37
35
  loading = _ref.loading,
38
36
  className = _ref.className,
39
- rest = _objectWithoutProperties(_ref, ['src', 'load', 'opacity', 'width', 'height', 'loading', 'className']);
37
+ rest = _objectWithoutProperties(_ref, ['src', 'width', 'height', 'loading', 'className']);
40
38
 
41
39
  if (!src) {
42
40
  return _react2.default.createElement('img', null);
@@ -44,7 +42,7 @@ var Picture = function Picture(_ref) {
44
42
 
45
43
  return _react2.default.createElement(
46
44
  'picture',
47
- { className: (0, _classnames2.default)('Picture', className), style: { opacity: opacity } },
45
+ { className: (0, _classnames2.default)('Picture', className) },
48
46
  Array.isArray(src) && src.map(function (image, i) {
49
47
  return _react2.default.createElement('source', {
50
48
  key: i,
@@ -57,11 +55,6 @@ var Picture = function Picture(_ref) {
57
55
  src: typeof src === 'string' ? src : undefined,
58
56
  width: width,
59
57
  height: height,
60
- onLoad: function onLoad() {
61
- if (typeof load === 'function') {
62
- load();
63
- }
64
- },
65
58
  loading: loading
66
59
  }, rest))
67
60
  );
@@ -76,8 +69,6 @@ Picture.propTypes = {
76
69
  width: _propTypes2.default.number,
77
70
  height: _propTypes2.default.number,
78
71
  lazy: _propTypes2.default.bool,
79
- load: _propTypes2.default.func,
80
- opacity: _propTypes2.default.number,
81
72
  className: _propTypes2.default.string
82
73
  };
83
74
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tg-core-components",
3
- "version": "6.3.4-picture.0",
3
+ "version": "6.3.4",
4
4
  "description": "tg-core-components",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -76,5 +76,5 @@
76
76
  "webpack": "^3.0.0",
77
77
  "webpack-blocks": "^1.0.0"
78
78
  },
79
- "gitHead": "1a23de21a5010d766fe15c41d80d61d4b9b7a69d"
79
+ "gitHead": "655fb1956cc5f772c25bcb3a193836eb387d5122"
80
80
  }