@lukso/web-components 1.172.17 → 1.172.18
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/chunks/index-BSaCYACP.js +38 -0
- package/dist/chunks/{index-DIHXzSqi.js → index-BdDs1GTr.js} +1 -1
- package/dist/chunks/{index-Chs3AjPK.js → index-BptDRJ4b.js} +3 -3
- package/dist/chunks/{index-DsmwLJjR.js → index-DNzK6-9T.js} +1 -1
- package/dist/chunks/{index-y7UFhQ9u.js → index-DfEZ5Urq.js} +3 -3
- package/dist/chunks/index-DvBRl_q4.js +41 -0
- package/dist/components/index.cjs +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/lukso-card/index.cjs +7 -7
- package/dist/components/lukso-card/index.js +7 -7
- package/dist/components/lukso-checkbox/index.cjs +1 -2
- package/dist/components/lukso-checkbox/index.js +1 -2
- package/dist/components/lukso-color-picker/index.cjs +2 -2
- package/dist/components/lukso-color-picker/index.js +2 -2
- package/dist/components/lukso-dropdown/index.cjs +1 -1
- package/dist/components/lukso-dropdown/index.js +1 -1
- package/dist/components/lukso-icon/index.cjs +252 -252
- package/dist/components/lukso-icon/index.js +252 -252
- package/dist/components/lukso-image/index.cjs +2 -2
- package/dist/components/lukso-image/index.js +2 -2
- package/dist/components/lukso-progress/index.cjs +3 -3
- package/dist/components/lukso-progress/index.js +3 -3
- package/dist/components/lukso-search/index.cjs +2 -2
- package/dist/components/lukso-search/index.js +2 -2
- package/dist/components/lukso-select/index.cjs +1 -1
- package/dist/components/lukso-select/index.js +1 -1
- package/dist/components/lukso-switch/index.cjs +3 -3
- package/dist/components/lukso-switch/index.js +3 -3
- package/dist/components/lukso-tag/index.cjs +1 -1
- package/dist/components/lukso-tag/index.js +1 -1
- package/dist/components/lukso-terms/index.cjs +1 -2
- package/dist/components/lukso-terms/index.js +1 -2
- package/dist/components/lukso-username/index.cjs +3 -3
- package/dist/components/lukso-username/index.js +3 -3
- package/dist/components/lukso-wizard/index.cjs +2 -15
- package/dist/components/lukso-wizard/index.js +2 -15
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/vite.full.config.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/directive-CY66atYi.js +0 -22
- package/dist/chunks/directive-DUHAbymA.js +0 -15
- package/dist/chunks/index-BOEPqh0N.js +0 -20
- package/dist/chunks/index-C5S-_QDF.js +0 -18
- package/dist/chunks/index-CqZm8OfY.js +0 -22
- package/dist/chunks/index-DvLZWpq9.js +0 -24
- package/dist/chunks/style-map-AEeBQfPb.js +0 -11
- package/dist/chunks/style-map-auscxO0L.js +0 -9
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { directive, Directive, PartType } from 'lit/directive.js';
|
|
2
|
+
import { nothing } from 'lit-html';
|
|
3
|
+
|
|
4
|
+
class CustomClassMapDirective extends Directive {
|
|
5
|
+
constructor(partInfo) {
|
|
6
|
+
super(partInfo);
|
|
7
|
+
if (partInfo.type !== PartType.ATTRIBUTE || partInfo.name !== "class" || partInfo.strings?.length > 2) {
|
|
8
|
+
throw new Error(
|
|
9
|
+
"`customClassMap()` can only be used in the `class` attribute and must be the only part in the attribute."
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
render(classInfoList) {
|
|
14
|
+
return " " + Object.keys(classInfoList).filter((key) => classInfoList[key]).join(" ") + " ";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
const customClassMap = directive(CustomClassMapDirective);
|
|
18
|
+
|
|
19
|
+
class CustomStyleMapDirective extends Directive {
|
|
20
|
+
constructor(partInfo) {
|
|
21
|
+
super(partInfo);
|
|
22
|
+
if (partInfo.type !== PartType.ATTRIBUTE || partInfo.name !== "style" || partInfo.strings?.length > 2) {
|
|
23
|
+
throw new Error(
|
|
24
|
+
"`customStyleMap()` can only be used in the `style` attribute and must be the only part in the attribute."
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
render(styleInfoList) {
|
|
29
|
+
const styles = Object.keys(styleInfoList).filter((key) => styleInfoList[key]);
|
|
30
|
+
if (styles.length === 0) {
|
|
31
|
+
return nothing;
|
|
32
|
+
}
|
|
33
|
+
return ` ${styles.join("; ")} `;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
const customStyleMap = directive(CustomStyleMapDirective);
|
|
37
|
+
|
|
38
|
+
export { customStyleMap as a, customClassMap as c };
|
|
@@ -11,7 +11,7 @@ require('../components/lukso-icon/index.cjs');
|
|
|
11
11
|
require('../components/lukso-input/index.cjs');
|
|
12
12
|
require('../components/lukso-profile/index.cjs');
|
|
13
13
|
require('../components/lukso-tag/index.cjs');
|
|
14
|
-
const components_luksoUsername_index = require('./index-
|
|
14
|
+
const components_luksoUsername_index = require('./index-DfEZ5Urq.js');
|
|
15
15
|
require('../components/lukso-tooltip/index.cjs');
|
|
16
16
|
require('../tailwind-config.cjs');
|
|
17
17
|
require('./index-oDo-wiUs.js');
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { html } from 'lit';
|
|
2
2
|
import { property } from 'lit/decorators.js';
|
|
3
|
-
import {
|
|
3
|
+
import { nothing } from 'lit-html';
|
|
4
4
|
import { tv } from 'tailwind-variants';
|
|
5
5
|
import { toChecksumAddress } from 'web3-utils';
|
|
6
6
|
import { isAddress } from 'viem';
|
|
7
7
|
import { a as TailwindStyledElement, s as safeCustomElement } from './index-DluTRl1F.js';
|
|
8
|
-
import {
|
|
8
|
+
import { a as customStyleMap } from './index-BSaCYACP.js';
|
|
9
9
|
import '../tailwind-config.js';
|
|
10
10
|
import './index-CSnDkMHN.js';
|
|
11
11
|
import { c as cn } from './cn-Df_5FiGi.js';
|
|
@@ -136,7 +136,7 @@ let LuksoUsername = class extends TailwindStyledElement(style) {
|
|
|
136
136
|
[`color: var(--${this.nameColor})`]: this.nameColor !== ""
|
|
137
137
|
})}
|
|
138
138
|
>
|
|
139
|
-
${this.hidePrefix ?
|
|
139
|
+
${this.hidePrefix ? nothing : this.prefix}${name}
|
|
140
140
|
</div>`;
|
|
141
141
|
}
|
|
142
142
|
addressTemplate(styles) {
|
|
@@ -9,7 +9,7 @@ import '../components/lukso-icon/index.js';
|
|
|
9
9
|
import '../components/lukso-input/index.js';
|
|
10
10
|
import '../components/lukso-profile/index.js';
|
|
11
11
|
import '../components/lukso-tag/index.js';
|
|
12
|
-
import { s as sliceAddress } from './index-
|
|
12
|
+
import { s as sliceAddress } from './index-BptDRJ4b.js';
|
|
13
13
|
import '../components/lukso-tooltip/index.js';
|
|
14
14
|
import '../tailwind-config.js';
|
|
15
15
|
import './index-CSnDkMHN.js';
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
const lit = require('lit');
|
|
4
4
|
const decorators_js = require('lit/decorators.js');
|
|
5
|
-
const
|
|
5
|
+
const litHtml = require('lit-html');
|
|
6
6
|
const tailwindVariants = require('tailwind-variants');
|
|
7
7
|
const web3Utils = require('web3-utils');
|
|
8
8
|
const viem = require('viem');
|
|
9
9
|
const index = require('./index-BBPgtFEP.js');
|
|
10
|
-
const index$1 = require('./index-
|
|
10
|
+
const index$1 = require('./index-DvBRl_q4.js');
|
|
11
11
|
require('../tailwind-config.cjs');
|
|
12
12
|
require('./index-oDo-wiUs.js');
|
|
13
13
|
const cn = require('./cn-JMx_imgS.js');
|
|
@@ -138,7 +138,7 @@ exports.LuksoUsername = class LuksoUsername extends index.TailwindStyledElement(
|
|
|
138
138
|
[`color: var(--${this.nameColor})`]: this.nameColor !== ""
|
|
139
139
|
})}
|
|
140
140
|
>
|
|
141
|
-
${this.hidePrefix ?
|
|
141
|
+
${this.hidePrefix ? litHtml.nothing : this.prefix}${name}
|
|
142
142
|
</div>`;
|
|
143
143
|
}
|
|
144
144
|
addressTemplate(styles) {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const directive_js = require('lit/directive.js');
|
|
4
|
+
const litHtml = require('lit-html');
|
|
5
|
+
|
|
6
|
+
class CustomClassMapDirective extends directive_js.Directive {
|
|
7
|
+
constructor(partInfo) {
|
|
8
|
+
super(partInfo);
|
|
9
|
+
if (partInfo.type !== directive_js.PartType.ATTRIBUTE || partInfo.name !== "class" || partInfo.strings?.length > 2) {
|
|
10
|
+
throw new Error(
|
|
11
|
+
"`customClassMap()` can only be used in the `class` attribute and must be the only part in the attribute."
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
render(classInfoList) {
|
|
16
|
+
return " " + Object.keys(classInfoList).filter((key) => classInfoList[key]).join(" ") + " ";
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
const customClassMap = directive_js.directive(CustomClassMapDirective);
|
|
20
|
+
|
|
21
|
+
class CustomStyleMapDirective extends directive_js.Directive {
|
|
22
|
+
constructor(partInfo) {
|
|
23
|
+
super(partInfo);
|
|
24
|
+
if (partInfo.type !== directive_js.PartType.ATTRIBUTE || partInfo.name !== "style" || partInfo.strings?.length > 2) {
|
|
25
|
+
throw new Error(
|
|
26
|
+
"`customStyleMap()` can only be used in the `style` attribute and must be the only part in the attribute."
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
render(styleInfoList) {
|
|
31
|
+
const styles = Object.keys(styleInfoList).filter((key) => styleInfoList[key]);
|
|
32
|
+
if (styles.length === 0) {
|
|
33
|
+
return litHtml.nothing;
|
|
34
|
+
}
|
|
35
|
+
return ` ${styles.join("; ")} `;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
const customStyleMap = directive_js.directive(CustomStyleMapDirective);
|
|
39
|
+
|
|
40
|
+
exports.customClassMap = customClassMap;
|
|
41
|
+
exports.customStyleMap = customStyleMap;
|
|
@@ -28,7 +28,7 @@ const components_luksoQrCode_index = require('./lukso-qr-code/index.cjs');
|
|
|
28
28
|
const components_luksoRadio_index = require('./lukso-radio/index.cjs');
|
|
29
29
|
const components_luksoRadioGroup_index = require('./lukso-radio-group/index.cjs');
|
|
30
30
|
const components_luksoSanitize_index = require('../chunks/index-Dh7fuono.js');
|
|
31
|
-
const components_luksoSearch_index = require('../chunks/index-
|
|
31
|
+
const components_luksoSearch_index = require('../chunks/index-BdDs1GTr.js');
|
|
32
32
|
const components_luksoSelect_index = require('./lukso-select/index.cjs');
|
|
33
33
|
const components_luksoShare_index = require('./lukso-share/index.cjs');
|
|
34
34
|
const components_luksoSwitch_index = require('./lukso-switch/index.cjs');
|
|
@@ -36,7 +36,7 @@ const components_luksoTag_index = require('./lukso-tag/index.cjs');
|
|
|
36
36
|
const components_luksoTerms_index = require('./lukso-terms/index.cjs');
|
|
37
37
|
const components_luksoTextarea_index = require('./lukso-textarea/index.cjs');
|
|
38
38
|
const components_luksoTooltip_index = require('./lukso-tooltip/index.cjs');
|
|
39
|
-
const components_luksoUsername_index = require('../chunks/index-
|
|
39
|
+
const components_luksoUsername_index = require('../chunks/index-DfEZ5Urq.js');
|
|
40
40
|
const components_luksoWizard_index = require('./lukso-wizard/index.cjs');
|
|
41
41
|
|
|
42
42
|
|
package/dist/components/index.js
CHANGED
|
@@ -24,7 +24,7 @@ export { LuksoQrCode } from './lukso-qr-code/index.js';
|
|
|
24
24
|
export { LuksoRadio } from './lukso-radio/index.js';
|
|
25
25
|
export { LuksoRadioGroup } from './lukso-radio-group/index.js';
|
|
26
26
|
export { D as DEFAULT_OPTIONS, L as LuksoSanitize, N as NO_HTML_TAGS_OPTIONS } from '../chunks/index-CA_aKopU.js';
|
|
27
|
-
export { L as LuksoSearch } from '../chunks/index-
|
|
27
|
+
export { L as LuksoSearch } from '../chunks/index-DNzK6-9T.js';
|
|
28
28
|
export { LuksoSelect } from './lukso-select/index.js';
|
|
29
29
|
export { LuksoShare } from './lukso-share/index.js';
|
|
30
30
|
export { LuksoSwitch } from './lukso-switch/index.js';
|
|
@@ -32,5 +32,5 @@ export { LuksoTag } from './lukso-tag/index.js';
|
|
|
32
32
|
export { LuksoTerms } from './lukso-terms/index.js';
|
|
33
33
|
export { LuksoTextarea } from './lukso-textarea/index.js';
|
|
34
34
|
export { LuksoTooltip } from './lukso-tooltip/index.js';
|
|
35
|
-
export { L as LuksoUsername } from '../chunks/index-
|
|
35
|
+
export { L as LuksoUsername } from '../chunks/index-BptDRJ4b.js';
|
|
36
36
|
export { LuksoWizard } from './lukso-wizard/index.js';
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
5
5
|
const makeBlockie = require('ethereum-blockies-base64');
|
|
6
6
|
const lit = require('lit');
|
|
7
7
|
const decorators_js = require('lit/decorators.js');
|
|
8
|
-
const
|
|
8
|
+
const styleMap_js = require('lit/directives/style-map.js');
|
|
9
9
|
const tailwindVariants = require('tailwind-variants');
|
|
10
10
|
const index = require('../../chunks/index-BBPgtFEP.js');
|
|
11
11
|
require('../lukso-profile/index.cjs');
|
|
@@ -14,7 +14,7 @@ require('../../chunks/index-oDo-wiUs.js');
|
|
|
14
14
|
const cn = require('../../chunks/cn-JMx_imgS.js');
|
|
15
15
|
const viem = require('viem');
|
|
16
16
|
require('axe-core');
|
|
17
|
-
const index$1 = require('../../chunks/index-
|
|
17
|
+
const index$1 = require('../../chunks/index-DvBRl_q4.js');
|
|
18
18
|
require('../lukso-image/index.cjs');
|
|
19
19
|
|
|
20
20
|
const backgroundGradient = (address) => {
|
|
@@ -128,7 +128,7 @@ exports.LuksoCard = class LuksoCard extends index.TailwindStyledElement(style) {
|
|
|
128
128
|
return lit.html`
|
|
129
129
|
<div
|
|
130
130
|
data-testid="card"
|
|
131
|
-
style=${styleMap
|
|
131
|
+
style=${styleMap_js.styleMap({
|
|
132
132
|
minHeight: `${this.height}px`,
|
|
133
133
|
width: `${this.width}px`
|
|
134
134
|
})}
|
|
@@ -163,7 +163,7 @@ exports.LuksoCard = class LuksoCard extends index.TailwindStyledElement(style) {
|
|
|
163
163
|
class=${cn.cn(cardStyles, this.customClass)}
|
|
164
164
|
>
|
|
165
165
|
<div
|
|
166
|
-
style=${styleMap
|
|
166
|
+
style=${styleMap_js.styleMap({
|
|
167
167
|
backgroundImage: backgroundGradient(this.profileAddress)
|
|
168
168
|
})}
|
|
169
169
|
class=${cn.cn(
|
|
@@ -227,7 +227,7 @@ exports.LuksoCard = class LuksoCard extends index.TailwindStyledElement(style) {
|
|
|
227
227
|
class=${cn.cn(cardStyles, this.customClass)}
|
|
228
228
|
>
|
|
229
229
|
<div
|
|
230
|
-
style=${styleMap
|
|
230
|
+
style=${styleMap_js.styleMap({
|
|
231
231
|
backgroundImage: backgroundGradient(this.profileAddress)
|
|
232
232
|
})}
|
|
233
233
|
class=${cn.cn(
|
|
@@ -296,7 +296,7 @@ exports.LuksoCard = class LuksoCard extends index.TailwindStyledElement(style) {
|
|
|
296
296
|
class=${cn.cn(cardStyles, this.customClass)}
|
|
297
297
|
>
|
|
298
298
|
<div
|
|
299
|
-
style=${styleMap
|
|
299
|
+
style=${styleMap_js.styleMap({
|
|
300
300
|
backgroundImage: backgroundGradient(this.profileAddress)
|
|
301
301
|
})}
|
|
302
302
|
class=${cn.cn(
|
|
@@ -387,7 +387,7 @@ exports.LuksoCard = class LuksoCard extends index.TailwindStyledElement(style) {
|
|
|
387
387
|
class=${cn.cn(cardStyles, this.customClass)}
|
|
388
388
|
>
|
|
389
389
|
<div
|
|
390
|
-
style=${styleMap
|
|
390
|
+
style=${styleMap_js.styleMap({
|
|
391
391
|
backgroundImage: backgroundGradient(this.profileAddress)
|
|
392
392
|
})}
|
|
393
393
|
class=${cn.cn(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import makeBlockie from 'ethereum-blockies-base64';
|
|
2
2
|
import { html, nothing } from 'lit';
|
|
3
3
|
import { property, queryAssignedElements, state } from 'lit/decorators.js';
|
|
4
|
-
import {
|
|
4
|
+
import { styleMap } from 'lit/directives/style-map.js';
|
|
5
5
|
import { tv } from 'tailwind-variants';
|
|
6
6
|
import { a as TailwindStyledElement, s as safeCustomElement } from '../../chunks/index-DluTRl1F.js';
|
|
7
7
|
import '../lukso-profile/index.js';
|
|
@@ -10,7 +10,7 @@ import '../../chunks/index-CSnDkMHN.js';
|
|
|
10
10
|
import { c as cn } from '../../chunks/cn-Df_5FiGi.js';
|
|
11
11
|
import { isAddress } from 'viem';
|
|
12
12
|
import 'axe-core';
|
|
13
|
-
import {
|
|
13
|
+
import { a as customStyleMap } from '../../chunks/index-BSaCYACP.js';
|
|
14
14
|
import '../lukso-image/index.js';
|
|
15
15
|
|
|
16
16
|
const backgroundGradient = (address) => {
|
|
@@ -124,7 +124,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
|
|
|
124
124
|
return html`
|
|
125
125
|
<div
|
|
126
126
|
data-testid="card"
|
|
127
|
-
style=${
|
|
127
|
+
style=${styleMap({
|
|
128
128
|
minHeight: `${this.height}px`,
|
|
129
129
|
width: `${this.width}px`
|
|
130
130
|
})}
|
|
@@ -159,7 +159,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
|
|
|
159
159
|
class=${cn(cardStyles, this.customClass)}
|
|
160
160
|
>
|
|
161
161
|
<div
|
|
162
|
-
style=${
|
|
162
|
+
style=${styleMap({
|
|
163
163
|
backgroundImage: backgroundGradient(this.profileAddress)
|
|
164
164
|
})}
|
|
165
165
|
class=${cn(
|
|
@@ -223,7 +223,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
|
|
|
223
223
|
class=${cn(cardStyles, this.customClass)}
|
|
224
224
|
>
|
|
225
225
|
<div
|
|
226
|
-
style=${
|
|
226
|
+
style=${styleMap({
|
|
227
227
|
backgroundImage: backgroundGradient(this.profileAddress)
|
|
228
228
|
})}
|
|
229
229
|
class=${cn(
|
|
@@ -292,7 +292,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
|
|
|
292
292
|
class=${cn(cardStyles, this.customClass)}
|
|
293
293
|
>
|
|
294
294
|
<div
|
|
295
|
-
style=${
|
|
295
|
+
style=${styleMap({
|
|
296
296
|
backgroundImage: backgroundGradient(this.profileAddress)
|
|
297
297
|
})}
|
|
298
298
|
class=${cn(
|
|
@@ -383,7 +383,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
|
|
|
383
383
|
class=${cn(cardStyles, this.customClass)}
|
|
384
384
|
>
|
|
385
385
|
<div
|
|
386
|
-
style=${
|
|
386
|
+
style=${styleMap({
|
|
387
387
|
backgroundImage: backgroundGradient(this.profileAddress)
|
|
388
388
|
})}
|
|
389
389
|
class=${cn(
|
|
@@ -5,8 +5,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
5
5
|
const lit = require('lit');
|
|
6
6
|
const decorators_js = require('lit/decorators.js');
|
|
7
7
|
const index = require('../../chunks/index-BBPgtFEP.js');
|
|
8
|
-
const index$1 = require('../../chunks/index-
|
|
9
|
-
require('../../chunks/directive-CY66atYi.js');
|
|
8
|
+
const index$1 = require('../../chunks/index-DvBRl_q4.js');
|
|
10
9
|
require('../lukso-form-description/index.cjs');
|
|
11
10
|
require('../lukso-form-error/index.cjs');
|
|
12
11
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { html, nothing } from 'lit';
|
|
2
2
|
import { property, state } from 'lit/decorators.js';
|
|
3
3
|
import { T as TailwindElement, s as safeCustomElement } from '../../chunks/index-DluTRl1F.js';
|
|
4
|
-
import { c as customClassMap } from '../../chunks/index-
|
|
5
|
-
import '../../chunks/directive-DUHAbymA.js';
|
|
4
|
+
import { c as customClassMap } from '../../chunks/index-BSaCYACP.js';
|
|
6
5
|
import '../lukso-form-description/index.js';
|
|
7
6
|
import '../lukso-form-error/index.js';
|
|
8
7
|
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
5
5
|
const lit = require('lit');
|
|
6
6
|
const decorators_js = require('lit/decorators.js');
|
|
7
7
|
const tailwindVariants = require('tailwind-variants');
|
|
8
|
-
const
|
|
8
|
+
const styleMap_js = require('lit/directives/style-map.js');
|
|
9
9
|
const index = require('../../chunks/index-BBPgtFEP.js');
|
|
10
10
|
require('../../tailwind-config.cjs');
|
|
11
11
|
require('../../chunks/index-oDo-wiUs.js');
|
|
@@ -183,7 +183,7 @@ exports.LuksoColorPicker = class LuksoColorPicker extends index.TailwindStyledEl
|
|
|
183
183
|
colorPickerTemplate(styles, colorInputStyles) {
|
|
184
184
|
return lit.html`<div
|
|
185
185
|
class=${styles}
|
|
186
|
-
style=${styleMap
|
|
186
|
+
style=${styleMap_js.styleMap({
|
|
187
187
|
backgroundColor: `${this.value}`
|
|
188
188
|
})}
|
|
189
189
|
>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { nothing, html } from 'lit';
|
|
2
2
|
import { property, state } from 'lit/decorators.js';
|
|
3
3
|
import { tv } from 'tailwind-variants';
|
|
4
|
-
import {
|
|
4
|
+
import { styleMap } from 'lit/directives/style-map.js';
|
|
5
5
|
import { a as TailwindStyledElement, s as safeCustomElement } from '../../chunks/index-DluTRl1F.js';
|
|
6
6
|
import '../../tailwind-config.js';
|
|
7
7
|
import '../../chunks/index-CSnDkMHN.js';
|
|
@@ -179,7 +179,7 @@ let LuksoColorPicker = class extends TailwindStyledElement(style) {
|
|
|
179
179
|
colorPickerTemplate(styles, colorInputStyles) {
|
|
180
180
|
return html`<div
|
|
181
181
|
class=${styles}
|
|
182
|
-
style=${
|
|
182
|
+
style=${styleMap({
|
|
183
183
|
backgroundColor: `${this.value}`
|
|
184
184
|
})}
|
|
185
185
|
>
|
|
@@ -8,7 +8,7 @@ const tailwindVariants = require('tailwind-variants');
|
|
|
8
8
|
const index = require('../../chunks/index-BBPgtFEP.js');
|
|
9
9
|
require('../lukso-icon/index.cjs');
|
|
10
10
|
require('../lukso-profile/index.cjs');
|
|
11
|
-
require('../../chunks/index-
|
|
11
|
+
require('../../chunks/index-DfEZ5Urq.js');
|
|
12
12
|
const uniqId = require('../../chunks/uniq-id-Cszs24DQ.js');
|
|
13
13
|
|
|
14
14
|
const debounceFunction = (func, timeout = 100) => {
|
|
@@ -4,7 +4,7 @@ import { tv } from 'tailwind-variants';
|
|
|
4
4
|
import { a as TailwindStyledElement, s as safeCustomElement } from '../../chunks/index-DluTRl1F.js';
|
|
5
5
|
import '../lukso-icon/index.js';
|
|
6
6
|
import '../lukso-profile/index.js';
|
|
7
|
-
import '../../chunks/index-
|
|
7
|
+
import '../../chunks/index-BptDRJ4b.js';
|
|
8
8
|
import { u as uniqId } from '../../chunks/uniq-id-CGUN-pJV.js';
|
|
9
9
|
|
|
10
10
|
const debounceFunction = (func, timeout = 100) => {
|