@lukso/web-components 1.125.0 → 1.126.0

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 (103) hide show
  1. package/dist/components/index.cjs +6 -6
  2. package/dist/components/index.js +6 -6
  3. package/dist/components/lukso-button/index.cjs +21 -12
  4. package/dist/components/lukso-button/index.d.ts +1 -1
  5. package/dist/components/lukso-button/index.d.ts.map +1 -1
  6. package/dist/components/lukso-button/index.js +21 -12
  7. package/dist/components/lukso-button/lukso-button.stories.d.ts +4 -0
  8. package/dist/components/lukso-button/lukso-button.stories.d.ts.map +1 -1
  9. package/dist/components/lukso-card/index.cjs +6 -6
  10. package/dist/components/lukso-card/index.js +6 -6
  11. package/dist/components/lukso-checkbox/index.cjs +3 -3
  12. package/dist/components/lukso-checkbox/index.js +3 -3
  13. package/dist/components/lukso-color-picker/index.cjs +4 -4
  14. package/dist/components/lukso-color-picker/index.js +4 -4
  15. package/dist/components/lukso-dropdown/index.cjs +90 -20
  16. package/dist/components/lukso-dropdown/index.d.ts +6 -1
  17. package/dist/components/lukso-dropdown/index.d.ts.map +1 -1
  18. package/dist/components/lukso-dropdown/index.js +90 -20
  19. package/dist/components/lukso-dropdown/lukso-dropdown.stories.d.ts +10 -2
  20. package/dist/components/lukso-dropdown/lukso-dropdown.stories.d.ts.map +1 -1
  21. package/dist/components/lukso-dropdown-option/index.cjs +9 -3
  22. package/dist/components/lukso-dropdown-option/index.d.ts +1 -1
  23. package/dist/components/lukso-dropdown-option/index.d.ts.map +1 -1
  24. package/dist/components/lukso-dropdown-option/index.js +9 -3
  25. package/dist/components/lukso-footer/index.cjs +2 -2
  26. package/dist/components/lukso-footer/index.js +2 -2
  27. package/dist/components/lukso-icon/index.cjs +3 -3
  28. package/dist/components/lukso-icon/index.js +3 -3
  29. package/dist/components/lukso-image/index.cjs +4 -4
  30. package/dist/components/lukso-image/index.js +4 -4
  31. package/dist/components/lukso-input/index.cjs +15 -5
  32. package/dist/components/lukso-input/index.d.ts +1 -1
  33. package/dist/components/lukso-input/index.d.ts.map +1 -1
  34. package/dist/components/lukso-input/index.js +15 -5
  35. package/dist/components/lukso-modal/index.cjs +2 -2
  36. package/dist/components/lukso-modal/index.js +2 -2
  37. package/dist/components/lukso-navbar/index.cjs +5 -5
  38. package/dist/components/lukso-navbar/index.js +5 -5
  39. package/dist/components/lukso-pagination/index.cjs +4 -4
  40. package/dist/components/lukso-pagination/index.js +4 -4
  41. package/dist/components/lukso-profile/index.cjs +5 -5
  42. package/dist/components/lukso-profile/index.js +5 -5
  43. package/dist/components/lukso-progress/index.cjs +3 -3
  44. package/dist/components/lukso-progress/index.js +3 -3
  45. package/dist/components/lukso-sanitize/index.cjs +2 -2
  46. package/dist/components/lukso-sanitize/index.js +2 -2
  47. package/dist/components/lukso-search/index.cjs +9 -6
  48. package/dist/components/lukso-search/index.d.ts +1 -1
  49. package/dist/components/lukso-search/index.d.ts.map +1 -1
  50. package/dist/components/lukso-search/index.js +9 -6
  51. package/dist/components/lukso-select/index.cjs +74 -74
  52. package/dist/components/lukso-select/index.js +74 -74
  53. package/dist/components/lukso-share/index.cjs +24 -27
  54. package/dist/components/lukso-share/index.js +24 -27
  55. package/dist/components/lukso-switch/index.cjs +50 -50
  56. package/dist/components/lukso-switch/index.js +50 -50
  57. package/dist/components/lukso-tag/index.cjs +32 -35
  58. package/dist/components/lukso-tag/index.js +32 -35
  59. package/dist/components/lukso-terms/index.cjs +7 -10
  60. package/dist/components/lukso-terms/index.js +7 -10
  61. package/dist/components/lukso-test/index.cjs +13 -16
  62. package/dist/components/lukso-test/index.js +13 -16
  63. package/dist/components/lukso-textarea/index.cjs +83 -86
  64. package/dist/components/lukso-textarea/index.js +83 -86
  65. package/dist/components/lukso-tooltip/index.cjs +35 -38
  66. package/dist/components/lukso-tooltip/index.js +35 -38
  67. package/dist/components/lukso-username/index.cjs +50 -53
  68. package/dist/components/lukso-username/index.js +50 -53
  69. package/dist/components/lukso-wizard/index.cjs +42 -45
  70. package/dist/components/lukso-wizard/index.js +42 -45
  71. package/dist/{index-65515396.cjs → index-2ffc105b.cjs} +1 -1
  72. package/dist/index-869a59a0.js +37 -0
  73. package/dist/index-b44989bb.cjs +46 -0
  74. package/dist/{index-e496b515.js → index-b74237f9.js} +1 -1
  75. package/dist/{index-d8500104.js → index-da14e190.js} +2 -2
  76. package/dist/{index-188719ef.cjs → index-e5b0ba18.cjs} +2 -2
  77. package/dist/index.cjs +6 -6
  78. package/dist/index.js +6 -6
  79. package/dist/{property-a2c3c430.cjs → property-65ed3fa1.cjs} +1 -1
  80. package/dist/{property-2a7bbcd8.js → property-ff5733e6.js} +1 -1
  81. package/dist/shared/tailwind-element/index.cjs +1 -1
  82. package/dist/shared/tailwind-element/index.js +1 -1
  83. package/dist/{state-a01f91dc.js → state-9bdaddc0.js} +1 -1
  84. package/dist/{state-0d05f6ea.cjs → state-ec4491d8.cjs} +1 -1
  85. package/dist/{style-map-d3b1c1d5.cjs → style-map-227a49cb.cjs} +1 -1
  86. package/dist/{style-map-bece8358.js → style-map-8a1e2472.js} +1 -1
  87. package/dist/tailwind-config.cjs +1 -0
  88. package/dist/tailwind-config.d.ts +1 -0
  89. package/dist/tailwind-config.d.ts.map +1 -1
  90. package/dist/tailwind-config.js +1 -0
  91. package/package.json +1 -1
  92. package/tools/cn.cjs +1 -1
  93. package/tools/cn.js +1 -1
  94. package/tools/index.cjs +1 -1
  95. package/tools/index.js +1 -1
  96. package/tools/{tailwind-config-24192028.cjs → tailwind-config-20125010.cjs} +1 -0
  97. package/tools/{tailwind-config-e80c127f.js → tailwind-config-c5a676c5.js} +1 -0
  98. package/tools/tailwind-config.cjs +1 -1
  99. package/tools/tailwind-config.d.ts +1 -0
  100. package/tools/tailwind-config.d.ts.map +1 -1
  101. package/tools/tailwind-config.js +1 -1
  102. package/dist/index-51f597c4.cjs +0 -48
  103. package/dist/index-5d8104dc.js +0 -39
@@ -1,20 +1,18 @@
1
- import { T as TailwindStyledElement, E, x } from '../../index-5d8104dc.js';
2
- import { n, t } from '../../property-2a7bbcd8.js';
1
+ import { T as TailwindStyledElement, E, x } from '../../index-869a59a0.js';
2
+ import { n, t } from '../../property-ff5733e6.js';
3
3
  import { c as ce } from '../../index-d14b6a34.js';
4
4
  import '../lukso-icon/index.js';
5
- import '../../index-d8500104.js';
5
+ import '../../index-da14e190.js';
6
6
  import '../lukso-username/index.js';
7
7
  import { u as uniqId } from '../../uniq-id-ce2d165c.js';
8
- import '../../style-map-bece8358.js';
8
+ import '../../style-map-8a1e2472.js';
9
9
  import '../../directive-2bb7789e.js';
10
10
  import '../lukso-image/index.js';
11
- import '../../state-a01f91dc.js';
12
- import '../../index-e496b515.js';
11
+ import '../../state-9bdaddc0.js';
12
+ import '../../index-b74237f9.js';
13
13
  import '../../tailwind-config.js';
14
14
  import '../../cn-90c03edf.js';
15
15
 
16
- const style = ":host {\n display: flex;\n width: 100%\n}";
17
-
18
16
  const debounceFunction = (func, timeout = 100) => {
19
17
  let timer;
20
18
  return (...args) => {
@@ -25,6 +23,8 @@ const debounceFunction = (func, timeout = 100) => {
25
23
  };
26
24
  };
27
25
 
26
+ const style = ":host {\n display: flex;\n width: 100%\n}";
27
+
28
28
  var __defProp = Object.defineProperty;
29
29
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
30
30
  var __decorateClass = (decorators, target, key, kind) => {
@@ -47,37 +47,75 @@ let LuksoDropdown = class extends TailwindStyledElement(style) {
47
47
  this.isRight = false;
48
48
  this.isFullWidth = false;
49
49
  this.size = "medium";
50
+ this.trigger = "click";
50
51
  this.styles = ce({
51
- base: `bg-neutral-100 border w-full border-neutral-90 shadow-1xl z-50
52
- flex absolute flex-col gap-1 overflow-y-auto max-h-64 w-[max-content]`,
52
+ slots: {
53
+ wrapper: "absolute z-50",
54
+ dropdown: `bg-neutral-100 border border-neutral-90 shadow-1xl
55
+ flex flex-col gap-1 overflow-y-auto w-[max-content] animate-fade-in animation-duration-200`
56
+ },
53
57
  variants: {
54
58
  openTop: {
55
- true: "bottom-[48px] mb-2 mt-0"
59
+ true: {
60
+ wrapper: "mt-0"
61
+ }
56
62
  },
57
63
  size: {
58
- small: "rounded-8 p-2 mt-1 min-w-[120px] paragraph-inter-12-regular",
59
- medium: "rounded-12 p-3 mt-2 min-w-[200px] paragraph-inter-14-regular"
64
+ small: {
65
+ dropdown: "rounded-8 p-2 mt-1 min-w-[120px] paragraph-inter-12-regular max-h-52"
66
+ },
67
+ medium: {
68
+ dropdown: "rounded-12 p-3 mt-2 min-w-[200px] paragraph-inter-14-regular max-h-64"
69
+ },
70
+ large: "rounded-12 p-3 mt-2 min-w-[200px] paragraph-inter-16-semi-bold max-h-64"
60
71
  },
61
72
  isRight: {
62
- true: "right-0"
73
+ true: {
74
+ wrapper: "right-0"
75
+ }
63
76
  },
64
77
  isFullWidth: {
65
- true: "w-full"
78
+ true: { wrapper: "w-full", dropdown: "w-full" }
66
79
  }
67
80
  },
68
81
  compoundVariants: [
69
82
  {
70
83
  isFullWidth: false,
71
84
  size: "small",
72
- class: "max-w-[200px]"
85
+ class: { dropdown: "max-w-[200px]" }
73
86
  },
74
87
  {
75
88
  isFullWidth: false,
76
89
  size: "medium",
77
- class: "max-w-[300px]"
90
+ class: { dropdown: "max-w-[300px]" }
91
+ },
92
+ {
93
+ isFullWidth: false,
94
+ size: "large",
95
+ class: { dropdown: "max-w-[400px]" }
96
+ },
97
+ {
98
+ openTop: true,
99
+ size: "small",
100
+ class: { wrapper: "bottom-7 mb-1" }
101
+ },
102
+ {
103
+ openTop: true,
104
+ size: ["medium", "large"],
105
+ class: { wrapper: "bottom-12 mb-2" }
78
106
  }
79
107
  ]
80
108
  });
109
+ this.handleMouseEnter = () => {
110
+ this.isOpen = true;
111
+ };
112
+ this.handleMouseLeave = (event) => {
113
+ const relatedTarget = event.relatedTarget;
114
+ if (relatedTarget?.id === this.id || relatedTarget?.id === this.triggerId) {
115
+ return;
116
+ }
117
+ this.isOpen = false;
118
+ };
81
119
  this.handleClick = debounceFunction((event) => {
82
120
  const element = event.target;
83
121
  if (element.id === this.triggerId || this.id === element.id) {
@@ -92,13 +130,40 @@ let LuksoDropdown = class extends TailwindStyledElement(style) {
92
130
  this.id = uniqId();
93
131
  }
94
132
  }
133
+ updated(changedProperties) {
134
+ super.updated(changedProperties);
135
+ if (changedProperties.has("isOpen") && this.trigger === "hover") {
136
+ const dropdownElement = this.shadowRoot?.getElementById(this.id);
137
+ if (this.isOpen && dropdownElement) {
138
+ dropdownElement.addEventListener("mouseenter", this.handleMouseEnter);
139
+ dropdownElement.addEventListener("mouseleave", this.handleMouseLeave);
140
+ } else if (dropdownElement) {
141
+ dropdownElement.removeEventListener("mouseenter", this.handleMouseEnter);
142
+ dropdownElement.removeEventListener("mouseleave", this.handleMouseLeave);
143
+ }
144
+ }
145
+ }
95
146
  connectedCallback() {
96
147
  super.connectedCallback();
97
148
  window.addEventListener("click", this.handleClick.bind(this));
149
+ if (this.trigger === "hover") {
150
+ const triggerElement = document.getElementById(this.triggerId);
151
+ if (triggerElement) {
152
+ triggerElement.addEventListener("mouseenter", this.handleMouseEnter);
153
+ triggerElement.addEventListener("mouseleave", this.handleMouseLeave);
154
+ }
155
+ }
98
156
  }
99
157
  disconnectedCallback() {
100
158
  super.disconnectedCallback();
101
159
  window.removeEventListener("click", this.handleClick);
160
+ if (this.trigger === "hover") {
161
+ const triggerElement = document.getElementById(this.triggerId);
162
+ if (triggerElement) {
163
+ triggerElement.removeEventListener("mouseenter", this.handleMouseEnter);
164
+ triggerElement.removeEventListener("mouseleave", this.handleMouseLeave);
165
+ }
166
+ }
102
167
  }
103
168
  async willUpdate(changedProperties) {
104
169
  if (changedProperties.has("isOpen")) {
@@ -117,7 +182,7 @@ let LuksoDropdown = class extends TailwindStyledElement(style) {
117
182
  }
118
183
  }
119
184
  render() {
120
- const styles = this.styles({
185
+ const { wrapper, dropdown } = this.styles({
121
186
  openTop: this.openTop,
122
187
  size: this.size,
123
188
  isRight: this.isRight,
@@ -126,8 +191,10 @@ let LuksoDropdown = class extends TailwindStyledElement(style) {
126
191
  if (!this.isOpen) {
127
192
  return E;
128
193
  }
129
- return x`<div class="${styles} animate-fade-in animation-duration-200">
130
- <slot></slot>
194
+ return x`<div id=${this.id} class=${wrapper()}>
195
+ <div class=${dropdown()}>
196
+ <slot></slot>
197
+ </div>
131
198
  </div>`;
132
199
  }
133
200
  };
@@ -155,6 +222,9 @@ __decorateClass([
155
222
  __decorateClass([
156
223
  n({ type: String })
157
224
  ], LuksoDropdown.prototype, "size", 2);
225
+ __decorateClass([
226
+ n({ type: String })
227
+ ], LuksoDropdown.prototype, "trigger", 2);
158
228
  LuksoDropdown = __decorateClass([
159
229
  t("lukso-dropdown")
160
230
  ], LuksoDropdown);
@@ -3,7 +3,15 @@ import type { Meta } from '@storybook/web-components';
3
3
  declare const meta: Meta;
4
4
  export default meta;
5
5
  /** Example of dropdown. */
6
- export declare const DefaultDropdown: any;
6
+ export declare const Default: any;
7
7
  /** Example of `small` dropdown. */
8
- export declare const SmallDropdown: any;
8
+ export declare const SmallSize: any;
9
+ /** Example of right side dropdown. */
10
+ export declare const RightSide: any;
11
+ /** Example of dropdown that opens to the top. */
12
+ export declare const OpenTop: any;
13
+ /** Example of full width dropdown. */
14
+ export declare const FullWidth: any;
15
+ /** Example of dropdown triggered on hover. */
16
+ export declare const HoverTrigger: any;
9
17
  //# sourceMappingURL=lukso-dropdown.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lukso-dropdown.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-dropdown/lukso-dropdown.stories.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAErD,OAAO,uBAAuB,CAAA;AAC9B,OAAO,gCAAgC,CAAA;AACvC,OAAO,SAAS,CAAA;AAEhB,iEAAiE;AACjE,QAAA,MAAM,IAAI,EAAE,IA0HX,CAAA;AAED,eAAe,IAAI,CAAA;AA+DnB,4BAA4B;AAC5B,eAAO,MAAM,eAAe,KAAoB,CAAA;AAMhD,oCAAoC;AACpC,eAAO,MAAM,aAAa,KAAoB,CAAA"}
1
+ {"version":3,"file":"lukso-dropdown.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-dropdown/lukso-dropdown.stories.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAErD,OAAO,uBAAuB,CAAA;AAC9B,OAAO,gCAAgC,CAAA;AACvC,OAAO,SAAS,CAAA;AAEhB,iEAAiE;AACjE,QAAA,MAAM,IAAI,EAAE,IAuIX,CAAA;AAED,eAAe,IAAI,CAAA;AA+DnB,4BAA4B;AAC5B,eAAO,MAAM,OAAO,KAAoB,CAAA;AAMxC,oCAAoC;AACpC,eAAO,MAAM,SAAS,KAAoB,CAAA;AAO1C,uCAAuC;AACvC,eAAO,MAAM,SAAS,KAAoB,CAAA;AAQ1C,kDAAkD;AAClD,eAAO,MAAM,OAAO,KAAoB,CAAA;AAOxC,uCAAuC;AACvC,eAAO,MAAM,SAAS,KAAoB,CAAA;AAO1C,+CAA+C;AAC/C,eAAO,MAAM,YAAY,KAAoB,CAAA"}
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-51f597c4.cjs');
6
- const property = require('../../property-a2c3c430.cjs');
5
+ const shared_tailwindElement_index = require('../../index-b44989bb.cjs');
6
+ const property = require('../../property-65ed3fa1.cjs');
7
7
  const index = require('../../index-2b104ecb.cjs');
8
8
 
9
9
  const style = ":host {\n display: block\n}";
@@ -43,7 +43,8 @@ exports.LuksoDropdownOption = class LuksoDropdownOption extends shared_tailwindE
43
43
  },
44
44
  size: {
45
45
  small: "paragraph-inter-12-regular rounded-4 px-2 min-h-[28px]",
46
- medium: "paragraph-inter-14-regular rounded-8 px-3 min-h-[38px]"
46
+ medium: "paragraph-inter-14-regular rounded-8 px-3 min-h-[38px]",
47
+ large: "paragraph-inter-16-semi-bold rounded-8 px-3 min-h-[38px]"
47
48
  },
48
49
  isDisabled: {
49
50
  true: "opacity-60 cursor-not-allowed"
@@ -64,6 +65,11 @@ exports.LuksoDropdownOption = class LuksoDropdownOption extends shared_tailwindE
64
65
  size: "medium",
65
66
  class: "pl-4"
66
67
  },
68
+ {
69
+ isGroup: true,
70
+ size: "large",
71
+ class: "pl-4"
72
+ },
67
73
  {
68
74
  isReadonly: false,
69
75
  isSelected: true,
@@ -6,7 +6,7 @@ export declare class LuksoDropdownOption extends LuksoDropdownOption_base {
6
6
  isSelected: boolean;
7
7
  isActive: boolean;
8
8
  isGroup: boolean;
9
- size: InputSize;
9
+ size: InputSize | 'large';
10
10
  private styles;
11
11
  render(): import("lit-html").TemplateResult<1>;
12
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-dropdown-option/index.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;;AAE/C,qBACa,mBAAoB,SAAQ,wBAA4B;IAEnE,UAAU,UAAQ;IAGlB,UAAU,UAAQ;IAGlB,UAAU,UAAQ;IAGlB,QAAQ,UAAQ;IAGhB,OAAO,UAAQ;IAGf,IAAI,EAAE,SAAS,CAAW;IAE1B,OAAO,CAAC,MAAM,CA0CZ;IAEF,MAAM;CAcP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,uBAAuB,EAAE,mBAAmB,CAAA;KAC7C;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-dropdown-option/index.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;;AAE/C,qBACa,mBAAoB,SAAQ,wBAA4B;IAEnE,UAAU,UAAQ;IAGlB,UAAU,UAAQ;IAGlB,UAAU,UAAQ;IAGlB,QAAQ,UAAQ;IAGhB,OAAO,UAAQ;IAGf,IAAI,EAAE,SAAS,GAAG,OAAO,CAAW;IAEpC,OAAO,CAAC,MAAM,CAgDZ;IAEF,MAAM;CAcP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,uBAAuB,EAAE,mBAAmB,CAAA;KAC7C;CACF"}
@@ -1,5 +1,5 @@
1
- import { T as TailwindStyledElement, x } from '../../index-5d8104dc.js';
2
- import { n, t } from '../../property-2a7bbcd8.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-869a59a0.js';
2
+ import { n, t } from '../../property-ff5733e6.js';
3
3
  import { c as ce } from '../../index-d14b6a34.js';
4
4
 
5
5
  const style = ":host {\n display: block\n}";
@@ -39,7 +39,8 @@ let LuksoDropdownOption = class extends TailwindStyledElement(style) {
39
39
  },
40
40
  size: {
41
41
  small: "paragraph-inter-12-regular rounded-4 px-2 min-h-[28px]",
42
- medium: "paragraph-inter-14-regular rounded-8 px-3 min-h-[38px]"
42
+ medium: "paragraph-inter-14-regular rounded-8 px-3 min-h-[38px]",
43
+ large: "paragraph-inter-16-semi-bold rounded-8 px-3 min-h-[38px]"
43
44
  },
44
45
  isDisabled: {
45
46
  true: "opacity-60 cursor-not-allowed"
@@ -60,6 +61,11 @@ let LuksoDropdownOption = class extends TailwindStyledElement(style) {
60
61
  size: "medium",
61
62
  class: "pl-4"
62
63
  },
64
+ {
65
+ isGroup: true,
66
+ size: "large",
67
+ class: "pl-4"
68
+ },
63
69
  {
64
70
  isReadonly: false,
65
71
  isSelected: true,
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-51f597c4.cjs');
6
- const property = require('../../property-a2c3c430.cjs');
5
+ const shared_tailwindElement_index = require('../../index-b44989bb.cjs');
6
+ const property = require('../../property-65ed3fa1.cjs');
7
7
 
8
8
  var __defProp = Object.defineProperty;
9
9
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,5 +1,5 @@
1
- import { a as TailwindElement, x } from '../../index-5d8104dc.js';
2
- import { n, t } from '../../property-2a7bbcd8.js';
1
+ import { a as TailwindElement, x } from '../../index-869a59a0.js';
2
+ import { n, t } from '../../property-ff5733e6.js';
3
3
 
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-51f597c4.cjs');
6
- const property = require('../../property-a2c3c430.cjs');
7
- const styleMap = require('../../style-map-d3b1c1d5.cjs');
5
+ const shared_tailwindElement_index = require('../../index-b44989bb.cjs');
6
+ const property = require('../../property-65ed3fa1.cjs');
7
+ const styleMap = require('../../style-map-227a49cb.cjs');
8
8
  require('../../directive-8278ab14.cjs');
9
9
 
10
10
  const style = ":host {\n display: inline-flex\n}";
@@ -1,6 +1,6 @@
1
- import { x, T as TailwindStyledElement } from '../../index-5d8104dc.js';
2
- import { n, t } from '../../property-2a7bbcd8.js';
3
- import { o } from '../../style-map-bece8358.js';
1
+ import { x, T as TailwindStyledElement } from '../../index-869a59a0.js';
2
+ import { n, t } from '../../property-ff5733e6.js';
3
+ import { o } from '../../style-map-8a1e2472.js';
4
4
  import '../../directive-2bb7789e.js';
5
5
 
6
6
  const style = ":host {\n display: inline-flex\n}";
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-51f597c4.cjs');
6
- const property = require('../../property-a2c3c430.cjs');
7
- const state = require('../../state-0d05f6ea.cjs');
8
- const styleMap = require('../../style-map-d3b1c1d5.cjs');
5
+ const shared_tailwindElement_index = require('../../index-b44989bb.cjs');
6
+ const property = require('../../property-65ed3fa1.cjs');
7
+ const state = require('../../state-ec4491d8.cjs');
8
+ const styleMap = require('../../style-map-227a49cb.cjs');
9
9
  const index = require('../../index-2b104ecb.cjs');
10
10
  require('../../directive-8278ab14.cjs');
11
11
 
@@ -1,7 +1,7 @@
1
- import { a as TailwindElement, x } from '../../index-5d8104dc.js';
2
- import { n, t } from '../../property-2a7bbcd8.js';
3
- import { r } from '../../state-a01f91dc.js';
4
- import { o } from '../../style-map-bece8358.js';
1
+ import { a as TailwindElement, x } from '../../index-869a59a0.js';
2
+ import { n, t } from '../../property-ff5733e6.js';
3
+ import { r } from '../../state-9bdaddc0.js';
4
+ import { o } from '../../style-map-8a1e2472.js';
5
5
  import { c as ce } from '../../index-d14b6a34.js';
6
6
  import '../../directive-2bb7789e.js';
7
7
 
@@ -2,14 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-51f597c4.cjs');
6
- const property = require('../../property-a2c3c430.cjs');
7
- const state = require('../../state-0d05f6ea.cjs');
5
+ const shared_tailwindElement_index = require('../../index-b44989bb.cjs');
6
+ const property = require('../../property-65ed3fa1.cjs');
7
+ const state = require('../../state-ec4491d8.cjs');
8
8
  const index = require('../../index-2b104ecb.cjs');
9
+ require('../lukso-icon/index.cjs');
9
10
  require('../../tailwind-config.cjs');
10
11
  const cn = require('../../cn-b6daa995.cjs');
11
- require('../lukso-icon/index.cjs');
12
- require('../../style-map-d3b1c1d5.cjs');
12
+ require('../../style-map-227a49cb.cjs');
13
13
  require('../../directive-8278ab14.cjs');
14
14
 
15
15
  const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
@@ -116,6 +116,11 @@ exports.LuksoInput = class LuksoInput extends shared_tailwindElement_index.Tailw
116
116
  input: "h-[48px] px-4 py-3 paragraph-inter-14-regular rounded-12",
117
117
  unit: "h-[48px] paragraph-inter-12-regular px-3.5 rounded-r-12 before:top-[calc(50%-12px)] before:h-[24px]",
118
118
  rightIcon: "right-3"
119
+ },
120
+ large: {
121
+ input: "h-[70px] px-4 py-5 paragraph-inter-16-regular rounded-12",
122
+ unit: "h-[48px] paragraph-inter-16-semi-bold px-3.5 rounded-r-12 before:top-[calc(50%-12px)] before:h-[24px]",
123
+ rightIcon: "right-4"
119
124
  }
120
125
  },
121
126
  isRightIconClickable: {
@@ -148,6 +153,11 @@ exports.LuksoInput = class LuksoInput extends shared_tailwindElement_index.Tailw
148
153
  unit: "border-red-65"
149
154
  }
150
155
  },
156
+ {
157
+ hasRightIcon: true,
158
+ size: "large",
159
+ class: { input: "pr-10" }
160
+ },
151
161
  {
152
162
  hasRightIcon: true,
153
163
  size: "medium",
@@ -21,7 +21,7 @@ export declare class LuksoInput extends LuksoInput_base {
21
21
  max: number | undefined;
22
22
  min: number | undefined;
23
23
  borderless: boolean;
24
- size: InputSize;
24
+ size: InputSize | 'large';
25
25
  rightIcon: string;
26
26
  isRightIconClickable: boolean;
27
27
  keepFocusOnEscape: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-input/index.ts"],"names":[],"mappings":"AAMA,OAAO,yBAAyB,CAAA;AAGhC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;;AAI/C,qBACa,UAAW,SAAQ,eAA4B;IAE1D,KAAK,SAAK;IAGV,IAAI,SAAK;IAGT,IAAI,SAAS;IAGb,WAAW,SAAK;IAGhB,KAAK,SAAK;IAGV,YAAY,SAAO;IAGnB,EAAE,SAAK;IAGP,GAAG,EAAE,MAAM,GAAG,SAAS,CAAY;IAGnC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAY;IAGtC,WAAW,SAAK;IAGhB,KAAK,SAAK;IAGV,IAAI,SAAK;IAGT,WAAW,SAAK;IAGhB,WAAW,UAAQ;IAGnB,UAAU,UAAQ;IAGlB,UAAU,UAAQ;IAGlB,SAAS,UAAQ;IAGjB,GAAG,EAAE,MAAM,GAAG,SAAS,CAAY;IAGnC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAY;IAGnC,UAAU,UAAQ;IAGlB,IAAI,EAAE,SAAS,CAAW;IAG1B,SAAS,SAAK;IAGd,oBAAoB,UAAQ;IAG5B,iBAAiB,UAAQ;IAGzB,OAAO,CAAC,QAAQ,CAAQ;IAGxB,OAAO,CAAC,YAAY,CAAQ;IAE5B,OAAO,CAAC,WAAW,CAwGjB;IAEF,iBAAiB;IAYjB,aAAa,CAAC,MAAM,EAAE,MAAM;IAgC5B,aAAa;IAUb,mBAAmB;IAQnB,aAAa;IAMb,YAAY,CAAC,MAAM,EAAE,MAAM;IAW3B,iBAAiB,CAAC,MAAM,EAAE,MAAM;IAShC,OAAO,CAAC,WAAW;YAOL,UAAU;YAgBV,YAAY;YAcZ,WAAW;YAeX,WAAW;YAmBX,aAAa;YAcb,cAAc;IAc5B,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,eAAe;YAaT,gBAAgB;IAc9B,OAAO,CAAC,oBAAoB;IAY5B,MAAM;CA6BP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAA;KAC1B;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-input/index.ts"],"names":[],"mappings":"AAIA,OAAO,yBAAyB,CAAA;AAKhC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;;AAI/C,qBACa,UAAW,SAAQ,eAA4B;IAE1D,KAAK,SAAK;IAGV,IAAI,SAAK;IAGT,IAAI,SAAS;IAGb,WAAW,SAAK;IAGhB,KAAK,SAAK;IAGV,YAAY,SAAO;IAGnB,EAAE,SAAK;IAGP,GAAG,EAAE,MAAM,GAAG,SAAS,CAAY;IAGnC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAY;IAGtC,WAAW,SAAK;IAGhB,KAAK,SAAK;IAGV,IAAI,SAAK;IAGT,WAAW,SAAK;IAGhB,WAAW,UAAQ;IAGnB,UAAU,UAAQ;IAGlB,UAAU,UAAQ;IAGlB,SAAS,UAAQ;IAGjB,GAAG,EAAE,MAAM,GAAG,SAAS,CAAY;IAGnC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAY;IAGnC,UAAU,UAAQ;IAGlB,IAAI,EAAE,SAAS,GAAG,OAAO,CAAW;IAGpC,SAAS,SAAK;IAGd,oBAAoB,UAAQ;IAG5B,iBAAiB,UAAQ;IAGzB,OAAO,CAAC,QAAQ,CAAQ;IAGxB,OAAO,CAAC,YAAY,CAAQ;IAE5B,OAAO,CAAC,WAAW,CAkHjB;IAEF,iBAAiB;IAYjB,aAAa,CAAC,MAAM,EAAE,MAAM;IAgC5B,aAAa;IAUb,mBAAmB;IAQnB,aAAa;IAMb,YAAY,CAAC,MAAM,EAAE,MAAM;IAW3B,iBAAiB,CAAC,MAAM,EAAE,MAAM;IAShC,OAAO,CAAC,WAAW;YAOL,UAAU;YAgBV,YAAY;YAcZ,WAAW;YAeX,WAAW;YAmBX,aAAa;YAcb,cAAc;IAc5B,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,eAAe;YAaT,gBAAgB;IAc9B,OAAO,CAAC,oBAAoB;IAY5B,MAAM;CA6BP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAA;KAC1B;CACF"}
@@ -1,11 +1,11 @@
1
- import { T as TailwindStyledElement, x, E } from '../../index-5d8104dc.js';
2
- import { n, t } from '../../property-2a7bbcd8.js';
3
- import { r } from '../../state-a01f91dc.js';
1
+ import { T as TailwindStyledElement, x, E } from '../../index-869a59a0.js';
2
+ import { n, t } from '../../property-ff5733e6.js';
3
+ import { r } from '../../state-9bdaddc0.js';
4
4
  import { c as ce } from '../../index-d14b6a34.js';
5
+ import '../lukso-icon/index.js';
5
6
  import '../../tailwind-config.js';
6
7
  import { c as cn } from '../../cn-90c03edf.js';
7
- import '../lukso-icon/index.js';
8
- import '../../style-map-bece8358.js';
8
+ import '../../style-map-8a1e2472.js';
9
9
  import '../../directive-2bb7789e.js';
10
10
 
11
11
  const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
@@ -112,6 +112,11 @@ let LuksoInput = class extends TailwindStyledElement(style) {
112
112
  input: "h-[48px] px-4 py-3 paragraph-inter-14-regular rounded-12",
113
113
  unit: "h-[48px] paragraph-inter-12-regular px-3.5 rounded-r-12 before:top-[calc(50%-12px)] before:h-[24px]",
114
114
  rightIcon: "right-3"
115
+ },
116
+ large: {
117
+ input: "h-[70px] px-4 py-5 paragraph-inter-16-regular rounded-12",
118
+ unit: "h-[48px] paragraph-inter-16-semi-bold px-3.5 rounded-r-12 before:top-[calc(50%-12px)] before:h-[24px]",
119
+ rightIcon: "right-4"
115
120
  }
116
121
  },
117
122
  isRightIconClickable: {
@@ -144,6 +149,11 @@ let LuksoInput = class extends TailwindStyledElement(style) {
144
149
  unit: "border-red-65"
145
150
  }
146
151
  },
152
+ {
153
+ hasRightIcon: true,
154
+ size: "large",
155
+ class: { input: "pr-10" }
156
+ },
147
157
  {
148
158
  hasRightIcon: true,
149
159
  size: "medium",
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-51f597c4.cjs');
6
- const property = require('../../property-a2c3c430.cjs');
5
+ const shared_tailwindElement_index = require('../../index-b44989bb.cjs');
6
+ const property = require('../../property-65ed3fa1.cjs');
7
7
  const index = require('../../index-2b104ecb.cjs');
8
8
 
9
9
  var __defProp = Object.defineProperty;
@@ -1,5 +1,5 @@
1
- import { a as TailwindElement, x } from '../../index-5d8104dc.js';
2
- import { n, t } from '../../property-2a7bbcd8.js';
1
+ import { a as TailwindElement, x } from '../../index-869a59a0.js';
2
+ import { n, t } from '../../property-ff5733e6.js';
3
3
  import { c as ce } from '../../index-d14b6a34.js';
4
4
 
5
5
  var __defProp = Object.defineProperty;
@@ -2,15 +2,15 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-51f597c4.cjs');
6
- const property = require('../../property-a2c3c430.cjs');
7
- const state = require('../../state-0d05f6ea.cjs');
5
+ const shared_tailwindElement_index = require('../../index-b44989bb.cjs');
6
+ const property = require('../../property-65ed3fa1.cjs');
7
+ const state = require('../../state-ec4491d8.cjs');
8
8
  const index = require('../../index-2b104ecb.cjs');
9
9
  require('../lukso-icon/index.cjs');
10
10
  require('../lukso-tag/index.cjs');
11
- require('../../style-map-d3b1c1d5.cjs');
11
+ require('../../style-map-227a49cb.cjs');
12
12
  require('../../directive-8278ab14.cjs');
13
- require('../../index-65515396.cjs');
13
+ require('../../index-2ffc105b.cjs');
14
14
 
15
15
  var __defProp = Object.defineProperty;
16
16
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,12 +1,12 @@
1
- import { a as TailwindElement, x, E } from '../../index-5d8104dc.js';
2
- import { n, t } from '../../property-2a7bbcd8.js';
3
- import { r } from '../../state-a01f91dc.js';
1
+ import { a as TailwindElement, x, E } from '../../index-869a59a0.js';
2
+ import { n, t } from '../../property-ff5733e6.js';
3
+ import { r } from '../../state-9bdaddc0.js';
4
4
  import { c as ce } from '../../index-d14b6a34.js';
5
5
  import '../lukso-icon/index.js';
6
6
  import '../lukso-tag/index.js';
7
- import '../../style-map-bece8358.js';
7
+ import '../../style-map-8a1e2472.js';
8
8
  import '../../directive-2bb7789e.js';
9
- import '../../index-e496b515.js';
9
+ import '../../index-b74237f9.js';
10
10
 
11
11
  var __defProp = Object.defineProperty;
12
12
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-51f597c4.cjs');
6
- const property = require('../../property-a2c3c430.cjs');
7
- const state = require('../../state-0d05f6ea.cjs');
5
+ const shared_tailwindElement_index = require('../../index-b44989bb.cjs');
6
+ const property = require('../../property-65ed3fa1.cjs');
7
+ const state = require('../../state-ec4491d8.cjs');
8
8
  const index = require('../../index-2b104ecb.cjs');
9
9
  require('../lukso-icon/index.cjs');
10
10
  require('../lukso-button/index.cjs');
11
- require('../../style-map-d3b1c1d5.cjs');
11
+ require('../../style-map-227a49cb.cjs');
12
12
  require('../../directive-8278ab14.cjs');
13
13
  require('../../tailwind-config.cjs');
14
14
  require('../../cn-b6daa995.cjs');
@@ -1,10 +1,10 @@
1
- import { T as TailwindStyledElement, x } from '../../index-5d8104dc.js';
2
- import { n, t } from '../../property-2a7bbcd8.js';
3
- import { r } from '../../state-a01f91dc.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-869a59a0.js';
2
+ import { n, t } from '../../property-ff5733e6.js';
3
+ import { r } from '../../state-9bdaddc0.js';
4
4
  import { c as ce } from '../../index-d14b6a34.js';
5
5
  import '../lukso-icon/index.js';
6
6
  import '../lukso-button/index.js';
7
- import '../../style-map-bece8358.js';
7
+ import '../../style-map-8a1e2472.js';
8
8
  import '../../directive-2bb7789e.js';
9
9
  import '../../tailwind-config.js';
10
10
  import '../../cn-90c03edf.js';
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- require('../../index-51f597c4.cjs');
6
- require('../../property-a2c3c430.cjs');
7
- const components_luksoProfile_index = require('../../index-188719ef.cjs');
5
+ require('../../index-b44989bb.cjs');
6
+ require('../../property-65ed3fa1.cjs');
7
+ const components_luksoProfile_index = require('../../index-e5b0ba18.cjs');
8
8
  require('../../index-2b104ecb.cjs');
9
9
  require('../lukso-image/index.cjs');
10
- require('../../state-0d05f6ea.cjs');
11
- require('../../style-map-d3b1c1d5.cjs');
10
+ require('../../state-ec4491d8.cjs');
11
+ require('../../style-map-227a49cb.cjs');
12
12
  require('../../directive-8278ab14.cjs');
13
13
 
14
14
 
@@ -1,8 +1,8 @@
1
- import '../../index-5d8104dc.js';
2
- import '../../property-2a7bbcd8.js';
3
- export { L as LuksoProfile } from '../../index-d8500104.js';
1
+ import '../../index-869a59a0.js';
2
+ import '../../property-ff5733e6.js';
3
+ export { L as LuksoProfile } from '../../index-da14e190.js';
4
4
  import '../../index-d14b6a34.js';
5
5
  import '../lukso-image/index.js';
6
- import '../../state-a01f91dc.js';
7
- import '../../style-map-bece8358.js';
6
+ import '../../state-9bdaddc0.js';
7
+ import '../../style-map-8a1e2472.js';
8
8
  import '../../directive-2bb7789e.js';
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-51f597c4.cjs');
6
- const property = require('../../property-a2c3c430.cjs');
7
- const styleMap = require('../../style-map-d3b1c1d5.cjs');
5
+ const shared_tailwindElement_index = require('../../index-b44989bb.cjs');
6
+ const property = require('../../property-65ed3fa1.cjs');
7
+ const styleMap = require('../../style-map-227a49cb.cjs');
8
8
  require('../../tailwind-config.cjs');
9
9
  const cn = require('../../cn-b6daa995.cjs');
10
10
  require('../../directive-8278ab14.cjs');
@@ -1,6 +1,6 @@
1
- import { a as TailwindElement, x } from '../../index-5d8104dc.js';
2
- import { n, t } from '../../property-2a7bbcd8.js';
3
- import { o } from '../../style-map-bece8358.js';
1
+ import { a as TailwindElement, x } from '../../index-869a59a0.js';
2
+ import { n, t } from '../../property-ff5733e6.js';
3
+ import { o } from '../../style-map-8a1e2472.js';
4
4
  import '../../tailwind-config.js';
5
5
  import { c as cn } from '../../cn-90c03edf.js';
6
6
  import '../../directive-2bb7789e.js';