@lukso/web-components 1.11.0 → 1.13.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 (46) hide show
  1. package/dist/components/index.cjs +2 -2
  2. package/dist/components/index.js +2 -2
  3. package/dist/components/lukso-button/index.cjs +22 -3
  4. package/dist/components/lukso-button/index.d.ts +3 -0
  5. package/dist/components/lukso-button/index.d.ts.map +1 -1
  6. package/dist/components/lukso-button/index.js +22 -3
  7. package/dist/components/lukso-card/index.cjs +2 -2
  8. package/dist/components/lukso-card/index.js +2 -2
  9. package/dist/components/lukso-icon/icons/contract-signed.d.ts +3 -0
  10. package/dist/components/lukso-icon/icons/contract-signed.d.ts.map +1 -0
  11. package/dist/components/lukso-icon/icons/spinner.d.ts +3 -0
  12. package/dist/components/lukso-icon/icons/spinner.d.ts.map +1 -0
  13. package/dist/components/lukso-icon/index.cjs +87 -2
  14. package/dist/components/lukso-icon/index.d.ts.map +1 -1
  15. package/dist/components/lukso-icon/index.js +87 -2
  16. package/dist/components/lukso-input/index.cjs +1 -1
  17. package/dist/components/lukso-input/index.js +1 -1
  18. package/dist/components/lukso-modal/index.cjs +1 -1
  19. package/dist/components/lukso-modal/index.js +1 -1
  20. package/dist/components/lukso-navbar/index.cjs +8 -2
  21. package/dist/components/lukso-navbar/index.d.ts +2 -0
  22. package/dist/components/lukso-navbar/index.d.ts.map +1 -1
  23. package/dist/components/lukso-navbar/index.js +8 -2
  24. package/dist/components/lukso-profile/index.cjs +2 -2
  25. package/dist/components/lukso-profile/index.js +2 -2
  26. package/dist/components/lukso-sanitize/index.cjs +1 -1
  27. package/dist/components/lukso-sanitize/index.js +1 -1
  28. package/dist/components/lukso-tag/index.cjs +2 -2
  29. package/dist/components/lukso-tag/index.js +2 -2
  30. package/dist/components/lukso-terms/index.cjs +2 -2
  31. package/dist/components/lukso-terms/index.js +2 -2
  32. package/dist/components/lukso-test/index.cjs +1 -1
  33. package/dist/components/lukso-test/index.js +1 -1
  34. package/dist/components/lukso-username/index.cjs +2 -2
  35. package/dist/components/lukso-username/index.js +2 -2
  36. package/dist/components/lukso-wizard/index.cjs +1 -1
  37. package/dist/components/lukso-wizard/index.js +1 -1
  38. package/dist/{index-d6d4e98e.cjs → index-65ac952c.cjs} +1 -1
  39. package/dist/{index-29538039.js → index-bd97c2c3.js} +1 -1
  40. package/dist/index.cjs +2 -2
  41. package/dist/index.js +2 -2
  42. package/dist/shared/tailwind-element/index.cjs +1 -1
  43. package/dist/shared/tailwind-element/index.js +1 -1
  44. package/dist/{style-map-6fd59df5.js → style-map-8b1b8545.js} +1 -1
  45. package/dist/{style-map-1d5d29da.cjs → style-map-9f53097b.cjs} +1 -1
  46. package/package.json +1 -1
@@ -15,11 +15,11 @@ const components_luksoTerms_index = require('./lukso-terms/index.cjs');
15
15
  const components_luksoTest_index = require('./lukso-test/index.cjs');
16
16
  const components_luksoUsername_index = require('./lukso-username/index.cjs');
17
17
  const components_luksoWizard_index = require('./lukso-wizard/index.cjs');
18
- const shared_tailwindElement_index = require('../index-d6d4e98e.cjs');
18
+ const shared_tailwindElement_index = require('../index-65ac952c.cjs');
19
19
  require('../directive-db00f5fb.cjs');
20
20
  require('../state-a62a7d5d.cjs');
21
21
  require('../index-7dc05ee5.cjs');
22
- require('../style-map-1d5d29da.cjs');
22
+ require('../style-map-9f53097b.cjs');
23
23
 
24
24
 
25
25
 
@@ -11,8 +11,8 @@ export { LuksoTerms } from './lukso-terms/index.js';
11
11
  export { LuksoTest } from './lukso-test/index.js';
12
12
  export { LuksoUsername } from './lukso-username/index.js';
13
13
  export { LuksoWizard } from './lukso-wizard/index.js';
14
- export { a as TailwindElement, T as TailwindStyledElement } from '../index-29538039.js';
14
+ export { a as TailwindElement, T as TailwindStyledElement } from '../index-bd97c2c3.js';
15
15
  import '../directive-9ec64c08.js';
16
16
  import '../state-7fde94d1.js';
17
17
  import '../index-714323c9.js';
18
- import '../style-map-6fd59df5.js';
18
+ import '../style-map-8b1b8545.js';
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-d6d4e98e.cjs');
5
+ const shared_tailwindElement_index = require('../../index-65ac952c.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');
@@ -30,9 +30,11 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
30
30
  this.isFullWidth = false;
31
31
  this.isLongPress = false;
32
32
  this.isLink = false;
33
+ this.isLoading = false;
33
34
  this.href = "";
34
35
  this.target = "_blank";
35
36
  this.rel = "";
37
+ this.loadingText = "";
36
38
  this.isPressed = false;
37
39
  this.noTransition = false;
38
40
  this.timer = 0;
@@ -94,11 +96,22 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
94
96
  }, 100);
95
97
  this.timer && clearTimeout(this.timer);
96
98
  }
99
+ loadingTemplate() {
100
+ return shared_tailwindElement_index.y`<lukso-icon
101
+ name="spinner"
102
+ color=${this.variant === "secondary" || this.variant === "text" ? "neutral-20" : "neutral-100"}
103
+ class=${index.customClassMap({
104
+ "animate-spin": true,
105
+ "mr-2": !!this.loadingText
106
+ })}
107
+ ></lukso-icon>
108
+ ${this.loadingText}`;
109
+ }
97
110
  buttonTemplate() {
98
111
  return shared_tailwindElement_index.y`
99
112
  <button
100
113
  data-testid="button"
101
- ?disabled=${this.disabled}
114
+ ?disabled=${this.disabled || this.isLoading}
102
115
  class=${index.customClassMap({
103
116
  [this.defaultStyles]: true,
104
117
  [this.mediumSize]: this.size === "medium",
@@ -116,7 +129,7 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
116
129
  @mouseup=${this.handleMouseUp}
117
130
  @mouseleave=${this.handleMouseUp}
118
131
  >
119
- <slot></slot>
132
+ ${this.isLoading ? this.loadingTemplate() : shared_tailwindElement_index.y`<slot></slot>`}
120
133
  </button>
121
134
  `;
122
135
  }
@@ -165,6 +178,9 @@ __decorateClass([
165
178
  __decorateClass([
166
179
  directive.e({ type: Boolean, attribute: "is-link" })
167
180
  ], exports.LuksoButton.prototype, "isLink", 2);
181
+ __decorateClass([
182
+ directive.e({ type: Boolean, attribute: "is-loading" })
183
+ ], exports.LuksoButton.prototype, "isLoading", 2);
168
184
  __decorateClass([
169
185
  directive.e({ type: String })
170
186
  ], exports.LuksoButton.prototype, "href", 2);
@@ -174,6 +190,9 @@ __decorateClass([
174
190
  __decorateClass([
175
191
  directive.e({ type: String })
176
192
  ], exports.LuksoButton.prototype, "rel", 2);
193
+ __decorateClass([
194
+ directive.e({ type: String, attribute: "loading-text" })
195
+ ], exports.LuksoButton.prototype, "loadingText", 2);
177
196
  __decorateClass([
178
197
  state.t()
179
198
  ], exports.LuksoButton.prototype, "isPressed", 2);
@@ -9,9 +9,11 @@ export declare class LuksoButton extends LuksoButton_base {
9
9
  isFullWidth: boolean;
10
10
  isLongPress: boolean;
11
11
  isLink: boolean;
12
+ isLoading: boolean;
12
13
  href: string;
13
14
  target: LinkTarget;
14
15
  rel: string;
16
+ loadingText: string;
15
17
  private isPressed;
16
18
  private noTransition;
17
19
  private timer;
@@ -28,6 +30,7 @@ export declare class LuksoButton extends LuksoButton_base {
28
30
  private smallSize;
29
31
  private handleMouseDown;
30
32
  private handleMouseUp;
33
+ loadingTemplate(): unknown;
31
34
  buttonTemplate(): import("lit").TemplateResult<1>;
32
35
  linkTemplate(): import("lit").TemplateResult<1>;
33
36
  render(): import("lit").TemplateResult<1>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAOA,oBAAY,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,MAAM,CAAA;AACxE,oBAAY,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAA;AAC3C,oBAAY,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;;AAIhE,qBACa,WAAY,SAAQ,gBAA4B;IAE3D,OAAO,EAAE,aAAa,CAAY;IAGlC,IAAI,EAAE,UAAU,CAAW;IAG3B,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,CAGqE;IAE1F,OAAO,CAAC,eAAe,CACoD;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;IA2BvB,OAAO,CAAC,aAAa;IAcrB,cAAc;IA2Bd,YAAY;IAwBZ,MAAM;CAGP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAA;KAC5B;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAOA,oBAAY,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,MAAM,CAAA;AACxE,oBAAY,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAA;AAC3C,oBAAY,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;;AAIhE,qBACa,WAAY,SAAQ,gBAA4B;IAE3D,OAAO,EAAE,aAAa,CAAY;IAGlC,IAAI,EAAE,UAAU,CAAW;IAG3B,QAAQ,UAAQ;IAGhB,WAAW,UAAQ;IAGnB,WAAW,UAAQ;IAGnB,MAAM,UAAQ;IAGd,SAAS,UAAQ;IAGjB,IAAI,SAAK;IAGT,MAAM,EAAE,UAAU,CAAW;IAG7B,GAAG,SAAK;IAGR,WAAW,SAAK;IAGhB,OAAO,CAAC,SAAS,CAAQ;IAGzB,OAAO,CAAC,YAAY,CAAQ;IAG5B,OAAO,CAAC,KAAK,CAAI;IAEjB,OAAO,CAAC,aAAa,CAGqE;IAE1F,OAAO,CAAC,eAAe,CACoD;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;IA2BvB,OAAO,CAAC,aAAa;IAcrB,eAAe,IAAI,OAAO;IAc1B,cAAc;IA2Bd,YAAY;IAwBZ,MAAM;CAGP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAA;KAC5B;CACF"}
@@ -1,4 +1,4 @@
1
- import { T as TailwindStyledElement, y } from '../../index-29538039.js';
1
+ import { T as TailwindStyledElement, y } from '../../index-bd97c2c3.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';
@@ -26,9 +26,11 @@ let LuksoButton = class extends TailwindStyledElement(style) {
26
26
  this.isFullWidth = false;
27
27
  this.isLongPress = false;
28
28
  this.isLink = false;
29
+ this.isLoading = false;
29
30
  this.href = "";
30
31
  this.target = "_blank";
31
32
  this.rel = "";
33
+ this.loadingText = "";
32
34
  this.isPressed = false;
33
35
  this.noTransition = false;
34
36
  this.timer = 0;
@@ -90,11 +92,22 @@ let LuksoButton = class extends TailwindStyledElement(style) {
90
92
  }, 100);
91
93
  this.timer && clearTimeout(this.timer);
92
94
  }
95
+ loadingTemplate() {
96
+ return y`<lukso-icon
97
+ name="spinner"
98
+ color=${this.variant === "secondary" || this.variant === "text" ? "neutral-20" : "neutral-100"}
99
+ class=${customClassMap({
100
+ "animate-spin": true,
101
+ "mr-2": !!this.loadingText
102
+ })}
103
+ ></lukso-icon>
104
+ ${this.loadingText}`;
105
+ }
93
106
  buttonTemplate() {
94
107
  return y`
95
108
  <button
96
109
  data-testid="button"
97
- ?disabled=${this.disabled}
110
+ ?disabled=${this.disabled || this.isLoading}
98
111
  class=${customClassMap({
99
112
  [this.defaultStyles]: true,
100
113
  [this.mediumSize]: this.size === "medium",
@@ -112,7 +125,7 @@ let LuksoButton = class extends TailwindStyledElement(style) {
112
125
  @mouseup=${this.handleMouseUp}
113
126
  @mouseleave=${this.handleMouseUp}
114
127
  >
115
- <slot></slot>
128
+ ${this.isLoading ? this.loadingTemplate() : y`<slot></slot>`}
116
129
  </button>
117
130
  `;
118
131
  }
@@ -161,6 +174,9 @@ __decorateClass([
161
174
  __decorateClass([
162
175
  e({ type: Boolean, attribute: "is-link" })
163
176
  ], LuksoButton.prototype, "isLink", 2);
177
+ __decorateClass([
178
+ e({ type: Boolean, attribute: "is-loading" })
179
+ ], LuksoButton.prototype, "isLoading", 2);
164
180
  __decorateClass([
165
181
  e({ type: String })
166
182
  ], LuksoButton.prototype, "href", 2);
@@ -170,6 +186,9 @@ __decorateClass([
170
186
  __decorateClass([
171
187
  e({ type: String })
172
188
  ], LuksoButton.prototype, "rel", 2);
189
+ __decorateClass([
190
+ e({ type: String, attribute: "loading-text" })
191
+ ], LuksoButton.prototype, "loadingText", 2);
173
192
  __decorateClass([
174
193
  t()
175
194
  ], 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-d6d4e98e.cjs');
5
+ const shared_tailwindElement_index = require('../../index-65ac952c.cjs');
6
6
  const directive = require('../../directive-db00f5fb.cjs');
7
- const styleMap = require('../../style-map-1d5d29da.cjs');
7
+ const styleMap = require('../../style-map-9f53097b.cjs');
8
8
  const index = require('../../index-7dc05ee5.cjs');
9
9
  require('../lukso-profile/index.cjs');
10
10
 
@@ -1,6 +1,6 @@
1
- import { T as TailwindStyledElement, y } from '../../index-29538039.js';
1
+ import { T as TailwindStyledElement, y } from '../../index-bd97c2c3.js';
2
2
  import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
- import { i } from '../../style-map-6fd59df5.js';
3
+ import { i } from '../../style-map-8b1b8545.js';
4
4
  import { c as customClassMap } from '../../index-714323c9.js';
5
5
  import '../lukso-profile/index.js';
6
6
 
@@ -0,0 +1,3 @@
1
+ import { IconOptions } from '../../../components/lukso-icon/index.js';
2
+ export declare const contractSigned: (options: IconOptions) => import("lit").TemplateResult<1>;
3
+ //# sourceMappingURL=contract-signed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contract-signed.d.ts","sourceRoot":"","sources":["contract-signed.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,eAAO,MAAM,cAAc,YAAa,WAAW,oCA4DlD,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { IconOptions } from '../../../components/lukso-icon/index.js';
2
+ export declare const spinner: (options: IconOptions) => import("lit").TemplateResult<1>;
3
+ //# sourceMappingURL=spinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["spinner.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,eAAO,MAAM,OAAO,YAAa,WAAW,oCAmB3C,CAAA"}
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-d6d4e98e.cjs');
5
+ const shared_tailwindElement_index = require('../../index-65ac952c.cjs');
6
6
  const directive = require('../../directive-db00f5fb.cjs');
7
- const styleMap = require('../../style-map-1d5d29da.cjs');
7
+ const styleMap = require('../../style-map-9f53097b.cjs');
8
8
 
9
9
  const style = ":host {\n display: inline-flex\n}";
10
10
 
@@ -642,6 +642,68 @@ const contractLock = (options) => {
642
642
  </svg> `;
643
643
  };
644
644
 
645
+ const contractSigned = (options) => {
646
+ return shared_tailwindElement_index.y`<svg
647
+ width="24"
648
+ height="24"
649
+ viewBox="0 0 24 24"
650
+ fill="none"
651
+ xmlns="http://www.w3.org/2000/svg"
652
+ style=${styleMap.i({
653
+ width: `${options.width}px`,
654
+ height: `${options.height}px`
655
+ })}
656
+ >
657
+ <path
658
+ d="M2 10.1211V19.25C2 19.8467 2.23705 20.419 2.65901 20.841C3.08097 21.2629 3.65326 21.5 4.25 21.5H14.75C15.3467 21.5 15.919 21.2629 16.341 20.841C16.7629 20.419 17 19.8467 17 19.25V4.25C17 3.65326 16.7629 3.08097 16.341 2.65901C15.919 2.23705 15.3467 2 14.75 2H10.1211C9.72341 2.00006 9.34202 2.15804 9.06078 2.43922L2.43922 9.06078C2.15804 9.34202 2.00006 9.72341 2 10.1211Z"
659
+ stroke="var(--${options.color})"
660
+ stroke-width="${options.strokeWidth}"
661
+ stroke-linejoin="round"
662
+ />
663
+ <path
664
+ d="M11 13H5"
665
+ stroke="var(--${options.color})"
666
+ stroke-width="${options.strokeWidth}"
667
+ stroke-linecap="round"
668
+ stroke-linejoin="round"
669
+ />
670
+ <path
671
+ d="M8 16H5"
672
+ stroke="var(--${options.color})"
673
+ stroke-width="${options.strokeWidth}"
674
+ stroke-linecap="round"
675
+ stroke-linejoin="round"
676
+ />
677
+ <path
678
+ d="M11 16H10"
679
+ stroke="var(--${options.color})"
680
+ stroke-width="${options.strokeWidth}"
681
+ stroke-linecap="round"
682
+ stroke-linejoin="round"
683
+ />
684
+ <path
685
+ d="M9.5 2.13501V8.00001C9.5 8.39783 9.34196 8.77936 9.06066 9.06067C8.77936 9.34197 8.39782 9.50001 8 9.50001H2.135"
686
+ stroke="var(--${options.color})"
687
+ stroke-width="${options.strokeWidth}"
688
+ stroke-linecap="round"
689
+ stroke-linejoin="round"
690
+ />
691
+ <path
692
+ d="M21.25 12C21.25 14.3472 19.3472 16.25 17 16.25C14.6528 16.25 12.75 14.3472 12.75 12C12.75 9.65279 14.6528 7.75 17 7.75C19.3472 7.75 21.25 9.65279 21.25 12Z"
693
+ fill="var(--${options.secondaryColor})"
694
+ stroke="var(--${options.secondaryColor})"
695
+ stroke-width="${options.strokeWidth}"
696
+ />
697
+ <path
698
+ d="M15 12.0714L16.4 13.5L19 11"
699
+ stroke="white"
700
+ stroke-width="${options.strokeWidth}"
701
+ stroke-linecap="round"
702
+ stroke-linejoin="round"
703
+ />
704
+ </svg> `;
705
+ };
706
+
645
707
  const connect = (options) => {
646
708
  return shared_tailwindElement_index.y`<svg
647
709
  width="24"
@@ -3057,6 +3119,27 @@ const smartContract = (options) => {
3057
3119
  </svg> `;
3058
3120
  };
3059
3121
 
3122
+ const spinner = (options) => {
3123
+ return shared_tailwindElement_index.y`<svg
3124
+ width="24"
3125
+ height="24"
3126
+ viewBox="0 0 24 24"
3127
+ fill="none"
3128
+ xmlns="http://www.w3.org/2000/svg"
3129
+ style=${styleMap.i({
3130
+ width: `${options.width}px`,
3131
+ height: `${options.height}px`
3132
+ })}
3133
+ >
3134
+ <path
3135
+ d="M20.25 12C20.25 13.6317 19.7661 15.2267 18.8596 16.5835C17.9531 17.9402 16.6646 18.9976 15.1571 19.622C13.6496 20.2464 11.9908 20.4098 10.3905 20.0915C8.79016 19.7732 7.32015 18.9874 6.16637 17.8336C5.01259 16.6798 4.22685 15.2098 3.90852 13.6095C3.59019 12.0092 3.75357 10.3504 4.37799 8.84286C5.00242 7.33537 6.05984 6.0469 7.41655 5.14038C8.77325 4.23385 10.3683 3.75 12 3.75"
3136
+ stroke="var(--${options.color})"
3137
+ stroke-width="${options.strokeWidth}"
3138
+ stroke-linecap="round"
3139
+ />
3140
+ </svg> `;
3141
+ };
3142
+
3060
3143
  const starFilled = (options) => {
3061
3144
  return shared_tailwindElement_index.y`<svg
3062
3145
  width="24"
@@ -4376,6 +4459,7 @@ const iconMap = {
4376
4459
  connect,
4377
4460
  connections,
4378
4461
  "contract-lock": contractLock,
4462
+ "contract-signed": contractSigned,
4379
4463
  controller,
4380
4464
  copy,
4381
4465
  "cross-outline": crossOutline,
@@ -4441,6 +4525,7 @@ const iconMap = {
4441
4525
  settings,
4442
4526
  "smart-contract-doc": smartContractDoc,
4443
4527
  "smart-contract": smartContract,
4528
+ spinner,
4444
4529
  "star-filled": starFilled,
4445
4530
  "star-outline": starOutline,
4446
4531
  "step-dot": stepDot,
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAyHA,oBAAY,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,oBAAY,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAA;;AA8H5E,qBACa,SAAU,SAAQ,cAA4B;IAEzD,IAAI,SAAK;IAGT,IAAI,SAAW;IAGf,KAAK,SAAe;IAGpB,cAAc,SAAK;IAEnB,OAAO,CAAC,KAAK,CA0BZ;IAED,MAAM;CAuBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAA;KACxB;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AA2HA,oBAAY,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,oBAAY,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAA;;AAgI5E,qBACa,SAAU,SAAQ,cAA4B;IAEzD,IAAI,SAAK;IAGT,IAAI,SAAW;IAGf,KAAK,SAAe;IAGpB,cAAc,SAAK;IAEnB,OAAO,CAAC,KAAK,CA0BZ;IAED,MAAM;CAuBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAA;KACxB;CACF"}
@@ -1,6 +1,6 @@
1
- import { y, T as TailwindStyledElement } from '../../index-29538039.js';
1
+ import { y, T as TailwindStyledElement } from '../../index-bd97c2c3.js';
2
2
  import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
- import { i } from '../../style-map-6fd59df5.js';
3
+ import { i } from '../../style-map-8b1b8545.js';
4
4
 
5
5
  const style = ":host {\n display: inline-flex\n}";
6
6
 
@@ -638,6 +638,68 @@ const contractLock = (options) => {
638
638
  </svg> `;
639
639
  };
640
640
 
641
+ const contractSigned = (options) => {
642
+ return y`<svg
643
+ width="24"
644
+ height="24"
645
+ viewBox="0 0 24 24"
646
+ fill="none"
647
+ xmlns="http://www.w3.org/2000/svg"
648
+ style=${i({
649
+ width: `${options.width}px`,
650
+ height: `${options.height}px`
651
+ })}
652
+ >
653
+ <path
654
+ d="M2 10.1211V19.25C2 19.8467 2.23705 20.419 2.65901 20.841C3.08097 21.2629 3.65326 21.5 4.25 21.5H14.75C15.3467 21.5 15.919 21.2629 16.341 20.841C16.7629 20.419 17 19.8467 17 19.25V4.25C17 3.65326 16.7629 3.08097 16.341 2.65901C15.919 2.23705 15.3467 2 14.75 2H10.1211C9.72341 2.00006 9.34202 2.15804 9.06078 2.43922L2.43922 9.06078C2.15804 9.34202 2.00006 9.72341 2 10.1211Z"
655
+ stroke="var(--${options.color})"
656
+ stroke-width="${options.strokeWidth}"
657
+ stroke-linejoin="round"
658
+ />
659
+ <path
660
+ d="M11 13H5"
661
+ stroke="var(--${options.color})"
662
+ stroke-width="${options.strokeWidth}"
663
+ stroke-linecap="round"
664
+ stroke-linejoin="round"
665
+ />
666
+ <path
667
+ d="M8 16H5"
668
+ stroke="var(--${options.color})"
669
+ stroke-width="${options.strokeWidth}"
670
+ stroke-linecap="round"
671
+ stroke-linejoin="round"
672
+ />
673
+ <path
674
+ d="M11 16H10"
675
+ stroke="var(--${options.color})"
676
+ stroke-width="${options.strokeWidth}"
677
+ stroke-linecap="round"
678
+ stroke-linejoin="round"
679
+ />
680
+ <path
681
+ d="M9.5 2.13501V8.00001C9.5 8.39783 9.34196 8.77936 9.06066 9.06067C8.77936 9.34197 8.39782 9.50001 8 9.50001H2.135"
682
+ stroke="var(--${options.color})"
683
+ stroke-width="${options.strokeWidth}"
684
+ stroke-linecap="round"
685
+ stroke-linejoin="round"
686
+ />
687
+ <path
688
+ d="M21.25 12C21.25 14.3472 19.3472 16.25 17 16.25C14.6528 16.25 12.75 14.3472 12.75 12C12.75 9.65279 14.6528 7.75 17 7.75C19.3472 7.75 21.25 9.65279 21.25 12Z"
689
+ fill="var(--${options.secondaryColor})"
690
+ stroke="var(--${options.secondaryColor})"
691
+ stroke-width="${options.strokeWidth}"
692
+ />
693
+ <path
694
+ d="M15 12.0714L16.4 13.5L19 11"
695
+ stroke="white"
696
+ stroke-width="${options.strokeWidth}"
697
+ stroke-linecap="round"
698
+ stroke-linejoin="round"
699
+ />
700
+ </svg> `;
701
+ };
702
+
641
703
  const connect = (options) => {
642
704
  return y`<svg
643
705
  width="24"
@@ -3053,6 +3115,27 @@ const smartContract = (options) => {
3053
3115
  </svg> `;
3054
3116
  };
3055
3117
 
3118
+ const spinner = (options) => {
3119
+ return y`<svg
3120
+ width="24"
3121
+ height="24"
3122
+ viewBox="0 0 24 24"
3123
+ fill="none"
3124
+ xmlns="http://www.w3.org/2000/svg"
3125
+ style=${i({
3126
+ width: `${options.width}px`,
3127
+ height: `${options.height}px`
3128
+ })}
3129
+ >
3130
+ <path
3131
+ d="M20.25 12C20.25 13.6317 19.7661 15.2267 18.8596 16.5835C17.9531 17.9402 16.6646 18.9976 15.1571 19.622C13.6496 20.2464 11.9908 20.4098 10.3905 20.0915C8.79016 19.7732 7.32015 18.9874 6.16637 17.8336C5.01259 16.6798 4.22685 15.2098 3.90852 13.6095C3.59019 12.0092 3.75357 10.3504 4.37799 8.84286C5.00242 7.33537 6.05984 6.0469 7.41655 5.14038C8.77325 4.23385 10.3683 3.75 12 3.75"
3132
+ stroke="var(--${options.color})"
3133
+ stroke-width="${options.strokeWidth}"
3134
+ stroke-linecap="round"
3135
+ />
3136
+ </svg> `;
3137
+ };
3138
+
3056
3139
  const starFilled = (options) => {
3057
3140
  return y`<svg
3058
3141
  width="24"
@@ -4372,6 +4455,7 @@ const iconMap = {
4372
4455
  connect,
4373
4456
  connections,
4374
4457
  "contract-lock": contractLock,
4458
+ "contract-signed": contractSigned,
4375
4459
  controller,
4376
4460
  copy,
4377
4461
  "cross-outline": crossOutline,
@@ -4437,6 +4521,7 @@ const iconMap = {
4437
4521
  settings,
4438
4522
  "smart-contract-doc": smartContractDoc,
4439
4523
  "smart-contract": smartContract,
4524
+ spinner,
4440
4525
  "star-filled": starFilled,
4441
4526
  "star-outline": starOutline,
4442
4527
  "step-dot": stepDot,
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-d6d4e98e.cjs');
5
+ const shared_tailwindElement_index = require('../../index-65ac952c.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');
@@ -1,4 +1,4 @@
1
- import { a as TailwindElement, y, b } from '../../index-29538039.js';
1
+ import { a as TailwindElement, y, b } from '../../index-bd97c2c3.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';
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-d6d4e98e.cjs');
5
+ const shared_tailwindElement_index = require('../../index-65ac952c.cjs');
6
6
  const directive = require('../../directive-db00f5fb.cjs');
7
7
  const index = require('../../index-7dc05ee5.cjs');
8
8
 
@@ -1,4 +1,4 @@
1
- import { a as TailwindElement, y } from '../../index-29538039.js';
1
+ import { a as TailwindElement, y } from '../../index-bd97c2c3.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
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-d6d4e98e.cjs');
5
+ const shared_tailwindElement_index = require('../../index-65ac952c.cjs');
6
6
  const directive = require('../../directive-db00f5fb.cjs');
7
7
  const index = require('../../index-7dc05ee5.cjs');
8
8
 
@@ -23,9 +23,11 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
23
23
  this.title = "";
24
24
  this.isCenter = false;
25
25
  this.isSticky = false;
26
+ this.isTransparent = false;
26
27
  this.defaultStyles = `bg-neutral-100 shadow-pink-drop-shadow h-78 flex`;
27
28
  this.centerStyles = `justify-center`;
28
29
  this.stickyStyles = `sticky top-0 z-[1000]`;
30
+ this.transparentStyles = `!bg-transparent !shadow-none`;
29
31
  }
30
32
  handleBrandClick() {
31
33
  const event = new CustomEvent("on-brand-click", {
@@ -41,7 +43,8 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
41
43
  class=${index.customClassMap({
42
44
  [this.defaultStyles]: true,
43
45
  [this.centerStyles]: this.isCenter,
44
- [this.stickyStyles]: this.isSticky
46
+ [this.stickyStyles]: this.isSticky,
47
+ [this.transparentStyles]: this.isTransparent
45
48
  })}
46
49
  >
47
50
  <div
@@ -70,6 +73,9 @@ __decorateClass([
70
73
  __decorateClass([
71
74
  directive.e({ type: Boolean, attribute: "is-sticky" })
72
75
  ], exports.LuksoNavbar.prototype, "isSticky", 2);
76
+ __decorateClass([
77
+ directive.e({ type: Boolean, attribute: "is-transparent" })
78
+ ], exports.LuksoNavbar.prototype, "isTransparent", 2);
73
79
  exports.LuksoNavbar = __decorateClass([
74
80
  directive.e$1("lukso-navbar")
75
81
  ], exports.LuksoNavbar);
@@ -3,9 +3,11 @@ export declare class LuksoNavbar extends TailwindElement {
3
3
  title: string;
4
4
  isCenter: boolean;
5
5
  isSticky: boolean;
6
+ isTransparent: boolean;
6
7
  private defaultStyles;
7
8
  private centerStyles;
8
9
  private stickyStyles;
10
+ private transparentStyles;
9
11
  private handleBrandClick;
10
12
  render(): import("lit").TemplateResult<1>;
11
13
  }
@@ -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,OAAO,CAAC,gBAAgB;IAQxB,MAAM;CA0BP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAA;KAC5B;CACF"}
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;IAGhB,aAAa,UAAQ;IAErB,OAAO,CAAC,aAAa,CAAqD;IAE1E,OAAO,CAAC,YAAY,CAAmB;IAEvC,OAAO,CAAC,YAAY,CAA0B;IAE9C,OAAO,CAAC,iBAAiB,CAAiC;IAE1D,OAAO,CAAC,gBAAgB;IAQxB,MAAM;CA2BP;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-29538039.js';
1
+ import { a as TailwindElement, y } from '../../index-bd97c2c3.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
 
@@ -19,9 +19,11 @@ let LuksoNavbar = class extends TailwindElement {
19
19
  this.title = "";
20
20
  this.isCenter = false;
21
21
  this.isSticky = false;
22
+ this.isTransparent = false;
22
23
  this.defaultStyles = `bg-neutral-100 shadow-pink-drop-shadow h-78 flex`;
23
24
  this.centerStyles = `justify-center`;
24
25
  this.stickyStyles = `sticky top-0 z-[1000]`;
26
+ this.transparentStyles = `!bg-transparent !shadow-none`;
25
27
  }
26
28
  handleBrandClick() {
27
29
  const event = new CustomEvent("on-brand-click", {
@@ -37,7 +39,8 @@ let LuksoNavbar = class extends TailwindElement {
37
39
  class=${customClassMap({
38
40
  [this.defaultStyles]: true,
39
41
  [this.centerStyles]: this.isCenter,
40
- [this.stickyStyles]: this.isSticky
42
+ [this.stickyStyles]: this.isSticky,
43
+ [this.transparentStyles]: this.isTransparent
41
44
  })}
42
45
  >
43
46
  <div
@@ -66,6 +69,9 @@ __decorateClass([
66
69
  __decorateClass([
67
70
  e({ type: Boolean, attribute: "is-sticky" })
68
71
  ], LuksoNavbar.prototype, "isSticky", 2);
72
+ __decorateClass([
73
+ e({ type: Boolean, attribute: "is-transparent" })
74
+ ], LuksoNavbar.prototype, "isTransparent", 2);
69
75
  LuksoNavbar = __decorateClass([
70
76
  e$1("lukso-navbar")
71
77
  ], LuksoNavbar);
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-d6d4e98e.cjs');
5
+ const shared_tailwindElement_index = require('../../index-65ac952c.cjs');
6
6
  const directive = require('../../directive-db00f5fb.cjs');
7
- const styleMap = require('../../style-map-1d5d29da.cjs');
7
+ const styleMap = require('../../style-map-9f53097b.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
 
@@ -1,6 +1,6 @@
1
- import { a as TailwindElement, y } from '../../index-29538039.js';
1
+ import { a as TailwindElement, y } from '../../index-bd97c2c3.js';
2
2
  import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
- import { i } from '../../style-map-6fd59df5.js';
3
+ import { i } from '../../style-map-8b1b8545.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,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-d6d4e98e.cjs');
5
+ const shared_tailwindElement_index = require('../../index-65ac952c.cjs');
6
6
  const directive = require('../../directive-db00f5fb.cjs');
7
7
 
8
8
  /**