@lukso/web-components 1.41.0 → 1.43.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 (87) hide show
  1. package/dist/components/index.cjs +7 -6
  2. package/dist/components/index.js +7 -6
  3. package/dist/components/lukso-button/index.cjs +21 -20
  4. package/dist/components/lukso-button/index.js +5 -4
  5. package/dist/components/lukso-card/index.cjs +48 -54
  6. package/dist/components/lukso-card/index.d.ts.map +1 -1
  7. package/dist/components/lukso-card/index.js +38 -44
  8. package/dist/components/lukso-checkbox/index.cjs +16 -15
  9. package/dist/components/lukso-checkbox/index.js +5 -4
  10. package/dist/components/lukso-footer/index.cjs +39 -27
  11. package/dist/components/lukso-footer/index.d.ts +2 -0
  12. package/dist/components/lukso-footer/index.d.ts.map +1 -1
  13. package/dist/components/lukso-footer/index.js +39 -27
  14. package/dist/components/lukso-footer/lukso-footer.stories.d.ts +2 -0
  15. package/dist/components/lukso-footer/lukso-footer.stories.d.ts.map +1 -1
  16. package/dist/components/lukso-icon/index.cjs +9 -8
  17. package/dist/components/lukso-icon/index.js +4 -3
  18. package/dist/components/lukso-input/index.cjs +26 -25
  19. package/dist/components/lukso-input/index.js +5 -4
  20. package/dist/components/lukso-modal/index.cjs +7 -6
  21. package/dist/components/lukso-modal/index.js +4 -3
  22. package/dist/components/lukso-navbar/index.cjs +15 -14
  23. package/dist/components/lukso-navbar/index.js +6 -5
  24. package/dist/components/lukso-profile/index.cjs +10 -9
  25. package/dist/components/lukso-profile/index.js +5 -4
  26. package/dist/components/lukso-progress/index.cjs +10 -9
  27. package/dist/components/lukso-progress/index.js +5 -4
  28. package/dist/components/lukso-sanitize/index.cjs +7 -6
  29. package/dist/components/lukso-sanitize/index.js +3 -2
  30. package/dist/components/lukso-search/index.cjs +105 -55
  31. package/dist/components/lukso-search/index.d.ts +17 -12
  32. package/dist/components/lukso-search/index.d.ts.map +1 -1
  33. package/dist/components/lukso-search/index.js +85 -35
  34. package/dist/components/lukso-search/lukso-search.stories.d.ts.map +1 -1
  35. package/dist/components/lukso-share/index.cjs +24 -15
  36. package/dist/components/lukso-share/index.d.ts +8 -2
  37. package/dist/components/lukso-share/index.d.ts.map +1 -1
  38. package/dist/components/lukso-share/index.js +23 -14
  39. package/dist/components/lukso-share/lukso-share.stories.d.ts +5 -1
  40. package/dist/components/lukso-share/lukso-share.stories.d.ts.map +1 -1
  41. package/dist/components/lukso-switch/index.cjs +9 -8
  42. package/dist/components/lukso-switch/index.js +5 -4
  43. package/dist/components/lukso-tag/index.cjs +10 -9
  44. package/dist/components/lukso-tag/index.js +5 -4
  45. package/dist/components/lukso-terms/index.cjs +9 -7
  46. package/dist/components/lukso-terms/index.d.ts.map +1 -1
  47. package/dist/components/lukso-terms/index.js +7 -5
  48. package/dist/components/lukso-test/index.cjs +10 -9
  49. package/dist/components/lukso-test/index.js +4 -3
  50. package/dist/components/lukso-username/index.cjs +16 -15
  51. package/dist/components/lukso-username/index.js +5 -4
  52. package/dist/components/lukso-wizard/index.cjs +10 -9
  53. package/dist/components/lukso-wizard/index.js +5 -4
  54. package/dist/directive-2bb7789e.js +8 -0
  55. package/dist/directive-8278ab14.cjs +12 -0
  56. package/dist/{directive-helpers-1affe406.js → directive-helpers-422da386.js} +1 -1
  57. package/dist/{directive-helpers-e70702eb.cjs → directive-helpers-b2851157.cjs} +1 -1
  58. package/dist/index-5b6b1166.js +59 -0
  59. package/dist/{index-714323c9.js → index-5e194caf.js} +1 -1
  60. package/dist/index-7ef6f8a1.cjs +67 -0
  61. package/dist/{index-7dc05ee5.cjs → index-e9668573.cjs} +2 -2
  62. package/dist/index.cjs +7 -6
  63. package/dist/index.js +7 -6
  64. package/dist/query-assigned-elements-5200f974.cjs +24 -0
  65. package/dist/query-assigned-elements-e36df787.js +21 -0
  66. package/dist/shared/tailwind-element/index.cjs +1 -1
  67. package/dist/shared/tailwind-element/index.js +1 -1
  68. package/dist/{state-7fde94d1.js → state-02a92ffa.js} +1 -1
  69. package/dist/state-51b50a6b.cjs +11 -0
  70. package/dist/{style-map-5173bb70.js → style-map-6cdbbb8b.js} +2 -2
  71. package/dist/style-map-c00f9dd9.cjs +12 -0
  72. package/package.json +1 -1
  73. package/tailwind.config.cjs +1 -0
  74. package/tools/assets/images/social-discord.svg +4 -1
  75. package/tools/assets/images/social-github.svg +11 -1
  76. package/tools/assets/images/social-instagram.svg +6 -1
  77. package/tools/assets/images/social-linkedin.svg +4 -1
  78. package/tools/assets/images/social-medium.svg +6 -1
  79. package/tools/assets/images/social-reddit.svg +11 -1
  80. package/tools/assets/images/social-telegram.svg +4 -1
  81. package/tools/assets/images/social-twitter.svg +4 -1
  82. package/dist/directive-9ec64c08.js +0 -28
  83. package/dist/directive-db00f5fb.cjs +0 -34
  84. package/dist/index-9dfdafd2.js +0 -59
  85. package/dist/index-e765f94b.cjs +0 -67
  86. package/dist/state-a62a7d5d.cjs +0 -11
  87. package/dist/style-map-3a049df9.cjs +0 -12
@@ -21,12 +21,13 @@ const components_luksoTerms_index = require('./lukso-terms/index.cjs');
21
21
  const components_luksoTest_index = require('./lukso-test/index.cjs');
22
22
  const components_luksoUsername_index = require('./lukso-username/index.cjs');
23
23
  const components_luksoWizard_index = require('./lukso-wizard/index.cjs');
24
- const shared_tailwindElement_index = require('../index-e765f94b.cjs');
25
- require('../directive-db00f5fb.cjs');
26
- require('../state-a62a7d5d.cjs');
27
- require('../index-7dc05ee5.cjs');
28
- require('../style-map-3a049df9.cjs');
29
- require('../directive-helpers-e70702eb.cjs');
24
+ const shared_tailwindElement_index = require('../index-7ef6f8a1.cjs');
25
+ require('../query-assigned-elements-5200f974.cjs');
26
+ require('../state-51b50a6b.cjs');
27
+ require('../index-e9668573.cjs');
28
+ require('../directive-8278ab14.cjs');
29
+ require('../style-map-c00f9dd9.cjs');
30
+ require('../directive-helpers-b2851157.cjs');
30
31
 
31
32
 
32
33
 
@@ -17,9 +17,10 @@ export { LuksoTerms } from './lukso-terms/index.js';
17
17
  export { LuksoTest } from './lukso-test/index.js';
18
18
  export { LuksoUsername } from './lukso-username/index.js';
19
19
  export { LuksoWizard } from './lukso-wizard/index.js';
20
- export { a as TailwindElement, T as TailwindStyledElement } from '../index-9dfdafd2.js';
21
- import '../directive-9ec64c08.js';
22
- import '../state-7fde94d1.js';
23
- import '../index-714323c9.js';
24
- import '../style-map-5173bb70.js';
25
- import '../directive-helpers-1affe406.js';
20
+ export { a as TailwindElement, T as TailwindStyledElement } from '../index-5b6b1166.js';
21
+ import '../query-assigned-elements-e36df787.js';
22
+ import '../state-02a92ffa.js';
23
+ import '../index-5e194caf.js';
24
+ import '../directive-2bb7789e.js';
25
+ import '../style-map-6cdbbb8b.js';
26
+ import '../directive-helpers-422da386.js';
@@ -2,10 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-e765f94b.cjs');
6
- const directive = require('../../directive-db00f5fb.cjs');
7
- const state = require('../../state-a62a7d5d.cjs');
8
- const index = require('../../index-7dc05ee5.cjs');
5
+ const shared_tailwindElement_index = require('../../index-7ef6f8a1.cjs');
6
+ const queryAssignedElements = require('../../query-assigned-elements-5200f974.cjs');
7
+ const state = require('../../state-51b50a6b.cjs');
8
+ const index = require('../../index-e9668573.cjs');
9
+ require('../../directive-8278ab14.cjs');
9
10
 
10
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}";
11
12
 
@@ -183,49 +184,49 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
183
184
  }
184
185
  };
185
186
  __decorateClass([
186
- directive.e({ type: String })
187
+ queryAssignedElements.e({ type: String })
187
188
  ], exports.LuksoButton.prototype, "variant", 2);
188
189
  __decorateClass([
189
- directive.e({ type: String })
190
+ queryAssignedElements.e({ type: String })
190
191
  ], exports.LuksoButton.prototype, "size", 2);
191
192
  __decorateClass([
192
- directive.e({ type: Boolean })
193
+ queryAssignedElements.e({ type: Boolean })
193
194
  ], exports.LuksoButton.prototype, "disabled", 2);
194
195
  __decorateClass([
195
- directive.e({ type: Boolean, attribute: "is-full-width" })
196
+ queryAssignedElements.e({ type: Boolean, attribute: "is-full-width" })
196
197
  ], exports.LuksoButton.prototype, "isFullWidth", 2);
197
198
  __decorateClass([
198
- directive.e({ type: Boolean, attribute: "is-long-press" })
199
+ queryAssignedElements.e({ type: Boolean, attribute: "is-long-press" })
199
200
  ], exports.LuksoButton.prototype, "isLongPress", 2);
200
201
  __decorateClass([
201
- directive.e({ type: Boolean, attribute: "is-link" })
202
+ queryAssignedElements.e({ type: Boolean, attribute: "is-link" })
202
203
  ], exports.LuksoButton.prototype, "isLink", 2);
203
204
  __decorateClass([
204
- directive.e({ type: Boolean, attribute: "is-loading" })
205
+ queryAssignedElements.e({ type: Boolean, attribute: "is-loading" })
205
206
  ], exports.LuksoButton.prototype, "isLoading", 2);
206
207
  __decorateClass([
207
- directive.e({ type: String })
208
+ queryAssignedElements.e({ type: String })
208
209
  ], exports.LuksoButton.prototype, "type", 2);
209
210
  __decorateClass([
210
- directive.e({ type: String })
211
+ queryAssignedElements.e({ type: String })
211
212
  ], exports.LuksoButton.prototype, "href", 2);
212
213
  __decorateClass([
213
- directive.e({ type: String })
214
+ queryAssignedElements.e({ type: String })
214
215
  ], exports.LuksoButton.prototype, "target", 2);
215
216
  __decorateClass([
216
- directive.e({ type: String })
217
+ queryAssignedElements.e({ type: String })
217
218
  ], exports.LuksoButton.prototype, "rel", 2);
218
219
  __decorateClass([
219
- directive.e({ type: String, attribute: "loading-text" })
220
+ queryAssignedElements.e({ type: String, attribute: "loading-text" })
220
221
  ], exports.LuksoButton.prototype, "loadingText", 2);
221
222
  __decorateClass([
222
- directive.e({ type: String, attribute: "custom-class" })
223
+ queryAssignedElements.e({ type: String, attribute: "custom-class" })
223
224
  ], exports.LuksoButton.prototype, "customClass", 2);
224
225
  __decorateClass([
225
- directive.e({ type: Boolean, attribute: "is-active" })
226
+ queryAssignedElements.e({ type: Boolean, attribute: "is-active" })
226
227
  ], exports.LuksoButton.prototype, "isActive", 2);
227
228
  __decorateClass([
228
- directive.e({ type: Number })
229
+ queryAssignedElements.e({ type: Number })
229
230
  ], exports.LuksoButton.prototype, "count", 2);
230
231
  __decorateClass([
231
232
  state.t()
@@ -237,5 +238,5 @@ __decorateClass([
237
238
  state.t()
238
239
  ], exports.LuksoButton.prototype, "timer", 2);
239
240
  exports.LuksoButton = __decorateClass([
240
- directive.e$1("lukso-button")
241
+ queryAssignedElements.e$1("lukso-button")
241
242
  ], exports.LuksoButton);
@@ -1,7 +1,8 @@
1
- import { T as TailwindStyledElement, x } from '../../index-9dfdafd2.js';
2
- import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
- import { t } from '../../state-7fde94d1.js';
4
- import { c as customClassMap } from '../../index-714323c9.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-5b6b1166.js';
2
+ import { e, a as e$1 } from '../../query-assigned-elements-e36df787.js';
3
+ import { t } from '../../state-02a92ffa.js';
4
+ import { c as customClassMap } from '../../index-5e194caf.js';
5
+ import '../../directive-2bb7789e.js';
5
6
 
6
7
  const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
7
8
 
@@ -2,11 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-e765f94b.cjs');
6
- const directive = require('../../directive-db00f5fb.cjs');
7
- const styleMap = require('../../style-map-3a049df9.cjs');
8
- const index = require('../../index-7dc05ee5.cjs');
5
+ const shared_tailwindElement_index = require('../../index-7ef6f8a1.cjs');
6
+ const queryAssignedElements = require('../../query-assigned-elements-5200f974.cjs');
7
+ const styleMap = require('../../style-map-c00f9dd9.cjs');
8
+ const index = require('../../index-e9668573.cjs');
9
9
  require('../lukso-profile/index.cjs');
10
+ require('../../directive-8278ab14.cjs');
10
11
 
11
12
  const style = ":host {\n display: flex;\n width: 100%;\n}\n\n:host([is-fixed-width]) {\n width: inherit;\n}";
12
13
 
@@ -93,17 +94,15 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
93
94
  return shared_tailwindElement_index.x`
94
95
  <div
95
96
  data-testid="card"
96
- class="bg-neutral-100 grid grid-rows-[auto,1fr] overflow-hidden ${index.customClassMap(
97
- {
98
- [this.mediumStyles]: !this.customClass && this.size === "medium",
99
- [this.smallStyles]: !this.customClass && this.size === "small",
100
- [this.smallHoverStyles]: this.isHoverable && this.size === "small",
101
- [this.customClass]: !!this.customClass,
102
- ["w-[362px]"]: this.isFixedWidth,
103
- ["w-full"]: !this.isFixedWidth,
104
- ["min-h-[534px]"]: this.isFixedHeight
105
- }
106
- )}"
97
+ class="bg-neutral-100 grid grid-rows-[auto,1fr] ${index.customClassMap({
98
+ [this.mediumStyles]: !this.customClass && this.size === "medium",
99
+ [this.smallStyles]: !this.customClass && this.size === "small",
100
+ [this.smallHoverStyles]: this.isHoverable && this.size === "small",
101
+ [this.customClass]: !!this.customClass,
102
+ ["w-[362px]"]: this.isFixedWidth,
103
+ ["w-full"]: !this.isFixedWidth,
104
+ ["min-h-[534px]"]: this.isFixedHeight
105
+ })}"
107
106
  >
108
107
  <div
109
108
  style=${styleMap.o({
@@ -118,9 +117,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
118
117
  <slot name="header"></slot>
119
118
  </div>
120
119
  </div>
121
- <div
122
- class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-24 relative"
123
- >
120
+ <div class="bg-neutral-100 rounded-24 relative">
124
121
  <lukso-profile
125
122
  profile-url=${this.profileUrl}
126
123
  size="large"
@@ -132,8 +129,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
132
129
  class="overflow-hidden w-[153px] h-[70px] -top-[70px] relative mx-auto flex items-end justify-center -mb-2"
133
130
  >
134
131
  <div
135
- class="bg-neutral-100 rounded-[103px_103px_0_0] w-[96px] h-[48px]
136
- shadow-neutral-above-shadow-1xl"
132
+ class="bg-neutral-100 rounded-[103px_103px_0_0] w-[96px] h-[48px]"
137
133
  ></div>
138
134
  </div>
139
135
  <slot name="content"></slot>
@@ -145,17 +141,15 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
145
141
  return shared_tailwindElement_index.x`
146
142
  <div
147
143
  data-testid="card"
148
- class="bg-neutral-100 grid grid-rows-[auto,1fr] overflow-hidden ${index.customClassMap(
149
- {
150
- [this.mediumStyles]: !this.customClass && this.size === "medium",
151
- [this.smallStyles]: !this.customClass && this.size === "small",
152
- [this.smallHoverStyles]: this.isHoverable && this.size === "small",
153
- [this.customClass]: !!this.customClass,
154
- ["w-[362px]"]: this.isFixedWidth,
155
- ["w-full"]: !this.isFixedWidth,
156
- ["min-h-[534px]"]: this.isFixedHeight
157
- }
158
- )}"
144
+ class="bg-neutral-100 grid grid-rows-[auto,1fr] ${index.customClassMap({
145
+ [this.mediumStyles]: !this.customClass && this.size === "medium",
146
+ [this.smallStyles]: !this.customClass && this.size === "small",
147
+ [this.smallHoverStyles]: this.isHoverable && this.size === "small",
148
+ [this.customClass]: !!this.customClass,
149
+ ["w-[362px]"]: this.isFixedWidth,
150
+ ["w-full"]: !this.isFixedWidth,
151
+ ["min-h-[534px]"]: this.isFixedHeight
152
+ })}"
159
153
  >
160
154
  <div
161
155
  style=${styleMap.o({
@@ -171,7 +165,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
171
165
  </div>
172
166
  </div>
173
167
  <div class="grid grid-rows-[max-content,auto]">
174
- <div class="bg-neutral-100 shadow-neutral-drop-shadow relative">
168
+ <div class="bg-neutral-100 relative">
175
169
  <lukso-profile
176
170
  profile-url=${this.profileUrl}
177
171
  size="large"
@@ -188,7 +182,9 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
188
182
  </div>
189
183
  <slot name="content"></slot>
190
184
  </div>
191
- <div class="bg-neutral-97 rounded-b-24">
185
+ <div
186
+ class="bg-neutral-97 rounded-b-24 shadow-neutral-inner-shadow-top"
187
+ >
192
188
  <slot name="bottom"></slot>
193
189
  </div>
194
190
  </div>
@@ -231,17 +227,15 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
231
227
  return shared_tailwindElement_index.x`
232
228
  <div
233
229
  data-testid="card"
234
- class="bg-neutral-100 grid grid-rows-[auto,1fr] overflow-hidden ${index.customClassMap(
235
- {
236
- [this.mediumStyles]: !this.customClass && this.size === "medium",
237
- [this.smallStyles]: !this.customClass && this.size === "small",
238
- [this.smallHoverStyles]: this.isHoverable && this.size === "small",
239
- [this.customClass]: !!this.customClass,
240
- ["w-[362px]"]: this.isFixedWidth,
241
- ["w-full"]: !this.isFixedWidth,
242
- ["min-h-[534px]"]: this.isFixedHeight
243
- }
244
- )}"
230
+ class="bg-neutral-100 grid grid-rows-[auto,1fr] ${index.customClassMap({
231
+ [this.mediumStyles]: !this.customClass && this.size === "medium",
232
+ [this.smallStyles]: !this.customClass && this.size === "small",
233
+ [this.smallHoverStyles]: this.isHoverable && this.size === "small",
234
+ [this.customClass]: !!this.customClass,
235
+ ["w-[362px]"]: this.isFixedWidth,
236
+ ["w-full"]: !this.isFixedWidth,
237
+ ["min-h-[534px]"]: this.isFixedHeight
238
+ })}"
245
239
  >
246
240
  <div
247
241
  style=${styleMap.o({
@@ -279,32 +273,32 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
279
273
  }
280
274
  };
281
275
  __decorateClass([
282
- directive.e({ type: String })
276
+ queryAssignedElements.e({ type: String })
283
277
  ], exports.LuksoCard.prototype, "variant", 2);
284
278
  __decorateClass([
285
- directive.e({ type: String, attribute: "background-url" })
279
+ queryAssignedElements.e({ type: String, attribute: "background-url" })
286
280
  ], exports.LuksoCard.prototype, "backgroundUrl", 2);
287
281
  __decorateClass([
288
- directive.e({ type: String, attribute: "profile-url" })
282
+ queryAssignedElements.e({ type: String, attribute: "profile-url" })
289
283
  ], exports.LuksoCard.prototype, "profileUrl", 2);
290
284
  __decorateClass([
291
- directive.e({ type: String, attribute: "profile-address" })
285
+ queryAssignedElements.e({ type: String, attribute: "profile-address" })
292
286
  ], exports.LuksoCard.prototype, "profileAddress", 2);
293
287
  __decorateClass([
294
- directive.e({ type: Boolean, attribute: "is-fixed-width" })
288
+ queryAssignedElements.e({ type: Boolean, attribute: "is-fixed-width" })
295
289
  ], exports.LuksoCard.prototype, "isFixedWidth", 2);
296
290
  __decorateClass([
297
- directive.e({ type: Boolean, attribute: "is-fixed-height" })
291
+ queryAssignedElements.e({ type: Boolean, attribute: "is-fixed-height" })
298
292
  ], exports.LuksoCard.prototype, "isFixedHeight", 2);
299
293
  __decorateClass([
300
- directive.e({ type: String, attribute: "custom-class" })
294
+ queryAssignedElements.e({ type: String, attribute: "custom-class" })
301
295
  ], exports.LuksoCard.prototype, "customClass", 2);
302
296
  __decorateClass([
303
- directive.e({ type: String })
297
+ queryAssignedElements.e({ type: String })
304
298
  ], exports.LuksoCard.prototype, "size", 2);
305
299
  __decorateClass([
306
- directive.e({ type: Boolean, attribute: "is-hoverable" })
300
+ queryAssignedElements.e({ type: Boolean, attribute: "is-hoverable" })
307
301
  ], exports.LuksoCard.prototype, "isHoverable", 2);
308
302
  exports.LuksoCard = __decorateClass([
309
- directive.e$1("lukso-card")
303
+ queryAssignedElements.e$1("lukso-card")
310
304
  ], exports.LuksoCard);
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-card/index.ts"],"names":[],"mappings":"AAOA,OAAO,4BAA4B,CAAA;AAEnC,MAAM,MAAM,YAAY,GACpB,OAAO,GACP,aAAa,GACb,SAAS,GACT,WAAW,GACX,MAAM,GACN,MAAM,CAAA;AACV,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAA;;AAE1C,qBACa,SAAU,SAAQ,cAA4B;IAEzD,OAAO,EAAE,YAAY,CAAU;IAG/B,aAAa,SAAK;IAGlB,UAAU,SAAK;IAGf,cAAc,SAAK;IAGnB,YAAY,UAAQ;IAGpB,aAAa,UAAQ;IAGrB,WAAW,SAAK;IAGhB,IAAI,EAAE,SAAS,CAAW;IAG1B,WAAW,UAAQ;IAEnB,OAAO,CAAC,YAAY,CAA8C;IAClE,OAAO,CAAC,WAAW,CAA0C;IAC7D,OAAO,CAAC,gBAAgB,CAAmE;IAE3F,OAAO,CAAC,yBAAyB;IAYjC,aAAa;IAmBb,kBAAkB;IA0BlB,eAAe;IAsDf,gBAAgB;IAwDhB,YAAY;IAkCZ,YAAY;IAmCZ,MAAM;CAgBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAA;KACxB;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-card/index.ts"],"names":[],"mappings":"AAOA,OAAO,4BAA4B,CAAA;AAEnC,MAAM,MAAM,YAAY,GACpB,OAAO,GACP,aAAa,GACb,SAAS,GACT,WAAW,GACX,MAAM,GACN,MAAM,CAAA;AACV,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAA;;AAE1C,qBACa,SAAU,SAAQ,cAA4B;IAEzD,OAAO,EAAE,YAAY,CAAU;IAG/B,aAAa,SAAK;IAGlB,UAAU,SAAK;IAGf,cAAc,SAAK;IAGnB,YAAY,UAAQ;IAGpB,aAAa,UAAQ;IAGrB,WAAW,SAAK;IAGhB,IAAI,EAAE,SAAS,CAAW;IAG1B,WAAW,UAAQ;IAEnB,OAAO,CAAC,YAAY,CAA8C;IAClE,OAAO,CAAC,WAAW,CAA0C;IAC7D,OAAO,CAAC,gBAAgB,CAAmE;IAE3F,OAAO,CAAC,yBAAyB;IAYjC,aAAa;IAmBb,kBAAkB;IA0BlB,eAAe;IAiDf,gBAAgB;IAwDhB,YAAY;IAkCZ,YAAY;IAiCZ,MAAM;CAgBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAA;KACxB;CACF"}
@@ -1,8 +1,9 @@
1
- import { T as TailwindStyledElement, x } from '../../index-9dfdafd2.js';
2
- import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
- import { o } from '../../style-map-5173bb70.js';
4
- import { c as customClassMap } from '../../index-714323c9.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-5b6b1166.js';
2
+ import { e, a as e$1 } from '../../query-assigned-elements-e36df787.js';
3
+ import { o } from '../../style-map-6cdbbb8b.js';
4
+ import { c as customClassMap } from '../../index-5e194caf.js';
5
5
  import '../lukso-profile/index.js';
6
+ import '../../directive-2bb7789e.js';
6
7
 
7
8
  const style = ":host {\n display: flex;\n width: 100%;\n}\n\n:host([is-fixed-width]) {\n width: inherit;\n}";
8
9
 
@@ -89,17 +90,15 @@ let LuksoCard = class extends TailwindStyledElement(style) {
89
90
  return x`
90
91
  <div
91
92
  data-testid="card"
92
- class="bg-neutral-100 grid grid-rows-[auto,1fr] overflow-hidden ${customClassMap(
93
- {
94
- [this.mediumStyles]: !this.customClass && this.size === "medium",
95
- [this.smallStyles]: !this.customClass && this.size === "small",
96
- [this.smallHoverStyles]: this.isHoverable && this.size === "small",
97
- [this.customClass]: !!this.customClass,
98
- ["w-[362px]"]: this.isFixedWidth,
99
- ["w-full"]: !this.isFixedWidth,
100
- ["min-h-[534px]"]: this.isFixedHeight
101
- }
102
- )}"
93
+ class="bg-neutral-100 grid grid-rows-[auto,1fr] ${customClassMap({
94
+ [this.mediumStyles]: !this.customClass && this.size === "medium",
95
+ [this.smallStyles]: !this.customClass && this.size === "small",
96
+ [this.smallHoverStyles]: this.isHoverable && this.size === "small",
97
+ [this.customClass]: !!this.customClass,
98
+ ["w-[362px]"]: this.isFixedWidth,
99
+ ["w-full"]: !this.isFixedWidth,
100
+ ["min-h-[534px]"]: this.isFixedHeight
101
+ })}"
103
102
  >
104
103
  <div
105
104
  style=${o({
@@ -114,9 +113,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
114
113
  <slot name="header"></slot>
115
114
  </div>
116
115
  </div>
117
- <div
118
- class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-24 relative"
119
- >
116
+ <div class="bg-neutral-100 rounded-24 relative">
120
117
  <lukso-profile
121
118
  profile-url=${this.profileUrl}
122
119
  size="large"
@@ -128,8 +125,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
128
125
  class="overflow-hidden w-[153px] h-[70px] -top-[70px] relative mx-auto flex items-end justify-center -mb-2"
129
126
  >
130
127
  <div
131
- class="bg-neutral-100 rounded-[103px_103px_0_0] w-[96px] h-[48px]
132
- shadow-neutral-above-shadow-1xl"
128
+ class="bg-neutral-100 rounded-[103px_103px_0_0] w-[96px] h-[48px]"
133
129
  ></div>
134
130
  </div>
135
131
  <slot name="content"></slot>
@@ -141,17 +137,15 @@ let LuksoCard = class extends TailwindStyledElement(style) {
141
137
  return x`
142
138
  <div
143
139
  data-testid="card"
144
- class="bg-neutral-100 grid grid-rows-[auto,1fr] overflow-hidden ${customClassMap(
145
- {
146
- [this.mediumStyles]: !this.customClass && this.size === "medium",
147
- [this.smallStyles]: !this.customClass && this.size === "small",
148
- [this.smallHoverStyles]: this.isHoverable && this.size === "small",
149
- [this.customClass]: !!this.customClass,
150
- ["w-[362px]"]: this.isFixedWidth,
151
- ["w-full"]: !this.isFixedWidth,
152
- ["min-h-[534px]"]: this.isFixedHeight
153
- }
154
- )}"
140
+ class="bg-neutral-100 grid grid-rows-[auto,1fr] ${customClassMap({
141
+ [this.mediumStyles]: !this.customClass && this.size === "medium",
142
+ [this.smallStyles]: !this.customClass && this.size === "small",
143
+ [this.smallHoverStyles]: this.isHoverable && this.size === "small",
144
+ [this.customClass]: !!this.customClass,
145
+ ["w-[362px]"]: this.isFixedWidth,
146
+ ["w-full"]: !this.isFixedWidth,
147
+ ["min-h-[534px]"]: this.isFixedHeight
148
+ })}"
155
149
  >
156
150
  <div
157
151
  style=${o({
@@ -167,7 +161,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
167
161
  </div>
168
162
  </div>
169
163
  <div class="grid grid-rows-[max-content,auto]">
170
- <div class="bg-neutral-100 shadow-neutral-drop-shadow relative">
164
+ <div class="bg-neutral-100 relative">
171
165
  <lukso-profile
172
166
  profile-url=${this.profileUrl}
173
167
  size="large"
@@ -184,7 +178,9 @@ let LuksoCard = class extends TailwindStyledElement(style) {
184
178
  </div>
185
179
  <slot name="content"></slot>
186
180
  </div>
187
- <div class="bg-neutral-97 rounded-b-24">
181
+ <div
182
+ class="bg-neutral-97 rounded-b-24 shadow-neutral-inner-shadow-top"
183
+ >
188
184
  <slot name="bottom"></slot>
189
185
  </div>
190
186
  </div>
@@ -227,17 +223,15 @@ let LuksoCard = class extends TailwindStyledElement(style) {
227
223
  return x`
228
224
  <div
229
225
  data-testid="card"
230
- class="bg-neutral-100 grid grid-rows-[auto,1fr] overflow-hidden ${customClassMap(
231
- {
232
- [this.mediumStyles]: !this.customClass && this.size === "medium",
233
- [this.smallStyles]: !this.customClass && this.size === "small",
234
- [this.smallHoverStyles]: this.isHoverable && this.size === "small",
235
- [this.customClass]: !!this.customClass,
236
- ["w-[362px]"]: this.isFixedWidth,
237
- ["w-full"]: !this.isFixedWidth,
238
- ["min-h-[534px]"]: this.isFixedHeight
239
- }
240
- )}"
226
+ class="bg-neutral-100 grid grid-rows-[auto,1fr] ${customClassMap({
227
+ [this.mediumStyles]: !this.customClass && this.size === "medium",
228
+ [this.smallStyles]: !this.customClass && this.size === "small",
229
+ [this.smallHoverStyles]: this.isHoverable && this.size === "small",
230
+ [this.customClass]: !!this.customClass,
231
+ ["w-[362px]"]: this.isFixedWidth,
232
+ ["w-full"]: !this.isFixedWidth,
233
+ ["min-h-[534px]"]: this.isFixedHeight
234
+ })}"
241
235
  >
242
236
  <div
243
237
  style=${o({
@@ -2,10 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-e765f94b.cjs');
6
- const directive = require('../../directive-db00f5fb.cjs');
7
- const state = require('../../state-a62a7d5d.cjs');
8
- const index = require('../../index-7dc05ee5.cjs');
5
+ const shared_tailwindElement_index = require('../../index-7ef6f8a1.cjs');
6
+ const queryAssignedElements = require('../../query-assigned-elements-5200f974.cjs');
7
+ const state = require('../../state-51b50a6b.cjs');
8
+ const index = require('../../index-e9668573.cjs');
9
+ require('../../directive-8278ab14.cjs');
9
10
 
10
11
  var __defProp = Object.defineProperty;
11
12
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -177,34 +178,34 @@ exports.LuksoCheckbox = class LuksoCheckbox extends shared_tailwindElement_index
177
178
  }
178
179
  };
179
180
  __decorateClass([
180
- directive.e({ type: String })
181
+ queryAssignedElements.e({ type: String })
181
182
  ], exports.LuksoCheckbox.prototype, "name", 2);
182
183
  __decorateClass([
183
- directive.e({ type: String })
184
+ queryAssignedElements.e({ type: String })
184
185
  ], exports.LuksoCheckbox.prototype, "id", 2);
185
186
  __decorateClass([
186
- directive.e({ type: String })
187
+ queryAssignedElements.e({ type: String })
187
188
  ], exports.LuksoCheckbox.prototype, "ref", 2);
188
189
  __decorateClass([
189
- directive.e({ type: String })
190
+ queryAssignedElements.e({ type: String })
190
191
  ], exports.LuksoCheckbox.prototype, "type", 2);
191
192
  __decorateClass([
192
- directive.e({ type: String })
193
+ queryAssignedElements.e({ type: String })
193
194
  ], exports.LuksoCheckbox.prototype, "size", 2);
194
195
  __decorateClass([
195
- directive.e({ type: String })
196
+ queryAssignedElements.e({ type: String })
196
197
  ], exports.LuksoCheckbox.prototype, "error", 2);
197
198
  __decorateClass([
198
- directive.e({ type: Boolean })
199
+ queryAssignedElements.e({ type: Boolean })
199
200
  ], exports.LuksoCheckbox.prototype, "checked", 2);
200
201
  __decorateClass([
201
- directive.e({ type: String, attribute: "custom-class" })
202
+ queryAssignedElements.e({ type: String, attribute: "custom-class" })
202
203
  ], exports.LuksoCheckbox.prototype, "customClass", 2);
203
204
  __decorateClass([
204
- directive.e({ type: Boolean, attribute: "is-readonly" })
205
+ queryAssignedElements.e({ type: Boolean, attribute: "is-readonly" })
205
206
  ], exports.LuksoCheckbox.prototype, "isReadonly", 2);
206
207
  __decorateClass([
207
- directive.e({ type: Boolean, attribute: "is-disabled" })
208
+ queryAssignedElements.e({ type: Boolean, attribute: "is-disabled" })
208
209
  ], exports.LuksoCheckbox.prototype, "isDisabled", 2);
209
210
  __decorateClass([
210
211
  state.t()
@@ -213,5 +214,5 @@ __decorateClass([
213
214
  state.t()
214
215
  ], exports.LuksoCheckbox.prototype, "hasHighlight", 2);
215
216
  exports.LuksoCheckbox = __decorateClass([
216
- directive.e$1("lukso-checkbox")
217
+ queryAssignedElements.e$1("lukso-checkbox")
217
218
  ], exports.LuksoCheckbox);
@@ -1,7 +1,8 @@
1
- import { a as TailwindElement, x, A } from '../../index-9dfdafd2.js';
2
- import { e, a as e$1 } from '../../directive-9ec64c08.js';
3
- import { t } from '../../state-7fde94d1.js';
4
- import { c as customClassMap } from '../../index-714323c9.js';
1
+ import { a as TailwindElement, x, A } from '../../index-5b6b1166.js';
2
+ import { e, a as e$1 } from '../../query-assigned-elements-e36df787.js';
3
+ import { t } from '../../state-02a92ffa.js';
4
+ import { c as customClassMap } from '../../index-5e194caf.js';
5
+ import '../../directive-2bb7789e.js';
5
6
 
6
7
  var __defProp = Object.defineProperty;
7
8
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -2,10 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-e765f94b.cjs');
6
- const directive = require('../../directive-db00f5fb.cjs');
5
+ const shared_tailwindElement_index = require('../../index-7ef6f8a1.cjs');
6
+ const queryAssignedElements = require('../../query-assigned-elements-5200f974.cjs');
7
7
  require('../lukso-share/index.cjs');
8
- require('../../index-7dc05ee5.cjs');
9
8
 
10
9
  var __defProp = Object.defineProperty;
11
10
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -19,40 +18,53 @@ var __decorateClass = (decorators, target, key, kind) => {
19
18
  return result;
20
19
  };
21
20
  exports.LuksoFooter = class LuksoFooter extends shared_tailwindElement_index.TailwindElement {
21
+ constructor() {
22
+ super(...arguments);
23
+ this.providers = [
24
+ "twitter",
25
+ "instagram",
26
+ "linkedin",
27
+ "telegram",
28
+ "discord",
29
+ "reddit",
30
+ "medium",
31
+ "github"
32
+ ];
33
+ }
22
34
  render() {
23
35
  return shared_tailwindElement_index.x`
24
36
  <footer class="bg-neutral-100">
25
37
  <div
26
- class="p-10 grid gap-12 items-center lg:grid-cols-[auto,max-content]"
27
- >
28
- <slot name="top"></slot>
29
- <div className="flex lg:justify-end">
30
- <lukso-share></lukso-share>
31
- </div>
32
- </div>
33
- <div
34
- class="grid sm:grid-cols-[max-content,auto] px-10 py-6 bg-neutral-95 gap-8"
38
+ class="p-10 grid gap-8 items-center lg:grid-cols-[auto,max-content]"
35
39
  >
36
- <slot name="bottom"></slot>
37
- <div class="flex sm:justify-end">
38
- <a
39
- href="https://lukso.network/"
40
- target="_blank"
41
- class="sm:text-right opacity-50 text-neutral-30"
42
- >
43
- <span class="paragraph-inter-10-semi-bold">Powered by</span>
44
- <img
45
- src="/assets/images/lukso-logo.svg"
46
- alt="LUKSO"
47
- class="h-4"
48
- />
49
- </a>
40
+ <slot name="links"></slot>
41
+ <div class="flex sm:justify-between gap-4 flex-col sm:flex-row">
42
+ <lukso-share
43
+ providers=${JSON.stringify(this.providers)}
44
+ ></lukso-share>
45
+ <div class="flex sm:ml-8 sm:justify-end">
46
+ <a
47
+ href="https://lukso.network/"
48
+ target="_blank"
49
+ class="flex flex-col opacity-50 text-neutral-30 transition-opacity hover:opacity-80 sm:text-right"
50
+ >
51
+ <span class="paragraph-inter-10-semi-bold">Powered by</span>
52
+ <img
53
+ src="/assets/images/lukso-logo.svg"
54
+ alt="LUKSO"
55
+ class="h-4"
56
+ />
57
+ </a>
58
+ </div>
50
59
  </div>
51
60
  </div>
52
61
  </footer>
53
62
  `;
54
63
  }
55
64
  };
65
+ __decorateClass([
66
+ queryAssignedElements.e({ type: Array })
67
+ ], exports.LuksoFooter.prototype, "providers", 2);
56
68
  exports.LuksoFooter = __decorateClass([
57
- directive.e$1("lukso-footer")
69
+ queryAssignedElements.e$1("lukso-footer")
58
70
  ], exports.LuksoFooter);