@public-ui/react-hook-form-adapter 3.0.9 → 3.0.10-rc.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/index.d.cts CHANGED
@@ -2258,7 +2258,11 @@ declare namespace Components {
2258
2258
  /**
2259
2259
  * Sets focus on the internal element.
2260
2260
  */
2261
- "kolFocus": () => Promise<void>;
2261
+ "focus": () => Promise<any>;
2262
+ /**
2263
+ * @deprecated Use {@link focus} instead.
2264
+ */
2265
+ "kolFocus": () => Promise<any>;
2262
2266
  }
2263
2267
  interface KolAlert {
2264
2268
  /**
@@ -2383,7 +2387,11 @@ declare namespace Components {
2383
2387
  /**
2384
2388
  * Sets focus on the internal element.
2385
2389
  */
2386
- "kolFocus": () => Promise<void>;
2390
+ "focus": () => Promise<any>;
2391
+ /**
2392
+ * @deprecated Use {@link focus} instead.
2393
+ */
2394
+ "kolFocus": () => Promise<any>;
2387
2395
  }
2388
2396
  interface KolBreadcrumb {
2389
2397
  /**
@@ -2489,14 +2497,18 @@ declare namespace Components {
2489
2497
  * @default 'normal'
2490
2498
  */
2491
2499
  "_variant"?: ButtonVariantPropType;
2500
+ /**
2501
+ * Sets focus on the internal element.
2502
+ */
2503
+ "focus": () => Promise<any>;
2492
2504
  /**
2493
2505
  * Returns the current value.
2494
2506
  */
2495
2507
  "getValue": () => Promise<StencilUnknown>;
2496
2508
  /**
2497
- * Sets focus on the internal element.
2509
+ * @deprecated Use {@link focus} instead.
2498
2510
  */
2499
- "kolFocus": () => Promise<void>;
2511
+ "kolFocus": () => Promise<any>;
2500
2512
  }
2501
2513
  interface KolButtonLink {
2502
2514
  /**
@@ -2592,14 +2604,18 @@ declare namespace Components {
2592
2604
  * @default 'inline'
2593
2605
  */
2594
2606
  "_variant"?: LinkVariantPropType;
2607
+ /**
2608
+ * Sets focus on the internal element.
2609
+ */
2610
+ "focus": () => Promise<any>;
2595
2611
  /**
2596
2612
  * Returns the current value.
2597
2613
  */
2598
2614
  "getValue": () => Promise<StencilUnknown>;
2599
2615
  /**
2600
- * Sets focus on the internal element.
2616
+ * @deprecated Use {@link focus} instead.
2601
2617
  */
2602
- "kolFocus": () => Promise<void>;
2618
+ "kolFocus": () => Promise<any>;
2603
2619
  }
2604
2620
  interface KolButtonWc {
2605
2621
  /**
@@ -2704,7 +2720,11 @@ declare namespace Components {
2704
2720
  /**
2705
2721
  * Sets focus on the internal element.
2706
2722
  */
2707
- "kolFocus": () => Promise<void>;
2723
+ "focus": () => Promise<void | undefined>;
2724
+ /**
2725
+ * @deprecated Use {@link focus} instead.
2726
+ */
2727
+ "kolFocus": () => Promise<void | undefined>;
2708
2728
  }
2709
2729
  interface KolCard {
2710
2730
  /**
@@ -2842,14 +2862,18 @@ declare namespace Components {
2842
2862
  * Defines the value of the element.
2843
2863
  */
2844
2864
  "_value"?: string;
2865
+ /**
2866
+ * Sets focus on the internal element.
2867
+ */
2868
+ "focus": () => Promise<void | undefined>;
2845
2869
  /**
2846
2870
  * Returns the current value.
2847
2871
  */
2848
2872
  "getValue": () => Promise<string>;
2849
2873
  /**
2850
- * Sets focus on the internal element.
2874
+ * @deprecated Use {@link focus} instead.
2851
2875
  */
2852
- "kolFocus": () => Promise<void>;
2876
+ "kolFocus": () => Promise<void | undefined>;
2853
2877
  }
2854
2878
  interface KolDetails {
2855
2879
  /**
@@ -2879,7 +2903,11 @@ declare namespace Components {
2879
2903
  /**
2880
2904
  * Sets focus on the internal element.
2881
2905
  */
2882
- "kolFocus": () => Promise<void>;
2906
+ "focus": () => Promise<any>;
2907
+ /**
2908
+ * @deprecated Use {@link focus} instead.
2909
+ */
2910
+ "kolFocus": () => Promise<any>;
2883
2911
  }
2884
2912
  interface KolDrawer {
2885
2913
  /**
@@ -3084,14 +3112,18 @@ declare namespace Components {
3084
3112
  * @default 'default'
3085
3113
  */
3086
3114
  "_variant"?: InputCheckboxVariantPropType;
3115
+ /**
3116
+ * Sets focus on the internal element.
3117
+ */
3118
+ "focus": () => Promise<void | undefined>;
3087
3119
  /**
3088
3120
  * Returns the current value.
3089
3121
  */
3090
3122
  "getValue": () => Promise<StencilUnknown>;
3091
3123
  /**
3092
- * Sets focus on the internal element.
3124
+ * @deprecated Use {@link focus} instead.
3093
3125
  */
3094
- "kolFocus": () => Promise<void>;
3126
+ "kolFocus": () => Promise<void | undefined>;
3095
3127
  }
3096
3128
  interface KolInputColor {
3097
3129
  /**
@@ -3182,14 +3214,18 @@ declare namespace Components {
3182
3214
  * Defines the value of the element.
3183
3215
  */
3184
3216
  "_value"?: string;
3217
+ /**
3218
+ * Sets focus on the internal element.
3219
+ */
3220
+ "focus": () => Promise<void | undefined>;
3185
3221
  /**
3186
3222
  * Returns the current value.
3187
3223
  */
3188
3224
  "getValue": () => Promise<string | undefined>;
3189
3225
  /**
3190
- * Sets focus on the internal element.
3226
+ * @deprecated Use {@link focus} instead.
3191
3227
  */
3192
- "kolFocus": () => Promise<void>;
3228
+ "kolFocus": () => Promise<void | undefined>;
3193
3229
  }
3194
3230
  interface KolInputDate {
3195
3231
  /**
@@ -3309,14 +3345,18 @@ declare namespace Components {
3309
3345
  * Defines the value of the element.
3310
3346
  */
3311
3347
  "_value"?: Iso8601 | Date | null;
3348
+ /**
3349
+ * Sets focus on the internal element.
3350
+ */
3351
+ "focus": () => Promise<void | undefined>;
3312
3352
  /**
3313
3353
  * Returns the current value.
3314
3354
  */
3315
3355
  "getValue": () => Promise<string | Date | undefined | null>;
3316
3356
  /**
3317
- * Sets focus on the internal element.
3357
+ * @deprecated Use {@link focus} instead.
3318
3358
  */
3319
- "kolFocus": () => Promise<void>;
3359
+ "kolFocus": () => Promise<void | undefined>;
3320
3360
  /**
3321
3361
  * Resets the component's value.
3322
3362
  */
@@ -3451,14 +3491,18 @@ declare namespace Components {
3451
3491
  * Defines the value of the element.
3452
3492
  */
3453
3493
  "_value"?: string;
3494
+ /**
3495
+ * Sets focus on the internal element.
3496
+ */
3497
+ "focus": () => Promise<void | undefined>;
3454
3498
  /**
3455
3499
  * Returns the current value.
3456
3500
  */
3457
3501
  "getValue": () => Promise<string | undefined>;
3458
3502
  /**
3459
- * Sets focus on the internal element.
3503
+ * @deprecated Use {@link focus} instead.
3460
3504
  */
3461
- "kolFocus": () => Promise<void>;
3505
+ "kolFocus": () => Promise<void | undefined>;
3462
3506
  }
3463
3507
  interface KolInputFile {
3464
3508
  /**
@@ -3552,14 +3596,18 @@ declare namespace Components {
3552
3596
  * @default false
3553
3597
  */
3554
3598
  "_touched"?: boolean;
3599
+ /**
3600
+ * Sets focus on the internal element.
3601
+ */
3602
+ "focus": () => Promise<void | undefined>;
3555
3603
  /**
3556
3604
  * Returns the current value.
3557
3605
  */
3558
3606
  "getValue": () => Promise<FileList | null | undefined>;
3559
3607
  /**
3560
- * Sets focus on the internal element.
3608
+ * @deprecated Use {@link focus} instead.
3561
3609
  */
3562
- "kolFocus": () => Promise<void>;
3610
+ "kolFocus": () => Promise<void | undefined>;
3563
3611
  /**
3564
3612
  * Resets the component's value.
3565
3613
  */
@@ -3682,14 +3730,18 @@ declare namespace Components {
3682
3730
  * Defines the value of the element.
3683
3731
  */
3684
3732
  "_value"?: number | NumberString | null;
3733
+ /**
3734
+ * Sets focus on the internal element.
3735
+ */
3736
+ "focus": () => Promise<void | undefined>;
3685
3737
  /**
3686
3738
  * Returns the current value.
3687
3739
  */
3688
3740
  "getValue": () => Promise<number | NumberString | null>;
3689
3741
  /**
3690
- * Sets focus on the internal element.
3742
+ * @deprecated Use {@link focus} instead.
3691
3743
  */
3692
- "kolFocus": () => Promise<void>;
3744
+ "kolFocus": () => Promise<void | undefined>;
3693
3745
  }
3694
3746
  interface KolInputPassword {
3695
3747
  /**
@@ -3815,14 +3867,18 @@ declare namespace Components {
3815
3867
  * @default 'default'
3816
3868
  */
3817
3869
  "_variant"?: PasswordVariantPropType;
3870
+ /**
3871
+ * Sets focus on the internal element.
3872
+ */
3873
+ "focus": () => Promise<void | undefined>;
3818
3874
  /**
3819
3875
  * Returns the current value.
3820
3876
  */
3821
3877
  "getValue": () => Promise<string | undefined>;
3822
3878
  /**
3823
- * Sets focus on the internal element.
3879
+ * @deprecated Use {@link focus} instead.
3824
3880
  */
3825
- "kolFocus": () => Promise<void>;
3881
+ "kolFocus": () => Promise<void | undefined>;
3826
3882
  }
3827
3883
  interface KolInputRadio {
3828
3884
  /**
@@ -3905,14 +3961,18 @@ declare namespace Components {
3905
3961
  * @default null
3906
3962
  */
3907
3963
  "_value": StencilUnknown;
3964
+ /**
3965
+ * Sets focus on the internal element.
3966
+ */
3967
+ "focus": () => Promise<void | undefined>;
3908
3968
  /**
3909
3969
  * Returns the current value.
3910
3970
  */
3911
3971
  "getValue": () => Promise<StencilUnknown>;
3912
3972
  /**
3913
- * Sets focus on the internal element.
3973
+ * @deprecated Use {@link focus} instead.
3914
3974
  */
3915
- "kolFocus": () => Promise<void>;
3975
+ "kolFocus": () => Promise<void | undefined>;
3916
3976
  }
3917
3977
  interface KolInputRange {
3918
3978
  /**
@@ -4013,14 +4073,18 @@ declare namespace Components {
4013
4073
  * Defines the value of the element.
4014
4074
  */
4015
4075
  "_value"?: number | NumberString;
4076
+ /**
4077
+ * Sets focus on the internal element.
4078
+ */
4079
+ "focus": () => Promise<void | undefined>;
4016
4080
  /**
4017
4081
  * Returns the current value.
4018
4082
  */
4019
4083
  "getValue": () => Promise<number | NumberString | undefined>;
4020
4084
  /**
4021
- * Sets focus on the internal element.
4085
+ * @deprecated Use {@link focus} instead.
4022
4086
  */
4023
- "kolFocus": () => Promise<void>;
4087
+ "kolFocus": () => Promise<void | undefined>;
4024
4088
  }
4025
4089
  interface KolInputText {
4026
4090
  /**
@@ -4154,14 +4218,18 @@ declare namespace Components {
4154
4218
  * Defines the value of the element.
4155
4219
  */
4156
4220
  "_value"?: string;
4221
+ /**
4222
+ * Sets focus on the internal element.
4223
+ */
4224
+ "focus": () => Promise<void | undefined>;
4157
4225
  /**
4158
4226
  * Returns the current value.
4159
4227
  */
4160
4228
  "getValue": () => Promise<string | undefined>;
4161
4229
  /**
4162
- * Sets focus on the internal element.
4230
+ * @deprecated Use {@link focus} instead.
4163
4231
  */
4164
- "kolFocus": () => Promise<void>;
4232
+ "kolFocus": () => Promise<void | undefined>;
4165
4233
  /**
4166
4234
  * Get selection end of internal element.
4167
4235
  */
@@ -4280,7 +4348,11 @@ declare namespace Components {
4280
4348
  /**
4281
4349
  * Sets focus on the internal element.
4282
4350
  */
4283
- "kolFocus": () => Promise<void>;
4351
+ "focus": () => Promise<any>;
4352
+ /**
4353
+ * @deprecated Use {@link focus} instead.
4354
+ */
4355
+ "kolFocus": () => Promise<any>;
4284
4356
  }
4285
4357
  interface KolLinkButton {
4286
4358
  /**
@@ -4360,7 +4432,11 @@ declare namespace Components {
4360
4432
  /**
4361
4433
  * Sets focus on the internal element.
4362
4434
  */
4363
- "kolFocus": () => Promise<void>;
4435
+ "focus": () => Promise<any>;
4436
+ /**
4437
+ * @deprecated Use {@link focus} instead.
4438
+ */
4439
+ "kolFocus": () => Promise<any>;
4364
4440
  }
4365
4441
  interface KolLinkWc {
4366
4442
  /**
@@ -4457,7 +4533,11 @@ declare namespace Components {
4457
4533
  /**
4458
4534
  * Sets focus on the internal element.
4459
4535
  */
4460
- "kolFocus": () => Promise<void>;
4536
+ "focus": () => Promise<void | undefined>;
4537
+ /**
4538
+ * @deprecated Use {@link focus} instead.
4539
+ */
4540
+ "kolFocus": () => Promise<void | undefined>;
4461
4541
  }
4462
4542
  /**
4463
4543
  * https://en.wikipedia.org/wiki/Modal_window
@@ -4731,14 +4811,18 @@ declare namespace Components {
4731
4811
  * @default 'normal'
4732
4812
  */
4733
4813
  "_variant"?: ButtonVariantPropType;
4814
+ /**
4815
+ * Sets focus on the internal element.
4816
+ */
4817
+ "focus": () => Promise<any>;
4734
4818
  /**
4735
4819
  * Hides the popover programmatically by forwarding the call to the web component.
4736
4820
  */
4737
4821
  "hidePopover": () => Promise<void>;
4738
4822
  /**
4739
- * Sets focus on the internal element.
4823
+ * @deprecated Use {@link focus} instead.
4740
4824
  */
4741
- "kolFocus": () => Promise<void>;
4825
+ "kolFocus": () => Promise<any>;
4742
4826
  /**
4743
4827
  * Shows the popover programmatically by forwarding the call to the web component.
4744
4828
  */
@@ -4841,14 +4925,18 @@ declare namespace Components {
4841
4925
  * @default 'normal'
4842
4926
  */
4843
4927
  "_variant"?: ButtonVariantPropType;
4928
+ /**
4929
+ * Sets focus on the internal element.
4930
+ */
4931
+ "focus": () => Promise<any>;
4844
4932
  /**
4845
4933
  * Hides the popover programmatically by calling the native hidePopover method.
4846
4934
  */
4847
4935
  "hidePopover": () => Promise<void>;
4848
4936
  /**
4849
- * Sets focus on the internal element.
4937
+ * @deprecated Use {@link focus} instead.
4850
4938
  */
4851
- "kolFocus": () => Promise<void>;
4939
+ "kolFocus": () => Promise<any>;
4852
4940
  /**
4853
4941
  * Show the popover programmatically by calling the native showPopover method.
4854
4942
  */
@@ -5013,14 +5101,18 @@ declare namespace Components {
5013
5101
  * Defines the value of the element.
5014
5102
  */
5015
5103
  "_value"?: Stringified<StencilUnknown[]> | Stringified<StencilUnknown>;
5104
+ /**
5105
+ * Sets focus on the internal element.
5106
+ */
5107
+ "focus": () => Promise<any>;
5016
5108
  /**
5017
5109
  * Returns the selected values.
5018
5110
  */
5019
5111
  "getValue": () => Promise<StencilUnknown[] | StencilUnknown>;
5020
5112
  /**
5021
- * Focuses the select element.
5113
+ * @deprecated Use {@link focus} instead.
5022
5114
  */
5023
- "kolFocus": () => Promise<void>;
5115
+ "kolFocus": () => Promise<any>;
5024
5116
  }
5025
5117
  interface KolSelectWc {
5026
5118
  /**
@@ -5122,14 +5214,18 @@ declare namespace Components {
5122
5214
  * Defines the value of the input.
5123
5215
  */
5124
5216
  "_value"?: Stringified<StencilUnknown[]> | Stringified<StencilUnknown>;
5217
+ /**
5218
+ * Sets focus on the internal element.
5219
+ */
5220
+ "focus": () => Promise<void | undefined>;
5125
5221
  /**
5126
5222
  * Returns the current value.
5127
5223
  */
5128
5224
  "getValue": () => Promise<StencilUnknown[] | StencilUnknown>;
5129
5225
  /**
5130
- * Sets focus on the internal element.
5226
+ * @deprecated Use {@link focus} instead.
5131
5227
  */
5132
- "kolFocus": () => Promise<void>;
5228
+ "kolFocus": () => Promise<void | undefined>;
5133
5229
  }
5134
5230
  interface KolSingleSelect {
5135
5231
  /**
@@ -5230,14 +5326,18 @@ declare namespace Components {
5230
5326
  * @default null
5231
5327
  */
5232
5328
  "_value": StencilUnknown;
5329
+ /**
5330
+ * Sets focus on the internal element.
5331
+ */
5332
+ "focus": () => Promise<void | undefined>;
5233
5333
  /**
5234
5334
  * Returns the current value.
5235
5335
  */
5236
5336
  "getValue": () => Promise<StencilUnknown>;
5237
5337
  /**
5238
- * Sets focus on the internal element.
5338
+ * @deprecated Use {@link focus} instead.
5239
5339
  */
5240
- "kolFocus": () => Promise<void>;
5340
+ "kolFocus": () => Promise<void | undefined>;
5241
5341
  }
5242
5342
  interface KolSkipNav {
5243
5343
  /**
@@ -5248,7 +5348,14 @@ declare namespace Components {
5248
5348
  * Defines the list of links combined with their labels to render.
5249
5349
  */
5250
5350
  "_links": Stringified<LinkProps[]>;
5251
- "kolFocus": () => Promise<void>;
5351
+ /**
5352
+ * Sets focus on the internal element.
5353
+ */
5354
+ "focus": () => Promise<any>;
5355
+ /**
5356
+ * @deprecated Use {@link focus} instead.
5357
+ */
5358
+ "kolFocus": () => Promise<any>;
5252
5359
  }
5253
5360
  interface KolSpin {
5254
5361
  /**
@@ -5360,14 +5467,18 @@ declare namespace Components {
5360
5467
  * Closes the dropdown.
5361
5468
  */
5362
5469
  "closePopup": () => Promise<void>;
5470
+ /**
5471
+ * Sets focus on the internal element.
5472
+ */
5473
+ "focus": () => Promise<any>;
5363
5474
  /**
5364
5475
  * Returns the current value.
5365
5476
  */
5366
5477
  "getValue": () => Promise<StencilUnknown>;
5367
5478
  /**
5368
- * Sets focus on the internal element.
5479
+ * @deprecated Use {@link focus} instead.
5369
5480
  */
5370
- "kolFocus": () => Promise<void>;
5481
+ "kolFocus": () => Promise<any>;
5371
5482
  }
5372
5483
  interface KolTableSettingsWc {
5373
5484
  /**
@@ -5664,14 +5775,18 @@ declare namespace Components {
5664
5775
  * Defines the value of the element.
5665
5776
  */
5666
5777
  "_value"?: string;
5778
+ /**
5779
+ * Sets focus on the internal element.
5780
+ */
5781
+ "focus": () => Promise<void | undefined>;
5667
5782
  /**
5668
5783
  * Returns the current value.
5669
5784
  */
5670
5785
  "getValue": () => Promise<string | undefined>;
5671
5786
  /**
5672
- * Sets focus on the internal element.
5787
+ * @deprecated Use {@link focus} instead.
5673
5788
  */
5674
- "kolFocus": () => Promise<void>;
5789
+ "kolFocus": () => Promise<void | undefined>;
5675
5790
  }
5676
5791
  interface KolToastContainer {
5677
5792
  /**
@@ -5746,15 +5861,19 @@ declare namespace Components {
5746
5861
  /**
5747
5862
  * Collapses the tree item.
5748
5863
  */
5749
- "collapse": () => Promise<void>;
5864
+ "collapse": () => Promise<any>;
5750
5865
  /**
5751
5866
  * Expands the tree item.
5752
5867
  */
5753
- "expand": () => Promise<void>;
5868
+ "expand": () => Promise<any>;
5754
5869
  /**
5755
5870
  * Focuses the link element.
5756
5871
  */
5757
- "focusLink": () => Promise<void>;
5872
+ "focus": () => Promise<any>;
5873
+ /**
5874
+ * @deprecated Use {@link focus} instead.
5875
+ */
5876
+ "focusLink": () => Promise<any>;
5758
5877
  /**
5759
5878
  * Returns whether the tree item is expanded.
5760
5879
  */
@@ -5788,7 +5907,11 @@ declare namespace Components {
5788
5907
  /**
5789
5908
  * Focuses the link element.
5790
5909
  */
5791
- "focusLink": () => Promise<void>;
5910
+ "focus": () => Promise<any>;
5911
+ /**
5912
+ * @deprecated Use {@link focus} instead.
5913
+ */
5914
+ "focusLink": () => Promise<any>;
5792
5915
  /**
5793
5916
  * Returns whether the tree item is expanded.
5794
5917
  */
@@ -5816,7 +5939,11 @@ declare global {
5816
5939
  prototype: HTMLKolAbbrElement;
5817
5940
  new (): HTMLKolAbbrElement;
5818
5941
  };
5819
- interface HTMLKolAccordionElement extends Components.KolAccordion, HTMLStencilElement {
5942
+ interface HTMLKolAccordionElement extends Omit<Components.KolAccordion, "focus">, HTMLStencilElement {
5943
+ /**
5944
+ * Sets focus on the internal element.
5945
+ */
5946
+ "focus": () => Promise<any>;
5820
5947
  }
5821
5948
  var HTMLKolAccordionElement: {
5822
5949
  prototype: HTMLKolAccordionElement;
@@ -5846,7 +5973,11 @@ declare global {
5846
5973
  prototype: HTMLKolAvatarWcElement;
5847
5974
  new (): HTMLKolAvatarWcElement;
5848
5975
  };
5849
- interface HTMLKolBadgeElement extends Components.KolBadge, HTMLStencilElement {
5976
+ interface HTMLKolBadgeElement extends Omit<Components.KolBadge, "focus">, HTMLStencilElement {
5977
+ /**
5978
+ * Sets focus on the internal element.
5979
+ */
5980
+ "focus": () => Promise<any>;
5850
5981
  }
5851
5982
  var HTMLKolBadgeElement: {
5852
5983
  prototype: HTMLKolBadgeElement;
@@ -5858,19 +5989,31 @@ declare global {
5858
5989
  prototype: HTMLKolBreadcrumbElement;
5859
5990
  new (): HTMLKolBreadcrumbElement;
5860
5991
  };
5861
- interface HTMLKolButtonElement extends Components.KolButton, HTMLStencilElement {
5992
+ interface HTMLKolButtonElement extends Omit<Components.KolButton, "focus">, HTMLStencilElement {
5993
+ /**
5994
+ * Sets focus on the internal element.
5995
+ */
5996
+ "focus": () => Promise<any>;
5862
5997
  }
5863
5998
  var HTMLKolButtonElement: {
5864
5999
  prototype: HTMLKolButtonElement;
5865
6000
  new (): HTMLKolButtonElement;
5866
6001
  };
5867
- interface HTMLKolButtonLinkElement extends Components.KolButtonLink, HTMLStencilElement {
6002
+ interface HTMLKolButtonLinkElement extends Omit<Components.KolButtonLink, "focus">, HTMLStencilElement {
6003
+ /**
6004
+ * Sets focus on the internal element.
6005
+ */
6006
+ "focus": () => Promise<any>;
5868
6007
  }
5869
6008
  var HTMLKolButtonLinkElement: {
5870
6009
  prototype: HTMLKolButtonLinkElement;
5871
6010
  new (): HTMLKolButtonLinkElement;
5872
6011
  };
5873
- interface HTMLKolButtonWcElement extends Components.KolButtonWc, HTMLStencilElement {
6012
+ interface HTMLKolButtonWcElement extends Omit<Components.KolButtonWc, "focus">, HTMLStencilElement {
6013
+ /**
6014
+ * Sets focus on the internal element.
6015
+ */
6016
+ "focus": () => Promise<void | undefined>;
5874
6017
  }
5875
6018
  var HTMLKolButtonWcElement: {
5876
6019
  prototype: HTMLKolButtonWcElement;
@@ -5888,13 +6031,21 @@ declare global {
5888
6031
  prototype: HTMLKolCardWcElement;
5889
6032
  new (): HTMLKolCardWcElement;
5890
6033
  };
5891
- interface HTMLKolComboboxElement extends Components.KolCombobox, HTMLStencilElement {
6034
+ interface HTMLKolComboboxElement extends Omit<Components.KolCombobox, "focus">, HTMLStencilElement {
6035
+ /**
6036
+ * Sets focus on the internal element.
6037
+ */
6038
+ "focus": () => Promise<void | undefined>;
5892
6039
  }
5893
6040
  var HTMLKolComboboxElement: {
5894
6041
  prototype: HTMLKolComboboxElement;
5895
6042
  new (): HTMLKolComboboxElement;
5896
6043
  };
5897
- interface HTMLKolDetailsElement extends Components.KolDetails, HTMLStencilElement {
6044
+ interface HTMLKolDetailsElement extends Omit<Components.KolDetails, "focus">, HTMLStencilElement {
6045
+ /**
6046
+ * Sets focus on the internal element.
6047
+ */
6048
+ "focus": () => Promise<any>;
5898
6049
  }
5899
6050
  var HTMLKolDetailsElement: {
5900
6051
  prototype: HTMLKolDetailsElement;
@@ -5930,61 +6081,101 @@ declare global {
5930
6081
  prototype: HTMLKolImageElement;
5931
6082
  new (): HTMLKolImageElement;
5932
6083
  };
5933
- interface HTMLKolInputCheckboxElement extends Components.KolInputCheckbox, HTMLStencilElement {
6084
+ interface HTMLKolInputCheckboxElement extends Omit<Components.KolInputCheckbox, "focus">, HTMLStencilElement {
6085
+ /**
6086
+ * Sets focus on the internal element.
6087
+ */
6088
+ "focus": () => Promise<void | undefined>;
5934
6089
  }
5935
6090
  var HTMLKolInputCheckboxElement: {
5936
6091
  prototype: HTMLKolInputCheckboxElement;
5937
6092
  new (): HTMLKolInputCheckboxElement;
5938
6093
  };
5939
- interface HTMLKolInputColorElement extends Components.KolInputColor, HTMLStencilElement {
6094
+ interface HTMLKolInputColorElement extends Omit<Components.KolInputColor, "focus">, HTMLStencilElement {
6095
+ /**
6096
+ * Sets focus on the internal element.
6097
+ */
6098
+ "focus": () => Promise<void | undefined>;
5940
6099
  }
5941
6100
  var HTMLKolInputColorElement: {
5942
6101
  prototype: HTMLKolInputColorElement;
5943
6102
  new (): HTMLKolInputColorElement;
5944
6103
  };
5945
- interface HTMLKolInputDateElement extends Components.KolInputDate, HTMLStencilElement {
6104
+ interface HTMLKolInputDateElement extends Omit<Components.KolInputDate, "focus">, HTMLStencilElement {
6105
+ /**
6106
+ * Sets focus on the internal element.
6107
+ */
6108
+ "focus": () => Promise<void | undefined>;
5946
6109
  }
5947
6110
  var HTMLKolInputDateElement: {
5948
6111
  prototype: HTMLKolInputDateElement;
5949
6112
  new (): HTMLKolInputDateElement;
5950
6113
  };
5951
- interface HTMLKolInputEmailElement extends Components.KolInputEmail, HTMLStencilElement {
6114
+ interface HTMLKolInputEmailElement extends Omit<Components.KolInputEmail, "focus">, HTMLStencilElement {
6115
+ /**
6116
+ * Sets focus on the internal element.
6117
+ */
6118
+ "focus": () => Promise<void | undefined>;
5952
6119
  }
5953
6120
  var HTMLKolInputEmailElement: {
5954
6121
  prototype: HTMLKolInputEmailElement;
5955
6122
  new (): HTMLKolInputEmailElement;
5956
6123
  };
5957
- interface HTMLKolInputFileElement extends Components.KolInputFile, HTMLStencilElement {
6124
+ interface HTMLKolInputFileElement extends Omit<Components.KolInputFile, "focus">, HTMLStencilElement {
6125
+ /**
6126
+ * Sets focus on the internal element.
6127
+ */
6128
+ "focus": () => Promise<void | undefined>;
5958
6129
  }
5959
6130
  var HTMLKolInputFileElement: {
5960
6131
  prototype: HTMLKolInputFileElement;
5961
6132
  new (): HTMLKolInputFileElement;
5962
6133
  };
5963
- interface HTMLKolInputNumberElement extends Components.KolInputNumber, HTMLStencilElement {
6134
+ interface HTMLKolInputNumberElement extends Omit<Components.KolInputNumber, "focus">, HTMLStencilElement {
6135
+ /**
6136
+ * Sets focus on the internal element.
6137
+ */
6138
+ "focus": () => Promise<void | undefined>;
5964
6139
  }
5965
6140
  var HTMLKolInputNumberElement: {
5966
6141
  prototype: HTMLKolInputNumberElement;
5967
6142
  new (): HTMLKolInputNumberElement;
5968
6143
  };
5969
- interface HTMLKolInputPasswordElement extends Components.KolInputPassword, HTMLStencilElement {
6144
+ interface HTMLKolInputPasswordElement extends Omit<Components.KolInputPassword, "focus">, HTMLStencilElement {
6145
+ /**
6146
+ * Sets focus on the internal element.
6147
+ */
6148
+ "focus": () => Promise<void | undefined>;
5970
6149
  }
5971
6150
  var HTMLKolInputPasswordElement: {
5972
6151
  prototype: HTMLKolInputPasswordElement;
5973
6152
  new (): HTMLKolInputPasswordElement;
5974
6153
  };
5975
- interface HTMLKolInputRadioElement extends Components.KolInputRadio, HTMLStencilElement {
6154
+ interface HTMLKolInputRadioElement extends Omit<Components.KolInputRadio, "focus">, HTMLStencilElement {
6155
+ /**
6156
+ * Sets focus on the internal element.
6157
+ */
6158
+ "focus": () => Promise<void | undefined>;
5976
6159
  }
5977
6160
  var HTMLKolInputRadioElement: {
5978
6161
  prototype: HTMLKolInputRadioElement;
5979
6162
  new (): HTMLKolInputRadioElement;
5980
6163
  };
5981
- interface HTMLKolInputRangeElement extends Components.KolInputRange, HTMLStencilElement {
6164
+ interface HTMLKolInputRangeElement extends Omit<Components.KolInputRange, "focus">, HTMLStencilElement {
6165
+ /**
6166
+ * Sets focus on the internal element.
6167
+ */
6168
+ "focus": () => Promise<void | undefined>;
5982
6169
  }
5983
6170
  var HTMLKolInputRangeElement: {
5984
6171
  prototype: HTMLKolInputRangeElement;
5985
6172
  new (): HTMLKolInputRangeElement;
5986
6173
  };
5987
- interface HTMLKolInputTextElement extends Components.KolInputText, HTMLStencilElement {
6174
+ interface HTMLKolInputTextElement extends Omit<Components.KolInputText, "focus">, HTMLStencilElement {
6175
+ /**
6176
+ * Sets focus on the internal element.
6177
+ */
6178
+ "focus": () => Promise<void | undefined>;
5988
6179
  }
5989
6180
  var HTMLKolInputTextElement: {
5990
6181
  prototype: HTMLKolInputTextElement;
@@ -5996,19 +6187,31 @@ declare global {
5996
6187
  prototype: HTMLKolKolibriElement;
5997
6188
  new (): HTMLKolKolibriElement;
5998
6189
  };
5999
- interface HTMLKolLinkElement extends Components.KolLink, HTMLStencilElement {
6190
+ interface HTMLKolLinkElement extends Omit<Components.KolLink, "focus">, HTMLStencilElement {
6191
+ /**
6192
+ * Sets focus on the internal element.
6193
+ */
6194
+ "focus": () => Promise<any>;
6000
6195
  }
6001
6196
  var HTMLKolLinkElement: {
6002
6197
  prototype: HTMLKolLinkElement;
6003
6198
  new (): HTMLKolLinkElement;
6004
6199
  };
6005
- interface HTMLKolLinkButtonElement extends Components.KolLinkButton, HTMLStencilElement {
6200
+ interface HTMLKolLinkButtonElement extends Omit<Components.KolLinkButton, "focus">, HTMLStencilElement {
6201
+ /**
6202
+ * Sets focus on the internal element.
6203
+ */
6204
+ "focus": () => Promise<any>;
6006
6205
  }
6007
6206
  var HTMLKolLinkButtonElement: {
6008
6207
  prototype: HTMLKolLinkButtonElement;
6009
6208
  new (): HTMLKolLinkButtonElement;
6010
6209
  };
6011
- interface HTMLKolLinkWcElement extends Components.KolLinkWc, HTMLStencilElement {
6210
+ interface HTMLKolLinkWcElement extends Omit<Components.KolLinkWc, "focus">, HTMLStencilElement {
6211
+ /**
6212
+ * Sets focus on the internal element.
6213
+ */
6214
+ "focus": () => Promise<void | undefined>;
6012
6215
  }
6013
6216
  var HTMLKolLinkWcElement: {
6014
6217
  prototype: HTMLKolLinkWcElement;
@@ -6041,7 +6244,7 @@ declare global {
6041
6244
  prototype: HTMLKolPaginationWcElement;
6042
6245
  new (): HTMLKolPaginationWcElement;
6043
6246
  };
6044
- interface HTMLKolPopoverButtonElement extends Omit<Components.KolPopoverButton, "hidePopover" | "showPopover">, HTMLStencilElement {
6247
+ interface HTMLKolPopoverButtonElement extends Omit<Components.KolPopoverButton, "hidePopover" | "showPopover" | "focus">, HTMLStencilElement {
6045
6248
  /**
6046
6249
  * Hides the popover programmatically by forwarding the call to the web component.
6047
6250
  */
@@ -6050,12 +6253,16 @@ declare global {
6050
6253
  * Shows the popover programmatically by forwarding the call to the web component.
6051
6254
  */
6052
6255
  "showPopover": () => Promise<void>;
6256
+ /**
6257
+ * Sets focus on the internal element.
6258
+ */
6259
+ "focus": () => Promise<any>;
6053
6260
  }
6054
6261
  var HTMLKolPopoverButtonElement: {
6055
6262
  prototype: HTMLKolPopoverButtonElement;
6056
6263
  new (): HTMLKolPopoverButtonElement;
6057
6264
  };
6058
- interface HTMLKolPopoverButtonWcElement extends Omit<Components.KolPopoverButtonWc, "hidePopover" | "showPopover">, HTMLStencilElement {
6265
+ interface HTMLKolPopoverButtonWcElement extends Omit<Components.KolPopoverButtonWc, "hidePopover" | "showPopover" | "focus">, HTMLStencilElement {
6059
6266
  /**
6060
6267
  * Hides the popover programmatically by calling the native hidePopover method.
6061
6268
  */
@@ -6064,6 +6271,10 @@ declare global {
6064
6271
  * Show the popover programmatically by calling the native showPopover method.
6065
6272
  */
6066
6273
  "showPopover": () => Promise<void>;
6274
+ /**
6275
+ * Sets focus on the internal element.
6276
+ */
6277
+ "focus": () => Promise<any>;
6067
6278
  }
6068
6279
  var HTMLKolPopoverButtonWcElement: {
6069
6280
  prototype: HTMLKolPopoverButtonWcElement;
@@ -6087,25 +6298,41 @@ declare global {
6087
6298
  prototype: HTMLKolQuoteElement;
6088
6299
  new (): HTMLKolQuoteElement;
6089
6300
  };
6090
- interface HTMLKolSelectElement extends Components.KolSelect, HTMLStencilElement {
6301
+ interface HTMLKolSelectElement extends Omit<Components.KolSelect, "focus">, HTMLStencilElement {
6302
+ /**
6303
+ * Sets focus on the internal element.
6304
+ */
6305
+ "focus": () => Promise<any>;
6091
6306
  }
6092
6307
  var HTMLKolSelectElement: {
6093
6308
  prototype: HTMLKolSelectElement;
6094
6309
  new (): HTMLKolSelectElement;
6095
6310
  };
6096
- interface HTMLKolSelectWcElement extends Components.KolSelectWc, HTMLStencilElement {
6311
+ interface HTMLKolSelectWcElement extends Omit<Components.KolSelectWc, "focus">, HTMLStencilElement {
6312
+ /**
6313
+ * Sets focus on the internal element.
6314
+ */
6315
+ "focus": () => Promise<void | undefined>;
6097
6316
  }
6098
6317
  var HTMLKolSelectWcElement: {
6099
6318
  prototype: HTMLKolSelectWcElement;
6100
6319
  new (): HTMLKolSelectWcElement;
6101
6320
  };
6102
- interface HTMLKolSingleSelectElement extends Components.KolSingleSelect, HTMLStencilElement {
6321
+ interface HTMLKolSingleSelectElement extends Omit<Components.KolSingleSelect, "focus">, HTMLStencilElement {
6322
+ /**
6323
+ * Sets focus on the internal element.
6324
+ */
6325
+ "focus": () => Promise<void | undefined>;
6103
6326
  }
6104
6327
  var HTMLKolSingleSelectElement: {
6105
6328
  prototype: HTMLKolSingleSelectElement;
6106
6329
  new (): HTMLKolSingleSelectElement;
6107
6330
  };
6108
- interface HTMLKolSkipNavElement extends Components.KolSkipNav, HTMLStencilElement {
6331
+ interface HTMLKolSkipNavElement extends Omit<Components.KolSkipNav, "focus">, HTMLStencilElement {
6332
+ /**
6333
+ * Sets focus on the internal element.
6334
+ */
6335
+ "focus": () => Promise<any>;
6109
6336
  }
6110
6337
  var HTMLKolSkipNavElement: {
6111
6338
  prototype: HTMLKolSkipNavElement;
@@ -6117,7 +6344,11 @@ declare global {
6117
6344
  prototype: HTMLKolSpinElement;
6118
6345
  new (): HTMLKolSpinElement;
6119
6346
  };
6120
- interface HTMLKolSplitButtonElement extends Components.KolSplitButton, HTMLStencilElement {
6347
+ interface HTMLKolSplitButtonElement extends Omit<Components.KolSplitButton, "focus">, HTMLStencilElement {
6348
+ /**
6349
+ * Sets focus on the internal element.
6350
+ */
6351
+ "focus": () => Promise<any>;
6121
6352
  }
6122
6353
  var HTMLKolSplitButtonElement: {
6123
6354
  prototype: HTMLKolSplitButtonElement;
@@ -6153,7 +6384,11 @@ declare global {
6153
6384
  prototype: HTMLKolTabsElement;
6154
6385
  new (): HTMLKolTabsElement;
6155
6386
  };
6156
- interface HTMLKolTextareaElement extends Components.KolTextarea, HTMLStencilElement {
6387
+ interface HTMLKolTextareaElement extends Omit<Components.KolTextarea, "focus">, HTMLStencilElement {
6388
+ /**
6389
+ * Sets focus on the internal element.
6390
+ */
6391
+ "focus": () => Promise<void | undefined>;
6157
6392
  }
6158
6393
  var HTMLKolTextareaElement: {
6159
6394
  prototype: HTMLKolTextareaElement;
@@ -6183,13 +6418,21 @@ declare global {
6183
6418
  prototype: HTMLKolTreeElement;
6184
6419
  new (): HTMLKolTreeElement;
6185
6420
  };
6186
- interface HTMLKolTreeItemElement extends Components.KolTreeItem, HTMLStencilElement {
6421
+ interface HTMLKolTreeItemElement extends Omit<Components.KolTreeItem, "focus">, HTMLStencilElement {
6422
+ /**
6423
+ * Focuses the link element.
6424
+ */
6425
+ "focus": () => Promise<any>;
6187
6426
  }
6188
6427
  var HTMLKolTreeItemElement: {
6189
6428
  prototype: HTMLKolTreeItemElement;
6190
6429
  new (): HTMLKolTreeItemElement;
6191
6430
  };
6192
- interface HTMLKolTreeItemWcElement extends Components.KolTreeItemWc, HTMLStencilElement {
6431
+ interface HTMLKolTreeItemWcElement extends Omit<Components.KolTreeItemWc, "focus">, HTMLStencilElement {
6432
+ /**
6433
+ * Focuses the link element.
6434
+ */
6435
+ "focus": () => Promise<any>;
6193
6436
  }
6194
6437
  var HTMLKolTreeItemWcElement: {
6195
6438
  prototype: HTMLKolTreeItemWcElement;