@lukso/web-components 1.116.1 → 1.117.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 (83) hide show
  1. package/dist/components/index.cjs +7 -7
  2. package/dist/components/index.js +7 -7
  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 +4 -4
  10. package/dist/components/lukso-color-picker/index.js +4 -4
  11. package/dist/components/lukso-dropdown/index.cjs +7 -7
  12. package/dist/components/lukso-dropdown/index.js +7 -7
  13. package/dist/components/lukso-dropdown-option/index.cjs +2 -2
  14. package/dist/components/lukso-dropdown-option/index.js +2 -2
  15. package/dist/components/lukso-footer/index.cjs +2 -2
  16. package/dist/components/lukso-footer/index.js +2 -2
  17. package/dist/components/lukso-icon/icons/progress-indicator-alt.d.ts.map +1 -1
  18. package/dist/components/lukso-icon/icons/progress-indicator.d.ts.map +1 -1
  19. package/dist/components/lukso-icon/index.cjs +18 -16
  20. package/dist/components/lukso-icon/index.js +18 -16
  21. package/dist/components/lukso-image/index.cjs +4 -4
  22. package/dist/components/lukso-image/index.js +4 -4
  23. package/dist/components/lukso-input/index.cjs +4 -4
  24. package/dist/components/lukso-input/index.js +4 -4
  25. package/dist/components/lukso-modal/index.cjs +2 -2
  26. package/dist/components/lukso-modal/index.js +2 -2
  27. package/dist/components/lukso-navbar/index.cjs +5 -5
  28. package/dist/components/lukso-navbar/index.js +5 -5
  29. package/dist/components/lukso-pagination/index.cjs +4 -4
  30. package/dist/components/lukso-pagination/index.js +4 -4
  31. package/dist/components/lukso-profile/index.cjs +5 -5
  32. package/dist/components/lukso-profile/index.js +5 -5
  33. package/dist/components/lukso-progress/index.cjs +3 -3
  34. package/dist/components/lukso-progress/index.js +3 -3
  35. package/dist/components/lukso-sanitize/index.cjs +2 -2
  36. package/dist/components/lukso-sanitize/index.js +2 -2
  37. package/dist/components/lukso-search/index.cjs +22 -14
  38. package/dist/components/lukso-search/index.d.ts +1 -0
  39. package/dist/components/lukso-search/index.d.ts.map +1 -1
  40. package/dist/components/lukso-search/index.js +22 -14
  41. package/dist/components/lukso-search/lukso-search.stories.d.ts.map +1 -1
  42. package/dist/components/lukso-select/index.cjs +90 -83
  43. package/dist/components/lukso-select/index.d.ts +1 -0
  44. package/dist/components/lukso-select/index.d.ts.map +1 -1
  45. package/dist/components/lukso-select/index.js +90 -83
  46. package/dist/components/lukso-select/lukso-select.stories.d.ts.map +1 -1
  47. package/dist/components/lukso-share/index.cjs +27 -24
  48. package/dist/components/lukso-share/index.js +27 -24
  49. package/dist/components/lukso-switch/index.cjs +11 -8
  50. package/dist/components/lukso-switch/index.js +11 -8
  51. package/dist/components/lukso-tag/index.cjs +35 -32
  52. package/dist/components/lukso-tag/index.js +35 -32
  53. package/dist/components/lukso-terms/index.cjs +10 -7
  54. package/dist/components/lukso-terms/index.js +10 -7
  55. package/dist/components/lukso-test/index.cjs +16 -13
  56. package/dist/components/lukso-test/index.js +16 -13
  57. package/dist/components/lukso-textarea/index.cjs +86 -83
  58. package/dist/components/lukso-textarea/index.js +86 -83
  59. package/dist/components/lukso-tooltip/index.cjs +38 -35
  60. package/dist/components/lukso-tooltip/index.js +38 -35
  61. package/dist/components/lukso-username/index.cjs +53 -50
  62. package/dist/components/lukso-username/index.js +53 -50
  63. package/dist/components/lukso-wizard/index.cjs +45 -42
  64. package/dist/components/lukso-wizard/index.js +45 -42
  65. package/dist/{index-dbfb7d50.cjs → index-104cf124.cjs} +3 -3
  66. package/dist/{index-40811e43.js → index-12775596.js} +3 -3
  67. package/dist/{index-f564f46f.cjs → index-3926da18.cjs} +1 -1
  68. package/dist/{index-9f282d35.cjs → index-67915f32.cjs} +2 -2
  69. package/dist/{index-dda1809d.cjs → index-68c61387.cjs} +5 -3
  70. package/dist/{index-eb08047e.js → index-7bb28a79.js} +1 -1
  71. package/dist/{index-86a3fdc1.js → index-92dc158d.js} +5 -3
  72. package/dist/{index-30c74dfe.js → index-ff8d75cd.js} +2 -2
  73. package/dist/index.cjs +7 -7
  74. package/dist/index.js +7 -7
  75. package/dist/{property-46482bf7.cjs → property-bf2eee83.cjs} +1 -1
  76. package/dist/{property-140ef335.js → property-eaa52bd9.js} +1 -1
  77. package/dist/shared/tailwind-element/index.cjs +1 -1
  78. package/dist/shared/tailwind-element/index.js +1 -1
  79. package/dist/{state-876605e4.js → state-1fc9a224.js} +1 -1
  80. package/dist/{state-94c1d585.cjs → state-375dfffc.cjs} +1 -1
  81. package/dist/{style-map-15dde65e.js → style-map-5aef4b6f.js} +1 -1
  82. package/dist/{style-map-552ab28f.cjs → style-map-8e54f508.cjs} +1 -1
  83. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
- import { T as TailwindStyledElement, x } from '../../index-86a3fdc1.js';
2
- import { n, t } from '../../property-140ef335.js';
3
- import { r } from '../../state-876605e4.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-92dc158d.js';
2
+ import { n, t } from '../../property-eaa52bd9.js';
3
+ import { r } from '../../state-1fc9a224.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-15dde65e.js';
8
+ import '../../style-map-5aef4b6f.js';
9
9
 
10
10
  const style = ":host {\n display: flex;\n height: 100%\n}";
11
11
 
@@ -21,11 +21,14 @@ var __decorateClass = (decorators, target, key, kind) => {
21
21
  return result;
22
22
  };
23
23
  let LuksoTerms = class extends TailwindStyledElement(style) {
24
- text = "";
25
- hasScrollButton = true;
26
- defaultStyles = `h-[56px] w-full sticky bottom-0 -mt-[56px]
24
+ constructor() {
25
+ super(...arguments);
26
+ this.text = "";
27
+ this.hasScrollButton = true;
28
+ this.defaultStyles = `h-[56px] w-full sticky bottom-0 -mt-[56px]
27
29
  bg-gradient-to-b from-transparent to-neutral-100/80
28
30
  flex justify-center transition-opacity opacity-0`;
31
+ }
29
32
  onScrollBottom() {
30
33
  const event = new CustomEvent("on-bottom-scroll", {
31
34
  bubbles: true,
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-dda1809d.cjs');
6
- const property = require('../../property-46482bf7.cjs');
5
+ const shared_tailwindElement_index = require('../../index-68c61387.cjs');
6
+ const property = require('../../property-bf2eee83.cjs');
7
7
  const directive = require('../../directive-8278ab14.cjs');
8
8
 
9
9
  /**
@@ -56,18 +56,21 @@ var __decorateClass = (decorators, target, key, kind) => {
56
56
  return result;
57
57
  };
58
58
  exports.LuksoTest = class LuksoTest extends shared_tailwindElement_index.TailwindStyledElement(style) {
59
- name = "World";
60
- clicked = false;
61
- disabled = false;
62
- duration = 1e3;
63
- controller = new t(this, {
64
- defaultOptions: {
65
- keyframeOptions: {
66
- duration: this.duration,
67
- fill: "backwards"
59
+ constructor() {
60
+ super(...arguments);
61
+ this.name = "World";
62
+ this.clicked = false;
63
+ this.disabled = false;
64
+ this.duration = 1e3;
65
+ this.controller = new t(this, {
66
+ defaultOptions: {
67
+ keyframeOptions: {
68
+ duration: this.duration,
69
+ fill: "backwards"
70
+ }
68
71
  }
69
- }
70
- });
72
+ });
73
+ }
71
74
  _onClick() {
72
75
  if (this.disabled) {
73
76
  return;
@@ -1,5 +1,5 @@
1
- import { b as T$1, T as TailwindStyledElement, x as x$1 } from '../../index-86a3fdc1.js';
2
- import { n as n$3, t as t$4 } from '../../property-140ef335.js';
1
+ import { b as T$1, T as TailwindStyledElement, x as x$1 } from '../../index-92dc158d.js';
2
+ import { n as n$3, t as t$4 } from '../../property-eaa52bd9.js';
3
3
  import { e as e$3, i as i$3, t as t$3 } from '../../directive-2bb7789e.js';
4
4
 
5
5
  /**
@@ -52,18 +52,21 @@ var __decorateClass = (decorators, target, key, kind) => {
52
52
  return result;
53
53
  };
54
54
  let LuksoTest = class extends TailwindStyledElement(style) {
55
- name = "World";
56
- clicked = false;
57
- disabled = false;
58
- duration = 1e3;
59
- controller = new t(this, {
60
- defaultOptions: {
61
- keyframeOptions: {
62
- duration: this.duration,
63
- fill: "backwards"
55
+ constructor() {
56
+ super(...arguments);
57
+ this.name = "World";
58
+ this.clicked = false;
59
+ this.disabled = false;
60
+ this.duration = 1e3;
61
+ this.controller = new t(this, {
62
+ defaultOptions: {
63
+ keyframeOptions: {
64
+ duration: this.duration,
65
+ fill: "backwards"
66
+ }
64
67
  }
65
- }
66
- });
68
+ });
69
+ }
67
70
  _onClick() {
68
71
  if (this.disabled) {
69
72
  return;
@@ -2,14 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-dda1809d.cjs');
6
- const property = require('../../property-46482bf7.cjs');
7
- const state = require('../../state-94c1d585.cjs');
5
+ const shared_tailwindElement_index = require('../../index-68c61387.cjs');
6
+ const property = require('../../property-bf2eee83.cjs');
7
+ const state = require('../../state-375dfffc.cjs');
8
8
  const index = require('../../index-2b104ecb.cjs');
9
9
  require('../../tailwind-config.cjs');
10
10
  const cn = require('../../cn-b6daa995.cjs');
11
11
  require('../lukso-icon/index.cjs');
12
- require('../../style-map-552ab28f.cjs');
12
+ require('../../style-map-8e54f508.cjs');
13
13
  require('../../directive-8278ab14.cjs');
14
14
 
15
15
  const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
@@ -27,92 +27,95 @@ var __decorateClass = (decorators, target, key, kind) => {
27
27
  };
28
28
  const FOCUS_DELAY_MS = 10;
29
29
  exports.LuksoTextarea = class LuksoTextarea extends shared_tailwindElement_index.TailwindStyledElement(style) {
30
- value = "";
31
- name = "";
32
- placeholder = "";
33
- label = "";
34
- id = "";
35
- ref = void 0;
36
- description = "";
37
- error = "";
38
- customClass = "";
39
- isFullWidth = false;
40
- isReadonly = false;
41
- isDisabled = false;
42
- autofocus = false;
43
- borderless = false;
44
- isNonResizable = false;
45
- keepFocusOnEscape = false;
46
- size = "medium";
47
- rows = 4;
48
- hasFocus = false;
49
- hasHighlight = false;
50
- styles = index.ce({
51
- slots: {
52
- wrapper: "group flex",
53
- input: `bg-neutral-100 border-solid placeholder:text-neutral-70 w-full
30
+ constructor() {
31
+ super(...arguments);
32
+ this.value = "";
33
+ this.name = "";
34
+ this.placeholder = "";
35
+ this.label = "";
36
+ this.id = "";
37
+ this.ref = void 0;
38
+ this.description = "";
39
+ this.error = "";
40
+ this.customClass = "";
41
+ this.isFullWidth = false;
42
+ this.isReadonly = false;
43
+ this.isDisabled = false;
44
+ this.autofocus = false;
45
+ this.borderless = false;
46
+ this.isNonResizable = false;
47
+ this.keepFocusOnEscape = false;
48
+ this.size = "medium";
49
+ this.rows = 4;
50
+ this.hasFocus = false;
51
+ this.hasHighlight = false;
52
+ this.styles = index.ce({
53
+ slots: {
54
+ wrapper: "group flex",
55
+ input: `bg-neutral-100 border-solid placeholder:text-neutral-70 w-full
54
56
  outline-none transition transition-all duration-150 appearance-none`
55
- },
56
- variants: {
57
- hasError: {
58
- true: {
59
- input: "border-red-85"
60
- },
61
- false: {
62
- input: "border-neutral-90"
63
- }
64
- },
65
- hasHighlight: {
66
- true: {
67
- input: "border-neutral-35"
68
- }
69
- },
70
- borderless: {
71
- true: { input: "border-0" },
72
- false: { input: "border" }
73
- },
74
- isReadonly: {
75
- true: { input: "cursor-not-allowed" }
76
57
  },
77
- isDisabled: {
78
- true: {
79
- input: "text-neutral-60 cursor-not-allowed"
58
+ variants: {
59
+ hasError: {
60
+ true: {
61
+ input: "border-red-85"
62
+ },
63
+ false: {
64
+ input: "border-neutral-90"
65
+ }
80
66
  },
81
- false: { input: "text-neutral-20" }
82
- },
83
- isFullWidth: {
84
- true: { wrapper: "w-full" },
85
- false: { wrapper: "w-[350px]" }
86
- },
87
- size: {
88
- small: {
89
- input: "min-h-[28px] px-2 py-1 paragraph-inter-12-regular rounded-8"
67
+ hasHighlight: {
68
+ true: {
69
+ input: "border-neutral-35"
70
+ }
90
71
  },
91
- medium: {
92
- input: "min-h-[48px] px-4 py-3 paragraph-inter-14-regular rounded-12"
93
- }
94
- },
95
- isNonResizable: {
96
- true: {
97
- input: "resize-none"
72
+ borderless: {
73
+ true: { input: "border-0" },
74
+ false: { input: "border" }
75
+ },
76
+ isReadonly: {
77
+ true: { input: "cursor-not-allowed" }
78
+ },
79
+ isDisabled: {
80
+ true: {
81
+ input: "text-neutral-60 cursor-not-allowed"
82
+ },
83
+ false: { input: "text-neutral-20" }
84
+ },
85
+ isFullWidth: {
86
+ true: { wrapper: "w-full" },
87
+ false: { wrapper: "w-[350px]" }
88
+ },
89
+ size: {
90
+ small: {
91
+ input: "min-h-[28px] px-2 py-1 paragraph-inter-12-regular rounded-8"
92
+ },
93
+ medium: {
94
+ input: "min-h-[48px] px-4 py-3 paragraph-inter-14-regular rounded-12"
95
+ }
96
+ },
97
+ isNonResizable: {
98
+ true: {
99
+ input: "resize-none"
100
+ }
98
101
  }
99
- }
100
- },
101
- compoundVariants: [
102
- {
103
- isFullWidth: false,
104
- size: "small",
105
- class: { wrapper: "w-[210px]" }
106
102
  },
107
- {
108
- hasHighlight: true,
109
- hasError: true,
110
- class: {
111
- input: "border-red-65"
103
+ compoundVariants: [
104
+ {
105
+ isFullWidth: false,
106
+ size: "small",
107
+ class: { wrapper: "w-[210px]" }
108
+ },
109
+ {
110
+ hasHighlight: true,
111
+ hasError: true,
112
+ class: {
113
+ input: "border-red-65"
114
+ }
112
115
  }
113
- }
114
- ]
115
- });
116
+ ]
117
+ });
118
+ }
116
119
  connectedCallback() {
117
120
  super.connectedCallback();
118
121
  if (this.autofocus) {
@@ -1,11 +1,11 @@
1
- import { T as TailwindStyledElement, x, E } from '../../index-86a3fdc1.js';
2
- import { n, t } from '../../property-140ef335.js';
3
- import { r } from '../../state-876605e4.js';
1
+ import { T as TailwindStyledElement, x, E } from '../../index-92dc158d.js';
2
+ import { n, t } from '../../property-eaa52bd9.js';
3
+ import { r } from '../../state-1fc9a224.js';
4
4
  import { c as ce } from '../../index-d14b6a34.js';
5
5
  import '../../tailwind-config.js';
6
6
  import { c as cn } from '../../cn-90c03edf.js';
7
7
  import '../lukso-icon/index.js';
8
- import '../../style-map-15dde65e.js';
8
+ import '../../style-map-5aef4b6f.js';
9
9
  import '../../directive-2bb7789e.js';
10
10
 
11
11
  const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
@@ -23,92 +23,95 @@ var __decorateClass = (decorators, target, key, kind) => {
23
23
  };
24
24
  const FOCUS_DELAY_MS = 10;
25
25
  let LuksoTextarea = class extends TailwindStyledElement(style) {
26
- value = "";
27
- name = "";
28
- placeholder = "";
29
- label = "";
30
- id = "";
31
- ref = void 0;
32
- description = "";
33
- error = "";
34
- customClass = "";
35
- isFullWidth = false;
36
- isReadonly = false;
37
- isDisabled = false;
38
- autofocus = false;
39
- borderless = false;
40
- isNonResizable = false;
41
- keepFocusOnEscape = false;
42
- size = "medium";
43
- rows = 4;
44
- hasFocus = false;
45
- hasHighlight = false;
46
- styles = ce({
47
- slots: {
48
- wrapper: "group flex",
49
- input: `bg-neutral-100 border-solid placeholder:text-neutral-70 w-full
26
+ constructor() {
27
+ super(...arguments);
28
+ this.value = "";
29
+ this.name = "";
30
+ this.placeholder = "";
31
+ this.label = "";
32
+ this.id = "";
33
+ this.ref = void 0;
34
+ this.description = "";
35
+ this.error = "";
36
+ this.customClass = "";
37
+ this.isFullWidth = false;
38
+ this.isReadonly = false;
39
+ this.isDisabled = false;
40
+ this.autofocus = false;
41
+ this.borderless = false;
42
+ this.isNonResizable = false;
43
+ this.keepFocusOnEscape = false;
44
+ this.size = "medium";
45
+ this.rows = 4;
46
+ this.hasFocus = false;
47
+ this.hasHighlight = false;
48
+ this.styles = ce({
49
+ slots: {
50
+ wrapper: "group flex",
51
+ input: `bg-neutral-100 border-solid placeholder:text-neutral-70 w-full
50
52
  outline-none transition transition-all duration-150 appearance-none`
51
- },
52
- variants: {
53
- hasError: {
54
- true: {
55
- input: "border-red-85"
56
- },
57
- false: {
58
- input: "border-neutral-90"
59
- }
60
- },
61
- hasHighlight: {
62
- true: {
63
- input: "border-neutral-35"
64
- }
65
- },
66
- borderless: {
67
- true: { input: "border-0" },
68
- false: { input: "border" }
69
- },
70
- isReadonly: {
71
- true: { input: "cursor-not-allowed" }
72
53
  },
73
- isDisabled: {
74
- true: {
75
- input: "text-neutral-60 cursor-not-allowed"
54
+ variants: {
55
+ hasError: {
56
+ true: {
57
+ input: "border-red-85"
58
+ },
59
+ false: {
60
+ input: "border-neutral-90"
61
+ }
76
62
  },
77
- false: { input: "text-neutral-20" }
78
- },
79
- isFullWidth: {
80
- true: { wrapper: "w-full" },
81
- false: { wrapper: "w-[350px]" }
82
- },
83
- size: {
84
- small: {
85
- input: "min-h-[28px] px-2 py-1 paragraph-inter-12-regular rounded-8"
63
+ hasHighlight: {
64
+ true: {
65
+ input: "border-neutral-35"
66
+ }
86
67
  },
87
- medium: {
88
- input: "min-h-[48px] px-4 py-3 paragraph-inter-14-regular rounded-12"
89
- }
90
- },
91
- isNonResizable: {
92
- true: {
93
- input: "resize-none"
68
+ borderless: {
69
+ true: { input: "border-0" },
70
+ false: { input: "border" }
71
+ },
72
+ isReadonly: {
73
+ true: { input: "cursor-not-allowed" }
74
+ },
75
+ isDisabled: {
76
+ true: {
77
+ input: "text-neutral-60 cursor-not-allowed"
78
+ },
79
+ false: { input: "text-neutral-20" }
80
+ },
81
+ isFullWidth: {
82
+ true: { wrapper: "w-full" },
83
+ false: { wrapper: "w-[350px]" }
84
+ },
85
+ size: {
86
+ small: {
87
+ input: "min-h-[28px] px-2 py-1 paragraph-inter-12-regular rounded-8"
88
+ },
89
+ medium: {
90
+ input: "min-h-[48px] px-4 py-3 paragraph-inter-14-regular rounded-12"
91
+ }
92
+ },
93
+ isNonResizable: {
94
+ true: {
95
+ input: "resize-none"
96
+ }
94
97
  }
95
- }
96
- },
97
- compoundVariants: [
98
- {
99
- isFullWidth: false,
100
- size: "small",
101
- class: { wrapper: "w-[210px]" }
102
98
  },
103
- {
104
- hasHighlight: true,
105
- hasError: true,
106
- class: {
107
- input: "border-red-65"
99
+ compoundVariants: [
100
+ {
101
+ isFullWidth: false,
102
+ size: "small",
103
+ class: { wrapper: "w-[210px]" }
104
+ },
105
+ {
106
+ hasHighlight: true,
107
+ hasError: true,
108
+ class: {
109
+ input: "border-red-65"
110
+ }
108
111
  }
109
- }
110
- ]
111
- });
112
+ ]
113
+ });
114
+ }
112
115
  connectedCallback() {
113
116
  super.connectedCallback();
114
117
  if (this.autofocus) {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-dda1809d.cjs');
6
- const property = require('../../property-46482bf7.cjs');
7
- const state = require('../../state-94c1d585.cjs');
5
+ const shared_tailwindElement_index = require('../../index-68c61387.cjs');
6
+ const property = require('../../property-bf2eee83.cjs');
7
+ const state = require('../../state-375dfffc.cjs');
8
8
  const index = require('../../index-2b104ecb.cjs');
9
- const styleMap = require('../../style-map-552ab28f.cjs');
9
+ const styleMap = require('../../style-map-8e54f508.cjs');
10
10
  require('../../directive-8278ab14.cjs');
11
11
 
12
12
  var top = 'top';
@@ -3460,39 +3460,42 @@ var __decorateClass = (decorators, target, key, kind) => {
3460
3460
  return result;
3461
3461
  };
3462
3462
  exports.LuksoTooltip = class LuksoTooltip extends shared_tailwindElement_index.TailwindStyledElement(style) {
3463
- variant = "light";
3464
- size = "medium";
3465
- placement = "top";
3466
- trigger = "mouseenter";
3467
- text = "";
3468
- maxWidth = 300;
3469
- show = false;
3470
- hideOnClick = "true";
3471
- isClipboardCopy = false;
3472
- copyText = "";
3473
- copyValue = "";
3474
- offset = 10;
3475
- options = "";
3476
- showArrow = true;
3477
- showDelay = 300;
3478
- hideDelay = 300;
3479
- showCopy = false;
3480
- optionsParsed = [];
3481
- tooltipInstance = void 0;
3482
- styles = index.ce({
3483
- slots: {
3484
- tooltip: "hidden",
3485
- trigger: "cursor-pointer flex flex-col items-center",
3486
- options: "rounded-4 hover:bg-neutral-95"
3487
- },
3488
- variants: {
3489
- hasNoText: {
3490
- true: {
3491
- trigger: "cursor-default"
3463
+ constructor() {
3464
+ super(...arguments);
3465
+ this.variant = "light";
3466
+ this.size = "medium";
3467
+ this.placement = "top";
3468
+ this.trigger = "mouseenter";
3469
+ this.text = "";
3470
+ this.maxWidth = 300;
3471
+ this.show = false;
3472
+ this.hideOnClick = "true";
3473
+ this.isClipboardCopy = false;
3474
+ this.copyText = "";
3475
+ this.copyValue = "";
3476
+ this.offset = 10;
3477
+ this.options = "";
3478
+ this.showArrow = true;
3479
+ this.showDelay = 300;
3480
+ this.hideDelay = 300;
3481
+ this.showCopy = false;
3482
+ this.optionsParsed = [];
3483
+ this.tooltipInstance = void 0;
3484
+ this.styles = index.ce({
3485
+ slots: {
3486
+ tooltip: "hidden",
3487
+ trigger: "cursor-pointer flex flex-col items-center",
3488
+ options: "rounded-4 hover:bg-neutral-95"
3489
+ },
3490
+ variants: {
3491
+ hasNoText: {
3492
+ true: {
3493
+ trigger: "cursor-default"
3494
+ }
3492
3495
  }
3493
3496
  }
3494
- }
3495
- });
3497
+ });
3498
+ }
3496
3499
  hideOnClickCheck() {
3497
3500
  if (this.hideOnClick === "toggle") {
3498
3501
  return this.hideOnClick;