@lukso/web-components 1.130.0 → 1.131.1

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/components/index.cjs +8 -7
  2. package/dist/components/index.js +8 -8
  3. package/dist/components/lukso-button/index.cjs +3 -3
  4. package/dist/components/lukso-button/index.js +3 -3
  5. package/dist/components/lukso-card/index.cjs +6 -6
  6. package/dist/components/lukso-card/index.js +6 -6
  7. package/dist/components/lukso-checkbox/index.cjs +3 -3
  8. package/dist/components/lukso-checkbox/index.js +3 -3
  9. package/dist/components/lukso-color-picker/index.cjs +4 -4
  10. package/dist/components/lukso-color-picker/index.js +4 -4
  11. package/dist/components/lukso-dropdown/index.cjs +7 -7
  12. package/dist/components/lukso-dropdown/index.js +7 -7
  13. package/dist/components/lukso-dropdown-option/index.cjs +2 -2
  14. package/dist/components/lukso-dropdown-option/index.js +2 -2
  15. package/dist/components/lukso-footer/index.cjs +2 -2
  16. package/dist/components/lukso-footer/index.js +2 -2
  17. package/dist/components/lukso-icon/index.cjs +3 -3
  18. package/dist/components/lukso-icon/index.js +3 -3
  19. package/dist/components/lukso-image/index.cjs +4 -4
  20. package/dist/components/lukso-image/index.js +4 -4
  21. package/dist/components/lukso-input/index.cjs +16 -15
  22. package/dist/components/lukso-input/index.d.ts.map +1 -1
  23. package/dist/components/lukso-input/index.js +16 -15
  24. package/dist/components/lukso-modal/index.cjs +2 -2
  25. package/dist/components/lukso-modal/index.js +2 -2
  26. package/dist/components/lukso-navbar/index.cjs +5 -5
  27. package/dist/components/lukso-navbar/index.js +5 -5
  28. package/dist/components/lukso-pagination/index.cjs +4 -4
  29. package/dist/components/lukso-pagination/index.js +4 -4
  30. package/dist/components/lukso-profile/index.cjs +5 -5
  31. package/dist/components/lukso-profile/index.js +5 -5
  32. package/dist/components/lukso-progress/index.cjs +3 -3
  33. package/dist/components/lukso-progress/index.js +3 -3
  34. package/dist/components/lukso-sanitize/index.cjs +2 -2
  35. package/dist/components/lukso-sanitize/index.js +2 -2
  36. package/dist/components/lukso-search/index.cjs +54 -20
  37. package/dist/components/lukso-search/index.d.ts +6 -1
  38. package/dist/components/lukso-search/index.d.ts.map +1 -1
  39. package/dist/components/lukso-search/index.js +53 -21
  40. package/dist/components/lukso-search/lukso-search.stories.d.ts.map +1 -1
  41. package/dist/components/lukso-select/index.cjs +75 -75
  42. package/dist/components/lukso-select/index.js +75 -75
  43. package/dist/components/lukso-share/index.cjs +27 -24
  44. package/dist/components/lukso-share/index.js +27 -24
  45. package/dist/components/lukso-switch/index.cjs +50 -50
  46. package/dist/components/lukso-switch/index.js +50 -50
  47. package/dist/components/lukso-tag/index.cjs +35 -32
  48. package/dist/components/lukso-tag/index.js +35 -32
  49. package/dist/components/lukso-terms/index.cjs +10 -7
  50. package/dist/components/lukso-terms/index.js +10 -7
  51. package/dist/components/lukso-test/index.cjs +16 -13
  52. package/dist/components/lukso-test/index.js +16 -13
  53. package/dist/components/lukso-textarea/index.cjs +86 -83
  54. package/dist/components/lukso-textarea/index.js +86 -83
  55. package/dist/components/lukso-tooltip/index.cjs +38 -35
  56. package/dist/components/lukso-tooltip/index.js +38 -35
  57. package/dist/components/lukso-username/index.cjs +9 -1330
  58. package/dist/components/lukso-username/index.js +6 -1336
  59. package/dist/components/lukso-wizard/index.cjs +45 -42
  60. package/dist/components/lukso-wizard/index.js +45 -42
  61. package/dist/{index-11b4b329.js → index-1db9d1ee.js} +1 -1
  62. package/dist/{index-de036f63.js → index-2f05f181.js} +2 -2
  63. package/dist/index-35fd0f44.js +1340 -0
  64. package/dist/index-44537fbb.js +39 -0
  65. package/dist/{index-8eb2e6d8.cjs → index-6bad7e66.cjs} +1 -1
  66. package/dist/index-96c96a31.cjs +1342 -0
  67. package/dist/index-b103f110.cjs +48 -0
  68. package/dist/{index-2f5d5d79.cjs → index-dfcb5b8a.cjs} +2 -2
  69. package/dist/index.cjs +8 -7
  70. package/dist/index.js +8 -8
  71. package/dist/{property-cfc5fabd.js → property-27a56e78.js} +1 -1
  72. package/dist/{property-7a90cede.cjs → property-e2dd6303.cjs} +1 -1
  73. package/dist/shared/tailwind-element/index.cjs +1 -1
  74. package/dist/shared/tailwind-element/index.js +1 -1
  75. package/dist/{state-1aaee2b7.js → state-cda0c5ee.js} +1 -1
  76. package/dist/{state-09b048f8.cjs → state-e20739c9.cjs} +1 -1
  77. package/dist/{style-map-c8670fc8.js → style-map-d0cf7858.js} +1 -1
  78. package/dist/{style-map-2abffb39.cjs → style-map-ff389c6a.cjs} +1 -1
  79. package/dist/styles/main.css +1 -0
  80. package/dist/styles/main.css.map +1 -1
  81. package/dist/tailwind-config.cjs +1 -1
  82. package/dist/tailwind-config.js +1 -1
  83. package/package.json +1 -1
  84. package/tools/cn.cjs +1 -1
  85. package/tools/cn.js +1 -1
  86. package/tools/index.cjs +1 -1
  87. package/tools/index.js +1 -1
  88. package/tools/sass/colors.scss +1 -1
  89. package/tools/styles/main.css +1 -0
  90. package/tools/{tailwind-config-c5a676c5.js → tailwind-config-73222825.js} +1 -1
  91. package/tools/{tailwind-config-20125010.cjs → tailwind-config-d0ffa274.cjs} +1 -1
  92. package/tools/tailwind-config.cjs +1 -1
  93. package/tools/tailwind-config.js +1 -1
  94. package/dist/index-1fd569a9.cjs +0 -46
  95. package/dist/index-82b4fdeb.js +0 -37
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-1fd569a9.cjs');
6
- const property = require('../../property-7a90cede.cjs');
7
- const state = require('../../state-09b048f8.cjs');
5
+ const shared_tailwindElement_index = require('../../index-b103f110.cjs');
6
+ const property = require('../../property-e2dd6303.cjs');
7
+ const state = require('../../state-e20739c9.cjs');
8
8
  const index = require('../../index-2b104ecb.cjs');
9
- const styleMap = require('../../style-map-2abffb39.cjs');
9
+ const styleMap = require('../../style-map-ff389c6a.cjs');
10
10
  require('../../directive-8278ab14.cjs');
11
11
 
12
12
  var top = 'top';
@@ -3460,39 +3460,42 @@ var __decorateClass = (decorators, target, key, kind) => {
3460
3460
  return result;
3461
3461
  };
3462
3462
  exports.LuksoTooltip = class LuksoTooltip extends shared_tailwindElement_index.TailwindStyledElement(style) {
3463
- variant = "light";
3464
- size = "medium";
3465
- placement = "top";
3466
- trigger = "mouseenter";
3467
- text = "";
3468
- maxWidth = 300;
3469
- show = false;
3470
- hideOnClick = "true";
3471
- isClipboardCopy = false;
3472
- copyText = "";
3473
- copyValue = "";
3474
- offset = 10;
3475
- options = "";
3476
- showArrow = true;
3477
- showDelay = 300;
3478
- hideDelay = 300;
3479
- showCopy = false;
3480
- optionsParsed = [];
3481
- tooltipInstance = void 0;
3482
- styles = index.ce({
3483
- slots: {
3484
- tooltip: "hidden",
3485
- trigger: "cursor-pointer flex flex-col items-center",
3486
- options: "rounded-4 hover:bg-neutral-95"
3487
- },
3488
- variants: {
3489
- hasNoText: {
3490
- true: {
3491
- trigger: "cursor-default"
3463
+ constructor() {
3464
+ super(...arguments);
3465
+ this.variant = "light";
3466
+ this.size = "medium";
3467
+ this.placement = "top";
3468
+ this.trigger = "mouseenter";
3469
+ this.text = "";
3470
+ this.maxWidth = 300;
3471
+ this.show = false;
3472
+ this.hideOnClick = "true";
3473
+ this.isClipboardCopy = false;
3474
+ this.copyText = "";
3475
+ this.copyValue = "";
3476
+ this.offset = 10;
3477
+ this.options = "";
3478
+ this.showArrow = true;
3479
+ this.showDelay = 300;
3480
+ this.hideDelay = 300;
3481
+ this.showCopy = false;
3482
+ this.optionsParsed = [];
3483
+ this.tooltipInstance = void 0;
3484
+ this.styles = index.ce({
3485
+ slots: {
3486
+ tooltip: "hidden",
3487
+ trigger: "cursor-pointer flex flex-col items-center",
3488
+ options: "rounded-4 hover:bg-neutral-95"
3489
+ },
3490
+ variants: {
3491
+ hasNoText: {
3492
+ true: {
3493
+ trigger: "cursor-default"
3494
+ }
3492
3495
  }
3493
3496
  }
3494
- }
3495
- });
3497
+ });
3498
+ }
3496
3499
  hideOnClickCheck() {
3497
3500
  if (this.hideOnClick === "toggle") {
3498
3501
  return this.hideOnClick;
@@ -1,8 +1,8 @@
1
- import { T as TailwindStyledElement, x } from '../../index-82b4fdeb.js';
2
- import { n, t } from '../../property-cfc5fabd.js';
3
- import { r } from '../../state-1aaee2b7.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-44537fbb.js';
2
+ import { n, t } from '../../property-27a56e78.js';
3
+ import { r } from '../../state-cda0c5ee.js';
4
4
  import { c as ce } from '../../index-d14b6a34.js';
5
- import { o } from '../../style-map-c8670fc8.js';
5
+ import { o } from '../../style-map-d0cf7858.js';
6
6
  import '../../directive-2bb7789e.js';
7
7
 
8
8
  var top = 'top';
@@ -3456,39 +3456,42 @@ var __decorateClass = (decorators, target, key, kind) => {
3456
3456
  return result;
3457
3457
  };
3458
3458
  let LuksoTooltip = class extends TailwindStyledElement(style) {
3459
- variant = "light";
3460
- size = "medium";
3461
- placement = "top";
3462
- trigger = "mouseenter";
3463
- text = "";
3464
- maxWidth = 300;
3465
- show = false;
3466
- hideOnClick = "true";
3467
- isClipboardCopy = false;
3468
- copyText = "";
3469
- copyValue = "";
3470
- offset = 10;
3471
- options = "";
3472
- showArrow = true;
3473
- showDelay = 300;
3474
- hideDelay = 300;
3475
- showCopy = false;
3476
- optionsParsed = [];
3477
- tooltipInstance = void 0;
3478
- styles = ce({
3479
- slots: {
3480
- tooltip: "hidden",
3481
- trigger: "cursor-pointer flex flex-col items-center",
3482
- options: "rounded-4 hover:bg-neutral-95"
3483
- },
3484
- variants: {
3485
- hasNoText: {
3486
- true: {
3487
- trigger: "cursor-default"
3459
+ constructor() {
3460
+ super(...arguments);
3461
+ this.variant = "light";
3462
+ this.size = "medium";
3463
+ this.placement = "top";
3464
+ this.trigger = "mouseenter";
3465
+ this.text = "";
3466
+ this.maxWidth = 300;
3467
+ this.show = false;
3468
+ this.hideOnClick = "true";
3469
+ this.isClipboardCopy = false;
3470
+ this.copyText = "";
3471
+ this.copyValue = "";
3472
+ this.offset = 10;
3473
+ this.options = "";
3474
+ this.showArrow = true;
3475
+ this.showDelay = 300;
3476
+ this.hideDelay = 300;
3477
+ this.showCopy = false;
3478
+ this.optionsParsed = [];
3479
+ this.tooltipInstance = void 0;
3480
+ this.styles = ce({
3481
+ slots: {
3482
+ tooltip: "hidden",
3483
+ trigger: "cursor-pointer flex flex-col items-center",
3484
+ options: "rounded-4 hover:bg-neutral-95"
3485
+ },
3486
+ variants: {
3487
+ hasNoText: {
3488
+ true: {
3489
+ trigger: "cursor-default"
3490
+ }
3488
3491
  }
3489
3492
  }
3490
- }
3491
- });
3493
+ });
3494
+ }
3492
3495
  hideOnClickCheck() {
3493
3496
  if (this.hideOnClick === "toggle") {
3494
3497
  return this.hideOnClick;