@everymatrix/lottery-hakuna-ticket-buy 0.0.1
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/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/index-f1909c9b.js +1359 -0
- package/dist/cjs/index.cjs.js +10 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/lottery-button_7.cjs.entry.js +1285 -0
- package/dist/cjs/lottery-hakuna-ticket-buy-fe6a420c.js +545 -0
- package/dist/cjs/lottery-hakuna-ticket-buy.cjs.js +25 -0
- package/dist/collection/collection-manifest.json +49 -0
- package/dist/collection/components/lottery-hakuna-ticket-buy/index.js +1 -0
- package/dist/collection/components/lottery-hakuna-ticket-buy/lottery-hakuna-ticket-buy.css +197 -0
- package/dist/collection/components/lottery-hakuna-ticket-buy/lottery-hakuna-ticket-buy.js +690 -0
- package/dist/collection/components/model/index.js +5 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/locale.utils.js +124 -0
- package/dist/collection/utils/utils.js +47 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/index-1f778cb5.js +1331 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/lottery-button_7.entry.js +1276 -0
- package/dist/esm/lottery-hakuna-ticket-buy-a9f8e014.js +540 -0
- package/dist/esm/lottery-hakuna-ticket-buy.js +20 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/lottery-hakuna-ticket-buy/app-globals-0f993ce5.js +1 -0
- package/dist/lottery-hakuna-ticket-buy/index-1f778cb5.js +2 -0
- package/dist/lottery-hakuna-ticket-buy/index.esm.js +1 -0
- package/dist/lottery-hakuna-ticket-buy/lottery-button_7.entry.js +1 -0
- package/dist/lottery-hakuna-ticket-buy/lottery-hakuna-ticket-buy-a9f8e014.js +1 -0
- package/dist/lottery-hakuna-ticket-buy/lottery-hakuna-ticket-buy.esm.js +1 -0
- package/dist/stencil.config.dev.js +19 -0
- package/dist/stencil.config.js +19 -0
- package/dist/storybook/main.js +43 -0
- package/dist/storybook/preview.js +9 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/packages/stencil/lottery-hakuna-ticket-buy/stencil.config.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/packages/stencil/lottery-hakuna-ticket-buy/stencil.config.dev.d.ts +2 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/packages/stencil/lottery-hakuna-ticket-buy/storybook/main.d.ts +3 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/packages/stencil/lottery-hakuna-ticket-buy/storybook/preview.d.ts +70 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/tools/plugins/index.d.ts +4 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/tools/plugins/lazy-load-chunk-plugin.d.ts +12 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +5 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/tools/plugins/vite-chunk-plugin.d.ts +6 -0
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-hakuna-ticket-buy/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +4 -0
- package/dist/types/components/lottery-hakuna-ticket-buy/index.d.ts +1 -0
- package/dist/types/components/lottery-hakuna-ticket-buy/lottery-hakuna-ticket-buy.d.ts +121 -0
- package/dist/types/components/model/index.d.ts +103 -0
- package/dist/types/components.d.ts +147 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1674 -0
- package/dist/types/utils/locale.utils.d.ts +3 -0
- package/dist/types/utils/utils.d.ts +13 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +27 -0
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
--emw--color-background-secondary: var(--emw-hakuna-bg-secondary, #120505);
|
|
3
|
+
--emw--color-primary: var(--emw-hakuna-color-primary, #c52217);
|
|
4
|
+
--emw--color-background: var(--emw-hakuna-bg-primary, #2c2525);
|
|
5
|
+
--emw--color-background-tertiary: var(--emw-hakuna-bg-tertiary, #4f2421);
|
|
6
|
+
--lottery-button-outline-active-bg: var(--emw-hakuna-bg-tertiary, #4f2421);
|
|
7
|
+
--lottery-button-outline-active-bg: var(--emw-hakuna-bg-tertiary, #4f2421);
|
|
8
|
+
scrollbar-width: thin;
|
|
9
|
+
scrollbar-color: var(--emw-hakuna-scroll-scrollbar-thumb-background, #120505) var(--emw-hakuna-scroll-scrollbar-track-background, transparent);
|
|
10
|
+
/* Scrollbar styles */
|
|
11
|
+
}
|
|
12
|
+
:host::-webkit-scrollbar {
|
|
13
|
+
width: var(--emw-hakuna-scroll-scrollbar-width, 2px);
|
|
14
|
+
}
|
|
15
|
+
:host::-webkit-scrollbar-track {
|
|
16
|
+
background: var(--emw-hakuna-scroll-scrollbar-track-background, transparent);
|
|
17
|
+
}
|
|
18
|
+
:host::-webkit-scrollbar-thumb {
|
|
19
|
+
background: var(--emw-hakuna-scroll-scrollbar-thumb-background, #120505);
|
|
20
|
+
border-radius: var(--emw-hakuna-scroll-scrollbar-thumb-border-radius, 2px);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.error-container {
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
align-items: center;
|
|
27
|
+
padding: 20px;
|
|
28
|
+
min-height: 100px;
|
|
29
|
+
background-color: var(--emw--color-background-secondary, #f5f5f5);
|
|
30
|
+
border-radius: 4px;
|
|
31
|
+
margin: 20px 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.error-text {
|
|
35
|
+
font-size: 16px;
|
|
36
|
+
color: var(--emw--color-error, #ff3d00);
|
|
37
|
+
font-weight: 500;
|
|
38
|
+
text-align: center;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.hakuna-ticket-buy {
|
|
42
|
+
display: flex;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
}
|
|
45
|
+
.hakuna-ticket-buy .empty-draw {
|
|
46
|
+
display: flex;
|
|
47
|
+
color: var(--emw-hakuna-text-primary, #ffffff);
|
|
48
|
+
width: 335px;
|
|
49
|
+
padding: 28px 20px;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
border: 1px solid transparent;
|
|
52
|
+
border-radius: 12px;
|
|
53
|
+
background-origin: border-box;
|
|
54
|
+
background-clip: padding-box, border-box;
|
|
55
|
+
background-image: linear-gradient(var(--emw-hakuna-bg-secondary, #120505), var(--emw-hakuna-bg-secondary, #120505)), linear-gradient(to top left, var(--emw-hakuna-color-primary, #c52217) 32%, var(--emw-hakuna-bg-primary, #2c2525) 68%);
|
|
56
|
+
}
|
|
57
|
+
.hakuna-ticket-buy-skeleton {
|
|
58
|
+
display: flex;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
align-items: center;
|
|
61
|
+
margin: 0 auto;
|
|
62
|
+
}
|
|
63
|
+
.hakuna-ticket-buy-skeleton-ticket {
|
|
64
|
+
box-sizing: border-box;
|
|
65
|
+
padding: 20px;
|
|
66
|
+
min-width: 336px;
|
|
67
|
+
max-width: 414px;
|
|
68
|
+
background-color: var(--emw-hakuna-ticket-skeleton-bg, #2d2d2d);
|
|
69
|
+
}
|
|
70
|
+
.hakuna-ticket-buy-skeleton-pay {
|
|
71
|
+
position: fixed;
|
|
72
|
+
bottom: 0;
|
|
73
|
+
left: 0;
|
|
74
|
+
right: 0;
|
|
75
|
+
padding: 16px 24px;
|
|
76
|
+
background-color: var(--emw-hakuna-ticket-skeleton-bg, #2d2d2d);
|
|
77
|
+
display: flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
justify-content: space-between;
|
|
80
|
+
}
|
|
81
|
+
.hakuna-ticket-buy-wrapper {
|
|
82
|
+
width: 100%;
|
|
83
|
+
display: flex;
|
|
84
|
+
flex-direction: column;
|
|
85
|
+
align-items: center;
|
|
86
|
+
max-height: calc(100vh - 90px);
|
|
87
|
+
overflow-y: scroll;
|
|
88
|
+
}
|
|
89
|
+
.hakuna-ticket-buy-list {
|
|
90
|
+
display: flex;
|
|
91
|
+
flex-direction: column;
|
|
92
|
+
gap: 12px;
|
|
93
|
+
min-width: 336px;
|
|
94
|
+
max-width: 414px;
|
|
95
|
+
width: 100%;
|
|
96
|
+
}
|
|
97
|
+
.hakuna-ticket-buy-operation {
|
|
98
|
+
display: flex;
|
|
99
|
+
justify-content: center;
|
|
100
|
+
}
|
|
101
|
+
.hakuna-ticket-buy-pay {
|
|
102
|
+
position: fixed;
|
|
103
|
+
bottom: 0;
|
|
104
|
+
left: 0;
|
|
105
|
+
right: 0;
|
|
106
|
+
padding: 16px 24px;
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
justify-content: space-between;
|
|
110
|
+
background: var(--emw-hakuna-bg-secondary, #120505);
|
|
111
|
+
}
|
|
112
|
+
.hakuna-ticket-buy-pay-info {
|
|
113
|
+
display: flex;
|
|
114
|
+
flex-direction: column;
|
|
115
|
+
gap: 10px;
|
|
116
|
+
}
|
|
117
|
+
.hakuna-ticket-buy-pay-info-item {
|
|
118
|
+
color: var(--emw-hakuna-text-secondary, #b4a5a5);
|
|
119
|
+
font-size: 12px;
|
|
120
|
+
font-weight: 600;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.dialog-content {
|
|
124
|
+
display: flex;
|
|
125
|
+
flex-direction: column;
|
|
126
|
+
align-items: center;
|
|
127
|
+
justify-content: center;
|
|
128
|
+
text-align: center;
|
|
129
|
+
padding: 24px 0;
|
|
130
|
+
}
|
|
131
|
+
.dialog-content-icon {
|
|
132
|
+
margin-bottom: 16px;
|
|
133
|
+
display: flex;
|
|
134
|
+
justify-content: center;
|
|
135
|
+
align-items: center;
|
|
136
|
+
}
|
|
137
|
+
.dialog-content-icon svg {
|
|
138
|
+
display: block;
|
|
139
|
+
}
|
|
140
|
+
.dialog-content-title {
|
|
141
|
+
color: var(--emw-hakuna-text-primary, #ffffff);
|
|
142
|
+
font-size: 16px;
|
|
143
|
+
font-weight: 700;
|
|
144
|
+
text-transform: uppercase;
|
|
145
|
+
}
|
|
146
|
+
.dialog-content-message {
|
|
147
|
+
color: var(--emw-hakuna-text-secondary, #b4a5a5);
|
|
148
|
+
font-size: 14px;
|
|
149
|
+
font-weight: 500;
|
|
150
|
+
width: 100%;
|
|
151
|
+
display: flex;
|
|
152
|
+
justify-content: center;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.dialog-content-footer {
|
|
156
|
+
display: flex;
|
|
157
|
+
justify-content: center;
|
|
158
|
+
gap: 16px;
|
|
159
|
+
width: 100%;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.confirm-submit-message {
|
|
163
|
+
width: 200px;
|
|
164
|
+
display: flex;
|
|
165
|
+
flex-direction: column;
|
|
166
|
+
gap: 2px;
|
|
167
|
+
justify-content: center;
|
|
168
|
+
}
|
|
169
|
+
.confirm-submit-message-item {
|
|
170
|
+
width: 100%;
|
|
171
|
+
display: flex;
|
|
172
|
+
justify-content: space-between;
|
|
173
|
+
color: var(--emw-hakuna-text-secondary, #b4a5a5);
|
|
174
|
+
font-size: 14px;
|
|
175
|
+
font-weight: 500;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.hakuna-dialog::part(dialog) {
|
|
179
|
+
border: 1px solid transparent;
|
|
180
|
+
border-radius: 12px;
|
|
181
|
+
background-origin: border-box;
|
|
182
|
+
background-clip: padding-box, border-box;
|
|
183
|
+
background-image: linear-gradient(var(--emw-hakuna-bg-secondary, #120505), var(--emw-hakuna-bg-secondary, #120505)), linear-gradient(to top left, var(--emw-hakuna-color-primary, #c52217) 32%, var(--emw-hakuna-bg-primary, #2c2525) 68%);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.hakuna-skeleton {
|
|
187
|
+
animation: skeleton-loading 1s linear infinite alternate;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
@keyframes skeleton-loading {
|
|
191
|
+
0% {
|
|
192
|
+
background-color: var(--emw-skeleton-primary-color, #414141);
|
|
193
|
+
}
|
|
194
|
+
100% {
|
|
195
|
+
background-color: var(--emw-skeleton-secondary-color, #2f2929);
|
|
196
|
+
}
|
|
197
|
+
}
|