@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.
- package/dist/components/index.cjs +8 -7
- package/dist/components/index.js +8 -8
- package/dist/components/lukso-button/index.cjs +3 -3
- package/dist/components/lukso-button/index.js +3 -3
- package/dist/components/lukso-card/index.cjs +6 -6
- package/dist/components/lukso-card/index.js +6 -6
- package/dist/components/lukso-checkbox/index.cjs +3 -3
- package/dist/components/lukso-checkbox/index.js +3 -3
- package/dist/components/lukso-color-picker/index.cjs +4 -4
- package/dist/components/lukso-color-picker/index.js +4 -4
- package/dist/components/lukso-dropdown/index.cjs +7 -7
- package/dist/components/lukso-dropdown/index.js +7 -7
- package/dist/components/lukso-dropdown-option/index.cjs +2 -2
- package/dist/components/lukso-dropdown-option/index.js +2 -2
- package/dist/components/lukso-footer/index.cjs +2 -2
- package/dist/components/lukso-footer/index.js +2 -2
- package/dist/components/lukso-icon/index.cjs +3 -3
- package/dist/components/lukso-icon/index.js +3 -3
- package/dist/components/lukso-image/index.cjs +4 -4
- package/dist/components/lukso-image/index.js +4 -4
- package/dist/components/lukso-input/index.cjs +16 -15
- package/dist/components/lukso-input/index.d.ts.map +1 -1
- package/dist/components/lukso-input/index.js +16 -15
- package/dist/components/lukso-modal/index.cjs +2 -2
- package/dist/components/lukso-modal/index.js +2 -2
- package/dist/components/lukso-navbar/index.cjs +5 -5
- package/dist/components/lukso-navbar/index.js +5 -5
- package/dist/components/lukso-pagination/index.cjs +4 -4
- package/dist/components/lukso-pagination/index.js +4 -4
- package/dist/components/lukso-profile/index.cjs +5 -5
- package/dist/components/lukso-profile/index.js +5 -5
- package/dist/components/lukso-progress/index.cjs +3 -3
- package/dist/components/lukso-progress/index.js +3 -3
- package/dist/components/lukso-sanitize/index.cjs +2 -2
- package/dist/components/lukso-sanitize/index.js +2 -2
- package/dist/components/lukso-search/index.cjs +54 -20
- package/dist/components/lukso-search/index.d.ts +6 -1
- package/dist/components/lukso-search/index.d.ts.map +1 -1
- package/dist/components/lukso-search/index.js +53 -21
- package/dist/components/lukso-search/lukso-search.stories.d.ts.map +1 -1
- package/dist/components/lukso-select/index.cjs +75 -75
- package/dist/components/lukso-select/index.js +75 -75
- package/dist/components/lukso-share/index.cjs +27 -24
- package/dist/components/lukso-share/index.js +27 -24
- package/dist/components/lukso-switch/index.cjs +50 -50
- package/dist/components/lukso-switch/index.js +50 -50
- package/dist/components/lukso-tag/index.cjs +35 -32
- package/dist/components/lukso-tag/index.js +35 -32
- package/dist/components/lukso-terms/index.cjs +10 -7
- package/dist/components/lukso-terms/index.js +10 -7
- package/dist/components/lukso-test/index.cjs +16 -13
- package/dist/components/lukso-test/index.js +16 -13
- package/dist/components/lukso-textarea/index.cjs +86 -83
- package/dist/components/lukso-textarea/index.js +86 -83
- package/dist/components/lukso-tooltip/index.cjs +38 -35
- package/dist/components/lukso-tooltip/index.js +38 -35
- package/dist/components/lukso-username/index.cjs +9 -1330
- package/dist/components/lukso-username/index.js +6 -1336
- package/dist/components/lukso-wizard/index.cjs +45 -42
- package/dist/components/lukso-wizard/index.js +45 -42
- package/dist/{index-11b4b329.js → index-1db9d1ee.js} +1 -1
- package/dist/{index-de036f63.js → index-2f05f181.js} +2 -2
- package/dist/index-35fd0f44.js +1340 -0
- package/dist/index-44537fbb.js +39 -0
- package/dist/{index-8eb2e6d8.cjs → index-6bad7e66.cjs} +1 -1
- package/dist/index-96c96a31.cjs +1342 -0
- package/dist/index-b103f110.cjs +48 -0
- package/dist/{index-2f5d5d79.cjs → index-dfcb5b8a.cjs} +2 -2
- package/dist/index.cjs +8 -7
- package/dist/index.js +8 -8
- package/dist/{property-cfc5fabd.js → property-27a56e78.js} +1 -1
- package/dist/{property-7a90cede.cjs → property-e2dd6303.cjs} +1 -1
- package/dist/shared/tailwind-element/index.cjs +1 -1
- package/dist/shared/tailwind-element/index.js +1 -1
- package/dist/{state-1aaee2b7.js → state-cda0c5ee.js} +1 -1
- package/dist/{state-09b048f8.cjs → state-e20739c9.cjs} +1 -1
- package/dist/{style-map-c8670fc8.js → style-map-d0cf7858.js} +1 -1
- package/dist/{style-map-2abffb39.cjs → style-map-ff389c6a.cjs} +1 -1
- package/dist/styles/main.css +1 -0
- package/dist/styles/main.css.map +1 -1
- package/dist/tailwind-config.cjs +1 -1
- package/dist/tailwind-config.js +1 -1
- package/package.json +1 -1
- package/tools/cn.cjs +1 -1
- package/tools/cn.js +1 -1
- package/tools/index.cjs +1 -1
- package/tools/index.js +1 -1
- package/tools/sass/colors.scss +1 -1
- package/tools/styles/main.css +1 -0
- package/tools/{tailwind-config-c5a676c5.js → tailwind-config-73222825.js} +1 -1
- package/tools/{tailwind-config-20125010.cjs → tailwind-config-d0ffa274.cjs} +1 -1
- package/tools/tailwind-config.cjs +1 -1
- package/tools/tailwind-config.js +1 -1
- package/dist/index-1fd569a9.cjs +0 -46
- 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-
|
|
6
|
-
const property = require('../../property-
|
|
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
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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-
|
|
2
|
-
import { n, t as t$2 } from '../../property-
|
|
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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
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,5 +1,5 @@
|
|
|
1
|
-
import { a as TailwindElement, x } from './index-
|
|
2
|
-
import { n, t } from './property-
|
|
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
|
|