@unizhen/ui 0.1.97 → 0.1.99

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.
@@ -1,10 +1,14 @@
1
- import { PropType, DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, VNodeChild, ComputedRef, SlotsType, ComponentProvideOptions, CSSProperties } from 'vue';
2
- import { ButtonSize, ButtonType, ButtonSpinProps, ButtonSlots, SpinSlots, PopoverProps, ThemeCommonVars, PopoverInst, EllipsisSlots } from 'naive-ui';
1
+ import { PropType, DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, VNodeChild, ComputedRef, CSSProperties, SlotsType, ComponentProvideOptions } from 'vue';
2
+ import { ButtonSize, ButtonType, ButtonSpinProps, ButtonSlots, SpinSlots, PopoverProps, ThemeCommonVars, EllipsisSlots } from 'naive-ui';
3
3
  import { MaybeArray } from 'naive-ui/es/_utils';
4
- import { Theme } from 'naive-ui/es/_mixins';
5
- import { ExtractThemeOverrides } from 'naive-ui/es/_mixins/use-theme';
6
- import { BaseWaveRef } from 'naive-ui/es/_internal';
4
+ import { ButtonTheme, ButtonThemeOverrides } from 'naive-ui/es/button/styles';
7
5
  import { RtlItem } from 'naive-ui/es/config-provider/src/internal-interface';
6
+ import { SpinTheme, SpinThemeOverrides } from 'naive-ui/es/spin/styles';
7
+ import { EllipsisTheme, EllipsisThemeOverrides } from 'naive-ui/es/ellipsis/styles';
8
+ import { EllipsisThemeVars } from 'naive-ui/es/ellipsis/styles/light';
9
+ import { TooltipTheme } from 'naive-ui/es/tooltip/styles';
10
+ import { ExtractThemeOverrides } from 'naive-ui/es/_mixins';
11
+ import { PopoverTheme } from 'naive-ui/es/popover/styles';
8
12
  declare const _default: typeof __VLS_export;
9
13
  export default _default;
10
14
  declare const __VLS_export: DefineComponent<ExtractPropTypes<{
@@ -95,628 +99,15 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
95
99
  readonly default: boolean;
96
100
  };
97
101
  readonly spinProps: PropType< ButtonSpinProps>;
98
- readonly theme: PropType< Theme<"Button", {
99
- heightTiny: string;
100
- heightSmall: string;
101
- heightMedium: string;
102
- heightLarge: string;
103
- borderRadiusTiny: string;
104
- borderRadiusSmall: string;
105
- borderRadiusMedium: string;
106
- borderRadiusLarge: string;
107
- fontSizeTiny: string;
108
- fontSizeSmall: string;
109
- fontSizeMedium: string;
110
- fontSizeLarge: string;
111
- opacityDisabled: string;
112
- colorOpacitySecondary: string;
113
- colorOpacitySecondaryHover: string;
114
- colorOpacitySecondaryPressed: string;
115
- colorSecondary: string;
116
- colorSecondaryHover: string;
117
- colorSecondaryPressed: string;
118
- colorTertiary: string;
119
- colorTertiaryHover: string;
120
- colorTertiaryPressed: string;
121
- colorQuaternary: string;
122
- colorQuaternaryHover: string;
123
- colorQuaternaryPressed: string;
124
- color: string;
125
- colorHover: string;
126
- colorPressed: string;
127
- colorFocus: string;
128
- colorDisabled: string;
129
- textColor: string;
130
- textColorTertiary: string;
131
- textColorHover: string;
132
- textColorPressed: string;
133
- textColorFocus: string;
134
- textColorDisabled: string;
135
- textColorText: string;
136
- textColorTextHover: string;
137
- textColorTextPressed: string;
138
- textColorTextFocus: string;
139
- textColorTextDisabled: string;
140
- textColorGhost: string;
141
- textColorGhostHover: string;
142
- textColorGhostPressed: string;
143
- textColorGhostFocus: string;
144
- textColorGhostDisabled: string;
145
- border: string;
146
- borderHover: string;
147
- borderPressed: string;
148
- borderFocus: string;
149
- borderDisabled: string;
150
- rippleColor: string;
151
- colorPrimary: string;
152
- colorHoverPrimary: string;
153
- colorPressedPrimary: string;
154
- colorFocusPrimary: string;
155
- colorDisabledPrimary: string;
156
- textColorPrimary: string;
157
- textColorHoverPrimary: string;
158
- textColorPressedPrimary: string;
159
- textColorFocusPrimary: string;
160
- textColorDisabledPrimary: string;
161
- textColorTextPrimary: string;
162
- textColorTextHoverPrimary: string;
163
- textColorTextPressedPrimary: string;
164
- textColorTextFocusPrimary: string;
165
- textColorTextDisabledPrimary: string;
166
- textColorGhostPrimary: string;
167
- textColorGhostHoverPrimary: string;
168
- textColorGhostPressedPrimary: string;
169
- textColorGhostFocusPrimary: string;
170
- textColorGhostDisabledPrimary: string;
171
- borderPrimary: string;
172
- borderHoverPrimary: string;
173
- borderPressedPrimary: string;
174
- borderFocusPrimary: string;
175
- borderDisabledPrimary: string;
176
- rippleColorPrimary: string;
177
- colorInfo: string;
178
- colorHoverInfo: string;
179
- colorPressedInfo: string;
180
- colorFocusInfo: string;
181
- colorDisabledInfo: string;
182
- textColorInfo: string;
183
- textColorHoverInfo: string;
184
- textColorPressedInfo: string;
185
- textColorFocusInfo: string;
186
- textColorDisabledInfo: string;
187
- textColorTextInfo: string;
188
- textColorTextHoverInfo: string;
189
- textColorTextPressedInfo: string;
190
- textColorTextFocusInfo: string;
191
- textColorTextDisabledInfo: string;
192
- textColorGhostInfo: string;
193
- textColorGhostHoverInfo: string;
194
- textColorGhostPressedInfo: string;
195
- textColorGhostFocusInfo: string;
196
- textColorGhostDisabledInfo: string;
197
- borderInfo: string;
198
- borderHoverInfo: string;
199
- borderPressedInfo: string;
200
- borderFocusInfo: string;
201
- borderDisabledInfo: string;
202
- rippleColorInfo: string;
203
- colorSuccess: string;
204
- colorHoverSuccess: string;
205
- colorPressedSuccess: string;
206
- colorFocusSuccess: string;
207
- colorDisabledSuccess: string;
208
- textColorSuccess: string;
209
- textColorHoverSuccess: string;
210
- textColorPressedSuccess: string;
211
- textColorFocusSuccess: string;
212
- textColorDisabledSuccess: string;
213
- textColorTextSuccess: string;
214
- textColorTextHoverSuccess: string;
215
- textColorTextPressedSuccess: string;
216
- textColorTextFocusSuccess: string;
217
- textColorTextDisabledSuccess: string;
218
- textColorGhostSuccess: string;
219
- textColorGhostHoverSuccess: string;
220
- textColorGhostPressedSuccess: string;
221
- textColorGhostFocusSuccess: string;
222
- textColorGhostDisabledSuccess: string;
223
- borderSuccess: string;
224
- borderHoverSuccess: string;
225
- borderPressedSuccess: string;
226
- borderFocusSuccess: string;
227
- borderDisabledSuccess: string;
228
- rippleColorSuccess: string;
229
- colorWarning: string;
230
- colorHoverWarning: string;
231
- colorPressedWarning: string;
232
- colorFocusWarning: string;
233
- colorDisabledWarning: string;
234
- textColorWarning: string;
235
- textColorHoverWarning: string;
236
- textColorPressedWarning: string;
237
- textColorFocusWarning: string;
238
- textColorDisabledWarning: string;
239
- textColorTextWarning: string;
240
- textColorTextHoverWarning: string;
241
- textColorTextPressedWarning: string;
242
- textColorTextFocusWarning: string;
243
- textColorTextDisabledWarning: string;
244
- textColorGhostWarning: string;
245
- textColorGhostHoverWarning: string;
246
- textColorGhostPressedWarning: string;
247
- textColorGhostFocusWarning: string;
248
- textColorGhostDisabledWarning: string;
249
- borderWarning: string;
250
- borderHoverWarning: string;
251
- borderPressedWarning: string;
252
- borderFocusWarning: string;
253
- borderDisabledWarning: string;
254
- rippleColorWarning: string;
255
- colorError: string;
256
- colorHoverError: string;
257
- colorPressedError: string;
258
- colorFocusError: string;
259
- colorDisabledError: string;
260
- textColorError: string;
261
- textColorHoverError: string;
262
- textColorPressedError: string;
263
- textColorFocusError: string;
264
- textColorDisabledError: string;
265
- textColorTextError: string;
266
- textColorTextHoverError: string;
267
- textColorTextPressedError: string;
268
- textColorTextFocusError: string;
269
- textColorTextDisabledError: string;
270
- textColorGhostError: string;
271
- textColorGhostHoverError: string;
272
- textColorGhostPressedError: string;
273
- textColorGhostFocusError: string;
274
- textColorGhostDisabledError: string;
275
- borderError: string;
276
- borderHoverError: string;
277
- borderPressedError: string;
278
- borderFocusError: string;
279
- borderDisabledError: string;
280
- rippleColorError: string;
281
- waveOpacity: string;
282
- fontWeight: string;
283
- fontWeightStrong: string;
284
- paddingTiny: string;
285
- paddingSmall: string;
286
- paddingMedium: string;
287
- paddingLarge: string;
288
- paddingRoundTiny: string;
289
- paddingRoundSmall: string;
290
- paddingRoundMedium: string;
291
- paddingRoundLarge: string;
292
- iconMarginTiny: string;
293
- iconMarginSmall: string;
294
- iconMarginMedium: string;
295
- iconMarginLarge: string;
296
- iconSizeTiny: string;
297
- iconSizeSmall: string;
298
- iconSizeMedium: string;
299
- iconSizeLarge: string;
300
- rippleDuration: string;
301
- }, any>>;
302
- readonly themeOverrides: PropType< ExtractThemeOverrides<Theme<"Button", {
303
- heightTiny: string;
304
- heightSmall: string;
305
- heightMedium: string;
306
- heightLarge: string;
307
- borderRadiusTiny: string;
308
- borderRadiusSmall: string;
309
- borderRadiusMedium: string;
310
- borderRadiusLarge: string;
311
- fontSizeTiny: string;
312
- fontSizeSmall: string;
313
- fontSizeMedium: string;
314
- fontSizeLarge: string;
315
- opacityDisabled: string;
316
- colorOpacitySecondary: string;
317
- colorOpacitySecondaryHover: string;
318
- colorOpacitySecondaryPressed: string;
319
- colorSecondary: string;
320
- colorSecondaryHover: string;
321
- colorSecondaryPressed: string;
322
- colorTertiary: string;
323
- colorTertiaryHover: string;
324
- colorTertiaryPressed: string;
325
- colorQuaternary: string;
326
- colorQuaternaryHover: string;
327
- colorQuaternaryPressed: string;
328
- color: string;
329
- colorHover: string;
330
- colorPressed: string;
331
- colorFocus: string;
332
- colorDisabled: string;
333
- textColor: string;
334
- textColorTertiary: string;
335
- textColorHover: string;
336
- textColorPressed: string;
337
- textColorFocus: string;
338
- textColorDisabled: string;
339
- textColorText: string;
340
- textColorTextHover: string;
341
- textColorTextPressed: string;
342
- textColorTextFocus: string;
343
- textColorTextDisabled: string;
344
- textColorGhost: string;
345
- textColorGhostHover: string;
346
- textColorGhostPressed: string;
347
- textColorGhostFocus: string;
348
- textColorGhostDisabled: string;
349
- border: string;
350
- borderHover: string;
351
- borderPressed: string;
352
- borderFocus: string;
353
- borderDisabled: string;
354
- rippleColor: string;
355
- colorPrimary: string;
356
- colorHoverPrimary: string;
357
- colorPressedPrimary: string;
358
- colorFocusPrimary: string;
359
- colorDisabledPrimary: string;
360
- textColorPrimary: string;
361
- textColorHoverPrimary: string;
362
- textColorPressedPrimary: string;
363
- textColorFocusPrimary: string;
364
- textColorDisabledPrimary: string;
365
- textColorTextPrimary: string;
366
- textColorTextHoverPrimary: string;
367
- textColorTextPressedPrimary: string;
368
- textColorTextFocusPrimary: string;
369
- textColorTextDisabledPrimary: string;
370
- textColorGhostPrimary: string;
371
- textColorGhostHoverPrimary: string;
372
- textColorGhostPressedPrimary: string;
373
- textColorGhostFocusPrimary: string;
374
- textColorGhostDisabledPrimary: string;
375
- borderPrimary: string;
376
- borderHoverPrimary: string;
377
- borderPressedPrimary: string;
378
- borderFocusPrimary: string;
379
- borderDisabledPrimary: string;
380
- rippleColorPrimary: string;
381
- colorInfo: string;
382
- colorHoverInfo: string;
383
- colorPressedInfo: string;
384
- colorFocusInfo: string;
385
- colorDisabledInfo: string;
386
- textColorInfo: string;
387
- textColorHoverInfo: string;
388
- textColorPressedInfo: string;
389
- textColorFocusInfo: string;
390
- textColorDisabledInfo: string;
391
- textColorTextInfo: string;
392
- textColorTextHoverInfo: string;
393
- textColorTextPressedInfo: string;
394
- textColorTextFocusInfo: string;
395
- textColorTextDisabledInfo: string;
396
- textColorGhostInfo: string;
397
- textColorGhostHoverInfo: string;
398
- textColorGhostPressedInfo: string;
399
- textColorGhostFocusInfo: string;
400
- textColorGhostDisabledInfo: string;
401
- borderInfo: string;
402
- borderHoverInfo: string;
403
- borderPressedInfo: string;
404
- borderFocusInfo: string;
405
- borderDisabledInfo: string;
406
- rippleColorInfo: string;
407
- colorSuccess: string;
408
- colorHoverSuccess: string;
409
- colorPressedSuccess: string;
410
- colorFocusSuccess: string;
411
- colorDisabledSuccess: string;
412
- textColorSuccess: string;
413
- textColorHoverSuccess: string;
414
- textColorPressedSuccess: string;
415
- textColorFocusSuccess: string;
416
- textColorDisabledSuccess: string;
417
- textColorTextSuccess: string;
418
- textColorTextHoverSuccess: string;
419
- textColorTextPressedSuccess: string;
420
- textColorTextFocusSuccess: string;
421
- textColorTextDisabledSuccess: string;
422
- textColorGhostSuccess: string;
423
- textColorGhostHoverSuccess: string;
424
- textColorGhostPressedSuccess: string;
425
- textColorGhostFocusSuccess: string;
426
- textColorGhostDisabledSuccess: string;
427
- borderSuccess: string;
428
- borderHoverSuccess: string;
429
- borderPressedSuccess: string;
430
- borderFocusSuccess: string;
431
- borderDisabledSuccess: string;
432
- rippleColorSuccess: string;
433
- colorWarning: string;
434
- colorHoverWarning: string;
435
- colorPressedWarning: string;
436
- colorFocusWarning: string;
437
- colorDisabledWarning: string;
438
- textColorWarning: string;
439
- textColorHoverWarning: string;
440
- textColorPressedWarning: string;
441
- textColorFocusWarning: string;
442
- textColorDisabledWarning: string;
443
- textColorTextWarning: string;
444
- textColorTextHoverWarning: string;
445
- textColorTextPressedWarning: string;
446
- textColorTextFocusWarning: string;
447
- textColorTextDisabledWarning: string;
448
- textColorGhostWarning: string;
449
- textColorGhostHoverWarning: string;
450
- textColorGhostPressedWarning: string;
451
- textColorGhostFocusWarning: string;
452
- textColorGhostDisabledWarning: string;
453
- borderWarning: string;
454
- borderHoverWarning: string;
455
- borderPressedWarning: string;
456
- borderFocusWarning: string;
457
- borderDisabledWarning: string;
458
- rippleColorWarning: string;
459
- colorError: string;
460
- colorHoverError: string;
461
- colorPressedError: string;
462
- colorFocusError: string;
463
- colorDisabledError: string;
464
- textColorError: string;
465
- textColorHoverError: string;
466
- textColorPressedError: string;
467
- textColorFocusError: string;
468
- textColorDisabledError: string;
469
- textColorTextError: string;
470
- textColorTextHoverError: string;
471
- textColorTextPressedError: string;
472
- textColorTextFocusError: string;
473
- textColorTextDisabledError: string;
474
- textColorGhostError: string;
475
- textColorGhostHoverError: string;
476
- textColorGhostPressedError: string;
477
- textColorGhostFocusError: string;
478
- textColorGhostDisabledError: string;
479
- borderError: string;
480
- borderHoverError: string;
481
- borderPressedError: string;
482
- borderFocusError: string;
483
- borderDisabledError: string;
484
- rippleColorError: string;
485
- waveOpacity: string;
486
- fontWeight: string;
487
- fontWeightStrong: string;
488
- paddingTiny: string;
489
- paddingSmall: string;
490
- paddingMedium: string;
491
- paddingLarge: string;
492
- paddingRoundTiny: string;
493
- paddingRoundSmall: string;
494
- paddingRoundMedium: string;
495
- paddingRoundLarge: string;
496
- iconMarginTiny: string;
497
- iconMarginSmall: string;
498
- iconMarginMedium: string;
499
- iconMarginLarge: string;
500
- iconSizeTiny: string;
501
- iconSizeSmall: string;
502
- iconSizeMedium: string;
503
- iconSizeLarge: string;
504
- rippleDuration: string;
505
- }, any>>>;
506
- readonly builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Button", {
507
- heightTiny: string;
508
- heightSmall: string;
509
- heightMedium: string;
510
- heightLarge: string;
511
- borderRadiusTiny: string;
512
- borderRadiusSmall: string;
513
- borderRadiusMedium: string;
514
- borderRadiusLarge: string;
515
- fontSizeTiny: string;
516
- fontSizeSmall: string;
517
- fontSizeMedium: string;
518
- fontSizeLarge: string;
519
- opacityDisabled: string;
520
- colorOpacitySecondary: string;
521
- colorOpacitySecondaryHover: string;
522
- colorOpacitySecondaryPressed: string;
523
- colorSecondary: string;
524
- colorSecondaryHover: string;
525
- colorSecondaryPressed: string;
526
- colorTertiary: string;
527
- colorTertiaryHover: string;
528
- colorTertiaryPressed: string;
529
- colorQuaternary: string;
530
- colorQuaternaryHover: string;
531
- colorQuaternaryPressed: string;
532
- color: string;
533
- colorHover: string;
534
- colorPressed: string;
535
- colorFocus: string;
536
- colorDisabled: string;
537
- textColor: string;
538
- textColorTertiary: string;
539
- textColorHover: string;
540
- textColorPressed: string;
541
- textColorFocus: string;
542
- textColorDisabled: string;
543
- textColorText: string;
544
- textColorTextHover: string;
545
- textColorTextPressed: string;
546
- textColorTextFocus: string;
547
- textColorTextDisabled: string;
548
- textColorGhost: string;
549
- textColorGhostHover: string;
550
- textColorGhostPressed: string;
551
- textColorGhostFocus: string;
552
- textColorGhostDisabled: string;
553
- border: string;
554
- borderHover: string;
555
- borderPressed: string;
556
- borderFocus: string;
557
- borderDisabled: string;
558
- rippleColor: string;
559
- colorPrimary: string;
560
- colorHoverPrimary: string;
561
- colorPressedPrimary: string;
562
- colorFocusPrimary: string;
563
- colorDisabledPrimary: string;
564
- textColorPrimary: string;
565
- textColorHoverPrimary: string;
566
- textColorPressedPrimary: string;
567
- textColorFocusPrimary: string;
568
- textColorDisabledPrimary: string;
569
- textColorTextPrimary: string;
570
- textColorTextHoverPrimary: string;
571
- textColorTextPressedPrimary: string;
572
- textColorTextFocusPrimary: string;
573
- textColorTextDisabledPrimary: string;
574
- textColorGhostPrimary: string;
575
- textColorGhostHoverPrimary: string;
576
- textColorGhostPressedPrimary: string;
577
- textColorGhostFocusPrimary: string;
578
- textColorGhostDisabledPrimary: string;
579
- borderPrimary: string;
580
- borderHoverPrimary: string;
581
- borderPressedPrimary: string;
582
- borderFocusPrimary: string;
583
- borderDisabledPrimary: string;
584
- rippleColorPrimary: string;
585
- colorInfo: string;
586
- colorHoverInfo: string;
587
- colorPressedInfo: string;
588
- colorFocusInfo: string;
589
- colorDisabledInfo: string;
590
- textColorInfo: string;
591
- textColorHoverInfo: string;
592
- textColorPressedInfo: string;
593
- textColorFocusInfo: string;
594
- textColorDisabledInfo: string;
595
- textColorTextInfo: string;
596
- textColorTextHoverInfo: string;
597
- textColorTextPressedInfo: string;
598
- textColorTextFocusInfo: string;
599
- textColorTextDisabledInfo: string;
600
- textColorGhostInfo: string;
601
- textColorGhostHoverInfo: string;
602
- textColorGhostPressedInfo: string;
603
- textColorGhostFocusInfo: string;
604
- textColorGhostDisabledInfo: string;
605
- borderInfo: string;
606
- borderHoverInfo: string;
607
- borderPressedInfo: string;
608
- borderFocusInfo: string;
609
- borderDisabledInfo: string;
610
- rippleColorInfo: string;
611
- colorSuccess: string;
612
- colorHoverSuccess: string;
613
- colorPressedSuccess: string;
614
- colorFocusSuccess: string;
615
- colorDisabledSuccess: string;
616
- textColorSuccess: string;
617
- textColorHoverSuccess: string;
618
- textColorPressedSuccess: string;
619
- textColorFocusSuccess: string;
620
- textColorDisabledSuccess: string;
621
- textColorTextSuccess: string;
622
- textColorTextHoverSuccess: string;
623
- textColorTextPressedSuccess: string;
624
- textColorTextFocusSuccess: string;
625
- textColorTextDisabledSuccess: string;
626
- textColorGhostSuccess: string;
627
- textColorGhostHoverSuccess: string;
628
- textColorGhostPressedSuccess: string;
629
- textColorGhostFocusSuccess: string;
630
- textColorGhostDisabledSuccess: string;
631
- borderSuccess: string;
632
- borderHoverSuccess: string;
633
- borderPressedSuccess: string;
634
- borderFocusSuccess: string;
635
- borderDisabledSuccess: string;
636
- rippleColorSuccess: string;
637
- colorWarning: string;
638
- colorHoverWarning: string;
639
- colorPressedWarning: string;
640
- colorFocusWarning: string;
641
- colorDisabledWarning: string;
642
- textColorWarning: string;
643
- textColorHoverWarning: string;
644
- textColorPressedWarning: string;
645
- textColorFocusWarning: string;
646
- textColorDisabledWarning: string;
647
- textColorTextWarning: string;
648
- textColorTextHoverWarning: string;
649
- textColorTextPressedWarning: string;
650
- textColorTextFocusWarning: string;
651
- textColorTextDisabledWarning: string;
652
- textColorGhostWarning: string;
653
- textColorGhostHoverWarning: string;
654
- textColorGhostPressedWarning: string;
655
- textColorGhostFocusWarning: string;
656
- textColorGhostDisabledWarning: string;
657
- borderWarning: string;
658
- borderHoverWarning: string;
659
- borderPressedWarning: string;
660
- borderFocusWarning: string;
661
- borderDisabledWarning: string;
662
- rippleColorWarning: string;
663
- colorError: string;
664
- colorHoverError: string;
665
- colorPressedError: string;
666
- colorFocusError: string;
667
- colorDisabledError: string;
668
- textColorError: string;
669
- textColorHoverError: string;
670
- textColorPressedError: string;
671
- textColorFocusError: string;
672
- textColorDisabledError: string;
673
- textColorTextError: string;
674
- textColorTextHoverError: string;
675
- textColorTextPressedError: string;
676
- textColorTextFocusError: string;
677
- textColorTextDisabledError: string;
678
- textColorGhostError: string;
679
- textColorGhostHoverError: string;
680
- textColorGhostPressedError: string;
681
- textColorGhostFocusError: string;
682
- textColorGhostDisabledError: string;
683
- borderError: string;
684
- borderHoverError: string;
685
- borderPressedError: string;
686
- borderFocusError: string;
687
- borderDisabledError: string;
688
- rippleColorError: string;
689
- waveOpacity: string;
690
- fontWeight: string;
691
- fontWeightStrong: string;
692
- paddingTiny: string;
693
- paddingSmall: string;
694
- paddingMedium: string;
695
- paddingLarge: string;
696
- paddingRoundTiny: string;
697
- paddingRoundSmall: string;
698
- paddingRoundMedium: string;
699
- paddingRoundLarge: string;
700
- iconMarginTiny: string;
701
- iconMarginSmall: string;
702
- iconMarginMedium: string;
703
- iconMarginLarge: string;
704
- iconSizeTiny: string;
705
- iconSizeSmall: string;
706
- iconSizeMedium: string;
707
- iconSizeLarge: string;
708
- rippleDuration: string;
709
- }, any>>>;
102
+ readonly theme: PropType< ButtonTheme>;
103
+ readonly themeOverrides: PropType< ButtonThemeOverrides>;
104
+ readonly builtinThemeOverrides: PropType< ButtonThemeOverrides>;
710
105
  }>, {
711
106
  selfElRef: Ref<HTMLElement | null, HTMLElement | null>;
712
- waveElRef: Ref<{
713
- play: () => void;
714
- } | null, BaseWaveRef | {
715
- play: () => void;
716
- } | null>;
107
+ waveElRef: unknown;
717
108
  mergedClsPrefix: Ref<string, string>;
718
109
  mergedFocusable: ComputedRef<boolean>;
719
- mergedSize: ComputedRef<"tiny" | "small" | "medium" | "large">;
110
+ mergedSize: ComputedRef<"large" | "medium" | "small" | "tiny">;
720
111
  showBorder: ComputedRef<boolean>;
721
112
  enterPressed: Ref<boolean, boolean>;
722
113
  rtlEnabled: Ref< RtlItem | undefined, RtlItem | undefined> | undefined;
@@ -725,44 +116,8 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
725
116
  handleBlur: () => void;
726
117
  handleKeyup: (e: KeyboardEvent) => void;
727
118
  handleClick: (e: MouseEvent) => void;
728
- customColorCssVars: ComputedRef<{
729
- "--n-border-color": string;
730
- "--n-border-color-hover": string;
731
- "--n-border-color-pressed": string;
732
- "--n-border-color-focus": string;
733
- "--n-border-color-disabled": string;
734
- } | null>;
735
- cssVars: ComputedRef<{
736
- "--n-width": string;
737
- "--n-height": string;
738
- "--n-font-size": string;
739
- "--n-padding": string;
740
- "--n-icon-size": string;
741
- "--n-icon-margin": string;
742
- "--n-border-radius": string;
743
- "--n-border": string;
744
- "--n-border-hover": string;
745
- "--n-border-pressed": string;
746
- "--n-border-focus": string;
747
- "--n-border-disabled": string;
748
- "--n-color": string;
749
- "--n-color-hover": string;
750
- "--n-color-pressed": string;
751
- "--n-color-focus": string;
752
- "--n-color-disabled": string;
753
- "--n-ripple-color": string;
754
- "--n-text-color": string;
755
- "--n-text-color-hover": string;
756
- "--n-text-color-pressed": string;
757
- "--n-text-color-focus": string;
758
- "--n-text-color-disabled": string;
759
- "--n-font-weight": string;
760
- "--n-bezier": string;
761
- "--n-bezier-ease-out": string;
762
- "--n-ripple-duration": string;
763
- "--n-opacity-disabled": string;
764
- "--n-wave-opacity": string;
765
- }> | undefined;
119
+ customColorCssVars: Ref<CSSProperties>;
120
+ cssVars: Ref<CSSProperties, CSSProperties> | undefined;
766
121
  themeClass: Ref<string, string> | undefined;
767
122
  onRender: (() => void) | undefined;
768
123
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
@@ -816,645 +171,33 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
816
171
  readonly default: boolean;
817
172
  };
818
173
  readonly spinProps: PropType< ButtonSpinProps>;
819
- readonly theme: PropType< Theme<"Button", {
820
- heightTiny: string;
821
- heightSmall: string;
822
- heightMedium: string;
823
- heightLarge: string;
824
- borderRadiusTiny: string;
825
- borderRadiusSmall: string;
826
- borderRadiusMedium: string;
827
- borderRadiusLarge: string;
828
- fontSizeTiny: string;
829
- fontSizeSmall: string;
830
- fontSizeMedium: string;
831
- fontSizeLarge: string;
832
- opacityDisabled: string;
833
- colorOpacitySecondary: string;
834
- colorOpacitySecondaryHover: string;
835
- colorOpacitySecondaryPressed: string;
836
- colorSecondary: string;
837
- colorSecondaryHover: string;
838
- colorSecondaryPressed: string;
839
- colorTertiary: string;
840
- colorTertiaryHover: string;
841
- colorTertiaryPressed: string;
842
- colorQuaternary: string;
843
- colorQuaternaryHover: string;
844
- colorQuaternaryPressed: string;
845
- color: string;
846
- colorHover: string;
847
- colorPressed: string;
848
- colorFocus: string;
849
- colorDisabled: string;
850
- textColor: string;
851
- textColorTertiary: string;
852
- textColorHover: string;
853
- textColorPressed: string;
854
- textColorFocus: string;
855
- textColorDisabled: string;
856
- textColorText: string;
857
- textColorTextHover: string;
858
- textColorTextPressed: string;
859
- textColorTextFocus: string;
860
- textColorTextDisabled: string;
861
- textColorGhost: string;
862
- textColorGhostHover: string;
863
- textColorGhostPressed: string;
864
- textColorGhostFocus: string;
865
- textColorGhostDisabled: string;
866
- border: string;
867
- borderHover: string;
868
- borderPressed: string;
869
- borderFocus: string;
870
- borderDisabled: string;
871
- rippleColor: string;
872
- colorPrimary: string;
873
- colorHoverPrimary: string;
874
- colorPressedPrimary: string;
875
- colorFocusPrimary: string;
876
- colorDisabledPrimary: string;
877
- textColorPrimary: string;
878
- textColorHoverPrimary: string;
879
- textColorPressedPrimary: string;
880
- textColorFocusPrimary: string;
881
- textColorDisabledPrimary: string;
882
- textColorTextPrimary: string;
883
- textColorTextHoverPrimary: string;
884
- textColorTextPressedPrimary: string;
885
- textColorTextFocusPrimary: string;
886
- textColorTextDisabledPrimary: string;
887
- textColorGhostPrimary: string;
888
- textColorGhostHoverPrimary: string;
889
- textColorGhostPressedPrimary: string;
890
- textColorGhostFocusPrimary: string;
891
- textColorGhostDisabledPrimary: string;
892
- borderPrimary: string;
893
- borderHoverPrimary: string;
894
- borderPressedPrimary: string;
895
- borderFocusPrimary: string;
896
- borderDisabledPrimary: string;
897
- rippleColorPrimary: string;
898
- colorInfo: string;
899
- colorHoverInfo: string;
900
- colorPressedInfo: string;
901
- colorFocusInfo: string;
902
- colorDisabledInfo: string;
903
- textColorInfo: string;
904
- textColorHoverInfo: string;
905
- textColorPressedInfo: string;
906
- textColorFocusInfo: string;
907
- textColorDisabledInfo: string;
908
- textColorTextInfo: string;
909
- textColorTextHoverInfo: string;
910
- textColorTextPressedInfo: string;
911
- textColorTextFocusInfo: string;
912
- textColorTextDisabledInfo: string;
913
- textColorGhostInfo: string;
914
- textColorGhostHoverInfo: string;
915
- textColorGhostPressedInfo: string;
916
- textColorGhostFocusInfo: string;
917
- textColorGhostDisabledInfo: string;
918
- borderInfo: string;
919
- borderHoverInfo: string;
920
- borderPressedInfo: string;
921
- borderFocusInfo: string;
922
- borderDisabledInfo: string;
923
- rippleColorInfo: string;
924
- colorSuccess: string;
925
- colorHoverSuccess: string;
926
- colorPressedSuccess: string;
927
- colorFocusSuccess: string;
928
- colorDisabledSuccess: string;
929
- textColorSuccess: string;
930
- textColorHoverSuccess: string;
931
- textColorPressedSuccess: string;
932
- textColorFocusSuccess: string;
933
- textColorDisabledSuccess: string;
934
- textColorTextSuccess: string;
935
- textColorTextHoverSuccess: string;
936
- textColorTextPressedSuccess: string;
937
- textColorTextFocusSuccess: string;
938
- textColorTextDisabledSuccess: string;
939
- textColorGhostSuccess: string;
940
- textColorGhostHoverSuccess: string;
941
- textColorGhostPressedSuccess: string;
942
- textColorGhostFocusSuccess: string;
943
- textColorGhostDisabledSuccess: string;
944
- borderSuccess: string;
945
- borderHoverSuccess: string;
946
- borderPressedSuccess: string;
947
- borderFocusSuccess: string;
948
- borderDisabledSuccess: string;
949
- rippleColorSuccess: string;
950
- colorWarning: string;
951
- colorHoverWarning: string;
952
- colorPressedWarning: string;
953
- colorFocusWarning: string;
954
- colorDisabledWarning: string;
955
- textColorWarning: string;
956
- textColorHoverWarning: string;
957
- textColorPressedWarning: string;
958
- textColorFocusWarning: string;
959
- textColorDisabledWarning: string;
960
- textColorTextWarning: string;
961
- textColorTextHoverWarning: string;
962
- textColorTextPressedWarning: string;
963
- textColorTextFocusWarning: string;
964
- textColorTextDisabledWarning: string;
965
- textColorGhostWarning: string;
966
- textColorGhostHoverWarning: string;
967
- textColorGhostPressedWarning: string;
968
- textColorGhostFocusWarning: string;
969
- textColorGhostDisabledWarning: string;
970
- borderWarning: string;
971
- borderHoverWarning: string;
972
- borderPressedWarning: string;
973
- borderFocusWarning: string;
974
- borderDisabledWarning: string;
975
- rippleColorWarning: string;
976
- colorError: string;
977
- colorHoverError: string;
978
- colorPressedError: string;
979
- colorFocusError: string;
980
- colorDisabledError: string;
981
- textColorError: string;
982
- textColorHoverError: string;
983
- textColorPressedError: string;
984
- textColorFocusError: string;
985
- textColorDisabledError: string;
986
- textColorTextError: string;
987
- textColorTextHoverError: string;
988
- textColorTextPressedError: string;
989
- textColorTextFocusError: string;
990
- textColorTextDisabledError: string;
991
- textColorGhostError: string;
992
- textColorGhostHoverError: string;
993
- textColorGhostPressedError: string;
994
- textColorGhostFocusError: string;
995
- textColorGhostDisabledError: string;
996
- borderError: string;
997
- borderHoverError: string;
998
- borderPressedError: string;
999
- borderFocusError: string;
1000
- borderDisabledError: string;
1001
- rippleColorError: string;
1002
- waveOpacity: string;
1003
- fontWeight: string;
1004
- fontWeightStrong: string;
1005
- paddingTiny: string;
1006
- paddingSmall: string;
1007
- paddingMedium: string;
1008
- paddingLarge: string;
1009
- paddingRoundTiny: string;
1010
- paddingRoundSmall: string;
1011
- paddingRoundMedium: string;
1012
- paddingRoundLarge: string;
1013
- iconMarginTiny: string;
1014
- iconMarginSmall: string;
1015
- iconMarginMedium: string;
1016
- iconMarginLarge: string;
1017
- iconSizeTiny: string;
1018
- iconSizeSmall: string;
1019
- iconSizeMedium: string;
1020
- iconSizeLarge: string;
1021
- rippleDuration: string;
1022
- }, any>>;
1023
- readonly themeOverrides: PropType< ExtractThemeOverrides<Theme<"Button", {
1024
- heightTiny: string;
1025
- heightSmall: string;
1026
- heightMedium: string;
1027
- heightLarge: string;
1028
- borderRadiusTiny: string;
1029
- borderRadiusSmall: string;
1030
- borderRadiusMedium: string;
1031
- borderRadiusLarge: string;
1032
- fontSizeTiny: string;
1033
- fontSizeSmall: string;
1034
- fontSizeMedium: string;
1035
- fontSizeLarge: string;
1036
- opacityDisabled: string;
1037
- colorOpacitySecondary: string;
1038
- colorOpacitySecondaryHover: string;
1039
- colorOpacitySecondaryPressed: string;
1040
- colorSecondary: string;
1041
- colorSecondaryHover: string;
1042
- colorSecondaryPressed: string;
1043
- colorTertiary: string;
1044
- colorTertiaryHover: string;
1045
- colorTertiaryPressed: string;
1046
- colorQuaternary: string;
1047
- colorQuaternaryHover: string;
1048
- colorQuaternaryPressed: string;
1049
- color: string;
1050
- colorHover: string;
1051
- colorPressed: string;
1052
- colorFocus: string;
1053
- colorDisabled: string;
1054
- textColor: string;
1055
- textColorTertiary: string;
1056
- textColorHover: string;
1057
- textColorPressed: string;
1058
- textColorFocus: string;
1059
- textColorDisabled: string;
1060
- textColorText: string;
1061
- textColorTextHover: string;
1062
- textColorTextPressed: string;
1063
- textColorTextFocus: string;
1064
- textColorTextDisabled: string;
1065
- textColorGhost: string;
1066
- textColorGhostHover: string;
1067
- textColorGhostPressed: string;
1068
- textColorGhostFocus: string;
1069
- textColorGhostDisabled: string;
1070
- border: string;
1071
- borderHover: string;
1072
- borderPressed: string;
1073
- borderFocus: string;
1074
- borderDisabled: string;
1075
- rippleColor: string;
1076
- colorPrimary: string;
1077
- colorHoverPrimary: string;
1078
- colorPressedPrimary: string;
1079
- colorFocusPrimary: string;
1080
- colorDisabledPrimary: string;
1081
- textColorPrimary: string;
1082
- textColorHoverPrimary: string;
1083
- textColorPressedPrimary: string;
1084
- textColorFocusPrimary: string;
1085
- textColorDisabledPrimary: string;
1086
- textColorTextPrimary: string;
1087
- textColorTextHoverPrimary: string;
1088
- textColorTextPressedPrimary: string;
1089
- textColorTextFocusPrimary: string;
1090
- textColorTextDisabledPrimary: string;
1091
- textColorGhostPrimary: string;
1092
- textColorGhostHoverPrimary: string;
1093
- textColorGhostPressedPrimary: string;
1094
- textColorGhostFocusPrimary: string;
1095
- textColorGhostDisabledPrimary: string;
1096
- borderPrimary: string;
1097
- borderHoverPrimary: string;
1098
- borderPressedPrimary: string;
1099
- borderFocusPrimary: string;
1100
- borderDisabledPrimary: string;
1101
- rippleColorPrimary: string;
1102
- colorInfo: string;
1103
- colorHoverInfo: string;
1104
- colorPressedInfo: string;
1105
- colorFocusInfo: string;
1106
- colorDisabledInfo: string;
1107
- textColorInfo: string;
1108
- textColorHoverInfo: string;
1109
- textColorPressedInfo: string;
1110
- textColorFocusInfo: string;
1111
- textColorDisabledInfo: string;
1112
- textColorTextInfo: string;
1113
- textColorTextHoverInfo: string;
1114
- textColorTextPressedInfo: string;
1115
- textColorTextFocusInfo: string;
1116
- textColorTextDisabledInfo: string;
1117
- textColorGhostInfo: string;
1118
- textColorGhostHoverInfo: string;
1119
- textColorGhostPressedInfo: string;
1120
- textColorGhostFocusInfo: string;
1121
- textColorGhostDisabledInfo: string;
1122
- borderInfo: string;
1123
- borderHoverInfo: string;
1124
- borderPressedInfo: string;
1125
- borderFocusInfo: string;
1126
- borderDisabledInfo: string;
1127
- rippleColorInfo: string;
1128
- colorSuccess: string;
1129
- colorHoverSuccess: string;
1130
- colorPressedSuccess: string;
1131
- colorFocusSuccess: string;
1132
- colorDisabledSuccess: string;
1133
- textColorSuccess: string;
1134
- textColorHoverSuccess: string;
1135
- textColorPressedSuccess: string;
1136
- textColorFocusSuccess: string;
1137
- textColorDisabledSuccess: string;
1138
- textColorTextSuccess: string;
1139
- textColorTextHoverSuccess: string;
1140
- textColorTextPressedSuccess: string;
1141
- textColorTextFocusSuccess: string;
1142
- textColorTextDisabledSuccess: string;
1143
- textColorGhostSuccess: string;
1144
- textColorGhostHoverSuccess: string;
1145
- textColorGhostPressedSuccess: string;
1146
- textColorGhostFocusSuccess: string;
1147
- textColorGhostDisabledSuccess: string;
1148
- borderSuccess: string;
1149
- borderHoverSuccess: string;
1150
- borderPressedSuccess: string;
1151
- borderFocusSuccess: string;
1152
- borderDisabledSuccess: string;
1153
- rippleColorSuccess: string;
1154
- colorWarning: string;
1155
- colorHoverWarning: string;
1156
- colorPressedWarning: string;
1157
- colorFocusWarning: string;
1158
- colorDisabledWarning: string;
1159
- textColorWarning: string;
1160
- textColorHoverWarning: string;
1161
- textColorPressedWarning: string;
1162
- textColorFocusWarning: string;
1163
- textColorDisabledWarning: string;
1164
- textColorTextWarning: string;
1165
- textColorTextHoverWarning: string;
1166
- textColorTextPressedWarning: string;
1167
- textColorTextFocusWarning: string;
1168
- textColorTextDisabledWarning: string;
1169
- textColorGhostWarning: string;
1170
- textColorGhostHoverWarning: string;
1171
- textColorGhostPressedWarning: string;
1172
- textColorGhostFocusWarning: string;
1173
- textColorGhostDisabledWarning: string;
1174
- borderWarning: string;
1175
- borderHoverWarning: string;
1176
- borderPressedWarning: string;
1177
- borderFocusWarning: string;
1178
- borderDisabledWarning: string;
1179
- rippleColorWarning: string;
1180
- colorError: string;
1181
- colorHoverError: string;
1182
- colorPressedError: string;
1183
- colorFocusError: string;
1184
- colorDisabledError: string;
1185
- textColorError: string;
1186
- textColorHoverError: string;
1187
- textColorPressedError: string;
1188
- textColorFocusError: string;
1189
- textColorDisabledError: string;
1190
- textColorTextError: string;
1191
- textColorTextHoverError: string;
1192
- textColorTextPressedError: string;
1193
- textColorTextFocusError: string;
1194
- textColorTextDisabledError: string;
1195
- textColorGhostError: string;
1196
- textColorGhostHoverError: string;
1197
- textColorGhostPressedError: string;
1198
- textColorGhostFocusError: string;
1199
- textColorGhostDisabledError: string;
1200
- borderError: string;
1201
- borderHoverError: string;
1202
- borderPressedError: string;
1203
- borderFocusError: string;
1204
- borderDisabledError: string;
1205
- rippleColorError: string;
1206
- waveOpacity: string;
1207
- fontWeight: string;
1208
- fontWeightStrong: string;
1209
- paddingTiny: string;
1210
- paddingSmall: string;
1211
- paddingMedium: string;
1212
- paddingLarge: string;
1213
- paddingRoundTiny: string;
1214
- paddingRoundSmall: string;
1215
- paddingRoundMedium: string;
1216
- paddingRoundLarge: string;
1217
- iconMarginTiny: string;
1218
- iconMarginSmall: string;
1219
- iconMarginMedium: string;
1220
- iconMarginLarge: string;
1221
- iconSizeTiny: string;
1222
- iconSizeSmall: string;
1223
- iconSizeMedium: string;
1224
- iconSizeLarge: string;
1225
- rippleDuration: string;
1226
- }, any>>>;
1227
- readonly builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Button", {
1228
- heightTiny: string;
1229
- heightSmall: string;
1230
- heightMedium: string;
1231
- heightLarge: string;
1232
- borderRadiusTiny: string;
1233
- borderRadiusSmall: string;
1234
- borderRadiusMedium: string;
1235
- borderRadiusLarge: string;
1236
- fontSizeTiny: string;
1237
- fontSizeSmall: string;
1238
- fontSizeMedium: string;
1239
- fontSizeLarge: string;
1240
- opacityDisabled: string;
1241
- colorOpacitySecondary: string;
1242
- colorOpacitySecondaryHover: string;
1243
- colorOpacitySecondaryPressed: string;
1244
- colorSecondary: string;
1245
- colorSecondaryHover: string;
1246
- colorSecondaryPressed: string;
1247
- colorTertiary: string;
1248
- colorTertiaryHover: string;
1249
- colorTertiaryPressed: string;
1250
- colorQuaternary: string;
1251
- colorQuaternaryHover: string;
1252
- colorQuaternaryPressed: string;
1253
- color: string;
1254
- colorHover: string;
1255
- colorPressed: string;
1256
- colorFocus: string;
1257
- colorDisabled: string;
1258
- textColor: string;
1259
- textColorTertiary: string;
1260
- textColorHover: string;
1261
- textColorPressed: string;
1262
- textColorFocus: string;
1263
- textColorDisabled: string;
1264
- textColorText: string;
1265
- textColorTextHover: string;
1266
- textColorTextPressed: string;
1267
- textColorTextFocus: string;
1268
- textColorTextDisabled: string;
1269
- textColorGhost: string;
1270
- textColorGhostHover: string;
1271
- textColorGhostPressed: string;
1272
- textColorGhostFocus: string;
1273
- textColorGhostDisabled: string;
1274
- border: string;
1275
- borderHover: string;
1276
- borderPressed: string;
1277
- borderFocus: string;
1278
- borderDisabled: string;
1279
- rippleColor: string;
1280
- colorPrimary: string;
1281
- colorHoverPrimary: string;
1282
- colorPressedPrimary: string;
1283
- colorFocusPrimary: string;
1284
- colorDisabledPrimary: string;
1285
- textColorPrimary: string;
1286
- textColorHoverPrimary: string;
1287
- textColorPressedPrimary: string;
1288
- textColorFocusPrimary: string;
1289
- textColorDisabledPrimary: string;
1290
- textColorTextPrimary: string;
1291
- textColorTextHoverPrimary: string;
1292
- textColorTextPressedPrimary: string;
1293
- textColorTextFocusPrimary: string;
1294
- textColorTextDisabledPrimary: string;
1295
- textColorGhostPrimary: string;
1296
- textColorGhostHoverPrimary: string;
1297
- textColorGhostPressedPrimary: string;
1298
- textColorGhostFocusPrimary: string;
1299
- textColorGhostDisabledPrimary: string;
1300
- borderPrimary: string;
1301
- borderHoverPrimary: string;
1302
- borderPressedPrimary: string;
1303
- borderFocusPrimary: string;
1304
- borderDisabledPrimary: string;
1305
- rippleColorPrimary: string;
1306
- colorInfo: string;
1307
- colorHoverInfo: string;
1308
- colorPressedInfo: string;
1309
- colorFocusInfo: string;
1310
- colorDisabledInfo: string;
1311
- textColorInfo: string;
1312
- textColorHoverInfo: string;
1313
- textColorPressedInfo: string;
1314
- textColorFocusInfo: string;
1315
- textColorDisabledInfo: string;
1316
- textColorTextInfo: string;
1317
- textColorTextHoverInfo: string;
1318
- textColorTextPressedInfo: string;
1319
- textColorTextFocusInfo: string;
1320
- textColorTextDisabledInfo: string;
1321
- textColorGhostInfo: string;
1322
- textColorGhostHoverInfo: string;
1323
- textColorGhostPressedInfo: string;
1324
- textColorGhostFocusInfo: string;
1325
- textColorGhostDisabledInfo: string;
1326
- borderInfo: string;
1327
- borderHoverInfo: string;
1328
- borderPressedInfo: string;
1329
- borderFocusInfo: string;
1330
- borderDisabledInfo: string;
1331
- rippleColorInfo: string;
1332
- colorSuccess: string;
1333
- colorHoverSuccess: string;
1334
- colorPressedSuccess: string;
1335
- colorFocusSuccess: string;
1336
- colorDisabledSuccess: string;
1337
- textColorSuccess: string;
1338
- textColorHoverSuccess: string;
1339
- textColorPressedSuccess: string;
1340
- textColorFocusSuccess: string;
1341
- textColorDisabledSuccess: string;
1342
- textColorTextSuccess: string;
1343
- textColorTextHoverSuccess: string;
1344
- textColorTextPressedSuccess: string;
1345
- textColorTextFocusSuccess: string;
1346
- textColorTextDisabledSuccess: string;
1347
- textColorGhostSuccess: string;
1348
- textColorGhostHoverSuccess: string;
1349
- textColorGhostPressedSuccess: string;
1350
- textColorGhostFocusSuccess: string;
1351
- textColorGhostDisabledSuccess: string;
1352
- borderSuccess: string;
1353
- borderHoverSuccess: string;
1354
- borderPressedSuccess: string;
1355
- borderFocusSuccess: string;
1356
- borderDisabledSuccess: string;
1357
- rippleColorSuccess: string;
1358
- colorWarning: string;
1359
- colorHoverWarning: string;
1360
- colorPressedWarning: string;
1361
- colorFocusWarning: string;
1362
- colorDisabledWarning: string;
1363
- textColorWarning: string;
1364
- textColorHoverWarning: string;
1365
- textColorPressedWarning: string;
1366
- textColorFocusWarning: string;
1367
- textColorDisabledWarning: string;
1368
- textColorTextWarning: string;
1369
- textColorTextHoverWarning: string;
1370
- textColorTextPressedWarning: string;
1371
- textColorTextFocusWarning: string;
1372
- textColorTextDisabledWarning: string;
1373
- textColorGhostWarning: string;
1374
- textColorGhostHoverWarning: string;
1375
- textColorGhostPressedWarning: string;
1376
- textColorGhostFocusWarning: string;
1377
- textColorGhostDisabledWarning: string;
1378
- borderWarning: string;
1379
- borderHoverWarning: string;
1380
- borderPressedWarning: string;
1381
- borderFocusWarning: string;
1382
- borderDisabledWarning: string;
1383
- rippleColorWarning: string;
1384
- colorError: string;
1385
- colorHoverError: string;
1386
- colorPressedError: string;
1387
- colorFocusError: string;
1388
- colorDisabledError: string;
1389
- textColorError: string;
1390
- textColorHoverError: string;
1391
- textColorPressedError: string;
1392
- textColorFocusError: string;
1393
- textColorDisabledError: string;
1394
- textColorTextError: string;
1395
- textColorTextHoverError: string;
1396
- textColorTextPressedError: string;
1397
- textColorTextFocusError: string;
1398
- textColorTextDisabledError: string;
1399
- textColorGhostError: string;
1400
- textColorGhostHoverError: string;
1401
- textColorGhostPressedError: string;
1402
- textColorGhostFocusError: string;
1403
- textColorGhostDisabledError: string;
1404
- borderError: string;
1405
- borderHoverError: string;
1406
- borderPressedError: string;
1407
- borderFocusError: string;
1408
- borderDisabledError: string;
1409
- rippleColorError: string;
1410
- waveOpacity: string;
1411
- fontWeight: string;
1412
- fontWeightStrong: string;
1413
- paddingTiny: string;
1414
- paddingSmall: string;
1415
- paddingMedium: string;
1416
- paddingLarge: string;
1417
- paddingRoundTiny: string;
1418
- paddingRoundSmall: string;
1419
- paddingRoundMedium: string;
1420
- paddingRoundLarge: string;
1421
- iconMarginTiny: string;
1422
- iconMarginSmall: string;
1423
- iconMarginMedium: string;
1424
- iconMarginLarge: string;
1425
- iconSizeTiny: string;
1426
- iconSizeSmall: string;
1427
- iconSizeMedium: string;
1428
- iconSizeLarge: string;
1429
- rippleDuration: string;
1430
- }, any>>>;
174
+ readonly theme: PropType< ButtonTheme>;
175
+ readonly themeOverrides: PropType< ButtonThemeOverrides>;
176
+ readonly builtinThemeOverrides: PropType< ButtonThemeOverrides>;
1431
177
  }>> & Readonly<{}>, {
1432
- readonly disabled: boolean;
1433
178
  readonly type: ButtonType;
1434
179
  readonly bordered: boolean;
1435
180
  readonly block: boolean;
1436
181
  readonly loading: boolean;
182
+ readonly strong: boolean;
183
+ readonly disabled: boolean;
1437
184
  readonly circle: boolean;
1438
185
  readonly round: boolean;
1439
186
  readonly text: boolean;
1440
- readonly strong: boolean;
187
+ readonly tag: keyof HTMLElementTagNameMap;
1441
188
  readonly tertiary: boolean;
1442
189
  readonly ghost: boolean;
1443
190
  readonly secondary: boolean;
1444
191
  readonly quaternary: boolean;
1445
192
  readonly focusable: boolean;
1446
193
  readonly keyboard: boolean;
1447
- readonly tag: keyof HTMLElementTagNameMap;
1448
194
  readonly dashed: boolean;
1449
195
  readonly iconPlacement: "left" | "right";
1450
196
  readonly attrType: "button" | "submit" | "reset";
1451
197
  readonly nativeFocusBehavior: boolean;
1452
198
  }, SlotsType<ButtonSlots>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1453
199
  NSpin: DefineComponent<ExtractPropTypes<{
1454
- strokeWidth: {
1455
- type: NumberConstructor;
1456
- default: number;
1457
- };
200
+ strokeWidth: NumberConstructor;
1458
201
  stroke: {
1459
202
  type: StringConstructor;
1460
203
  default: undefined;
@@ -1488,57 +231,18 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
1488
231
  default: undefined;
1489
232
  };
1490
233
  delay: NumberConstructor;
1491
- theme: PropType< Theme<"Spin", {
1492
- fontSize: string;
1493
- textColor: string;
1494
- sizeTiny: string;
1495
- sizeSmall: string;
1496
- sizeMedium: string;
1497
- sizeLarge: string;
1498
- sizeHuge: string;
1499
- color: string;
1500
- opacitySpinning: string;
1501
- }, any>>;
1502
- themeOverrides: PropType< ExtractThemeOverrides<Theme<"Spin", {
1503
- fontSize: string;
1504
- textColor: string;
1505
- sizeTiny: string;
1506
- sizeSmall: string;
1507
- sizeMedium: string;
1508
- sizeLarge: string;
1509
- sizeHuge: string;
1510
- color: string;
1511
- opacitySpinning: string;
1512
- }, any>>>;
1513
- builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Spin", {
1514
- fontSize: string;
1515
- textColor: string;
1516
- sizeTiny: string;
1517
- sizeSmall: string;
1518
- sizeMedium: string;
1519
- sizeLarge: string;
1520
- sizeHuge: string;
1521
- color: string;
1522
- opacitySpinning: string;
1523
- }, any>>>;
234
+ theme: PropType< SpinTheme>;
235
+ themeOverrides: PropType< SpinThemeOverrides>;
236
+ builtinThemeOverrides: PropType< SpinThemeOverrides>;
1524
237
  }>, {
1525
238
  mergedClsPrefix: Ref<string, string>;
1526
239
  active: Ref<boolean, boolean>;
1527
240
  mergedStrokeWidth: ComputedRef<number>;
1528
- cssVars: ComputedRef<{
1529
- "--n-bezier": string;
1530
- "--n-opacity-spinning": string;
1531
- "--n-size": string;
1532
- "--n-color": string;
1533
- "--n-text-color": string;
1534
- }> | undefined;
241
+ cssVars: Ref<CSSProperties, CSSProperties> | undefined;
1535
242
  themeClass: Ref<string, string> | undefined;
1536
243
  onRender: (() => void) | undefined;
1537
244
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
1538
- strokeWidth: {
1539
- type: NumberConstructor;
1540
- default: number;
1541
- };
245
+ strokeWidth: NumberConstructor;
1542
246
  stroke: {
1543
247
  type: StringConstructor;
1544
248
  default: undefined;
@@ -1572,44 +276,13 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
1572
276
  default: undefined;
1573
277
  };
1574
278
  delay: NumberConstructor;
1575
- theme: PropType< Theme<"Spin", {
1576
- fontSize: string;
1577
- textColor: string;
1578
- sizeTiny: string;
1579
- sizeSmall: string;
1580
- sizeMedium: string;
1581
- sizeLarge: string;
1582
- sizeHuge: string;
1583
- color: string;
1584
- opacitySpinning: string;
1585
- }, any>>;
1586
- themeOverrides: PropType< ExtractThemeOverrides<Theme<"Spin", {
1587
- fontSize: string;
1588
- textColor: string;
1589
- sizeTiny: string;
1590
- sizeSmall: string;
1591
- sizeMedium: string;
1592
- sizeLarge: string;
1593
- sizeHuge: string;
1594
- color: string;
1595
- opacitySpinning: string;
1596
- }, any>>>;
1597
- builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Spin", {
1598
- fontSize: string;
1599
- textColor: string;
1600
- sizeTiny: string;
1601
- sizeSmall: string;
1602
- sizeMedium: string;
1603
- sizeLarge: string;
1604
- sizeHuge: string;
1605
- color: string;
1606
- opacitySpinning: string;
1607
- }, any>>>;
279
+ theme: PropType< SpinTheme>;
280
+ themeOverrides: PropType< SpinThemeOverrides>;
281
+ builtinThemeOverrides: PropType< SpinThemeOverrides>;
1608
282
  }>> & Readonly<{}>, {
1609
- size: number | "small" | "medium" | "large";
283
+ size: number | "large" | "medium" | "small";
1610
284
  show: boolean;
1611
285
  stroke: string;
1612
- strokeWidth: number;
1613
286
  scale: number;
1614
287
  radius: number;
1615
288
  rotate: boolean;
@@ -1622,202 +295,27 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
1622
295
  readonly type: PropType< PopoverProps | boolean>;
1623
296
  readonly default: true;
1624
297
  };
1625
- readonly theme: PropType< Theme<"Ellipsis", unknown, {
1626
- Tooltip: Theme<"Tooltip", {
1627
- borderRadius: string;
1628
- boxShadow: string;
1629
- color: string;
1630
- textColor: string;
1631
- padding: string;
1632
- }, {
1633
- Popover: Theme<"Popover", {
1634
- fontSize: string;
1635
- borderRadius: string;
1636
- color: string;
1637
- dividerColor: string;
1638
- textColor: string;
1639
- boxShadow: string;
1640
- space: string;
1641
- spaceArrow: string;
1642
- arrowOffset: string;
1643
- arrowOffsetVertical: string;
1644
- arrowHeight: string;
1645
- padding: string;
1646
- }, {
1647
- Scrollbar: Theme<"Scrollbar", {
1648
- height: string;
1649
- width: string;
1650
- borderRadius: string;
1651
- color: string;
1652
- colorHover: string;
1653
- railInsetHorizontalBottom: string;
1654
- railInsetHorizontalTop: string;
1655
- railInsetVerticalRight: string;
1656
- railInsetVerticalLeft: string;
1657
- railColor: string;
1658
- }, any>;
1659
- }>;
1660
- }>;
1661
- }>>;
1662
- readonly themeOverrides: PropType< ExtractThemeOverrides<Theme<"Ellipsis", unknown, {
1663
- Tooltip: Theme<"Tooltip", {
1664
- borderRadius: string;
1665
- boxShadow: string;
1666
- color: string;
1667
- textColor: string;
1668
- padding: string;
1669
- }, {
1670
- Popover: Theme<"Popover", {
1671
- fontSize: string;
1672
- borderRadius: string;
1673
- color: string;
1674
- dividerColor: string;
1675
- textColor: string;
1676
- boxShadow: string;
1677
- space: string;
1678
- spaceArrow: string;
1679
- arrowOffset: string;
1680
- arrowOffsetVertical: string;
1681
- arrowHeight: string;
1682
- padding: string;
1683
- }, {
1684
- Scrollbar: Theme<"Scrollbar", {
1685
- height: string;
1686
- width: string;
1687
- borderRadius: string;
1688
- color: string;
1689
- colorHover: string;
1690
- railInsetHorizontalBottom: string;
1691
- railInsetHorizontalTop: string;
1692
- railInsetVerticalRight: string;
1693
- railInsetVerticalLeft: string;
1694
- railColor: string;
1695
- }, any>;
1696
- }>;
1697
- }>;
1698
- }>>>;
1699
- readonly builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Ellipsis", unknown, {
1700
- Tooltip: Theme<"Tooltip", {
1701
- borderRadius: string;
1702
- boxShadow: string;
1703
- color: string;
1704
- textColor: string;
1705
- padding: string;
1706
- }, {
1707
- Popover: Theme<"Popover", {
1708
- fontSize: string;
1709
- borderRadius: string;
1710
- color: string;
1711
- dividerColor: string;
1712
- textColor: string;
1713
- boxShadow: string;
1714
- space: string;
1715
- spaceArrow: string;
1716
- arrowOffset: string;
1717
- arrowOffsetVertical: string;
1718
- arrowHeight: string;
1719
- padding: string;
1720
- }, {
1721
- Scrollbar: Theme<"Scrollbar", {
1722
- height: string;
1723
- width: string;
1724
- borderRadius: string;
1725
- color: string;
1726
- colorHover: string;
1727
- railInsetHorizontalBottom: string;
1728
- railInsetHorizontalTop: string;
1729
- railInsetVerticalRight: string;
1730
- railInsetVerticalLeft: string;
1731
- railColor: string;
1732
- }, any>;
1733
- }>;
1734
- }>;
1735
- }>>>;
298
+ readonly theme: PropType< EllipsisTheme>;
299
+ readonly themeOverrides: PropType< EllipsisThemeOverrides>;
300
+ readonly builtinThemeOverrides: PropType< EllipsisThemeOverrides>;
1736
301
  }>, {
1737
302
  mergedTheme: ComputedRef<{
1738
303
  common: ThemeCommonVars;
1739
- self: unknown;
304
+ self: EllipsisThemeVars;
1740
305
  peers: {
1741
- Tooltip: Theme<"Tooltip", {
1742
- borderRadius: string;
1743
- boxShadow: string;
1744
- color: string;
1745
- textColor: string;
1746
- padding: string;
1747
- }, {
1748
- Popover: Theme<"Popover", {
1749
- fontSize: string;
1750
- borderRadius: string;
1751
- color: string;
1752
- dividerColor: string;
1753
- textColor: string;
1754
- boxShadow: string;
1755
- space: string;
1756
- spaceArrow: string;
1757
- arrowOffset: string;
1758
- arrowOffsetVertical: string;
1759
- arrowHeight: string;
1760
- padding: string;
1761
- }, {
1762
- Scrollbar: Theme<"Scrollbar", {
1763
- height: string;
1764
- width: string;
1765
- borderRadius: string;
1766
- color: string;
1767
- colorHover: string;
1768
- railInsetHorizontalBottom: string;
1769
- railInsetHorizontalTop: string;
1770
- railInsetVerticalRight: string;
1771
- railInsetVerticalLeft: string;
1772
- railColor: string;
1773
- }, any>;
1774
- }>;
1775
- }>;
306
+ Tooltip: TooltipTheme;
1776
307
  };
1777
308
  peerOverrides: {
1778
309
  Tooltip?: {
1779
310
  peers?: {
1780
- Popover?: ExtractThemeOverrides<Theme<"Popover", {
1781
- fontSize: string;
1782
- borderRadius: string;
1783
- color: string;
1784
- dividerColor: string;
1785
- textColor: string;
1786
- boxShadow: string;
1787
- space: string;
1788
- spaceArrow: string;
1789
- arrowOffset: string;
1790
- arrowOffsetVertical: string;
1791
- arrowHeight: string;
1792
- padding: string;
1793
- }, {
1794
- Scrollbar: Theme<"Scrollbar", {
1795
- height: string;
1796
- width: string;
1797
- borderRadius: string;
1798
- color: string;
1799
- colorHover: string;
1800
- railInsetHorizontalBottom: string;
1801
- railInsetHorizontalTop: string;
1802
- railInsetVerticalRight: string;
1803
- railInsetVerticalLeft: string;
1804
- railColor: string;
1805
- }, any>;
1806
- }>> | undefined;
311
+ Popover?: ExtractThemeOverrides<PopoverTheme> | undefined;
1807
312
  } | undefined;
1808
313
  } | undefined;
1809
314
  };
1810
315
  }>;
1811
316
  triggerRef: Ref<HTMLElement | null, HTMLElement | null>;
1812
317
  triggerInnerRef: Ref<HTMLElement | null, HTMLElement | null>;
1813
- tooltipRef: Ref<{
1814
- syncPosition: () => void;
1815
- setShow: (value: boolean) => void;
1816
- } | null, PopoverInst | {
1817
- syncPosition: () => void;
1818
- setShow: (value: boolean) => void;
1819
- } | null>;
1820
- handleClick: ComputedRef<(() => void) | undefined>;
318
+ tooltipRef: unknown;
1821
319
  renderTrigger: () => JSX.Element;
1822
320
  getTooltipDisabled: () => boolean;
1823
321
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
@@ -1827,117 +325,9 @@ declare const __VLS_export: DefineComponent<ExtractPropTypes<{
1827
325
  readonly type: PropType< PopoverProps | boolean>;
1828
326
  readonly default: true;
1829
327
  };
1830
- readonly theme: PropType< Theme<"Ellipsis", unknown, {
1831
- Tooltip: Theme<"Tooltip", {
1832
- borderRadius: string;
1833
- boxShadow: string;
1834
- color: string;
1835
- textColor: string;
1836
- padding: string;
1837
- }, {
1838
- Popover: Theme<"Popover", {
1839
- fontSize: string;
1840
- borderRadius: string;
1841
- color: string;
1842
- dividerColor: string;
1843
- textColor: string;
1844
- boxShadow: string;
1845
- space: string;
1846
- spaceArrow: string;
1847
- arrowOffset: string;
1848
- arrowOffsetVertical: string;
1849
- arrowHeight: string;
1850
- padding: string;
1851
- }, {
1852
- Scrollbar: Theme<"Scrollbar", {
1853
- height: string;
1854
- width: string;
1855
- borderRadius: string;
1856
- color: string;
1857
- colorHover: string;
1858
- railInsetHorizontalBottom: string;
1859
- railInsetHorizontalTop: string;
1860
- railInsetVerticalRight: string;
1861
- railInsetVerticalLeft: string;
1862
- railColor: string;
1863
- }, any>;
1864
- }>;
1865
- }>;
1866
- }>>;
1867
- readonly themeOverrides: PropType< ExtractThemeOverrides<Theme<"Ellipsis", unknown, {
1868
- Tooltip: Theme<"Tooltip", {
1869
- borderRadius: string;
1870
- boxShadow: string;
1871
- color: string;
1872
- textColor: string;
1873
- padding: string;
1874
- }, {
1875
- Popover: Theme<"Popover", {
1876
- fontSize: string;
1877
- borderRadius: string;
1878
- color: string;
1879
- dividerColor: string;
1880
- textColor: string;
1881
- boxShadow: string;
1882
- space: string;
1883
- spaceArrow: string;
1884
- arrowOffset: string;
1885
- arrowOffsetVertical: string;
1886
- arrowHeight: string;
1887
- padding: string;
1888
- }, {
1889
- Scrollbar: Theme<"Scrollbar", {
1890
- height: string;
1891
- width: string;
1892
- borderRadius: string;
1893
- color: string;
1894
- colorHover: string;
1895
- railInsetHorizontalBottom: string;
1896
- railInsetHorizontalTop: string;
1897
- railInsetVerticalRight: string;
1898
- railInsetVerticalLeft: string;
1899
- railColor: string;
1900
- }, any>;
1901
- }>;
1902
- }>;
1903
- }>>>;
1904
- readonly builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Ellipsis", unknown, {
1905
- Tooltip: Theme<"Tooltip", {
1906
- borderRadius: string;
1907
- boxShadow: string;
1908
- color: string;
1909
- textColor: string;
1910
- padding: string;
1911
- }, {
1912
- Popover: Theme<"Popover", {
1913
- fontSize: string;
1914
- borderRadius: string;
1915
- color: string;
1916
- dividerColor: string;
1917
- textColor: string;
1918
- boxShadow: string;
1919
- space: string;
1920
- spaceArrow: string;
1921
- arrowOffset: string;
1922
- arrowOffsetVertical: string;
1923
- arrowHeight: string;
1924
- padding: string;
1925
- }, {
1926
- Scrollbar: Theme<"Scrollbar", {
1927
- height: string;
1928
- width: string;
1929
- borderRadius: string;
1930
- color: string;
1931
- colorHover: string;
1932
- railInsetHorizontalBottom: string;
1933
- railInsetHorizontalTop: string;
1934
- railInsetVerticalRight: string;
1935
- railInsetVerticalLeft: string;
1936
- railColor: string;
1937
- }, any>;
1938
- }>;
1939
- }>;
1940
- }>>>;
328
+ readonly theme: PropType< EllipsisTheme>;
329
+ readonly themeOverrides: PropType< EllipsisThemeOverrides>;
330
+ readonly builtinThemeOverrides: PropType< EllipsisThemeOverrides>;
1941
331
  }>> & Readonly<{}>, {
1942
332
  readonly tooltip: boolean | PopoverProps;
1943
333
  }, SlotsType<EllipsisSlots>, {}, {}, string, ComponentProvideOptions, true, {}, any>;