@everymatrix/casino-betslip-indicator 1.44.0 → 1.45.2
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/es2015/casino-betslip-indicator.cjs +1 -0
- package/es2015/casino-betslip-indicator.js +16 -0
- package/package.json +14 -33
- package/README.md +0 -30
- package/dist/casino-betslip-indicator.js +0 -654
- package/dist/casino-betslip-indicator.js.map +0 -1
- package/index.html +0 -37
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -59
- package/src/CasinoBetslipIndicator.svelte +0 -232
- package/src/index.ts +0 -4
- package/stories/CasinoBetslipIndicator.stories.js +0 -13
- package/tsconfig.json +0 -6
package/index.html
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
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>
|
|
8
|
-
casino-betslip-indicator
|
|
9
|
-
</title>
|
|
10
|
-
<link rel="stylesheet" href="public/reset.css">
|
|
11
|
-
<script src='dist/casino-betslip-indicator.js'></script>
|
|
12
|
-
</head>
|
|
13
|
-
|
|
14
|
-
<body>
|
|
15
|
-
<style>
|
|
16
|
-
html,body { margin: 0; padding: 0; height: 100%; font-family: "Helvetica Neue", "Helvetica", sans-serif; }
|
|
17
|
-
.header { display: flex; justify-content: center; align-items: center; padding: 10px 20px; margin-bottom: 20px; background: #42a3e2; box-shadow: 3px 4px 5px 0px rgba(0,0,0, .2); }
|
|
18
|
-
.header__logo svg { height: 50px; width: 50px; margin-right: 5px; }
|
|
19
|
-
.header__name { color: #fff; }
|
|
20
|
-
.header__name span { margin-right: 10px; font-weight: bold; }
|
|
21
|
-
.webcomponent { padding: 10px 20px; }
|
|
22
|
-
</style>
|
|
23
|
-
<header class="header">
|
|
24
|
-
<div class="header__logo">
|
|
25
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="161" height="132" viewBox="0 0 161 132"><defs><linearGradient x1="0%" y1="50%" y2="50%" id="a"><stop stop-color="#2A3B8F" offset="0%"/><stop stop-color="#29ABE2" offset="100%"/></linearGradient><linearGradient x1="100%" y1="50%" x2="0%" y2="50%" id="c"><stop stop-color="#B4D44E" offset="0%"/><stop stop-color="#E7F716" offset="100%"/></linearGradient></defs><g fill="none" fill-rule="evenodd"><path fill="#166DA5" d="M160.6 65.9l-17.4 29.3-24.4-29.7 24.4-28.9z"/><path fill="#8FDB69" d="M141.3 100.2l-26.5-31.7-15.9 26.6 24.7 36.1z"/><path fill="#166DA5" d="M141 31.4l-26.2 31.8-15.9-26.6L123.6.9z"/><path fill="url(#a)" opacity=".95" d="M61.1 31.4H141L123.4.7H78.7z M114.8 63.3H159l-15.9-26.8H98.8"/><path fill="url(#c)" opacity=".95" d="M141.3 100.3H61l17.6 30.5h45z M114.8 68.4H159l-15.9 26.8H98.8"/><path fill="#010101" d="M78.6 130.8L41 65.8 79.1.8H37.9L.4 65.8l37.5 65z"/></g></svg>
|
|
26
|
-
</div>
|
|
27
|
-
<h1 class="header__name">
|
|
28
|
-
<span>WEBCOMPONENT:</span> casino-betslip-indicator
|
|
29
|
-
</h1>
|
|
30
|
-
</header>
|
|
31
|
-
|
|
32
|
-
<div class="webcomponent">
|
|
33
|
-
<casino-betslip-indicator></casino-betslip-indicator>
|
|
34
|
-
</div>
|
|
35
|
-
|
|
36
|
-
</body>
|
|
37
|
-
</html>
|
package/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import './dist/casino-betslip-indicator.js';
|
package/public/favicon.png
DELETED
|
Binary file
|
package/public/reset.css
DELETED
|
@@ -1,48 +0,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
|
-
}
|
package/rollup.config.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
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-betslip-indicator.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,232 +0,0 @@
|
|
|
1
|
-
<svelte:options tag={null} />
|
|
2
|
-
|
|
3
|
-
<script lang="ts">
|
|
4
|
-
import {
|
|
5
|
-
onMount,
|
|
6
|
-
get_current_component
|
|
7
|
-
} from "svelte/internal";
|
|
8
|
-
import { isMobile } from 'rvhelper';
|
|
9
|
-
|
|
10
|
-
export let clientstyling:string = '';
|
|
11
|
-
export let clientstylingurl:string = '';
|
|
12
|
-
|
|
13
|
-
let customStylingContainer:HTMLElement;
|
|
14
|
-
let userAgent:String = window.navigator.userAgent;
|
|
15
|
-
let betNumber: number = null;
|
|
16
|
-
let mobileView:Boolean = false;
|
|
17
|
-
let isLoading = true;
|
|
18
|
-
const thisComponent = get_current_component(); // dispatching events
|
|
19
|
-
|
|
20
|
-
const getInitialBetSlipContent = () => {
|
|
21
|
-
window.postMessage({
|
|
22
|
-
type: 'OMFE:getBetslipSelectionsCount',
|
|
23
|
-
}, '*');
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
const dispatchWcEvent = (name, detail) => {
|
|
27
|
-
thisComponent.dispatchEvent(
|
|
28
|
-
new CustomEvent(name, {
|
|
29
|
-
detail,
|
|
30
|
-
composed: true,
|
|
31
|
-
bubbles: true // propagate across the shadow DOM
|
|
32
|
-
})
|
|
33
|
-
);
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
const messageHandler = (e:any) => {
|
|
37
|
-
const { type, payload } = e.data;
|
|
38
|
-
|
|
39
|
-
if (e.data) {
|
|
40
|
-
switch(type) {
|
|
41
|
-
case 'OMFE:updateBetslipSelectionsCount':
|
|
42
|
-
betNumber = payload.count;
|
|
43
|
-
isLoading = false;
|
|
44
|
-
break;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
const setClientStyling = ():void => {
|
|
50
|
-
let sheet:HTMLElement = document.createElement('style');
|
|
51
|
-
sheet.innerHTML = clientstyling;
|
|
52
|
-
customStylingContainer.appendChild(sheet);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
const setClientStylingURL = ():void => {
|
|
56
|
-
let url:URL = new URL(clientstylingurl);
|
|
57
|
-
let cssFile:HTMLElement = document.createElement('style');
|
|
58
|
-
|
|
59
|
-
fetch(url.href)
|
|
60
|
-
.then((res:any) => res.text())
|
|
61
|
-
.then((data:any) => {
|
|
62
|
-
cssFile.innerHTML = data
|
|
63
|
-
|
|
64
|
-
setTimeout(() => { customStylingContainer.appendChild(cssFile) }, 1);
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
onMount(() => {
|
|
69
|
-
getInitialBetSlipContent();
|
|
70
|
-
|
|
71
|
-
window.addEventListener('message', messageHandler, false);
|
|
72
|
-
|
|
73
|
-
if (isMobile(userAgent)) {
|
|
74
|
-
mobileView = true;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return () => {
|
|
78
|
-
window.removeEventListener('message', messageHandler);
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
$: clientstylingurl && customStylingContainer && setClientStylingURL();
|
|
83
|
-
$: clientstyling && customStylingContainer && setClientStyling();
|
|
84
|
-
</script>
|
|
85
|
-
|
|
86
|
-
<div bind:this={customStylingContainer}>
|
|
87
|
-
{#if mobileView && betNumber > 0}
|
|
88
|
-
<button on:click={(e) => dispatchWcEvent("betslipClick", {})} class="betslipIndicator">
|
|
89
|
-
<small class="betslipIndicator__number">
|
|
90
|
-
{#if isLoading}
|
|
91
|
-
<div class="loader">Loading...</div>
|
|
92
|
-
{:else}
|
|
93
|
-
{betNumber}
|
|
94
|
-
{/if}
|
|
95
|
-
</small>
|
|
96
|
-
<svg version="1.1" id="Layer_1" class="betslipIndicator__icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
97
|
-
viewBox="0 0 64 100" style="enable-background:new 0 0 64 100;" xml:space="preserve">
|
|
98
|
-
<g>
|
|
99
|
-
<path d="M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
|
|
100
|
-
c0-1.1-0.9-2-2-2H6C2.7,3,0,5.7,0,9v82c0,3.3,2.7,6,6,6h11c1.1,0,2-0.9,2-2c0-7.2,5.8-13,13-13S45,87.8,45,95z M32,78
|
|
101
|
-
c-8.6,0-15.9,6.4-16.9,15H6c-1.1,0-2-0.9-2-2V9c0-1.1,0.9-2,2-2h9.1c1.2,9.3,9.7,15.9,19,14.8c7.7-1,13.8-7,14.8-14.8H58
|
|
102
|
-
c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z"/>
|
|
103
|
-
<path d="M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"/>
|
|
104
|
-
<path d="M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"/>
|
|
105
|
-
<path d="M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"/>
|
|
106
|
-
<path d="M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"/>
|
|
107
|
-
</g>
|
|
108
|
-
</svg>
|
|
109
|
-
</button>
|
|
110
|
-
{/if}
|
|
111
|
-
</div>
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
<style lang="scss">
|
|
115
|
-
*,
|
|
116
|
-
*::before,
|
|
117
|
-
*::after {
|
|
118
|
-
margin: 0;
|
|
119
|
-
padding: 0;
|
|
120
|
-
list-style: none;
|
|
121
|
-
text-decoration: none;
|
|
122
|
-
outline: none;
|
|
123
|
-
box-sizing: border-box;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
.betslipIndicator {
|
|
128
|
-
display: flex;
|
|
129
|
-
align-items: center;
|
|
130
|
-
justify-content: center;
|
|
131
|
-
padding: 15px 20px;
|
|
132
|
-
position: fixed;
|
|
133
|
-
bottom: 20%;
|
|
134
|
-
right: 20px;
|
|
135
|
-
color: #fff;
|
|
136
|
-
background: var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));
|
|
137
|
-
box-shadow: 0px 5px 30px var(--emfe-w-color-gray-100, #E6E6E6);
|
|
138
|
-
border-radius: 50%;
|
|
139
|
-
border: none;
|
|
140
|
-
|
|
141
|
-
&__icon {
|
|
142
|
-
display: flex;
|
|
143
|
-
width: 20px;
|
|
144
|
-
fill: var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
&__number {
|
|
148
|
-
display: flex;
|
|
149
|
-
align-items: center;
|
|
150
|
-
justify-content: center;
|
|
151
|
-
position: absolute;
|
|
152
|
-
right: 0px;
|
|
153
|
-
top: -10px;
|
|
154
|
-
width: 25px;
|
|
155
|
-
height: 25px;
|
|
156
|
-
background: var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));
|
|
157
|
-
color: var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));
|
|
158
|
-
border-radius: 50%;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.loader {
|
|
163
|
-
color: var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));
|
|
164
|
-
font-size: 2px;
|
|
165
|
-
margin: 100px auto;
|
|
166
|
-
width: 1em;
|
|
167
|
-
height: 1em;
|
|
168
|
-
border-radius: 50%;
|
|
169
|
-
position: relative;
|
|
170
|
-
text-indent: -9999em;
|
|
171
|
-
-webkit-animation: load4 1.3s infinite linear;
|
|
172
|
-
animation: load4 1.3s infinite linear;
|
|
173
|
-
-webkit-transform: translateZ(0);
|
|
174
|
-
-ms-transform: translateZ(0);
|
|
175
|
-
transform: translateZ(0);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
@-webkit-keyframes load4 {
|
|
179
|
-
0%,
|
|
180
|
-
100% {
|
|
181
|
-
box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
|
|
182
|
-
}
|
|
183
|
-
12.5% {
|
|
184
|
-
box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
|
|
185
|
-
}
|
|
186
|
-
25% {
|
|
187
|
-
box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
|
|
188
|
-
}
|
|
189
|
-
37.5% {
|
|
190
|
-
box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
|
|
191
|
-
}
|
|
192
|
-
50% {
|
|
193
|
-
box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
|
|
194
|
-
}
|
|
195
|
-
62.5% {
|
|
196
|
-
box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
|
|
197
|
-
}
|
|
198
|
-
75% {
|
|
199
|
-
box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
|
|
200
|
-
}
|
|
201
|
-
87.5% {
|
|
202
|
-
box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
@keyframes load4 {
|
|
206
|
-
0%,
|
|
207
|
-
100% {
|
|
208
|
-
box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
|
|
209
|
-
}
|
|
210
|
-
12.5% {
|
|
211
|
-
box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
|
|
212
|
-
}
|
|
213
|
-
25% {
|
|
214
|
-
box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
|
|
215
|
-
}
|
|
216
|
-
37.5% {
|
|
217
|
-
box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
|
|
218
|
-
}
|
|
219
|
-
50% {
|
|
220
|
-
box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
|
|
221
|
-
}
|
|
222
|
-
62.5% {
|
|
223
|
-
box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
|
|
224
|
-
}
|
|
225
|
-
75% {
|
|
226
|
-
box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
|
|
227
|
-
}
|
|
228
|
-
87.5% {
|
|
229
|
-
box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
</style>
|
package/src/index.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { html } from 'lit-element';
|
|
2
|
-
|
|
3
|
-
import CasinoBetslipIndicator from '../src/CasinoBetslipIndicator';
|
|
4
|
-
|
|
5
|
-
// This default export determines where your story goes in the story list
|
|
6
|
-
export default {
|
|
7
|
-
title: 'CasinoBetslipIndicator',
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
// 👇 We create a “template” of how args map to rendering
|
|
11
|
-
const CasinoBetslipIndicator = ({ aProperty }) => html`<casino-betslip-indicator></casino-betslip-indicator>`;
|
|
12
|
-
|
|
13
|
-
export const FirstStory = CasinoBetslipIndicator.bind({});
|