@lukso/web-components 1.146.0 → 1.147.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.
|
@@ -1236,9 +1236,11 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
1236
1236
|
this.headerClass
|
|
1237
1237
|
)}
|
|
1238
1238
|
>
|
|
1239
|
-
|
|
1240
|
-
<
|
|
1241
|
-
|
|
1239
|
+
${this.backgroundUrl && shared_tailwindElement_index.x`
|
|
1240
|
+
<div class="rounded-t-[inherit] overflow-hidden absolute inset-0">
|
|
1241
|
+
<lukso-image src=${this.backgroundUrl}></lukso-image>
|
|
1242
|
+
</div>
|
|
1243
|
+
`}
|
|
1242
1244
|
<div class="relative h-full">
|
|
1243
1245
|
<slot name="header"></slot>
|
|
1244
1246
|
</div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-card/index.ts"],"names":[],"mappings":"AAaA,OAAO,4BAA4B,CAAA;AAGnC,OAAO,0BAA0B,CAAA;AAGjC,MAAM,MAAM,YAAY,GACpB,OAAO,GACP,aAAa,GACb,SAAS,GACT,WAAW,GACX,MAAM,GACN,MAAM,GACN,WAAW,CAAA;AAEf,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;AAE1D,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;;AAEtD,qBACa,SAAU,SAAQ,cAA4B;IAEzD,OAAO,EAAE,YAAY,CAAU;IAG/B,aAAa,SAAK;IAGlB,UAAU,SAAK;IAGf,cAAc,SAAK;IAGnB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAY;IAGrC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAY;IAGtC,WAAW,SAAK;IAGhB,WAAW,SAAK;IAGhB,YAAY,EAAE,gBAAgB,CAAW;IAGzC,M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B,eAAe;IAuEf,gBAAgB;IA0EhB,gBAAgB;IA4DhB,YAAY;IAyCZ,YAAY;IA4CZ,MAAM;CAkBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAA;KACxB;CACF"}
|
|
@@ -1232,9 +1232,11 @@ let LuksoCard = class extends TailwindStyledElement(style) {
|
|
|
1232
1232
|
this.headerClass
|
|
1233
1233
|
)}
|
|
1234
1234
|
>
|
|
1235
|
-
|
|
1236
|
-
<
|
|
1237
|
-
|
|
1235
|
+
${this.backgroundUrl && x`
|
|
1236
|
+
<div class="rounded-t-[inherit] overflow-hidden absolute inset-0">
|
|
1237
|
+
<lukso-image src=${this.backgroundUrl}></lukso-image>
|
|
1238
|
+
</div>
|
|
1239
|
+
`}
|
|
1238
1240
|
<div class="relative h-full">
|
|
1239
1241
|
<slot name="header"></slot>
|
|
1240
1242
|
</div>
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect-social-media.d.ts","sourceRoot":"","sources":["../../src/shared/tools/detect-social-media.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"detect-social-media.d.ts","sourceRoot":"","sources":["../../src/shared/tools/detect-social-media.ts"],"names":[],"mappings":"AAmBA;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,WAqB7C,CAAA"}
|
package/tools/index.cjs
CHANGED
|
@@ -38,7 +38,8 @@ const SOCIAL_MEDIA = {
|
|
|
38
38
|
youtube: ["youtube.com", "youtu.be", "youtube-nocookie.com"],
|
|
39
39
|
spotify: ["spotify.com", "open.spotify.com"],
|
|
40
40
|
soundcloud: ["soundcloud.com"],
|
|
41
|
-
warpcast: ["warpcast.com"]
|
|
41
|
+
warpcast: ["warpcast.com"],
|
|
42
|
+
tiktok: ["tiktok.com"]
|
|
42
43
|
};
|
|
43
44
|
const detectSocialMedia = (url) => {
|
|
44
45
|
if (!url) {
|
package/tools/index.js
CHANGED
|
@@ -34,7 +34,8 @@ const SOCIAL_MEDIA = {
|
|
|
34
34
|
youtube: ["youtube.com", "youtu.be", "youtube-nocookie.com"],
|
|
35
35
|
spotify: ["spotify.com", "open.spotify.com"],
|
|
36
36
|
soundcloud: ["soundcloud.com"],
|
|
37
|
-
warpcast: ["warpcast.com"]
|
|
37
|
+
warpcast: ["warpcast.com"],
|
|
38
|
+
tiktok: ["tiktok.com"]
|
|
38
39
|
};
|
|
39
40
|
const detectSocialMedia = (url) => {
|
|
40
41
|
if (!url) {
|