@lukso/web-components 1.114.0 → 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 (102) 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 -10
  4. package/dist/components/index.js +9 -10
  5. package/dist/components/lukso-button/index.cjs +28 -29
  6. package/dist/components/lukso-button/index.js +11 -12
  7. package/dist/components/lukso-card/index.cjs +39 -27
  8. package/dist/components/lukso-card/index.js +30 -18
  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 -31
  12. package/dist/components/lukso-color-picker/index.js +16 -17
  13. package/dist/components/lukso-dropdown/index.cjs +9 -10
  14. package/dist/components/lukso-dropdown/index.js +9 -10
  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/icons/minus-filled.d.ts +3 -0
  20. package/dist/components/lukso-icon/icons/minus-filled.d.ts.map +1 -0
  21. package/dist/components/lukso-icon/index.cjs +32 -9
  22. package/dist/components/lukso-icon/index.d.ts.map +1 -1
  23. package/dist/components/lukso-icon/index.js +28 -5
  24. package/dist/components/lukso-image/index.cjs +11 -12
  25. package/dist/components/lukso-image/index.js +9 -10
  26. package/dist/components/lukso-input/index.cjs +46 -47
  27. package/dist/components/lukso-input/index.js +22 -23
  28. package/dist/components/lukso-modal/index.cjs +7 -8
  29. package/dist/components/lukso-modal/index.js +4 -5
  30. package/dist/components/lukso-navbar/index.cjs +22 -23
  31. package/dist/components/lukso-navbar/index.js +13 -14
  32. package/dist/components/lukso-pagination/index.cjs +13 -14
  33. package/dist/components/lukso-pagination/index.js +8 -9
  34. package/dist/components/lukso-profile/index.cjs +6 -7
  35. package/dist/components/lukso-profile/index.js +6 -7
  36. package/dist/components/lukso-progress/index.cjs +10 -11
  37. package/dist/components/lukso-progress/index.js +5 -6
  38. package/dist/components/lukso-sanitize/index.cjs +6 -6
  39. package/dist/components/lukso-sanitize/index.js +4 -4
  40. package/dist/components/lukso-search/index.cjs +41 -42
  41. package/dist/components/lukso-search/index.js +17 -18
  42. package/dist/components/lukso-select/index.cjs +38 -39
  43. package/dist/components/lukso-select/index.js +20 -21
  44. package/dist/components/lukso-share/index.cjs +5 -5
  45. package/dist/components/lukso-share/index.js +3 -3
  46. package/dist/components/lukso-switch/index.cjs +7 -7
  47. package/dist/components/lukso-switch/index.js +4 -4
  48. package/dist/components/lukso-tag/index.cjs +10 -11
  49. package/dist/components/lukso-tag/index.js +5 -6
  50. package/dist/components/lukso-terms/index.cjs +7 -7
  51. package/dist/components/lukso-terms/index.js +6 -6
  52. package/dist/components/lukso-test/index.cjs +12 -12
  53. package/dist/components/lukso-test/index.js +10 -10
  54. package/dist/components/lukso-textarea/index.cjs +35 -36
  55. package/dist/components/lukso-textarea/index.js +17 -18
  56. package/dist/components/lukso-tooltip/index.cjs +24 -25
  57. package/dist/components/lukso-tooltip/index.js +8 -9
  58. package/dist/components/lukso-username/index.cjs +18 -19
  59. package/dist/components/lukso-username/index.js +7 -8
  60. package/dist/components/lukso-wizard/index.cjs +9 -10
  61. package/dist/components/lukso-wizard/index.js +7 -8
  62. package/dist/index-2b104ecb.cjs +2547 -0
  63. package/dist/{index-ffb387db.js → index-30c74dfe.js} +4 -4
  64. package/dist/{index-0fbcd7f4.js → index-40811e43.js} +6 -6
  65. package/dist/index-86a3fdc1.js +37 -0
  66. package/dist/{index-1b37efea.cjs → index-9f282d35.cjs} +10 -10
  67. package/dist/index-d14b6a34.js +2545 -0
  68. package/dist/{index-73fbf718.cjs → index-dbfb7d50.cjs} +14 -14
  69. package/dist/index-dda1809d.cjs +46 -0
  70. package/dist/{index-adf2fc92.js → index-eb08047e.js} +2 -2
  71. package/dist/{index-0917a814.cjs → index-f564f46f.cjs} +2 -2
  72. package/dist/index.cjs +9 -10
  73. package/dist/index.js +9 -10
  74. package/dist/property-140ef335.js +16 -0
  75. package/dist/property-46482bf7.cjs +19 -0
  76. package/dist/shared/tailwind-element/index.cjs +1 -1
  77. package/dist/shared/tailwind-element/index.js +1 -1
  78. package/dist/state-876605e4.js +9 -0
  79. package/dist/state-94c1d585.cjs +11 -0
  80. package/dist/style-map-15dde65e.js +10 -0
  81. package/dist/style-map-552ab28f.cjs +12 -0
  82. package/package.json +2 -14
  83. package/tools/copy-assets.cjs +18 -18
  84. package/tools/copy-assets.d.ts +1 -1
  85. package/tools/copy-assets.d.ts.map +1 -1
  86. package/tools/copy-assets.js +18 -18
  87. package/tools/index.cjs +0 -4
  88. package/tools/index.d.ts +0 -1
  89. package/tools/index.d.ts.map +1 -1
  90. package/tools/index.js +0 -3
  91. package/dist/cn-01b2d42a.js +0 -37
  92. package/dist/cn-fc6d6aa9.cjs +0 -40
  93. package/dist/index-0590cf31.js +0 -37
  94. package/dist/index-1d3f4a5a.cjs +0 -9
  95. package/dist/index-6457c2f8.cjs +0 -44
  96. package/dist/index-ca8e900d.js +0 -7
  97. package/dist/query-assigned-elements-1c8c9e90.js +0 -28
  98. package/dist/query-assigned-elements-d5e45650.cjs +0 -32
  99. package/dist/state-b9ca4e74.js +0 -9
  100. package/dist/state-d9fb972b.cjs +0 -11
  101. package/dist/style-map-54c139bb.cjs +0 -12
  102. 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,16 +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('../style-map-54c139bb.cjs');
38
+ require('../style-map-552ab28f.cjs');
40
39
  require('../directive-8278ab14.cjs');
41
- require('../index-0917a814.cjs');
40
+ require('../index-f564f46f.cjs');
42
41
  require('../index-e9668573.cjs');
43
42
 
44
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,14 +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 '../style-map-7a555e98.js';
34
+ import '../style-map-15dde65e.js';
36
35
  import '../directive-2bb7789e.js';
37
- import '../index-adf2fc92.js';
36
+ import '../index-eb08047e.js';
38
37
  import '../index-5e194caf.js';
@@ -2,13 +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
- const cn = require('../../cn-fc6d6aa9.cjs');
11
- require('../../bundle-mjs-d58a83c6.cjs');
10
+ const cn = require('../../cn-b6daa995.cjs');
12
11
 
13
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}";
14
13
 
@@ -211,7 +210,7 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
211
210
  color=${this.variant === "secondary" || this.variant === "text" ? "neutral-20" : "neutral-100"}
212
211
  class=${icon()}
213
212
  ></lukso-icon>
214
- ${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}`;
215
214
  }
216
215
  counterTemplate() {
217
216
  const counterStyles = this.counterStyles({
@@ -244,7 +243,7 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
244
243
  @mouseleave=${this.handleMouseUp}
245
244
  >
246
245
  ${this.isLoading ? this.loadingTemplate() : shared_tailwindElement_index.x`<slot></slot>`}
247
- ${this.count ? this.counterTemplate() : shared_tailwindElement_index.A}
246
+ ${this.count ? this.counterTemplate() : shared_tailwindElement_index.E}
248
247
  </button>
249
248
  `;
250
249
  }
@@ -275,65 +274,65 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
275
274
  }
276
275
  };
277
276
  __decorateClass([
278
- queryAssignedElements.n({ type: String })
277
+ property.n({ type: String })
279
278
  ], exports.LuksoButton.prototype, "variant", 2);
280
279
  __decorateClass([
281
- queryAssignedElements.n({ type: String })
280
+ property.n({ type: String })
282
281
  ], exports.LuksoButton.prototype, "size", 2);
283
282
  __decorateClass([
284
- queryAssignedElements.n({ type: Boolean })
283
+ property.n({ type: Boolean })
285
284
  ], exports.LuksoButton.prototype, "disabled", 2);
286
285
  __decorateClass([
287
- queryAssignedElements.n({ type: Boolean, attribute: "is-full-width" })
286
+ property.n({ type: Boolean, attribute: "is-full-width" })
288
287
  ], exports.LuksoButton.prototype, "isFullWidth", 2);
289
288
  __decorateClass([
290
- queryAssignedElements.n({ type: Boolean, attribute: "is-long-press" })
289
+ property.n({ type: Boolean, attribute: "is-long-press" })
291
290
  ], exports.LuksoButton.prototype, "isLongPress", 2);
292
291
  __decorateClass([
293
- queryAssignedElements.n({ type: Boolean, attribute: "is-link" })
292
+ property.n({ type: Boolean, attribute: "is-link" })
294
293
  ], exports.LuksoButton.prototype, "isLink", 2);
295
294
  __decorateClass([
296
- queryAssignedElements.n({ type: Boolean, attribute: "is-loading" })
295
+ property.n({ type: Boolean, attribute: "is-loading" })
297
296
  ], exports.LuksoButton.prototype, "isLoading", 2);
298
297
  __decorateClass([
299
- queryAssignedElements.n({ type: String })
298
+ property.n({ type: String })
300
299
  ], exports.LuksoButton.prototype, "type", 2);
301
300
  __decorateClass([
302
- queryAssignedElements.n({ type: String })
301
+ property.n({ type: String })
303
302
  ], exports.LuksoButton.prototype, "href", 2);
304
303
  __decorateClass([
305
- queryAssignedElements.n({ type: String })
304
+ property.n({ type: String })
306
305
  ], exports.LuksoButton.prototype, "target", 2);
307
306
  __decorateClass([
308
- queryAssignedElements.n({ type: String })
307
+ property.n({ type: String })
309
308
  ], exports.LuksoButton.prototype, "rel", 2);
310
309
  __decorateClass([
311
- queryAssignedElements.n({ type: String, attribute: "loading-text" })
310
+ property.n({ type: String, attribute: "loading-text" })
312
311
  ], exports.LuksoButton.prototype, "loadingText", 2);
313
312
  __decorateClass([
314
- queryAssignedElements.n({ type: String, attribute: "custom-class" })
313
+ property.n({ type: String, attribute: "custom-class" })
315
314
  ], exports.LuksoButton.prototype, "customClass", 2);
316
315
  __decorateClass([
317
- queryAssignedElements.n({ type: Boolean, attribute: "is-active" })
316
+ property.n({ type: Boolean, attribute: "is-active" })
318
317
  ], exports.LuksoButton.prototype, "isActive", 2);
319
318
  __decorateClass([
320
- queryAssignedElements.n({ type: Number })
319
+ property.n({ type: Number })
321
320
  ], exports.LuksoButton.prototype, "count", 2);
322
321
  __decorateClass([
323
- queryAssignedElements.n({ type: Boolean, attribute: "is-icon" })
322
+ property.n({ type: Boolean, attribute: "is-icon" })
324
323
  ], exports.LuksoButton.prototype, "isIcon", 2);
325
324
  __decorateClass([
326
- queryAssignedElements.n({ type: String })
325
+ property.n({ type: String })
327
326
  ], exports.LuksoButton.prototype, "label", 2);
328
327
  __decorateClass([
329
- state.t()
328
+ state.r()
330
329
  ], exports.LuksoButton.prototype, "isPressed", 2);
331
330
  __decorateClass([
332
- state.t()
331
+ state.r()
333
332
  ], exports.LuksoButton.prototype, "noTransition", 2);
334
333
  __decorateClass([
335
- state.t()
334
+ state.r()
336
335
  ], exports.LuksoButton.prototype, "timer", 2);
337
336
  exports.LuksoButton = __decorateClass([
338
- queryAssignedElements.e("lukso-button")
337
+ property.t("lukso-button")
339
338
  ], exports.LuksoButton);
@@ -1,10 +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 { c as cn } from '../../cn-01b2d42a.js';
7
- import '../../bundle-mjs-fbc6e2a8.js';
6
+ import { c as cn } from '../../cn-90c03edf.js';
8
7
 
9
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}";
10
9
 
@@ -207,7 +206,7 @@ let LuksoButton = class extends TailwindStyledElement(style) {
207
206
  color=${this.variant === "secondary" || this.variant === "text" ? "neutral-20" : "neutral-100"}
208
207
  class=${icon()}
209
208
  ></lukso-icon>
210
- ${this.loadingText ? x`<span class=${text()}>${this.loadingText}</span>` : A}`;
209
+ ${this.loadingText ? x`<span class=${text()}>${this.loadingText}</span>` : E}`;
211
210
  }
212
211
  counterTemplate() {
213
212
  const counterStyles = this.counterStyles({
@@ -240,7 +239,7 @@ let LuksoButton = class extends TailwindStyledElement(style) {
240
239
  @mouseleave=${this.handleMouseUp}
241
240
  >
242
241
  ${this.isLoading ? this.loadingTemplate() : x`<slot></slot>`}
243
- ${this.count ? this.counterTemplate() : A}
242
+ ${this.count ? this.counterTemplate() : E}
244
243
  </button>
245
244
  `;
246
245
  }
@@ -322,16 +321,16 @@ __decorateClass([
322
321
  n({ type: String })
323
322
  ], LuksoButton.prototype, "label", 2);
324
323
  __decorateClass([
325
- t()
324
+ r()
326
325
  ], LuksoButton.prototype, "isPressed", 2);
327
326
  __decorateClass([
328
- t()
327
+ r()
329
328
  ], LuksoButton.prototype, "noTransition", 2);
330
329
  __decorateClass([
331
- t()
330
+ r()
332
331
  ], LuksoButton.prototype, "timer", 2);
333
332
  LuksoButton = __decorateClass([
334
- e("lukso-button")
333
+ t("lukso-button")
335
334
  ], LuksoButton);
336
335
 
337
336
  export { LuksoButton };
@@ -2,18 +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
- const cn = require('../../cn-fc6d6aa9.cjs');
13
- const index$1 = require('../../index-0917a814.cjs');
12
+ const cn = require('../../cn-b6daa995.cjs');
13
+ const index$1 = require('../../index-f564f46f.cjs');
14
14
  require('../lukso-image/index.cjs');
15
15
  require('../../directive-8278ab14.cjs');
16
- 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)))}})}}
17
29
 
18
30
  const style = ":host {\n display: inline-flex;\n width: 100%;\n}\n\n:host([width]) {\n width: inherit;\n}";
19
31
 
@@ -178,7 +190,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
178
190
  </div>`}
179
191
  ${this.hasOverlay ? shared_tailwindElement_index.x`<div
180
192
  class="h-full full rounded-t-[inherit] rounded-b-0 bg-neutral-20/10 absolute"
181
- ></div>` : shared_tailwindElement_index.A}
193
+ ></div>` : shared_tailwindElement_index.E}
182
194
  <div class="relative h-full">
183
195
  <slot name="header"></slot>
184
196
  </div>
@@ -304,7 +316,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
304
316
  </div>`}
305
317
  ${this.hasOverlay && this.backgroundUrl ? shared_tailwindElement_index.x`<div
306
318
  class="h-full w-full rounded-[inherit] bg-neutral-20/10 absolute"
307
- ></div>` : shared_tailwindElement_index.A}
319
+ ></div>` : shared_tailwindElement_index.E}
308
320
  <div
309
321
  class="h-full w-full flex flex-col items-center justify-center absolute"
310
322
  >
@@ -371,50 +383,50 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
371
383
  }
372
384
  };
373
385
  __decorateClass([
374
- queryAssignedElements.n({ type: String })
386
+ property.n({ type: String })
375
387
  ], exports.LuksoCard.prototype, "variant", 2);
376
388
  __decorateClass([
377
- queryAssignedElements.n({ type: String, attribute: "background-url" })
389
+ property.n({ type: String, attribute: "background-url" })
378
390
  ], exports.LuksoCard.prototype, "backgroundUrl", 2);
379
391
  __decorateClass([
380
- queryAssignedElements.n({ type: String, attribute: "profile-url" })
392
+ property.n({ type: String, attribute: "profile-url" })
381
393
  ], exports.LuksoCard.prototype, "profileUrl", 2);
382
394
  __decorateClass([
383
- queryAssignedElements.n({ type: String, attribute: "profile-address" })
395
+ property.n({ type: String, attribute: "profile-address" })
384
396
  ], exports.LuksoCard.prototype, "profileAddress", 2);
385
397
  __decorateClass([
386
- queryAssignedElements.n({ type: Number })
398
+ property.n({ type: Number })
387
399
  ], exports.LuksoCard.prototype, "width", 2);
388
400
  __decorateClass([
389
- queryAssignedElements.n({ type: Number })
401
+ property.n({ type: Number })
390
402
  ], exports.LuksoCard.prototype, "height", 2);
391
403
  __decorateClass([
392
- queryAssignedElements.n({ type: String, attribute: "custom-class" })
404
+ property.n({ type: String, attribute: "custom-class" })
393
405
  ], exports.LuksoCard.prototype, "customClass", 2);
394
406
  __decorateClass([
395
- queryAssignedElements.n({ type: String, attribute: "header-class" })
407
+ property.n({ type: String, attribute: "header-class" })
396
408
  ], exports.LuksoCard.prototype, "headerClass", 2);
397
409
  __decorateClass([
398
- queryAssignedElements.n({ type: String, attribute: "border-radius" })
410
+ property.n({ type: String, attribute: "border-radius" })
399
411
  ], exports.LuksoCard.prototype, "borderRadius", 2);
400
412
  __decorateClass([
401
- queryAssignedElements.n({ type: String })
413
+ property.n({ type: String })
402
414
  ], exports.LuksoCard.prototype, "shadow", 2);
403
415
  __decorateClass([
404
- queryAssignedElements.n({ type: Boolean, attribute: "is-hoverable" })
416
+ property.n({ type: Boolean, attribute: "is-hoverable" })
405
417
  ], exports.LuksoCard.prototype, "isHoverable", 2);
406
418
  __decorateClass([
407
- queryAssignedElements.n({ type: Boolean, attribute: "has-overlay" })
419
+ property.n({ type: Boolean, attribute: "has-overlay" })
408
420
  ], exports.LuksoCard.prototype, "hasOverlay", 2);
409
421
  __decorateClass([
410
- queryAssignedElements.n({ type: Boolean, attribute: "is-eoa" })
422
+ property.n({ type: Boolean, attribute: "is-eoa" })
411
423
  ], exports.LuksoCard.prototype, "isEoa", 2);
412
424
  __decorateClass([
413
- queryAssignedElements.l({ slot: "bottom", flatten: true })
425
+ o({ slot: "bottom", flatten: true })
414
426
  ], exports.LuksoCard.prototype, "bottomNodes", 2);
415
427
  __decorateClass([
416
- state.t()
428
+ state.r()
417
429
  ], exports.LuksoCard.prototype, "hasBottom", 2);
418
430
  exports.LuksoCard = __decorateClass([
419
- queryAssignedElements.e("lukso-card")
431
+ property.t("lukso-card")
420
432
  ], exports.LuksoCard);
@@ -1,15 +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 { c as cn } from '../../cn-01b2d42a.js';
9
- 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';
10
10
  import '../lukso-image/index.js';
11
11
  import '../../directive-2bb7789e.js';
12
- 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)))}})}}
13
25
 
14
26
  const style = ":host {\n display: inline-flex;\n width: 100%;\n}\n\n:host([width]) {\n width: inherit;\n}";
15
27
 
@@ -124,7 +136,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
124
136
  return x`
125
137
  <div
126
138
  data-testid="card"
127
- style=${o({
139
+ style=${o$1({
128
140
  minHeight: `${this.height}px`,
129
141
  width: `${this.width}px`
130
142
  })}
@@ -159,7 +171,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
159
171
  class=${cn(cardStyles, this.customClass)}
160
172
  >
161
173
  <div
162
- style=${o({
174
+ style=${o$1({
163
175
  backgroundImage: this.backgroundGradient()
164
176
  })}
165
177
  class=${cn(
@@ -174,7 +186,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
174
186
  </div>`}
175
187
  ${this.hasOverlay ? x`<div
176
188
  class="h-full full rounded-t-[inherit] rounded-b-0 bg-neutral-20/10 absolute"
177
- ></div>` : A}
189
+ ></div>` : E}
178
190
  <div class="relative h-full">
179
191
  <slot name="header"></slot>
180
192
  </div>
@@ -223,7 +235,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
223
235
  class=${cn(cardStyles, this.customClass)}
224
236
  >
225
237
  <div
226
- style=${o({
238
+ style=${o$1({
227
239
  backgroundImage: this.backgroundGradient()
228
240
  })}
229
241
  class=${cn(
@@ -300,7 +312,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
300
312
  </div>`}
301
313
  ${this.hasOverlay && this.backgroundUrl ? x`<div
302
314
  class="h-full w-full rounded-[inherit] bg-neutral-20/10 absolute"
303
- ></div>` : A}
315
+ ></div>` : E}
304
316
  <div
305
317
  class="h-full w-full flex flex-col items-center justify-center absolute"
306
318
  >
@@ -328,7 +340,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
328
340
  class=${cn(cardStyles, this.customClass)}
329
341
  >
330
342
  <div
331
- style=${o({
343
+ style=${o$1({
332
344
  backgroundImage: this.backgroundGradient()
333
345
  })}
334
346
  class=${cn(
@@ -406,13 +418,13 @@ __decorateClass([
406
418
  n({ type: Boolean, attribute: "is-eoa" })
407
419
  ], LuksoCard.prototype, "isEoa", 2);
408
420
  __decorateClass([
409
- l({ slot: "bottom", flatten: true })
421
+ o({ slot: "bottom", flatten: true })
410
422
  ], LuksoCard.prototype, "bottomNodes", 2);
411
423
  __decorateClass([
412
- t()
424
+ r()
413
425
  ], LuksoCard.prototype, "hasBottom", 2);
414
426
  LuksoCard = __decorateClass([
415
- e("lukso-card")
427
+ t("lukso-card")
416
428
  ], LuksoCard);
417
429
 
418
430
  export { LuksoCard };