@lukso/web-components 1.128.0 → 1.130.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 (92) hide show
  1. package/dist/components/index.cjs +6 -6
  2. package/dist/components/index.js +6 -6
  3. package/dist/components/lukso-button/index.cjs +3 -3
  4. package/dist/components/lukso-button/index.js +3 -3
  5. package/dist/components/lukso-card/index.cjs +6 -6
  6. package/dist/components/lukso-card/index.js +6 -6
  7. package/dist/components/lukso-checkbox/index.cjs +3 -3
  8. package/dist/components/lukso-checkbox/index.js +3 -3
  9. package/dist/components/lukso-color-picker/index.cjs +6 -5
  10. package/dist/components/lukso-color-picker/index.d.ts.map +1 -1
  11. package/dist/components/lukso-color-picker/index.js +6 -5
  12. package/dist/components/lukso-dropdown/index.cjs +8 -14
  13. package/dist/components/lukso-dropdown/index.d.ts +1 -1
  14. package/dist/components/lukso-dropdown/index.d.ts.map +1 -1
  15. package/dist/components/lukso-dropdown/index.js +8 -14
  16. package/dist/components/lukso-dropdown-option/index.cjs +3 -9
  17. package/dist/components/lukso-dropdown-option/index.d.ts +1 -1
  18. package/dist/components/lukso-dropdown-option/index.d.ts.map +1 -1
  19. package/dist/components/lukso-dropdown-option/index.js +3 -9
  20. package/dist/components/lukso-footer/index.cjs +2 -2
  21. package/dist/components/lukso-footer/index.js +2 -2
  22. package/dist/components/lukso-icon/index.cjs +3 -3
  23. package/dist/components/lukso-icon/index.js +3 -3
  24. package/dist/components/lukso-image/index.cjs +4 -4
  25. package/dist/components/lukso-image/index.js +4 -4
  26. package/dist/components/lukso-input/index.cjs +18 -17
  27. package/dist/components/lukso-input/index.d.ts +1 -1
  28. package/dist/components/lukso-input/index.d.ts.map +1 -1
  29. package/dist/components/lukso-input/index.js +18 -17
  30. package/dist/components/lukso-input/lukso-input.stories.d.ts.map +1 -1
  31. package/dist/components/lukso-modal/index.cjs +14 -10
  32. package/dist/components/lukso-modal/index.d.ts.map +1 -1
  33. package/dist/components/lukso-modal/index.js +14 -10
  34. package/dist/components/lukso-navbar/index.cjs +5 -5
  35. package/dist/components/lukso-navbar/index.js +5 -5
  36. package/dist/components/lukso-pagination/index.cjs +4 -4
  37. package/dist/components/lukso-pagination/index.js +4 -4
  38. package/dist/components/lukso-profile/index.cjs +5 -5
  39. package/dist/components/lukso-profile/index.js +5 -5
  40. package/dist/components/lukso-progress/index.cjs +3 -3
  41. package/dist/components/lukso-progress/index.js +3 -3
  42. package/dist/components/lukso-sanitize/index.cjs +2 -2
  43. package/dist/components/lukso-sanitize/index.js +2 -2
  44. package/dist/components/lukso-search/index.cjs +64 -21
  45. package/dist/components/lukso-search/index.d.ts +11 -3
  46. package/dist/components/lukso-search/index.d.ts.map +1 -1
  47. package/dist/components/lukso-search/index.js +64 -21
  48. package/dist/components/lukso-search/lukso-search.stories.d.ts +1 -0
  49. package/dist/components/lukso-search/lukso-search.stories.d.ts.map +1 -1
  50. package/dist/components/lukso-select/index.cjs +76 -75
  51. package/dist/components/lukso-select/index.d.ts.map +1 -1
  52. package/dist/components/lukso-select/index.js +76 -75
  53. package/dist/components/lukso-share/index.cjs +24 -27
  54. package/dist/components/lukso-share/index.js +24 -27
  55. package/dist/components/lukso-switch/index.cjs +52 -51
  56. package/dist/components/lukso-switch/index.d.ts.map +1 -1
  57. package/dist/components/lukso-switch/index.js +52 -51
  58. package/dist/components/lukso-tag/index.cjs +32 -35
  59. package/dist/components/lukso-tag/index.js +32 -35
  60. package/dist/components/lukso-terms/index.cjs +7 -10
  61. package/dist/components/lukso-terms/index.js +7 -10
  62. package/dist/components/lukso-test/index.cjs +13 -16
  63. package/dist/components/lukso-test/index.js +13 -16
  64. package/dist/components/lukso-textarea/index.cjs +85 -87
  65. package/dist/components/lukso-textarea/index.d.ts.map +1 -1
  66. package/dist/components/lukso-textarea/index.js +85 -87
  67. package/dist/components/lukso-tooltip/index.cjs +35 -38
  68. package/dist/components/lukso-tooltip/index.js +35 -38
  69. package/dist/components/lukso-username/index.cjs +50 -53
  70. package/dist/components/lukso-username/index.js +50 -53
  71. package/dist/components/lukso-wizard/index.cjs +42 -45
  72. package/dist/components/lukso-wizard/index.js +42 -45
  73. package/dist/{index-323568a1.js → index-11b4b329.js} +1 -1
  74. package/dist/index-1fd569a9.cjs +46 -0
  75. package/dist/{index-541282c1.cjs → index-2f5d5d79.cjs} +2 -2
  76. package/dist/index-82b4fdeb.js +37 -0
  77. package/dist/{index-664bbe9a.cjs → index-8eb2e6d8.cjs} +1 -1
  78. package/dist/{index-efc0c2e6.js → index-de036f63.js} +2 -2
  79. package/dist/index.cjs +6 -6
  80. package/dist/index.js +6 -6
  81. package/dist/{property-cba034d3.cjs → property-7a90cede.cjs} +1 -1
  82. package/dist/{property-6d71df6f.js → property-cfc5fabd.js} +1 -1
  83. package/dist/shared/tailwind-element/index.cjs +1 -1
  84. package/dist/shared/tailwind-element/index.js +1 -1
  85. package/dist/{state-dd655282.cjs → state-09b048f8.cjs} +1 -1
  86. package/dist/{state-a4d47754.js → state-1aaee2b7.js} +1 -1
  87. package/dist/{style-map-41455c7b.cjs → style-map-2abffb39.cjs} +1 -1
  88. package/dist/{style-map-745a1d23.js → style-map-c8670fc8.js} +1 -1
  89. package/package.json +1 -1
  90. package/tools/sass/colors.scss +1 -0
  91. package/dist/index-4145c314.cjs +0 -48
  92. package/dist/index-a09c053e.js +0 -39
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-4145c314.cjs');
6
- const property = require('../../property-cba034d3.cjs');
5
+ const shared_tailwindElement_index = require('../../index-1fd569a9.cjs');
6
+ const property = require('../../property-7a90cede.cjs');
7
7
 
8
8
  const style = ":host {\n display: inline-flex\n}";
9
9
 
@@ -19,31 +19,28 @@ 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
- 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
- }
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
+ };
47
44
  linkTemplate(name, url) {
48
45
  return shared_tailwindElement_index.x`<a
49
46
  href=${url}
@@ -1,5 +1,5 @@
1
- import { T as TailwindStyledElement, x } from '../../index-a09c053e.js';
2
- import { n, t } from '../../property-6d71df6f.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-82b4fdeb.js';
2
+ import { n, t } from '../../property-cfc5fabd.js';
3
3
 
4
4
  const style = ":host {\n display: inline-flex\n}";
5
5
 
@@ -15,31 +15,28 @@ var __decorateClass = (decorators, target, key, kind) => {
15
15
  return result;
16
16
  };
17
17
  let LuksoShare = class extends TailwindStyledElement(style) {
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
- }
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
+ };
43
40
  linkTemplate(name, url) {
44
41
  return x`<a
45
42
  href=${url}
@@ -2,11 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-4145c314.cjs');
6
- const property = require('../../property-cba034d3.cjs');
7
- const styleMap = require('../../style-map-41455c7b.cjs');
5
+ const shared_tailwindElement_index = require('../../index-1fd569a9.cjs');
6
+ const property = require('../../property-7a90cede.cjs');
7
+ const styleMap = require('../../style-map-2abffb39.cjs');
8
8
  const index = require('../../index-2b104ecb.cjs');
9
9
  const uniqId = require('../../uniq-id-f0b18085.cjs');
10
+ require('../lukso-sanitize/index.cjs');
10
11
  require('../../directive-8278ab14.cjs');
11
12
 
12
13
  var __defProp = Object.defineProperty;
@@ -22,53 +23,14 @@ var __decorateClass = (decorators, target, key, kind) => {
22
23
  };
23
24
  const DEFAULT_COLOR = "green-54";
24
25
  exports.LuksoSwitch = class LuksoSwitch extends shared_tailwindElement_index.TailwindElement {
25
- constructor() {
26
- super();
27
- this.color = DEFAULT_COLOR;
28
- this.id = "";
29
- this.name = "switch";
30
- this.label = "";
31
- this.description = "";
32
- this.error = "";
33
- this.isChecked = false;
34
- this.isDisabled = false;
35
- this.styles = index.ce({
36
- slots: {
37
- label: "transition duration-300 ease-in block h-6 overflow-hidden rounded-full relative inline-block w-10",
38
- input: "absolute block w-6 h-6 rounded-full bg-white border-2 appearance-none transition duration-300 ease-in"
39
- },
40
- variants: {
41
- isChecked: {
42
- true: {
43
- input: "translate-x-4"
44
- },
45
- false: {
46
- label: "bg-neutral-90",
47
- input: "border-neutral-90"
48
- }
49
- },
50
- isDisabled: {
51
- true: {
52
- label: "opacity-70 cursor-not-allowed",
53
- input: "cursor-not-allowed"
54
- },
55
- false: {
56
- label: "cursor-pointer",
57
- input: "cursor-pointer"
58
- }
59
- },
60
- hasError: {
61
- true: {
62
- label: "!bg-red-65",
63
- input: "!border-red-65"
64
- }
65
- }
66
- }
67
- });
68
- if (!this.id) {
69
- this.id = `switch-${uniqId.uniqId()}`;
70
- }
71
- }
26
+ color = DEFAULT_COLOR;
27
+ id = "";
28
+ name = "switch";
29
+ label = "";
30
+ description = "";
31
+ error = "";
32
+ isChecked = false;
33
+ isDisabled = false;
72
34
  async handleChange(event) {
73
35
  const target = event.target;
74
36
  await this.updateComplete;
@@ -82,6 +44,45 @@ exports.LuksoSwitch = class LuksoSwitch extends shared_tailwindElement_index.Tai
82
44
  });
83
45
  this.dispatchEvent(changeEvent);
84
46
  }
47
+ constructor() {
48
+ super();
49
+ if (!this.id) {
50
+ this.id = `switch-${uniqId.uniqId()}`;
51
+ }
52
+ }
53
+ styles = index.ce({
54
+ slots: {
55
+ label: "transition duration-300 ease-in block h-6 overflow-hidden rounded-full relative inline-block w-10",
56
+ input: "absolute block w-6 h-6 rounded-full bg-white border-2 appearance-none transition duration-300 ease-in"
57
+ },
58
+ variants: {
59
+ isChecked: {
60
+ true: {
61
+ input: "translate-x-4"
62
+ },
63
+ false: {
64
+ label: "bg-neutral-90",
65
+ input: "border-neutral-90"
66
+ }
67
+ },
68
+ isDisabled: {
69
+ true: {
70
+ label: "opacity-70 cursor-not-allowed",
71
+ input: "cursor-not-allowed"
72
+ },
73
+ false: {
74
+ label: "cursor-pointer",
75
+ input: "cursor-pointer"
76
+ }
77
+ },
78
+ hasError: {
79
+ true: {
80
+ label: "!bg-red-65",
81
+ input: "!border-red-65"
82
+ }
83
+ }
84
+ }
85
+ });
85
86
  labelTemplate() {
86
87
  return shared_tailwindElement_index.x`
87
88
  <div
@@ -93,7 +94,7 @@ exports.LuksoSwitch = class LuksoSwitch extends shared_tailwindElement_index.Tai
93
94
  descriptionTemplate() {
94
95
  return shared_tailwindElement_index.x`
95
96
  <div class="paragraph-inter-12-regular text-neutral-20 pb-2">
96
- ${this.description ?? shared_tailwindElement_index.E}
97
+ <lukso-sanitize html-content=${this.description}></lukso-sanitize>
97
98
  </div>
98
99
  `;
99
100
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-switch/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAI3D,qBACa,WAAY,SAAQ,eAAe;IAE9C,KAAK,SAAgB;IAGrB,EAAE,SAAK;IAGP,IAAI,SAAW;IAGf,KAAK,SAAK;IAGV,WAAW,SAAK;IAGhB,KAAK,SAAK;IAGV,SAAS,UAAQ;IAMjB,UAAU,UAAQ;YAEJ,YAAY;;IAsB1B,OAAO,CAAC,MAAM,CAkCZ;IAEF,aAAa;IASb,mBAAmB;IAQnB,aAAa;IAMb,MAAM;CA4CP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAA;KAC5B;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-switch/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAC3D,OAAO,6BAA6B,CAAA;AAIpC,qBACa,WAAY,SAAQ,eAAe;IAE9C,KAAK,SAAgB;IAGrB,EAAE,SAAK;IAGP,IAAI,SAAW;IAGf,KAAK,SAAK;IAGV,WAAW,SAAK;IAGhB,KAAK,SAAK;IAGV,SAAS,UAAQ;IAMjB,UAAU,UAAQ;YAEJ,YAAY;;IAsB1B,OAAO,CAAC,MAAM,CAkCZ;IAEF,aAAa;IASb,mBAAmB;IAQnB,aAAa;IAMb,MAAM;CA4CP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAA;KAC5B;CACF"}
@@ -1,8 +1,9 @@
1
- import { a as TailwindElement, x, E } from '../../index-a09c053e.js';
2
- import { n, t } from '../../property-6d71df6f.js';
3
- import { o } from '../../style-map-745a1d23.js';
1
+ import { a as TailwindElement, x, E } from '../../index-82b4fdeb.js';
2
+ import { n, t } from '../../property-cfc5fabd.js';
3
+ import { o } from '../../style-map-c8670fc8.js';
4
4
  import { c as ce } from '../../index-d14b6a34.js';
5
5
  import { u as uniqId } from '../../uniq-id-ce2d165c.js';
6
+ import '../lukso-sanitize/index.js';
6
7
  import '../../directive-2bb7789e.js';
7
8
 
8
9
  var __defProp = Object.defineProperty;
@@ -18,53 +19,14 @@ var __decorateClass = (decorators, target, key, kind) => {
18
19
  };
19
20
  const DEFAULT_COLOR = "green-54";
20
21
  let LuksoSwitch = class extends TailwindElement {
21
- constructor() {
22
- super();
23
- this.color = DEFAULT_COLOR;
24
- this.id = "";
25
- this.name = "switch";
26
- this.label = "";
27
- this.description = "";
28
- this.error = "";
29
- this.isChecked = false;
30
- this.isDisabled = false;
31
- this.styles = ce({
32
- slots: {
33
- label: "transition duration-300 ease-in block h-6 overflow-hidden rounded-full relative inline-block w-10",
34
- input: "absolute block w-6 h-6 rounded-full bg-white border-2 appearance-none transition duration-300 ease-in"
35
- },
36
- variants: {
37
- isChecked: {
38
- true: {
39
- input: "translate-x-4"
40
- },
41
- false: {
42
- label: "bg-neutral-90",
43
- input: "border-neutral-90"
44
- }
45
- },
46
- isDisabled: {
47
- true: {
48
- label: "opacity-70 cursor-not-allowed",
49
- input: "cursor-not-allowed"
50
- },
51
- false: {
52
- label: "cursor-pointer",
53
- input: "cursor-pointer"
54
- }
55
- },
56
- hasError: {
57
- true: {
58
- label: "!bg-red-65",
59
- input: "!border-red-65"
60
- }
61
- }
62
- }
63
- });
64
- if (!this.id) {
65
- this.id = `switch-${uniqId()}`;
66
- }
67
- }
22
+ color = DEFAULT_COLOR;
23
+ id = "";
24
+ name = "switch";
25
+ label = "";
26
+ description = "";
27
+ error = "";
28
+ isChecked = false;
29
+ isDisabled = false;
68
30
  async handleChange(event) {
69
31
  const target = event.target;
70
32
  await this.updateComplete;
@@ -78,6 +40,45 @@ let LuksoSwitch = class extends TailwindElement {
78
40
  });
79
41
  this.dispatchEvent(changeEvent);
80
42
  }
43
+ constructor() {
44
+ super();
45
+ if (!this.id) {
46
+ this.id = `switch-${uniqId()}`;
47
+ }
48
+ }
49
+ styles = ce({
50
+ slots: {
51
+ label: "transition duration-300 ease-in block h-6 overflow-hidden rounded-full relative inline-block w-10",
52
+ input: "absolute block w-6 h-6 rounded-full bg-white border-2 appearance-none transition duration-300 ease-in"
53
+ },
54
+ variants: {
55
+ isChecked: {
56
+ true: {
57
+ input: "translate-x-4"
58
+ },
59
+ false: {
60
+ label: "bg-neutral-90",
61
+ input: "border-neutral-90"
62
+ }
63
+ },
64
+ isDisabled: {
65
+ true: {
66
+ label: "opacity-70 cursor-not-allowed",
67
+ input: "cursor-not-allowed"
68
+ },
69
+ false: {
70
+ label: "cursor-pointer",
71
+ input: "cursor-pointer"
72
+ }
73
+ },
74
+ hasError: {
75
+ true: {
76
+ label: "!bg-red-65",
77
+ input: "!border-red-65"
78
+ }
79
+ }
80
+ }
81
+ });
81
82
  labelTemplate() {
82
83
  return x`
83
84
  <div
@@ -89,7 +90,7 @@ let LuksoSwitch = class extends TailwindElement {
89
90
  descriptionTemplate() {
90
91
  return x`
91
92
  <div class="paragraph-inter-12-regular text-neutral-20 pb-2">
92
- ${this.description ?? E}
93
+ <lukso-sanitize html-content=${this.description}></lukso-sanitize>
93
94
  </div>
94
95
  `;
95
96
  }
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-4145c314.cjs');
6
- const property = require('../../property-cba034d3.cjs');
5
+ const shared_tailwindElement_index = require('../../index-1fd569a9.cjs');
6
+ const property = require('../../property-7a90cede.cjs');
7
7
  const index = require('../../index-2b104ecb.cjs');
8
- const index$1 = require('../../index-664bbe9a.cjs');
8
+ const index$1 = require('../../index-8eb2e6d8.cjs');
9
9
  require('../../directive-8278ab14.cjs');
10
10
 
11
11
  const style = ":host {\n display: inline-flex\n}";
@@ -22,39 +22,36 @@ var __decorateClass = (decorators, target, key, kind) => {
22
22
  return result;
23
23
  };
24
24
  exports.LuksoTag = class LuksoTag extends shared_tailwindElement_index.TailwindStyledElement(style) {
25
- constructor() {
26
- super(...arguments);
27
- this.size = "small";
28
- this.isRounded = false;
29
- this.backgroundColor = "";
30
- this.borderColor = "";
31
- this.textColor = "";
32
- this.tagStyles = index.ce({
33
- base: "inline-flex items-center justify-center border border-neutral-20 text-neutral-20 px-2 whitespace-nowrap",
34
- variants: {
35
- size: {
36
- "x-small": "font-inter text-8 font-500 leading-20 h-[20px] px-1 rounded-4",
37
- small: "paragraph-inter-12-medium h-[28px] px-2 rounded-8",
38
- large: "paragraph-inter-14-medium h-[34px] px-4 rounded-8"
39
- },
40
- isRounded: {
41
- true: "rounded-[56px]"
42
- }
25
+ size = "small";
26
+ isRounded = false;
27
+ backgroundColor = "";
28
+ borderColor = "";
29
+ textColor = "";
30
+ tagStyles = index.ce({
31
+ base: "inline-flex items-center justify-center border border-neutral-20 text-neutral-20 px-2 whitespace-nowrap",
32
+ variants: {
33
+ size: {
34
+ "x-small": "font-inter text-8 font-500 leading-20 h-[20px] px-1 rounded-4",
35
+ small: "paragraph-inter-12-medium h-[28px] px-2 rounded-8",
36
+ large: "paragraph-inter-14-medium h-[34px] px-4 rounded-8"
43
37
  },
44
- compoundVariants: [
45
- {
46
- size: "small",
47
- isRounded: true,
48
- class: "px-3"
49
- },
50
- {
51
- size: "x-small",
52
- isRounded: true,
53
- class: "px-2"
54
- }
55
- ]
56
- });
57
- }
38
+ isRounded: {
39
+ true: "rounded-[56px]"
40
+ }
41
+ },
42
+ compoundVariants: [
43
+ {
44
+ size: "small",
45
+ isRounded: true,
46
+ class: "px-3"
47
+ },
48
+ {
49
+ size: "x-small",
50
+ isRounded: true,
51
+ class: "px-2"
52
+ }
53
+ ]
54
+ });
58
55
  resolveBorderColor() {
59
56
  if (this.borderColor) {
60
57
  return this.borderColor;
@@ -1,7 +1,7 @@
1
- import { T as TailwindStyledElement, x } from '../../index-a09c053e.js';
2
- import { n, t } from '../../property-6d71df6f.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-82b4fdeb.js';
2
+ import { n, t } from '../../property-cfc5fabd.js';
3
3
  import { c as ce } from '../../index-d14b6a34.js';
4
- import { c as customStyleMap } from '../../index-323568a1.js';
4
+ import { c as customStyleMap } from '../../index-11b4b329.js';
5
5
  import '../../directive-2bb7789e.js';
6
6
 
7
7
  const style = ":host {\n display: inline-flex\n}";
@@ -18,39 +18,36 @@ var __decorateClass = (decorators, target, key, kind) => {
18
18
  return result;
19
19
  };
20
20
  let LuksoTag = class extends TailwindStyledElement(style) {
21
- constructor() {
22
- super(...arguments);
23
- this.size = "small";
24
- this.isRounded = false;
25
- this.backgroundColor = "";
26
- this.borderColor = "";
27
- this.textColor = "";
28
- this.tagStyles = ce({
29
- base: "inline-flex items-center justify-center border border-neutral-20 text-neutral-20 px-2 whitespace-nowrap",
30
- variants: {
31
- size: {
32
- "x-small": "font-inter text-8 font-500 leading-20 h-[20px] px-1 rounded-4",
33
- small: "paragraph-inter-12-medium h-[28px] px-2 rounded-8",
34
- large: "paragraph-inter-14-medium h-[34px] px-4 rounded-8"
35
- },
36
- isRounded: {
37
- true: "rounded-[56px]"
38
- }
21
+ size = "small";
22
+ isRounded = false;
23
+ backgroundColor = "";
24
+ borderColor = "";
25
+ textColor = "";
26
+ tagStyles = ce({
27
+ base: "inline-flex items-center justify-center border border-neutral-20 text-neutral-20 px-2 whitespace-nowrap",
28
+ variants: {
29
+ size: {
30
+ "x-small": "font-inter text-8 font-500 leading-20 h-[20px] px-1 rounded-4",
31
+ small: "paragraph-inter-12-medium h-[28px] px-2 rounded-8",
32
+ large: "paragraph-inter-14-medium h-[34px] px-4 rounded-8"
39
33
  },
40
- compoundVariants: [
41
- {
42
- size: "small",
43
- isRounded: true,
44
- class: "px-3"
45
- },
46
- {
47
- size: "x-small",
48
- isRounded: true,
49
- class: "px-2"
50
- }
51
- ]
52
- });
53
- }
34
+ isRounded: {
35
+ true: "rounded-[56px]"
36
+ }
37
+ },
38
+ compoundVariants: [
39
+ {
40
+ size: "small",
41
+ isRounded: true,
42
+ class: "px-3"
43
+ },
44
+ {
45
+ size: "x-small",
46
+ isRounded: true,
47
+ class: "px-2"
48
+ }
49
+ ]
50
+ });
54
51
  resolveBorderColor() {
55
52
  if (this.borderColor) {
56
53
  return this.borderColor;
@@ -2,14 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-4145c314.cjs');
6
- const property = require('../../property-cba034d3.cjs');
7
- const state = require('../../state-dd655282.cjs');
5
+ const shared_tailwindElement_index = require('../../index-1fd569a9.cjs');
6
+ const property = require('../../property-7a90cede.cjs');
7
+ const state = require('../../state-09b048f8.cjs');
8
8
  const index = require('../../index-e9668573.cjs');
9
9
  require('../lukso-icon/index.cjs');
10
10
  require('../lukso-sanitize/index.cjs');
11
11
  require('../../directive-8278ab14.cjs');
12
- require('../../style-map-41455c7b.cjs');
12
+ require('../../style-map-2abffb39.cjs');
13
13
 
14
14
  const style = ":host {\n display: flex;\n height: 100%\n}";
15
15
 
@@ -25,14 +25,11 @@ var __decorateClass = (decorators, target, key, kind) => {
25
25
  return result;
26
26
  };
27
27
  exports.LuksoTerms = class LuksoTerms extends shared_tailwindElement_index.TailwindStyledElement(style) {
28
- constructor() {
29
- super(...arguments);
30
- this.text = "";
31
- this.hasScrollButton = true;
32
- this.defaultStyles = `h-[56px] w-full sticky bottom-0 -mt-[56px]
28
+ text = "";
29
+ hasScrollButton = true;
30
+ defaultStyles = `h-[56px] w-full sticky bottom-0 -mt-[56px]
33
31
  bg-gradient-to-b from-transparent to-neutral-100/80
34
32
  flex justify-center transition-opacity opacity-0`;
35
- }
36
33
  onScrollBottom() {
37
34
  const event = new CustomEvent("on-bottom-scroll", {
38
35
  bubbles: true,
@@ -1,11 +1,11 @@
1
- import { T as TailwindStyledElement, x } from '../../index-a09c053e.js';
2
- import { n, t } from '../../property-6d71df6f.js';
3
- import { r } from '../../state-a4d47754.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-82b4fdeb.js';
2
+ import { n, t } from '../../property-cfc5fabd.js';
3
+ import { r } from '../../state-1aaee2b7.js';
4
4
  import { c as customClassMap } from '../../index-5e194caf.js';
5
5
  import '../lukso-icon/index.js';
6
6
  import '../lukso-sanitize/index.js';
7
7
  import '../../directive-2bb7789e.js';
8
- import '../../style-map-745a1d23.js';
8
+ import '../../style-map-c8670fc8.js';
9
9
 
10
10
  const style = ":host {\n display: flex;\n height: 100%\n}";
11
11
 
@@ -21,14 +21,11 @@ var __decorateClass = (decorators, target, key, kind) => {
21
21
  return result;
22
22
  };
23
23
  let LuksoTerms = class extends TailwindStyledElement(style) {
24
- constructor() {
25
- super(...arguments);
26
- this.text = "";
27
- this.hasScrollButton = true;
28
- this.defaultStyles = `h-[56px] w-full sticky bottom-0 -mt-[56px]
24
+ text = "";
25
+ hasScrollButton = true;
26
+ defaultStyles = `h-[56px] w-full sticky bottom-0 -mt-[56px]
29
27
  bg-gradient-to-b from-transparent to-neutral-100/80
30
28
  flex justify-center transition-opacity opacity-0`;
31
- }
32
29
  onScrollBottom() {
33
30
  const event = new CustomEvent("on-bottom-scroll", {
34
31
  bubbles: true,