@everymatrix/casino-footer-v2 0.0.363 → 0.0.367

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/index.html CHANGED
@@ -1,126 +1,64 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width,initial-scale=1" />
6
-
7
- <title>casino-footer-v2</title>
8
- <link rel="stylesheet" href="public/reset.css" />
9
- <script src="dist/casino-footer-v2.js"></script>
10
- </head>
11
-
12
- <body>
13
- <style>
14
- html,
15
- body {
16
- margin: 0;
17
- padding: 0;
18
- height: 100%;
19
- font-family: "Helvetica Neue", "Helvetica", sans-serif;
20
- }
21
- .header {
22
- display: flex;
23
- justify-content: center;
24
- align-items: center;
25
- padding: 10px 20px;
26
- margin-bottom: 20px;
27
- background: #42a3e2;
28
- box-shadow: 3px 4px 5px 0px rgba(0, 0, 0, 0.2);
29
- }
30
- .header__logo svg {
31
- height: 50px;
32
- width: 50px;
33
- margin-right: 5px;
34
- }
35
- .header__name {
36
- color: #fff;
37
- }
38
- .header__name span {
39
- margin-right: 10px;
40
- font-weight: bold;
41
- }
42
- .webcomponent {
43
- padding: 10px 20px;
44
- }
45
- </style>
46
- <header class="header">
47
- <div class="header__logo">
48
- <svg
49
- xmlns="http://www.w3.org/2000/svg"
50
- width="161"
51
- height="132"
52
- viewBox="0 0 161 132"
53
- >
54
- <defs>
55
- <linearGradient x1="0%" y1="50%" y2="50%" id="a">
56
- <stop stop-color="#2A3B8F" offset="0%" />
57
- <stop stop-color="#29ABE2" offset="100%" />
58
- </linearGradient>
59
- <linearGradient x1="100%" y1="50%" x2="0%" y2="50%" id="c">
60
- <stop stop-color="#B4D44E" offset="0%" />
61
- <stop stop-color="#E7F716" offset="100%" />
62
- </linearGradient>
63
- </defs>
64
- <g fill="none" fill-rule="evenodd">
65
- <path
66
- fill="#166DA5"
67
- d="M160.6 65.9l-17.4 29.3-24.4-29.7 24.4-28.9z"
68
- />
69
- <path
70
- fill="#8FDB69"
71
- d="M141.3 100.2l-26.5-31.7-15.9 26.6 24.7 36.1z"
72
- />
73
- <path fill="#166DA5" d="M141 31.4l-26.2 31.8-15.9-26.6L123.6.9z" />
74
- <path
75
- fill="url(#a)"
76
- opacity=".95"
77
- d="M61.1 31.4H141L123.4.7H78.7z M114.8 63.3H159l-15.9-26.8H98.8"
78
- />
79
- <path
80
- fill="url(#c)"
81
- opacity=".95"
82
- d="M141.3 100.3H61l17.6 30.5h45z M114.8 68.4H159l-15.9 26.8H98.8"
83
- />
84
- <path
85
- fill="#010101"
86
- d="M78.6 130.8L41 65.8 79.1.8H37.9L.4 65.8l37.5 65z"
87
- />
88
- </g>
89
- </svg>
90
- </div>
91
- <h1 class="header__name"><span>WEBCOMPONENT:</span> casino-footer-v2</h1>
92
- </header>
93
- <casino-footer-v2
94
- endpoint="https://bahcom-stage.everymatrix.com/apijson/en/footer-raw-data?env=stage"
95
- userendpoint="https://betathome-de-stage-api.stage.norway.everymatrix.com/v1"
96
- session="d919449f-5f5a-4c6f-92c2-29fb947c3f33"
97
- userid="4229869"
98
- env="local"
99
- languageselectorenabled="true"
100
- languagelist="de, en, sl, pl, hr, hu, it, sr, pt"
101
- languagedisplaytype="name"
102
- sessiontimerenabled="true"
103
- panicbuttonenabled="true"
104
- clockenabled="true"
105
- clocksecondsenabled="true"
106
- clockcustomformat="LTS"
107
- lang="de"
108
- ></casino-footer-v2>
109
-
110
- <casino-footer-v2
111
- endpoint="https://bahcom-stage.everymatrix.com/apijson/en/footer-raw-data?env=stage"
112
- userendpoint="https://betathome-de-stage-api.stage.norway.everymatrix.com/v1"
113
- session="d919449f-5f5a-4c6f-92c2-29fb947c3f33"
114
- userid="4229869"
115
- lang="en"
116
- env="stage"
117
- clocktext="Time"
118
- clockenabled="true"
119
- clocksecondsenabled="true"
120
- clockcustomformat="false"
121
- languageselectorenabled="true"
122
- panicbuttonenabled="true"
123
- sessiontimerenabled="true"
124
- ></casino-footer-v2>
125
- </body>
126
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width,initial-scale=1" />
6
+
7
+ <title>casino-footer-v2</title>
8
+ <link rel="stylesheet" href="public/reset.css" />
9
+ <script src="dist/casino-footer-v2.js"></script>
10
+ </head>
11
+
12
+ <body>
13
+ <style>
14
+ html,
15
+ body {
16
+ margin: 0;
17
+ padding: 0;
18
+ height: 100%;
19
+ font-family: "Helvetica Neue", "Helvetica", sans-serif;
20
+ }
21
+ .header {
22
+ display: flex;
23
+ justify-content: center;
24
+ align-items: center;
25
+ padding: 10px 20px;
26
+ margin-bottom: 20px;
27
+ background: #42a3e2;
28
+ box-shadow: 3px 4px 5px 0px rgba(0, 0, 0, 0.2);
29
+ }
30
+ .header__logo svg {
31
+ height: 50px;
32
+ width: 50px;
33
+ margin-right: 5px;
34
+ }
35
+ .header__name {
36
+ color: #fff;
37
+ }
38
+ .header__name span {
39
+ margin-right: 10px;
40
+ font-weight: bold;
41
+ }
42
+ .webcomponent {
43
+ padding: 10px 20px;
44
+ }
45
+ </style>
46
+ <casino-footer-v2
47
+ endpoint="https://bahcom-stage.everymatrix.com/apijson"
48
+ userendpoint="https://betathome-de-stage-api.stage.norway.everymatrix.com/v1"
49
+ session="d919449f-5f5a-4c6f-92c2-29fb947c3f33"
50
+ userid="4229869"
51
+ env="local"
52
+ languageselectorenabled="true"
53
+ languagelist="de, en, sl, pl, hr, hu, it, sr, pt"
54
+ languagedisplaytype="name"
55
+ sessiontimerenabled="true"
56
+ panicbuttonenabled="true"
57
+ clockenabled="true"
58
+ clocksecondsenabled="true"
59
+ clockcustomformat="LTS"
60
+ lang="en"
61
+ ></casino-footer-v2>
62
+
63
+ </body>
64
+ </html>
package/index.js CHANGED
@@ -1 +1 @@
1
- import './dist/casino-footer-v2.js';
1
+ import './dist/casino-footer-v2.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-footer-v2",
3
- "version": "0.0.363",
3
+ "version": "0.0.367",
4
4
  "main": "dist/casino-footer-v2.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "c387eff5f038dffc7fde68f7e15e1ca719f4f209"
39
+ "gitHead": "2862d37a634bee597aaac02d75aead918718617d"
40
40
  }
package/public/reset.css CHANGED
@@ -1,48 +1,48 @@
1
- /* http://meyerweb.com/eric/tools/css/reset/
2
- v2.0 | 20110126
3
- License: none (public domain)
4
- */
5
-
6
- html, body, div, span, applet, object, iframe,
7
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8
- a, abbr, acronym, address, big, cite, code,
9
- del, dfn, em, img, ins, kbd, q, s, samp,
10
- small, strike, strong, sub, sup, tt, var,
11
- b, u, i, center,
12
- dl, dt, dd, ol, ul, li,
13
- fieldset, form, label, legend,
14
- table, caption, tbody, tfoot, thead, tr, th, td,
15
- article, aside, canvas, details, embed,
16
- figure, figcaption, footer, header, hgroup,
17
- menu, nav, output, ruby, section, summary,
18
- time, mark, audio, video {
19
- margin: 0;
20
- padding: 0;
21
- border: 0;
22
- font-size: 100%;
23
- font: inherit;
24
- vertical-align: baseline;
25
- }
26
- /* HTML5 display-role reset for older browsers */
27
- article, aside, details, figcaption, figure,
28
- footer, header, hgroup, menu, nav, section {
29
- display: block;
30
- }
31
- body {
32
- line-height: 1;
33
- }
34
- ol, ul {
35
- list-style: none;
36
- }
37
- blockquote, q {
38
- quotes: none;
39
- }
40
- blockquote:before, blockquote:after,
41
- q:before, q:after {
42
- content: '';
43
- content: none;
44
- }
45
- table {
46
- border-collapse: collapse;
47
- border-spacing: 0;
1
+ /* http://meyerweb.com/eric/tools/css/reset/
2
+ v2.0 | 20110126
3
+ License: none (public domain)
4
+ */
5
+
6
+ html, body, div, span, applet, object, iframe,
7
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8
+ a, abbr, acronym, address, big, cite, code,
9
+ del, dfn, em, img, ins, kbd, q, s, samp,
10
+ small, strike, strong, sub, sup, tt, var,
11
+ b, u, i, center,
12
+ dl, dt, dd, ol, ul, li,
13
+ fieldset, form, label, legend,
14
+ table, caption, tbody, tfoot, thead, tr, th, td,
15
+ article, aside, canvas, details, embed,
16
+ figure, figcaption, footer, header, hgroup,
17
+ menu, nav, output, ruby, section, summary,
18
+ time, mark, audio, video {
19
+ margin: 0;
20
+ padding: 0;
21
+ border: 0;
22
+ font-size: 100%;
23
+ font: inherit;
24
+ vertical-align: baseline;
25
+ }
26
+ /* HTML5 display-role reset for older browsers */
27
+ article, aside, details, figcaption, figure,
28
+ footer, header, hgroup, menu, nav, section {
29
+ display: block;
30
+ }
31
+ body {
32
+ line-height: 1;
33
+ }
34
+ ol, ul {
35
+ list-style: none;
36
+ }
37
+ blockquote, q {
38
+ quotes: none;
39
+ }
40
+ blockquote:before, blockquote:after,
41
+ q:before, q:after {
42
+ content: '';
43
+ content: none;
44
+ }
45
+ table {
46
+ border-collapse: collapse;
47
+ border-spacing: 0;
48
48
  }
package/rollup.config.js CHANGED
@@ -1,59 +1,59 @@
1
- import svelte from 'rollup-plugin-svelte';
2
- import commonjs from '@rollup/plugin-commonjs';
3
- import resolve from '@rollup/plugin-node-resolve';
4
- import serve from 'rollup-plugin-dev-server';
5
- import livereload from 'rollup-plugin-livereload';
6
- import { terser } from 'rollup-plugin-terser';
7
- import sveltePreprocess from 'svelte-preprocess';
8
- import typescript from '@rollup/plugin-typescript';
9
- const production = process.env.NODE_ENV === 'production';
10
- const dev = process.env.NODE_ENV === 'development';
11
-
12
- export default {
13
- input: 'src/index.ts',
14
- output: {
15
- sourcemap: true,
16
- format: 'umd',
17
- name: 'app',
18
- file: 'dist/casino-footer-v2.js'
19
- },
20
- plugins: [
21
- svelte({
22
- preprocess: sveltePreprocess(),
23
- compilerOptions: {
24
- // enable run-time checks when not in production
25
- customElement: true,
26
- dev: !production
27
- }
28
- }),
29
- commonjs(),
30
- resolve({
31
- browser: true,
32
- dedupe: ['svelte']
33
- }),
34
- dev && serve({
35
- open: true,
36
- verbose: true,
37
- allowCrossOrigin: true,
38
- historyApiFallback: false,
39
- host: 'localhost',
40
- port: 5050,
41
- }),
42
- dev && livereload({ watch: ['', 'dist'] }),
43
- typescript({
44
- sourceMap: !production,
45
- inlineSources: !production,
46
- }),
47
- // If we're building for production (npm run build
48
- // instead of npm run dev), minify
49
- production &&
50
- terser({
51
- output: {
52
- comments: "all"
53
- },
54
- })
55
- ],
56
- watch: {
57
- clearScreen: false
58
- }
59
- };
1
+ import svelte from 'rollup-plugin-svelte';
2
+ import commonjs from '@rollup/plugin-commonjs';
3
+ import resolve from '@rollup/plugin-node-resolve';
4
+ import serve from 'rollup-plugin-dev-server';
5
+ import livereload from 'rollup-plugin-livereload';
6
+ import { terser } from 'rollup-plugin-terser';
7
+ import sveltePreprocess from 'svelte-preprocess';
8
+ import typescript from '@rollup/plugin-typescript';
9
+ const production = process.env.NODE_ENV === 'production';
10
+ const dev = process.env.NODE_ENV === 'development';
11
+
12
+ export default {
13
+ input: 'src/index.ts',
14
+ output: {
15
+ sourcemap: true,
16
+ format: 'umd',
17
+ name: 'app',
18
+ file: 'dist/casino-footer-v2.js'
19
+ },
20
+ plugins: [
21
+ svelte({
22
+ preprocess: sveltePreprocess(),
23
+ compilerOptions: {
24
+ // enable run-time checks when not in production
25
+ customElement: true,
26
+ dev: !production
27
+ }
28
+ }),
29
+ commonjs(),
30
+ resolve({
31
+ browser: true,
32
+ dedupe: ['svelte']
33
+ }),
34
+ dev && serve({
35
+ open: true,
36
+ verbose: true,
37
+ allowCrossOrigin: true,
38
+ historyApiFallback: false,
39
+ host: 'localhost',
40
+ port: 5050,
41
+ }),
42
+ dev && livereload({ watch: ['', 'dist'] }),
43
+ typescript({
44
+ sourceMap: !production,
45
+ inlineSources: !production,
46
+ }),
47
+ // If we're building for production (npm run build
48
+ // instead of npm run dev), minify
49
+ production &&
50
+ terser({
51
+ output: {
52
+ comments: "all"
53
+ },
54
+ })
55
+ ],
56
+ watch: {
57
+ clearScreen: false
58
+ }
59
+ };