@public-ui/react-hook-form-adapter 4.0.0-alpha.3 → 4.0.0-alpha.4

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
@@ -75,13 +75,13 @@ declare namespace Generic {
75
75
  export type { Common, Element, I18n, Theming };
76
76
  }
77
77
 
78
+ type Stringified<T> = string | T;
79
+
78
80
  type AccessKeyPropType = string;
79
81
  type PropAccessKey = {
80
82
  accessKey: AccessKeyPropType;
81
83
  };
82
84
 
83
- type Stringified<T> = string | T;
84
-
85
85
  declare enum Callback$1 {
86
86
  onBlur = "onBlur",
87
87
  onChange = "onChange",
@@ -469,45 +469,63 @@ type OptionalButtonProps = {
469
469
  } & PropAccessKey & PropAlternativeButtonLinkRole & PropAriaControls & PropAriaDescription & PropAriaSelected & PropButtonCallbacks<StencilUnknown> & PropButtonType & PropButtonVariant & PropCustomClass & PropDisabled & PropHideLabel & PropIcons & PropId & PropName & PropShortKey & PropSyncValueBySelector & PropTooltipAlign;
470
470
  type ButtonProps = Generic.Element.Members<RequiredButtonProps, OptionalButtonProps>;
471
471
 
472
- type RequiredProps$d = PropLabelWithExpertSlot;
472
+ type RequiredProps$d = PropLabelWithExpertSlot & PropSuggestions;
473
473
  type OptionalProps$d = {
474
+ msg: Stringified<MsgPropType>;
475
+ on: InputTypeOnDefault;
476
+ placeholder: string;
477
+ value: string;
478
+ } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
479
+ type RequiredStates$d = {
480
+ hasValue: boolean;
481
+ suggestions: W3CInputValue[];
482
+ value: string;
483
+ } & PropId & PropHideMsg & PropLabelWithExpertSlot;
484
+ type OptionalStates$d = {
485
+ on: InputTypeOnDefault;
486
+ placeholder: string;
487
+ } & PropAccessKey & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropId & PropName & PropRequired & PropMsg & PropShortKey & PropTouched;
488
+ type ComboboxAPI = Generic.Element.ComponentApi<RequiredProps$d, OptionalProps$d, RequiredStates$d, OptionalStates$d>;
489
+
490
+ type RequiredProps$c = PropLabelWithExpertSlot;
491
+ type OptionalProps$c = {
474
492
  icons: Stringified<InputCheckboxIconsProp>;
475
493
  msg: Stringified<MsgPropType>;
476
494
  on: InputTypeOnDefault;
477
495
  value: StencilUnknown;
478
496
  variant: InputCheckboxVariantPropType;
479
497
  } & PropAccessKey & PropChecked & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropIndeterminate & PropName & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched & PropLabelAlign;
480
- type RequiredStates$d = {
498
+ type RequiredStates$c = {
481
499
  icons: InputCheckboxIconsState;
482
500
  id: string;
483
501
  value: StencilUnknown;
484
502
  variant: InputCheckboxVariantPropType;
485
503
  } & PropChecked & PropHideMsg & PropIndeterminate & PropLabelWithExpertSlot;
486
- type OptionalStates$d = {
504
+ type OptionalStates$c = {
487
505
  on: InputTypeOnDefault;
488
506
  } & PropAccessKey & PropDisabled & PropHideLabel & PropHint & PropMsg & PropName & PropRequired & PropShortKey & PropTouched & PropLabelAlign;
489
- type InputCheckboxAPI = Generic.Element.ComponentApi<RequiredProps$d, OptionalProps$d, RequiredStates$d, OptionalStates$d>;
507
+ type InputCheckboxAPI = Generic.Element.ComponentApi<RequiredProps$c, OptionalProps$c, RequiredStates$c, OptionalStates$c>;
490
508
 
491
- type RequiredProps$c = PropLabelWithExpertSlot;
492
- type OptionalProps$c = {
509
+ type RequiredProps$b = PropLabelWithExpertSlot;
510
+ type OptionalProps$b = {
493
511
  msg: Stringified<MsgPropType>;
494
512
  on: InputTypeOnDefault;
495
513
  smartButton: Stringified<ButtonProps>;
496
514
  value: string;
497
515
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropHorizontalIcons & PropName & PropShortKey & PropSuggestions & PropSyncValueBySelector & PropTouched;
498
- type RequiredStates$c = {
516
+ type RequiredStates$b = {
499
517
  id: string;
500
518
  suggestions: W3CInputValue[];
501
519
  } & PropHideMsg & PropLabelWithExpertSlot;
502
- type OptionalStates$c = {
520
+ type OptionalStates$b = {
503
521
  on: InputTypeOnDefault;
504
522
  smartButton: ButtonProps;
505
523
  value: string;
506
524
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMsg & PropName & PropShortKey & PropTouched;
507
- type InputColorAPI = Generic.Element.ComponentApi<RequiredProps$c, OptionalProps$c, RequiredStates$c, OptionalStates$c>;
525
+ type InputColorAPI = Generic.Element.ComponentApi<RequiredProps$b, OptionalProps$b, RequiredStates$b, OptionalStates$b>;
508
526
 
509
- type RequiredProps$b = PropLabelWithExpertSlot;
510
- type OptionalProps$b = {
527
+ type RequiredProps$a = PropLabelWithExpertSlot;
528
+ type OptionalProps$a = {
511
529
  max: Iso8601 | Date;
512
530
  min: Iso8601 | Date;
513
531
  msg: Stringified<MsgPropType>;
@@ -517,12 +535,12 @@ type OptionalProps$b = {
517
535
  type: InputDateTypePropType;
518
536
  value: Iso8601 | Date | null;
519
537
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropHorizontalIcons & PropName & PropReadOnly & PropRequired & PropSuggestions & PropTouched;
520
- type RequiredStates$b = {
538
+ type RequiredStates$a = {
521
539
  hasValue: boolean;
522
540
  suggestions: W3CInputValue[];
523
541
  type: InputDateTypePropType;
524
542
  } & PropLabelWithExpertSlot & PropHideMsg & PropId;
525
- type OptionalStates$b = {
543
+ type OptionalStates$a = {
526
544
  max: Iso8601;
527
545
  min: Iso8601;
528
546
  on: InputTypeOnDefault;
@@ -531,10 +549,10 @@ type OptionalStates$b = {
531
549
  step: number;
532
550
  value: Iso8601 | null;
533
551
  } & PropAccessKey & PropAutoComplete & PropHint & PropSyncValueBySelector & PropDisabled & PropHideLabel & KoliBriHIcons & PropMsg & PropName & PropReadOnly & PropRequired & PropShortKey & PropTouched;
534
- type InputDateAPI = Generic.Element.ComponentApi<RequiredProps$b, OptionalProps$b, RequiredStates$b, OptionalStates$b>;
552
+ type InputDateAPI = Generic.Element.ComponentApi<RequiredProps$a, OptionalProps$a, RequiredStates$a, OptionalStates$a>;
535
553
 
536
- type RequiredProps$a = PropLabelWithExpertSlot;
537
- type OptionalProps$a = {
554
+ type RequiredProps$9 = PropLabelWithExpertSlot;
555
+ type OptionalProps$9 = {
538
556
  maxLength: number;
539
557
  msg: Stringified<MsgPropType>;
540
558
  on: InputTypeOnDefault;
@@ -543,13 +561,13 @@ type OptionalProps$a = {
543
561
  smartButton: Stringified<ButtonProps>;
544
562
  value: string;
545
563
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropMaxLengthBehavior & PropMultiple & PropName & PropReadOnly & PropRequired & PropShortKey & PropSuggestions & PropSyncValueBySelector & PropTouched;
546
- type RequiredStates$a = {
564
+ type RequiredStates$9 = {
547
565
  hasValue: boolean;
548
566
  suggestions: W3CInputValue[];
549
567
  currentLength: number;
550
568
  currentLengthDebounced: number;
551
569
  } & PropId & PropHideMsg & PropLabelWithExpertSlot;
552
- type OptionalStates$a = {
570
+ type OptionalStates$9 = {
553
571
  maxLength: number;
554
572
  on: InputTypeOnDefault;
555
573
  pattern: string;
@@ -557,25 +575,25 @@ type OptionalStates$a = {
557
575
  smartButton: ButtonProps;
558
576
  value: string;
559
577
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMaxLengthBehavior & PropMsg & PropMultiple & PropName & PropReadOnly & PropRequired & PropShortKey & PropTouched;
560
- type InputEmailAPI = Generic.Element.ComponentApi<RequiredProps$a, OptionalProps$a, RequiredStates$a, OptionalStates$a>;
578
+ type InputEmailAPI = Generic.Element.ComponentApi<RequiredProps$9, OptionalProps$9, RequiredStates$9, OptionalStates$9>;
561
579
 
562
- type RequiredProps$9 = PropLabelWithExpertSlot;
563
- type OptionalProps$9 = {
580
+ type RequiredProps$8 = PropLabelWithExpertSlot;
581
+ type OptionalProps$8 = {
564
582
  accept: string;
565
583
  msg: Stringified<MsgPropType>;
566
584
  on: InputTypeOnDefault;
567
585
  smartButton: Stringified<ButtonProps>;
568
586
  } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropMultiple & PropName & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
569
- type RequiredStates$9 = PropId & PropLabelWithExpertSlot & PropHideMsg;
570
- type OptionalStates$9 = {
587
+ type RequiredStates$8 = PropId & PropLabelWithExpertSlot & PropHideMsg;
588
+ type OptionalStates$8 = {
571
589
  accept: string;
572
590
  on: InputTypeOnDefault;
573
591
  smartButton: ButtonProps;
574
592
  } & PropAccessKey & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMsg & PropMultiple & PropName & PropRequired & PropShortKey & PropTouched;
575
- type InputFileAPI = Generic.Element.ComponentApi<RequiredProps$9, OptionalProps$9, RequiredStates$9, OptionalStates$9>;
593
+ type InputFileAPI = Generic.Element.ComponentApi<RequiredProps$8, OptionalProps$8, RequiredStates$8, OptionalStates$8>;
576
594
 
577
- type RequiredProps$8 = PropLabelWithExpertSlot;
578
- type OptionalProps$8 = {
595
+ type RequiredProps$7 = PropLabelWithExpertSlot;
596
+ type OptionalProps$7 = {
579
597
  max: number | NumberString;
580
598
  min: number | NumberString;
581
599
  msg: Stringified<MsgPropType>;
@@ -585,11 +603,11 @@ type OptionalProps$8 = {
585
603
  step: number | NumberString;
586
604
  value: number | NumberString | null;
587
605
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropHorizontalIcons & PropName & PropReadOnly & PropRequired & PropSuggestions & PropTouched;
588
- type RequiredStates$8 = {
606
+ type RequiredStates$7 = {
589
607
  hasValue: boolean;
590
608
  suggestions: W3CInputValue[];
591
609
  } & PropId & PropHideMsg & PropLabelWithExpertSlot;
592
- type OptionalStates$8 = {
610
+ type OptionalStates$7 = {
593
611
  max: number;
594
612
  min: number;
595
613
  on: InputTypeOnDefault;
@@ -598,7 +616,7 @@ type OptionalStates$8 = {
598
616
  step: number;
599
617
  value: number;
600
618
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMsg & PropName & PropReadOnly & PropRequired & PropSyncValueBySelector & PropShortKey & PropTouched;
601
- type InputNumberAPI = Generic.Element.ComponentApi<RequiredProps$8, OptionalProps$8, RequiredStates$8, OptionalStates$8>;
619
+ type InputNumberAPI = Generic.Element.ComponentApi<RequiredProps$7, OptionalProps$7, RequiredStates$7, OptionalStates$7>;
602
620
 
603
621
  declare const PasswordVariantPropTypeOptions: readonly ["default", "visibility-toggle"];
604
622
  type PasswordVariantPropType = (typeof PasswordVariantPropTypeOptions)[number];
@@ -606,8 +624,8 @@ type PropPasswordVariant = {
606
624
  variant: PasswordVariantPropType;
607
625
  };
608
626
 
609
- type RequiredProps$7 = PropLabelWithExpertSlot;
610
- type OptionalProps$7 = {
627
+ type RequiredProps$6 = PropLabelWithExpertSlot;
628
+ type OptionalProps$6 = {
611
629
  maxLength: number;
612
630
  on: InputTypeOnDefault;
613
631
  pattern: string;
@@ -616,12 +634,12 @@ type OptionalProps$7 = {
616
634
  value: string;
617
635
  msg: Stringified<MsgPropType>;
618
636
  } & PropAccessKey & PropAutoComplete & PropPasswordVariant & PropDisabled & PropHasCounter & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropMaxLengthBehavior & PropName & PropReadOnly & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
619
- type RequiredStates$7 = {
637
+ type RequiredStates$6 = {
620
638
  currentLength: number;
621
639
  currentLengthDebounced: number;
622
640
  hasValue: boolean;
623
641
  } & PropId & PropHideMsg & PropLabelWithExpertSlot;
624
- type OptionalStates$7 = {
642
+ type OptionalStates$6 = {
625
643
  maxLength: number;
626
644
  on: InputTypeOnDefault;
627
645
  pattern: string;
@@ -629,7 +647,7 @@ type OptionalStates$7 = {
629
647
  smartButton: ButtonProps;
630
648
  value: string | null;
631
649
  } & PropAccessKey & PropAutoComplete & PropPasswordVariant & PropDisabled & PropHasCounter & PropHideLabel & PropHint & KoliBriHIcons & PropMaxLengthBehavior & PropMsg & PropName & PropReadOnly & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
632
- type InputPasswordAPI = Generic.Element.ComponentApi<RequiredProps$7, OptionalProps$7, RequiredStates$7, OptionalStates$7>;
650
+ type InputPasswordAPI = Generic.Element.ComponentApi<RequiredProps$6, OptionalProps$6, RequiredStates$6, OptionalStates$6>;
633
651
 
634
652
  declare const orientationPropTypeOptions: readonly ["horizontal", "vertical"];
635
653
  type OrientationPropType = (typeof orientationPropTypeOptions)[number];
@@ -637,23 +655,23 @@ type PropOrientation = {
637
655
  orientation: OrientationPropType;
638
656
  };
639
657
 
640
- type RequiredProps$6 = PropLabelWithExpertSlot;
641
- type OptionalProps$6 = {
658
+ type RequiredProps$5 = PropLabelWithExpertSlot;
659
+ type OptionalProps$5 = {
642
660
  msg: Stringified<MsgPropType>;
643
661
  on: InputTypeOnDefault;
644
662
  value: StencilUnknown;
645
663
  } & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropName & PropOrientation & PropRadioOptions & PropRequired & PropSyncValueBySelector & PropTouched & PropTooltipAlign;
646
- type RequiredStates$6 = {
664
+ type RequiredStates$5 = {
647
665
  options: RadioOption<StencilUnknown>[];
648
666
  } & PropId & PropHideMsg & PropLabelWithExpertSlot & PropOrientation;
649
- type OptionalStates$6 = {
667
+ type OptionalStates$5 = {
650
668
  on: InputTypeOnDefault;
651
669
  value: StencilUnknown;
652
670
  } & PropDisabled & PropHideLabel & PropHint & PropMsg & PropName & PropRequired & PropTouched;
653
- type InputRadioAPI = Generic.Element.ComponentApi<RequiredProps$6, OptionalProps$6, RequiredStates$6, OptionalStates$6>;
671
+ type InputRadioAPI = Generic.Element.ComponentApi<RequiredProps$5, OptionalProps$5, RequiredStates$5, OptionalStates$5>;
654
672
 
655
- type RequiredProps$5 = PropLabelWithExpertSlot;
656
- type OptionalProps$5 = {
673
+ type RequiredProps$4 = PropLabelWithExpertSlot;
674
+ type OptionalProps$4 = {
657
675
  max: number | NumberString;
658
676
  min: number | NumberString;
659
677
  msg: Stringified<MsgPropType>;
@@ -661,20 +679,20 @@ type OptionalProps$5 = {
661
679
  step: number | NumberString;
662
680
  value: number | NumberString;
663
681
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropSuggestions & PropSyncValueBySelector & PropShortKey & PropTouched;
664
- type RequiredStates$5 = {
682
+ type RequiredStates$4 = {
665
683
  suggestions: W3CInputValue[];
666
684
  } & PropId & PropHideMsg & PropLabelWithExpertSlot;
667
- type OptionalStates$5 = {
685
+ type OptionalStates$4 = {
668
686
  max: number;
669
687
  min: number;
670
688
  on: InputTypeOnDefault;
671
689
  step: number;
672
690
  value: number;
673
691
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMsg & PropName & PropShortKey & PropTouched;
674
- type InputRangeAPI = Generic.Element.ComponentApi<RequiredProps$5, OptionalProps$5, RequiredStates$5, OptionalStates$5>;
692
+ type InputRangeAPI = Generic.Element.ComponentApi<RequiredProps$4, OptionalProps$4, RequiredStates$4, OptionalStates$4>;
675
693
 
676
- type RequiredProps$4 = PropLabelWithExpertSlot;
677
- type OptionalProps$4 = {
694
+ type RequiredProps$3 = PropLabelWithExpertSlot;
695
+ type OptionalProps$3 = {
678
696
  maxLength: number;
679
697
  msg: Stringified<MsgPropType>;
680
698
  on: InputTypeOnDefault;
@@ -684,14 +702,14 @@ type OptionalProps$4 = {
684
702
  type: InputTextTypePropType;
685
703
  value: string;
686
704
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHasCounter & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropId & PropMaxLengthBehavior & PropName & PropReadOnly & PropRequired & PropShortKey & PropSpellCheck & PropSuggestions & PropSyncValueBySelector & PropTouched;
687
- type RequiredStates$4 = {
705
+ type RequiredStates$3 = {
688
706
  currentLength: number;
689
707
  currentLengthDebounced: number;
690
708
  hasValue: boolean;
691
709
  suggestions: W3CInputValue[];
692
710
  type: InputTextTypePropType;
693
711
  } & PropHideMsg & PropId & PropLabelWithExpertSlot;
694
- type OptionalStates$4 = {
712
+ type OptionalStates$3 = {
695
713
  maxLength: number;
696
714
  on: InputTypeOnDefault;
697
715
  pattern: string;
@@ -699,30 +717,48 @@ type OptionalStates$4 = {
699
717
  smartButton: ButtonProps;
700
718
  value: string;
701
719
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHasCounter & PropHideLabel & PropHint & KoliBriHIcons & PropMaxLengthBehavior & PropMsg & PropName & PropReadOnly & PropRequired & PropShortKey & PropSpellCheck & PropTouched;
702
- type InputTextAPI = Generic.Element.ComponentApi<RequiredProps$4, OptionalProps$4, RequiredStates$4, OptionalStates$4>;
720
+ type InputTextAPI = Generic.Element.ComponentApi<RequiredProps$3, OptionalProps$3, RequiredStates$3, OptionalStates$3>;
703
721
 
704
- type RequiredProps$3 = PropLabelWithExpertSlot & PropOptionsWithOptgroup;
705
- type OptionalProps$3 = {
722
+ type RequiredProps$2 = PropLabelWithExpertSlot & PropOptionsWithOptgroup;
723
+ type OptionalProps$2 = {
706
724
  msg: Stringified<MsgPropType>;
707
725
  on: InputTypeOnDefault;
708
726
  tabIndex: number;
709
727
  value: Stringified<StencilUnknown[]> | Stringified<StencilUnknown>;
710
728
  } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropMultiple & PropName & PropRequired & PropRows & PropShortKey & PropSyncValueBySelector & PropTouched;
711
- type RequiredStates$3 = {
729
+ type RequiredStates$2 = {
712
730
  hasValue: boolean;
713
731
  options: SelectOption<W3CInputValue>[];
714
732
  value: StencilUnknown[] | StencilUnknown;
715
733
  } & PropId & PropHideMsg & PropMultiple & PropLabelWithExpertSlot;
716
- type OptionalStates$3 = {
734
+ type OptionalStates$2 = {
717
735
  on: InputTypeOnDefault;
718
736
  tabIndex: number;
719
737
  } & PropAccessKey & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropId & PropName & PropRequired & PropRows & PropMsg & PropShortKey & PropTouched;
720
- type SelectAPI = Generic.Element.ComponentApi<RequiredProps$3, OptionalProps$3, RequiredStates$3, OptionalStates$3>;
738
+ type SelectAPI = Generic.Element.ComponentApi<RequiredProps$2, OptionalProps$2, RequiredStates$2, OptionalStates$2>;
739
+
740
+ type RequiredProps$1 = PropLabelWithExpertSlot & PropOptions;
741
+ type OptionalProps$1 = {
742
+ msg: Stringified<MsgPropType>;
743
+ on: InputTypeOnDefault;
744
+ placeholder: string;
745
+ value: StencilUnknown;
746
+ hideClearButton: boolean;
747
+ } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropRequired & PropRows & PropSyncValueBySelector & PropShortKey & PropTouched;
748
+ type RequiredStates$1 = {
749
+ options: Option<StencilUnknown>[];
750
+ } & PropId & PropHideMsg & PropLabelWithExpertSlot;
751
+ type OptionalStates$1 = {
752
+ on: InputTypeOnDefault;
753
+ placeholder: string;
754
+ hideClearButton: boolean;
755
+ } & PropAccessKey & PropDisabled & PropHideLabel & KoliBriHIcons & PropHint & PropId & PropName & PropRequired & PropRows & PropMsg & PropShortKey & PropTouched;
756
+ type SingleSelectAPI = Generic.Element.ComponentApi<RequiredProps$1, OptionalProps$1, RequiredStates$1, OptionalStates$1>;
721
757
 
722
758
  declare const cssResizeOptions: readonly ["vertical", "none"];
723
759
  type CSSResize = (typeof cssResizeOptions)[number];
724
- type RequiredProps$2 = PropLabelWithExpertSlot;
725
- type OptionalProps$2 = {
760
+ type RequiredProps = PropLabelWithExpertSlot;
761
+ type OptionalProps = {
726
762
  maxLength: number;
727
763
  msg: Stringified<MsgPropType>;
728
764
  on: InputTypeOnDefault;
@@ -730,56 +766,20 @@ type OptionalProps$2 = {
730
766
  resize: CSSResize;
731
767
  value: string;
732
768
  } & PropAccessKey & PropAdjustHeight & PropDisabled & PropHasCounter & PropHideLabel & PropHideMsg & PropHint & PropHorizontalIcons & PropId & PropMaxLengthBehavior & PropName & PropReadOnly & PropRequired & PropRows & PropShortKey & PropSpellCheck & PropSyncValueBySelector & PropTouched;
733
- type RequiredStates$2 = {
769
+ type RequiredStates = {
734
770
  adjustHeight: boolean;
735
771
  currentLength: number;
736
772
  currentLengthDebounced: number;
737
773
  hasValue: boolean;
738
774
  resize: CSSResize;
739
775
  } & PropAdjustHeight & PropHideMsg & PropId & PropLabelWithExpertSlot;
740
- type OptionalStates$2 = {
776
+ type OptionalStates = {
741
777
  maxLength: number;
742
778
  on: InputTypeOnDefault;
743
779
  placeholder: string;
744
780
  value: string;
745
781
  } & PropAccessKey & KoliBriHIcons & PropDisabled & PropHasCounter & PropHideLabel & PropHint & PropMaxLengthBehavior & PropMsg & PropName & PropReadOnly & PropRequired & PropRows & PropShortKey & PropSpellCheck & PropTouched;
746
- type TextareaAPI = Generic.Element.ComponentApi<RequiredProps$2, OptionalProps$2, RequiredStates$2, OptionalStates$2>;
747
-
748
- type RequiredProps$1 = PropLabelWithExpertSlot & PropSuggestions;
749
- type OptionalProps$1 = {
750
- msg: Stringified<MsgPropType>;
751
- on: InputTypeOnDefault;
752
- placeholder: string;
753
- value: string;
754
- } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
755
- type RequiredStates$1 = {
756
- hasValue: boolean;
757
- suggestions: W3CInputValue[];
758
- value: string;
759
- } & PropId & PropHideMsg & PropLabelWithExpertSlot;
760
- type OptionalStates$1 = {
761
- on: InputTypeOnDefault;
762
- placeholder: string;
763
- } & PropAccessKey & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropId & PropName & PropRequired & PropMsg & PropShortKey & PropTouched;
764
- type ComboboxAPI = Generic.Element.ComponentApi<RequiredProps$1, OptionalProps$1, RequiredStates$1, OptionalStates$1>;
765
-
766
- type RequiredProps = PropLabelWithExpertSlot & PropOptions;
767
- type OptionalProps = {
768
- msg: Stringified<MsgPropType>;
769
- on: InputTypeOnDefault;
770
- placeholder: string;
771
- value: StencilUnknown;
772
- hideClearButton: boolean;
773
- } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropRequired & PropRows & PropSyncValueBySelector & PropShortKey & PropTouched;
774
- type RequiredStates = {
775
- options: Option<StencilUnknown>[];
776
- } & PropId & PropHideMsg & PropLabelWithExpertSlot;
777
- type OptionalStates = {
778
- on: InputTypeOnDefault;
779
- placeholder: string;
780
- hideClearButton: boolean;
781
- } & PropAccessKey & PropDisabled & PropHideLabel & KoliBriHIcons & PropHint & PropId & PropName & PropRequired & PropRows & PropMsg & PropShortKey & PropTouched;
782
- type SingleSelectAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>;
782
+ type TextareaAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>;
783
783
 
784
784
  type ControllerBaseProps = {
785
785
  name: string;
package/dist/index.d.mts CHANGED
@@ -75,13 +75,13 @@ declare namespace Generic {
75
75
  export type { Common, Element, I18n, Theming };
76
76
  }
77
77
 
78
+ type Stringified<T> = string | T;
79
+
78
80
  type AccessKeyPropType = string;
79
81
  type PropAccessKey = {
80
82
  accessKey: AccessKeyPropType;
81
83
  };
82
84
 
83
- type Stringified<T> = string | T;
84
-
85
85
  declare enum Callback$1 {
86
86
  onBlur = "onBlur",
87
87
  onChange = "onChange",
@@ -469,45 +469,63 @@ type OptionalButtonProps = {
469
469
  } & PropAccessKey & PropAlternativeButtonLinkRole & PropAriaControls & PropAriaDescription & PropAriaSelected & PropButtonCallbacks<StencilUnknown> & PropButtonType & PropButtonVariant & PropCustomClass & PropDisabled & PropHideLabel & PropIcons & PropId & PropName & PropShortKey & PropSyncValueBySelector & PropTooltipAlign;
470
470
  type ButtonProps = Generic.Element.Members<RequiredButtonProps, OptionalButtonProps>;
471
471
 
472
- type RequiredProps$d = PropLabelWithExpertSlot;
472
+ type RequiredProps$d = PropLabelWithExpertSlot & PropSuggestions;
473
473
  type OptionalProps$d = {
474
+ msg: Stringified<MsgPropType>;
475
+ on: InputTypeOnDefault;
476
+ placeholder: string;
477
+ value: string;
478
+ } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
479
+ type RequiredStates$d = {
480
+ hasValue: boolean;
481
+ suggestions: W3CInputValue[];
482
+ value: string;
483
+ } & PropId & PropHideMsg & PropLabelWithExpertSlot;
484
+ type OptionalStates$d = {
485
+ on: InputTypeOnDefault;
486
+ placeholder: string;
487
+ } & PropAccessKey & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropId & PropName & PropRequired & PropMsg & PropShortKey & PropTouched;
488
+ type ComboboxAPI = Generic.Element.ComponentApi<RequiredProps$d, OptionalProps$d, RequiredStates$d, OptionalStates$d>;
489
+
490
+ type RequiredProps$c = PropLabelWithExpertSlot;
491
+ type OptionalProps$c = {
474
492
  icons: Stringified<InputCheckboxIconsProp>;
475
493
  msg: Stringified<MsgPropType>;
476
494
  on: InputTypeOnDefault;
477
495
  value: StencilUnknown;
478
496
  variant: InputCheckboxVariantPropType;
479
497
  } & PropAccessKey & PropChecked & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropIndeterminate & PropName & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched & PropLabelAlign;
480
- type RequiredStates$d = {
498
+ type RequiredStates$c = {
481
499
  icons: InputCheckboxIconsState;
482
500
  id: string;
483
501
  value: StencilUnknown;
484
502
  variant: InputCheckboxVariantPropType;
485
503
  } & PropChecked & PropHideMsg & PropIndeterminate & PropLabelWithExpertSlot;
486
- type OptionalStates$d = {
504
+ type OptionalStates$c = {
487
505
  on: InputTypeOnDefault;
488
506
  } & PropAccessKey & PropDisabled & PropHideLabel & PropHint & PropMsg & PropName & PropRequired & PropShortKey & PropTouched & PropLabelAlign;
489
- type InputCheckboxAPI = Generic.Element.ComponentApi<RequiredProps$d, OptionalProps$d, RequiredStates$d, OptionalStates$d>;
507
+ type InputCheckboxAPI = Generic.Element.ComponentApi<RequiredProps$c, OptionalProps$c, RequiredStates$c, OptionalStates$c>;
490
508
 
491
- type RequiredProps$c = PropLabelWithExpertSlot;
492
- type OptionalProps$c = {
509
+ type RequiredProps$b = PropLabelWithExpertSlot;
510
+ type OptionalProps$b = {
493
511
  msg: Stringified<MsgPropType>;
494
512
  on: InputTypeOnDefault;
495
513
  smartButton: Stringified<ButtonProps>;
496
514
  value: string;
497
515
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropHorizontalIcons & PropName & PropShortKey & PropSuggestions & PropSyncValueBySelector & PropTouched;
498
- type RequiredStates$c = {
516
+ type RequiredStates$b = {
499
517
  id: string;
500
518
  suggestions: W3CInputValue[];
501
519
  } & PropHideMsg & PropLabelWithExpertSlot;
502
- type OptionalStates$c = {
520
+ type OptionalStates$b = {
503
521
  on: InputTypeOnDefault;
504
522
  smartButton: ButtonProps;
505
523
  value: string;
506
524
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMsg & PropName & PropShortKey & PropTouched;
507
- type InputColorAPI = Generic.Element.ComponentApi<RequiredProps$c, OptionalProps$c, RequiredStates$c, OptionalStates$c>;
525
+ type InputColorAPI = Generic.Element.ComponentApi<RequiredProps$b, OptionalProps$b, RequiredStates$b, OptionalStates$b>;
508
526
 
509
- type RequiredProps$b = PropLabelWithExpertSlot;
510
- type OptionalProps$b = {
527
+ type RequiredProps$a = PropLabelWithExpertSlot;
528
+ type OptionalProps$a = {
511
529
  max: Iso8601 | Date;
512
530
  min: Iso8601 | Date;
513
531
  msg: Stringified<MsgPropType>;
@@ -517,12 +535,12 @@ type OptionalProps$b = {
517
535
  type: InputDateTypePropType;
518
536
  value: Iso8601 | Date | null;
519
537
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropHorizontalIcons & PropName & PropReadOnly & PropRequired & PropSuggestions & PropTouched;
520
- type RequiredStates$b = {
538
+ type RequiredStates$a = {
521
539
  hasValue: boolean;
522
540
  suggestions: W3CInputValue[];
523
541
  type: InputDateTypePropType;
524
542
  } & PropLabelWithExpertSlot & PropHideMsg & PropId;
525
- type OptionalStates$b = {
543
+ type OptionalStates$a = {
526
544
  max: Iso8601;
527
545
  min: Iso8601;
528
546
  on: InputTypeOnDefault;
@@ -531,10 +549,10 @@ type OptionalStates$b = {
531
549
  step: number;
532
550
  value: Iso8601 | null;
533
551
  } & PropAccessKey & PropAutoComplete & PropHint & PropSyncValueBySelector & PropDisabled & PropHideLabel & KoliBriHIcons & PropMsg & PropName & PropReadOnly & PropRequired & PropShortKey & PropTouched;
534
- type InputDateAPI = Generic.Element.ComponentApi<RequiredProps$b, OptionalProps$b, RequiredStates$b, OptionalStates$b>;
552
+ type InputDateAPI = Generic.Element.ComponentApi<RequiredProps$a, OptionalProps$a, RequiredStates$a, OptionalStates$a>;
535
553
 
536
- type RequiredProps$a = PropLabelWithExpertSlot;
537
- type OptionalProps$a = {
554
+ type RequiredProps$9 = PropLabelWithExpertSlot;
555
+ type OptionalProps$9 = {
538
556
  maxLength: number;
539
557
  msg: Stringified<MsgPropType>;
540
558
  on: InputTypeOnDefault;
@@ -543,13 +561,13 @@ type OptionalProps$a = {
543
561
  smartButton: Stringified<ButtonProps>;
544
562
  value: string;
545
563
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropMaxLengthBehavior & PropMultiple & PropName & PropReadOnly & PropRequired & PropShortKey & PropSuggestions & PropSyncValueBySelector & PropTouched;
546
- type RequiredStates$a = {
564
+ type RequiredStates$9 = {
547
565
  hasValue: boolean;
548
566
  suggestions: W3CInputValue[];
549
567
  currentLength: number;
550
568
  currentLengthDebounced: number;
551
569
  } & PropId & PropHideMsg & PropLabelWithExpertSlot;
552
- type OptionalStates$a = {
570
+ type OptionalStates$9 = {
553
571
  maxLength: number;
554
572
  on: InputTypeOnDefault;
555
573
  pattern: string;
@@ -557,25 +575,25 @@ type OptionalStates$a = {
557
575
  smartButton: ButtonProps;
558
576
  value: string;
559
577
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMaxLengthBehavior & PropMsg & PropMultiple & PropName & PropReadOnly & PropRequired & PropShortKey & PropTouched;
560
- type InputEmailAPI = Generic.Element.ComponentApi<RequiredProps$a, OptionalProps$a, RequiredStates$a, OptionalStates$a>;
578
+ type InputEmailAPI = Generic.Element.ComponentApi<RequiredProps$9, OptionalProps$9, RequiredStates$9, OptionalStates$9>;
561
579
 
562
- type RequiredProps$9 = PropLabelWithExpertSlot;
563
- type OptionalProps$9 = {
580
+ type RequiredProps$8 = PropLabelWithExpertSlot;
581
+ type OptionalProps$8 = {
564
582
  accept: string;
565
583
  msg: Stringified<MsgPropType>;
566
584
  on: InputTypeOnDefault;
567
585
  smartButton: Stringified<ButtonProps>;
568
586
  } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropMultiple & PropName & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
569
- type RequiredStates$9 = PropId & PropLabelWithExpertSlot & PropHideMsg;
570
- type OptionalStates$9 = {
587
+ type RequiredStates$8 = PropId & PropLabelWithExpertSlot & PropHideMsg;
588
+ type OptionalStates$8 = {
571
589
  accept: string;
572
590
  on: InputTypeOnDefault;
573
591
  smartButton: ButtonProps;
574
592
  } & PropAccessKey & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMsg & PropMultiple & PropName & PropRequired & PropShortKey & PropTouched;
575
- type InputFileAPI = Generic.Element.ComponentApi<RequiredProps$9, OptionalProps$9, RequiredStates$9, OptionalStates$9>;
593
+ type InputFileAPI = Generic.Element.ComponentApi<RequiredProps$8, OptionalProps$8, RequiredStates$8, OptionalStates$8>;
576
594
 
577
- type RequiredProps$8 = PropLabelWithExpertSlot;
578
- type OptionalProps$8 = {
595
+ type RequiredProps$7 = PropLabelWithExpertSlot;
596
+ type OptionalProps$7 = {
579
597
  max: number | NumberString;
580
598
  min: number | NumberString;
581
599
  msg: Stringified<MsgPropType>;
@@ -585,11 +603,11 @@ type OptionalProps$8 = {
585
603
  step: number | NumberString;
586
604
  value: number | NumberString | null;
587
605
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropHorizontalIcons & PropName & PropReadOnly & PropRequired & PropSuggestions & PropTouched;
588
- type RequiredStates$8 = {
606
+ type RequiredStates$7 = {
589
607
  hasValue: boolean;
590
608
  suggestions: W3CInputValue[];
591
609
  } & PropId & PropHideMsg & PropLabelWithExpertSlot;
592
- type OptionalStates$8 = {
610
+ type OptionalStates$7 = {
593
611
  max: number;
594
612
  min: number;
595
613
  on: InputTypeOnDefault;
@@ -598,7 +616,7 @@ type OptionalStates$8 = {
598
616
  step: number;
599
617
  value: number;
600
618
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMsg & PropName & PropReadOnly & PropRequired & PropSyncValueBySelector & PropShortKey & PropTouched;
601
- type InputNumberAPI = Generic.Element.ComponentApi<RequiredProps$8, OptionalProps$8, RequiredStates$8, OptionalStates$8>;
619
+ type InputNumberAPI = Generic.Element.ComponentApi<RequiredProps$7, OptionalProps$7, RequiredStates$7, OptionalStates$7>;
602
620
 
603
621
  declare const PasswordVariantPropTypeOptions: readonly ["default", "visibility-toggle"];
604
622
  type PasswordVariantPropType = (typeof PasswordVariantPropTypeOptions)[number];
@@ -606,8 +624,8 @@ type PropPasswordVariant = {
606
624
  variant: PasswordVariantPropType;
607
625
  };
608
626
 
609
- type RequiredProps$7 = PropLabelWithExpertSlot;
610
- type OptionalProps$7 = {
627
+ type RequiredProps$6 = PropLabelWithExpertSlot;
628
+ type OptionalProps$6 = {
611
629
  maxLength: number;
612
630
  on: InputTypeOnDefault;
613
631
  pattern: string;
@@ -616,12 +634,12 @@ type OptionalProps$7 = {
616
634
  value: string;
617
635
  msg: Stringified<MsgPropType>;
618
636
  } & PropAccessKey & PropAutoComplete & PropPasswordVariant & PropDisabled & PropHasCounter & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropMaxLengthBehavior & PropName & PropReadOnly & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
619
- type RequiredStates$7 = {
637
+ type RequiredStates$6 = {
620
638
  currentLength: number;
621
639
  currentLengthDebounced: number;
622
640
  hasValue: boolean;
623
641
  } & PropId & PropHideMsg & PropLabelWithExpertSlot;
624
- type OptionalStates$7 = {
642
+ type OptionalStates$6 = {
625
643
  maxLength: number;
626
644
  on: InputTypeOnDefault;
627
645
  pattern: string;
@@ -629,7 +647,7 @@ type OptionalStates$7 = {
629
647
  smartButton: ButtonProps;
630
648
  value: string | null;
631
649
  } & PropAccessKey & PropAutoComplete & PropPasswordVariant & PropDisabled & PropHasCounter & PropHideLabel & PropHint & KoliBriHIcons & PropMaxLengthBehavior & PropMsg & PropName & PropReadOnly & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
632
- type InputPasswordAPI = Generic.Element.ComponentApi<RequiredProps$7, OptionalProps$7, RequiredStates$7, OptionalStates$7>;
650
+ type InputPasswordAPI = Generic.Element.ComponentApi<RequiredProps$6, OptionalProps$6, RequiredStates$6, OptionalStates$6>;
633
651
 
634
652
  declare const orientationPropTypeOptions: readonly ["horizontal", "vertical"];
635
653
  type OrientationPropType = (typeof orientationPropTypeOptions)[number];
@@ -637,23 +655,23 @@ type PropOrientation = {
637
655
  orientation: OrientationPropType;
638
656
  };
639
657
 
640
- type RequiredProps$6 = PropLabelWithExpertSlot;
641
- type OptionalProps$6 = {
658
+ type RequiredProps$5 = PropLabelWithExpertSlot;
659
+ type OptionalProps$5 = {
642
660
  msg: Stringified<MsgPropType>;
643
661
  on: InputTypeOnDefault;
644
662
  value: StencilUnknown;
645
663
  } & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropName & PropOrientation & PropRadioOptions & PropRequired & PropSyncValueBySelector & PropTouched & PropTooltipAlign;
646
- type RequiredStates$6 = {
664
+ type RequiredStates$5 = {
647
665
  options: RadioOption<StencilUnknown>[];
648
666
  } & PropId & PropHideMsg & PropLabelWithExpertSlot & PropOrientation;
649
- type OptionalStates$6 = {
667
+ type OptionalStates$5 = {
650
668
  on: InputTypeOnDefault;
651
669
  value: StencilUnknown;
652
670
  } & PropDisabled & PropHideLabel & PropHint & PropMsg & PropName & PropRequired & PropTouched;
653
- type InputRadioAPI = Generic.Element.ComponentApi<RequiredProps$6, OptionalProps$6, RequiredStates$6, OptionalStates$6>;
671
+ type InputRadioAPI = Generic.Element.ComponentApi<RequiredProps$5, OptionalProps$5, RequiredStates$5, OptionalStates$5>;
654
672
 
655
- type RequiredProps$5 = PropLabelWithExpertSlot;
656
- type OptionalProps$5 = {
673
+ type RequiredProps$4 = PropLabelWithExpertSlot;
674
+ type OptionalProps$4 = {
657
675
  max: number | NumberString;
658
676
  min: number | NumberString;
659
677
  msg: Stringified<MsgPropType>;
@@ -661,20 +679,20 @@ type OptionalProps$5 = {
661
679
  step: number | NumberString;
662
680
  value: number | NumberString;
663
681
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropSuggestions & PropSyncValueBySelector & PropShortKey & PropTouched;
664
- type RequiredStates$5 = {
682
+ type RequiredStates$4 = {
665
683
  suggestions: W3CInputValue[];
666
684
  } & PropId & PropHideMsg & PropLabelWithExpertSlot;
667
- type OptionalStates$5 = {
685
+ type OptionalStates$4 = {
668
686
  max: number;
669
687
  min: number;
670
688
  on: InputTypeOnDefault;
671
689
  step: number;
672
690
  value: number;
673
691
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMsg & PropName & PropShortKey & PropTouched;
674
- type InputRangeAPI = Generic.Element.ComponentApi<RequiredProps$5, OptionalProps$5, RequiredStates$5, OptionalStates$5>;
692
+ type InputRangeAPI = Generic.Element.ComponentApi<RequiredProps$4, OptionalProps$4, RequiredStates$4, OptionalStates$4>;
675
693
 
676
- type RequiredProps$4 = PropLabelWithExpertSlot;
677
- type OptionalProps$4 = {
694
+ type RequiredProps$3 = PropLabelWithExpertSlot;
695
+ type OptionalProps$3 = {
678
696
  maxLength: number;
679
697
  msg: Stringified<MsgPropType>;
680
698
  on: InputTypeOnDefault;
@@ -684,14 +702,14 @@ type OptionalProps$4 = {
684
702
  type: InputTextTypePropType;
685
703
  value: string;
686
704
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHasCounter & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropId & PropMaxLengthBehavior & PropName & PropReadOnly & PropRequired & PropShortKey & PropSpellCheck & PropSuggestions & PropSyncValueBySelector & PropTouched;
687
- type RequiredStates$4 = {
705
+ type RequiredStates$3 = {
688
706
  currentLength: number;
689
707
  currentLengthDebounced: number;
690
708
  hasValue: boolean;
691
709
  suggestions: W3CInputValue[];
692
710
  type: InputTextTypePropType;
693
711
  } & PropHideMsg & PropId & PropLabelWithExpertSlot;
694
- type OptionalStates$4 = {
712
+ type OptionalStates$3 = {
695
713
  maxLength: number;
696
714
  on: InputTypeOnDefault;
697
715
  pattern: string;
@@ -699,30 +717,48 @@ type OptionalStates$4 = {
699
717
  smartButton: ButtonProps;
700
718
  value: string;
701
719
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHasCounter & PropHideLabel & PropHint & KoliBriHIcons & PropMaxLengthBehavior & PropMsg & PropName & PropReadOnly & PropRequired & PropShortKey & PropSpellCheck & PropTouched;
702
- type InputTextAPI = Generic.Element.ComponentApi<RequiredProps$4, OptionalProps$4, RequiredStates$4, OptionalStates$4>;
720
+ type InputTextAPI = Generic.Element.ComponentApi<RequiredProps$3, OptionalProps$3, RequiredStates$3, OptionalStates$3>;
703
721
 
704
- type RequiredProps$3 = PropLabelWithExpertSlot & PropOptionsWithOptgroup;
705
- type OptionalProps$3 = {
722
+ type RequiredProps$2 = PropLabelWithExpertSlot & PropOptionsWithOptgroup;
723
+ type OptionalProps$2 = {
706
724
  msg: Stringified<MsgPropType>;
707
725
  on: InputTypeOnDefault;
708
726
  tabIndex: number;
709
727
  value: Stringified<StencilUnknown[]> | Stringified<StencilUnknown>;
710
728
  } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropMultiple & PropName & PropRequired & PropRows & PropShortKey & PropSyncValueBySelector & PropTouched;
711
- type RequiredStates$3 = {
729
+ type RequiredStates$2 = {
712
730
  hasValue: boolean;
713
731
  options: SelectOption<W3CInputValue>[];
714
732
  value: StencilUnknown[] | StencilUnknown;
715
733
  } & PropId & PropHideMsg & PropMultiple & PropLabelWithExpertSlot;
716
- type OptionalStates$3 = {
734
+ type OptionalStates$2 = {
717
735
  on: InputTypeOnDefault;
718
736
  tabIndex: number;
719
737
  } & PropAccessKey & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropId & PropName & PropRequired & PropRows & PropMsg & PropShortKey & PropTouched;
720
- type SelectAPI = Generic.Element.ComponentApi<RequiredProps$3, OptionalProps$3, RequiredStates$3, OptionalStates$3>;
738
+ type SelectAPI = Generic.Element.ComponentApi<RequiredProps$2, OptionalProps$2, RequiredStates$2, OptionalStates$2>;
739
+
740
+ type RequiredProps$1 = PropLabelWithExpertSlot & PropOptions;
741
+ type OptionalProps$1 = {
742
+ msg: Stringified<MsgPropType>;
743
+ on: InputTypeOnDefault;
744
+ placeholder: string;
745
+ value: StencilUnknown;
746
+ hideClearButton: boolean;
747
+ } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropRequired & PropRows & PropSyncValueBySelector & PropShortKey & PropTouched;
748
+ type RequiredStates$1 = {
749
+ options: Option<StencilUnknown>[];
750
+ } & PropId & PropHideMsg & PropLabelWithExpertSlot;
751
+ type OptionalStates$1 = {
752
+ on: InputTypeOnDefault;
753
+ placeholder: string;
754
+ hideClearButton: boolean;
755
+ } & PropAccessKey & PropDisabled & PropHideLabel & KoliBriHIcons & PropHint & PropId & PropName & PropRequired & PropRows & PropMsg & PropShortKey & PropTouched;
756
+ type SingleSelectAPI = Generic.Element.ComponentApi<RequiredProps$1, OptionalProps$1, RequiredStates$1, OptionalStates$1>;
721
757
 
722
758
  declare const cssResizeOptions: readonly ["vertical", "none"];
723
759
  type CSSResize = (typeof cssResizeOptions)[number];
724
- type RequiredProps$2 = PropLabelWithExpertSlot;
725
- type OptionalProps$2 = {
760
+ type RequiredProps = PropLabelWithExpertSlot;
761
+ type OptionalProps = {
726
762
  maxLength: number;
727
763
  msg: Stringified<MsgPropType>;
728
764
  on: InputTypeOnDefault;
@@ -730,56 +766,20 @@ type OptionalProps$2 = {
730
766
  resize: CSSResize;
731
767
  value: string;
732
768
  } & PropAccessKey & PropAdjustHeight & PropDisabled & PropHasCounter & PropHideLabel & PropHideMsg & PropHint & PropHorizontalIcons & PropId & PropMaxLengthBehavior & PropName & PropReadOnly & PropRequired & PropRows & PropShortKey & PropSpellCheck & PropSyncValueBySelector & PropTouched;
733
- type RequiredStates$2 = {
769
+ type RequiredStates = {
734
770
  adjustHeight: boolean;
735
771
  currentLength: number;
736
772
  currentLengthDebounced: number;
737
773
  hasValue: boolean;
738
774
  resize: CSSResize;
739
775
  } & PropAdjustHeight & PropHideMsg & PropId & PropLabelWithExpertSlot;
740
- type OptionalStates$2 = {
776
+ type OptionalStates = {
741
777
  maxLength: number;
742
778
  on: InputTypeOnDefault;
743
779
  placeholder: string;
744
780
  value: string;
745
781
  } & PropAccessKey & KoliBriHIcons & PropDisabled & PropHasCounter & PropHideLabel & PropHint & PropMaxLengthBehavior & PropMsg & PropName & PropReadOnly & PropRequired & PropRows & PropShortKey & PropSpellCheck & PropTouched;
746
- type TextareaAPI = Generic.Element.ComponentApi<RequiredProps$2, OptionalProps$2, RequiredStates$2, OptionalStates$2>;
747
-
748
- type RequiredProps$1 = PropLabelWithExpertSlot & PropSuggestions;
749
- type OptionalProps$1 = {
750
- msg: Stringified<MsgPropType>;
751
- on: InputTypeOnDefault;
752
- placeholder: string;
753
- value: string;
754
- } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
755
- type RequiredStates$1 = {
756
- hasValue: boolean;
757
- suggestions: W3CInputValue[];
758
- value: string;
759
- } & PropId & PropHideMsg & PropLabelWithExpertSlot;
760
- type OptionalStates$1 = {
761
- on: InputTypeOnDefault;
762
- placeholder: string;
763
- } & PropAccessKey & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropId & PropName & PropRequired & PropMsg & PropShortKey & PropTouched;
764
- type ComboboxAPI = Generic.Element.ComponentApi<RequiredProps$1, OptionalProps$1, RequiredStates$1, OptionalStates$1>;
765
-
766
- type RequiredProps = PropLabelWithExpertSlot & PropOptions;
767
- type OptionalProps = {
768
- msg: Stringified<MsgPropType>;
769
- on: InputTypeOnDefault;
770
- placeholder: string;
771
- value: StencilUnknown;
772
- hideClearButton: boolean;
773
- } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropRequired & PropRows & PropSyncValueBySelector & PropShortKey & PropTouched;
774
- type RequiredStates = {
775
- options: Option<StencilUnknown>[];
776
- } & PropId & PropHideMsg & PropLabelWithExpertSlot;
777
- type OptionalStates = {
778
- on: InputTypeOnDefault;
779
- placeholder: string;
780
- hideClearButton: boolean;
781
- } & PropAccessKey & PropDisabled & PropHideLabel & KoliBriHIcons & PropHint & PropId & PropName & PropRequired & PropRows & PropMsg & PropShortKey & PropTouched;
782
- type SingleSelectAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>;
782
+ type TextareaAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>;
783
783
 
784
784
  type ControllerBaseProps = {
785
785
  name: string;
package/dist/index.d.ts CHANGED
@@ -75,13 +75,13 @@ declare namespace Generic {
75
75
  export type { Common, Element, I18n, Theming };
76
76
  }
77
77
 
78
+ type Stringified<T> = string | T;
79
+
78
80
  type AccessKeyPropType = string;
79
81
  type PropAccessKey = {
80
82
  accessKey: AccessKeyPropType;
81
83
  };
82
84
 
83
- type Stringified<T> = string | T;
84
-
85
85
  declare enum Callback$1 {
86
86
  onBlur = "onBlur",
87
87
  onChange = "onChange",
@@ -469,45 +469,63 @@ type OptionalButtonProps = {
469
469
  } & PropAccessKey & PropAlternativeButtonLinkRole & PropAriaControls & PropAriaDescription & PropAriaSelected & PropButtonCallbacks<StencilUnknown> & PropButtonType & PropButtonVariant & PropCustomClass & PropDisabled & PropHideLabel & PropIcons & PropId & PropName & PropShortKey & PropSyncValueBySelector & PropTooltipAlign;
470
470
  type ButtonProps = Generic.Element.Members<RequiredButtonProps, OptionalButtonProps>;
471
471
 
472
- type RequiredProps$d = PropLabelWithExpertSlot;
472
+ type RequiredProps$d = PropLabelWithExpertSlot & PropSuggestions;
473
473
  type OptionalProps$d = {
474
+ msg: Stringified<MsgPropType>;
475
+ on: InputTypeOnDefault;
476
+ placeholder: string;
477
+ value: string;
478
+ } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
479
+ type RequiredStates$d = {
480
+ hasValue: boolean;
481
+ suggestions: W3CInputValue[];
482
+ value: string;
483
+ } & PropId & PropHideMsg & PropLabelWithExpertSlot;
484
+ type OptionalStates$d = {
485
+ on: InputTypeOnDefault;
486
+ placeholder: string;
487
+ } & PropAccessKey & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropId & PropName & PropRequired & PropMsg & PropShortKey & PropTouched;
488
+ type ComboboxAPI = Generic.Element.ComponentApi<RequiredProps$d, OptionalProps$d, RequiredStates$d, OptionalStates$d>;
489
+
490
+ type RequiredProps$c = PropLabelWithExpertSlot;
491
+ type OptionalProps$c = {
474
492
  icons: Stringified<InputCheckboxIconsProp>;
475
493
  msg: Stringified<MsgPropType>;
476
494
  on: InputTypeOnDefault;
477
495
  value: StencilUnknown;
478
496
  variant: InputCheckboxVariantPropType;
479
497
  } & PropAccessKey & PropChecked & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropIndeterminate & PropName & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched & PropLabelAlign;
480
- type RequiredStates$d = {
498
+ type RequiredStates$c = {
481
499
  icons: InputCheckboxIconsState;
482
500
  id: string;
483
501
  value: StencilUnknown;
484
502
  variant: InputCheckboxVariantPropType;
485
503
  } & PropChecked & PropHideMsg & PropIndeterminate & PropLabelWithExpertSlot;
486
- type OptionalStates$d = {
504
+ type OptionalStates$c = {
487
505
  on: InputTypeOnDefault;
488
506
  } & PropAccessKey & PropDisabled & PropHideLabel & PropHint & PropMsg & PropName & PropRequired & PropShortKey & PropTouched & PropLabelAlign;
489
- type InputCheckboxAPI = Generic.Element.ComponentApi<RequiredProps$d, OptionalProps$d, RequiredStates$d, OptionalStates$d>;
507
+ type InputCheckboxAPI = Generic.Element.ComponentApi<RequiredProps$c, OptionalProps$c, RequiredStates$c, OptionalStates$c>;
490
508
 
491
- type RequiredProps$c = PropLabelWithExpertSlot;
492
- type OptionalProps$c = {
509
+ type RequiredProps$b = PropLabelWithExpertSlot;
510
+ type OptionalProps$b = {
493
511
  msg: Stringified<MsgPropType>;
494
512
  on: InputTypeOnDefault;
495
513
  smartButton: Stringified<ButtonProps>;
496
514
  value: string;
497
515
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropHorizontalIcons & PropName & PropShortKey & PropSuggestions & PropSyncValueBySelector & PropTouched;
498
- type RequiredStates$c = {
516
+ type RequiredStates$b = {
499
517
  id: string;
500
518
  suggestions: W3CInputValue[];
501
519
  } & PropHideMsg & PropLabelWithExpertSlot;
502
- type OptionalStates$c = {
520
+ type OptionalStates$b = {
503
521
  on: InputTypeOnDefault;
504
522
  smartButton: ButtonProps;
505
523
  value: string;
506
524
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMsg & PropName & PropShortKey & PropTouched;
507
- type InputColorAPI = Generic.Element.ComponentApi<RequiredProps$c, OptionalProps$c, RequiredStates$c, OptionalStates$c>;
525
+ type InputColorAPI = Generic.Element.ComponentApi<RequiredProps$b, OptionalProps$b, RequiredStates$b, OptionalStates$b>;
508
526
 
509
- type RequiredProps$b = PropLabelWithExpertSlot;
510
- type OptionalProps$b = {
527
+ type RequiredProps$a = PropLabelWithExpertSlot;
528
+ type OptionalProps$a = {
511
529
  max: Iso8601 | Date;
512
530
  min: Iso8601 | Date;
513
531
  msg: Stringified<MsgPropType>;
@@ -517,12 +535,12 @@ type OptionalProps$b = {
517
535
  type: InputDateTypePropType;
518
536
  value: Iso8601 | Date | null;
519
537
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropHorizontalIcons & PropName & PropReadOnly & PropRequired & PropSuggestions & PropTouched;
520
- type RequiredStates$b = {
538
+ type RequiredStates$a = {
521
539
  hasValue: boolean;
522
540
  suggestions: W3CInputValue[];
523
541
  type: InputDateTypePropType;
524
542
  } & PropLabelWithExpertSlot & PropHideMsg & PropId;
525
- type OptionalStates$b = {
543
+ type OptionalStates$a = {
526
544
  max: Iso8601;
527
545
  min: Iso8601;
528
546
  on: InputTypeOnDefault;
@@ -531,10 +549,10 @@ type OptionalStates$b = {
531
549
  step: number;
532
550
  value: Iso8601 | null;
533
551
  } & PropAccessKey & PropAutoComplete & PropHint & PropSyncValueBySelector & PropDisabled & PropHideLabel & KoliBriHIcons & PropMsg & PropName & PropReadOnly & PropRequired & PropShortKey & PropTouched;
534
- type InputDateAPI = Generic.Element.ComponentApi<RequiredProps$b, OptionalProps$b, RequiredStates$b, OptionalStates$b>;
552
+ type InputDateAPI = Generic.Element.ComponentApi<RequiredProps$a, OptionalProps$a, RequiredStates$a, OptionalStates$a>;
535
553
 
536
- type RequiredProps$a = PropLabelWithExpertSlot;
537
- type OptionalProps$a = {
554
+ type RequiredProps$9 = PropLabelWithExpertSlot;
555
+ type OptionalProps$9 = {
538
556
  maxLength: number;
539
557
  msg: Stringified<MsgPropType>;
540
558
  on: InputTypeOnDefault;
@@ -543,13 +561,13 @@ type OptionalProps$a = {
543
561
  smartButton: Stringified<ButtonProps>;
544
562
  value: string;
545
563
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropMaxLengthBehavior & PropMultiple & PropName & PropReadOnly & PropRequired & PropShortKey & PropSuggestions & PropSyncValueBySelector & PropTouched;
546
- type RequiredStates$a = {
564
+ type RequiredStates$9 = {
547
565
  hasValue: boolean;
548
566
  suggestions: W3CInputValue[];
549
567
  currentLength: number;
550
568
  currentLengthDebounced: number;
551
569
  } & PropId & PropHideMsg & PropLabelWithExpertSlot;
552
- type OptionalStates$a = {
570
+ type OptionalStates$9 = {
553
571
  maxLength: number;
554
572
  on: InputTypeOnDefault;
555
573
  pattern: string;
@@ -557,25 +575,25 @@ type OptionalStates$a = {
557
575
  smartButton: ButtonProps;
558
576
  value: string;
559
577
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMaxLengthBehavior & PropMsg & PropMultiple & PropName & PropReadOnly & PropRequired & PropShortKey & PropTouched;
560
- type InputEmailAPI = Generic.Element.ComponentApi<RequiredProps$a, OptionalProps$a, RequiredStates$a, OptionalStates$a>;
578
+ type InputEmailAPI = Generic.Element.ComponentApi<RequiredProps$9, OptionalProps$9, RequiredStates$9, OptionalStates$9>;
561
579
 
562
- type RequiredProps$9 = PropLabelWithExpertSlot;
563
- type OptionalProps$9 = {
580
+ type RequiredProps$8 = PropLabelWithExpertSlot;
581
+ type OptionalProps$8 = {
564
582
  accept: string;
565
583
  msg: Stringified<MsgPropType>;
566
584
  on: InputTypeOnDefault;
567
585
  smartButton: Stringified<ButtonProps>;
568
586
  } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropMultiple & PropName & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
569
- type RequiredStates$9 = PropId & PropLabelWithExpertSlot & PropHideMsg;
570
- type OptionalStates$9 = {
587
+ type RequiredStates$8 = PropId & PropLabelWithExpertSlot & PropHideMsg;
588
+ type OptionalStates$8 = {
571
589
  accept: string;
572
590
  on: InputTypeOnDefault;
573
591
  smartButton: ButtonProps;
574
592
  } & PropAccessKey & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMsg & PropMultiple & PropName & PropRequired & PropShortKey & PropTouched;
575
- type InputFileAPI = Generic.Element.ComponentApi<RequiredProps$9, OptionalProps$9, RequiredStates$9, OptionalStates$9>;
593
+ type InputFileAPI = Generic.Element.ComponentApi<RequiredProps$8, OptionalProps$8, RequiredStates$8, OptionalStates$8>;
576
594
 
577
- type RequiredProps$8 = PropLabelWithExpertSlot;
578
- type OptionalProps$8 = {
595
+ type RequiredProps$7 = PropLabelWithExpertSlot;
596
+ type OptionalProps$7 = {
579
597
  max: number | NumberString;
580
598
  min: number | NumberString;
581
599
  msg: Stringified<MsgPropType>;
@@ -585,11 +603,11 @@ type OptionalProps$8 = {
585
603
  step: number | NumberString;
586
604
  value: number | NumberString | null;
587
605
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropHorizontalIcons & PropName & PropReadOnly & PropRequired & PropSuggestions & PropTouched;
588
- type RequiredStates$8 = {
606
+ type RequiredStates$7 = {
589
607
  hasValue: boolean;
590
608
  suggestions: W3CInputValue[];
591
609
  } & PropId & PropHideMsg & PropLabelWithExpertSlot;
592
- type OptionalStates$8 = {
610
+ type OptionalStates$7 = {
593
611
  max: number;
594
612
  min: number;
595
613
  on: InputTypeOnDefault;
@@ -598,7 +616,7 @@ type OptionalStates$8 = {
598
616
  step: number;
599
617
  value: number;
600
618
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMsg & PropName & PropReadOnly & PropRequired & PropSyncValueBySelector & PropShortKey & PropTouched;
601
- type InputNumberAPI = Generic.Element.ComponentApi<RequiredProps$8, OptionalProps$8, RequiredStates$8, OptionalStates$8>;
619
+ type InputNumberAPI = Generic.Element.ComponentApi<RequiredProps$7, OptionalProps$7, RequiredStates$7, OptionalStates$7>;
602
620
 
603
621
  declare const PasswordVariantPropTypeOptions: readonly ["default", "visibility-toggle"];
604
622
  type PasswordVariantPropType = (typeof PasswordVariantPropTypeOptions)[number];
@@ -606,8 +624,8 @@ type PropPasswordVariant = {
606
624
  variant: PasswordVariantPropType;
607
625
  };
608
626
 
609
- type RequiredProps$7 = PropLabelWithExpertSlot;
610
- type OptionalProps$7 = {
627
+ type RequiredProps$6 = PropLabelWithExpertSlot;
628
+ type OptionalProps$6 = {
611
629
  maxLength: number;
612
630
  on: InputTypeOnDefault;
613
631
  pattern: string;
@@ -616,12 +634,12 @@ type OptionalProps$7 = {
616
634
  value: string;
617
635
  msg: Stringified<MsgPropType>;
618
636
  } & PropAccessKey & PropAutoComplete & PropPasswordVariant & PropDisabled & PropHasCounter & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropMaxLengthBehavior & PropName & PropReadOnly & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
619
- type RequiredStates$7 = {
637
+ type RequiredStates$6 = {
620
638
  currentLength: number;
621
639
  currentLengthDebounced: number;
622
640
  hasValue: boolean;
623
641
  } & PropId & PropHideMsg & PropLabelWithExpertSlot;
624
- type OptionalStates$7 = {
642
+ type OptionalStates$6 = {
625
643
  maxLength: number;
626
644
  on: InputTypeOnDefault;
627
645
  pattern: string;
@@ -629,7 +647,7 @@ type OptionalStates$7 = {
629
647
  smartButton: ButtonProps;
630
648
  value: string | null;
631
649
  } & PropAccessKey & PropAutoComplete & PropPasswordVariant & PropDisabled & PropHasCounter & PropHideLabel & PropHint & KoliBriHIcons & PropMaxLengthBehavior & PropMsg & PropName & PropReadOnly & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
632
- type InputPasswordAPI = Generic.Element.ComponentApi<RequiredProps$7, OptionalProps$7, RequiredStates$7, OptionalStates$7>;
650
+ type InputPasswordAPI = Generic.Element.ComponentApi<RequiredProps$6, OptionalProps$6, RequiredStates$6, OptionalStates$6>;
633
651
 
634
652
  declare const orientationPropTypeOptions: readonly ["horizontal", "vertical"];
635
653
  type OrientationPropType = (typeof orientationPropTypeOptions)[number];
@@ -637,23 +655,23 @@ type PropOrientation = {
637
655
  orientation: OrientationPropType;
638
656
  };
639
657
 
640
- type RequiredProps$6 = PropLabelWithExpertSlot;
641
- type OptionalProps$6 = {
658
+ type RequiredProps$5 = PropLabelWithExpertSlot;
659
+ type OptionalProps$5 = {
642
660
  msg: Stringified<MsgPropType>;
643
661
  on: InputTypeOnDefault;
644
662
  value: StencilUnknown;
645
663
  } & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropName & PropOrientation & PropRadioOptions & PropRequired & PropSyncValueBySelector & PropTouched & PropTooltipAlign;
646
- type RequiredStates$6 = {
664
+ type RequiredStates$5 = {
647
665
  options: RadioOption<StencilUnknown>[];
648
666
  } & PropId & PropHideMsg & PropLabelWithExpertSlot & PropOrientation;
649
- type OptionalStates$6 = {
667
+ type OptionalStates$5 = {
650
668
  on: InputTypeOnDefault;
651
669
  value: StencilUnknown;
652
670
  } & PropDisabled & PropHideLabel & PropHint & PropMsg & PropName & PropRequired & PropTouched;
653
- type InputRadioAPI = Generic.Element.ComponentApi<RequiredProps$6, OptionalProps$6, RequiredStates$6, OptionalStates$6>;
671
+ type InputRadioAPI = Generic.Element.ComponentApi<RequiredProps$5, OptionalProps$5, RequiredStates$5, OptionalStates$5>;
654
672
 
655
- type RequiredProps$5 = PropLabelWithExpertSlot;
656
- type OptionalProps$5 = {
673
+ type RequiredProps$4 = PropLabelWithExpertSlot;
674
+ type OptionalProps$4 = {
657
675
  max: number | NumberString;
658
676
  min: number | NumberString;
659
677
  msg: Stringified<MsgPropType>;
@@ -661,20 +679,20 @@ type OptionalProps$5 = {
661
679
  step: number | NumberString;
662
680
  value: number | NumberString;
663
681
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropSuggestions & PropSyncValueBySelector & PropShortKey & PropTouched;
664
- type RequiredStates$5 = {
682
+ type RequiredStates$4 = {
665
683
  suggestions: W3CInputValue[];
666
684
  } & PropId & PropHideMsg & PropLabelWithExpertSlot;
667
- type OptionalStates$5 = {
685
+ type OptionalStates$4 = {
668
686
  max: number;
669
687
  min: number;
670
688
  on: InputTypeOnDefault;
671
689
  step: number;
672
690
  value: number;
673
691
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropMsg & PropName & PropShortKey & PropTouched;
674
- type InputRangeAPI = Generic.Element.ComponentApi<RequiredProps$5, OptionalProps$5, RequiredStates$5, OptionalStates$5>;
692
+ type InputRangeAPI = Generic.Element.ComponentApi<RequiredProps$4, OptionalProps$4, RequiredStates$4, OptionalStates$4>;
675
693
 
676
- type RequiredProps$4 = PropLabelWithExpertSlot;
677
- type OptionalProps$4 = {
694
+ type RequiredProps$3 = PropLabelWithExpertSlot;
695
+ type OptionalProps$3 = {
678
696
  maxLength: number;
679
697
  msg: Stringified<MsgPropType>;
680
698
  on: InputTypeOnDefault;
@@ -684,14 +702,14 @@ type OptionalProps$4 = {
684
702
  type: InputTextTypePropType;
685
703
  value: string;
686
704
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHasCounter & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropId & PropMaxLengthBehavior & PropName & PropReadOnly & PropRequired & PropShortKey & PropSpellCheck & PropSuggestions & PropSyncValueBySelector & PropTouched;
687
- type RequiredStates$4 = {
705
+ type RequiredStates$3 = {
688
706
  currentLength: number;
689
707
  currentLengthDebounced: number;
690
708
  hasValue: boolean;
691
709
  suggestions: W3CInputValue[];
692
710
  type: InputTextTypePropType;
693
711
  } & PropHideMsg & PropId & PropLabelWithExpertSlot;
694
- type OptionalStates$4 = {
712
+ type OptionalStates$3 = {
695
713
  maxLength: number;
696
714
  on: InputTypeOnDefault;
697
715
  pattern: string;
@@ -699,30 +717,48 @@ type OptionalStates$4 = {
699
717
  smartButton: ButtonProps;
700
718
  value: string;
701
719
  } & PropAccessKey & PropAutoComplete & PropDisabled & PropHasCounter & PropHideLabel & PropHint & KoliBriHIcons & PropMaxLengthBehavior & PropMsg & PropName & PropReadOnly & PropRequired & PropShortKey & PropSpellCheck & PropTouched;
702
- type InputTextAPI = Generic.Element.ComponentApi<RequiredProps$4, OptionalProps$4, RequiredStates$4, OptionalStates$4>;
720
+ type InputTextAPI = Generic.Element.ComponentApi<RequiredProps$3, OptionalProps$3, RequiredStates$3, OptionalStates$3>;
703
721
 
704
- type RequiredProps$3 = PropLabelWithExpertSlot & PropOptionsWithOptgroup;
705
- type OptionalProps$3 = {
722
+ type RequiredProps$2 = PropLabelWithExpertSlot & PropOptionsWithOptgroup;
723
+ type OptionalProps$2 = {
706
724
  msg: Stringified<MsgPropType>;
707
725
  on: InputTypeOnDefault;
708
726
  tabIndex: number;
709
727
  value: Stringified<StencilUnknown[]> | Stringified<StencilUnknown>;
710
728
  } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropMultiple & PropName & PropRequired & PropRows & PropShortKey & PropSyncValueBySelector & PropTouched;
711
- type RequiredStates$3 = {
729
+ type RequiredStates$2 = {
712
730
  hasValue: boolean;
713
731
  options: SelectOption<W3CInputValue>[];
714
732
  value: StencilUnknown[] | StencilUnknown;
715
733
  } & PropId & PropHideMsg & PropMultiple & PropLabelWithExpertSlot;
716
- type OptionalStates$3 = {
734
+ type OptionalStates$2 = {
717
735
  on: InputTypeOnDefault;
718
736
  tabIndex: number;
719
737
  } & PropAccessKey & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropId & PropName & PropRequired & PropRows & PropMsg & PropShortKey & PropTouched;
720
- type SelectAPI = Generic.Element.ComponentApi<RequiredProps$3, OptionalProps$3, RequiredStates$3, OptionalStates$3>;
738
+ type SelectAPI = Generic.Element.ComponentApi<RequiredProps$2, OptionalProps$2, RequiredStates$2, OptionalStates$2>;
739
+
740
+ type RequiredProps$1 = PropLabelWithExpertSlot & PropOptions;
741
+ type OptionalProps$1 = {
742
+ msg: Stringified<MsgPropType>;
743
+ on: InputTypeOnDefault;
744
+ placeholder: string;
745
+ value: StencilUnknown;
746
+ hideClearButton: boolean;
747
+ } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropRequired & PropRows & PropSyncValueBySelector & PropShortKey & PropTouched;
748
+ type RequiredStates$1 = {
749
+ options: Option<StencilUnknown>[];
750
+ } & PropId & PropHideMsg & PropLabelWithExpertSlot;
751
+ type OptionalStates$1 = {
752
+ on: InputTypeOnDefault;
753
+ placeholder: string;
754
+ hideClearButton: boolean;
755
+ } & PropAccessKey & PropDisabled & PropHideLabel & KoliBriHIcons & PropHint & PropId & PropName & PropRequired & PropRows & PropMsg & PropShortKey & PropTouched;
756
+ type SingleSelectAPI = Generic.Element.ComponentApi<RequiredProps$1, OptionalProps$1, RequiredStates$1, OptionalStates$1>;
721
757
 
722
758
  declare const cssResizeOptions: readonly ["vertical", "none"];
723
759
  type CSSResize = (typeof cssResizeOptions)[number];
724
- type RequiredProps$2 = PropLabelWithExpertSlot;
725
- type OptionalProps$2 = {
760
+ type RequiredProps = PropLabelWithExpertSlot;
761
+ type OptionalProps = {
726
762
  maxLength: number;
727
763
  msg: Stringified<MsgPropType>;
728
764
  on: InputTypeOnDefault;
@@ -730,56 +766,20 @@ type OptionalProps$2 = {
730
766
  resize: CSSResize;
731
767
  value: string;
732
768
  } & PropAccessKey & PropAdjustHeight & PropDisabled & PropHasCounter & PropHideLabel & PropHideMsg & PropHint & PropHorizontalIcons & PropId & PropMaxLengthBehavior & PropName & PropReadOnly & PropRequired & PropRows & PropShortKey & PropSpellCheck & PropSyncValueBySelector & PropTouched;
733
- type RequiredStates$2 = {
769
+ type RequiredStates = {
734
770
  adjustHeight: boolean;
735
771
  currentLength: number;
736
772
  currentLengthDebounced: number;
737
773
  hasValue: boolean;
738
774
  resize: CSSResize;
739
775
  } & PropAdjustHeight & PropHideMsg & PropId & PropLabelWithExpertSlot;
740
- type OptionalStates$2 = {
776
+ type OptionalStates = {
741
777
  maxLength: number;
742
778
  on: InputTypeOnDefault;
743
779
  placeholder: string;
744
780
  value: string;
745
781
  } & PropAccessKey & KoliBriHIcons & PropDisabled & PropHasCounter & PropHideLabel & PropHint & PropMaxLengthBehavior & PropMsg & PropName & PropReadOnly & PropRequired & PropRows & PropShortKey & PropSpellCheck & PropTouched;
746
- type TextareaAPI = Generic.Element.ComponentApi<RequiredProps$2, OptionalProps$2, RequiredStates$2, OptionalStates$2>;
747
-
748
- type RequiredProps$1 = PropLabelWithExpertSlot & PropSuggestions;
749
- type OptionalProps$1 = {
750
- msg: Stringified<MsgPropType>;
751
- on: InputTypeOnDefault;
752
- placeholder: string;
753
- value: string;
754
- } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched;
755
- type RequiredStates$1 = {
756
- hasValue: boolean;
757
- suggestions: W3CInputValue[];
758
- value: string;
759
- } & PropId & PropHideMsg & PropLabelWithExpertSlot;
760
- type OptionalStates$1 = {
761
- on: InputTypeOnDefault;
762
- placeholder: string;
763
- } & PropAccessKey & PropDisabled & PropHideLabel & PropHint & KoliBriHIcons & PropId & PropName & PropRequired & PropMsg & PropShortKey & PropTouched;
764
- type ComboboxAPI = Generic.Element.ComponentApi<RequiredProps$1, OptionalProps$1, RequiredStates$1, OptionalStates$1>;
765
-
766
- type RequiredProps = PropLabelWithExpertSlot & PropOptions;
767
- type OptionalProps = {
768
- msg: Stringified<MsgPropType>;
769
- on: InputTypeOnDefault;
770
- placeholder: string;
771
- value: StencilUnknown;
772
- hideClearButton: boolean;
773
- } & PropAccessKey & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropHorizontalIcons & PropName & PropRequired & PropRows & PropSyncValueBySelector & PropShortKey & PropTouched;
774
- type RequiredStates = {
775
- options: Option<StencilUnknown>[];
776
- } & PropId & PropHideMsg & PropLabelWithExpertSlot;
777
- type OptionalStates = {
778
- on: InputTypeOnDefault;
779
- placeholder: string;
780
- hideClearButton: boolean;
781
- } & PropAccessKey & PropDisabled & PropHideLabel & KoliBriHIcons & PropHint & PropId & PropName & PropRequired & PropRows & PropMsg & PropShortKey & PropTouched;
782
- type SingleSelectAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>;
782
+ type TextareaAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>;
783
783
 
784
784
  type ControllerBaseProps = {
785
785
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/react-hook-form-adapter",
3
- "version": "4.0.0-alpha.3",
3
+ "version": "4.0.0-alpha.4",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": {
@@ -52,18 +52,19 @@
52
52
  "@typescript-eslint/parser": "7.18.0",
53
53
  "eslint": "8.57.1",
54
54
  "prettier": "3.6.2",
55
+ "prettier-plugin-organize-imports": "4.3.0",
55
56
  "react": "19.1.1",
56
57
  "react-dom": "19.2.0",
57
58
  "react-hook-form": "7.63.0",
58
59
  "typescript": "5.9.3",
59
60
  "unbuild": "3.6.1",
60
- "@public-ui/components": "4.0.0-alpha.3",
61
- "@public-ui/react-v19": "4.0.0-alpha.3"
61
+ "@public-ui/components": "4.0.0-alpha.4",
62
+ "@public-ui/react-v19": "4.0.0-alpha.4"
62
63
  },
63
64
  "peerDependencies": {
64
65
  "react": "^19",
65
66
  "react-hook-form": "^7",
66
- "@public-ui/react-v19": "4.0.0-alpha.3"
67
+ "@public-ui/react-v19": "4.0.0-alpha.4"
67
68
  },
68
69
  "sideEffects": false,
69
70
  "type": "module",