@lukso/web-components 1.7.3 → 1.8.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/index.cjs +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/lukso-button/index.cjs +52 -8
- package/dist/components/lukso-button/index.d.ts +12 -3
- package/dist/components/lukso-button/index.d.ts.map +1 -1
- package/dist/components/lukso-button/index.js +52 -8
- package/dist/components/lukso-card/index.cjs +5 -5
- package/dist/components/lukso-card/index.d.ts.map +1 -1
- package/dist/components/lukso-card/index.js +5 -5
- package/dist/components/lukso-icon/index.cjs +2 -2
- package/dist/components/lukso-icon/index.js +2 -2
- package/dist/components/lukso-input/index.cjs +11 -9
- package/dist/components/lukso-input/index.d.ts.map +1 -1
- package/dist/components/lukso-input/index.js +11 -9
- package/dist/components/lukso-modal/index.cjs +2 -2
- package/dist/components/lukso-modal/index.js +2 -2
- package/dist/components/lukso-navbar/index.cjs +4 -3
- package/dist/components/lukso-navbar/index.d.ts.map +1 -1
- package/dist/components/lukso-navbar/index.js +4 -3
- package/dist/components/lukso-profile/index.cjs +2 -2
- package/dist/components/lukso-profile/index.js +2 -2
- package/dist/components/lukso-sanitize/index.cjs +1 -1
- package/dist/components/lukso-sanitize/index.js +1 -1
- package/dist/components/lukso-tag/index.cjs +5 -5
- package/dist/components/lukso-tag/index.d.ts.map +1 -1
- package/dist/components/lukso-tag/index.js +5 -5
- package/dist/components/lukso-test/index.cjs +1 -1
- package/dist/components/lukso-test/index.js +1 -1
- package/dist/components/lukso-username/index.cjs +4 -4
- package/dist/components/lukso-username/index.js +4 -4
- package/dist/components/lukso-wizard/index.cjs +2 -2
- package/dist/components/lukso-wizard/index.js +2 -2
- package/dist/index-687bd80b.cjs +67 -0
- package/dist/index-f9b6cb04.js +59 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/shared/tailwind-element/index.cjs +1 -1
- package/dist/shared/tailwind-element/index.js +1 -1
- package/dist/{style-map-e193a4d9.cjs → style-map-086bae47.cjs} +1 -1
- package/dist/{style-map-3f88f525.js → style-map-ec9692b2.js} +1 -1
- package/dist/styles/main.css +61 -46
- package/dist/styles/main.css.map +1 -1
- package/package.json +1 -1
- package/tailwind.config.cjs +13 -0
- package/tools/sass/typography.scss +76 -56
- package/tools/styles/main.css +61 -46
- package/dist/index-4aafbf5c.cjs +0 -67
- package/dist/index-e1077e02.js +0 -59
|
@@ -14,11 +14,11 @@ const components_luksoTag_index = require('./lukso-tag/index.cjs');
|
|
|
14
14
|
const components_luksoTest_index = require('./lukso-test/index.cjs');
|
|
15
15
|
const components_luksoUsername_index = require('./lukso-username/index.cjs');
|
|
16
16
|
const components_luksoWizard_index = require('./lukso-wizard/index.cjs');
|
|
17
|
-
const shared_tailwindElement_index = require('../index-
|
|
17
|
+
const shared_tailwindElement_index = require('../index-687bd80b.cjs');
|
|
18
18
|
require('../directive-db00f5fb.cjs');
|
|
19
19
|
require('../state-a62a7d5d.cjs');
|
|
20
20
|
require('../index-7dc05ee5.cjs');
|
|
21
|
-
require('../style-map-
|
|
21
|
+
require('../style-map-086bae47.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
package/dist/components/index.js
CHANGED
|
@@ -10,8 +10,8 @@ export { LuksoTag } from './lukso-tag/index.js';
|
|
|
10
10
|
export { LuksoTest } from './lukso-test/index.js';
|
|
11
11
|
export { LuksoUsername } from './lukso-username/index.js';
|
|
12
12
|
export { LuksoWizard } from './lukso-wizard/index.js';
|
|
13
|
-
export { a as TailwindElement, T as TailwindStyledElement } from '../index-
|
|
13
|
+
export { a as TailwindElement, T as TailwindStyledElement } from '../index-f9b6cb04.js';
|
|
14
14
|
import '../directive-9ec64c08.js';
|
|
15
15
|
import '../state-7fde94d1.js';
|
|
16
16
|
import '../index-714323c9.js';
|
|
17
|
-
import '../style-map-
|
|
17
|
+
import '../style-map-ec9692b2.js';
|
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-687bd80b.cjs');
|
|
6
6
|
const directive = require('../../directive-db00f5fb.cjs');
|
|
7
7
|
const state = require('../../state-a62a7d5d.cjs');
|
|
8
8
|
const index = require('../../index-7dc05ee5.cjs');
|
|
9
9
|
|
|
10
|
+
const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex\n}";
|
|
11
|
+
|
|
10
12
|
var __defProp = Object.defineProperty;
|
|
11
13
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
14
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
@@ -19,7 +21,7 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
19
21
|
return result;
|
|
20
22
|
};
|
|
21
23
|
const LONG_PRESS_ANIMATION_DURATION_IN_MS = 2e3;
|
|
22
|
-
exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.
|
|
24
|
+
exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.TailwindStyledElement(style) {
|
|
23
25
|
constructor() {
|
|
24
26
|
super(...arguments);
|
|
25
27
|
this.variant = "primary";
|
|
@@ -27,6 +29,10 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
|
|
|
27
29
|
this.disabled = false;
|
|
28
30
|
this.isFullWidth = false;
|
|
29
31
|
this.isLongPress = false;
|
|
32
|
+
this.isLink = false;
|
|
33
|
+
this.href = "";
|
|
34
|
+
this.target = "_blank";
|
|
35
|
+
this.rel = "";
|
|
30
36
|
this.isPressed = false;
|
|
31
37
|
this.noTransition = false;
|
|
32
38
|
this.timer = 0;
|
|
@@ -47,17 +53,18 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
|
|
|
47
53
|
hover:shadow-button-hover-primary hover:bg-purple-58 hover:border-purple-58
|
|
48
54
|
active:shadow-button-press-primary
|
|
49
55
|
before:bg-purple-51`;
|
|
50
|
-
this.
|
|
56
|
+
this.textStyles = `bg-transparent border-none text-neutral-20
|
|
51
57
|
hover:text-neutral-35
|
|
52
58
|
active:text-neutral-35 active:scale-100
|
|
53
59
|
disabled:text-neutral-90`;
|
|
60
|
+
this.linkStyles = `!p-0 active:!scale-100 underline text-purple-51 hover:text-purple-41`;
|
|
54
61
|
this.longPressStyles = `relative overflow-hidden z-[1] active:outline-0
|
|
55
62
|
before:absolute before:content-[''] before:top-0 before:left-0 before:w-0 before:h-[48px]
|
|
56
|
-
before:transition-all before:duration-[2000ms] before:z-[-1] before:rounded-
|
|
63
|
+
before:transition-all before:duration-[2000ms] before:z-[-1] before:rounded-0`;
|
|
57
64
|
this.pressedStyles = `before:w-full before:z-[-1]`;
|
|
58
65
|
this.noTransitionStyles = `before:transition-none`;
|
|
59
|
-
this.mediumSize = `py-3 px-6 paragraph-16-semi-bold rounded-
|
|
60
|
-
this.smallSize = `py-1 px-3 paragraph-12-regular rounded-
|
|
66
|
+
this.mediumSize = `py-3 px-6 paragraph-inter-16-semi-bold rounded-12`;
|
|
67
|
+
this.smallSize = `py-1 px-3 paragraph-inter-12-regular rounded-8 hover:shadow-none active:shadow-none`;
|
|
61
68
|
}
|
|
62
69
|
handleMouseDown() {
|
|
63
70
|
if (this.variant !== "primary" && this.variant !== "landing") {
|
|
@@ -88,7 +95,7 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
|
|
|
88
95
|
}, 100);
|
|
89
96
|
this.timer && clearTimeout(this.timer);
|
|
90
97
|
}
|
|
91
|
-
|
|
98
|
+
buttonTemplate() {
|
|
92
99
|
return shared_tailwindElement_index.y`
|
|
93
100
|
<button
|
|
94
101
|
data-testid="button"
|
|
@@ -100,7 +107,7 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
|
|
|
100
107
|
[this.primaryStyles]: this.variant === "primary",
|
|
101
108
|
[this.secondaryStyles]: this.variant === "secondary",
|
|
102
109
|
[this.landingStyles]: this.variant === "landing",
|
|
103
|
-
[this.
|
|
110
|
+
[this.textStyles]: this.variant === "text",
|
|
104
111
|
["w-full"]: this.isFullWidth,
|
|
105
112
|
[this.longPressStyles]: this.isLongPress,
|
|
106
113
|
[this.pressedStyles]: this.isPressed,
|
|
@@ -114,6 +121,31 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
|
|
|
114
121
|
</button>
|
|
115
122
|
`;
|
|
116
123
|
}
|
|
124
|
+
linkTemplate() {
|
|
125
|
+
return shared_tailwindElement_index.y`
|
|
126
|
+
<a
|
|
127
|
+
data-testid="link"
|
|
128
|
+
class=${index.customClassMap({
|
|
129
|
+
[this.defaultStyles]: true,
|
|
130
|
+
[this.mediumSize]: this.size === "medium",
|
|
131
|
+
[this.smallSize]: this.size === "small",
|
|
132
|
+
[this.primaryStyles]: this.variant === "primary",
|
|
133
|
+
[this.secondaryStyles]: this.variant === "secondary",
|
|
134
|
+
[this.landingStyles]: this.variant === "landing",
|
|
135
|
+
[this.textStyles]: this.variant === "text",
|
|
136
|
+
[this.linkStyles]: this.variant === "text"
|
|
137
|
+
})}
|
|
138
|
+
href=${this.href}
|
|
139
|
+
target=${this.target}
|
|
140
|
+
rel=${this.rel}
|
|
141
|
+
>
|
|
142
|
+
<slot></slot>
|
|
143
|
+
</a>
|
|
144
|
+
`;
|
|
145
|
+
}
|
|
146
|
+
render() {
|
|
147
|
+
return shared_tailwindElement_index.y` ${this.isLink ? this.linkTemplate() : this.buttonTemplate()} `;
|
|
148
|
+
}
|
|
117
149
|
};
|
|
118
150
|
__decorateClass([
|
|
119
151
|
directive.e({ type: String })
|
|
@@ -130,6 +162,18 @@ __decorateClass([
|
|
|
130
162
|
__decorateClass([
|
|
131
163
|
directive.e({ type: Boolean, attribute: "is-long-press" })
|
|
132
164
|
], exports.LuksoButton.prototype, "isLongPress", 2);
|
|
165
|
+
__decorateClass([
|
|
166
|
+
directive.e({ type: Boolean, attribute: "is-link" })
|
|
167
|
+
], exports.LuksoButton.prototype, "isLink", 2);
|
|
168
|
+
__decorateClass([
|
|
169
|
+
directive.e({ type: String })
|
|
170
|
+
], exports.LuksoButton.prototype, "href", 2);
|
|
171
|
+
__decorateClass([
|
|
172
|
+
directive.e({ type: String })
|
|
173
|
+
], exports.LuksoButton.prototype, "target", 2);
|
|
174
|
+
__decorateClass([
|
|
175
|
+
directive.e({ type: String })
|
|
176
|
+
], exports.LuksoButton.prototype, "rel", 2);
|
|
133
177
|
__decorateClass([
|
|
134
178
|
state.t()
|
|
135
179
|
], exports.LuksoButton.prototype, "isPressed", 2);
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
export declare type ButtonVariants = 'primary' | 'secondary' | 'landing' | 'link';
|
|
1
|
+
export declare type ButtonVariants = 'primary' | 'secondary' | 'landing' | 'text';
|
|
3
2
|
export declare type ButtonSizes = 'small' | 'medium';
|
|
4
|
-
export declare
|
|
3
|
+
export declare type LinkTarget = '_blank' | '_self' | '_parent' | '_top';
|
|
4
|
+
declare const LuksoButton_base: typeof import("lit").LitElement;
|
|
5
|
+
export declare class LuksoButton extends LuksoButton_base {
|
|
5
6
|
variant: ButtonVariants;
|
|
6
7
|
size: ButtonSizes;
|
|
7
8
|
disabled: boolean;
|
|
8
9
|
isFullWidth: boolean;
|
|
9
10
|
isLongPress: boolean;
|
|
11
|
+
isLink: boolean;
|
|
12
|
+
href: string;
|
|
13
|
+
target: LinkTarget;
|
|
14
|
+
rel: string;
|
|
10
15
|
private isPressed;
|
|
11
16
|
private noTransition;
|
|
12
17
|
private timer;
|
|
@@ -14,6 +19,7 @@ export declare class LuksoButton extends TailwindElement {
|
|
|
14
19
|
private secondaryStyles;
|
|
15
20
|
private primaryStyles;
|
|
16
21
|
private landingStyles;
|
|
22
|
+
private textStyles;
|
|
17
23
|
private linkStyles;
|
|
18
24
|
private longPressStyles;
|
|
19
25
|
private pressedStyles;
|
|
@@ -22,6 +28,8 @@ export declare class LuksoButton extends TailwindElement {
|
|
|
22
28
|
private smallSize;
|
|
23
29
|
private handleMouseDown;
|
|
24
30
|
private handleMouseUp;
|
|
31
|
+
buttonTemplate(): import("lit").TemplateResult<1>;
|
|
32
|
+
linkTemplate(): import("lit").TemplateResult<1>;
|
|
25
33
|
render(): import("lit").TemplateResult<1>;
|
|
26
34
|
}
|
|
27
35
|
declare global {
|
|
@@ -29,4 +37,5 @@ declare global {
|
|
|
29
37
|
'lukso-button': LuksoButton;
|
|
30
38
|
}
|
|
31
39
|
}
|
|
40
|
+
export {};
|
|
32
41
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAOA,oBAAY,cAAc,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,MAAM,CAAA;AACzE,oBAAY,WAAW,GAAG,OAAO,GAAG,QAAQ,CAAA;AAC5C,oBAAY,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;;AAIhE,qBACa,WAAY,SAAQ,gBAA4B;IAE3D,OAAO,EAAE,cAAc,CAAY;IAGnC,IAAI,EAAE,WAAW,CAAW;IAG5B,QAAQ,UAAQ;IAGhB,WAAW,UAAQ;IAGnB,WAAW,UAAQ;IAGnB,MAAM,UAAQ;IAGd,IAAI,SAAK;IAGT,MAAM,EAAE,UAAU,CAAW;IAG7B,GAAG,SAAK;IAGR,OAAO,CAAC,SAAS,CAAQ;IAGzB,OAAO,CAAC,YAAY,CAAQ;IAG5B,OAAO,CAAC,KAAK,CAAI;IAEjB,OAAO,CAAC,aAAa,CAGiD;IAEtE,OAAO,CAAC,eAAe,CAEoD;IAE3E,OAAO,CAAC,aAAa,CAIE;IAEvB,OAAO,CAAC,aAAa,CAIC;IAEtB,OAAO,CAAC,UAAU,CAGS;IAE3B,OAAO,CAAC,UAAU,CAAyE;IAE3F,OAAO,CAAC,eAAe,CAEyD;IAEhF,OAAO,CAAC,aAAa,CAAgC;IAErD,OAAO,CAAC,kBAAkB,CAA2B;IAErD,OAAO,CAAC,UAAU,CAAsD;IAExE,OAAO,CAAC,SAAS,CAAwF;IAEzG,OAAO,CAAC,eAAe;IAuBvB,OAAO,CAAC,aAAa;IAcrB,cAAc;IA2Bd,YAAY;IAuBZ,MAAM;CAGP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAA;KAC5B;CACF"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { T as TailwindStyledElement, y } from '../../index-f9b6cb04.js';
|
|
2
2
|
import { e, a as e$1 } from '../../directive-9ec64c08.js';
|
|
3
3
|
import { t } from '../../state-7fde94d1.js';
|
|
4
4
|
import { c as customClassMap } from '../../index-714323c9.js';
|
|
5
5
|
|
|
6
|
+
const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex\n}";
|
|
7
|
+
|
|
6
8
|
var __defProp = Object.defineProperty;
|
|
7
9
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
8
10
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
@@ -15,7 +17,7 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
15
17
|
return result;
|
|
16
18
|
};
|
|
17
19
|
const LONG_PRESS_ANIMATION_DURATION_IN_MS = 2e3;
|
|
18
|
-
let LuksoButton = class extends
|
|
20
|
+
let LuksoButton = class extends TailwindStyledElement(style) {
|
|
19
21
|
constructor() {
|
|
20
22
|
super(...arguments);
|
|
21
23
|
this.variant = "primary";
|
|
@@ -23,6 +25,10 @@ let LuksoButton = class extends TailwindElement {
|
|
|
23
25
|
this.disabled = false;
|
|
24
26
|
this.isFullWidth = false;
|
|
25
27
|
this.isLongPress = false;
|
|
28
|
+
this.isLink = false;
|
|
29
|
+
this.href = "";
|
|
30
|
+
this.target = "_blank";
|
|
31
|
+
this.rel = "";
|
|
26
32
|
this.isPressed = false;
|
|
27
33
|
this.noTransition = false;
|
|
28
34
|
this.timer = 0;
|
|
@@ -43,17 +49,18 @@ let LuksoButton = class extends TailwindElement {
|
|
|
43
49
|
hover:shadow-button-hover-primary hover:bg-purple-58 hover:border-purple-58
|
|
44
50
|
active:shadow-button-press-primary
|
|
45
51
|
before:bg-purple-51`;
|
|
46
|
-
this.
|
|
52
|
+
this.textStyles = `bg-transparent border-none text-neutral-20
|
|
47
53
|
hover:text-neutral-35
|
|
48
54
|
active:text-neutral-35 active:scale-100
|
|
49
55
|
disabled:text-neutral-90`;
|
|
56
|
+
this.linkStyles = `!p-0 active:!scale-100 underline text-purple-51 hover:text-purple-41`;
|
|
50
57
|
this.longPressStyles = `relative overflow-hidden z-[1] active:outline-0
|
|
51
58
|
before:absolute before:content-[''] before:top-0 before:left-0 before:w-0 before:h-[48px]
|
|
52
|
-
before:transition-all before:duration-[2000ms] before:z-[-1] before:rounded-
|
|
59
|
+
before:transition-all before:duration-[2000ms] before:z-[-1] before:rounded-0`;
|
|
53
60
|
this.pressedStyles = `before:w-full before:z-[-1]`;
|
|
54
61
|
this.noTransitionStyles = `before:transition-none`;
|
|
55
|
-
this.mediumSize = `py-3 px-6 paragraph-16-semi-bold rounded-
|
|
56
|
-
this.smallSize = `py-1 px-3 paragraph-12-regular rounded-
|
|
62
|
+
this.mediumSize = `py-3 px-6 paragraph-inter-16-semi-bold rounded-12`;
|
|
63
|
+
this.smallSize = `py-1 px-3 paragraph-inter-12-regular rounded-8 hover:shadow-none active:shadow-none`;
|
|
57
64
|
}
|
|
58
65
|
handleMouseDown() {
|
|
59
66
|
if (this.variant !== "primary" && this.variant !== "landing") {
|
|
@@ -84,7 +91,7 @@ let LuksoButton = class extends TailwindElement {
|
|
|
84
91
|
}, 100);
|
|
85
92
|
this.timer && clearTimeout(this.timer);
|
|
86
93
|
}
|
|
87
|
-
|
|
94
|
+
buttonTemplate() {
|
|
88
95
|
return y`
|
|
89
96
|
<button
|
|
90
97
|
data-testid="button"
|
|
@@ -96,7 +103,7 @@ let LuksoButton = class extends TailwindElement {
|
|
|
96
103
|
[this.primaryStyles]: this.variant === "primary",
|
|
97
104
|
[this.secondaryStyles]: this.variant === "secondary",
|
|
98
105
|
[this.landingStyles]: this.variant === "landing",
|
|
99
|
-
[this.
|
|
106
|
+
[this.textStyles]: this.variant === "text",
|
|
100
107
|
["w-full"]: this.isFullWidth,
|
|
101
108
|
[this.longPressStyles]: this.isLongPress,
|
|
102
109
|
[this.pressedStyles]: this.isPressed,
|
|
@@ -110,6 +117,31 @@ let LuksoButton = class extends TailwindElement {
|
|
|
110
117
|
</button>
|
|
111
118
|
`;
|
|
112
119
|
}
|
|
120
|
+
linkTemplate() {
|
|
121
|
+
return y`
|
|
122
|
+
<a
|
|
123
|
+
data-testid="link"
|
|
124
|
+
class=${customClassMap({
|
|
125
|
+
[this.defaultStyles]: true,
|
|
126
|
+
[this.mediumSize]: this.size === "medium",
|
|
127
|
+
[this.smallSize]: this.size === "small",
|
|
128
|
+
[this.primaryStyles]: this.variant === "primary",
|
|
129
|
+
[this.secondaryStyles]: this.variant === "secondary",
|
|
130
|
+
[this.landingStyles]: this.variant === "landing",
|
|
131
|
+
[this.textStyles]: this.variant === "text",
|
|
132
|
+
[this.linkStyles]: this.variant === "text"
|
|
133
|
+
})}
|
|
134
|
+
href=${this.href}
|
|
135
|
+
target=${this.target}
|
|
136
|
+
rel=${this.rel}
|
|
137
|
+
>
|
|
138
|
+
<slot></slot>
|
|
139
|
+
</a>
|
|
140
|
+
`;
|
|
141
|
+
}
|
|
142
|
+
render() {
|
|
143
|
+
return y` ${this.isLink ? this.linkTemplate() : this.buttonTemplate()} `;
|
|
144
|
+
}
|
|
113
145
|
};
|
|
114
146
|
__decorateClass([
|
|
115
147
|
e({ type: String })
|
|
@@ -126,6 +158,18 @@ __decorateClass([
|
|
|
126
158
|
__decorateClass([
|
|
127
159
|
e({ type: Boolean, attribute: "is-long-press" })
|
|
128
160
|
], LuksoButton.prototype, "isLongPress", 2);
|
|
161
|
+
__decorateClass([
|
|
162
|
+
e({ type: Boolean, attribute: "is-link" })
|
|
163
|
+
], LuksoButton.prototype, "isLink", 2);
|
|
164
|
+
__decorateClass([
|
|
165
|
+
e({ type: String })
|
|
166
|
+
], LuksoButton.prototype, "href", 2);
|
|
167
|
+
__decorateClass([
|
|
168
|
+
e({ type: String })
|
|
169
|
+
], LuksoButton.prototype, "target", 2);
|
|
170
|
+
__decorateClass([
|
|
171
|
+
e({ type: String })
|
|
172
|
+
], LuksoButton.prototype, "rel", 2);
|
|
129
173
|
__decorateClass([
|
|
130
174
|
t()
|
|
131
175
|
], LuksoButton.prototype, "isPressed", 2);
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-687bd80b.cjs');
|
|
6
6
|
const directive = require('../../directive-db00f5fb.cjs');
|
|
7
|
-
const styleMap = require('../../style-map-
|
|
7
|
+
const styleMap = require('../../style-map-086bae47.cjs');
|
|
8
8
|
const index = require('../../index-7dc05ee5.cjs');
|
|
9
9
|
require('../lukso-profile/index.cjs');
|
|
10
10
|
|
|
@@ -30,7 +30,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
30
30
|
this.profileAddress = "";
|
|
31
31
|
this.isFixedWidth = false;
|
|
32
32
|
this.isFixedHeight = false;
|
|
33
|
-
this.defaultStyles = `rounded-
|
|
33
|
+
this.defaultStyles = `rounded-24 shadow-pink-drop-shadow-2xl`;
|
|
34
34
|
}
|
|
35
35
|
basicTemplate() {
|
|
36
36
|
return shared_tailwindElement_index.y`
|
|
@@ -59,7 +59,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
59
59
|
<div>
|
|
60
60
|
<slot name="header"></slot>
|
|
61
61
|
</div>
|
|
62
|
-
<div class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-
|
|
62
|
+
<div class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-24">
|
|
63
63
|
<slot name="content"></slot>
|
|
64
64
|
</div>
|
|
65
65
|
</div>
|
|
@@ -86,7 +86,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
86
86
|
></div>
|
|
87
87
|
</div>
|
|
88
88
|
<div
|
|
89
|
-
class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-
|
|
89
|
+
class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-24 relative"
|
|
90
90
|
>
|
|
91
91
|
<lukso-profile
|
|
92
92
|
profile-url=${this.profileUrl}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAOA,OAAO,4BAA4B,CAAA;AAEnC,oBAAY,YAAY,GAAG,OAAO,GAAG,aAAa,GAAG,SAAS,CAAA;;AAE9D,qBACa,SAAU,SAAQ,cAA4B;IAEzD,OAAO,EAAE,YAAY,CAAU;IAG/B,aAAa,SAAK;IAGlB,UAAU,SAAK;IAGf,cAAc,SAAK;IAGnB,YAAY,UAAQ;IAGpB,aAAa,UAAQ;IAErB,OAAO,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAOA,OAAO,4BAA4B,CAAA;AAEnC,oBAAY,YAAY,GAAG,OAAO,GAAG,aAAa,GAAG,SAAS,CAAA;;AAE9D,qBACa,SAAU,SAAQ,cAA4B;IAEzD,OAAO,EAAE,YAAY,CAAU;IAG/B,aAAa,SAAK;IAGlB,UAAU,SAAK;IAGf,cAAc,SAAK;IAGnB,YAAY,UAAQ;IAGpB,aAAa,UAAQ;IAErB,OAAO,CAAC,aAAa,CAA4C;IAEjE,aAAa;IAeb,kBAAkB;IAoBlB,eAAe;IA6Cf,MAAM;CAWP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAA;KACxB;CACF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, y } from '../../index-
|
|
1
|
+
import { T as TailwindStyledElement, y } from '../../index-f9b6cb04.js';
|
|
2
2
|
import { e, a as e$1 } from '../../directive-9ec64c08.js';
|
|
3
|
-
import { i } from '../../style-map-
|
|
3
|
+
import { i } from '../../style-map-ec9692b2.js';
|
|
4
4
|
import { c as customClassMap } from '../../index-714323c9.js';
|
|
5
5
|
import '../lukso-profile/index.js';
|
|
6
6
|
|
|
@@ -26,7 +26,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
|
|
|
26
26
|
this.profileAddress = "";
|
|
27
27
|
this.isFixedWidth = false;
|
|
28
28
|
this.isFixedHeight = false;
|
|
29
|
-
this.defaultStyles = `rounded-
|
|
29
|
+
this.defaultStyles = `rounded-24 shadow-pink-drop-shadow-2xl`;
|
|
30
30
|
}
|
|
31
31
|
basicTemplate() {
|
|
32
32
|
return y`
|
|
@@ -55,7 +55,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
|
|
|
55
55
|
<div>
|
|
56
56
|
<slot name="header"></slot>
|
|
57
57
|
</div>
|
|
58
|
-
<div class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-
|
|
58
|
+
<div class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-24">
|
|
59
59
|
<slot name="content"></slot>
|
|
60
60
|
</div>
|
|
61
61
|
</div>
|
|
@@ -82,7 +82,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
|
|
|
82
82
|
></div>
|
|
83
83
|
</div>
|
|
84
84
|
<div
|
|
85
|
-
class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-
|
|
85
|
+
class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-24 relative"
|
|
86
86
|
>
|
|
87
87
|
<lukso-profile
|
|
88
88
|
profile-url=${this.profileUrl}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-687bd80b.cjs');
|
|
6
6
|
const directive = require('../../directive-db00f5fb.cjs');
|
|
7
|
-
const styleMap = require('../../style-map-
|
|
7
|
+
const styleMap = require('../../style-map-086bae47.cjs');
|
|
8
8
|
|
|
9
9
|
const style = ":host {\n display: inline-flex\n}";
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { y, T as TailwindStyledElement } from '../../index-
|
|
1
|
+
import { y, T as TailwindStyledElement } from '../../index-f9b6cb04.js';
|
|
2
2
|
import { e, a as e$1 } from '../../directive-9ec64c08.js';
|
|
3
|
-
import { i } from '../../style-map-
|
|
3
|
+
import { i } from '../../style-map-ec9692b2.js';
|
|
4
4
|
|
|
5
5
|
const style = ":host {\n display: inline-flex\n}";
|
|
6
6
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-687bd80b.cjs');
|
|
6
6
|
const directive = require('../../directive-db00f5fb.cjs');
|
|
7
7
|
const state = require('../../state-a62a7d5d.cjs');
|
|
8
8
|
const index = require('../../index-7dc05ee5.cjs');
|
|
@@ -35,12 +35,12 @@ exports.LuksoInput = class LuksoInput extends shared_tailwindElement_index.Tailw
|
|
|
35
35
|
this.min = void 0;
|
|
36
36
|
this.hasHocus = false;
|
|
37
37
|
this.hasHighlight = false;
|
|
38
|
-
this.defaultInputStyles = `bg-neutral-100 text-neutral-20 paragraph-16-regular px-4 py-3
|
|
38
|
+
this.defaultInputStyles = `bg-neutral-100 text-neutral-20 paragraph-inter-16-regular px-4 py-3
|
|
39
39
|
border border-solid h-[48px] placeholder:text-neutral-70
|
|
40
40
|
outline-none transition transition-all duration-150 appearance-none`;
|
|
41
|
-
this.defaultUnitStyles = `paragraph-12-regular text-neutral-60 flex px-3.5 items-center relative
|
|
41
|
+
this.defaultUnitStyles = `paragraph-inter-12-regular text-neutral-60 flex px-3.5 items-center relative
|
|
42
42
|
border border-solid h-[48px] transition transition-all duration-150
|
|
43
|
-
rounded-r-
|
|
43
|
+
rounded-r-12 border-l-0 before:bg-neutral-90 before:absolute before:top-[calc(50%-12px)] before:left-0
|
|
44
44
|
before:w-[1px] before:h-[24px] whitespace-nowrap`;
|
|
45
45
|
}
|
|
46
46
|
inputTemplate() {
|
|
@@ -59,8 +59,8 @@ exports.LuksoInput = class LuksoInput extends shared_tailwindElement_index.Tailw
|
|
|
59
59
|
[this.defaultInputStyles]: true,
|
|
60
60
|
[this.error === "" ? "border-neutral-90" : "border-red-85"]: !this.hasHighlight,
|
|
61
61
|
[this.error === "" ? "border-neutral-35" : "border-red-65"]: this.hasHighlight,
|
|
62
|
-
["rounded-l-
|
|
63
|
-
["rounded-
|
|
62
|
+
["rounded-l-12 border-r-0"]: this.unit !== "",
|
|
63
|
+
["rounded-12"]: this.unit === "",
|
|
64
64
|
["w-full"]: this.isFullWidth,
|
|
65
65
|
["w-[350px]"]: !this.isFullWidth && this.unit === "",
|
|
66
66
|
["w-[300px]"]: !this.isFullWidth && this.unit !== ""
|
|
@@ -77,20 +77,22 @@ exports.LuksoInput = class LuksoInput extends shared_tailwindElement_index.Tailw
|
|
|
77
77
|
}
|
|
78
78
|
labelTemplate() {
|
|
79
79
|
return shared_tailwindElement_index.y`
|
|
80
|
-
<label
|
|
80
|
+
<label
|
|
81
|
+
for=${this.name}
|
|
82
|
+
class="heading-inter-14-bold text-neutral-20 pb-2 block"
|
|
81
83
|
>${this.label}</label
|
|
82
84
|
>
|
|
83
85
|
`;
|
|
84
86
|
}
|
|
85
87
|
descriptionTemplate() {
|
|
86
88
|
return shared_tailwindElement_index.y`
|
|
87
|
-
<div class="paragraph-12-regular text-neutral-20 pb-2">
|
|
89
|
+
<div class="paragraph-inter-12-regular text-neutral-20 pb-2">
|
|
88
90
|
${this.description ?? shared_tailwindElement_index.b}
|
|
89
91
|
</div>
|
|
90
92
|
`;
|
|
91
93
|
}
|
|
92
94
|
errorTemplate() {
|
|
93
|
-
return shared_tailwindElement_index.y`<div class="paragraph-12-regular text-red-65 pt-2">
|
|
95
|
+
return shared_tailwindElement_index.y`<div class="paragraph-inter-12-regular text-red-65 pt-2">
|
|
94
96
|
${this.error}
|
|
95
97
|
</div>`;
|
|
96
98
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAG3D,qBACa,UAAW,SAAQ,eAAe;IAE7C,KAAK,SAAK;IAGV,IAAI,SAAK;IAGT,IAAI,SAAS;IAGb,WAAW,SAAK;IAGhB,KAAK,SAAK;IAGV,WAAW,SAAK;IAGhB,KAAK,SAAK;IAGV,IAAI,SAAK;IAGT,WAAW,UAAQ;IAGnB,SAAS,UAAQ;IAGjB,GAAG,EAAE,MAAM,GAAG,SAAS,CAAY;IAGnC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAY;IAGnC,OAAO,CAAC,QAAQ,CAAQ;IAGxB,OAAO,CAAC,YAAY,CAAQ;IAE5B,OAAO,CAAC,kBAAkB,CAE4C;IAEtE,OAAO,CAAC,iBAAiB,CAG0B;IAEnD,aAAa;IAmCb,aAAa;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAG3D,qBACa,UAAW,SAAQ,eAAe;IAE7C,KAAK,SAAK;IAGV,IAAI,SAAK;IAGT,IAAI,SAAS;IAGb,WAAW,SAAK;IAGhB,KAAK,SAAK;IAGV,WAAW,SAAK;IAGhB,KAAK,SAAK;IAGV,IAAI,SAAK;IAGT,WAAW,UAAQ;IAGnB,SAAS,UAAQ;IAGjB,GAAG,EAAE,MAAM,GAAG,SAAS,CAAY;IAGnC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAY;IAGnC,OAAO,CAAC,QAAQ,CAAQ;IAGxB,OAAO,CAAC,YAAY,CAAQ;IAE5B,OAAO,CAAC,kBAAkB,CAE4C;IAEtE,OAAO,CAAC,iBAAiB,CAG0B;IAEnD,aAAa;IAmCb,aAAa;IAUb,mBAAmB;IAQnB,aAAa;IAMb,YAAY;IAgBZ,OAAO,CAAC,WAAW;IAKnB,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,WAAW;IAanB,OAAO,CAAC,aAAa;IAarB,OAAO,CAAC,cAAc;IAatB,OAAO,CAAC,eAAe;IAIvB,OAAO,CAAC,cAAc;IAMtB,MAAM;CAYP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAA;KAC1B;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TailwindElement, y, b } from '../../index-
|
|
1
|
+
import { a as TailwindElement, y, b } from '../../index-f9b6cb04.js';
|
|
2
2
|
import { e, a as e$1 } from '../../directive-9ec64c08.js';
|
|
3
3
|
import { t } from '../../state-7fde94d1.js';
|
|
4
4
|
import { c as customClassMap } from '../../index-714323c9.js';
|
|
@@ -31,12 +31,12 @@ let LuksoInput = class extends TailwindElement {
|
|
|
31
31
|
this.min = void 0;
|
|
32
32
|
this.hasHocus = false;
|
|
33
33
|
this.hasHighlight = false;
|
|
34
|
-
this.defaultInputStyles = `bg-neutral-100 text-neutral-20 paragraph-16-regular px-4 py-3
|
|
34
|
+
this.defaultInputStyles = `bg-neutral-100 text-neutral-20 paragraph-inter-16-regular px-4 py-3
|
|
35
35
|
border border-solid h-[48px] placeholder:text-neutral-70
|
|
36
36
|
outline-none transition transition-all duration-150 appearance-none`;
|
|
37
|
-
this.defaultUnitStyles = `paragraph-12-regular text-neutral-60 flex px-3.5 items-center relative
|
|
37
|
+
this.defaultUnitStyles = `paragraph-inter-12-regular text-neutral-60 flex px-3.5 items-center relative
|
|
38
38
|
border border-solid h-[48px] transition transition-all duration-150
|
|
39
|
-
rounded-r-
|
|
39
|
+
rounded-r-12 border-l-0 before:bg-neutral-90 before:absolute before:top-[calc(50%-12px)] before:left-0
|
|
40
40
|
before:w-[1px] before:h-[24px] whitespace-nowrap`;
|
|
41
41
|
}
|
|
42
42
|
inputTemplate() {
|
|
@@ -55,8 +55,8 @@ let LuksoInput = class extends TailwindElement {
|
|
|
55
55
|
[this.defaultInputStyles]: true,
|
|
56
56
|
[this.error === "" ? "border-neutral-90" : "border-red-85"]: !this.hasHighlight,
|
|
57
57
|
[this.error === "" ? "border-neutral-35" : "border-red-65"]: this.hasHighlight,
|
|
58
|
-
["rounded-l-
|
|
59
|
-
["rounded-
|
|
58
|
+
["rounded-l-12 border-r-0"]: this.unit !== "",
|
|
59
|
+
["rounded-12"]: this.unit === "",
|
|
60
60
|
["w-full"]: this.isFullWidth,
|
|
61
61
|
["w-[350px]"]: !this.isFullWidth && this.unit === "",
|
|
62
62
|
["w-[300px]"]: !this.isFullWidth && this.unit !== ""
|
|
@@ -73,20 +73,22 @@ let LuksoInput = class extends TailwindElement {
|
|
|
73
73
|
}
|
|
74
74
|
labelTemplate() {
|
|
75
75
|
return y`
|
|
76
|
-
<label
|
|
76
|
+
<label
|
|
77
|
+
for=${this.name}
|
|
78
|
+
class="heading-inter-14-bold text-neutral-20 pb-2 block"
|
|
77
79
|
>${this.label}</label
|
|
78
80
|
>
|
|
79
81
|
`;
|
|
80
82
|
}
|
|
81
83
|
descriptionTemplate() {
|
|
82
84
|
return y`
|
|
83
|
-
<div class="paragraph-12-regular text-neutral-20 pb-2">
|
|
85
|
+
<div class="paragraph-inter-12-regular text-neutral-20 pb-2">
|
|
84
86
|
${this.description ?? b}
|
|
85
87
|
</div>
|
|
86
88
|
`;
|
|
87
89
|
}
|
|
88
90
|
errorTemplate() {
|
|
89
|
-
return y`<div class="paragraph-12-regular text-red-65 pt-2">
|
|
91
|
+
return y`<div class="paragraph-inter-12-regular text-red-65 pt-2">
|
|
90
92
|
${this.error}
|
|
91
93
|
</div>`;
|
|
92
94
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-687bd80b.cjs');
|
|
6
6
|
const directive = require('../../directive-db00f5fb.cjs');
|
|
7
7
|
const index = require('../../index-7dc05ee5.cjs');
|
|
8
8
|
|
|
@@ -25,7 +25,7 @@ exports.LuksoModal = class LuksoModal extends shared_tailwindElement_index.Tailw
|
|
|
25
25
|
this.wrapperStyles = `opacity-0 fixed z-[1000] transition-opacity top-0 left-0 p-6 animate-fade-in animation-duration-200`;
|
|
26
26
|
this.openStyles = `flex opacity-100 visible items-center justify-center w-[100vw] h-[100vh]`;
|
|
27
27
|
this.overlayStyles = `bg-[rgba(36,53,66,0.8)] backdrop-blur-sm fixed top-0 left-0 w-[100vw] h-[100vh] z-[999]`;
|
|
28
|
-
this.dialogStyles = `bg-neutral-98 rounded-
|
|
28
|
+
this.dialogStyles = `bg-neutral-98 rounded-12 shadow-neutral-drop-shadow-3xl z-[1001]`;
|
|
29
29
|
}
|
|
30
30
|
close() {
|
|
31
31
|
this.isOpen = false;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TailwindElement, y } from '../../index-
|
|
1
|
+
import { a as TailwindElement, y } from '../../index-f9b6cb04.js';
|
|
2
2
|
import { e, a as e$1 } from '../../directive-9ec64c08.js';
|
|
3
3
|
import { c as customClassMap } from '../../index-714323c9.js';
|
|
4
4
|
|
|
@@ -21,7 +21,7 @@ let LuksoModal = class extends TailwindElement {
|
|
|
21
21
|
this.wrapperStyles = `opacity-0 fixed z-[1000] transition-opacity top-0 left-0 p-6 animate-fade-in animation-duration-200`;
|
|
22
22
|
this.openStyles = `flex opacity-100 visible items-center justify-center w-[100vw] h-[100vh]`;
|
|
23
23
|
this.overlayStyles = `bg-[rgba(36,53,66,0.8)] backdrop-blur-sm fixed top-0 left-0 w-[100vw] h-[100vh] z-[999]`;
|
|
24
|
-
this.dialogStyles = `bg-neutral-98 rounded-
|
|
24
|
+
this.dialogStyles = `bg-neutral-98 rounded-12 shadow-neutral-drop-shadow-3xl z-[1001]`;
|
|
25
25
|
}
|
|
26
26
|
close() {
|
|
27
27
|
this.isOpen = false;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-687bd80b.cjs');
|
|
6
6
|
const directive = require('../../directive-db00f5fb.cjs');
|
|
7
7
|
const index = require('../../index-7dc05ee5.cjs');
|
|
8
8
|
|
|
@@ -45,12 +45,13 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
|
|
|
45
45
|
})}
|
|
46
46
|
>
|
|
47
47
|
<div
|
|
48
|
-
class="flex items-center px-
|
|
48
|
+
class="flex items-center px-7 h-full cursor-pointer sm:px-10"
|
|
49
49
|
@click=${this._onBrandClick}
|
|
50
50
|
>
|
|
51
51
|
<img src="/assets/images/lukso-logo.svg" class="mr-4" />
|
|
52
52
|
<div
|
|
53
|
-
class="text-purple-51
|
|
53
|
+
class="text-purple-51 nav-apax-14-medium-uppercase whitespace-pre-line flex leading-none
|
|
54
|
+
hover:text-purple-41"
|
|
54
55
|
>
|
|
55
56
|
${this.title}
|
|
56
57
|
</div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAG3D,qBACa,WAAY,SAAQ,eAAe;IAE9C,KAAK,SAAK;IAGV,QAAQ,UAAQ;IAGhB,QAAQ,UAAQ;IAEhB,OAAO,CAAC,aAAa,CAAqD;IAE1E,OAAO,CAAC,YAAY,CAAmB;IAEvC,OAAO,CAAC,YAAY,CAA0B;IAE9C,aAAa;IAQb,MAAM;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAG3D,qBACa,WAAY,SAAQ,eAAe;IAE9C,KAAK,SAAK;IAGV,QAAQ,UAAQ;IAGhB,QAAQ,UAAQ;IAEhB,OAAO,CAAC,aAAa,CAAqD;IAE1E,OAAO,CAAC,YAAY,CAAmB;IAEvC,OAAO,CAAC,YAAY,CAA0B;IAE9C,aAAa;IAQb,MAAM;CA0BP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAA;KAC5B;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TailwindElement, y } from '../../index-
|
|
1
|
+
import { a as TailwindElement, y } from '../../index-f9b6cb04.js';
|
|
2
2
|
import { e, a as e$1 } from '../../directive-9ec64c08.js';
|
|
3
3
|
import { c as customClassMap } from '../../index-714323c9.js';
|
|
4
4
|
|
|
@@ -41,12 +41,13 @@ let LuksoNavbar = class extends TailwindElement {
|
|
|
41
41
|
})}
|
|
42
42
|
>
|
|
43
43
|
<div
|
|
44
|
-
class="flex items-center px-
|
|
44
|
+
class="flex items-center px-7 h-full cursor-pointer sm:px-10"
|
|
45
45
|
@click=${this._onBrandClick}
|
|
46
46
|
>
|
|
47
47
|
<img src="/assets/images/lukso-logo.svg" class="mr-4" />
|
|
48
48
|
<div
|
|
49
|
-
class="text-purple-51
|
|
49
|
+
class="text-purple-51 nav-apax-14-medium-uppercase whitespace-pre-line flex leading-none
|
|
50
|
+
hover:text-purple-41"
|
|
50
51
|
>
|
|
51
52
|
${this.title}
|
|
52
53
|
</div>
|