@lukso/web-components 1.4.0 → 1.5.0

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/components/index.js +1257 -700
  3. package/dist/components/index.umd.cjs +688 -151
  4. package/dist/components/lukso-button/index.js +3 -3
  5. package/dist/components/lukso-button/index.umd.cjs +10 -10
  6. package/dist/components/lukso-card/index.js +25 -25
  7. package/dist/components/lukso-card/index.umd.cjs +10 -10
  8. package/dist/components/lukso-icon/icons/complete-filled-fade-in.d.ts +3 -0
  9. package/dist/components/lukso-icon/icons/progress-complete.d.ts +3 -0
  10. package/dist/components/lukso-icon/icons/progress-indicator.d.ts +3 -0
  11. package/dist/components/lukso-icon/icons/pulse-dot.d.ts +3 -0
  12. package/dist/components/lukso-icon/index.d.ts +3 -2
  13. package/dist/components/lukso-icon/index.js +1148 -587
  14. package/dist/components/lukso-icon/index.umd.cjs +658 -121
  15. package/dist/components/lukso-input/index.js +92 -92
  16. package/dist/components/lukso-input/index.umd.cjs +12 -12
  17. package/dist/components/lukso-navbar/index.js +108 -108
  18. package/dist/components/lukso-navbar/index.umd.cjs +12 -12
  19. package/dist/components/lukso-profile/index.js +30 -30
  20. package/dist/components/lukso-profile/index.umd.cjs +10 -10
  21. package/dist/components/lukso-sanitize/index.js +70 -70
  22. package/dist/components/lukso-sanitize/index.umd.cjs +12 -12
  23. package/dist/components/lukso-tag/index.d.ts +0 -1
  24. package/dist/components/lukso-tag/index.js +106 -105
  25. package/dist/components/lukso-tag/index.umd.cjs +12 -12
  26. package/dist/components/lukso-test/index.js +411 -411
  27. package/dist/components/lukso-test/index.umd.cjs +25 -25
  28. package/dist/components/lukso-username/index.js +101 -101
  29. package/dist/components/lukso-username/index.umd.cjs +12 -12
  30. package/dist/components/lukso-wizard/index.js +144 -144
  31. package/dist/components/lukso-wizard/index.umd.cjs +13 -13
  32. package/dist/index.js +1257 -700
  33. package/dist/index.umd.cjs +688 -151
  34. package/dist/shared/tailwind-element/index.js +147 -147
  35. package/dist/shared/tailwind-element/index.umd.cjs +8 -8
  36. package/dist/shared/tailwind-element.js +147 -147
  37. package/dist/shared/tailwind-element.umd.cjs +8 -8
  38. package/package.json +2 -2
  39. package/src/components/lukso-button/index.ts +1 -1
  40. package/src/components/lukso-icon/icons/complete-filled-fade-in.ts +34 -0
  41. package/src/components/lukso-icon/icons/progress-complete.ts +289 -0
  42. package/src/components/lukso-icon/icons/progress-indicator.ts +236 -0
  43. package/src/components/lukso-icon/icons/pulse-dot.ts +22 -0
  44. package/src/components/lukso-icon/index.ts +125 -114
  45. package/src/components/lukso-icon/lukso-icon.stories.ts +22 -2
  46. package/src/components/lukso-icon/style.scss +3 -0
  47. package/src/components/lukso-input/index.ts +1 -1
  48. package/src/components/lukso-tag/index.ts +3 -3
  49. package/src/components/lukso-tag/lukso-tag.stories.ts +0 -1
  50. package/tailwind.config.cjs +135 -1
@@ -0,0 +1,289 @@
1
+ import { html } from 'lit'
2
+ import { styleMap } from 'lit/directives/style-map.js'
3
+
4
+ import { IconOptions } from '@/components/lukso-icon/index.js'
5
+
6
+ export const progressComplete = (options: IconOptions) => {
7
+ return html`<svg
8
+ width="40"
9
+ height="40"
10
+ viewBox="0 0 40 40"
11
+ fill="none"
12
+ xmlns="http://www.w3.org/2000/svg"
13
+ style=${styleMap({
14
+ width: `${options.width}px`,
15
+ height: `${options.height}px`,
16
+ })}
17
+ >
18
+ <g clip-path="url(#clip0_1438_17663)">
19
+ <g filter="url(#filter0_ddd_1438_17663)">
20
+ <circle cx="20" cy="20" r="20" fill="#F8FAFB" />
21
+ </g>
22
+ <g filter="url(#filter1_ii_1438_17663)">
23
+ <path
24
+ d="M40 20C40 31.0457 31.0457 40 20 40C8.9543 40 0 31.0457 0 20C0 8.9543 8.9543 0 20 0C31.0457 0 40 8.9543 40 20ZM5 20C5 28.2843 11.7157 35 20 35C28.2843 35 35 28.2843 35 20C35 11.7157 28.2843 5 20 5C11.7157 5 5 11.7157 5 20Z"
25
+ fill="#F8FAFB"
26
+ />
27
+ </g>
28
+ <g filter="url(#filter2_i_1438_17663)">
29
+ <path
30
+ d="M40 20C40 31.0457 31.0457 40 20 40C8.9543 40 0 31.0457 0 20C0 8.9543 8.9543 0 20 0C31.0457 0 40 8.9543 40 20ZM5 20C5 28.2843 11.7157 35 20 35C28.2843 35 35 28.2843 35 20C35 11.7157 28.2843 5 20 5C11.7157 5 5 11.7157 5 20Z"
31
+ fill="url(#paint0_linear_1438_17663)"
32
+ />
33
+ </g>
34
+ <g filter="url(#filter3_di_1438_17663)">
35
+ <path
36
+ d="M27 15.3381L17.4837 25.1263L14.9216 22.3296L13.6405 20.9313L13 20.2322"
37
+ stroke="url(#paint1_linear_1438_17663)"
38
+ stroke-width="2"
39
+ stroke-linecap="round"
40
+ stroke-linejoin="round"
41
+ />
42
+ </g>
43
+ </g>
44
+ <defs>
45
+ <filter
46
+ id="filter0_ddd_1438_17663"
47
+ x="-42"
48
+ y="-42"
49
+ width="124"
50
+ height="124"
51
+ filterUnits="userSpaceOnUse"
52
+ color-interpolation-filters="sRGB"
53
+ >
54
+ <feFlood flood-opacity="0" result="BackgroundImageFix" />
55
+ <feColorMatrix
56
+ in="SourceAlpha"
57
+ type="matrix"
58
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
59
+ result="hardAlpha"
60
+ />
61
+ <feMorphology
62
+ radius="2"
63
+ operator="dilate"
64
+ in="SourceAlpha"
65
+ result="effect1_dropShadow_1438_17663"
66
+ />
67
+ <feOffset />
68
+ <feGaussianBlur stdDeviation="20" />
69
+ <feComposite in2="hardAlpha" operator="out" />
70
+ <feColorMatrix
71
+ type="matrix"
72
+ values="0 0 0 0 0.973333 0 0 0 0 0.853333 0 0 0 0 0.826667 0 0 0 0.34 0"
73
+ />
74
+ <feBlend
75
+ mode="normal"
76
+ in2="BackgroundImageFix"
77
+ result="effect1_dropShadow_1438_17663"
78
+ />
79
+ <feColorMatrix
80
+ in="SourceAlpha"
81
+ type="matrix"
82
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
83
+ result="hardAlpha"
84
+ />
85
+ <feOffset dx="-1" dy="-1" />
86
+ <feGaussianBlur stdDeviation="1" />
87
+ <feComposite in2="hardAlpha" operator="out" />
88
+ <feColorMatrix
89
+ type="matrix"
90
+ values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"
91
+ />
92
+ <feBlend
93
+ mode="normal"
94
+ in2="effect1_dropShadow_1438_17663"
95
+ result="effect2_dropShadow_1438_17663"
96
+ />
97
+ <feColorMatrix
98
+ in="SourceAlpha"
99
+ type="matrix"
100
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
101
+ result="hardAlpha"
102
+ />
103
+ <feOffset dx="1" dy="1" />
104
+ <feGaussianBlur stdDeviation="1" />
105
+ <feComposite in2="hardAlpha" operator="out" />
106
+ <feColorMatrix
107
+ type="matrix"
108
+ values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"
109
+ />
110
+ <feBlend
111
+ mode="normal"
112
+ in2="effect2_dropShadow_1438_17663"
113
+ result="effect3_dropShadow_1438_17663"
114
+ />
115
+ <feBlend
116
+ mode="normal"
117
+ in="SourceGraphic"
118
+ in2="effect3_dropShadow_1438_17663"
119
+ result="shape"
120
+ />
121
+ </filter>
122
+ <filter
123
+ id="filter1_ii_1438_17663"
124
+ x="-2"
125
+ y="-2"
126
+ width="44"
127
+ height="44"
128
+ filterUnits="userSpaceOnUse"
129
+ color-interpolation-filters="sRGB"
130
+ >
131
+ <feFlood flood-opacity="0" result="BackgroundImageFix" />
132
+ <feBlend
133
+ mode="normal"
134
+ in="SourceGraphic"
135
+ in2="BackgroundImageFix"
136
+ result="shape"
137
+ />
138
+ <feColorMatrix
139
+ in="SourceAlpha"
140
+ type="matrix"
141
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
142
+ result="hardAlpha"
143
+ />
144
+ <feOffset dx="2" dy="2" />
145
+ <feGaussianBlur stdDeviation="2" />
146
+ <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" />
147
+ <feColorMatrix
148
+ type="matrix"
149
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.17 0"
150
+ />
151
+ <feBlend
152
+ mode="normal"
153
+ in2="shape"
154
+ result="effect1_innerShadow_1438_17663"
155
+ />
156
+ <feColorMatrix
157
+ in="SourceAlpha"
158
+ type="matrix"
159
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
160
+ result="hardAlpha"
161
+ />
162
+ <feOffset dx="-2" dy="-2" />
163
+ <feGaussianBlur stdDeviation="2" />
164
+ <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" />
165
+ <feColorMatrix
166
+ type="matrix"
167
+ values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0"
168
+ />
169
+ <feBlend
170
+ mode="normal"
171
+ in2="effect1_innerShadow_1438_17663"
172
+ result="effect2_innerShadow_1438_17663"
173
+ />
174
+ </filter>
175
+ <filter
176
+ id="filter2_i_1438_17663"
177
+ x="0"
178
+ y="0"
179
+ width="41"
180
+ height="41"
181
+ filterUnits="userSpaceOnUse"
182
+ color-interpolation-filters="sRGB"
183
+ >
184
+ <feFlood flood-opacity="0" result="BackgroundImageFix" />
185
+ <feBlend
186
+ mode="normal"
187
+ in="SourceGraphic"
188
+ in2="BackgroundImageFix"
189
+ result="shape"
190
+ />
191
+ <feColorMatrix
192
+ in="SourceAlpha"
193
+ type="matrix"
194
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
195
+ result="hardAlpha"
196
+ />
197
+ <feOffset dx="1" dy="1" />
198
+ <feGaussianBlur stdDeviation="1" />
199
+ <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" />
200
+ <feColorMatrix
201
+ type="matrix"
202
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0"
203
+ />
204
+ <feBlend
205
+ mode="normal"
206
+ in2="shape"
207
+ result="effect1_innerShadow_1438_17663"
208
+ />
209
+ </filter>
210
+ <filter
211
+ id="filter3_di_1438_17663"
212
+ x="10"
213
+ y="13.3381"
214
+ width="20"
215
+ height="15.7882"
216
+ filterUnits="userSpaceOnUse"
217
+ color-interpolation-filters="sRGB"
218
+ >
219
+ <feFlood flood-opacity="0" result="BackgroundImageFix" />
220
+ <feColorMatrix
221
+ in="SourceAlpha"
222
+ type="matrix"
223
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
224
+ result="hardAlpha"
225
+ />
226
+ <feOffset dy="1" />
227
+ <feGaussianBlur stdDeviation="1" />
228
+ <feComposite in2="hardAlpha" operator="out" />
229
+ <feColorMatrix
230
+ type="matrix"
231
+ values="0 0 0 0 0.827451 0 0 0 0 0.682353 0 0 0 0 0.705882 0 0 0 0.5 0"
232
+ />
233
+ <feBlend
234
+ mode="normal"
235
+ in2="BackgroundImageFix"
236
+ result="effect1_dropShadow_1438_17663"
237
+ />
238
+ <feBlend
239
+ mode="normal"
240
+ in="SourceGraphic"
241
+ in2="effect1_dropShadow_1438_17663"
242
+ result="shape"
243
+ />
244
+ <feColorMatrix
245
+ in="SourceAlpha"
246
+ type="matrix"
247
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
248
+ result="hardAlpha"
249
+ />
250
+ <feOffset dy="-1" />
251
+ <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" />
252
+ <feColorMatrix
253
+ type="matrix"
254
+ values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.17 0"
255
+ />
256
+ <feBlend
257
+ mode="normal"
258
+ in2="shape"
259
+ result="effect2_innerShadow_1438_17663"
260
+ />
261
+ </filter>
262
+ <linearGradient
263
+ id="paint0_linear_1438_17663"
264
+ x1="31"
265
+ y1="24"
266
+ x2="-22"
267
+ y2="-9.5"
268
+ gradientUnits="userSpaceOnUse"
269
+ >
270
+ <stop stop-color="#F8DAD3" />
271
+ <stop offset="1" stop-color="#CC99AE" />
272
+ </linearGradient>
273
+ <linearGradient
274
+ id="paint1_linear_1438_17663"
275
+ x1="23.85"
276
+ y1="21.211"
277
+ x2="9.56459"
278
+ y2="8.2962"
279
+ gradientUnits="userSpaceOnUse"
280
+ >
281
+ <stop stop-color="#F8DAD3" />
282
+ <stop offset="1" stop-color="#CC99AE" />
283
+ </linearGradient>
284
+ <clipPath id="clip0_1438_17663">
285
+ <rect width="40" height="40" fill="white" />
286
+ </clipPath>
287
+ </defs>
288
+ </svg> `
289
+ }
@@ -0,0 +1,236 @@
1
+ import { html } from 'lit'
2
+ import { styleMap } from 'lit/directives/style-map.js'
3
+
4
+ import { IconOptions } from '@/components/lukso-icon/index.js'
5
+
6
+ export const progressIndicator = (options: IconOptions) => {
7
+ return html`<svg
8
+ width="40"
9
+ height="40"
10
+ viewBox="0 0 40 40"
11
+ fill="none"
12
+ xmlns="http://www.w3.org/2000/svg"
13
+ style=${styleMap({
14
+ width: `${options.width}px`,
15
+ height: `${options.height}px`,
16
+ })}
17
+ >
18
+ <g clip-path="url(#clip0_1744_19360)">
19
+ <g filter="url(#filter0_ddd_1744_19360)">
20
+ <circle cx="20" cy="20" r="20" fill="#F8FAFB" />
21
+ </g>
22
+ <g filter="url(#filter1_ii_1744_19360)">
23
+ <path
24
+ d="M40 20C40 31.0457 31.0457 40 20 40C8.9543 40 0 31.0457 0 20C0 8.9543 8.9543 0 20 0C31.0457 0 40 8.9543 40 20ZM5 20C5 28.2843 11.7157 35 20 35C28.2843 35 35 28.2843 35 20C35 11.7157 28.2843 5 20 5C11.7157 5 5 11.7157 5 20Z"
25
+ fill="#F8FAFB"
26
+ />
27
+ </g>
28
+ </g>
29
+ <defs>
30
+ <filter
31
+ id="filter0_ddd_1744_19360"
32
+ x="-42"
33
+ y="-42"
34
+ width="124"
35
+ height="124"
36
+ filterUnits="userSpaceOnUse"
37
+ color-interpolation-filters="sRGB"
38
+ >
39
+ <feFlood flood-opacity="0" result="BackgroundImageFix" />
40
+ <feColorMatrix
41
+ in="SourceAlpha"
42
+ type="matrix"
43
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
44
+ result="hardAlpha"
45
+ />
46
+ <feMorphology
47
+ radius="2"
48
+ operator="dilate"
49
+ in="SourceAlpha"
50
+ result="effect1_dropShadow_1744_19360"
51
+ />
52
+ <feOffset />
53
+ <feGaussianBlur stdDeviation="20" />
54
+ <feComposite in2="hardAlpha" operator="out" />
55
+ <feColorMatrix
56
+ type="matrix"
57
+ values="0 0 0 0 0.973333 0 0 0 0 0.853333 0 0 0 0 0.826667 0 0 0 0.34 0"
58
+ />
59
+ <feBlend
60
+ mode="normal"
61
+ in2="BackgroundImageFix"
62
+ result="effect1_dropShadow_1744_19360"
63
+ />
64
+ <feColorMatrix
65
+ in="SourceAlpha"
66
+ type="matrix"
67
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
68
+ result="hardAlpha"
69
+ />
70
+ <feOffset dx="-1" dy="-1" />
71
+ <feGaussianBlur stdDeviation="1" />
72
+ <feComposite in2="hardAlpha" operator="out" />
73
+ <feColorMatrix
74
+ type="matrix"
75
+ values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"
76
+ />
77
+ <feBlend
78
+ mode="normal"
79
+ in2="effect1_dropShadow_1744_19360"
80
+ result="effect2_dropShadow_1744_19360"
81
+ />
82
+ <feColorMatrix
83
+ in="SourceAlpha"
84
+ type="matrix"
85
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
86
+ result="hardAlpha"
87
+ />
88
+ <feOffset dx="1" dy="1" />
89
+ <feGaussianBlur stdDeviation="1" />
90
+ <feComposite in2="hardAlpha" operator="out" />
91
+ <feColorMatrix
92
+ type="matrix"
93
+ values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"
94
+ />
95
+ <feBlend
96
+ mode="normal"
97
+ in2="effect2_dropShadow_1744_19360"
98
+ result="effect3_dropShadow_1744_19360"
99
+ />
100
+ <feBlend
101
+ mode="normal"
102
+ in="SourceGraphic"
103
+ in2="effect3_dropShadow_1744_19360"
104
+ result="shape"
105
+ />
106
+ </filter>
107
+ <filter
108
+ id="filter1_ii_1744_19360"
109
+ x="-2"
110
+ y="-2"
111
+ width="44"
112
+ height="44"
113
+ filterUnits="userSpaceOnUse"
114
+ color-interpolation-filters="sRGB"
115
+ >
116
+ <feFlood flood-opacity="0" result="BackgroundImageFix" />
117
+ <feBlend
118
+ mode="normal"
119
+ in="SourceGraphic"
120
+ in2="BackgroundImageFix"
121
+ result="shape"
122
+ />
123
+ <feColorMatrix
124
+ in="SourceAlpha"
125
+ type="matrix"
126
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
127
+ result="hardAlpha"
128
+ />
129
+ <feOffset dx="2" dy="2" />
130
+ <feGaussianBlur stdDeviation="2" />
131
+ <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" />
132
+ <feColorMatrix
133
+ type="matrix"
134
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.17 0"
135
+ />
136
+ <feBlend
137
+ mode="normal"
138
+ in2="shape"
139
+ result="effect1_innerShadow_1744_19360"
140
+ />
141
+ <feColorMatrix
142
+ in="SourceAlpha"
143
+ type="matrix"
144
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
145
+ result="hardAlpha"
146
+ />
147
+ <feOffset dx="-2" dy="-2" />
148
+ <feGaussianBlur stdDeviation="2" />
149
+ <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" />
150
+ <feColorMatrix
151
+ type="matrix"
152
+ values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0"
153
+ />
154
+ <feBlend
155
+ mode="normal"
156
+ in2="effect1_innerShadow_1744_19360"
157
+ result="effect2_innerShadow_1744_19360"
158
+ />
159
+ </filter>
160
+ <clipPath id="clip0_1744_19360">
161
+ <rect width="40" height="40" fill="white" />
162
+ </clipPath>
163
+ </defs></svg
164
+ ><svg
165
+ width="40"
166
+ height="40"
167
+ viewBox="0 0 40 40"
168
+ fill="none"
169
+ xmlns="http://www.w3.org/2000/svg"
170
+ style=${styleMap({
171
+ width: `${options.width}px`,
172
+ height: `${options.height}px`,
173
+ })}
174
+ class="absolute animate-spin"
175
+ >
176
+ <g clip-path="url(#clip0_1744_19359)">
177
+ <g filter="url(#filter0_i_1744_19359)">
178
+ <path
179
+ d="M37.5 20C38.8807 20 40.0161 21.1236 39.844 22.4935C39.5295 24.9957 38.7437 27.4237 37.5201 29.646C35.8933 32.6008 33.5456 35.0962 30.6954 36.8999C27.8452 38.7037 24.5851 39.7574 21.2184 39.9629C17.8516 40.1683 14.4876 39.519 11.4392 38.0752C8.39078 36.6314 5.75706 34.4401 3.78299 31.7051C1.80892 28.97 0.558635 25.7802 0.148441 22.4322C-0.261752 19.0842 0.181468 15.6869 1.43687 12.5562C2.38109 10.2015 3.76167 8.05527 5.49841 6.22669C6.44925 5.22556 8.0379 5.39214 8.91267 6.46039V6.46039C9.78744 7.52863 9.61127 9.09217 8.70295 10.132C7.59699 11.3982 6.70777 12.8458 6.07766 14.4171C5.1361 16.7652 4.80369 19.3132 5.11133 21.8242C5.41898 24.3351 6.35669 26.7275 7.83724 28.7788C9.31779 30.8301 11.2931 32.4735 13.5794 33.5564C15.8657 34.6392 18.3887 35.1263 20.9138 34.9721C23.4388 34.818 25.8839 34.0278 28.0216 32.675C30.1592 31.3221 31.92 29.4506 33.1401 27.2345C33.9566 25.7515 34.5132 24.1463 34.7921 22.4885C35.0212 21.1269 36.1193 20 37.5 20V20Z"
180
+ fill="url(#paint0_linear_1744_19359)"
181
+ />
182
+ </g>
183
+ </g>
184
+ <defs>
185
+ <filter
186
+ id="filter0_i_1744_19359"
187
+ x="0"
188
+ y="5.5603"
189
+ width="40.8613"
190
+ height="35.4397"
191
+ filterUnits="userSpaceOnUse"
192
+ color-interpolation-filters="sRGB"
193
+ >
194
+ <feFlood flood-opacity="0" result="BackgroundImageFix" />
195
+ <feBlend
196
+ mode="normal"
197
+ in="SourceGraphic"
198
+ in2="BackgroundImageFix"
199
+ result="shape"
200
+ />
201
+ <feColorMatrix
202
+ in="SourceAlpha"
203
+ type="matrix"
204
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
205
+ result="hardAlpha"
206
+ />
207
+ <feOffset dx="1" dy="1" />
208
+ <feGaussianBlur stdDeviation="1" />
209
+ <feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1" />
210
+ <feColorMatrix
211
+ type="matrix"
212
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.12 0"
213
+ />
214
+ <feBlend
215
+ mode="normal"
216
+ in2="shape"
217
+ result="effect1_innerShadow_1744_19359"
218
+ />
219
+ </filter>
220
+ <linearGradient
221
+ id="paint0_linear_1744_19359"
222
+ x1="31"
223
+ y1="24"
224
+ x2="-22"
225
+ y2="-9.5"
226
+ gradientUnits="userSpaceOnUse"
227
+ >
228
+ <stop stop-color="#F8DAD3" />
229
+ <stop offset="1" stop-color="#CC99AE" />
230
+ </linearGradient>
231
+ <clipPath id="clip0_1744_19359">
232
+ <rect width="40" height="40" fill="white" />
233
+ </clipPath>
234
+ </defs>
235
+ </svg>`
236
+ }
@@ -0,0 +1,22 @@
1
+ import { html } from 'lit'
2
+ import { styleMap } from 'lit/directives/style-map.js'
3
+
4
+ import { IconOptions } from '@/components/lukso-icon/index.js'
5
+
6
+ export const pulseDot = (options: IconOptions) => {
7
+ return html`<div
8
+ style=${styleMap({
9
+ width: `${options.width}px`,
10
+ height: `${options.height}px`,
11
+ })}
12
+ class="flex items-center justify-center text-16"
13
+ >
14
+ <div
15
+ class="w-[83.3%] h-[83.3%] rounded-full flex items-center justify-center bg-neutral-90"
16
+ >
17
+ <div
18
+ class="w-[60%] h-[60%] rounded-full animate-pulse-resize bg-green-54"
19
+ ></div>
20
+ </div>
21
+ </div>`
22
+ }