@lukso/web-components 1.122.0 → 1.123.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 +6 -6
- package/dist/components/index.js +6 -6
- package/dist/components/lukso-button/index.cjs +8 -8
- package/dist/components/lukso-button/index.js +8 -8
- package/dist/components/lukso-card/index.cjs +6 -6
- package/dist/components/lukso-card/index.js +6 -6
- package/dist/components/lukso-checkbox/index.cjs +3 -3
- package/dist/components/lukso-checkbox/index.js +3 -3
- package/dist/components/lukso-color-picker/index.cjs +4 -4
- package/dist/components/lukso-color-picker/index.js +4 -4
- package/dist/components/lukso-dropdown/index.cjs +6 -6
- package/dist/components/lukso-dropdown/index.js +6 -6
- package/dist/components/lukso-dropdown-option/index.cjs +2 -2
- package/dist/components/lukso-dropdown-option/index.js +2 -2
- package/dist/components/lukso-footer/index.cjs +2 -2
- package/dist/components/lukso-footer/index.js +2 -2
- package/dist/components/lukso-icon/index.cjs +3 -3
- package/dist/components/lukso-icon/index.js +3 -3
- package/dist/components/lukso-image/index.cjs +4 -4
- package/dist/components/lukso-image/index.js +4 -4
- package/dist/components/lukso-input/index.cjs +4 -4
- package/dist/components/lukso-input/index.js +4 -4
- 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 +66 -57
- package/dist/components/lukso-navbar/index.d.ts +10 -0
- package/dist/components/lukso-navbar/index.d.ts.map +1 -1
- package/dist/components/lukso-navbar/index.js +66 -57
- package/dist/components/lukso-navbar/lukso-navbar.stories.d.ts +4 -0
- package/dist/components/lukso-navbar/lukso-navbar.stories.d.ts.map +1 -1
- package/dist/components/lukso-pagination/index.cjs +4 -4
- package/dist/components/lukso-pagination/index.js +4 -4
- package/dist/components/lukso-profile/index.cjs +5 -5
- package/dist/components/lukso-profile/index.js +5 -5
- package/dist/components/lukso-progress/index.cjs +3 -3
- package/dist/components/lukso-progress/index.js +3 -3
- package/dist/components/lukso-sanitize/index.cjs +2 -2
- package/dist/components/lukso-sanitize/index.js +2 -2
- package/dist/components/lukso-search/index.cjs +6 -6
- package/dist/components/lukso-search/index.js +6 -6
- package/dist/components/lukso-select/index.cjs +6 -6
- package/dist/components/lukso-select/index.js +6 -6
- package/dist/components/lukso-share/index.cjs +2 -2
- package/dist/components/lukso-share/index.js +2 -2
- 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 +3 -3
- package/dist/components/lukso-tag/index.js +3 -3
- package/dist/components/lukso-terms/index.cjs +4 -4
- package/dist/components/lukso-terms/index.js +4 -4
- package/dist/components/lukso-test/index.cjs +2 -2
- package/dist/components/lukso-test/index.js +2 -2
- package/dist/components/lukso-textarea/index.cjs +4 -4
- package/dist/components/lukso-textarea/index.js +4 -4
- package/dist/components/lukso-tooltip/index.cjs +4 -4
- package/dist/components/lukso-tooltip/index.js +4 -4
- 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 -2
- package/dist/components/lukso-wizard/index.js +2 -2
- package/dist/{index-d643c9c3.js → index-0d3b9b40.js} +1 -1
- package/dist/index-819e6db0.js +37 -0
- package/dist/{index-abf2590d.cjs → index-bb676cb5.cjs} +2 -2
- package/dist/index-ca99e342.cjs +46 -0
- package/dist/{index-ec5cffa4.js → index-e44e6faf.js} +2 -2
- package/dist/{index-52e2fafd.cjs → index-fd7f09d4.cjs} +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.js +6 -6
- package/dist/{property-81c75dec.js → property-1b4d50de.js} +1 -1
- package/dist/{property-80b4df33.cjs → property-f10f7163.cjs} +1 -1
- package/dist/shared/tailwind-element/index.cjs +1 -1
- package/dist/shared/tailwind-element/index.js +1 -1
- package/dist/{state-8f04f0af.cjs → state-6dddbcbd.cjs} +1 -1
- package/dist/{state-ebd3d73f.js → state-e7095e2c.js} +1 -1
- package/dist/{style-map-68da71db.cjs → style-map-1130c5e0.cjs} +1 -1
- package/dist/{style-map-d9a53ff6.js → style-map-5ffa8c2d.js} +1 -1
- package/package.json +1 -1
- package/tailwind.config.cjs +11 -0
- package/dist/index-db8c2781.js +0 -37
- package/dist/index-e17ecbf3.cjs +0 -46
|
@@ -15,7 +15,7 @@ const components_luksoInput_index = require('./lukso-input/index.cjs');
|
|
|
15
15
|
const components_luksoModal_index = require('./lukso-modal/index.cjs');
|
|
16
16
|
const components_luksoNavbar_index = require('./lukso-navbar/index.cjs');
|
|
17
17
|
const components_luksoPagination_index = require('./lukso-pagination/index.cjs');
|
|
18
|
-
const components_luksoProfile_index = require('../index-
|
|
18
|
+
const components_luksoProfile_index = require('../index-bb676cb5.cjs');
|
|
19
19
|
const components_luksoProgress_index = require('./lukso-progress/index.cjs');
|
|
20
20
|
const components_luksoSanitize_index = require('./lukso-sanitize/index.cjs');
|
|
21
21
|
const components_luksoSearch_index = require('./lukso-search/index.cjs');
|
|
@@ -29,15 +29,15 @@ const components_luksoTextarea_index = require('./lukso-textarea/index.cjs');
|
|
|
29
29
|
const components_luksoTooltip_index = require('./lukso-tooltip/index.cjs');
|
|
30
30
|
const components_luksoUsername_index = require('./lukso-username/index.cjs');
|
|
31
31
|
const components_luksoWizard_index = require('./lukso-wizard/index.cjs');
|
|
32
|
-
const shared_tailwindElement_index = require('../index-
|
|
32
|
+
const shared_tailwindElement_index = require('../index-ca99e342.cjs');
|
|
33
33
|
require('../cn-b6daa995.cjs');
|
|
34
|
-
require('../property-
|
|
35
|
-
require('../state-
|
|
34
|
+
require('../property-f10f7163.cjs');
|
|
35
|
+
require('../state-6dddbcbd.cjs');
|
|
36
36
|
require('../index-2b104ecb.cjs');
|
|
37
37
|
require('../tailwind-config.cjs');
|
|
38
|
-
require('../style-map-
|
|
38
|
+
require('../style-map-1130c5e0.cjs');
|
|
39
39
|
require('../directive-8278ab14.cjs');
|
|
40
|
-
require('../index-
|
|
40
|
+
require('../index-fd7f09d4.cjs');
|
|
41
41
|
require('../index-e9668573.cjs');
|
|
42
42
|
require('../uniq-id-f0b18085.cjs');
|
|
43
43
|
|
package/dist/components/index.js
CHANGED
|
@@ -11,7 +11,7 @@ export { LuksoInput } from './lukso-input/index.js';
|
|
|
11
11
|
export { LuksoModal } from './lukso-modal/index.js';
|
|
12
12
|
export { LuksoNavbar } from './lukso-navbar/index.js';
|
|
13
13
|
export { LuksoPagination } from './lukso-pagination/index.js';
|
|
14
|
-
export { L as LuksoProfile } from '../index-
|
|
14
|
+
export { L as LuksoProfile } from '../index-e44e6faf.js';
|
|
15
15
|
export { LuksoProgress } from './lukso-progress/index.js';
|
|
16
16
|
export { LuksoSanitize } from './lukso-sanitize/index.js';
|
|
17
17
|
export { LuksoSearch } from './lukso-search/index.js';
|
|
@@ -25,14 +25,14 @@ export { LuksoTextarea } from './lukso-textarea/index.js';
|
|
|
25
25
|
export { LuksoTooltip } from './lukso-tooltip/index.js';
|
|
26
26
|
export { LuksoUsername } from './lukso-username/index.js';
|
|
27
27
|
export { LuksoWizard } from './lukso-wizard/index.js';
|
|
28
|
-
export { a as TailwindElement, T as TailwindStyledElement } from '../index-
|
|
28
|
+
export { a as TailwindElement, T as TailwindStyledElement } from '../index-819e6db0.js';
|
|
29
29
|
import '../cn-90c03edf.js';
|
|
30
|
-
import '../property-
|
|
31
|
-
import '../state-
|
|
30
|
+
import '../property-1b4d50de.js';
|
|
31
|
+
import '../state-e7095e2c.js';
|
|
32
32
|
import '../index-d14b6a34.js';
|
|
33
33
|
import '../tailwind-config.js';
|
|
34
|
-
import '../style-map-
|
|
34
|
+
import '../style-map-5ffa8c2d.js';
|
|
35
35
|
import '../directive-2bb7789e.js';
|
|
36
|
-
import '../index-
|
|
36
|
+
import '../index-0d3b9b40.js';
|
|
37
37
|
import '../index-5e194caf.js';
|
|
38
38
|
import '../uniq-id-ce2d165c.js';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
7
|
-
const state = require('../../state-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ca99e342.cjs');
|
|
6
|
+
const property = require('../../property-f10f7163.cjs');
|
|
7
|
+
const state = require('../../state-6dddbcbd.cjs');
|
|
8
8
|
const index = require('../../index-2b104ecb.cjs');
|
|
9
9
|
require('../../tailwind-config.cjs');
|
|
10
10
|
const cn = require('../../cn-b6daa995.cjs');
|
|
@@ -87,12 +87,12 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
|
|
|
87
87
|
hover:bg-yellow-65 hover:border-yellow-65 before:bg-yellow-55`
|
|
88
88
|
},
|
|
89
89
|
size: {
|
|
90
|
-
medium: "h-
|
|
91
|
-
small: "h-
|
|
90
|
+
medium: "h-12 px-6 paragraph-inter-16-semi-bold rounded-12",
|
|
91
|
+
small: "h-7 px-3 paragraph-inter-12-medium rounded-8"
|
|
92
92
|
},
|
|
93
93
|
isLongPress: {
|
|
94
94
|
true: `relative overflow-hidden z-[1] active:outline-0
|
|
95
|
-
before:absolute before:content-[''] before:top-0 before:left-0 before:w-0 before:h-
|
|
95
|
+
before:absolute before:content-[''] before:top-0 before:left-0 before:w-0 before:h-12
|
|
96
96
|
before:transition-all before:duration-[2000ms] before:z-[-1] before:rounded-0`
|
|
97
97
|
},
|
|
98
98
|
isFullWidth: {
|
|
@@ -145,12 +145,12 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
|
|
|
145
145
|
{
|
|
146
146
|
isIcon: true,
|
|
147
147
|
size: ["medium"],
|
|
148
|
-
class: "px-
|
|
148
|
+
class: "px-0 w-12"
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
isIcon: true,
|
|
152
152
|
size: ["small"],
|
|
153
|
-
class: "px-
|
|
153
|
+
class: "px-0 w-7"
|
|
154
154
|
}
|
|
155
155
|
]
|
|
156
156
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x, E } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
3
|
-
import { r } from '../../state-
|
|
1
|
+
import { T as TailwindStyledElement, x, E } from '../../index-819e6db0.js';
|
|
2
|
+
import { n, t } from '../../property-1b4d50de.js';
|
|
3
|
+
import { r } from '../../state-e7095e2c.js';
|
|
4
4
|
import { c as ce } from '../../index-d14b6a34.js';
|
|
5
5
|
import '../../tailwind-config.js';
|
|
6
6
|
import { c as cn } from '../../cn-90c03edf.js';
|
|
@@ -83,12 +83,12 @@ let LuksoButton = class extends TailwindStyledElement(style) {
|
|
|
83
83
|
hover:bg-yellow-65 hover:border-yellow-65 before:bg-yellow-55`
|
|
84
84
|
},
|
|
85
85
|
size: {
|
|
86
|
-
medium: "h-
|
|
87
|
-
small: "h-
|
|
86
|
+
medium: "h-12 px-6 paragraph-inter-16-semi-bold rounded-12",
|
|
87
|
+
small: "h-7 px-3 paragraph-inter-12-medium rounded-8"
|
|
88
88
|
},
|
|
89
89
|
isLongPress: {
|
|
90
90
|
true: `relative overflow-hidden z-[1] active:outline-0
|
|
91
|
-
before:absolute before:content-[''] before:top-0 before:left-0 before:w-0 before:h-
|
|
91
|
+
before:absolute before:content-[''] before:top-0 before:left-0 before:w-0 before:h-12
|
|
92
92
|
before:transition-all before:duration-[2000ms] before:z-[-1] before:rounded-0`
|
|
93
93
|
},
|
|
94
94
|
isFullWidth: {
|
|
@@ -141,12 +141,12 @@ let LuksoButton = class extends TailwindStyledElement(style) {
|
|
|
141
141
|
{
|
|
142
142
|
isIcon: true,
|
|
143
143
|
size: ["medium"],
|
|
144
|
-
class: "px-
|
|
144
|
+
class: "px-0 w-12"
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
isIcon: true,
|
|
148
148
|
size: ["small"],
|
|
149
|
-
class: "px-
|
|
149
|
+
class: "px-0 w-7"
|
|
150
150
|
}
|
|
151
151
|
]
|
|
152
152
|
});
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const components_luksoProfile_index = require('../../index-
|
|
6
|
-
const shared_tailwindElement_index = require('../../index-
|
|
7
|
-
const property = require('../../property-
|
|
8
|
-
const state = require('../../state-
|
|
9
|
-
const styleMap = require('../../style-map-
|
|
5
|
+
const components_luksoProfile_index = require('../../index-bb676cb5.cjs');
|
|
6
|
+
const shared_tailwindElement_index = require('../../index-ca99e342.cjs');
|
|
7
|
+
const property = require('../../property-f10f7163.cjs');
|
|
8
|
+
const state = require('../../state-6dddbcbd.cjs');
|
|
9
|
+
const styleMap = require('../../style-map-1130c5e0.cjs');
|
|
10
10
|
const index = require('../../index-2b104ecb.cjs');
|
|
11
11
|
require('../../tailwind-config.cjs');
|
|
12
12
|
const cn = require('../../cn-b6daa995.cjs');
|
|
13
|
-
const index$1 = require('../../index-
|
|
13
|
+
const index$1 = require('../../index-fd7f09d4.cjs');
|
|
14
14
|
require('../lukso-image/index.cjs');
|
|
15
15
|
require('../../directive-8278ab14.cjs');
|
|
16
16
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { m as makeBlockie } from '../../index-
|
|
2
|
-
import { T as TailwindStyledElement, x, E } from '../../index-
|
|
3
|
-
import { n, t } from '../../property-
|
|
4
|
-
import { r } from '../../state-
|
|
5
|
-
import { o as o$1 } from '../../style-map-
|
|
1
|
+
import { m as makeBlockie } from '../../index-e44e6faf.js';
|
|
2
|
+
import { T as TailwindStyledElement, x, E } from '../../index-819e6db0.js';
|
|
3
|
+
import { n, t } from '../../property-1b4d50de.js';
|
|
4
|
+
import { r } from '../../state-e7095e2c.js';
|
|
5
|
+
import { o as o$1 } from '../../style-map-5ffa8c2d.js';
|
|
6
6
|
import { c as ce } from '../../index-d14b6a34.js';
|
|
7
7
|
import '../../tailwind-config.js';
|
|
8
8
|
import { c as cn } from '../../cn-90c03edf.js';
|
|
9
|
-
import { c as customStyleMap } from '../../index-
|
|
9
|
+
import { c as customStyleMap } from '../../index-0d3b9b40.js';
|
|
10
10
|
import '../lukso-image/index.js';
|
|
11
11
|
import '../../directive-2bb7789e.js';
|
|
12
12
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
7
|
-
const state = require('../../state-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ca99e342.cjs');
|
|
6
|
+
const property = require('../../property-f10f7163.cjs');
|
|
7
|
+
const state = require('../../state-6dddbcbd.cjs');
|
|
8
8
|
const index = require('../../index-e9668573.cjs');
|
|
9
9
|
require('../../directive-8278ab14.cjs');
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as TailwindElement, x, E } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
3
|
-
import { r } from '../../state-
|
|
1
|
+
import { a as TailwindElement, x, E } from '../../index-819e6db0.js';
|
|
2
|
+
import { n, t } from '../../property-1b4d50de.js';
|
|
3
|
+
import { r } from '../../state-e7095e2c.js';
|
|
4
4
|
import { c as customClassMap } from '../../index-5e194caf.js';
|
|
5
5
|
import '../../directive-2bb7789e.js';
|
|
6
6
|
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
7
|
-
const state = require('../../state-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ca99e342.cjs');
|
|
6
|
+
const property = require('../../property-f10f7163.cjs');
|
|
7
|
+
const state = require('../../state-6dddbcbd.cjs');
|
|
8
8
|
const index = require('../../index-2b104ecb.cjs');
|
|
9
|
-
const styleMap = require('../../style-map-
|
|
9
|
+
const styleMap = require('../../style-map-1130c5e0.cjs');
|
|
10
10
|
require('../../tailwind-config.cjs');
|
|
11
11
|
const cn = require('../../cn-b6daa995.cjs');
|
|
12
12
|
require('../lukso-icon/index.cjs');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x, E } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
3
|
-
import { r } from '../../state-
|
|
1
|
+
import { T as TailwindStyledElement, x, E } from '../../index-819e6db0.js';
|
|
2
|
+
import { n, t } from '../../property-1b4d50de.js';
|
|
3
|
+
import { r } from '../../state-e7095e2c.js';
|
|
4
4
|
import { c as ce } from '../../index-d14b6a34.js';
|
|
5
|
-
import { o } from '../../style-map-
|
|
5
|
+
import { o } from '../../style-map-5ffa8c2d.js';
|
|
6
6
|
import '../../tailwind-config.js';
|
|
7
7
|
import { c as cn } from '../../cn-90c03edf.js';
|
|
8
8
|
import '../lukso-icon/index.js';
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ca99e342.cjs');
|
|
6
|
+
const property = require('../../property-f10f7163.cjs');
|
|
7
7
|
const index = require('../../index-2b104ecb.cjs');
|
|
8
8
|
require('../lukso-icon/index.cjs');
|
|
9
|
-
require('../../index-
|
|
9
|
+
require('../../index-bb676cb5.cjs');
|
|
10
10
|
require('../lukso-username/index.cjs');
|
|
11
11
|
const uniqId = require('../../uniq-id-f0b18085.cjs');
|
|
12
|
-
require('../../style-map-
|
|
12
|
+
require('../../style-map-1130c5e0.cjs');
|
|
13
13
|
require('../../directive-8278ab14.cjs');
|
|
14
14
|
require('../lukso-image/index.cjs');
|
|
15
|
-
require('../../state-
|
|
16
|
-
require('../../index-
|
|
15
|
+
require('../../state-6dddbcbd.cjs');
|
|
16
|
+
require('../../index-fd7f09d4.cjs');
|
|
17
17
|
require('../../tailwind-config.cjs');
|
|
18
18
|
require('../../cn-b6daa995.cjs');
|
|
19
19
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, E, x } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
1
|
+
import { T as TailwindStyledElement, E, x } from '../../index-819e6db0.js';
|
|
2
|
+
import { n, t } from '../../property-1b4d50de.js';
|
|
3
3
|
import { c as ce } from '../../index-d14b6a34.js';
|
|
4
4
|
import '../lukso-icon/index.js';
|
|
5
|
-
import '../../index-
|
|
5
|
+
import '../../index-e44e6faf.js';
|
|
6
6
|
import '../lukso-username/index.js';
|
|
7
7
|
import { u as uniqId } from '../../uniq-id-ce2d165c.js';
|
|
8
|
-
import '../../style-map-
|
|
8
|
+
import '../../style-map-5ffa8c2d.js';
|
|
9
9
|
import '../../directive-2bb7789e.js';
|
|
10
10
|
import '../lukso-image/index.js';
|
|
11
|
-
import '../../state-
|
|
12
|
-
import '../../index-
|
|
11
|
+
import '../../state-e7095e2c.js';
|
|
12
|
+
import '../../index-0d3b9b40.js';
|
|
13
13
|
import '../../tailwind-config.js';
|
|
14
14
|
import '../../cn-90c03edf.js';
|
|
15
15
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ca99e342.cjs');
|
|
6
|
+
const property = require('../../property-f10f7163.cjs');
|
|
7
7
|
const index = require('../../index-2b104ecb.cjs');
|
|
8
8
|
|
|
9
9
|
const style = ":host {\n display: block\n}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
1
|
+
import { T as TailwindStyledElement, x } from '../../index-819e6db0.js';
|
|
2
|
+
import { n, t } from '../../property-1b4d50de.js';
|
|
3
3
|
import { c as ce } from '../../index-d14b6a34.js';
|
|
4
4
|
|
|
5
5
|
const style = ":host {\n display: block\n}";
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ca99e342.cjs');
|
|
6
|
+
const property = require('../../property-f10f7163.cjs');
|
|
7
7
|
|
|
8
8
|
var __defProp = Object.defineProperty;
|
|
9
9
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as TailwindElement, x } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
1
|
+
import { a as TailwindElement, x } from '../../index-819e6db0.js';
|
|
2
|
+
import { n, t } from '../../property-1b4d50de.js';
|
|
3
3
|
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
7
|
-
const styleMap = require('../../style-map-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ca99e342.cjs');
|
|
6
|
+
const property = require('../../property-f10f7163.cjs');
|
|
7
|
+
const styleMap = require('../../style-map-1130c5e0.cjs');
|
|
8
8
|
require('../../directive-8278ab14.cjs');
|
|
9
9
|
|
|
10
10
|
const style = ":host {\n display: inline-flex\n}";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { x, T as TailwindStyledElement } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
3
|
-
import { o } from '../../style-map-
|
|
1
|
+
import { x, T as TailwindStyledElement } from '../../index-819e6db0.js';
|
|
2
|
+
import { n, t } from '../../property-1b4d50de.js';
|
|
3
|
+
import { o } from '../../style-map-5ffa8c2d.js';
|
|
4
4
|
import '../../directive-2bb7789e.js';
|
|
5
5
|
|
|
6
6
|
const style = ":host {\n display: inline-flex\n}";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
7
|
-
const state = require('../../state-
|
|
8
|
-
const styleMap = require('../../style-map-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ca99e342.cjs');
|
|
6
|
+
const property = require('../../property-f10f7163.cjs');
|
|
7
|
+
const state = require('../../state-6dddbcbd.cjs');
|
|
8
|
+
const styleMap = require('../../style-map-1130c5e0.cjs');
|
|
9
9
|
const index = require('../../index-2b104ecb.cjs');
|
|
10
10
|
require('../../directive-8278ab14.cjs');
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as TailwindElement, x } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
3
|
-
import { r } from '../../state-
|
|
4
|
-
import { o } from '../../style-map-
|
|
1
|
+
import { a as TailwindElement, x } from '../../index-819e6db0.js';
|
|
2
|
+
import { n, t } from '../../property-1b4d50de.js';
|
|
3
|
+
import { r } from '../../state-e7095e2c.js';
|
|
4
|
+
import { o } from '../../style-map-5ffa8c2d.js';
|
|
5
5
|
import { c as ce } from '../../index-d14b6a34.js';
|
|
6
6
|
import '../../directive-2bb7789e.js';
|
|
7
7
|
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
7
|
-
const state = require('../../state-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ca99e342.cjs');
|
|
6
|
+
const property = require('../../property-f10f7163.cjs');
|
|
7
|
+
const state = require('../../state-6dddbcbd.cjs');
|
|
8
8
|
const index = require('../../index-2b104ecb.cjs');
|
|
9
9
|
require('../../tailwind-config.cjs');
|
|
10
10
|
const cn = require('../../cn-b6daa995.cjs');
|
|
11
11
|
require('../lukso-icon/index.cjs');
|
|
12
|
-
require('../../style-map-
|
|
12
|
+
require('../../style-map-1130c5e0.cjs');
|
|
13
13
|
require('../../directive-8278ab14.cjs');
|
|
14
14
|
|
|
15
15
|
const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x, E } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
3
|
-
import { r } from '../../state-
|
|
1
|
+
import { T as TailwindStyledElement, x, E } from '../../index-819e6db0.js';
|
|
2
|
+
import { n, t } from '../../property-1b4d50de.js';
|
|
3
|
+
import { r } from '../../state-e7095e2c.js';
|
|
4
4
|
import { c as ce } from '../../index-d14b6a34.js';
|
|
5
5
|
import '../../tailwind-config.js';
|
|
6
6
|
import { c as cn } from '../../cn-90c03edf.js';
|
|
7
7
|
import '../lukso-icon/index.js';
|
|
8
|
-
import '../../style-map-
|
|
8
|
+
import '../../style-map-5ffa8c2d.js';
|
|
9
9
|
import '../../directive-2bb7789e.js';
|
|
10
10
|
|
|
11
11
|
const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ca99e342.cjs');
|
|
6
|
+
const property = require('../../property-f10f7163.cjs');
|
|
7
7
|
const index = require('../../index-2b104ecb.cjs');
|
|
8
8
|
|
|
9
9
|
var __defProp = Object.defineProperty;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as TailwindElement, x } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
1
|
+
import { a as TailwindElement, x } from '../../index-819e6db0.js';
|
|
2
|
+
import { n, t } from '../../property-1b4d50de.js';
|
|
3
3
|
import { c as ce } from '../../index-d14b6a34.js';
|
|
4
4
|
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
7
|
-
const state = require('../../state-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-ca99e342.cjs');
|
|
6
|
+
const property = require('../../property-f10f7163.cjs');
|
|
7
|
+
const state = require('../../state-6dddbcbd.cjs');
|
|
8
8
|
const index = require('../../index-2b104ecb.cjs');
|
|
9
9
|
require('../lukso-icon/index.cjs');
|
|
10
10
|
require('../lukso-tag/index.cjs');
|
|
11
|
-
require('../../style-map-
|
|
11
|
+
require('../../style-map-1130c5e0.cjs');
|
|
12
12
|
require('../../directive-8278ab14.cjs');
|
|
13
|
-
require('../../index-
|
|
13
|
+
require('../../index-fd7f09d4.cjs');
|
|
14
14
|
|
|
15
15
|
var __defProp = Object.defineProperty;
|
|
16
16
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -33,6 +33,7 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
|
|
|
33
33
|
this.isTestnet = false;
|
|
34
34
|
this.icon = "";
|
|
35
35
|
this.hasMenu = false;
|
|
36
|
+
this.hasMobileDropdownMenu = false;
|
|
36
37
|
this.logoUrl = "";
|
|
37
38
|
this.mobileBreakpoint = "md";
|
|
38
39
|
this.isMenuOpen = false;
|
|
@@ -150,28 +151,64 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
|
|
|
150
151
|
}
|
|
151
152
|
desktopCenterTemplate(styles) {
|
|
152
153
|
return shared_tailwindElement_index.x`<div class=${styles.desktopCenterWrapper()}>
|
|
153
|
-
|
|
154
|
-
|
|
154
|
+
<slot name="desktop-center"></slot>
|
|
155
|
+
</div>
|
|
156
|
+
<div class="sm:hidden"></div>`;
|
|
155
157
|
}
|
|
156
158
|
mobileMenuTemplate(styles) {
|
|
157
|
-
return shared_tailwindElement_index.x`<div
|
|
158
|
-
<
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
159
|
+
return shared_tailwindElement_index.x`<div class=${styles.mobileMenuWrapper()}>
|
|
160
|
+
<slot name="mobile-menu"></slot>
|
|
161
|
+
|
|
162
|
+
${this.hasMobileDropdownMenu ? shared_tailwindElement_index.x` <div
|
|
163
|
+
class="flex items-center justify-center w-8 h-8 cursor-pointer"
|
|
164
|
+
@click=${this.handleMenuToggle}
|
|
165
|
+
>
|
|
166
|
+
<div class=${styles.mobileMenuTrigger()}></div>
|
|
167
|
+
</div>
|
|
168
|
+
<div
|
|
169
|
+
class=${styles.mobileMenuDropdown()}
|
|
170
|
+
@click=${this.handleMenuToggle}
|
|
171
|
+
>
|
|
172
|
+
<slot name="mobile-dropdown"></slot>
|
|
173
|
+
</div>` : shared_tailwindElement_index.E}
|
|
174
|
+
</div>`;
|
|
175
|
+
}
|
|
176
|
+
brandTemplate() {
|
|
177
|
+
return shared_tailwindElement_index.x`
|
|
178
|
+
<div class="flex items-center px-6 md:px-10 h-[inherit]">
|
|
179
|
+
<div class="flex cursor-pointer group" @click=${this.handleBrandClick}>
|
|
180
|
+
<img
|
|
181
|
+
src="${this.logoUrl || this.defaultLogoUrl}"
|
|
182
|
+
class="mr-2 h-[26px]"
|
|
183
|
+
alt="${this.title}"
|
|
184
|
+
/>
|
|
185
|
+
<div
|
|
186
|
+
class="text-purple-51 nav-apax-14-medium-uppercase
|
|
187
|
+
whitespace-pre-line flex leading-none transition group-hover:text-purple-41"
|
|
188
|
+
>
|
|
189
|
+
<span>${this.title}</span>
|
|
190
|
+
</div>
|
|
191
|
+
${this.isTestnet ? shared_tailwindElement_index.x`<lukso-tag background-color="yellow-65" class="ml-2">
|
|
192
|
+
TESTNET
|
|
193
|
+
</lukso-tag>` : shared_tailwindElement_index.E}
|
|
173
194
|
</div>
|
|
174
|
-
|
|
195
|
+
${this.icon ? shared_tailwindElement_index.x`<div
|
|
196
|
+
class="flex border-l border-l-purple-82 h-7 items-center pl-3 ml-3"
|
|
197
|
+
>
|
|
198
|
+
<lukso-icon
|
|
199
|
+
class="transition cursor-pointer hover:scale-105"
|
|
200
|
+
name="${this.icon}"
|
|
201
|
+
color="purple-51"
|
|
202
|
+
@click=${this.handleIconClick}
|
|
203
|
+
></lukso-icon>
|
|
204
|
+
</div>` : shared_tailwindElement_index.E}
|
|
205
|
+
</div>
|
|
206
|
+
`;
|
|
207
|
+
}
|
|
208
|
+
menuTemplate(styles) {
|
|
209
|
+
return shared_tailwindElement_index.x`<div class="flex items-center justify-end">
|
|
210
|
+
${this.desktopMenuTemplate(styles)} ${this.mobileMenuTemplate(styles)}
|
|
211
|
+
</div>`;
|
|
175
212
|
}
|
|
176
213
|
render() {
|
|
177
214
|
const styles = this.styles({
|
|
@@ -183,40 +220,9 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
|
|
|
183
220
|
});
|
|
184
221
|
return shared_tailwindElement_index.x`
|
|
185
222
|
<nav data-testid="navbar" class=${styles.wrapper()}>
|
|
186
|
-
|
|
187
|
-
<div
|
|
188
|
-
class="flex cursor-pointer group"
|
|
189
|
-
@click=${this.handleBrandClick}
|
|
190
|
-
>
|
|
191
|
-
<img
|
|
192
|
-
src="${this.logoUrl || this.defaultLogoUrl}"
|
|
193
|
-
class="mr-2 h-[26px]"
|
|
194
|
-
alt="${this.title}"
|
|
195
|
-
/>
|
|
196
|
-
<div
|
|
197
|
-
class="text-purple-51 nav-apax-14-medium-uppercase
|
|
198
|
-
whitespace-pre-line flex leading-none transition group-hover:text-purple-41"
|
|
199
|
-
>
|
|
200
|
-
<span>${this.title}</span>
|
|
201
|
-
</div>
|
|
202
|
-
${this.isTestnet ? shared_tailwindElement_index.x`<lukso-tag background-color="yellow-65" class="ml-2">
|
|
203
|
-
TESTNET
|
|
204
|
-
</lukso-tag>` : shared_tailwindElement_index.E}
|
|
205
|
-
</div>
|
|
206
|
-
${this.icon ? shared_tailwindElement_index.x`<div
|
|
207
|
-
class="flex border-l border-l-purple-82 h-7 items-center pl-3 ml-3"
|
|
208
|
-
>
|
|
209
|
-
<lukso-icon
|
|
210
|
-
class="transition cursor-pointer hover:scale-105"
|
|
211
|
-
name="${this.icon}"
|
|
212
|
-
color="purple-51"
|
|
213
|
-
@click=${this.handleIconClick}
|
|
214
|
-
></lukso-icon>
|
|
215
|
-
</div>` : shared_tailwindElement_index.E}
|
|
216
|
-
</div>
|
|
223
|
+
${this.brandTemplate()}
|
|
217
224
|
${this.isCenter ? shared_tailwindElement_index.E : this.desktopCenterTemplate(styles)}
|
|
218
|
-
${this.isCenter ? shared_tailwindElement_index.E : this.hasMenu ?
|
|
219
|
-
${this.mobileMenuTemplate(styles)}` : shared_tailwindElement_index.E}
|
|
225
|
+
${this.isCenter ? shared_tailwindElement_index.E : this.hasMenu ? this.menuTemplate(styles) : shared_tailwindElement_index.E}
|
|
220
226
|
</nav>
|
|
221
227
|
`;
|
|
222
228
|
}
|
|
@@ -242,6 +248,9 @@ __decorateClass([
|
|
|
242
248
|
__decorateClass([
|
|
243
249
|
property.n({ type: Boolean, attribute: "has-menu" })
|
|
244
250
|
], exports.LuksoNavbar.prototype, "hasMenu", 2);
|
|
251
|
+
__decorateClass([
|
|
252
|
+
property.n({ type: Boolean, attribute: "has-mobile-dropdown-menu" })
|
|
253
|
+
], exports.LuksoNavbar.prototype, "hasMobileDropdownMenu", 2);
|
|
245
254
|
__decorateClass([
|
|
246
255
|
property.n({ type: String, attribute: "logo-url" })
|
|
247
256
|
], exports.LuksoNavbar.prototype, "logoUrl", 2);
|