@lukso/web-components 1.43.0 → 1.45.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 (66) hide show
  1. package/dist/components/index.cjs +3 -3
  2. package/dist/components/index.js +3 -3
  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 +2 -2
  6. package/dist/components/lukso-card/index.js +2 -2
  7. package/dist/components/lukso-checkbox/index.cjs +3 -2
  8. package/dist/components/lukso-checkbox/index.d.ts.map +1 -1
  9. package/dist/components/lukso-checkbox/index.js +3 -2
  10. package/dist/components/lukso-footer/index.cjs +8 -5
  11. package/dist/components/lukso-footer/index.d.ts +2 -2
  12. package/dist/components/lukso-footer/index.d.ts.map +1 -1
  13. package/dist/components/lukso-footer/index.js +8 -5
  14. package/dist/components/lukso-footer/lukso-footer.stories.d.ts.map +1 -1
  15. package/dist/components/lukso-icon/index.cjs +2 -2
  16. package/dist/components/lukso-icon/index.js +2 -2
  17. package/dist/components/lukso-input/index.cjs +14 -7
  18. package/dist/components/lukso-input/index.d.ts.map +1 -1
  19. package/dist/components/lukso-input/index.js +14 -7
  20. package/dist/components/lukso-modal/index.cjs +1 -1
  21. package/dist/components/lukso-modal/index.js +1 -1
  22. package/dist/components/lukso-navbar/index.cjs +2 -2
  23. package/dist/components/lukso-navbar/index.js +2 -2
  24. package/dist/components/lukso-profile/index.cjs +2 -2
  25. package/dist/components/lukso-profile/index.js +2 -2
  26. package/dist/components/lukso-progress/index.cjs +2 -2
  27. package/dist/components/lukso-progress/index.js +2 -2
  28. package/dist/components/lukso-sanitize/index.cjs +1 -1
  29. package/dist/components/lukso-sanitize/index.js +1 -1
  30. package/dist/components/lukso-search/index.cjs +57 -11
  31. package/dist/components/lukso-search/index.d.ts +6 -3
  32. package/dist/components/lukso-search/index.d.ts.map +1 -1
  33. package/dist/components/lukso-search/index.js +57 -11
  34. package/dist/components/lukso-search/lukso-search.stories.d.ts +2 -0
  35. package/dist/components/lukso-search/lukso-search.stories.d.ts.map +1 -1
  36. package/dist/components/lukso-share/index.cjs +10 -4
  37. package/dist/components/lukso-share/index.d.ts +9 -5
  38. package/dist/components/lukso-share/index.d.ts.map +1 -1
  39. package/dist/components/lukso-share/index.js +10 -4
  40. package/dist/components/lukso-share/lukso-share.stories.d.ts +10 -0
  41. package/dist/components/lukso-share/lukso-share.stories.d.ts.map +1 -1
  42. package/dist/components/lukso-switch/index.cjs +5 -4
  43. package/dist/components/lukso-switch/index.d.ts.map +1 -1
  44. package/dist/components/lukso-switch/index.js +5 -4
  45. package/dist/components/lukso-tag/index.cjs +2 -2
  46. package/dist/components/lukso-tag/index.js +2 -2
  47. package/dist/components/lukso-terms/index.cjs +2 -2
  48. package/dist/components/lukso-terms/index.js +2 -2
  49. package/dist/components/lukso-test/index.cjs +2 -2
  50. package/dist/components/lukso-test/index.js +2 -2
  51. package/dist/components/lukso-username/index.cjs +2 -2
  52. package/dist/components/lukso-username/index.js +2 -2
  53. package/dist/components/lukso-wizard/index.cjs +2 -2
  54. package/dist/components/lukso-wizard/index.js +2 -2
  55. package/dist/{directive-helpers-422da386.js → directive-helpers-63c6ddf6.js} +1 -1
  56. package/dist/{directive-helpers-b2851157.cjs → directive-helpers-c00f5d40.cjs} +1 -1
  57. package/dist/{index-5b6b1166.js → index-51cfbd32.js} +1 -1
  58. package/dist/{index-7ef6f8a1.cjs → index-c00a1316.cjs} +1 -1
  59. package/dist/index.cjs +3 -3
  60. package/dist/index.js +3 -3
  61. package/dist/shared/tailwind-element/index.cjs +1 -1
  62. package/dist/shared/tailwind-element/index.js +1 -1
  63. package/dist/{style-map-6cdbbb8b.js → style-map-bcba103a.js} +1 -1
  64. package/dist/{style-map-c00f9dd9.cjs → style-map-f36ae803.cjs} +1 -1
  65. package/package.json +1 -1
  66. package/tailwind.config.cjs +1 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-7ef6f8a1.cjs');
5
+ const shared_tailwindElement_index = require('../../index-c00a1316.cjs');
6
6
  const queryAssignedElements = require('../../query-assigned-elements-5200f974.cjs');
7
7
  const state = require('../../state-51b50a6b.cjs');
8
8
  const index = require('../../index-e9668573.cjs');
@@ -10,7 +10,7 @@ require('../lukso-icon/index.cjs');
10
10
  require('../lukso-profile/index.cjs');
11
11
  require('../lukso-username/index.cjs');
12
12
  require('../../directive-8278ab14.cjs');
13
- require('../../style-map-c00f9dd9.cjs');
13
+ require('../../style-map-f36ae803.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}";
16
16
 
@@ -47,6 +47,7 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
47
47
  this.isSearching = false;
48
48
  this.noResultsText = "";
49
49
  this.showNoResults = false;
50
+ this.selected = void 0;
50
51
  this.hasFocus = false;
51
52
  this.hasHighlight = false;
52
53
  this.isDebouncing = false;
@@ -56,6 +57,20 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
56
57
  border-solid h-[48px] placeholder:text-neutral-70
57
58
  outline-none transition transition-all duration-150 appearance-none rounded-12`;
58
59
  }
60
+ willUpdate(changedProperties) {
61
+ if (changedProperties.has("selected")) {
62
+ const selectedOption = this.shadowRoot?.querySelector(
63
+ `[data-index="${changedProperties.get("selected")}"`
64
+ );
65
+ if (selectedOption) {
66
+ selectedOption.scrollIntoView({
67
+ behavior: "smooth",
68
+ block: "center",
69
+ inline: "nearest"
70
+ });
71
+ }
72
+ }
73
+ }
59
74
  inputTemplate() {
60
75
  return shared_tailwindElement_index.x`
61
76
  <input
@@ -84,6 +99,7 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
84
99
  @focus=${this.handleFocus}
85
100
  @input=${this.handleSearch}
86
101
  @blur=${this.handleBlur}
102
+ @click=${this.handleInputClick}
87
103
  @mouseenter=${this.handleMouseOver}
88
104
  @mouseleave=${this.handleMouseOut}
89
105
  />
@@ -114,10 +130,11 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
114
130
  const resultTemplates = [];
115
131
  this.resultsParsed = JSON.parse(this.results);
116
132
  for (const result of Object.entries(this.resultsParsed)) {
133
+ const index = Number(result[0]);
117
134
  if ("value" in result[1]) {
118
- resultTemplates.push(this.resultStringTemplate(result[1]));
135
+ resultTemplates.push(this.resultStringTemplate(result[1], index));
119
136
  } else if ("address" in result[1]) {
120
- resultTemplates.push(this.resultProfileTemplate(result[1]));
137
+ resultTemplates.push(this.resultProfileTemplate(result[1], index));
121
138
  } else {
122
139
  console.error("Unknown result type", result);
123
140
  }
@@ -169,19 +186,29 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
169
186
  ${innerTemplate}
170
187
  </div>`;
171
188
  }
172
- resultStringTemplate(result) {
189
+ resultStringTemplate(result, index$1) {
173
190
  return shared_tailwindElement_index.x`<div
174
191
  data-id="${result.id}"
175
- class="paragraph-inter-14-regular text-neutral-20 cursor-pointer hover:bg-neutral-98 rounded-8 p-2"
192
+ data-index="${index$1 + 1}"
193
+ class="paragraph-inter-14-regular text-neutral-20 cursor-pointer hover:bg-neutral-98 rounded-8 p-2 ${index.customClassMap(
194
+ {
195
+ ["bg-neutral-98"]: this.selected === index$1 + 1
196
+ }
197
+ )}'"
176
198
  @click=${() => this.handleSelect(result)}
177
199
  >
178
200
  ${result.value}
179
201
  </div>`;
180
202
  }
181
- resultProfileTemplate(result) {
203
+ resultProfileTemplate(result, index$1) {
182
204
  return shared_tailwindElement_index.x`<div
183
205
  data-id="${result.address}"
184
- class="cursor-pointer hover:bg-neutral-98 rounded-8 p-2 flex gap-2 items-center"
206
+ data-index="${index$1 + 1}"
207
+ class="cursor-pointer hover:bg-neutral-98 rounded-8 p-2 flex gap-2 items-center ${index.customClassMap(
208
+ {
209
+ ["bg-neutral-98"]: this.selected === index$1 + 1
210
+ }
211
+ )}"
185
212
  @click=${() => this.handleSelect(result)}
186
213
  >
187
214
  <lukso-profile
@@ -199,7 +226,8 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
199
226
  ></lukso-username>
200
227
  </div>`;
201
228
  }
202
- handleSelect(result) {
229
+ async handleSelect(result) {
230
+ await this.updateComplete;
203
231
  const selectEvent = new CustomEvent("on-select", {
204
232
  detail: {
205
233
  value: result
@@ -215,7 +243,8 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
215
243
  this.hasHighlight = true;
216
244
  }
217
245
  }
218
- handleBlur(event) {
246
+ async handleBlur(event) {
247
+ await this.updateComplete;
219
248
  this.hasFocus = false;
220
249
  this.hasHighlight = false;
221
250
  const target = event.target;
@@ -229,7 +258,21 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
229
258
  });
230
259
  this.dispatchEvent(blurEvent);
231
260
  }
232
- searchDebounce(searchTerm) {
261
+ async handleInputClick(event) {
262
+ await this.updateComplete;
263
+ const target = event.target;
264
+ const clickEvent = new CustomEvent("on-input-click", {
265
+ detail: {
266
+ value: target.value,
267
+ event
268
+ },
269
+ bubbles: false,
270
+ composed: true
271
+ });
272
+ this.dispatchEvent(clickEvent);
273
+ }
274
+ async searchDebounce(searchTerm) {
275
+ await this.updateComplete;
233
276
  this.value = searchTerm;
234
277
  this.debounceTimer = setTimeout(() => {
235
278
  const changeEvent = new CustomEvent("on-search", {
@@ -346,6 +389,9 @@ __decorateClass([
346
389
  __decorateClass([
347
390
  queryAssignedElements.e({ type: Boolean, attribute: "show-no-results" })
348
391
  ], exports.LuksoSearch.prototype, "showNoResults", 2);
392
+ __decorateClass([
393
+ queryAssignedElements.e({ type: Number })
394
+ ], exports.LuksoSearch.prototype, "selected", 2);
349
395
  __decorateClass([
350
396
  state.t()
351
397
  ], exports.LuksoSearch.prototype, "hasFocus", 2);
@@ -1,4 +1,4 @@
1
- import { TemplateResult } from 'lit';
1
+ import { PropertyValues, TemplateResult } from 'lit';
2
2
  import { Address } from '../../shared/types';
3
3
  export type SearchStringResult = {
4
4
  id?: string;
@@ -31,6 +31,7 @@ export declare class LuksoSearch extends LuksoSearch_base {
31
31
  isSearching: boolean;
32
32
  noResultsText: string;
33
33
  showNoResults: boolean;
34
+ selected: any;
34
35
  private hasFocus;
35
36
  private hasHighlight;
36
37
  private isDebouncing;
@@ -38,6 +39,7 @@ export declare class LuksoSearch extends LuksoSearch_base {
38
39
  private resultsParsed;
39
40
  private searchTerm;
40
41
  private defaultInputStyles;
42
+ willUpdate(changedProperties: PropertyValues<this>): void;
41
43
  inputTemplate(): TemplateResult<1>;
42
44
  labelTemplate(): TemplateResult<1>;
43
45
  descriptionTemplate(): TemplateResult<1>;
@@ -46,11 +48,12 @@ export declare class LuksoSearch extends LuksoSearch_base {
46
48
  noResultsTemplate(): TemplateResult<1>;
47
49
  loadingTemplate(): TemplateResult<1>;
48
50
  dropdownWrapperTemplate(innerTemplate: TemplateResult<1> | TemplateResult<1>[]): TemplateResult<1>;
49
- resultStringTemplate(result: SearchStringResult): TemplateResult<1>;
50
- resultProfileTemplate(result: SearchProfileResult): TemplateResult<1>;
51
+ resultStringTemplate(result: SearchStringResult, index: number): TemplateResult<1>;
52
+ resultProfileTemplate(result: SearchProfileResult, index: number): TemplateResult<1>;
51
53
  private handleSelect;
52
54
  private handleFocus;
53
55
  private handleBlur;
56
+ private handleInputClick;
54
57
  private searchDebounce;
55
58
  private handleSearch;
56
59
  private handleMouseOver;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-search/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAiB,MAAM,KAAK,CAAA;AAMnD,OAAO,yBAAyB,CAAA;AAChC,OAAO,4BAA4B,CAAA;AACnC,OAAO,6BAA6B,CAAA;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAExC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,kBAAkB,GAAG,mBAAmB,CAAA;;AAEnE,qBACa,WAAY,SAAQ,gBAA4B;IAE3D,KAAK,SAAK;IAGV,IAAI,SAAK;IAGT,WAAW,SAAK;IAGhB,KAAK,SAAK;IAGV,YAAY,SAAQ;IAGpB,EAAE,SAAK;IAGP,WAAW,SAAK;IAGhB,KAAK,SAAK;IAGV,WAAW,SAAK;IAGhB,WAAW,UAAQ;IAGnB,UAAU,UAAQ;IAGlB,UAAU,UAAQ;IAGlB,SAAS,UAAQ;IAGjB,UAAU,UAAQ;IAGlB,OAAO,SAAK;IAGZ,QAAQ,SAAM;IAGd,WAAW,UAAQ;IAGnB,aAAa,SAAK;IAGlB,aAAa,UAAQ;IAGrB,OAAO,CAAC,QAAQ,CAAQ;IAGxB,OAAO,CAAC,YAAY,CAAQ;IAG5B,OAAO,CAAC,YAAY,CAAQ;IAG5B,OAAO,CAAC,aAAa,CAAgB;IAGrC,OAAO,CAAC,aAAa,CAAqB;IAG1C,OAAO,CAAC,UAAU,CAAK;IAEvB,OAAO,CAAC,kBAAkB,CAEuD;IAEjF,aAAa;IAoCb,aAAa;IAUb,mBAAmB;IAQnB,aAAa;IAMb,eAAe;IAmBf,iBAAiB;IAQjB,eAAe;IAuCf,uBAAuB,CACrB,aAAa,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,EAAE;IASxD,oBAAoB,CAAC,MAAM,EAAE,kBAAkB;IAU/C,qBAAqB,CAAC,MAAM,EAAE,mBAAmB;IAsBjD,OAAO,CAAC,YAAY;IAWpB,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,UAAU;IAelB,OAAO,CAAC,cAAc;IAgBtB,OAAO,CAAC,YAAY;IAUpB,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,cAAc;IAMtB,MAAM;CAiCP;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-search/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAiB,MAAM,KAAK,CAAA;AAMnE,OAAO,yBAAyB,CAAA;AAChC,OAAO,4BAA4B,CAAA;AACnC,OAAO,6BAA6B,CAAA;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAExC,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,kBAAkB,GAAG,mBAAmB,CAAA;;AAEnE,qBACa,WAAY,SAAQ,gBAA4B;IAE3D,KAAK,SAAK;IAGV,IAAI,SAAK;IAGT,WAAW,SAAK;IAGhB,KAAK,SAAK;IAGV,YAAY,SAAQ;IAGpB,EAAE,SAAK;IAGP,WAAW,SAAK;IAGhB,KAAK,SAAK;IAGV,WAAW,SAAK;IAGhB,WAAW,UAAQ;IAGnB,UAAU,UAAQ;IAGlB,UAAU,UAAQ;IAGlB,SAAS,UAAQ;IAGjB,UAAU,UAAQ;IAGlB,OAAO,SAAK;IAGZ,QAAQ,SAAM;IAGd,WAAW,UAAQ;IAGnB,aAAa,SAAK;IAGlB,aAAa,UAAQ;IAGrB,QAAQ,MAAY;IAGpB,OAAO,CAAC,QAAQ,CAAQ;IAGxB,OAAO,CAAC,YAAY,CAAQ;IAG5B,OAAO,CAAC,YAAY,CAAQ;IAG5B,OAAO,CAAC,aAAa,CAAgB;IAGrC,OAAO,CAAC,aAAa,CAAqB;IAG1C,OAAO,CAAC,UAAU,CAAK;IAEvB,OAAO,CAAC,kBAAkB,CAEuD;IAEjF,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC;IAiBlD,aAAa;IAqCb,aAAa;IAUb,mBAAmB;IAQnB,aAAa;IAMb,eAAe;IAqBf,iBAAiB;IAQjB,eAAe;IAuCf,uBAAuB,CACrB,aAAa,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,EAAE;IASxD,oBAAoB,CAAC,MAAM,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM;IAe9D,qBAAqB,CAAC,MAAM,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM;YA2BlD,YAAY;IAY1B,OAAO,CAAC,WAAW;YAOL,UAAU;YAgBV,gBAAgB;YAchB,cAAc;IAiB5B,OAAO,CAAC,YAAY;IAUpB,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,cAAc;IAMtB,MAAM;CAiCP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAA;KAC5B;CACF"}
@@ -1,4 +1,4 @@
1
- import { T as TailwindStyledElement, x, A } from '../../index-5b6b1166.js';
1
+ import { T as TailwindStyledElement, x, A } from '../../index-51cfbd32.js';
2
2
  import { e, a as e$1 } from '../../query-assigned-elements-e36df787.js';
3
3
  import { t } from '../../state-02a92ffa.js';
4
4
  import { c as customClassMap } from '../../index-5e194caf.js';
@@ -6,7 +6,7 @@ import '../lukso-icon/index.js';
6
6
  import '../lukso-profile/index.js';
7
7
  import '../lukso-username/index.js';
8
8
  import '../../directive-2bb7789e.js';
9
- import '../../style-map-6cdbbb8b.js';
9
+ import '../../style-map-bcba103a.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}";
12
12
 
@@ -43,6 +43,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
43
43
  this.isSearching = false;
44
44
  this.noResultsText = "";
45
45
  this.showNoResults = false;
46
+ this.selected = void 0;
46
47
  this.hasFocus = false;
47
48
  this.hasHighlight = false;
48
49
  this.isDebouncing = false;
@@ -52,6 +53,20 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
52
53
  border-solid h-[48px] placeholder:text-neutral-70
53
54
  outline-none transition transition-all duration-150 appearance-none rounded-12`;
54
55
  }
56
+ willUpdate(changedProperties) {
57
+ if (changedProperties.has("selected")) {
58
+ const selectedOption = this.shadowRoot?.querySelector(
59
+ `[data-index="${changedProperties.get("selected")}"`
60
+ );
61
+ if (selectedOption) {
62
+ selectedOption.scrollIntoView({
63
+ behavior: "smooth",
64
+ block: "center",
65
+ inline: "nearest"
66
+ });
67
+ }
68
+ }
69
+ }
55
70
  inputTemplate() {
56
71
  return x`
57
72
  <input
@@ -80,6 +95,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
80
95
  @focus=${this.handleFocus}
81
96
  @input=${this.handleSearch}
82
97
  @blur=${this.handleBlur}
98
+ @click=${this.handleInputClick}
83
99
  @mouseenter=${this.handleMouseOver}
84
100
  @mouseleave=${this.handleMouseOut}
85
101
  />
@@ -110,10 +126,11 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
110
126
  const resultTemplates = [];
111
127
  this.resultsParsed = JSON.parse(this.results);
112
128
  for (const result of Object.entries(this.resultsParsed)) {
129
+ const index = Number(result[0]);
113
130
  if ("value" in result[1]) {
114
- resultTemplates.push(this.resultStringTemplate(result[1]));
131
+ resultTemplates.push(this.resultStringTemplate(result[1], index));
115
132
  } else if ("address" in result[1]) {
116
- resultTemplates.push(this.resultProfileTemplate(result[1]));
133
+ resultTemplates.push(this.resultProfileTemplate(result[1], index));
117
134
  } else {
118
135
  console.error("Unknown result type", result);
119
136
  }
@@ -165,19 +182,29 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
165
182
  ${innerTemplate}
166
183
  </div>`;
167
184
  }
168
- resultStringTemplate(result) {
185
+ resultStringTemplate(result, index) {
169
186
  return x`<div
170
187
  data-id="${result.id}"
171
- class="paragraph-inter-14-regular text-neutral-20 cursor-pointer hover:bg-neutral-98 rounded-8 p-2"
188
+ data-index="${index + 1}"
189
+ class="paragraph-inter-14-regular text-neutral-20 cursor-pointer hover:bg-neutral-98 rounded-8 p-2 ${customClassMap(
190
+ {
191
+ ["bg-neutral-98"]: this.selected === index + 1
192
+ }
193
+ )}'"
172
194
  @click=${() => this.handleSelect(result)}
173
195
  >
174
196
  ${result.value}
175
197
  </div>`;
176
198
  }
177
- resultProfileTemplate(result) {
199
+ resultProfileTemplate(result, index) {
178
200
  return x`<div
179
201
  data-id="${result.address}"
180
- class="cursor-pointer hover:bg-neutral-98 rounded-8 p-2 flex gap-2 items-center"
202
+ data-index="${index + 1}"
203
+ class="cursor-pointer hover:bg-neutral-98 rounded-8 p-2 flex gap-2 items-center ${customClassMap(
204
+ {
205
+ ["bg-neutral-98"]: this.selected === index + 1
206
+ }
207
+ )}"
181
208
  @click=${() => this.handleSelect(result)}
182
209
  >
183
210
  <lukso-profile
@@ -195,7 +222,8 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
195
222
  ></lukso-username>
196
223
  </div>`;
197
224
  }
198
- handleSelect(result) {
225
+ async handleSelect(result) {
226
+ await this.updateComplete;
199
227
  const selectEvent = new CustomEvent("on-select", {
200
228
  detail: {
201
229
  value: result
@@ -211,7 +239,8 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
211
239
  this.hasHighlight = true;
212
240
  }
213
241
  }
214
- handleBlur(event) {
242
+ async handleBlur(event) {
243
+ await this.updateComplete;
215
244
  this.hasFocus = false;
216
245
  this.hasHighlight = false;
217
246
  const target = event.target;
@@ -225,7 +254,21 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
225
254
  });
226
255
  this.dispatchEvent(blurEvent);
227
256
  }
228
- searchDebounce(searchTerm) {
257
+ async handleInputClick(event) {
258
+ await this.updateComplete;
259
+ const target = event.target;
260
+ const clickEvent = new CustomEvent("on-input-click", {
261
+ detail: {
262
+ value: target.value,
263
+ event
264
+ },
265
+ bubbles: false,
266
+ composed: true
267
+ });
268
+ this.dispatchEvent(clickEvent);
269
+ }
270
+ async searchDebounce(searchTerm) {
271
+ await this.updateComplete;
229
272
  this.value = searchTerm;
230
273
  this.debounceTimer = setTimeout(() => {
231
274
  const changeEvent = new CustomEvent("on-search", {
@@ -342,6 +385,9 @@ __decorateClass([
342
385
  __decorateClass([
343
386
  e({ type: Boolean, attribute: "show-no-results" })
344
387
  ], LuksoSearch.prototype, "showNoResults", 2);
388
+ __decorateClass([
389
+ e({ type: Number })
390
+ ], LuksoSearch.prototype, "selected", 2);
345
391
  __decorateClass([
346
392
  t()
347
393
  ], LuksoSearch.prototype, "hasFocus", 2);
@@ -10,4 +10,6 @@ export declare const ProfileSearch: any;
10
10
  export declare const SearchingState: any;
11
11
  /** To show that search hes no results add `show-no-results` attribute. You can also customize no results text with `no-results-text` attribute. */
12
12
  export declare const NoResults: any;
13
+ /** Example of selected option. */
14
+ export declare const SelectedOption: any;
13
15
  //# sourceMappingURL=lukso-search.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lukso-search.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-search/lukso-search.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAGhD,OAAO,SAAS,CAAA;AAEhB,mHAAmH;AACnH,QAAA,MAAM,IAAI,EAAE,IAsOX,CAAA;AAED,eAAe,IAAI,CAAA;AA4EnB,+CAA+C;AAC/C,eAAO,MAAM,aAAa,KAAoB,CAAA;AAM9C,gDAAgD;AAChD,eAAO,MAAM,aAAa,KAAoB,CAAA;AAsB9C,0FAA0F;AAC1F,eAAO,MAAM,cAAc,KAAoB,CAAA;AAQ/C,mJAAmJ;AACnJ,eAAO,MAAM,SAAS,KAAoB,CAAA"}
1
+ {"version":3,"file":"lukso-search.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-search/lukso-search.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAGhD,OAAO,SAAS,CAAA;AAEhB,mHAAmH;AACnH,QAAA,MAAM,IAAI,EAAE,IA6OX,CAAA;AAED,eAAe,IAAI,CAAA;AA8EnB,+CAA+C;AAC/C,eAAO,MAAM,aAAa,KAAoB,CAAA;AAM9C,gDAAgD;AAChD,eAAO,MAAM,aAAa,KAAoB,CAAA;AAsB9C,0FAA0F;AAC1F,eAAO,MAAM,cAAc,KAAoB,CAAA;AAQ/C,mJAAmJ;AACnJ,eAAO,MAAM,SAAS,KAAoB,CAAA;AAQ1C,mCAAmC;AACnC,eAAO,MAAM,cAAc,KAAoB,CAAA"}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-7ef6f8a1.cjs');
5
+ const shared_tailwindElement_index = require('../../index-c00a1316.cjs');
6
6
  const queryAssignedElements = require('../../query-assigned-elements-5200f974.cjs');
7
7
 
8
8
  const style = ":host {\n display: inline-flex\n}";
@@ -32,8 +32,8 @@ exports.LuksoShare = class LuksoShare extends shared_tailwindElement_index.Tailw
32
32
  "medium",
33
33
  "github"
34
34
  ];
35
- this.urls = {
36
- twitter: "https://twitter.com/lukso_io",
35
+ this.defaultProviderLinks = {
36
+ twitter: "https://twitter.com/ERC725Account",
37
37
  instagram: "https://www.instagram.com/lukso",
38
38
  linkedin: "https://linkedin.com/company/lukso",
39
39
  telegram: "https://t.me/LUKSO_News",
@@ -54,7 +54,13 @@ exports.LuksoShare = class LuksoShare extends shared_tailwindElement_index.Tailw
54
54
  render() {
55
55
  const linkTemplates = [];
56
56
  for (const provider of this.providers) {
57
- linkTemplates.push(this.linkTemplate(provider, this.urls[provider]));
57
+ if (typeof provider === "string") {
58
+ linkTemplates.push(
59
+ this.linkTemplate(provider, this.defaultProviderLinks[provider])
60
+ );
61
+ } else {
62
+ linkTemplates.push(this.linkTemplate(provider.name, provider.url));
63
+ }
58
64
  }
59
65
  return shared_tailwindElement_index.x`<div
60
66
  class="grid gap-2 sm:gap-4"
@@ -1,14 +1,18 @@
1
- export type Provider = 'twitter' | 'instagram' | 'linkedin' | 'telegram' | 'discord' | 'reddit' | 'medium' | 'github';
1
+ export type ProviderName = 'twitter' | 'instagram' | 'linkedin' | 'telegram' | 'discord' | 'reddit' | 'medium' | 'github';
2
2
  export type Url = `https://${string}`;
3
3
  export type ProviderLinks = {
4
- [key in Provider]: Url;
4
+ [key in ProviderName]: Url;
5
+ };
6
+ export type ProviderObject = {
7
+ name: ProviderName;
8
+ url: Url;
5
9
  };
6
10
  declare const LuksoShare_base: typeof import("lit").LitElement;
7
11
  export declare class LuksoShare extends LuksoShare_base {
8
12
  customStyle: string;
9
- providers: Provider[];
10
- private urls;
11
- linkTemplate(name: Provider, url: Url): import("lit").TemplateResult<1>;
13
+ providers: ProviderName[] | ProviderObject[];
14
+ private defaultProviderLinks;
15
+ linkTemplate(name: ProviderName, url: Url): import("lit").TemplateResult<1>;
12
16
  render(): import("lit").TemplateResult<1>;
13
17
  }
14
18
  declare global {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-share/index.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,QAAQ,GAChB,SAAS,GACT,WAAW,GACX,UAAU,GACV,UAAU,GACV,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,QAAQ,CAAA;AAEZ,MAAM,MAAM,GAAG,GAAG,WAAW,MAAM,EAAE,CAAA;AAErC,MAAM,MAAM,aAAa,GAAG;KACzB,GAAG,IAAI,QAAQ,GAAG,GAAG;CACvB,CAAA;;AAED,qBACa,UAAW,SAAQ,eAA4B;IAE1D,WAAW,SAAK;IAGhB,SAAS,EAAE,QAAQ,EAAE,CASpB;IAED,OAAO,CAAC,IAAI,CASX;IAED,YAAY,CAAC,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG;IASrC,MAAM;CAeP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAA;KAC1B;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-share/index.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,YAAY,GACpB,SAAS,GACT,WAAW,GACX,UAAU,GACV,UAAU,GACV,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,QAAQ,CAAA;AAEZ,MAAM,MAAM,GAAG,GAAG,WAAW,MAAM,EAAE,CAAA;AAErC,MAAM,MAAM,aAAa,GAAG;KACzB,GAAG,IAAI,YAAY,GAAG,GAAG;CAC3B,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,YAAY,CAAA;IAClB,GAAG,EAAE,GAAG,CAAA;CACT,CAAA;;AAED,qBACa,UAAW,SAAQ,eAA4B;IAE1D,WAAW,SAAK;IAGhB,SAAS,EAAE,YAAY,EAAE,GAAG,cAAc,EAAE,CAS3C;IAED,OAAO,CAAC,oBAAoB,CAS3B;IAED,YAAY,CAAC,IAAI,EAAE,YAAY,EAAE,GAAG,EAAE,GAAG;IASzC,MAAM;CAqBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAA;KAC1B;CACF"}
@@ -1,4 +1,4 @@
1
- import { T as TailwindStyledElement, x } from '../../index-5b6b1166.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-51cfbd32.js';
2
2
  import { e, a as e$1 } from '../../query-assigned-elements-e36df787.js';
3
3
 
4
4
  const style = ":host {\n display: inline-flex\n}";
@@ -28,8 +28,8 @@ let LuksoShare = class extends TailwindStyledElement(style) {
28
28
  "medium",
29
29
  "github"
30
30
  ];
31
- this.urls = {
32
- twitter: "https://twitter.com/lukso_io",
31
+ this.defaultProviderLinks = {
32
+ twitter: "https://twitter.com/ERC725Account",
33
33
  instagram: "https://www.instagram.com/lukso",
34
34
  linkedin: "https://linkedin.com/company/lukso",
35
35
  telegram: "https://t.me/LUKSO_News",
@@ -50,7 +50,13 @@ let LuksoShare = class extends TailwindStyledElement(style) {
50
50
  render() {
51
51
  const linkTemplates = [];
52
52
  for (const provider of this.providers) {
53
- linkTemplates.push(this.linkTemplate(provider, this.urls[provider]));
53
+ if (typeof provider === "string") {
54
+ linkTemplates.push(
55
+ this.linkTemplate(provider, this.defaultProviderLinks[provider])
56
+ );
57
+ } else {
58
+ linkTemplates.push(this.linkTemplate(provider.name, provider.url));
59
+ }
54
60
  }
55
61
  return x`<div
56
62
  class="grid gap-2 sm:gap-4"
@@ -8,4 +8,14 @@ export declare const Default: any;
8
8
  export declare const CustomStyle: any;
9
9
  /** With `providers` attribute pick only providers that you want, you can also control order this way. Use `JSON.stringify` to encode `array`. */
10
10
  export declare const LimitProviders: any;
11
+ /** If you want overwrite default provider link instead of using just `ProviderName` then pass it as the `ProviderObject`:
12
+ *
13
+ ```json
14
+ {
15
+ name: 'twitter',
16
+ url: 'https://twitter.com/lukso_io'
17
+ }
18
+ ```
19
+ */
20
+ export declare const CustomProviderLink: any;
11
21
  //# sourceMappingURL=lukso-share.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lukso-share.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-share/lukso-share.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAEhD,OAAO,SAAS,CAAA;AAEhB,8DAA8D;AAC9D,QAAA,MAAM,IAAI,EAAE,IAoCX,CAAA;AAED,eAAe,IAAI,CAAA;AAQnB,iDAAiD;AACjD,eAAO,MAAM,OAAO,KAAoB,CAAA;AAExC,2EAA2E;AAC3E,eAAO,MAAM,WAAW,KAAoB,CAAA;AAK5C,iJAAiJ;AACjJ,eAAO,MAAM,cAAc,KAAoB,CAAA"}
1
+ {"version":3,"file":"lukso-share.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-share/lukso-share.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAEhD,OAAO,SAAS,CAAA;AAEhB,8DAA8D;AAC9D,QAAA,MAAM,IAAI,EAAE,IAyCX,CAAA;AAED,eAAe,IAAI,CAAA;AAQnB,iDAAiD;AACjD,eAAO,MAAM,OAAO,KAAoB,CAAA;AAExC,2EAA2E;AAC3E,eAAO,MAAM,WAAW,KAAoB,CAAA;AAK5C,iJAAiJ;AACjJ,eAAO,MAAM,cAAc,KAAoB,CAAA;AAK/C;;;;;;;;EAQE;AACF,eAAO,MAAM,kBAAkB,KAAoB,CAAA"}
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-7ef6f8a1.cjs');
5
+ const shared_tailwindElement_index = require('../../index-c00a1316.cjs');
6
6
  const queryAssignedElements = require('../../query-assigned-elements-5200f974.cjs');
7
- const styleMap = require('../../style-map-c00f9dd9.cjs');
7
+ const styleMap = require('../../style-map-f36ae803.cjs');
8
8
  const index = require('../../index-e9668573.cjs');
9
9
  require('../../directive-8278ab14.cjs');
10
10
 
@@ -28,9 +28,10 @@ exports.LuksoSwitch = class LuksoSwitch extends shared_tailwindElement_index.Tai
28
28
  this.defaultLabelStyles = `transition duration-300 ease-in block h-6 overflow-hidden rounded-full relative inline-block w-10`;
29
29
  this.defaultInputStyles = `absolute block w-6 h-6 rounded-full bg-white border-2 appearance-none transition duration-300 ease-in`;
30
30
  }
31
- handleChange(event) {
32
- this.isChecked = !this.isChecked;
31
+ async handleChange(event) {
33
32
  const target = event.target;
33
+ this.isChecked = target.checked;
34
+ await this.updateComplete;
34
35
  const changeEvent = new CustomEvent("on-change", {
35
36
  detail: {
36
37
  value: target.checked,
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-switch/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAG3D,qBACa,WAAY,SAAQ,eAAe;IAE9C,KAAK,SAAa;IAGlB,OAAO,CAAC,SAAS,CAAQ;IAMzB,OAAO,CAAC,UAAU,CAAQ;IAE1B,OAAO,CAAC,YAAY;IAcpB,OAAO,CAAC,kBAAkB,CAAsG;IAEhI,OAAO,CAAC,kBAAkB,CAA0G;IAEpI,MAAM;CAiCP;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":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAG3D,qBACa,WAAY,SAAQ,eAAe;IAE9C,KAAK,SAAa;IAGlB,OAAO,CAAC,SAAS,CAAQ;IAMzB,OAAO,CAAC,UAAU,CAAQ;YAEZ,YAAY;IAe1B,OAAO,CAAC,kBAAkB,CAAsG;IAEhI,OAAO,CAAC,kBAAkB,CAA0G;IAEpI,MAAM;CAiCP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAA;KAC5B;CACF"}
@@ -1,6 +1,6 @@
1
- import { a as TailwindElement, x } from '../../index-5b6b1166.js';
1
+ import { a as TailwindElement, x } from '../../index-51cfbd32.js';
2
2
  import { e, a as e$1 } from '../../query-assigned-elements-e36df787.js';
3
- import { o } from '../../style-map-6cdbbb8b.js';
3
+ import { o } from '../../style-map-bcba103a.js';
4
4
  import { c as customClassMap } from '../../index-5e194caf.js';
5
5
  import '../../directive-2bb7789e.js';
6
6
 
@@ -24,9 +24,10 @@ let LuksoSwitch = class extends TailwindElement {
24
24
  this.defaultLabelStyles = `transition duration-300 ease-in block h-6 overflow-hidden rounded-full relative inline-block w-10`;
25
25
  this.defaultInputStyles = `absolute block w-6 h-6 rounded-full bg-white border-2 appearance-none transition duration-300 ease-in`;
26
26
  }
27
- handleChange(event) {
28
- this.isChecked = !this.isChecked;
27
+ async handleChange(event) {
29
28
  const target = event.target;
29
+ this.isChecked = target.checked;
30
+ await this.updateComplete;
30
31
  const changeEvent = new CustomEvent("on-change", {
31
32
  detail: {
32
33
  value: target.checked,
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-7ef6f8a1.cjs');
5
+ const shared_tailwindElement_index = require('../../index-c00a1316.cjs');
6
6
  const queryAssignedElements = require('../../query-assigned-elements-5200f974.cjs');
7
- const styleMap = require('../../style-map-c00f9dd9.cjs');
7
+ const styleMap = require('../../style-map-f36ae803.cjs');
8
8
  const index = require('../../index-e9668573.cjs');
9
9
  require('../../directive-8278ab14.cjs');
10
10
 
@@ -1,6 +1,6 @@
1
- import { T as TailwindStyledElement, x } from '../../index-5b6b1166.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-51cfbd32.js';
2
2
  import { e, a as e$1 } from '../../query-assigned-elements-e36df787.js';
3
- import { o } from '../../style-map-6cdbbb8b.js';
3
+ import { o } from '../../style-map-bcba103a.js';
4
4
  import { c as customClassMap } from '../../index-5e194caf.js';
5
5
  import '../../directive-2bb7789e.js';
6
6
 
@@ -2,14 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-7ef6f8a1.cjs');
5
+ const shared_tailwindElement_index = require('../../index-c00a1316.cjs');
6
6
  const queryAssignedElements = require('../../query-assigned-elements-5200f974.cjs');
7
7
  const state = require('../../state-51b50a6b.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-c00f9dd9.cjs');
12
+ require('../../style-map-f36ae803.cjs');
13
13
 
14
14
  const style = ":host {\n display: flex;\n height: 100%\n}";
15
15
 
@@ -1,11 +1,11 @@
1
- import { T as TailwindStyledElement, x } from '../../index-5b6b1166.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-51cfbd32.js';
2
2
  import { e, a as e$1 } from '../../query-assigned-elements-e36df787.js';
3
3
  import { t } from '../../state-02a92ffa.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-6cdbbb8b.js';
8
+ import '../../style-map-bcba103a.js';
9
9
 
10
10
  const style = ":host {\n display: flex;\n height: 100%\n}";
11
11
 
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-7ef6f8a1.cjs');
5
+ const shared_tailwindElement_index = require('../../index-c00a1316.cjs');
6
6
  const queryAssignedElements = require('../../query-assigned-elements-5200f974.cjs');
7
7
  const directive = require('../../directive-8278ab14.cjs');
8
- const directiveHelpers = require('../../directive-helpers-b2851157.cjs');
8
+ const directiveHelpers = require('../../directive-helpers-c00f5d40.cjs');
9
9
 
10
10
  /**
11
11
  * @license
@@ -1,7 +1,7 @@
1
- import { c as A$1, b as T, T as TailwindStyledElement, x as x$1 } from '../../index-5b6b1166.js';
1
+ import { c as A$1, b as T, T as TailwindStyledElement, x as x$1 } from '../../index-51cfbd32.js';
2
2
  import { e as e$2, a as e$3 } from '../../query-assigned-elements-e36df787.js';
3
3
  import { i as i$1, t as t$1, e as e$1 } from '../../directive-2bb7789e.js';
4
- import { e } from '../../directive-helpers-422da386.js';
4
+ import { e } from '../../directive-helpers-63c6ddf6.js';
5
5
 
6
6
  /**
7
7
  * @license
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-7ef6f8a1.cjs');
5
+ const shared_tailwindElement_index = require('../../index-c00a1316.cjs');
6
6
  const queryAssignedElements = require('../../query-assigned-elements-5200f974.cjs');
7
- const styleMap = require('../../style-map-c00f9dd9.cjs');
7
+ const styleMap = require('../../style-map-f36ae803.cjs');
8
8
  const index = require('../../index-e9668573.cjs');
9
9
  require('../../directive-8278ab14.cjs');
10
10
 
@@ -1,6 +1,6 @@
1
- import { T as TailwindStyledElement, x, c as A } from '../../index-5b6b1166.js';
1
+ import { T as TailwindStyledElement, x, c as A } from '../../index-51cfbd32.js';
2
2
  import { e, a as e$1 } from '../../query-assigned-elements-e36df787.js';
3
- import { o } from '../../style-map-6cdbbb8b.js';
3
+ import { o } from '../../style-map-bcba103a.js';
4
4
  import { c as customClassMap } from '../../index-5e194caf.js';
5
5
  import '../../directive-2bb7789e.js';
6
6