@lukso/web-components 1.22.2 → 1.23.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.
- package/dist/components/lukso-card/index.cjs +2 -2
- package/dist/components/lukso-card/index.js +2 -2
- package/dist/components/lukso-icon/icons/switched.d.ts +3 -0
- package/dist/components/lukso-icon/icons/switched.d.ts.map +1 -0
- package/dist/components/lukso-icon/index.cjs +45 -1
- package/dist/components/lukso-icon/index.d.ts.map +1 -1
- package/dist/components/lukso-icon/index.js +45 -1
- package/package.json +1 -1
|
@@ -54,7 +54,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
54
54
|
return shared_tailwindElement_index.x`
|
|
55
55
|
<div
|
|
56
56
|
data-testid="card"
|
|
57
|
-
class="bg-neutral-
|
|
57
|
+
class="bg-neutral-100 grid grid-rows-[auto,1fr] ${index.customClassMap({
|
|
58
58
|
[this.defaultStyles]: !this.customClass,
|
|
59
59
|
[this.customClass]: !!this.customClass,
|
|
60
60
|
["w-[362px]"]: this.isFixedWidth,
|
|
@@ -75,7 +75,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
75
75
|
return shared_tailwindElement_index.x`
|
|
76
76
|
<div
|
|
77
77
|
data-testid="card"
|
|
78
|
-
class="bg-neutral-
|
|
78
|
+
class="bg-neutral-100 grid grid-rows-[auto,1fr] ${index.customClassMap({
|
|
79
79
|
[this.defaultStyles]: !this.customClass,
|
|
80
80
|
[this.customClass]: !!this.customClass,
|
|
81
81
|
["w-[362px]"]: this.isFixedWidth,
|
|
@@ -50,7 +50,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
|
|
|
50
50
|
return x`
|
|
51
51
|
<div
|
|
52
52
|
data-testid="card"
|
|
53
|
-
class="bg-neutral-
|
|
53
|
+
class="bg-neutral-100 grid grid-rows-[auto,1fr] ${customClassMap({
|
|
54
54
|
[this.defaultStyles]: !this.customClass,
|
|
55
55
|
[this.customClass]: !!this.customClass,
|
|
56
56
|
["w-[362px]"]: this.isFixedWidth,
|
|
@@ -71,7 +71,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
|
|
|
71
71
|
return x`
|
|
72
72
|
<div
|
|
73
73
|
data-testid="card"
|
|
74
|
-
class="bg-neutral-
|
|
74
|
+
class="bg-neutral-100 grid grid-rows-[auto,1fr] ${customClassMap({
|
|
75
75
|
[this.defaultStyles]: !this.customClass,
|
|
76
76
|
[this.customClass]: !!this.customClass,
|
|
77
77
|
["w-[362px]"]: this.isFixedWidth,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switched.d.ts","sourceRoot":"","sources":["../../../../../../src/components/lukso-icon/icons/switched.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,eAAO,MAAM,QAAQ,YAAa,WAAW,yCAyC5C,CAAA"}
|
|
@@ -4424,6 +4424,49 @@ const desktopSharp = (options) => {
|
|
|
4424
4424
|
</svg> `;
|
|
4425
4425
|
};
|
|
4426
4426
|
|
|
4427
|
+
const switched = (options) => {
|
|
4428
|
+
return shared_tailwindElement_index.x`<svg
|
|
4429
|
+
width="24"
|
|
4430
|
+
height="24"
|
|
4431
|
+
viewBox="0 0 24 24"
|
|
4432
|
+
fill="none"
|
|
4433
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4434
|
+
style=${styleMap.o({
|
|
4435
|
+
width: `${options.width}px`,
|
|
4436
|
+
height: `${options.height}px`
|
|
4437
|
+
})}
|
|
4438
|
+
>
|
|
4439
|
+
<path
|
|
4440
|
+
d="M7.82847 15.1716C6.53981 16.4603 5 18 5 18L7.82843 20.8284"
|
|
4441
|
+
stroke="var(--${options.color})"
|
|
4442
|
+
stroke-width="${options.strokeWidth}"
|
|
4443
|
+
stroke-linecap="round"
|
|
4444
|
+
stroke-linejoin="round"
|
|
4445
|
+
/>
|
|
4446
|
+
<path
|
|
4447
|
+
d="M16.1715 8.82838C17.4602 7.53972 19 6 19 6L16.1716 3.17157"
|
|
4448
|
+
stroke="var(--${options.color})"
|
|
4449
|
+
stroke-width="${options.strokeWidth}"
|
|
4450
|
+
stroke-linecap="round"
|
|
4451
|
+
stroke-linejoin="round"
|
|
4452
|
+
/>
|
|
4453
|
+
<path
|
|
4454
|
+
d="M12.1176 12H16C17.6569 12 19 13.3431 19 15V15C19 16.6569 17.6569 18 16 18H6"
|
|
4455
|
+
stroke="var(--${options.color})"
|
|
4456
|
+
stroke-width="${options.strokeWidth}"
|
|
4457
|
+
stroke-linecap="round"
|
|
4458
|
+
stroke-linejoin="round"
|
|
4459
|
+
/>
|
|
4460
|
+
<path
|
|
4461
|
+
d="M18 6H9C7.34315 6 6 7.34315 6 9V9C6 10.6569 7.34315 12 9 12H13"
|
|
4462
|
+
stroke="var(--${options.color})"
|
|
4463
|
+
stroke-width="${options.strokeWidth}"
|
|
4464
|
+
stroke-linecap="round"
|
|
4465
|
+
stroke-linejoin="round"
|
|
4466
|
+
/>
|
|
4467
|
+
</svg> `;
|
|
4468
|
+
};
|
|
4469
|
+
|
|
4427
4470
|
var __defProp = Object.defineProperty;
|
|
4428
4471
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4429
4472
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
@@ -4552,7 +4595,8 @@ const iconMap = {
|
|
|
4552
4595
|
"pulse-dot": pulseDot,
|
|
4553
4596
|
"progress-complete": progressComplete,
|
|
4554
4597
|
"complete-filled-fade-in": completeFilledFadeIn,
|
|
4555
|
-
"desktop-sharp": desktopSharp
|
|
4598
|
+
"desktop-sharp": desktopSharp,
|
|
4599
|
+
switched
|
|
4556
4600
|
};
|
|
4557
4601
|
exports.LuksoIcon = class LuksoIcon extends shared_tailwindElement_index.TailwindStyledElement(style) {
|
|
4558
4602
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-icon/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-icon/index.ts"],"names":[],"mappings":"AA4HA,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAA;;AAiI5E,qBACa,SAAU,SAAQ,cAA4B;IAEzD,IAAI,SAAK;IAGT,IAAI,SAAW;IAGf,KAAK,SAAe;IAGpB,cAAc,SAAK;IAEnB,OAAO,CAAC,KAAK,CA0BZ;IAED,MAAM;CAuBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAA;KACxB;CACF"}
|
|
@@ -4420,6 +4420,49 @@ const desktopSharp = (options) => {
|
|
|
4420
4420
|
</svg> `;
|
|
4421
4421
|
};
|
|
4422
4422
|
|
|
4423
|
+
const switched = (options) => {
|
|
4424
|
+
return x`<svg
|
|
4425
|
+
width="24"
|
|
4426
|
+
height="24"
|
|
4427
|
+
viewBox="0 0 24 24"
|
|
4428
|
+
fill="none"
|
|
4429
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4430
|
+
style=${o({
|
|
4431
|
+
width: `${options.width}px`,
|
|
4432
|
+
height: `${options.height}px`
|
|
4433
|
+
})}
|
|
4434
|
+
>
|
|
4435
|
+
<path
|
|
4436
|
+
d="M7.82847 15.1716C6.53981 16.4603 5 18 5 18L7.82843 20.8284"
|
|
4437
|
+
stroke="var(--${options.color})"
|
|
4438
|
+
stroke-width="${options.strokeWidth}"
|
|
4439
|
+
stroke-linecap="round"
|
|
4440
|
+
stroke-linejoin="round"
|
|
4441
|
+
/>
|
|
4442
|
+
<path
|
|
4443
|
+
d="M16.1715 8.82838C17.4602 7.53972 19 6 19 6L16.1716 3.17157"
|
|
4444
|
+
stroke="var(--${options.color})"
|
|
4445
|
+
stroke-width="${options.strokeWidth}"
|
|
4446
|
+
stroke-linecap="round"
|
|
4447
|
+
stroke-linejoin="round"
|
|
4448
|
+
/>
|
|
4449
|
+
<path
|
|
4450
|
+
d="M12.1176 12H16C17.6569 12 19 13.3431 19 15V15C19 16.6569 17.6569 18 16 18H6"
|
|
4451
|
+
stroke="var(--${options.color})"
|
|
4452
|
+
stroke-width="${options.strokeWidth}"
|
|
4453
|
+
stroke-linecap="round"
|
|
4454
|
+
stroke-linejoin="round"
|
|
4455
|
+
/>
|
|
4456
|
+
<path
|
|
4457
|
+
d="M18 6H9C7.34315 6 6 7.34315 6 9V9C6 10.6569 7.34315 12 9 12H13"
|
|
4458
|
+
stroke="var(--${options.color})"
|
|
4459
|
+
stroke-width="${options.strokeWidth}"
|
|
4460
|
+
stroke-linecap="round"
|
|
4461
|
+
stroke-linejoin="round"
|
|
4462
|
+
/>
|
|
4463
|
+
</svg> `;
|
|
4464
|
+
};
|
|
4465
|
+
|
|
4423
4466
|
var __defProp = Object.defineProperty;
|
|
4424
4467
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4425
4468
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
@@ -4548,7 +4591,8 @@ const iconMap = {
|
|
|
4548
4591
|
"pulse-dot": pulseDot,
|
|
4549
4592
|
"progress-complete": progressComplete,
|
|
4550
4593
|
"complete-filled-fade-in": completeFilledFadeIn,
|
|
4551
|
-
"desktop-sharp": desktopSharp
|
|
4594
|
+
"desktop-sharp": desktopSharp,
|
|
4595
|
+
switched
|
|
4552
4596
|
};
|
|
4553
4597
|
let LuksoIcon = class extends TailwindStyledElement(style) {
|
|
4554
4598
|
constructor() {
|