@strands.gg/lumen 3.1.0 → 3.2.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.
package/dist/vite.cjs.js CHANGED
@@ -14,4 +14,4 @@
14
14
  --lumen-custom-950: color-mix(in srgb, ${e} 25%, black);
15
15
  }`}</style>`;return n.replace("</head>",` ${o}
16
16
  </head>`)}return n}},async transform(n,l){return s&&(l.endsWith("main.ts")||l.endsWith("main.js"))&&!n.includes("@strands.gg/lumen/style.css")?{code:`import '@strands.gg/lumen/style.css'
17
- ${n}`,map:null}:null}}}function m(r={}){return{install(s){Promise.resolve().then(()=>require("./LumenUIPlugin-DO45lG8K.cjs.js")).then(e=>e.LumenUIPlugin$1).then(e=>{const u=e.default;s.use(u)}),typeof window<"u"&&(window.__LUMEN_CONFIG__=r)}}}exports.LumenUI=t;exports.LumenVitePlugin=t;exports.createLumenUI=m;exports.default=t;exports.lumenUI=t;
17
+ ${n}`,map:null}:null}}}function m(r={}){return{install(s){Promise.resolve().then(()=>require("./LumenUIPlugin-Cg5BCejN.cjs.js")).then(e=>e.LumenUIPlugin$1).then(e=>{const u=e.default;s.use(u)}),typeof window<"u"&&(window.__LUMEN_CONFIG__=r)}}}exports.LumenUI=t;exports.LumenVitePlugin=t;exports.createLumenUI=m;exports.default=t;exports.lumenUI=t;
package/dist/vite.es.js CHANGED
@@ -55,7 +55,7 @@ ${e}`,
55
55
  function m(t = {}) {
56
56
  return {
57
57
  install(s) {
58
- import("./LumenUIPlugin-CuukDLNQ.es.js").then((n) => n.N).then((n) => {
58
+ import("./LumenUIPlugin-BwUFtW7f.es.js").then((n) => n.N).then((n) => {
59
59
  const r = n.default;
60
60
  s.use(r);
61
61
  }), typeof window < "u" && (window.__LUMEN_CONFIG__ = t);
@@ -5,8 +5,424 @@ interface Props {
5
5
  previewText?: string;
6
6
  showPreview?: boolean;
7
7
  maxResults?: number;
8
+ label?: string;
9
+ helpText?: string;
10
+ error?: boolean | string | Error;
11
+ required?: boolean;
12
+ size?: 'sm' | 'md' | 'lg';
13
+ color?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'neutral';
14
+ fullWidth?: boolean;
15
+ maxDropdownHeight?: number;
16
+ tabindex?: number;
8
17
  }
9
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
+ declare function __VLS_template(): {
19
+ attrs: Partial<{}>;
20
+ slots: {
21
+ trigger?(_: {
22
+ value: any;
23
+ displayValue: string;
24
+ isOpen: boolean;
25
+ toggle: () => void;
26
+ open: () => Promise<void>;
27
+ close: () => void;
28
+ disabled: boolean;
29
+ }): any;
30
+ };
31
+ refs: {
32
+ selectRef: {
33
+ $: import('vue').ComponentInternalInstance;
34
+ $data: {};
35
+ $props: ({
36
+ readonly type: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
37
+ readonly min?: string | number;
38
+ readonly max?: string | number;
39
+ readonly step?: string | number;
40
+ readonly autocomplete?: string;
41
+ readonly spellcheck?: boolean;
42
+ readonly hasLeadingIcon?: boolean;
43
+ readonly hasTrailingIcon?: boolean;
44
+ readonly label?: string;
45
+ readonly helpText?: string;
46
+ readonly modelValue?: any;
47
+ readonly value?: any;
48
+ readonly placeholder?: string;
49
+ readonly disabled?: boolean;
50
+ readonly readonly?: boolean;
51
+ readonly required?: boolean;
52
+ readonly fullWidth?: boolean;
53
+ readonly inputId?: string;
54
+ readonly error?: boolean | string | Error;
55
+ readonly size?: "sm" | "md" | "lg";
56
+ readonly color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "neutral";
57
+ readonly tabindex?: number;
58
+ readonly onInput?: (value: any) => any;
59
+ readonly onKeydown?: (event: KeyboardEvent) => any;
60
+ readonly onBlur?: (event: FocusEvent) => any;
61
+ readonly onChange?: (value: any) => any;
62
+ readonly onFocus?: (event: FocusEvent) => any;
63
+ readonly "onUpdate:modelValue"?: (value: any) => any;
64
+ readonly "onFile-error"?: (error: string) => any;
65
+ readonly "onClear-preview"?: () => any;
66
+ readonly onComplete?: (value: string) => any;
67
+ } | {
68
+ readonly type: "textarea";
69
+ readonly rows?: number;
70
+ readonly cols?: number;
71
+ readonly maxlength?: number;
72
+ readonly autocomplete?: string;
73
+ readonly spellcheck?: boolean;
74
+ readonly resizable?: boolean;
75
+ readonly hasLeadingIcon?: boolean;
76
+ readonly hasTrailingIcon?: boolean;
77
+ readonly label?: string;
78
+ readonly helpText?: string;
79
+ readonly modelValue?: any;
80
+ readonly value?: any;
81
+ readonly placeholder?: string;
82
+ readonly disabled?: boolean;
83
+ readonly readonly?: boolean;
84
+ readonly required?: boolean;
85
+ readonly fullWidth?: boolean;
86
+ readonly inputId?: string;
87
+ readonly error?: boolean | string | Error;
88
+ readonly size?: "sm" | "md" | "lg";
89
+ readonly color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "neutral";
90
+ readonly tabindex?: number;
91
+ readonly onInput?: (value: any) => any;
92
+ readonly onKeydown?: (event: KeyboardEvent) => any;
93
+ readonly onBlur?: (event: FocusEvent) => any;
94
+ readonly onChange?: (value: any) => any;
95
+ readonly onFocus?: (event: FocusEvent) => any;
96
+ readonly "onUpdate:modelValue"?: (value: any) => any;
97
+ readonly "onFile-error"?: (error: string) => any;
98
+ readonly "onClear-preview"?: () => any;
99
+ readonly onComplete?: (value: string) => any;
100
+ } | {
101
+ readonly type: "select";
102
+ readonly options?: import('./LumenInput/LumenInput.Select.vue').SelectOption[];
103
+ readonly multiple?: boolean;
104
+ readonly searchable?: boolean;
105
+ readonly allowInsert?: boolean;
106
+ readonly maxDropdownHeight?: number;
107
+ readonly noOptionsText?: string;
108
+ readonly searchPlaceholder?: string;
109
+ readonly hasLeadingIcon?: boolean;
110
+ readonly hasTrailingIcon?: boolean;
111
+ readonly virtual?: boolean;
112
+ readonly virtualItemHeight?: number;
113
+ readonly label?: string;
114
+ readonly helpText?: string;
115
+ readonly modelValue?: any;
116
+ readonly value?: any;
117
+ readonly placeholder?: string;
118
+ readonly disabled?: boolean;
119
+ readonly readonly?: boolean;
120
+ readonly required?: boolean;
121
+ readonly fullWidth?: boolean;
122
+ readonly inputId?: string;
123
+ readonly error?: boolean | string | Error;
124
+ readonly size?: "sm" | "md" | "lg";
125
+ readonly color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "neutral";
126
+ readonly tabindex?: number;
127
+ readonly onInput?: (value: any) => any;
128
+ readonly onKeydown?: (event: KeyboardEvent) => any;
129
+ readonly onBlur?: (event: FocusEvent) => any;
130
+ readonly onChange?: (value: any) => any;
131
+ readonly onFocus?: (event: FocusEvent) => any;
132
+ readonly "onUpdate:modelValue"?: (value: any) => any;
133
+ readonly "onFile-error"?: (error: string) => any;
134
+ readonly "onClear-preview"?: () => any;
135
+ readonly onComplete?: (value: string) => any;
136
+ } | {
137
+ readonly type: "file";
138
+ readonly accept?: string;
139
+ readonly multiple?: boolean;
140
+ readonly maxFileSize?: number;
141
+ readonly dragDropText?: string;
142
+ readonly selectedText?: string;
143
+ readonly preview?: string;
144
+ readonly hasLeadingIcon?: boolean;
145
+ readonly hasTrailingIcon?: boolean;
146
+ readonly label?: string;
147
+ readonly helpText?: string;
148
+ readonly modelValue?: any;
149
+ readonly value?: any;
150
+ readonly placeholder?: string;
151
+ readonly disabled?: boolean;
152
+ readonly readonly?: boolean;
153
+ readonly required?: boolean;
154
+ readonly fullWidth?: boolean;
155
+ readonly inputId?: string;
156
+ readonly error?: boolean | string | Error;
157
+ readonly size?: "sm" | "md" | "lg";
158
+ readonly color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "neutral";
159
+ readonly tabindex?: number;
160
+ readonly onInput?: (value: any) => any;
161
+ readonly onKeydown?: (event: KeyboardEvent) => any;
162
+ readonly onBlur?: (event: FocusEvent) => any;
163
+ readonly onChange?: (value: any) => any;
164
+ readonly onFocus?: (event: FocusEvent) => any;
165
+ readonly "onUpdate:modelValue"?: (value: any) => any;
166
+ readonly "onFile-error"?: (error: string) => any;
167
+ readonly "onClear-preview"?: () => any;
168
+ readonly onComplete?: (value: string) => any;
169
+ } | {
170
+ readonly type: "date";
171
+ readonly min?: string | Date;
172
+ readonly max?: string | Date;
173
+ readonly format?: "iso" | "us" | "eu";
174
+ readonly label?: string;
175
+ readonly helpText?: string;
176
+ readonly modelValue?: any;
177
+ readonly value?: any;
178
+ readonly placeholder?: string;
179
+ readonly disabled?: boolean;
180
+ readonly readonly?: boolean;
181
+ readonly required?: boolean;
182
+ readonly fullWidth?: boolean;
183
+ readonly inputId?: string;
184
+ readonly error?: boolean | string | Error;
185
+ readonly size?: "sm" | "md" | "lg";
186
+ readonly color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "neutral";
187
+ readonly tabindex?: number;
188
+ readonly onInput?: (value: any) => any;
189
+ readonly onKeydown?: (event: KeyboardEvent) => any;
190
+ readonly onBlur?: (event: FocusEvent) => any;
191
+ readonly onChange?: (value: any) => any;
192
+ readonly onFocus?: (event: FocusEvent) => any;
193
+ readonly "onUpdate:modelValue"?: (value: any) => any;
194
+ readonly "onFile-error"?: (error: string) => any;
195
+ readonly "onClear-preview"?: () => any;
196
+ readonly onComplete?: (value: string) => any;
197
+ } | {
198
+ readonly type: "time";
199
+ readonly is24Hour?: boolean;
200
+ readonly minuteStep?: number;
201
+ readonly label?: string;
202
+ readonly helpText?: string;
203
+ readonly modelValue?: any;
204
+ readonly value?: any;
205
+ readonly placeholder?: string;
206
+ readonly disabled?: boolean;
207
+ readonly readonly?: boolean;
208
+ readonly required?: boolean;
209
+ readonly fullWidth?: boolean;
210
+ readonly inputId?: string;
211
+ readonly error?: boolean | string | Error;
212
+ readonly size?: "sm" | "md" | "lg";
213
+ readonly color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "neutral";
214
+ readonly tabindex?: number;
215
+ readonly onInput?: (value: any) => any;
216
+ readonly onKeydown?: (event: KeyboardEvent) => any;
217
+ readonly onBlur?: (event: FocusEvent) => any;
218
+ readonly onChange?: (value: any) => any;
219
+ readonly onFocus?: (event: FocusEvent) => any;
220
+ readonly "onUpdate:modelValue"?: (value: any) => any;
221
+ readonly "onFile-error"?: (error: string) => any;
222
+ readonly "onClear-preview"?: () => any;
223
+ readonly onComplete?: (value: string) => any;
224
+ } | {
225
+ readonly type: "datetime";
226
+ readonly min?: string | Date;
227
+ readonly max?: string | Date;
228
+ readonly format?: "iso" | "local";
229
+ readonly is24Hour?: boolean;
230
+ readonly minuteStep?: number;
231
+ readonly label?: string;
232
+ readonly helpText?: string;
233
+ readonly modelValue?: any;
234
+ readonly value?: any;
235
+ readonly placeholder?: string;
236
+ readonly disabled?: boolean;
237
+ readonly readonly?: boolean;
238
+ readonly required?: boolean;
239
+ readonly fullWidth?: boolean;
240
+ readonly inputId?: string;
241
+ readonly error?: boolean | string | Error;
242
+ readonly size?: "sm" | "md" | "lg";
243
+ readonly color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "neutral";
244
+ readonly tabindex?: number;
245
+ readonly onInput?: (value: any) => any;
246
+ readonly onKeydown?: (event: KeyboardEvent) => any;
247
+ readonly onBlur?: (event: FocusEvent) => any;
248
+ readonly onChange?: (value: any) => any;
249
+ readonly onFocus?: (event: FocusEvent) => any;
250
+ readonly "onUpdate:modelValue"?: (value: any) => any;
251
+ readonly "onFile-error"?: (error: string) => any;
252
+ readonly "onClear-preview"?: () => any;
253
+ readonly onComplete?: (value: string) => any;
254
+ } | {
255
+ readonly type: "richtext" | "rich-text";
256
+ readonly minHeight?: string;
257
+ readonly maxHeight?: string;
258
+ readonly customControls?: import('./LumenInput/LumenInput.RichText.vue').RichTextCustomControl[];
259
+ readonly label?: string;
260
+ readonly helpText?: string;
261
+ readonly modelValue?: any;
262
+ readonly value?: any;
263
+ readonly placeholder?: string;
264
+ readonly disabled?: boolean;
265
+ readonly readonly?: boolean;
266
+ readonly required?: boolean;
267
+ readonly fullWidth?: boolean;
268
+ readonly inputId?: string;
269
+ readonly error?: boolean | string | Error;
270
+ readonly size?: "sm" | "md" | "lg";
271
+ readonly color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "neutral";
272
+ readonly tabindex?: number;
273
+ readonly onInput?: (value: any) => any;
274
+ readonly onKeydown?: (event: KeyboardEvent) => any;
275
+ readonly onBlur?: (event: FocusEvent) => any;
276
+ readonly onChange?: (value: any) => any;
277
+ readonly onFocus?: (event: FocusEvent) => any;
278
+ readonly "onUpdate:modelValue"?: (value: any) => any;
279
+ readonly "onFile-error"?: (error: string) => any;
280
+ readonly "onClear-preview"?: () => any;
281
+ readonly onComplete?: (value: string) => any;
282
+ } | {
283
+ readonly type: "pincode";
284
+ readonly maxLength?: number;
285
+ readonly variant?: "numeric" | "alpha" | "alphanumeric";
286
+ readonly divider?: number | {
287
+ count: number;
288
+ character?: string;
289
+ } | {
290
+ count: number;
291
+ component: "divider";
292
+ props?: any;
293
+ };
294
+ readonly hasLeadingIcon?: boolean;
295
+ readonly hasTrailingIcon?: boolean;
296
+ readonly label?: string;
297
+ readonly helpText?: string;
298
+ readonly modelValue?: any;
299
+ readonly value?: any;
300
+ readonly placeholder?: string;
301
+ readonly disabled?: boolean;
302
+ readonly readonly?: boolean;
303
+ readonly required?: boolean;
304
+ readonly fullWidth?: boolean;
305
+ readonly inputId?: string;
306
+ readonly error?: boolean | string | Error;
307
+ readonly size?: "sm" | "md" | "lg";
308
+ readonly color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "neutral";
309
+ readonly tabindex?: number;
310
+ readonly onInput?: (value: any) => any;
311
+ readonly onKeydown?: (event: KeyboardEvent) => any;
312
+ readonly onBlur?: (event: FocusEvent) => any;
313
+ readonly onChange?: (value: any) => any;
314
+ readonly onFocus?: (event: FocusEvent) => any;
315
+ readonly "onUpdate:modelValue"?: (value: any) => any;
316
+ readonly "onFile-error"?: (error: string) => any;
317
+ readonly "onClear-preview"?: () => any;
318
+ readonly onComplete?: (value: string) => any;
319
+ }) & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
320
+ $attrs: {
321
+ [x: string]: unknown;
322
+ };
323
+ $refs: {
324
+ [x: string]: unknown;
325
+ };
326
+ $slots: Readonly<{
327
+ [name: string]: import('vue').Slot<any>;
328
+ }>;
329
+ $root: import('vue').ComponentPublicInstance | null;
330
+ $parent: import('vue').ComponentPublicInstance | null;
331
+ $host: Element | null;
332
+ $emit: ((event: "input", value: any) => void) & ((event: "keydown", event: KeyboardEvent) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "change", value: any) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "update:modelValue", value: any) => void) & ((event: "file-error", error: string) => void) & ((event: "clear-preview") => void) & ((event: "complete", value: string) => void);
333
+ $el: HTMLDivElement;
334
+ $options: import('vue').ComponentOptionsBase<Readonly<import('./LumenInput.vue').InputProps> & Readonly<{
335
+ onInput?: (value: any) => any;
336
+ onKeydown?: (event: KeyboardEvent) => any;
337
+ onBlur?: (event: FocusEvent) => any;
338
+ onChange?: (value: any) => any;
339
+ onFocus?: (event: FocusEvent) => any;
340
+ "onUpdate:modelValue"?: (value: any) => any;
341
+ "onFile-error"?: (error: string) => any;
342
+ "onClear-preview"?: () => any;
343
+ onComplete?: (value: string) => any;
344
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
345
+ input: (value: any) => any;
346
+ keydown: (event: KeyboardEvent) => any;
347
+ blur: (event: FocusEvent) => any;
348
+ change: (value: any) => any;
349
+ focus: (event: FocusEvent) => any;
350
+ "update:modelValue": (value: any) => any;
351
+ "file-error": (error: string) => any;
352
+ "clear-preview": () => any;
353
+ complete: (value: string) => any;
354
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
355
+ beforeCreate?: (() => void) | (() => void)[];
356
+ created?: (() => void) | (() => void)[];
357
+ beforeMount?: (() => void) | (() => void)[];
358
+ mounted?: (() => void) | (() => void)[];
359
+ beforeUpdate?: (() => void) | (() => void)[];
360
+ updated?: (() => void) | (() => void)[];
361
+ activated?: (() => void) | (() => void)[];
362
+ deactivated?: (() => void) | (() => void)[];
363
+ beforeDestroy?: (() => void) | (() => void)[];
364
+ beforeUnmount?: (() => void) | (() => void)[];
365
+ destroyed?: (() => void) | (() => void)[];
366
+ unmounted?: (() => void) | (() => void)[];
367
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
368
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
369
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
370
+ };
371
+ $forceUpdate: () => void;
372
+ $nextTick: typeof import('vue').nextTick;
373
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
374
+ } & Readonly<{}> & Omit<{} & (Readonly<import('./LumenInput.vue').InputProps> & Readonly<{
375
+ onInput?: (value: any) => any;
376
+ onKeydown?: (event: KeyboardEvent) => any;
377
+ onBlur?: (event: FocusEvent) => any;
378
+ onChange?: (value: any) => any;
379
+ onFocus?: (event: FocusEvent) => any;
380
+ "onUpdate:modelValue"?: (value: any) => any;
381
+ "onFile-error"?: (error: string) => any;
382
+ "onClear-preview"?: () => any;
383
+ onComplete?: (value: string) => any;
384
+ }>), never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
385
+ $slots: {
386
+ leading?(_: {}): any;
387
+ leading?(_: {}): any;
388
+ leading?(_: {}): any;
389
+ leading?(_: {}): any;
390
+ leading?(_: {}): any;
391
+ 'leading-icon'?(_: {}): any;
392
+ 'leading-icon'?(_: {}): any;
393
+ 'leading-icon'?(_: {}): any;
394
+ 'leading-icon'?(_: {}): any;
395
+ 'leading-icon'?(_: {}): any;
396
+ 'trailing-icon'?(_: {}): any;
397
+ 'trailing-icon'?(_: {}): any;
398
+ 'trailing-icon'?(_: {}): any;
399
+ 'trailing-icon'?(_: {}): any;
400
+ 'trailing-icon'?(_: {}): any;
401
+ trailing?(_: {}): any;
402
+ trailing?(_: {}): any;
403
+ trailing?(_: {}): any;
404
+ trailing?(_: {}): any;
405
+ trailing?(_: {}): any;
406
+ default?(_: {}): any;
407
+ default?(_: {}): any;
408
+ trigger?(_: {
409
+ value: any;
410
+ displayValue: string;
411
+ isOpen: boolean;
412
+ toggle: () => void;
413
+ open: () => Promise<void>;
414
+ close: () => void;
415
+ disabled: boolean;
416
+ }): any;
417
+ 'zero-state'?(_: {}): any;
418
+ hint?(_: {}): any;
419
+ };
420
+ };
421
+ };
422
+ rootEl: HTMLDivElement;
423
+ };
424
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
425
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
426
  change: (value: string) => any;
11
427
  "update:modelValue": (value: string) => any;
12
428
  }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
@@ -15,7 +431,11 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
15
431
  }>, {
16
432
  disabled: boolean;
17
433
  placeholder: string;
434
+ size: "sm" | "md" | "lg";
435
+ color: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | "neutral";
436
+ fullWidth: boolean;
18
437
  modelValue: string;
438
+ maxDropdownHeight: number;
19
439
  previewText: string;
20
440
  showPreview: boolean;
21
441
  maxResults: number;
@@ -396,8 +816,24 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
396
816
  trailing?(_: {}): any;
397
817
  default?(_: {}): any;
398
818
  default?(_: {}): any;
819
+ trigger?(_: {
820
+ value: any;
821
+ displayValue: string;
822
+ isOpen: boolean;
823
+ toggle: () => void;
824
+ open: () => Promise<void>;
825
+ close: () => void;
826
+ disabled: boolean;
827
+ }): any;
828
+ 'zero-state'?(_: {}): any;
399
829
  hint?(_: {}): any;
400
830
  };
401
831
  };
402
832
  }, HTMLDivElement>;
833
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
403
834
  export default _default;
835
+ type __VLS_WithTemplateSlots<T, S> = T & {
836
+ new (): {
837
+ $slots: S;
838
+ };
839
+ };
@@ -29,11 +29,21 @@ declare function __VLS_template(): {
29
29
  slots: {
30
30
  leading?(_: {}): any;
31
31
  'leading-icon'?(_: {}): any;
32
+ trigger?(_: {
33
+ value: any;
34
+ displayValue: string;
35
+ isOpen: boolean;
36
+ toggle: () => void;
37
+ open: () => Promise<void>;
38
+ close: () => void;
39
+ disabled: boolean;
40
+ }): any;
32
41
  'trailing-icon'?(_: {}): any;
33
42
  trailing?(_: {}): any;
34
43
  'zero-state'?(_: {}): any;
35
44
  };
36
45
  refs: {
46
+ wrapperRef: HTMLDivElement;
37
47
  selectTriggerRef: HTMLDivElement;
38
48
  dropdownRef: HTMLDivElement;
39
49
  searchInputRef: {
@@ -412,6 +422,16 @@ declare function __VLS_template(): {
412
422
  trailing?(_: {}): any;
413
423
  default?(_: {}): any;
414
424
  default?(_: {}): any;
425
+ trigger?(_: {
426
+ value: any;
427
+ displayValue: string;
428
+ isOpen: boolean;
429
+ toggle: () => void;
430
+ open: () => Promise<void>;
431
+ close: () => void;
432
+ disabled: boolean;
433
+ }): any;
434
+ 'zero-state'?(_: {}): any;
415
435
  hint?(_: {}): any;
416
436
  };
417
437
  };
@@ -509,6 +529,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
509
529
  virtual: boolean;
510
530
  virtualItemHeight: number;
511
531
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
532
+ wrapperRef: HTMLDivElement;
512
533
  selectTriggerRef: HTMLDivElement;
513
534
  dropdownRef: HTMLDivElement;
514
535
  searchInputRef: {
@@ -887,6 +908,16 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
887
908
  trailing?(_: {}): any;
888
909
  default?(_: {}): any;
889
910
  default?(_: {}): any;
911
+ trigger?(_: {
912
+ value: any;
913
+ displayValue: string;
914
+ isOpen: boolean;
915
+ toggle: () => void;
916
+ open: () => Promise<void>;
917
+ close: () => void;
918
+ disabled: boolean;
919
+ }): any;
920
+ 'zero-state'?(_: {}): any;
890
921
  hint?(_: {}): any;
891
922
  };
892
923
  };
@@ -49,6 +49,16 @@ declare function __VLS_template(): {
49
49
  trailing?(_: {}): any;
50
50
  default?(_: {}): any;
51
51
  default?(_: {}): any;
52
+ trigger?(_: {
53
+ value: any;
54
+ displayValue: string;
55
+ isOpen: boolean;
56
+ toggle: () => void;
57
+ open: () => Promise<void>;
58
+ close: () => void;
59
+ disabled: boolean;
60
+ }): any;
61
+ 'zero-state'?(_: {}): any;
52
62
  hint?(_: {}): any;
53
63
  };
54
64
  refs: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strands.gg/lumen",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "Lumen UI Components by Strands Services",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs.js",