@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,8 +2,8 @@
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');
5
+ const shared_tailwindElement_index = require('../../index-b103f110.cjs');
6
+ const property = require('../../property-e2dd6303.cjs');
7
7
  const directive = require('../../directive-8278ab14.cjs');
8
8
  const index = require('../../index-2b104ecb.cjs');
9
9
 
@@ -34,58 +34,61 @@ var __decorateClass = (decorators, target, key, kind) => {
34
34
  return result;
35
35
  };
36
36
  exports.LuksoWizard = class LuksoWizard extends shared_tailwindElement_index.TailwindStyledElement(style) {
37
- steps = "";
38
- activeStep = 1;
39
- size = "medium";
40
- stepStyles = index.ce({
41
- slots: {
42
- base: `inline-flex flex-col items-center justify-end first:-ml-12 last:-mr-12 relative
37
+ constructor() {
38
+ super(...arguments);
39
+ this.steps = "";
40
+ this.activeStep = 1;
41
+ this.size = "medium";
42
+ this.stepStyles = index.ce({
43
+ slots: {
44
+ base: `inline-flex flex-col items-center justify-end first:-ml-12 last:-mr-12 relative
43
45
  [&>.lukso-wizard-circle]:after:last:hidden [&>.lukso-wizard-circle]:before:last:hidden`,
44
- circle: `lukso-wizard-circle bg-neutral-90 w-4 h-4 rounded-full shadow-wizard-step mt-2 flex items-center
46
+ circle: `lukso-wizard-circle bg-neutral-90 w-4 h-4 rounded-full shadow-wizard-step mt-2 flex items-center
45
47
  border-[1px] border-solid border-[rgba(255,255,255,0.8)]
46
48
  after:block after:absolute after:bottom-[7px] after:ml-[15px] after:h-[2px]
47
49
  after:content:'' after:bg-transparent after:transition-width after:duration-300
48
50
  before:block before:absolute before:bottom-[7px] before:ml-[15px] before:h-[2px]
49
51
  before:content:'' before:bg-neutral-90 before:shadow-wizard-line before:w-[calc(100%-16px)]`,
50
- innerCircle: "lukso-wizard-circle-inner rounded-full w-[10px] h-[10px] ml-[2px]"
51
- },
52
- variants: {
53
- size: {
54
- small: {
55
- base: "w-[92px]"
56
- },
57
- medium: {
58
- base: "w-[121px]"
59
- },
60
- large: {
61
- base: "w-[180px]"
62
- },
63
- ["full-width"]: {
64
- base: "w-full"
65
- }
52
+ innerCircle: "lukso-wizard-circle-inner rounded-full w-[10px] h-[10px] ml-[2px]"
66
53
  },
67
- completed: {
68
- true: {
69
- base: `[&>.lukso-wizard-circle]:after:bg-purple-51
54
+ variants: {
55
+ size: {
56
+ small: {
57
+ base: "w-[92px]"
58
+ },
59
+ medium: {
60
+ base: "w-[121px]"
61
+ },
62
+ large: {
63
+ base: "w-[180px]"
64
+ },
65
+ ["full-width"]: {
66
+ base: "w-full"
67
+ }
68
+ },
69
+ completed: {
70
+ true: {
71
+ base: `[&>.lukso-wizard-circle]:after:bg-purple-51
70
72
  [&_.lukso-wizard-circle-inner]:bg-gradient-to-t
71
73
  [&_.lukso-wizard-circle-inner]:from-gradient-3-start
72
74
  [&_.lukso-wizard-circle-inner]:to-gradient-3-end`,
73
- circle: "completed"
74
- }
75
- },
76
- current: {
77
- true: {
78
- circle: "current"
79
- }
80
- },
81
- active: {
82
- true: {
83
- base: `[&_.lukso-wizard-circle-inner]:border-2 [&_.lukso-wizard-circle-inner]:border-purple-51`,
84
- innerCircle: "[&_.lukso-wizard-circle-inner]:border-2 [&_.lukso-wizard-circle-inner]:border-purple-51"
75
+ circle: "completed"
76
+ }
77
+ },
78
+ current: {
79
+ true: {
80
+ circle: "current"
81
+ }
82
+ },
83
+ active: {
84
+ true: {
85
+ base: `[&_.lukso-wizard-circle-inner]:border-2 [&_.lukso-wizard-circle-inner]:border-purple-51`,
86
+ innerCircle: "[&_.lukso-wizard-circle-inner]:border-2 [&_.lukso-wizard-circle-inner]:border-purple-51"
87
+ }
85
88
  }
86
89
  }
87
- }
88
- });
90
+ });
91
+ }
89
92
  stepTemplate(step, index) {
90
93
  const { base, circle, innerCircle } = this.stepStyles({
91
94
  completed: index + 1 < this.activeStep,
@@ -1,5 +1,5 @@
1
- import { Z, b as T, T as TailwindStyledElement, x } from '../../index-82b4fdeb.js';
2
- import { n, t as t$2 } from '../../property-cfc5fabd.js';
1
+ import { Z, b as T, T as TailwindStyledElement, x } from '../../index-44537fbb.js';
2
+ import { n, t as t$2 } from '../../property-27a56e78.js';
3
3
  import { e, i, t as t$1 } from '../../directive-2bb7789e.js';
4
4
  import { c as ce } from '../../index-d14b6a34.js';
5
5
 
@@ -30,58 +30,61 @@ var __decorateClass = (decorators, target, key, kind) => {
30
30
  return result;
31
31
  };
32
32
  let LuksoWizard = class extends TailwindStyledElement(style) {
33
- steps = "";
34
- activeStep = 1;
35
- size = "medium";
36
- stepStyles = ce({
37
- slots: {
38
- base: `inline-flex flex-col items-center justify-end first:-ml-12 last:-mr-12 relative
33
+ constructor() {
34
+ super(...arguments);
35
+ this.steps = "";
36
+ this.activeStep = 1;
37
+ this.size = "medium";
38
+ this.stepStyles = ce({
39
+ slots: {
40
+ base: `inline-flex flex-col items-center justify-end first:-ml-12 last:-mr-12 relative
39
41
  [&>.lukso-wizard-circle]:after:last:hidden [&>.lukso-wizard-circle]:before:last:hidden`,
40
- circle: `lukso-wizard-circle bg-neutral-90 w-4 h-4 rounded-full shadow-wizard-step mt-2 flex items-center
42
+ circle: `lukso-wizard-circle bg-neutral-90 w-4 h-4 rounded-full shadow-wizard-step mt-2 flex items-center
41
43
  border-[1px] border-solid border-[rgba(255,255,255,0.8)]
42
44
  after:block after:absolute after:bottom-[7px] after:ml-[15px] after:h-[2px]
43
45
  after:content:'' after:bg-transparent after:transition-width after:duration-300
44
46
  before:block before:absolute before:bottom-[7px] before:ml-[15px] before:h-[2px]
45
47
  before:content:'' before:bg-neutral-90 before:shadow-wizard-line before:w-[calc(100%-16px)]`,
46
- innerCircle: "lukso-wizard-circle-inner rounded-full w-[10px] h-[10px] ml-[2px]"
47
- },
48
- variants: {
49
- size: {
50
- small: {
51
- base: "w-[92px]"
52
- },
53
- medium: {
54
- base: "w-[121px]"
55
- },
56
- large: {
57
- base: "w-[180px]"
58
- },
59
- ["full-width"]: {
60
- base: "w-full"
61
- }
48
+ innerCircle: "lukso-wizard-circle-inner rounded-full w-[10px] h-[10px] ml-[2px]"
62
49
  },
63
- completed: {
64
- true: {
65
- base: `[&>.lukso-wizard-circle]:after:bg-purple-51
50
+ variants: {
51
+ size: {
52
+ small: {
53
+ base: "w-[92px]"
54
+ },
55
+ medium: {
56
+ base: "w-[121px]"
57
+ },
58
+ large: {
59
+ base: "w-[180px]"
60
+ },
61
+ ["full-width"]: {
62
+ base: "w-full"
63
+ }
64
+ },
65
+ completed: {
66
+ true: {
67
+ base: `[&>.lukso-wizard-circle]:after:bg-purple-51
66
68
  [&_.lukso-wizard-circle-inner]:bg-gradient-to-t
67
69
  [&_.lukso-wizard-circle-inner]:from-gradient-3-start
68
70
  [&_.lukso-wizard-circle-inner]:to-gradient-3-end`,
69
- circle: "completed"
70
- }
71
- },
72
- current: {
73
- true: {
74
- circle: "current"
75
- }
76
- },
77
- active: {
78
- true: {
79
- base: `[&_.lukso-wizard-circle-inner]:border-2 [&_.lukso-wizard-circle-inner]:border-purple-51`,
80
- innerCircle: "[&_.lukso-wizard-circle-inner]:border-2 [&_.lukso-wizard-circle-inner]:border-purple-51"
71
+ circle: "completed"
72
+ }
73
+ },
74
+ current: {
75
+ true: {
76
+ circle: "current"
77
+ }
78
+ },
79
+ active: {
80
+ true: {
81
+ base: `[&_.lukso-wizard-circle-inner]:border-2 [&_.lukso-wizard-circle-inner]:border-purple-51`,
82
+ innerCircle: "[&_.lukso-wizard-circle-inner]:border-2 [&_.lukso-wizard-circle-inner]:border-purple-51"
83
+ }
81
84
  }
82
85
  }
83
- }
84
- });
86
+ });
87
+ }
85
88
  stepTemplate(step, index) {
86
89
  const { base, circle, innerCircle } = this.stepStyles({
87
90
  completed: index + 1 < this.activeStep,
@@ -1,4 +1,4 @@
1
- import { E } from './index-82b4fdeb.js';
1
+ import { E } from './index-44537fbb.js';
2
2
  import { e, i, t } from './directive-2bb7789e.js';
3
3
 
4
4
  class CustomStyleMapDirective extends i {
@@ -1,5 +1,5 @@
1
- import { a as TailwindElement, x } from './index-82b4fdeb.js';
2
- import { n, t } from './property-cfc5fabd.js';
1
+ import { a as TailwindElement, x } from './index-44537fbb.js';
2
+ import { n, t } from './property-27a56e78.js';
3
3
  import { c as ce } from './index-d14b6a34.js';
4
4
  import './components/lukso-image/index.js';
5
5