@lukso/web-components 1.115.2 → 1.115.3

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 (95) hide show
  1. package/dist/{bundle-mjs-d58a83c6.cjs → cn-90c03edf.js} +35 -4
  2. package/dist/{bundle-mjs-fbc6e2a8.js → cn-b6daa995.cjs} +39 -2
  3. package/dist/components/index.cjs +9 -12
  4. package/dist/components/index.js +9 -12
  5. package/dist/components/lukso-button/index.cjs +28 -31
  6. package/dist/components/lukso-button/index.js +11 -14
  7. package/dist/components/lukso-card/index.cjs +39 -29
  8. package/dist/components/lukso-card/index.js +30 -20
  9. package/dist/components/lukso-checkbox/index.cjs +18 -18
  10. package/dist/components/lukso-checkbox/index.js +8 -8
  11. package/dist/components/lukso-color-picker/index.cjs +30 -33
  12. package/dist/components/lukso-color-picker/index.js +16 -19
  13. package/dist/components/lukso-dropdown/index.cjs +9 -12
  14. package/dist/components/lukso-dropdown/index.js +9 -12
  15. package/dist/components/lukso-dropdown-option/index.cjs +10 -11
  16. package/dist/components/lukso-dropdown-option/index.js +4 -5
  17. package/dist/components/lukso-footer/index.cjs +4 -4
  18. package/dist/components/lukso-footer/index.js +3 -3
  19. package/dist/components/lukso-icon/index.cjs +8 -8
  20. package/dist/components/lukso-icon/index.js +4 -4
  21. package/dist/components/lukso-image/index.cjs +11 -12
  22. package/dist/components/lukso-image/index.js +9 -10
  23. package/dist/components/lukso-input/index.cjs +46 -49
  24. package/dist/components/lukso-input/index.js +22 -25
  25. package/dist/components/lukso-modal/index.cjs +7 -8
  26. package/dist/components/lukso-modal/index.js +4 -5
  27. package/dist/components/lukso-navbar/index.cjs +22 -23
  28. package/dist/components/lukso-navbar/index.js +13 -14
  29. package/dist/components/lukso-pagination/index.cjs +13 -16
  30. package/dist/components/lukso-pagination/index.js +8 -11
  31. package/dist/components/lukso-profile/index.cjs +6 -7
  32. package/dist/components/lukso-profile/index.js +6 -7
  33. package/dist/components/lukso-progress/index.cjs +10 -13
  34. package/dist/components/lukso-progress/index.js +5 -8
  35. package/dist/components/lukso-sanitize/index.cjs +6 -6
  36. package/dist/components/lukso-sanitize/index.js +4 -4
  37. package/dist/components/lukso-search/index.cjs +41 -44
  38. package/dist/components/lukso-search/index.js +17 -20
  39. package/dist/components/lukso-select/index.cjs +38 -41
  40. package/dist/components/lukso-select/index.js +20 -23
  41. package/dist/components/lukso-share/index.cjs +5 -5
  42. package/dist/components/lukso-share/index.js +3 -3
  43. package/dist/components/lukso-switch/index.cjs +7 -7
  44. package/dist/components/lukso-switch/index.js +4 -4
  45. package/dist/components/lukso-tag/index.cjs +10 -11
  46. package/dist/components/lukso-tag/index.js +5 -6
  47. package/dist/components/lukso-terms/index.cjs +7 -7
  48. package/dist/components/lukso-terms/index.js +6 -6
  49. package/dist/components/lukso-test/index.cjs +12 -12
  50. package/dist/components/lukso-test/index.js +10 -10
  51. package/dist/components/lukso-textarea/index.cjs +35 -38
  52. package/dist/components/lukso-textarea/index.js +17 -20
  53. package/dist/components/lukso-tooltip/index.cjs +24 -25
  54. package/dist/components/lukso-tooltip/index.js +8 -9
  55. package/dist/components/lukso-username/index.cjs +18 -21
  56. package/dist/components/lukso-username/index.js +7 -10
  57. package/dist/components/lukso-wizard/index.cjs +9 -10
  58. package/dist/components/lukso-wizard/index.js +7 -8
  59. package/dist/index-2b104ecb.cjs +2547 -0
  60. package/dist/{index-ffb387db.js → index-30c74dfe.js} +4 -4
  61. package/dist/{index-0fbcd7f4.js → index-40811e43.js} +6 -6
  62. package/dist/index-86a3fdc1.js +37 -0
  63. package/dist/{index-1b37efea.cjs → index-9f282d35.cjs} +10 -10
  64. package/dist/index-d14b6a34.js +2545 -0
  65. package/dist/{index-73fbf718.cjs → index-dbfb7d50.cjs} +14 -14
  66. package/dist/index-dda1809d.cjs +46 -0
  67. package/dist/{index-adf2fc92.js → index-eb08047e.js} +2 -2
  68. package/dist/{index-0917a814.cjs → index-f564f46f.cjs} +2 -2
  69. package/dist/index.cjs +9 -12
  70. package/dist/index.js +9 -12
  71. package/dist/property-140ef335.js +16 -0
  72. package/dist/property-46482bf7.cjs +19 -0
  73. package/dist/shared/tailwind-element/index.cjs +1 -1
  74. package/dist/shared/tailwind-element/index.js +1 -1
  75. package/dist/state-876605e4.js +9 -0
  76. package/dist/state-94c1d585.cjs +11 -0
  77. package/dist/style-map-15dde65e.js +10 -0
  78. package/dist/style-map-552ab28f.cjs +12 -0
  79. package/package.json +2 -14
  80. package/tools/index.cjs +0 -4
  81. package/tools/index.d.ts +0 -1
  82. package/tools/index.d.ts.map +1 -1
  83. package/tools/index.js +0 -3
  84. package/dist/cn-01b2d42a.js +0 -37
  85. package/dist/cn-fc6d6aa9.cjs +0 -40
  86. package/dist/index-0590cf31.js +0 -37
  87. package/dist/index-1d3f4a5a.cjs +0 -9
  88. package/dist/index-6457c2f8.cjs +0 -44
  89. package/dist/index-ca8e900d.js +0 -7
  90. package/dist/query-assigned-elements-1c8c9e90.js +0 -28
  91. package/dist/query-assigned-elements-d5e45650.cjs +0 -32
  92. package/dist/state-b9ca4e74.js +0 -9
  93. package/dist/state-d9fb972b.cjs +0 -11
  94. package/dist/style-map-54c139bb.cjs +0 -12
  95. package/dist/style-map-7a555e98.js +0 -10
@@ -1,4 +1,10 @@
1
- 'use strict';
1
+ import { colorPalette, borderRadius, boxShadows, fontSizes, fontWeights, scales, heights, lineHeights } from './tailwind-config.js';
2
+
3
+ import.meta.url.replace(/^file:\/\/|\/\w+\.?[jt]s$/g, "").replace(/\/index\.[a-z]+$/g, "");
4
+
5
+ import.meta.url.replace(/^file:\/\/|\/\w+\.?[jt]s$/g, "").replace(/\/index\.[a-z]+$/g, "");
6
+
7
+ import.meta.url.replace(/^file:\/\/|\/\w+\.?[jt]s$/g, "").replace(/\/index\.[a-z]+$/g, "");
2
8
 
3
9
  const CLASS_PART_SEPARATOR = '-';
4
10
  function createClassUtils(config) {
@@ -2562,7 +2568,32 @@ function mergeConfigProperties(baseObject, mergeObject) {
2562
2568
  function extendTailwindMerge(configExtension, ...createConfig) {
2563
2569
  return typeof configExtension === 'function' ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);
2564
2570
  }
2565
- const twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);
2566
2571
 
2567
- exports.extendTailwindMerge = extendTailwindMerge;
2568
- exports.twMerge = twMerge;
2572
+ function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
2573
+
2574
+ const customTwMerge = extendTailwindMerge({
2575
+ extend: {
2576
+ theme: {
2577
+ colors: Object.entries(colorPalette).reduce((acc, currentVal) => {
2578
+ const colors = Object.keys(currentVal[1]).map(
2579
+ (c) => `text-${currentVal[0]}-${c}`
2580
+ );
2581
+ return acc.concat(colors);
2582
+ }, []),
2583
+ borderRadius: Object.keys(borderRadius).map((s) => `rounded-${s}`)
2584
+ },
2585
+ classGroups: {
2586
+ shadow: [{ shadow: Object.keys(boxShadows).map((s) => `shadow-${s}`) }],
2587
+ "font-size": Object.keys(fontSizes).map((s) => `text-${s}`),
2588
+ "font-weight": Object.keys(fontWeights).map((s) => `font-${s}`),
2589
+ scale: Object.keys(scales).map((s) => `scale-${s}`),
2590
+ h: Object.keys(heights).map((s) => `h-${s}`),
2591
+ leading: Object.keys(lineHeights).map((s) => `leading-${s}`)
2592
+ }
2593
+ }
2594
+ });
2595
+ const cn = (...inputs) => {
2596
+ return customTwMerge(clsx(inputs));
2597
+ };
2598
+
2599
+ export { cn as c };
@@ -1,3 +1,14 @@
1
+ 'use strict';
2
+
3
+ const tailwindConfig = require('./tailwind-config.cjs');
4
+
5
+ var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
6
+ (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('cn-b6daa995.cjs', document.baseURI).href)).replace(/^file:\/\/|\/\w+\.?[jt]s$/g, "").replace(/\/index\.[a-z]+$/g, "");
7
+
8
+ (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('cn-b6daa995.cjs', document.baseURI).href)).replace(/^file:\/\/|\/\w+\.?[jt]s$/g, "").replace(/\/index\.[a-z]+$/g, "");
9
+
10
+ (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('cn-b6daa995.cjs', document.baseURI).href)).replace(/^file:\/\/|\/\w+\.?[jt]s$/g, "").replace(/\/index\.[a-z]+$/g, "");
11
+
1
12
  const CLASS_PART_SEPARATOR = '-';
2
13
  function createClassUtils(config) {
3
14
  const classMap = createClassMap(config);
@@ -2560,6 +2571,32 @@ function mergeConfigProperties(baseObject, mergeObject) {
2560
2571
  function extendTailwindMerge(configExtension, ...createConfig) {
2561
2572
  return typeof configExtension === 'function' ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);
2562
2573
  }
2563
- const twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);
2564
2574
 
2565
- export { extendTailwindMerge as e, twMerge as t };
2575
+ function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
2576
+
2577
+ const customTwMerge = extendTailwindMerge({
2578
+ extend: {
2579
+ theme: {
2580
+ colors: Object.entries(tailwindConfig.colorPalette).reduce((acc, currentVal) => {
2581
+ const colors = Object.keys(currentVal[1]).map(
2582
+ (c) => `text-${currentVal[0]}-${c}`
2583
+ );
2584
+ return acc.concat(colors);
2585
+ }, []),
2586
+ borderRadius: Object.keys(tailwindConfig.borderRadius).map((s) => `rounded-${s}`)
2587
+ },
2588
+ classGroups: {
2589
+ shadow: [{ shadow: Object.keys(tailwindConfig.boxShadows).map((s) => `shadow-${s}`) }],
2590
+ "font-size": Object.keys(tailwindConfig.fontSizes).map((s) => `text-${s}`),
2591
+ "font-weight": Object.keys(tailwindConfig.fontWeights).map((s) => `font-${s}`),
2592
+ scale: Object.keys(tailwindConfig.scales).map((s) => `scale-${s}`),
2593
+ h: Object.keys(tailwindConfig.heights).map((s) => `h-${s}`),
2594
+ leading: Object.keys(tailwindConfig.lineHeights).map((s) => `leading-${s}`)
2595
+ }
2596
+ }
2597
+ });
2598
+ const cn = (...inputs) => {
2599
+ return customTwMerge(clsx(inputs));
2600
+ };
2601
+
2602
+ exports.cn = cn;
@@ -6,7 +6,7 @@ const components_luksoButton_index = require('./lukso-button/index.cjs');
6
6
  const components_luksoCard_index = require('./lukso-card/index.cjs');
7
7
  const components_luksoCheckbox_index = require('./lukso-checkbox/index.cjs');
8
8
  const components_luksoColorPicker_index = require('./lukso-color-picker/index.cjs');
9
- const components_luksoDropdown_index = require('../index-73fbf718.cjs');
9
+ const components_luksoDropdown_index = require('../index-dbfb7d50.cjs');
10
10
  const components_luksoDropdownOption_index = require('./lukso-dropdown-option/index.cjs');
11
11
  const components_luksoFooter_index = require('./lukso-footer/index.cjs');
12
12
  const components_luksoIcon_index = require('./lukso-icon/index.cjs');
@@ -15,7 +15,7 @@ const components_luksoInput_index = require('./lukso-input/index.cjs');
15
15
  const components_luksoModal_index = require('./lukso-modal/index.cjs');
16
16
  const components_luksoNavbar_index = require('./lukso-navbar/index.cjs');
17
17
  const components_luksoPagination_index = require('./lukso-pagination/index.cjs');
18
- const components_luksoProfile_index = require('../index-1b37efea.cjs');
18
+ const components_luksoProfile_index = require('../index-9f282d35.cjs');
19
19
  const components_luksoProgress_index = require('./lukso-progress/index.cjs');
20
20
  const components_luksoSanitize_index = require('./lukso-sanitize/index.cjs');
21
21
  const components_luksoSearch_index = require('./lukso-search/index.cjs');
@@ -29,18 +29,15 @@ const components_luksoTextarea_index = require('./lukso-textarea/index.cjs');
29
29
  const components_luksoTooltip_index = require('./lukso-tooltip/index.cjs');
30
30
  const components_luksoUsername_index = require('./lukso-username/index.cjs');
31
31
  const components_luksoWizard_index = require('./lukso-wizard/index.cjs');
32
- const shared_tailwindElement_index = require('../index-6457c2f8.cjs');
33
- require('../cn-fc6d6aa9.cjs');
34
- require('../query-assigned-elements-d5e45650.cjs');
35
- require('../state-d9fb972b.cjs');
36
- require('../index-1d3f4a5a.cjs');
37
- require('../bundle-mjs-d58a83c6.cjs');
32
+ const shared_tailwindElement_index = require('../index-dda1809d.cjs');
33
+ require('../cn-b6daa995.cjs');
34
+ require('../property-46482bf7.cjs');
35
+ require('../state-94c1d585.cjs');
36
+ require('../index-2b104ecb.cjs');
38
37
  require('../tailwind-config.cjs');
39
- require('node:fs');
40
- require('node:path');
41
- require('../style-map-54c139bb.cjs');
38
+ require('../style-map-552ab28f.cjs');
42
39
  require('../directive-8278ab14.cjs');
43
- require('../index-0917a814.cjs');
40
+ require('../index-f564f46f.cjs');
44
41
  require('../index-e9668573.cjs');
45
42
 
46
43
 
@@ -2,7 +2,7 @@ export { LuksoButton } from './lukso-button/index.js';
2
2
  export { LuksoCard } from './lukso-card/index.js';
3
3
  export { LuksoCheckbox } from './lukso-checkbox/index.js';
4
4
  export { LuksoColorPicker } from './lukso-color-picker/index.js';
5
- export { L as LuksoDropdown } from '../index-0fbcd7f4.js';
5
+ export { L as LuksoDropdown } from '../index-40811e43.js';
6
6
  export { LuksoDropdownOption } from './lukso-dropdown-option/index.js';
7
7
  export { LuksoFooter } from './lukso-footer/index.js';
8
8
  export { LuksoIcon } from './lukso-icon/index.js';
@@ -11,7 +11,7 @@ export { LuksoInput } from './lukso-input/index.js';
11
11
  export { LuksoModal } from './lukso-modal/index.js';
12
12
  export { LuksoNavbar } from './lukso-navbar/index.js';
13
13
  export { LuksoPagination } from './lukso-pagination/index.js';
14
- export { L as LuksoProfile } from '../index-ffb387db.js';
14
+ export { L as LuksoProfile } from '../index-30c74dfe.js';
15
15
  export { LuksoProgress } from './lukso-progress/index.js';
16
16
  export { LuksoSanitize } from './lukso-sanitize/index.js';
17
17
  export { LuksoSearch } from './lukso-search/index.js';
@@ -25,16 +25,13 @@ export { LuksoTextarea } from './lukso-textarea/index.js';
25
25
  export { LuksoTooltip } from './lukso-tooltip/index.js';
26
26
  export { LuksoUsername } from './lukso-username/index.js';
27
27
  export { LuksoWizard } from './lukso-wizard/index.js';
28
- export { a as TailwindElement, T as TailwindStyledElement } from '../index-0590cf31.js';
29
- import '../cn-01b2d42a.js';
30
- import '../query-assigned-elements-1c8c9e90.js';
31
- import '../state-b9ca4e74.js';
32
- import '../index-ca8e900d.js';
33
- import '../bundle-mjs-fbc6e2a8.js';
28
+ export { a as TailwindElement, T as TailwindStyledElement } from '../index-86a3fdc1.js';
29
+ import '../cn-90c03edf.js';
30
+ import '../property-140ef335.js';
31
+ import '../state-876605e4.js';
32
+ import '../index-d14b6a34.js';
34
33
  import '../tailwind-config.js';
35
- import 'node:fs';
36
- import 'node:path';
37
- import '../style-map-7a555e98.js';
34
+ import '../style-map-15dde65e.js';
38
35
  import '../directive-2bb7789e.js';
39
- import '../index-adf2fc92.js';
36
+ import '../index-eb08047e.js';
40
37
  import '../index-5e194caf.js';
@@ -2,15 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-6457c2f8.cjs');
6
- const queryAssignedElements = require('../../query-assigned-elements-d5e45650.cjs');
7
- const state = require('../../state-d9fb972b.cjs');
8
- const index = require('../../index-1d3f4a5a.cjs');
5
+ const shared_tailwindElement_index = require('../../index-dda1809d.cjs');
6
+ const property = require('../../property-46482bf7.cjs');
7
+ const state = require('../../state-94c1d585.cjs');
8
+ const index = require('../../index-2b104ecb.cjs');
9
9
  require('../../tailwind-config.cjs');
10
- require('node:fs');
11
- require('node:path');
12
- const cn = require('../../cn-fc6d6aa9.cjs');
13
- require('../../bundle-mjs-d58a83c6.cjs');
10
+ const cn = require('../../cn-b6daa995.cjs');
14
11
 
15
12
  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
13
 
@@ -213,7 +210,7 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
213
210
  color=${this.variant === "secondary" || this.variant === "text" ? "neutral-20" : "neutral-100"}
214
211
  class=${icon()}
215
212
  ></lukso-icon>
216
- ${this.loadingText ? shared_tailwindElement_index.x`<span class=${text()}>${this.loadingText}</span>` : shared_tailwindElement_index.A}`;
213
+ ${this.loadingText ? shared_tailwindElement_index.x`<span class=${text()}>${this.loadingText}</span>` : shared_tailwindElement_index.E}`;
217
214
  }
218
215
  counterTemplate() {
219
216
  const counterStyles = this.counterStyles({
@@ -246,7 +243,7 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
246
243
  @mouseleave=${this.handleMouseUp}
247
244
  >
248
245
  ${this.isLoading ? this.loadingTemplate() : shared_tailwindElement_index.x`<slot></slot>`}
249
- ${this.count ? this.counterTemplate() : shared_tailwindElement_index.A}
246
+ ${this.count ? this.counterTemplate() : shared_tailwindElement_index.E}
250
247
  </button>
251
248
  `;
252
249
  }
@@ -277,65 +274,65 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
277
274
  }
278
275
  };
279
276
  __decorateClass([
280
- queryAssignedElements.n({ type: String })
277
+ property.n({ type: String })
281
278
  ], exports.LuksoButton.prototype, "variant", 2);
282
279
  __decorateClass([
283
- queryAssignedElements.n({ type: String })
280
+ property.n({ type: String })
284
281
  ], exports.LuksoButton.prototype, "size", 2);
285
282
  __decorateClass([
286
- queryAssignedElements.n({ type: Boolean })
283
+ property.n({ type: Boolean })
287
284
  ], exports.LuksoButton.prototype, "disabled", 2);
288
285
  __decorateClass([
289
- queryAssignedElements.n({ type: Boolean, attribute: "is-full-width" })
286
+ property.n({ type: Boolean, attribute: "is-full-width" })
290
287
  ], exports.LuksoButton.prototype, "isFullWidth", 2);
291
288
  __decorateClass([
292
- queryAssignedElements.n({ type: Boolean, attribute: "is-long-press" })
289
+ property.n({ type: Boolean, attribute: "is-long-press" })
293
290
  ], exports.LuksoButton.prototype, "isLongPress", 2);
294
291
  __decorateClass([
295
- queryAssignedElements.n({ type: Boolean, attribute: "is-link" })
292
+ property.n({ type: Boolean, attribute: "is-link" })
296
293
  ], exports.LuksoButton.prototype, "isLink", 2);
297
294
  __decorateClass([
298
- queryAssignedElements.n({ type: Boolean, attribute: "is-loading" })
295
+ property.n({ type: Boolean, attribute: "is-loading" })
299
296
  ], exports.LuksoButton.prototype, "isLoading", 2);
300
297
  __decorateClass([
301
- queryAssignedElements.n({ type: String })
298
+ property.n({ type: String })
302
299
  ], exports.LuksoButton.prototype, "type", 2);
303
300
  __decorateClass([
304
- queryAssignedElements.n({ type: String })
301
+ property.n({ type: String })
305
302
  ], exports.LuksoButton.prototype, "href", 2);
306
303
  __decorateClass([
307
- queryAssignedElements.n({ type: String })
304
+ property.n({ type: String })
308
305
  ], exports.LuksoButton.prototype, "target", 2);
309
306
  __decorateClass([
310
- queryAssignedElements.n({ type: String })
307
+ property.n({ type: String })
311
308
  ], exports.LuksoButton.prototype, "rel", 2);
312
309
  __decorateClass([
313
- queryAssignedElements.n({ type: String, attribute: "loading-text" })
310
+ property.n({ type: String, attribute: "loading-text" })
314
311
  ], exports.LuksoButton.prototype, "loadingText", 2);
315
312
  __decorateClass([
316
- queryAssignedElements.n({ type: String, attribute: "custom-class" })
313
+ property.n({ type: String, attribute: "custom-class" })
317
314
  ], exports.LuksoButton.prototype, "customClass", 2);
318
315
  __decorateClass([
319
- queryAssignedElements.n({ type: Boolean, attribute: "is-active" })
316
+ property.n({ type: Boolean, attribute: "is-active" })
320
317
  ], exports.LuksoButton.prototype, "isActive", 2);
321
318
  __decorateClass([
322
- queryAssignedElements.n({ type: Number })
319
+ property.n({ type: Number })
323
320
  ], exports.LuksoButton.prototype, "count", 2);
324
321
  __decorateClass([
325
- queryAssignedElements.n({ type: Boolean, attribute: "is-icon" })
322
+ property.n({ type: Boolean, attribute: "is-icon" })
326
323
  ], exports.LuksoButton.prototype, "isIcon", 2);
327
324
  __decorateClass([
328
- queryAssignedElements.n({ type: String })
325
+ property.n({ type: String })
329
326
  ], exports.LuksoButton.prototype, "label", 2);
330
327
  __decorateClass([
331
- state.t()
328
+ state.r()
332
329
  ], exports.LuksoButton.prototype, "isPressed", 2);
333
330
  __decorateClass([
334
- state.t()
331
+ state.r()
335
332
  ], exports.LuksoButton.prototype, "noTransition", 2);
336
333
  __decorateClass([
337
- state.t()
334
+ state.r()
338
335
  ], exports.LuksoButton.prototype, "timer", 2);
339
336
  exports.LuksoButton = __decorateClass([
340
- queryAssignedElements.e("lukso-button")
337
+ property.t("lukso-button")
341
338
  ], exports.LuksoButton);
@@ -1,12 +1,9 @@
1
- import { T as TailwindStyledElement, x, A } from '../../index-0590cf31.js';
2
- import { n, e } from '../../query-assigned-elements-1c8c9e90.js';
3
- import { t } from '../../state-b9ca4e74.js';
4
- import { c as ce } from '../../index-ca8e900d.js';
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';
4
+ import { c as ce } from '../../index-d14b6a34.js';
5
5
  import '../../tailwind-config.js';
6
- import 'node:fs';
7
- import 'node:path';
8
- import { c as cn } from '../../cn-01b2d42a.js';
9
- import '../../bundle-mjs-fbc6e2a8.js';
6
+ import { c as cn } from '../../cn-90c03edf.js';
10
7
 
11
8
  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
9
 
@@ -209,7 +206,7 @@ let LuksoButton = class extends TailwindStyledElement(style) {
209
206
  color=${this.variant === "secondary" || this.variant === "text" ? "neutral-20" : "neutral-100"}
210
207
  class=${icon()}
211
208
  ></lukso-icon>
212
- ${this.loadingText ? x`<span class=${text()}>${this.loadingText}</span>` : A}`;
209
+ ${this.loadingText ? x`<span class=${text()}>${this.loadingText}</span>` : E}`;
213
210
  }
214
211
  counterTemplate() {
215
212
  const counterStyles = this.counterStyles({
@@ -242,7 +239,7 @@ let LuksoButton = class extends TailwindStyledElement(style) {
242
239
  @mouseleave=${this.handleMouseUp}
243
240
  >
244
241
  ${this.isLoading ? this.loadingTemplate() : x`<slot></slot>`}
245
- ${this.count ? this.counterTemplate() : A}
242
+ ${this.count ? this.counterTemplate() : E}
246
243
  </button>
247
244
  `;
248
245
  }
@@ -324,16 +321,16 @@ __decorateClass([
324
321
  n({ type: String })
325
322
  ], LuksoButton.prototype, "label", 2);
326
323
  __decorateClass([
327
- t()
324
+ r()
328
325
  ], LuksoButton.prototype, "isPressed", 2);
329
326
  __decorateClass([
330
- t()
327
+ r()
331
328
  ], LuksoButton.prototype, "noTransition", 2);
332
329
  __decorateClass([
333
- t()
330
+ r()
334
331
  ], LuksoButton.prototype, "timer", 2);
335
332
  LuksoButton = __decorateClass([
336
- e("lukso-button")
333
+ t("lukso-button")
337
334
  ], LuksoButton);
338
335
 
339
336
  export { LuksoButton };
@@ -2,20 +2,30 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const components_luksoProfile_index = require('../../index-1b37efea.cjs');
6
- const shared_tailwindElement_index = require('../../index-6457c2f8.cjs');
7
- const queryAssignedElements = require('../../query-assigned-elements-d5e45650.cjs');
8
- const state = require('../../state-d9fb972b.cjs');
9
- const styleMap = require('../../style-map-54c139bb.cjs');
10
- const index = require('../../index-1d3f4a5a.cjs');
5
+ const components_luksoProfile_index = require('../../index-9f282d35.cjs');
6
+ const shared_tailwindElement_index = require('../../index-dda1809d.cjs');
7
+ const property = require('../../property-46482bf7.cjs');
8
+ const state = require('../../state-94c1d585.cjs');
9
+ const styleMap = require('../../style-map-552ab28f.cjs');
10
+ const index = require('../../index-2b104ecb.cjs');
11
11
  require('../../tailwind-config.cjs');
12
- require('node:fs');
13
- require('node:path');
14
- const cn = require('../../cn-fc6d6aa9.cjs');
15
- const index$1 = require('../../index-0917a814.cjs');
12
+ const cn = require('../../cn-b6daa995.cjs');
13
+ const index$1 = require('../../index-f564f46f.cjs');
16
14
  require('../lukso-image/index.cjs');
17
15
  require('../../directive-8278ab14.cjs');
18
- require('../../bundle-mjs-d58a83c6.cjs');
16
+
17
+ /**
18
+ * @license
19
+ * Copyright 2017 Google LLC
20
+ * SPDX-License-Identifier: BSD-3-Clause
21
+ */
22
+ const e=(e,t,c)=>(c.configurable=!0,c.enumerable=!0,Reflect.decorate&&"object"!=typeof t&&Object.defineProperty(e,t,c),c);
23
+
24
+ /**
25
+ * @license
26
+ * Copyright 2021 Google LLC
27
+ * SPDX-License-Identifier: BSD-3-Clause
28
+ */function o(o){return (e$1,n)=>{const{slot:r,selector:s}=o??{},c="slot"+(r?`[name=${r}]`:":not([name])");return e(e$1,n,{get(){const t=this.renderRoot?.querySelector(c),e=t?.assignedElements(o)??[];return void 0===s?e:e.filter((t=>t.matches(s)))}})}}
19
29
 
20
30
  const style = ":host {\n display: inline-flex;\n width: 100%;\n}\n\n:host([width]) {\n width: inherit;\n}";
21
31
 
@@ -180,7 +190,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
180
190
  </div>`}
181
191
  ${this.hasOverlay ? shared_tailwindElement_index.x`<div
182
192
  class="h-full full rounded-t-[inherit] rounded-b-0 bg-neutral-20/10 absolute"
183
- ></div>` : shared_tailwindElement_index.A}
193
+ ></div>` : shared_tailwindElement_index.E}
184
194
  <div class="relative h-full">
185
195
  <slot name="header"></slot>
186
196
  </div>
@@ -306,7 +316,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
306
316
  </div>`}
307
317
  ${this.hasOverlay && this.backgroundUrl ? shared_tailwindElement_index.x`<div
308
318
  class="h-full w-full rounded-[inherit] bg-neutral-20/10 absolute"
309
- ></div>` : shared_tailwindElement_index.A}
319
+ ></div>` : shared_tailwindElement_index.E}
310
320
  <div
311
321
  class="h-full w-full flex flex-col items-center justify-center absolute"
312
322
  >
@@ -373,50 +383,50 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
373
383
  }
374
384
  };
375
385
  __decorateClass([
376
- queryAssignedElements.n({ type: String })
386
+ property.n({ type: String })
377
387
  ], exports.LuksoCard.prototype, "variant", 2);
378
388
  __decorateClass([
379
- queryAssignedElements.n({ type: String, attribute: "background-url" })
389
+ property.n({ type: String, attribute: "background-url" })
380
390
  ], exports.LuksoCard.prototype, "backgroundUrl", 2);
381
391
  __decorateClass([
382
- queryAssignedElements.n({ type: String, attribute: "profile-url" })
392
+ property.n({ type: String, attribute: "profile-url" })
383
393
  ], exports.LuksoCard.prototype, "profileUrl", 2);
384
394
  __decorateClass([
385
- queryAssignedElements.n({ type: String, attribute: "profile-address" })
395
+ property.n({ type: String, attribute: "profile-address" })
386
396
  ], exports.LuksoCard.prototype, "profileAddress", 2);
387
397
  __decorateClass([
388
- queryAssignedElements.n({ type: Number })
398
+ property.n({ type: Number })
389
399
  ], exports.LuksoCard.prototype, "width", 2);
390
400
  __decorateClass([
391
- queryAssignedElements.n({ type: Number })
401
+ property.n({ type: Number })
392
402
  ], exports.LuksoCard.prototype, "height", 2);
393
403
  __decorateClass([
394
- queryAssignedElements.n({ type: String, attribute: "custom-class" })
404
+ property.n({ type: String, attribute: "custom-class" })
395
405
  ], exports.LuksoCard.prototype, "customClass", 2);
396
406
  __decorateClass([
397
- queryAssignedElements.n({ type: String, attribute: "header-class" })
407
+ property.n({ type: String, attribute: "header-class" })
398
408
  ], exports.LuksoCard.prototype, "headerClass", 2);
399
409
  __decorateClass([
400
- queryAssignedElements.n({ type: String, attribute: "border-radius" })
410
+ property.n({ type: String, attribute: "border-radius" })
401
411
  ], exports.LuksoCard.prototype, "borderRadius", 2);
402
412
  __decorateClass([
403
- queryAssignedElements.n({ type: String })
413
+ property.n({ type: String })
404
414
  ], exports.LuksoCard.prototype, "shadow", 2);
405
415
  __decorateClass([
406
- queryAssignedElements.n({ type: Boolean, attribute: "is-hoverable" })
416
+ property.n({ type: Boolean, attribute: "is-hoverable" })
407
417
  ], exports.LuksoCard.prototype, "isHoverable", 2);
408
418
  __decorateClass([
409
- queryAssignedElements.n({ type: Boolean, attribute: "has-overlay" })
419
+ property.n({ type: Boolean, attribute: "has-overlay" })
410
420
  ], exports.LuksoCard.prototype, "hasOverlay", 2);
411
421
  __decorateClass([
412
- queryAssignedElements.n({ type: Boolean, attribute: "is-eoa" })
422
+ property.n({ type: Boolean, attribute: "is-eoa" })
413
423
  ], exports.LuksoCard.prototype, "isEoa", 2);
414
424
  __decorateClass([
415
- queryAssignedElements.l({ slot: "bottom", flatten: true })
425
+ o({ slot: "bottom", flatten: true })
416
426
  ], exports.LuksoCard.prototype, "bottomNodes", 2);
417
427
  __decorateClass([
418
- state.t()
428
+ state.r()
419
429
  ], exports.LuksoCard.prototype, "hasBottom", 2);
420
430
  exports.LuksoCard = __decorateClass([
421
- queryAssignedElements.e("lukso-card")
431
+ property.t("lukso-card")
422
432
  ], exports.LuksoCard);
@@ -1,17 +1,27 @@
1
- import { m as makeBlockie } from '../../index-ffb387db.js';
2
- import { T as TailwindStyledElement, x, A } from '../../index-0590cf31.js';
3
- import { n, l, e } from '../../query-assigned-elements-1c8c9e90.js';
4
- import { t } from '../../state-b9ca4e74.js';
5
- import { o } from '../../style-map-7a555e98.js';
6
- import { c as ce } from '../../index-ca8e900d.js';
1
+ import { m as makeBlockie } from '../../index-30c74dfe.js';
2
+ import { T as TailwindStyledElement, x, E } from '../../index-86a3fdc1.js';
3
+ import { n, t } from '../../property-140ef335.js';
4
+ import { r } from '../../state-876605e4.js';
5
+ import { o as o$1 } from '../../style-map-15dde65e.js';
6
+ import { c as ce } from '../../index-d14b6a34.js';
7
7
  import '../../tailwind-config.js';
8
- import 'node:fs';
9
- import 'node:path';
10
- import { c as cn } from '../../cn-01b2d42a.js';
11
- import { c as customStyleMap } from '../../index-adf2fc92.js';
8
+ import { c as cn } from '../../cn-90c03edf.js';
9
+ import { c as customStyleMap } from '../../index-eb08047e.js';
12
10
  import '../lukso-image/index.js';
13
11
  import '../../directive-2bb7789e.js';
14
- import '../../bundle-mjs-fbc6e2a8.js';
12
+
13
+ /**
14
+ * @license
15
+ * Copyright 2017 Google LLC
16
+ * SPDX-License-Identifier: BSD-3-Clause
17
+ */
18
+ const e=(e,t,c)=>(c.configurable=!0,c.enumerable=!0,Reflect.decorate&&"object"!=typeof t&&Object.defineProperty(e,t,c),c);
19
+
20
+ /**
21
+ * @license
22
+ * Copyright 2021 Google LLC
23
+ * SPDX-License-Identifier: BSD-3-Clause
24
+ */function o(o){return (e$1,n)=>{const{slot:r,selector:s}=o??{},c="slot"+(r?`[name=${r}]`:":not([name])");return e(e$1,n,{get(){const t=this.renderRoot?.querySelector(c),e=t?.assignedElements(o)??[];return void 0===s?e:e.filter((t=>t.matches(s)))}})}}
15
25
 
16
26
  const style = ":host {\n display: inline-flex;\n width: 100%;\n}\n\n:host([width]) {\n width: inherit;\n}";
17
27
 
@@ -126,7 +136,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
126
136
  return x`
127
137
  <div
128
138
  data-testid="card"
129
- style=${o({
139
+ style=${o$1({
130
140
  minHeight: `${this.height}px`,
131
141
  width: `${this.width}px`
132
142
  })}
@@ -161,7 +171,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
161
171
  class=${cn(cardStyles, this.customClass)}
162
172
  >
163
173
  <div
164
- style=${o({
174
+ style=${o$1({
165
175
  backgroundImage: this.backgroundGradient()
166
176
  })}
167
177
  class=${cn(
@@ -176,7 +186,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
176
186
  </div>`}
177
187
  ${this.hasOverlay ? x`<div
178
188
  class="h-full full rounded-t-[inherit] rounded-b-0 bg-neutral-20/10 absolute"
179
- ></div>` : A}
189
+ ></div>` : E}
180
190
  <div class="relative h-full">
181
191
  <slot name="header"></slot>
182
192
  </div>
@@ -225,7 +235,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
225
235
  class=${cn(cardStyles, this.customClass)}
226
236
  >
227
237
  <div
228
- style=${o({
238
+ style=${o$1({
229
239
  backgroundImage: this.backgroundGradient()
230
240
  })}
231
241
  class=${cn(
@@ -302,7 +312,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
302
312
  </div>`}
303
313
  ${this.hasOverlay && this.backgroundUrl ? x`<div
304
314
  class="h-full w-full rounded-[inherit] bg-neutral-20/10 absolute"
305
- ></div>` : A}
315
+ ></div>` : E}
306
316
  <div
307
317
  class="h-full w-full flex flex-col items-center justify-center absolute"
308
318
  >
@@ -330,7 +340,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
330
340
  class=${cn(cardStyles, this.customClass)}
331
341
  >
332
342
  <div
333
- style=${o({
343
+ style=${o$1({
334
344
  backgroundImage: this.backgroundGradient()
335
345
  })}
336
346
  class=${cn(
@@ -408,13 +418,13 @@ __decorateClass([
408
418
  n({ type: Boolean, attribute: "is-eoa" })
409
419
  ], LuksoCard.prototype, "isEoa", 2);
410
420
  __decorateClass([
411
- l({ slot: "bottom", flatten: true })
421
+ o({ slot: "bottom", flatten: true })
412
422
  ], LuksoCard.prototype, "bottomNodes", 2);
413
423
  __decorateClass([
414
- t()
424
+ r()
415
425
  ], LuksoCard.prototype, "hasBottom", 2);
416
426
  LuksoCard = __decorateClass([
417
- e("lukso-card")
427
+ t("lukso-card")
418
428
  ], LuksoCard);
419
429
 
420
430
  export { LuksoCard };