@public-ui/react-hook-form-adapter 3.0.6 → 3.0.7-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
@@ -1703,7 +1703,7 @@ type ButtonProps = Generic.Element.Members<RequiredButtonProps, OptionalButtonPr
1703
1703
  type RequiredProps$1 = PropHref;
1704
1704
  type OptionalProps$1 = {
1705
1705
  tabIndex: number;
1706
- } & PropAccessKey & PropAlternativeButtonLinkRole & PropAriaCurrentValue & PropAriaDescription & PropDisabled & PropDownload & PropHideLabel & PropIcons & PropLabelWithExpertSlot & PropLinkOnCallbacks & PropLinkTarget & PropLinkVariant & PropShortKey & PropTooltipAlign;
1706
+ } & PropAccessKey & PropAlternativeButtonLinkRole & PropAriaCurrentValue & PropAriaControls & PropAriaDescription & PropDisabled & PropDownload & PropHideLabel & PropIcons & PropLabelWithExpertSlot & PropLinkOnCallbacks & PropLinkTarget & PropLinkVariant & PropShortKey & PropTooltipAlign;
1707
1707
  type LinkProps = Generic.Element.Members<RequiredProps$1, OptionalProps$1>;
1708
1708
 
1709
1709
  type BreadcrumbLinkProps = LinkProps & LabelProp;
@@ -3737,6 +3737,10 @@ declare namespace Components {
3737
3737
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
3738
3738
  */
3739
3739
  "_accessKey"?: AccessKeyPropType;
3740
+ /**
3741
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
3742
+ */
3743
+ "_ariaControls"?: string;
3740
3744
  /**
3741
3745
  * Defines the value for the aria-current attribute.
3742
3746
  */
@@ -3745,6 +3749,11 @@ declare namespace Components {
3745
3749
  * Defines the value for the aria-description attribute.
3746
3750
  */
3747
3751
  "_ariaDescription"?: AriaDescriptionPropType;
3752
+ /**
3753
+ * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)
3754
+ * @TODO : Change type back to `AriaExpandedPropType` after Stencil#4663 has been resolved.
3755
+ */
3756
+ "_ariaExpanded"?: boolean;
3748
3757
  /**
3749
3758
  * Makes the element not focusable and ignore all events.
3750
3759
  * @default false
@@ -3809,6 +3818,10 @@ declare namespace Components {
3809
3818
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
3810
3819
  */
3811
3820
  "_accessKey"?: AccessKeyPropType;
3821
+ /**
3822
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
3823
+ */
3824
+ "_ariaControls"?: string;
3812
3825
  /**
3813
3826
  * Defines the value for the aria-current attribute.
3814
3827
  */
@@ -3885,6 +3898,10 @@ declare namespace Components {
3885
3898
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
3886
3899
  */
3887
3900
  "_accessKey"?: AccessKeyPropType;
3901
+ /**
3902
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
3903
+ */
3904
+ "_ariaControls"?: string;
3888
3905
  /**
3889
3906
  * Defines the value for the aria-current attribute.
3890
3907
  */
@@ -4036,6 +4053,7 @@ declare namespace Components {
4036
4053
  "_links": Stringified<ButtonOrLinkOrTextWithChildrenProps[]>;
4037
4054
  /**
4038
4055
  * Defines whether the orientation of the component is horizontal or vertical.
4056
+ * @deprecated Will be removed in the next major version.
4039
4057
  * @default 'vertical'
4040
4058
  */
4041
4059
  "_orientation"?: OrientationPropType;
@@ -7358,6 +7376,10 @@ declare namespace LocalJSX {
7358
7376
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
7359
7377
  */
7360
7378
  "_accessKey"?: AccessKeyPropType;
7379
+ /**
7380
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
7381
+ */
7382
+ "_ariaControls"?: string;
7361
7383
  /**
7362
7384
  * Defines the value for the aria-current attribute.
7363
7385
  */
@@ -7366,6 +7388,11 @@ declare namespace LocalJSX {
7366
7388
  * Defines the value for the aria-description attribute.
7367
7389
  */
7368
7390
  "_ariaDescription"?: AriaDescriptionPropType;
7391
+ /**
7392
+ * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)
7393
+ * @TODO : Change type back to `AriaExpandedPropType` after Stencil#4663 has been resolved.
7394
+ */
7395
+ "_ariaExpanded"?: boolean;
7369
7396
  /**
7370
7397
  * Makes the element not focusable and ignore all events.
7371
7398
  * @default false
@@ -7426,6 +7453,10 @@ declare namespace LocalJSX {
7426
7453
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
7427
7454
  */
7428
7455
  "_accessKey"?: AccessKeyPropType;
7456
+ /**
7457
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
7458
+ */
7459
+ "_ariaControls"?: string;
7429
7460
  /**
7430
7461
  * Defines the value for the aria-current attribute.
7431
7462
  */
@@ -7498,6 +7529,10 @@ declare namespace LocalJSX {
7498
7529
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
7499
7530
  */
7500
7531
  "_accessKey"?: AccessKeyPropType;
7532
+ /**
7533
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
7534
+ */
7535
+ "_ariaControls"?: string;
7501
7536
  /**
7502
7537
  * Defines the value for the aria-current attribute.
7503
7538
  */
@@ -7628,6 +7663,7 @@ declare namespace LocalJSX {
7628
7663
  "_links": Stringified<ButtonOrLinkOrTextWithChildrenProps[]>;
7629
7664
  /**
7630
7665
  * Defines whether the orientation of the component is horizontal or vertical.
7666
+ * @deprecated Will be removed in the next major version.
7631
7667
  * @default 'vertical'
7632
7668
  */
7633
7669
  "_orientation"?: OrientationPropType;
package/dist/index.d.mts CHANGED
@@ -1703,7 +1703,7 @@ type ButtonProps = Generic.Element.Members<RequiredButtonProps, OptionalButtonPr
1703
1703
  type RequiredProps$1 = PropHref;
1704
1704
  type OptionalProps$1 = {
1705
1705
  tabIndex: number;
1706
- } & PropAccessKey & PropAlternativeButtonLinkRole & PropAriaCurrentValue & PropAriaDescription & PropDisabled & PropDownload & PropHideLabel & PropIcons & PropLabelWithExpertSlot & PropLinkOnCallbacks & PropLinkTarget & PropLinkVariant & PropShortKey & PropTooltipAlign;
1706
+ } & PropAccessKey & PropAlternativeButtonLinkRole & PropAriaCurrentValue & PropAriaControls & PropAriaDescription & PropDisabled & PropDownload & PropHideLabel & PropIcons & PropLabelWithExpertSlot & PropLinkOnCallbacks & PropLinkTarget & PropLinkVariant & PropShortKey & PropTooltipAlign;
1707
1707
  type LinkProps = Generic.Element.Members<RequiredProps$1, OptionalProps$1>;
1708
1708
 
1709
1709
  type BreadcrumbLinkProps = LinkProps & LabelProp;
@@ -3737,6 +3737,10 @@ declare namespace Components {
3737
3737
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
3738
3738
  */
3739
3739
  "_accessKey"?: AccessKeyPropType;
3740
+ /**
3741
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
3742
+ */
3743
+ "_ariaControls"?: string;
3740
3744
  /**
3741
3745
  * Defines the value for the aria-current attribute.
3742
3746
  */
@@ -3745,6 +3749,11 @@ declare namespace Components {
3745
3749
  * Defines the value for the aria-description attribute.
3746
3750
  */
3747
3751
  "_ariaDescription"?: AriaDescriptionPropType;
3752
+ /**
3753
+ * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)
3754
+ * @TODO : Change type back to `AriaExpandedPropType` after Stencil#4663 has been resolved.
3755
+ */
3756
+ "_ariaExpanded"?: boolean;
3748
3757
  /**
3749
3758
  * Makes the element not focusable and ignore all events.
3750
3759
  * @default false
@@ -3809,6 +3818,10 @@ declare namespace Components {
3809
3818
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
3810
3819
  */
3811
3820
  "_accessKey"?: AccessKeyPropType;
3821
+ /**
3822
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
3823
+ */
3824
+ "_ariaControls"?: string;
3812
3825
  /**
3813
3826
  * Defines the value for the aria-current attribute.
3814
3827
  */
@@ -3885,6 +3898,10 @@ declare namespace Components {
3885
3898
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
3886
3899
  */
3887
3900
  "_accessKey"?: AccessKeyPropType;
3901
+ /**
3902
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
3903
+ */
3904
+ "_ariaControls"?: string;
3888
3905
  /**
3889
3906
  * Defines the value for the aria-current attribute.
3890
3907
  */
@@ -4036,6 +4053,7 @@ declare namespace Components {
4036
4053
  "_links": Stringified<ButtonOrLinkOrTextWithChildrenProps[]>;
4037
4054
  /**
4038
4055
  * Defines whether the orientation of the component is horizontal or vertical.
4056
+ * @deprecated Will be removed in the next major version.
4039
4057
  * @default 'vertical'
4040
4058
  */
4041
4059
  "_orientation"?: OrientationPropType;
@@ -7358,6 +7376,10 @@ declare namespace LocalJSX {
7358
7376
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
7359
7377
  */
7360
7378
  "_accessKey"?: AccessKeyPropType;
7379
+ /**
7380
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
7381
+ */
7382
+ "_ariaControls"?: string;
7361
7383
  /**
7362
7384
  * Defines the value for the aria-current attribute.
7363
7385
  */
@@ -7366,6 +7388,11 @@ declare namespace LocalJSX {
7366
7388
  * Defines the value for the aria-description attribute.
7367
7389
  */
7368
7390
  "_ariaDescription"?: AriaDescriptionPropType;
7391
+ /**
7392
+ * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)
7393
+ * @TODO : Change type back to `AriaExpandedPropType` after Stencil#4663 has been resolved.
7394
+ */
7395
+ "_ariaExpanded"?: boolean;
7369
7396
  /**
7370
7397
  * Makes the element not focusable and ignore all events.
7371
7398
  * @default false
@@ -7426,6 +7453,10 @@ declare namespace LocalJSX {
7426
7453
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
7427
7454
  */
7428
7455
  "_accessKey"?: AccessKeyPropType;
7456
+ /**
7457
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
7458
+ */
7459
+ "_ariaControls"?: string;
7429
7460
  /**
7430
7461
  * Defines the value for the aria-current attribute.
7431
7462
  */
@@ -7498,6 +7529,10 @@ declare namespace LocalJSX {
7498
7529
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
7499
7530
  */
7500
7531
  "_accessKey"?: AccessKeyPropType;
7532
+ /**
7533
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
7534
+ */
7535
+ "_ariaControls"?: string;
7501
7536
  /**
7502
7537
  * Defines the value for the aria-current attribute.
7503
7538
  */
@@ -7628,6 +7663,7 @@ declare namespace LocalJSX {
7628
7663
  "_links": Stringified<ButtonOrLinkOrTextWithChildrenProps[]>;
7629
7664
  /**
7630
7665
  * Defines whether the orientation of the component is horizontal or vertical.
7666
+ * @deprecated Will be removed in the next major version.
7631
7667
  * @default 'vertical'
7632
7668
  */
7633
7669
  "_orientation"?: OrientationPropType;
package/dist/index.d.ts CHANGED
@@ -1703,7 +1703,7 @@ type ButtonProps = Generic.Element.Members<RequiredButtonProps, OptionalButtonPr
1703
1703
  type RequiredProps$1 = PropHref;
1704
1704
  type OptionalProps$1 = {
1705
1705
  tabIndex: number;
1706
- } & PropAccessKey & PropAlternativeButtonLinkRole & PropAriaCurrentValue & PropAriaDescription & PropDisabled & PropDownload & PropHideLabel & PropIcons & PropLabelWithExpertSlot & PropLinkOnCallbacks & PropLinkTarget & PropLinkVariant & PropShortKey & PropTooltipAlign;
1706
+ } & PropAccessKey & PropAlternativeButtonLinkRole & PropAriaCurrentValue & PropAriaControls & PropAriaDescription & PropDisabled & PropDownload & PropHideLabel & PropIcons & PropLabelWithExpertSlot & PropLinkOnCallbacks & PropLinkTarget & PropLinkVariant & PropShortKey & PropTooltipAlign;
1707
1707
  type LinkProps = Generic.Element.Members<RequiredProps$1, OptionalProps$1>;
1708
1708
 
1709
1709
  type BreadcrumbLinkProps = LinkProps & LabelProp;
@@ -3737,6 +3737,10 @@ declare namespace Components {
3737
3737
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
3738
3738
  */
3739
3739
  "_accessKey"?: AccessKeyPropType;
3740
+ /**
3741
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
3742
+ */
3743
+ "_ariaControls"?: string;
3740
3744
  /**
3741
3745
  * Defines the value for the aria-current attribute.
3742
3746
  */
@@ -3745,6 +3749,11 @@ declare namespace Components {
3745
3749
  * Defines the value for the aria-description attribute.
3746
3750
  */
3747
3751
  "_ariaDescription"?: AriaDescriptionPropType;
3752
+ /**
3753
+ * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)
3754
+ * @TODO : Change type back to `AriaExpandedPropType` after Stencil#4663 has been resolved.
3755
+ */
3756
+ "_ariaExpanded"?: boolean;
3748
3757
  /**
3749
3758
  * Makes the element not focusable and ignore all events.
3750
3759
  * @default false
@@ -3809,6 +3818,10 @@ declare namespace Components {
3809
3818
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
3810
3819
  */
3811
3820
  "_accessKey"?: AccessKeyPropType;
3821
+ /**
3822
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
3823
+ */
3824
+ "_ariaControls"?: string;
3812
3825
  /**
3813
3826
  * Defines the value for the aria-current attribute.
3814
3827
  */
@@ -3885,6 +3898,10 @@ declare namespace Components {
3885
3898
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
3886
3899
  */
3887
3900
  "_accessKey"?: AccessKeyPropType;
3901
+ /**
3902
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
3903
+ */
3904
+ "_ariaControls"?: string;
3888
3905
  /**
3889
3906
  * Defines the value for the aria-current attribute.
3890
3907
  */
@@ -4036,6 +4053,7 @@ declare namespace Components {
4036
4053
  "_links": Stringified<ButtonOrLinkOrTextWithChildrenProps[]>;
4037
4054
  /**
4038
4055
  * Defines whether the orientation of the component is horizontal or vertical.
4056
+ * @deprecated Will be removed in the next major version.
4039
4057
  * @default 'vertical'
4040
4058
  */
4041
4059
  "_orientation"?: OrientationPropType;
@@ -7358,6 +7376,10 @@ declare namespace LocalJSX {
7358
7376
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
7359
7377
  */
7360
7378
  "_accessKey"?: AccessKeyPropType;
7379
+ /**
7380
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
7381
+ */
7382
+ "_ariaControls"?: string;
7361
7383
  /**
7362
7384
  * Defines the value for the aria-current attribute.
7363
7385
  */
@@ -7366,6 +7388,11 @@ declare namespace LocalJSX {
7366
7388
  * Defines the value for the aria-description attribute.
7367
7389
  */
7368
7390
  "_ariaDescription"?: AriaDescriptionPropType;
7391
+ /**
7392
+ * Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)
7393
+ * @TODO : Change type back to `AriaExpandedPropType` after Stencil#4663 has been resolved.
7394
+ */
7395
+ "_ariaExpanded"?: boolean;
7369
7396
  /**
7370
7397
  * Makes the element not focusable and ignore all events.
7371
7398
  * @default false
@@ -7426,6 +7453,10 @@ declare namespace LocalJSX {
7426
7453
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
7427
7454
  */
7428
7455
  "_accessKey"?: AccessKeyPropType;
7456
+ /**
7457
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
7458
+ */
7459
+ "_ariaControls"?: string;
7429
7460
  /**
7430
7461
  * Defines the value for the aria-current attribute.
7431
7462
  */
@@ -7498,6 +7529,10 @@ declare namespace LocalJSX {
7498
7529
  * Defines the key combination that can be used to trigger or focus the component’s interactive element.
7499
7530
  */
7500
7531
  "_accessKey"?: AccessKeyPropType;
7532
+ /**
7533
+ * Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)
7534
+ */
7535
+ "_ariaControls"?: string;
7501
7536
  /**
7502
7537
  * Defines the value for the aria-current attribute.
7503
7538
  */
@@ -7628,6 +7663,7 @@ declare namespace LocalJSX {
7628
7663
  "_links": Stringified<ButtonOrLinkOrTextWithChildrenProps[]>;
7629
7664
  /**
7630
7665
  * Defines whether the orientation of the component is horizontal or vertical.
7666
+ * @deprecated Will be removed in the next major version.
7631
7667
  * @default 'vertical'
7632
7668
  */
7633
7669
  "_orientation"?: OrientationPropType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/react-hook-form-adapter",
3
- "version": "3.0.6",
3
+ "version": "3.0.7-rc.0",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": {
@@ -54,15 +54,16 @@
54
54
  "prettier": "3.6.2",
55
55
  "react": "19.1.1",
56
56
  "react-dom": "19.1.1",
57
+ "react-hook-form": "7.63.0",
57
58
  "typescript": "5.9.2",
58
59
  "unbuild": "3.6.1",
59
- "@public-ui/components": "3.0.6",
60
- "@public-ui/react-v19": "3.0.6"
60
+ "@public-ui/components": "3.0.7-rc.0",
61
+ "@public-ui/react-v19": "3.0.7-rc.0"
61
62
  },
62
63
  "peerDependencies": {
63
64
  "react": "^19",
64
65
  "react-hook-form": "^7",
65
- "@public-ui/react-v19": "3.0.6"
66
+ "@public-ui/react-v19": "3.0.7-rc.0"
66
67
  },
67
68
  "sideEffects": false,
68
69
  "type": "module",