@lukso/web-components 1.102.2 → 1.103.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 (72) hide show
  1. package/dist/components/index.cjs +4 -4
  2. package/dist/components/index.js +4 -4
  3. package/dist/components/lukso-button/index.cjs +1 -1
  4. package/dist/components/lukso-button/index.js +1 -1
  5. package/dist/components/lukso-card/index.cjs +3 -3
  6. package/dist/components/lukso-card/index.js +3 -3
  7. package/dist/components/lukso-checkbox/index.cjs +1 -1
  8. package/dist/components/lukso-checkbox/index.js +1 -1
  9. package/dist/components/lukso-color-picker/index.cjs +2 -2
  10. package/dist/components/lukso-color-picker/index.js +2 -2
  11. package/dist/components/lukso-dropdown/index.cjs +4 -4
  12. package/dist/components/lukso-dropdown/index.js +4 -4
  13. package/dist/components/lukso-dropdown-option/index.cjs +1 -1
  14. package/dist/components/lukso-dropdown-option/index.js +1 -1
  15. package/dist/components/lukso-footer/index.cjs +1 -1
  16. package/dist/components/lukso-footer/index.js +1 -1
  17. package/dist/components/lukso-icon/icons/hammer.d.ts +3 -0
  18. package/dist/components/lukso-icon/icons/hammer.d.ts.map +1 -0
  19. package/dist/components/lukso-icon/index.cjs +40 -3
  20. package/dist/components/lukso-icon/index.d.ts.map +1 -1
  21. package/dist/components/lukso-icon/index.js +40 -3
  22. package/dist/components/lukso-image/index.cjs +2 -2
  23. package/dist/components/lukso-image/index.js +2 -2
  24. package/dist/components/lukso-input/index.cjs +2 -2
  25. package/dist/components/lukso-input/index.js +2 -2
  26. package/dist/components/lukso-modal/index.cjs +1 -1
  27. package/dist/components/lukso-modal/index.js +1 -1
  28. package/dist/components/lukso-navbar/index.cjs +3 -3
  29. package/dist/components/lukso-navbar/index.js +3 -3
  30. package/dist/components/lukso-pagination/index.cjs +2 -2
  31. package/dist/components/lukso-pagination/index.js +2 -2
  32. package/dist/components/lukso-profile/index.cjs +2 -2
  33. package/dist/components/lukso-profile/index.js +2 -2
  34. package/dist/components/lukso-progress/index.cjs +2 -2
  35. package/dist/components/lukso-progress/index.js +2 -2
  36. package/dist/components/lukso-sanitize/index.cjs +1 -1
  37. package/dist/components/lukso-sanitize/index.js +1 -1
  38. package/dist/components/lukso-search/index.cjs +4 -4
  39. package/dist/components/lukso-search/index.js +4 -4
  40. package/dist/components/lukso-select/index.cjs +72 -72
  41. package/dist/components/lukso-select/index.js +72 -72
  42. package/dist/components/lukso-share/index.cjs +26 -23
  43. package/dist/components/lukso-share/index.js +26 -23
  44. package/dist/components/lukso-switch/index.cjs +10 -7
  45. package/dist/components/lukso-switch/index.js +10 -7
  46. package/dist/components/lukso-tag/index.cjs +34 -31
  47. package/dist/components/lukso-tag/index.js +34 -31
  48. package/dist/components/lukso-terms/index.cjs +8 -5
  49. package/dist/components/lukso-terms/index.js +8 -5
  50. package/dist/components/lukso-test/index.cjs +15 -12
  51. package/dist/components/lukso-test/index.js +15 -12
  52. package/dist/components/lukso-textarea/index.cjs +84 -81
  53. package/dist/components/lukso-textarea/index.js +84 -81
  54. package/dist/components/lukso-tooltip/index.cjs +36 -33
  55. package/dist/components/lukso-tooltip/index.js +36 -33
  56. package/dist/components/lukso-username/index.cjs +52 -49
  57. package/dist/components/lukso-username/index.js +52 -49
  58. package/dist/components/lukso-wizard/index.cjs +44 -41
  59. package/dist/components/lukso-wizard/index.js +44 -41
  60. package/dist/{index-b9bc3bbb.cjs → index-17879e5a.cjs} +1 -1
  61. package/dist/{index-1ce46c50.cjs → index-474fac60.cjs} +1 -1
  62. package/dist/{index-15b30335.js → index-6349a8aa.js} +1 -1
  63. package/dist/{index-f62a47db.js → index-7e82dcae.js} +1 -1
  64. package/dist/{index-89eb56eb.cjs → index-8ccda1e9.cjs} +5 -3
  65. package/dist/{index-c154a31c.js → index-d89cc6bc.js} +5 -3
  66. package/dist/index.cjs +4 -4
  67. package/dist/index.js +4 -4
  68. package/dist/shared/tailwind-element/index.cjs +1 -1
  69. package/dist/shared/tailwind-element/index.js +1 -1
  70. package/dist/{style-map-3dd58f82.cjs → style-map-12def811.cjs} +1 -1
  71. package/dist/{style-map-d46cc789.js → style-map-cf4f4350.js} +1 -1
  72. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-89eb56eb.cjs');
5
+ const shared_tailwindElement_index = require('../../index-8ccda1e9.cjs');
6
6
  const queryAssignedElements = require('../../query-assigned-elements-d5e45650.cjs');
7
7
  const state = require('../../state-d9fb972b.cjs');
8
8
  const index = require('../../index-1d3f4a5a.cjs');
@@ -10,13 +10,13 @@ require('../lukso-icon/index.cjs');
10
10
  require('../lukso-profile/index.cjs');
11
11
  require('../lukso-username/index.cjs');
12
12
  require('../lukso-input/index.cjs');
13
- require('../../index-1ce46c50.cjs');
13
+ require('../../index-474fac60.cjs');
14
14
  require('../lukso-dropdown-option/index.cjs');
15
15
  require('../../bundle-mjs-d58a83c6.cjs');
16
- require('../../style-map-3dd58f82.cjs');
16
+ require('../../style-map-12def811.cjs');
17
17
  require('../../directive-8278ab14.cjs');
18
18
  require('../lukso-image/index.cjs');
19
- require('../../index-b9bc3bbb.cjs');
19
+ require('../../index-17879e5a.cjs');
20
20
  require('../../tailwind-config.cjs');
21
21
  require('../../cn-5ceac001.cjs');
22
22
 
@@ -1,4 +1,4 @@
1
- import { T as TailwindStyledElement, x, A } from '../../index-c154a31c.js';
1
+ import { T as TailwindStyledElement, x, A } from '../../index-d89cc6bc.js';
2
2
  import { n, e } from '../../query-assigned-elements-1c8c9e90.js';
3
3
  import { t } from '../../state-b9ca4e74.js';
4
4
  import { c as ce } from '../../index-ca8e900d.js';
@@ -6,13 +6,13 @@ import '../lukso-icon/index.js';
6
6
  import '../lukso-profile/index.js';
7
7
  import '../lukso-username/index.js';
8
8
  import '../lukso-input/index.js';
9
- import '../../index-f62a47db.js';
9
+ import '../../index-7e82dcae.js';
10
10
  import '../lukso-dropdown-option/index.js';
11
11
  import '../../bundle-mjs-fbc6e2a8.js';
12
- import '../../style-map-d46cc789.js';
12
+ import '../../style-map-cf4f4350.js';
13
13
  import '../../directive-2bb7789e.js';
14
14
  import '../lukso-image/index.js';
15
- import '../../index-15b30335.js';
15
+ import '../../index-6349a8aa.js';
16
16
  import '../../tailwind-config.js';
17
17
  import '../../cn-b54dcc61.js';
18
18
 
@@ -2,20 +2,20 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-89eb56eb.cjs');
5
+ const shared_tailwindElement_index = require('../../index-8ccda1e9.cjs');
6
6
  const queryAssignedElements = require('../../query-assigned-elements-d5e45650.cjs');
7
7
  const state = require('../../state-d9fb972b.cjs');
8
8
  const index = require('../../index-1d3f4a5a.cjs');
9
9
  require('../lukso-icon/index.cjs');
10
10
  require('../lukso-profile/index.cjs');
11
11
  require('../lukso-username/index.cjs');
12
- const components_luksoDropdown_index = require('../../index-1ce46c50.cjs');
12
+ const components_luksoDropdown_index = require('../../index-474fac60.cjs');
13
13
  require('../lukso-dropdown-option/index.cjs');
14
14
  require('../../bundle-mjs-d58a83c6.cjs');
15
- require('../../style-map-3dd58f82.cjs');
15
+ require('../../style-map-12def811.cjs');
16
16
  require('../../directive-8278ab14.cjs');
17
17
  require('../lukso-image/index.cjs');
18
- require('../../index-b9bc3bbb.cjs');
18
+ require('../../index-17879e5a.cjs');
19
19
  require('../../tailwind-config.cjs');
20
20
  require('../../cn-5ceac001.cjs');
21
21
 
@@ -33,84 +33,84 @@ var __decorateClass = (decorators, target, key, kind) => {
33
33
  return result;
34
34
  };
35
35
  exports.LuksoSelect = class LuksoSelect extends shared_tailwindElement_index.TailwindStyledElement(style) {
36
- value = "";
37
- placeholder = "";
38
- label = "";
39
- id = "";
40
- description = "";
41
- error = "";
42
- isFullWidth = false;
43
- isReadonly = false;
44
- isDisabled = false;
45
- borderless = false;
46
- options = "";
47
- selected = void 0;
48
- isOpen = false;
49
- openTop = false;
50
- isLargeIcon = false;
51
- isRight = false;
52
- size = "medium";
53
- showSelectionCounter = false;
54
- optionsParsed = [];
55
- valueParsed = void 0;
56
36
  constructor() {
57
37
  super();
58
- if (!this.id) {
59
- this.id = components_luksoDropdown_index.uniqId();
60
- }
61
- }
62
- inputStyles = index.ce({
63
- base: `bg-neutral-100
38
+ this.value = "";
39
+ this.placeholder = "";
40
+ this.label = "";
41
+ this.id = "";
42
+ this.description = "";
43
+ this.error = "";
44
+ this.isFullWidth = false;
45
+ this.isReadonly = false;
46
+ this.isDisabled = false;
47
+ this.borderless = false;
48
+ this.options = "";
49
+ this.selected = void 0;
50
+ this.isOpen = false;
51
+ this.openTop = false;
52
+ this.isLargeIcon = false;
53
+ this.isRight = false;
54
+ this.size = "medium";
55
+ this.showSelectionCounter = false;
56
+ this.optionsParsed = [];
57
+ this.valueParsed = void 0;
58
+ this.inputStyles = index.ce({
59
+ base: `bg-neutral-100
64
60
  border border-solid placeholder:text-neutral-70 select-none whitespace-nowrap
65
61
  outline-none transition transition-all duration-150 appearance-none
66
62
  text-neutral-20 cursor-pointer border-neutral-90 group-hover:border-neutral-35
67
63
  flex items-center`,
68
- variants: {
69
- isFullWidth: {
70
- true: "w-full"
71
- },
72
- isDisabled: {
73
- true: "cursor-not-allowed text-neutral-60 group-hover:border-neutral-90"
74
- },
75
- hasError: {
76
- true: "border-red-85 group-hover:border-red-65"
77
- },
78
- borderless: {
79
- true: "border-0"
80
- },
81
- size: {
82
- small: "h-[28px] px-3 py-2 pr-8 paragraph-inter-12-regular rounded-8",
83
- medium: "h-[48px] px-4 py-3 pr-11 paragraph-inter-14-regular rounded-12"
64
+ variants: {
65
+ isFullWidth: {
66
+ true: "w-full"
67
+ },
68
+ isDisabled: {
69
+ true: "cursor-not-allowed text-neutral-60 group-hover:border-neutral-90"
70
+ },
71
+ hasError: {
72
+ true: "border-red-85 group-hover:border-red-65"
73
+ },
74
+ borderless: {
75
+ true: "border-0"
76
+ },
77
+ size: {
78
+ small: "h-[28px] px-3 py-2 pr-8 paragraph-inter-12-regular rounded-8",
79
+ medium: "h-[48px] px-4 py-3 pr-11 paragraph-inter-14-regular rounded-12"
80
+ }
84
81
  }
85
- }
86
- });
87
- counterStyles = index.ce({
88
- base: "border border-neutral-20",
89
- variants: {
90
- isDisabled: {
91
- true: "opacity-60 cursor-not-allowed"
92
- },
93
- size: {
94
- small: "paragraph-inter-10-semi-bold rounded-4 py-[1px] px-[5px] ml-1.5",
95
- medium: "paragraph-inter-14-semi-bold rounded-8 py-[2px] px-[10px] ml-3"
82
+ });
83
+ this.counterStyles = index.ce({
84
+ base: "border border-neutral-20",
85
+ variants: {
86
+ isDisabled: {
87
+ true: "opacity-60 cursor-not-allowed"
88
+ },
89
+ size: {
90
+ small: "paragraph-inter-10-semi-bold rounded-4 py-[1px] px-[5px] ml-1.5",
91
+ medium: "paragraph-inter-14-semi-bold rounded-8 py-[2px] px-[10px] ml-3"
92
+ }
96
93
  }
97
- }
98
- });
99
- iconStyles = index.ce({
100
- base: "absolute right-0 transition cursor-pointer",
101
- variants: {
102
- isDisabled: {
103
- true: "opacity-60 cursor-not-allowed"
104
- },
105
- isOpen: {
106
- true: "rotate-180"
107
- },
108
- size: {
109
- small: "mr-2",
110
- medium: "mr-3"
94
+ });
95
+ this.iconStyles = index.ce({
96
+ base: "absolute right-0 transition cursor-pointer",
97
+ variants: {
98
+ isDisabled: {
99
+ true: "opacity-60 cursor-not-allowed"
100
+ },
101
+ isOpen: {
102
+ true: "rotate-180"
103
+ },
104
+ size: {
105
+ small: "mr-2",
106
+ medium: "mr-3"
107
+ }
111
108
  }
109
+ });
110
+ if (!this.id) {
111
+ this.id = components_luksoDropdown_index.uniqId();
112
112
  }
113
- });
113
+ }
114
114
  connectedCallback() {
115
115
  super.connectedCallback();
116
116
  window.addEventListener("click", this.handleOutsideDropdownClick.bind(this));
@@ -1,17 +1,17 @@
1
- import { T as TailwindStyledElement, x, A } from '../../index-c154a31c.js';
1
+ import { T as TailwindStyledElement, x, A } from '../../index-d89cc6bc.js';
2
2
  import { n, e } from '../../query-assigned-elements-1c8c9e90.js';
3
3
  import { t } from '../../state-b9ca4e74.js';
4
4
  import { c as ce } from '../../index-ca8e900d.js';
5
5
  import '../lukso-icon/index.js';
6
6
  import '../lukso-profile/index.js';
7
7
  import '../lukso-username/index.js';
8
- import { u as uniqId } from '../../index-f62a47db.js';
8
+ import { u as uniqId } from '../../index-7e82dcae.js';
9
9
  import '../lukso-dropdown-option/index.js';
10
10
  import '../../bundle-mjs-fbc6e2a8.js';
11
- import '../../style-map-d46cc789.js';
11
+ import '../../style-map-cf4f4350.js';
12
12
  import '../../directive-2bb7789e.js';
13
13
  import '../lukso-image/index.js';
14
- import '../../index-15b30335.js';
14
+ import '../../index-6349a8aa.js';
15
15
  import '../../tailwind-config.js';
16
16
  import '../../cn-b54dcc61.js';
17
17
 
@@ -29,84 +29,84 @@ var __decorateClass = (decorators, target, key, kind) => {
29
29
  return result;
30
30
  };
31
31
  let LuksoSelect = class extends TailwindStyledElement(style) {
32
- value = "";
33
- placeholder = "";
34
- label = "";
35
- id = "";
36
- description = "";
37
- error = "";
38
- isFullWidth = false;
39
- isReadonly = false;
40
- isDisabled = false;
41
- borderless = false;
42
- options = "";
43
- selected = void 0;
44
- isOpen = false;
45
- openTop = false;
46
- isLargeIcon = false;
47
- isRight = false;
48
- size = "medium";
49
- showSelectionCounter = false;
50
- optionsParsed = [];
51
- valueParsed = void 0;
52
32
  constructor() {
53
33
  super();
54
- if (!this.id) {
55
- this.id = uniqId();
56
- }
57
- }
58
- inputStyles = ce({
59
- base: `bg-neutral-100
34
+ this.value = "";
35
+ this.placeholder = "";
36
+ this.label = "";
37
+ this.id = "";
38
+ this.description = "";
39
+ this.error = "";
40
+ this.isFullWidth = false;
41
+ this.isReadonly = false;
42
+ this.isDisabled = false;
43
+ this.borderless = false;
44
+ this.options = "";
45
+ this.selected = void 0;
46
+ this.isOpen = false;
47
+ this.openTop = false;
48
+ this.isLargeIcon = false;
49
+ this.isRight = false;
50
+ this.size = "medium";
51
+ this.showSelectionCounter = false;
52
+ this.optionsParsed = [];
53
+ this.valueParsed = void 0;
54
+ this.inputStyles = ce({
55
+ base: `bg-neutral-100
60
56
  border border-solid placeholder:text-neutral-70 select-none whitespace-nowrap
61
57
  outline-none transition transition-all duration-150 appearance-none
62
58
  text-neutral-20 cursor-pointer border-neutral-90 group-hover:border-neutral-35
63
59
  flex items-center`,
64
- variants: {
65
- isFullWidth: {
66
- true: "w-full"
67
- },
68
- isDisabled: {
69
- true: "cursor-not-allowed text-neutral-60 group-hover:border-neutral-90"
70
- },
71
- hasError: {
72
- true: "border-red-85 group-hover:border-red-65"
73
- },
74
- borderless: {
75
- true: "border-0"
76
- },
77
- size: {
78
- small: "h-[28px] px-3 py-2 pr-8 paragraph-inter-12-regular rounded-8",
79
- medium: "h-[48px] px-4 py-3 pr-11 paragraph-inter-14-regular rounded-12"
60
+ variants: {
61
+ isFullWidth: {
62
+ true: "w-full"
63
+ },
64
+ isDisabled: {
65
+ true: "cursor-not-allowed text-neutral-60 group-hover:border-neutral-90"
66
+ },
67
+ hasError: {
68
+ true: "border-red-85 group-hover:border-red-65"
69
+ },
70
+ borderless: {
71
+ true: "border-0"
72
+ },
73
+ size: {
74
+ small: "h-[28px] px-3 py-2 pr-8 paragraph-inter-12-regular rounded-8",
75
+ medium: "h-[48px] px-4 py-3 pr-11 paragraph-inter-14-regular rounded-12"
76
+ }
80
77
  }
81
- }
82
- });
83
- counterStyles = ce({
84
- base: "border border-neutral-20",
85
- variants: {
86
- isDisabled: {
87
- true: "opacity-60 cursor-not-allowed"
88
- },
89
- size: {
90
- small: "paragraph-inter-10-semi-bold rounded-4 py-[1px] px-[5px] ml-1.5",
91
- medium: "paragraph-inter-14-semi-bold rounded-8 py-[2px] px-[10px] ml-3"
78
+ });
79
+ this.counterStyles = ce({
80
+ base: "border border-neutral-20",
81
+ variants: {
82
+ isDisabled: {
83
+ true: "opacity-60 cursor-not-allowed"
84
+ },
85
+ size: {
86
+ small: "paragraph-inter-10-semi-bold rounded-4 py-[1px] px-[5px] ml-1.5",
87
+ medium: "paragraph-inter-14-semi-bold rounded-8 py-[2px] px-[10px] ml-3"
88
+ }
92
89
  }
93
- }
94
- });
95
- iconStyles = ce({
96
- base: "absolute right-0 transition cursor-pointer",
97
- variants: {
98
- isDisabled: {
99
- true: "opacity-60 cursor-not-allowed"
100
- },
101
- isOpen: {
102
- true: "rotate-180"
103
- },
104
- size: {
105
- small: "mr-2",
106
- medium: "mr-3"
90
+ });
91
+ this.iconStyles = ce({
92
+ base: "absolute right-0 transition cursor-pointer",
93
+ variants: {
94
+ isDisabled: {
95
+ true: "opacity-60 cursor-not-allowed"
96
+ },
97
+ isOpen: {
98
+ true: "rotate-180"
99
+ },
100
+ size: {
101
+ small: "mr-2",
102
+ medium: "mr-3"
103
+ }
107
104
  }
105
+ });
106
+ if (!this.id) {
107
+ this.id = uniqId();
108
108
  }
109
- });
109
+ }
110
110
  connectedCallback() {
111
111
  super.connectedCallback();
112
112
  window.addEventListener("click", this.handleOutsideDropdownClick.bind(this));
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-89eb56eb.cjs');
5
+ const shared_tailwindElement_index = require('../../index-8ccda1e9.cjs');
6
6
  const queryAssignedElements = require('../../query-assigned-elements-d5e45650.cjs');
7
7
 
8
8
  const style = ":host {\n display: inline-flex\n}";
@@ -19,28 +19,31 @@ var __decorateClass = (decorators, target, key, kind) => {
19
19
  return result;
20
20
  };
21
21
  exports.LuksoShare = class LuksoShare extends shared_tailwindElement_index.TailwindStyledElement(style) {
22
- customStyle = "";
23
- providers = "";
24
- defaultProviders = [
25
- "twitter",
26
- "instagram",
27
- "linkedin",
28
- "telegram",
29
- "discord",
30
- "reddit",
31
- "medium",
32
- "github"
33
- ];
34
- defaultProviderLinks = {
35
- twitter: "https://twitter.com/ERC725Account",
36
- instagram: "https://www.instagram.com/lukso",
37
- linkedin: "https://linkedin.com/company/lukso",
38
- telegram: "https://t.me/LUKSO_News",
39
- discord: "https://discord.gg/lukso",
40
- reddit: "https://www.reddit.com/r/lukso",
41
- medium: "https://medium.com/lukso",
42
- github: "https://github.com/lukso-network"
43
- };
22
+ constructor() {
23
+ super(...arguments);
24
+ this.customStyle = "";
25
+ this.providers = "";
26
+ this.defaultProviders = [
27
+ "twitter",
28
+ "instagram",
29
+ "linkedin",
30
+ "telegram",
31
+ "discord",
32
+ "reddit",
33
+ "medium",
34
+ "github"
35
+ ];
36
+ this.defaultProviderLinks = {
37
+ twitter: "https://twitter.com/ERC725Account",
38
+ instagram: "https://www.instagram.com/lukso",
39
+ linkedin: "https://linkedin.com/company/lukso",
40
+ telegram: "https://t.me/LUKSO_News",
41
+ discord: "https://discord.gg/lukso",
42
+ reddit: "https://www.reddit.com/r/lukso",
43
+ medium: "https://medium.com/lukso",
44
+ github: "https://github.com/lukso-network"
45
+ };
46
+ }
44
47
  linkTemplate(name, url) {
45
48
  return shared_tailwindElement_index.x`<a
46
49
  href=${url}
@@ -1,4 +1,4 @@
1
- import { T as TailwindStyledElement, x } from '../../index-c154a31c.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-d89cc6bc.js';
2
2
  import { n, e } from '../../query-assigned-elements-1c8c9e90.js';
3
3
 
4
4
  const style = ":host {\n display: inline-flex\n}";
@@ -15,28 +15,31 @@ var __decorateClass = (decorators, target, key, kind) => {
15
15
  return result;
16
16
  };
17
17
  let LuksoShare = class extends TailwindStyledElement(style) {
18
- customStyle = "";
19
- providers = "";
20
- defaultProviders = [
21
- "twitter",
22
- "instagram",
23
- "linkedin",
24
- "telegram",
25
- "discord",
26
- "reddit",
27
- "medium",
28
- "github"
29
- ];
30
- defaultProviderLinks = {
31
- twitter: "https://twitter.com/ERC725Account",
32
- instagram: "https://www.instagram.com/lukso",
33
- linkedin: "https://linkedin.com/company/lukso",
34
- telegram: "https://t.me/LUKSO_News",
35
- discord: "https://discord.gg/lukso",
36
- reddit: "https://www.reddit.com/r/lukso",
37
- medium: "https://medium.com/lukso",
38
- github: "https://github.com/lukso-network"
39
- };
18
+ constructor() {
19
+ super(...arguments);
20
+ this.customStyle = "";
21
+ this.providers = "";
22
+ this.defaultProviders = [
23
+ "twitter",
24
+ "instagram",
25
+ "linkedin",
26
+ "telegram",
27
+ "discord",
28
+ "reddit",
29
+ "medium",
30
+ "github"
31
+ ];
32
+ this.defaultProviderLinks = {
33
+ twitter: "https://twitter.com/ERC725Account",
34
+ instagram: "https://www.instagram.com/lukso",
35
+ linkedin: "https://linkedin.com/company/lukso",
36
+ telegram: "https://t.me/LUKSO_News",
37
+ discord: "https://discord.gg/lukso",
38
+ reddit: "https://www.reddit.com/r/lukso",
39
+ medium: "https://medium.com/lukso",
40
+ github: "https://github.com/lukso-network"
41
+ };
42
+ }
40
43
  linkTemplate(name, url) {
41
44
  return x`<a
42
45
  href=${url}
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-89eb56eb.cjs');
5
+ const shared_tailwindElement_index = require('../../index-8ccda1e9.cjs');
6
6
  const queryAssignedElements = require('../../query-assigned-elements-d5e45650.cjs');
7
- const styleMap = require('../../style-map-3dd58f82.cjs');
7
+ const styleMap = require('../../style-map-12def811.cjs');
8
8
  const index = require('../../index-e9668573.cjs');
9
9
  require('../../directive-8278ab14.cjs');
10
10
 
@@ -20,9 +20,14 @@ var __decorateClass = (decorators, target, key, kind) => {
20
20
  return result;
21
21
  };
22
22
  exports.LuksoSwitch = class LuksoSwitch extends shared_tailwindElement_index.TailwindElement {
23
- color = "green-54";
24
- isChecked = false;
25
- isDisabled = false;
23
+ constructor() {
24
+ super(...arguments);
25
+ this.color = "green-54";
26
+ this.isChecked = false;
27
+ this.isDisabled = false;
28
+ this.defaultLabelStyles = `transition duration-300 ease-in block h-6 overflow-hidden rounded-full relative inline-block w-10`;
29
+ this.defaultInputStyles = `absolute block w-6 h-6 rounded-full bg-white border-2 appearance-none transition duration-300 ease-in`;
30
+ }
26
31
  async handleChange(event) {
27
32
  const target = event.target;
28
33
  this.isChecked = target.checked;
@@ -37,8 +42,6 @@ exports.LuksoSwitch = class LuksoSwitch extends shared_tailwindElement_index.Tai
37
42
  });
38
43
  this.dispatchEvent(changeEvent);
39
44
  }
40
- defaultLabelStyles = `transition duration-300 ease-in block h-6 overflow-hidden rounded-full relative inline-block w-10`;
41
- defaultInputStyles = `absolute block w-6 h-6 rounded-full bg-white border-2 appearance-none transition duration-300 ease-in`;
42
45
  render() {
43
46
  return shared_tailwindElement_index.x`
44
47
  <label
@@ -1,6 +1,6 @@
1
- import { a as TailwindElement, x } from '../../index-c154a31c.js';
1
+ import { a as TailwindElement, x } from '../../index-d89cc6bc.js';
2
2
  import { n, e } from '../../query-assigned-elements-1c8c9e90.js';
3
- import { o } from '../../style-map-d46cc789.js';
3
+ import { o } from '../../style-map-cf4f4350.js';
4
4
  import { c as customClassMap } from '../../index-5e194caf.js';
5
5
  import '../../directive-2bb7789e.js';
6
6
 
@@ -16,9 +16,14 @@ var __decorateClass = (decorators, target, key, kind) => {
16
16
  return result;
17
17
  };
18
18
  let LuksoSwitch = class extends TailwindElement {
19
- color = "green-54";
20
- isChecked = false;
21
- isDisabled = false;
19
+ constructor() {
20
+ super(...arguments);
21
+ this.color = "green-54";
22
+ this.isChecked = false;
23
+ this.isDisabled = false;
24
+ this.defaultLabelStyles = `transition duration-300 ease-in block h-6 overflow-hidden rounded-full relative inline-block w-10`;
25
+ this.defaultInputStyles = `absolute block w-6 h-6 rounded-full bg-white border-2 appearance-none transition duration-300 ease-in`;
26
+ }
22
27
  async handleChange(event) {
23
28
  const target = event.target;
24
29
  this.isChecked = target.checked;
@@ -33,8 +38,6 @@ let LuksoSwitch = class extends TailwindElement {
33
38
  });
34
39
  this.dispatchEvent(changeEvent);
35
40
  }
36
- defaultLabelStyles = `transition duration-300 ease-in block h-6 overflow-hidden rounded-full relative inline-block w-10`;
37
- defaultInputStyles = `absolute block w-6 h-6 rounded-full bg-white border-2 appearance-none transition duration-300 ease-in`;
38
41
  render() {
39
42
  return x`
40
43
  <label