@lukso/web-components 1.30.0 → 1.31.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.
Files changed (62) hide show
  1. package/README.md +0 -4
  2. package/dist/components/index.cjs +10 -5
  3. package/dist/components/index.js +6 -5
  4. package/dist/components/lukso-button/index.cjs +20 -20
  5. package/dist/components/lukso-button/index.js +4 -4
  6. package/dist/components/lukso-card/index.cjs +15 -15
  7. package/dist/components/lukso-card/index.js +4 -4
  8. package/dist/components/lukso-footer/index.cjs +58 -0
  9. package/dist/components/lukso-footer/index.js +56 -0
  10. package/dist/components/lukso-icon/index.cjs +8 -8
  11. package/dist/components/lukso-icon/index.js +3 -3
  12. package/dist/components/lukso-input/index.cjs +24 -24
  13. package/dist/components/lukso-input/index.js +4 -4
  14. package/dist/components/lukso-modal/index.cjs +6 -6
  15. package/dist/components/lukso-modal/index.js +3 -3
  16. package/dist/components/lukso-navbar/index.cjs +47 -17
  17. package/dist/components/lukso-navbar/index.js +42 -12
  18. package/dist/components/lukso-profile/index.cjs +8 -8
  19. package/dist/components/lukso-profile/index.js +3 -3
  20. package/dist/components/lukso-progress/index.cjs +8 -8
  21. package/dist/components/lukso-progress/index.js +3 -3
  22. package/dist/components/lukso-sanitize/index.cjs +5 -5
  23. package/dist/components/lukso-sanitize/index.js +2 -2
  24. package/dist/components/lukso-share/index.cjs +5 -5
  25. package/dist/components/lukso-share/index.js +3 -3
  26. package/dist/components/lukso-switch/index.cjs +8 -8
  27. package/dist/components/lukso-switch/index.js +4 -4
  28. package/dist/components/lukso-tag/index.cjs +9 -9
  29. package/dist/components/lukso-tag/index.js +4 -4
  30. package/dist/components/lukso-terms/index.cjs +7 -7
  31. package/dist/components/lukso-terms/index.js +5 -5
  32. package/dist/components/lukso-test/index.cjs +6 -6
  33. package/dist/components/lukso-test/index.js +2 -2
  34. package/dist/components/lukso-username/index.cjs +11 -11
  35. package/dist/components/lukso-username/index.js +3 -3
  36. package/dist/components/lukso-wizard/index.cjs +7 -7
  37. package/dist/components/lukso-wizard/index.js +3 -3
  38. package/dist/{directive-9ec64c08.js → directive-190d1dea.js} +1 -1
  39. package/dist/{directive-db00f5fb.cjs → directive-d0161b26.cjs} +2 -2
  40. package/dist/index-4507034c.js +54 -0
  41. package/dist/{index-714323c9.js → index-48ee71cd.js} +1 -1
  42. package/dist/index-4a94cf2c.cjs +61 -0
  43. package/dist/{index-7dc05ee5.cjs → index-a1c8eb00.cjs} +1 -1
  44. package/dist/index.cjs +10 -5
  45. package/dist/index.js +6 -5
  46. package/dist/shared/tailwind-element/index.cjs +1 -1
  47. package/dist/shared/tailwind-element/index.js +1 -1
  48. package/dist/src/components/index.d.ts +1 -0
  49. package/dist/src/components/lukso-footer/index.d.ts +9 -0
  50. package/dist/src/components/lukso-footer/lukso-footer.stories.d.ts +7 -0
  51. package/dist/src/components/lukso-footer/lukso-footer.stories.d.ts.map +1 -0
  52. package/dist/src/components/lukso-navbar/index.d.ts +5 -0
  53. package/dist/src/components/lukso-navbar/lukso-navbar.stories.d.ts +5 -1
  54. package/dist/src/components/lukso-navbar/lukso-navbar.stories.d.ts.map +1 -1
  55. package/dist/{state-7fde94d1.js → state-069457a0.js} +1 -1
  56. package/dist/{state-a62a7d5d.cjs → state-a13eb70b.cjs} +2 -2
  57. package/dist/{style-map-d2ea2813.js → style-map-a25f1f00.js} +2 -2
  58. package/dist/{style-map-a3b7dea7.cjs → style-map-f737f913.cjs} +2 -2
  59. package/package.json +6 -1
  60. package/tools/assets/images/up-logo.png +0 -0
  61. package/dist/index-c193b106.cjs +0 -61
  62. package/dist/index-f4ba403b.js +0 -54
@@ -2,10 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-c193b106.cjs');
6
- const directive = require('../../directive-db00f5fb.cjs');
7
- const state = require('../../state-a62a7d5d.cjs');
8
- const index = require('../../index-7dc05ee5.cjs');
5
+ const shared_tailwindElement_index = require('../../index-4a94cf2c.cjs');
6
+ const directive = require('../../directive-d0161b26.cjs');
7
+ const state = require('../../state-a13eb70b.cjs');
8
+ const index = require('../../index-a1c8eb00.cjs');
9
+ require('../lukso-icon/index.cjs');
10
+ require('../lukso-tag/index.cjs');
11
+ require('../../style-map-f737f913.cjs');
9
12
 
10
13
  var __defProp = Object.defineProperty;
11
14
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -25,7 +28,12 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
25
28
  this.isCenter = false;
26
29
  this.isSticky = false;
27
30
  this.isTransparent = false;
31
+ this.isTestnet = false;
32
+ this.icon = "";
33
+ this.hasMenu = false;
34
+ this.logoUrl = "";
28
35
  this.isMenuOpen = false;
36
+ this.defaultLogoUrl = "/assets/images/up-logo.png";
29
37
  this.centerStyles = `justify-center`;
30
38
  this.stickyStyles = `sticky top-0 z-[1000]`;
31
39
  this.transparentStyles = `!bg-transparent !shadow-none`;
@@ -57,18 +65,17 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
57
65
  >
58
66
  <div
59
67
  class="w-[18px] h-[2px] rounded-4 bg-neutral-20 transition-all
60
- before:content-[''] before:absolute before:w-[18px] before:h-[2px] before:bg-neutral-20 before:rounded-4 before:transition-all before:-translate-y-[6px]
61
- after:content-[''] after:absolute after:w-[18px] after:h-[2px] after:bg-neutral-20 after:rounded-4 after:transition-all after:translate-y-[6px]
62
- ${index.customClassMap({
68
+ before:content-[''] before:absolute before:w-[18px] before:h-[2px] before:bg-neutral-20 before:rounded-4 before:transition-all before:-translate-y-[6px]
69
+ after:content-[''] after:absolute after:w-[18px] after:h-[2px] after:bg-neutral-20 after:rounded-4 after:transition-all after:translate-y-[6px]
70
+ ${index.customClassMap({
63
71
  "!bg-transparent before:rotate-[45deg] before:!-translate-y-[0px] after:-rotate-[45deg] after:!translate-y-[0px]": this.isMenuOpen
64
72
  })}
65
73
  "
66
74
  ></div>
67
75
  </div>
68
76
  <div
69
- class="fixed top-[78px] left-0 w-full h-full bg-neutral-100 z-[1000] justify-center
70
- items-center flex md:hidden
71
- ${index.customClassMap({
77
+ class="fixed top-[78px] left-0 w-full h-full bg-neutral-100 z-[1000] justify-center items-center flex md:hidden
78
+ ${index.customClassMap({
72
79
  "animate-fade-in animation-duration-150": this.isMenuOpen,
73
80
  "!hidden": !this.isMenuOpen
74
81
  })}"
@@ -93,34 +100,57 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
93
100
  class="flex items-center px-7 h-full cursor-pointer sm:px-10"
94
101
  @click=${this.handleBrandClick}
95
102
  >
96
- <img src="/assets/images/lukso-logo.svg" class="mr-4" />
103
+ <img
104
+ src="${this.logoUrl || this.defaultLogoUrl}"
105
+ class="mr-2 h-[26px]"
106
+ />
97
107
  <div
98
108
  class="text-purple-51 nav-apax-14-medium-uppercase
99
109
  whitespace-pre-line flex leading-none hover:text-purple-41"
100
110
  >
101
111
  <span>${this.title}</span>
102
112
  </div>
113
+ ${this.isTestnet ? shared_tailwindElement_index.x`<lukso-tag background-color="yellow-65" class="ml-2">
114
+ TESTNET
115
+ </lukso-tag>` : ""}
116
+ ${this.icon ? shared_tailwindElement_index.x`<lukso-icon
117
+ class="border-l border-l-purple-82 h-7 items-center pl-3 ml-3"
118
+ name="${this.icon}"
119
+ color="purple-51"
120
+ ></lukso-icon>` : ""}
103
121
  </div>
104
- ${this.isCenter ? shared_tailwindElement_index.x`` : shared_tailwindElement_index.x`${this.desktopMenuTemplate()} ${this.mobileMenuTemplate()}`}
122
+ ${this.isCenter ? shared_tailwindElement_index.x`` : this.hasMenu ? shared_tailwindElement_index.x`${this.desktopMenuTemplate()} ${this.mobileMenuTemplate()}` : shared_tailwindElement_index.x``}
105
123
  </nav>
106
124
  `;
107
125
  }
108
126
  };
109
127
  __decorateClass([
110
- directive.e({ type: String })
128
+ directive.e$1({ type: String })
111
129
  ], exports.LuksoNavbar.prototype, "title", 2);
112
130
  __decorateClass([
113
- directive.e({ type: Boolean, attribute: "is-center" })
131
+ directive.e$1({ type: Boolean, attribute: "is-center" })
114
132
  ], exports.LuksoNavbar.prototype, "isCenter", 2);
115
133
  __decorateClass([
116
- directive.e({ type: Boolean, attribute: "is-sticky" })
134
+ directive.e$1({ type: Boolean, attribute: "is-sticky" })
117
135
  ], exports.LuksoNavbar.prototype, "isSticky", 2);
118
136
  __decorateClass([
119
- directive.e({ type: Boolean, attribute: "is-transparent" })
137
+ directive.e$1({ type: Boolean, attribute: "is-transparent" })
120
138
  ], exports.LuksoNavbar.prototype, "isTransparent", 2);
139
+ __decorateClass([
140
+ directive.e$1({ type: Boolean, attribute: "is-testnet" })
141
+ ], exports.LuksoNavbar.prototype, "isTestnet", 2);
142
+ __decorateClass([
143
+ directive.e$1({ type: String })
144
+ ], exports.LuksoNavbar.prototype, "icon", 2);
145
+ __decorateClass([
146
+ directive.e$1({ type: Boolean, attribute: "has-menu" })
147
+ ], exports.LuksoNavbar.prototype, "hasMenu", 2);
148
+ __decorateClass([
149
+ directive.e$1({ type: String, attribute: "logo-url" })
150
+ ], exports.LuksoNavbar.prototype, "logoUrl", 2);
121
151
  __decorateClass([
122
152
  state.t()
123
153
  ], exports.LuksoNavbar.prototype, "isMenuOpen", 2);
124
154
  exports.LuksoNavbar = __decorateClass([
125
- directive.e$1("lukso-navbar")
155
+ directive.e("lukso-navbar")
126
156
  ], exports.LuksoNavbar);
@@ -1,7 +1,10 @@
1
- import { a as TailwindElement, x } from '../../index-f4ba403b.js';
2
- import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
- import { t } from '../../state-7fde94d1.js';
4
- import { c as customClassMap } from '../../index-714323c9.js';
1
+ import { a as TailwindElement, x } from '../../index-4507034c.js';
2
+ import { a as e, e as e$1 } from '../../directive-190d1dea.js';
3
+ import { t } from '../../state-069457a0.js';
4
+ import { c as customClassMap } from '../../index-48ee71cd.js';
5
+ import '../lukso-icon/index.js';
6
+ import '../lukso-tag/index.js';
7
+ import '../../style-map-a25f1f00.js';
5
8
 
6
9
  var __defProp = Object.defineProperty;
7
10
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -21,7 +24,12 @@ let LuksoNavbar = class extends TailwindElement {
21
24
  this.isCenter = false;
22
25
  this.isSticky = false;
23
26
  this.isTransparent = false;
27
+ this.isTestnet = false;
28
+ this.icon = "";
29
+ this.hasMenu = false;
30
+ this.logoUrl = "";
24
31
  this.isMenuOpen = false;
32
+ this.defaultLogoUrl = "/assets/images/up-logo.png";
25
33
  this.centerStyles = `justify-center`;
26
34
  this.stickyStyles = `sticky top-0 z-[1000]`;
27
35
  this.transparentStyles = `!bg-transparent !shadow-none`;
@@ -53,18 +61,17 @@ let LuksoNavbar = class extends TailwindElement {
53
61
  >
54
62
  <div
55
63
  class="w-[18px] h-[2px] rounded-4 bg-neutral-20 transition-all
56
- before:content-[''] before:absolute before:w-[18px] before:h-[2px] before:bg-neutral-20 before:rounded-4 before:transition-all before:-translate-y-[6px]
57
- after:content-[''] after:absolute after:w-[18px] after:h-[2px] after:bg-neutral-20 after:rounded-4 after:transition-all after:translate-y-[6px]
58
- ${customClassMap({
64
+ before:content-[''] before:absolute before:w-[18px] before:h-[2px] before:bg-neutral-20 before:rounded-4 before:transition-all before:-translate-y-[6px]
65
+ after:content-[''] after:absolute after:w-[18px] after:h-[2px] after:bg-neutral-20 after:rounded-4 after:transition-all after:translate-y-[6px]
66
+ ${customClassMap({
59
67
  "!bg-transparent before:rotate-[45deg] before:!-translate-y-[0px] after:-rotate-[45deg] after:!translate-y-[0px]": this.isMenuOpen
60
68
  })}
61
69
  "
62
70
  ></div>
63
71
  </div>
64
72
  <div
65
- class="fixed top-[78px] left-0 w-full h-full bg-neutral-100 z-[1000] justify-center
66
- items-center flex md:hidden
67
- ${customClassMap({
73
+ class="fixed top-[78px] left-0 w-full h-full bg-neutral-100 z-[1000] justify-center items-center flex md:hidden
74
+ ${customClassMap({
68
75
  "animate-fade-in animation-duration-150": this.isMenuOpen,
69
76
  "!hidden": !this.isMenuOpen
70
77
  })}"
@@ -89,15 +96,26 @@ let LuksoNavbar = class extends TailwindElement {
89
96
  class="flex items-center px-7 h-full cursor-pointer sm:px-10"
90
97
  @click=${this.handleBrandClick}
91
98
  >
92
- <img src="/assets/images/lukso-logo.svg" class="mr-4" />
99
+ <img
100
+ src="${this.logoUrl || this.defaultLogoUrl}"
101
+ class="mr-2 h-[26px]"
102
+ />
93
103
  <div
94
104
  class="text-purple-51 nav-apax-14-medium-uppercase
95
105
  whitespace-pre-line flex leading-none hover:text-purple-41"
96
106
  >
97
107
  <span>${this.title}</span>
98
108
  </div>
109
+ ${this.isTestnet ? x`<lukso-tag background-color="yellow-65" class="ml-2">
110
+ TESTNET
111
+ </lukso-tag>` : ""}
112
+ ${this.icon ? x`<lukso-icon
113
+ class="border-l border-l-purple-82 h-7 items-center pl-3 ml-3"
114
+ name="${this.icon}"
115
+ color="purple-51"
116
+ ></lukso-icon>` : ""}
99
117
  </div>
100
- ${this.isCenter ? x`` : x`${this.desktopMenuTemplate()} ${this.mobileMenuTemplate()}`}
118
+ ${this.isCenter ? x`` : this.hasMenu ? x`${this.desktopMenuTemplate()} ${this.mobileMenuTemplate()}` : x``}
101
119
  </nav>
102
120
  `;
103
121
  }
@@ -114,6 +132,18 @@ __decorateClass([
114
132
  __decorateClass([
115
133
  e({ type: Boolean, attribute: "is-transparent" })
116
134
  ], LuksoNavbar.prototype, "isTransparent", 2);
135
+ __decorateClass([
136
+ e({ type: Boolean, attribute: "is-testnet" })
137
+ ], LuksoNavbar.prototype, "isTestnet", 2);
138
+ __decorateClass([
139
+ e({ type: String })
140
+ ], LuksoNavbar.prototype, "icon", 2);
141
+ __decorateClass([
142
+ e({ type: Boolean, attribute: "has-menu" })
143
+ ], LuksoNavbar.prototype, "hasMenu", 2);
144
+ __decorateClass([
145
+ e({ type: String, attribute: "logo-url" })
146
+ ], LuksoNavbar.prototype, "logoUrl", 2);
117
147
  __decorateClass([
118
148
  t()
119
149
  ], LuksoNavbar.prototype, "isMenuOpen", 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-c193b106.cjs');
6
- const directive = require('../../directive-db00f5fb.cjs');
7
- const styleMap = require('../../style-map-a3b7dea7.cjs');
5
+ const shared_tailwindElement_index = require('../../index-4a94cf2c.cjs');
6
+ const directive = require('../../directive-d0161b26.cjs');
7
+ const styleMap = require('../../style-map-f737f913.cjs');
8
8
 
9
9
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
10
10
 
@@ -534,17 +534,17 @@ exports.LuksoProfile = class LuksoProfile extends shared_tailwindElement_index.T
534
534
  }
535
535
  };
536
536
  __decorateClass([
537
- directive.e({ type: String, attribute: "profile-url" })
537
+ directive.e$1({ type: String, attribute: "profile-url" })
538
538
  ], exports.LuksoProfile.prototype, "profileUrl", 2);
539
539
  __decorateClass([
540
- directive.e({ type: String, attribute: "profile-address" })
540
+ directive.e$1({ type: String, attribute: "profile-address" })
541
541
  ], exports.LuksoProfile.prototype, "profileAddress", 2);
542
542
  __decorateClass([
543
- directive.e({ type: Boolean, attribute: "has-identicon" })
543
+ directive.e$1({ type: Boolean, attribute: "has-identicon" })
544
544
  ], exports.LuksoProfile.prototype, "hasIdenticon", 2);
545
545
  __decorateClass([
546
- directive.e({ type: String })
546
+ directive.e$1({ type: String })
547
547
  ], exports.LuksoProfile.prototype, "size", 2);
548
548
  exports.LuksoProfile = __decorateClass([
549
- directive.e$1("lukso-profile")
549
+ directive.e("lukso-profile")
550
550
  ], exports.LuksoProfile);
@@ -1,6 +1,6 @@
1
- import { a as TailwindElement, x } from '../../index-f4ba403b.js';
2
- import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
- import { o } from '../../style-map-d2ea2813.js';
1
+ import { a as TailwindElement, x } from '../../index-4507034c.js';
2
+ import { a as e, e as e$1 } from '../../directive-190d1dea.js';
3
+ import { o } from '../../style-map-a25f1f00.js';
4
4
 
5
5
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
6
6
 
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-c193b106.cjs');
6
- const directive = require('../../directive-db00f5fb.cjs');
5
+ const shared_tailwindElement_index = require('../../index-4a94cf2c.cjs');
6
+ const directive = require('../../directive-d0161b26.cjs');
7
7
  const styleMap = require('../../style-map-ce3031bc.cjs');
8
- const index = require('../../index-7dc05ee5.cjs');
8
+ const index = require('../../index-a1c8eb00.cjs');
9
9
 
10
10
  var __defProp = Object.defineProperty;
11
11
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -53,17 +53,17 @@ exports.LuksoProgress = class LuksoProgress extends shared_tailwindElement_index
53
53
  }
54
54
  };
55
55
  __decorateClass([
56
- directive.e({ type: Number })
56
+ directive.e$1({ type: Number })
57
57
  ], exports.LuksoProgress.prototype, "min", 2);
58
58
  __decorateClass([
59
- directive.e({ type: Number })
59
+ directive.e$1({ type: Number })
60
60
  ], exports.LuksoProgress.prototype, "max", 2);
61
61
  __decorateClass([
62
- directive.e({ type: Number })
62
+ directive.e$1({ type: Number })
63
63
  ], exports.LuksoProgress.prototype, "current", 2);
64
64
  __decorateClass([
65
- directive.e({ type: String })
65
+ directive.e$1({ type: String })
66
66
  ], exports.LuksoProgress.prototype, "variant", 2);
67
67
  exports.LuksoProgress = __decorateClass([
68
- directive.e$1("lukso-progress")
68
+ directive.e("lukso-progress")
69
69
  ], exports.LuksoProgress);
@@ -1,7 +1,7 @@
1
- import { a as TailwindElement, x } from '../../index-f4ba403b.js';
2
- import { e, a as e$1 } from '../../directive-9ec64c08.js';
1
+ import { a as TailwindElement, x } from '../../index-4507034c.js';
2
+ import { a as e, e as e$1 } from '../../directive-190d1dea.js';
3
3
  import { o } from '../../style-map-06219dec.js';
4
- import { c as customClassMap } from '../../index-714323c9.js';
4
+ import { c as customClassMap } from '../../index-48ee71cd.js';
5
5
 
6
6
  var __defProp = Object.defineProperty;
7
7
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-c193b106.cjs');
6
- const directive = require('../../directive-db00f5fb.cjs');
5
+ const shared_tailwindElement_index = require('../../index-4a94cf2c.cjs');
6
+ const directive = require('../../directive-d0161b26.cjs');
7
7
 
8
8
  /**
9
9
  * @license
@@ -1667,11 +1667,11 @@ exports.LuksoSanitize = class LuksoSanitize extends shared_tailwindElement_index
1667
1667
  }
1668
1668
  };
1669
1669
  __decorateClass([
1670
- directive.e({ type: String, attribute: "html-content" })
1670
+ directive.e$1({ type: String, attribute: "html-content" })
1671
1671
  ], exports.LuksoSanitize.prototype, "htmlContent", 2);
1672
1672
  __decorateClass([
1673
- directive.e({ type: Boolean, attribute: "is-pre" })
1673
+ directive.e$1({ type: Boolean, attribute: "is-pre" })
1674
1674
  ], exports.LuksoSanitize.prototype, "isPre", 2);
1675
1675
  exports.LuksoSanitize = __decorateClass([
1676
- directive.e$1("lukso-sanitize")
1676
+ directive.e("lukso-sanitize")
1677
1677
  ], exports.LuksoSanitize);
@@ -1,5 +1,5 @@
1
- import { A, b as T, a as TailwindElement, x } from '../../index-f4ba403b.js';
2
- import { i, t, b as e$1, e as e$2, a as e$3 } from '../../directive-9ec64c08.js';
1
+ import { A, b as T, a as TailwindElement, x } from '../../index-4507034c.js';
2
+ import { i, t, b as e$1, a as e$2, e as e$3 } from '../../directive-190d1dea.js';
3
3
 
4
4
  /**
5
5
  * @license
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-c193b106.cjs');
6
- const directive = require('../../directive-db00f5fb.cjs');
7
- const index = require('../../index-7dc05ee5.cjs');
5
+ const shared_tailwindElement_index = require('../../index-4a94cf2c.cjs');
6
+ const directive = require('../../directive-d0161b26.cjs');
7
+ const index = require('../../index-a1c8eb00.cjs');
8
8
 
9
9
  const style = ":host {\n display: inline-flex\n}";
10
10
 
@@ -59,8 +59,8 @@ exports.LuksoShare = class LuksoShare extends shared_tailwindElement_index.Tailw
59
59
  }
60
60
  };
61
61
  __decorateClass([
62
- directive.e({ type: String, attribute: "custom-class" })
62
+ directive.e$1({ type: String, attribute: "custom-class" })
63
63
  ], exports.LuksoShare.prototype, "customClass", 2);
64
64
  exports.LuksoShare = __decorateClass([
65
- directive.e$1("lukso-share")
65
+ directive.e("lukso-share")
66
66
  ], exports.LuksoShare);
@@ -1,6 +1,6 @@
1
- import { T as TailwindStyledElement, x } from '../../index-f4ba403b.js';
2
- import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
- import { c as customClassMap } from '../../index-714323c9.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-4507034c.js';
2
+ import { a as e, e as e$1 } from '../../directive-190d1dea.js';
3
+ import { c as customClassMap } from '../../index-48ee71cd.js';
4
4
 
5
5
  const style = ":host {\n display: inline-flex\n}";
6
6
 
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-c193b106.cjs');
6
- const directive = require('../../directive-db00f5fb.cjs');
7
- const styleMap = require('../../style-map-a3b7dea7.cjs');
8
- const index = require('../../index-7dc05ee5.cjs');
5
+ const shared_tailwindElement_index = require('../../index-4a94cf2c.cjs');
6
+ const directive = require('../../directive-d0161b26.cjs');
7
+ const styleMap = require('../../style-map-f737f913.cjs');
8
+ const index = require('../../index-a1c8eb00.cjs');
9
9
 
10
10
  var __defProp = Object.defineProperty;
11
11
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -73,17 +73,17 @@ exports.LuksoSwitch = class LuksoSwitch extends shared_tailwindElement_index.Tai
73
73
  }
74
74
  };
75
75
  __decorateClass([
76
- directive.e({ type: String })
76
+ directive.e$1({ type: String })
77
77
  ], exports.LuksoSwitch.prototype, "color", 2);
78
78
  __decorateClass([
79
- directive.e({ type: Boolean, attribute: "is-checked" })
79
+ directive.e$1({ type: Boolean, attribute: "is-checked" })
80
80
  ], exports.LuksoSwitch.prototype, "isChecked", 2);
81
81
  __decorateClass([
82
- directive.e({
82
+ directive.e$1({
83
83
  type: Boolean,
84
84
  attribute: "is-disabled"
85
85
  })
86
86
  ], exports.LuksoSwitch.prototype, "isDisabled", 2);
87
87
  exports.LuksoSwitch = __decorateClass([
88
- directive.e$1("lukso-switch")
88
+ directive.e("lukso-switch")
89
89
  ], exports.LuksoSwitch);
@@ -1,7 +1,7 @@
1
- import { a as TailwindElement, x } from '../../index-f4ba403b.js';
2
- import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
- import { o } from '../../style-map-d2ea2813.js';
4
- import { c as customClassMap } from '../../index-714323c9.js';
1
+ import { a as TailwindElement, x } from '../../index-4507034c.js';
2
+ import { a as e, e as e$1 } from '../../directive-190d1dea.js';
3
+ import { o } from '../../style-map-a25f1f00.js';
4
+ import { c as customClassMap } from '../../index-48ee71cd.js';
5
5
 
6
6
  var __defProp = Object.defineProperty;
7
7
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-c193b106.cjs');
6
- const directive = require('../../directive-db00f5fb.cjs');
7
- const styleMap = require('../../style-map-a3b7dea7.cjs');
8
- const index = require('../../index-7dc05ee5.cjs');
5
+ const shared_tailwindElement_index = require('../../index-4a94cf2c.cjs');
6
+ const directive = require('../../directive-d0161b26.cjs');
7
+ const styleMap = require('../../style-map-f737f913.cjs');
8
+ const index = require('../../index-a1c8eb00.cjs');
9
9
 
10
10
  const style = ":host {\n display: inline-flex\n}";
11
11
 
@@ -70,17 +70,17 @@ exports.LuksoTag = class LuksoTag extends shared_tailwindElement_index.TailwindS
70
70
  }
71
71
  };
72
72
  __decorateClass([
73
- directive.e({ type: String })
73
+ directive.e$1({ type: String })
74
74
  ], exports.LuksoTag.prototype, "size", 2);
75
75
  __decorateClass([
76
- directive.e({ type: Boolean, attribute: "is-rounded" })
76
+ directive.e$1({ type: Boolean, attribute: "is-rounded" })
77
77
  ], exports.LuksoTag.prototype, "isRounded", 2);
78
78
  __decorateClass([
79
- directive.e({ type: String, attribute: "background-color" })
79
+ directive.e$1({ type: String, attribute: "background-color" })
80
80
  ], exports.LuksoTag.prototype, "backgroundColor", 2);
81
81
  __decorateClass([
82
- directive.e({ type: String, attribute: "text-color" })
82
+ directive.e$1({ type: String, attribute: "text-color" })
83
83
  ], exports.LuksoTag.prototype, "textColor", 2);
84
84
  exports.LuksoTag = __decorateClass([
85
- directive.e$1("lukso-tag")
85
+ directive.e("lukso-tag")
86
86
  ], exports.LuksoTag);
@@ -1,7 +1,7 @@
1
- import { T as TailwindStyledElement, x } from '../../index-f4ba403b.js';
2
- import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
- import { o } from '../../style-map-d2ea2813.js';
4
- import { c as customClassMap } from '../../index-714323c9.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-4507034c.js';
2
+ import { a as e, e as e$1 } from '../../directive-190d1dea.js';
3
+ import { o } from '../../style-map-a25f1f00.js';
4
+ import { c as customClassMap } from '../../index-48ee71cd.js';
5
5
 
6
6
  const style = ":host {\n display: inline-flex\n}";
7
7
 
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-c193b106.cjs');
6
- const directive = require('../../directive-db00f5fb.cjs');
7
- const state = require('../../state-a62a7d5d.cjs');
8
- const index = require('../../index-7dc05ee5.cjs');
5
+ const shared_tailwindElement_index = require('../../index-4a94cf2c.cjs');
6
+ const directive = require('../../directive-d0161b26.cjs');
7
+ const state = require('../../state-a13eb70b.cjs');
8
+ const index = require('../../index-a1c8eb00.cjs');
9
9
  require('../lukso-icon/index.cjs');
10
10
  require('../lukso-sanitize/index.cjs');
11
- require('../../style-map-a3b7dea7.cjs');
11
+ require('../../style-map-f737f913.cjs');
12
12
 
13
13
  const style = ":host {\n display: flex;\n height: 100%\n}";
14
14
 
@@ -87,11 +87,11 @@ exports.LuksoTerms = class LuksoTerms extends shared_tailwindElement_index.Tailw
87
87
  }
88
88
  };
89
89
  __decorateClass([
90
- directive.e({ type: String })
90
+ directive.e$1({ type: String })
91
91
  ], exports.LuksoTerms.prototype, "text", 2);
92
92
  __decorateClass([
93
93
  state.t()
94
94
  ], exports.LuksoTerms.prototype, "hasScrollButton", 2);
95
95
  exports.LuksoTerms = __decorateClass([
96
- directive.e$1("lukso-terms")
96
+ directive.e("lukso-terms")
97
97
  ], exports.LuksoTerms);
@@ -1,10 +1,10 @@
1
- import { T as TailwindStyledElement, x } from '../../index-f4ba403b.js';
2
- import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
- import { t } from '../../state-7fde94d1.js';
4
- import { c as customClassMap } from '../../index-714323c9.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-4507034c.js';
2
+ import { a as e, e as e$1 } from '../../directive-190d1dea.js';
3
+ import { t } from '../../state-069457a0.js';
4
+ import { c as customClassMap } from '../../index-48ee71cd.js';
5
5
  import '../lukso-icon/index.js';
6
6
  import '../lukso-sanitize/index.js';
7
- import '../../style-map-d2ea2813.js';
7
+ import '../../style-map-a25f1f00.js';
8
8
 
9
9
  const style = ":host {\n display: flex;\n height: 100%\n}";
10
10
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-c193b106.cjs');
6
- const directive = require('../../directive-db00f5fb.cjs');
5
+ const shared_tailwindElement_index = require('../../index-4a94cf2c.cjs');
6
+ const directive = require('../../directive-d0161b26.cjs');
7
7
 
8
8
  /**
9
9
  * @license
@@ -107,14 +107,14 @@ exports.LuksoTest = class LuksoTest extends shared_tailwindElement_index.Tailwin
107
107
  }
108
108
  };
109
109
  __decorateClass([
110
- directive.e()
110
+ directive.e$1()
111
111
  ], exports.LuksoTest.prototype, "name", 2);
112
112
  __decorateClass([
113
- directive.e()
113
+ directive.e$1()
114
114
  ], exports.LuksoTest.prototype, "clicked", 2);
115
115
  __decorateClass([
116
- directive.e({ type: Boolean })
116
+ directive.e$1({ type: Boolean })
117
117
  ], exports.LuksoTest.prototype, "disabled", 2);
118
118
  exports.LuksoTest = __decorateClass([
119
- directive.e$1("lukso-test")
119
+ directive.e("lukso-test")
120
120
  ], exports.LuksoTest);
@@ -1,5 +1,5 @@
1
- import { b as T$1, T as TailwindStyledElement, x as x$2 } from '../../index-f4ba403b.js';
2
- import { b as e$3, i as i$3, t as t$3, e as e$4, a as e$5 } from '../../directive-9ec64c08.js';
1
+ import { b as T$1, T as TailwindStyledElement, x as x$2 } from '../../index-4507034c.js';
2
+ import { b as e$3, i as i$3, t as t$3, a as e$4, e as e$5 } from '../../directive-190d1dea.js';
3
3
 
4
4
  /**
5
5
  * @license
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-c193b106.cjs');
6
- const directive = require('../../directive-db00f5fb.cjs');
5
+ const shared_tailwindElement_index = require('../../index-4a94cf2c.cjs');
6
+ const directive = require('../../directive-d0161b26.cjs');
7
7
  const styleMap = require('../../style-map-ce3031bc.cjs');
8
- const index = require('../../index-7dc05ee5.cjs');
8
+ const index = require('../../index-a1c8eb00.cjs');
9
9
 
10
10
  const sliceAddress = (address, startSliceBy = 6, endSliceBy) => {
11
11
  if (!address) {
@@ -115,26 +115,26 @@ exports.LuksoUsername = class LuksoUsername extends shared_tailwindElement_index
115
115
  }
116
116
  };
117
117
  __decorateClass([
118
- directive.e({ type: String })
118
+ directive.e$1({ type: String })
119
119
  ], exports.LuksoUsername.prototype, "name", 2);
120
120
  __decorateClass([
121
- directive.e({ type: String })
121
+ directive.e$1({ type: String })
122
122
  ], exports.LuksoUsername.prototype, "address", 2);
123
123
  __decorateClass([
124
- directive.e({ type: Number, attribute: "max-width" })
124
+ directive.e$1({ type: Number, attribute: "max-width" })
125
125
  ], exports.LuksoUsername.prototype, "maxWidth", 2);
126
126
  __decorateClass([
127
- directive.e({ type: "string" })
127
+ directive.e$1({ type: "string" })
128
128
  ], exports.LuksoUsername.prototype, "size", 2);
129
129
  __decorateClass([
130
- directive.e({ type: Number, attribute: "slice-by" })
130
+ directive.e$1({ type: Number, attribute: "slice-by" })
131
131
  ], exports.LuksoUsername.prototype, "sliceBy", 2);
132
132
  __decorateClass([
133
- directive.e({ type: String, attribute: "address-color" })
133
+ directive.e$1({ type: String, attribute: "address-color" })
134
134
  ], exports.LuksoUsername.prototype, "addressColor", 2);
135
135
  __decorateClass([
136
- directive.e({ type: String, attribute: "name-color" })
136
+ directive.e$1({ type: String, attribute: "name-color" })
137
137
  ], exports.LuksoUsername.prototype, "nameColor", 2);
138
138
  exports.LuksoUsername = __decorateClass([
139
- directive.e$1("lukso-username")
139
+ directive.e("lukso-username")
140
140
  ], exports.LuksoUsername);
@@ -1,7 +1,7 @@
1
- import { a as TailwindElement, x } from '../../index-f4ba403b.js';
2
- import { e, a as e$1 } from '../../directive-9ec64c08.js';
1
+ import { a as TailwindElement, x } from '../../index-4507034c.js';
2
+ import { a as e, e as e$1 } from '../../directive-190d1dea.js';
3
3
  import { o } from '../../style-map-06219dec.js';
4
- import { c as customClassMap } from '../../index-714323c9.js';
4
+ import { c as customClassMap } from '../../index-48ee71cd.js';
5
5
 
6
6
  const sliceAddress = (address, startSliceBy = 6, endSliceBy) => {
7
7
  if (!address) {