-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support controlled and uncontrolled states in form components (#…
…2045) * fix: support controlled and uncontrolled states for form components
- Loading branch information
1 parent
279ce97
commit eacf2b4
Showing
120 changed files
with
1,785 additions
and
909 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+21.7 KB
.yarn/cache/@babel-helper-compilation-targets-npm-7.22.15-7aac9e71ad-ce85196769.zip
Binary file not shown.
Binary file added
BIN
+16 KB
.yarn/cache/@babel-helper-module-imports-npm-7.22.15-687e77ee50-ecd7e457df.zip
Binary file not shown.
Binary file added
BIN
+45.4 KB
.yarn/cache/@babel-helper-module-transforms-npm-7.23.3-69078a931c-5d0895cfba.zip
Binary file not shown.
Binary file added
BIN
+9.82 KB
.yarn/cache/@babel-helper-string-parser-npm-7.23.4-b1f0d030c3-c0641144cf.zip
Binary file not shown.
Binary file added
BIN
+7.15 KB
.yarn/cache/@babel-helper-validator-option-npm-7.22.15-29aa330042-68da52b1e1.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+10.7 KB
...cript-npm-0.2.1-ea6cd6307b-91401505b3.zip → ...cript-npm-0.3.0-e20c4a4bd6-3fe2dc68dc.zip
Binary file not shown.
Binary file added
BIN
+25.4 KB
.yarn/cache/@radix-ui-react-roving-focus-npm-1.0.4-7106f3083a-69b1c82c2d.zip
Binary file not shown.
Binary file added
BIN
+9.79 KB
.yarn/cache/@radix-ui-react-separator-npm-1.0.3-a8fd4c57de-42f8c95e40.zip
Binary file not shown.
Binary file added
BIN
+18 KB
.yarn/cache/@radix-ui-react-toggle-group-npm-1.0.4-8ed5373168-b6c11fbbc3.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+14.6 KB
.yarn/cache/@radix-ui-react-toolbar-npm-1.0.4-0625e3aacc-7ebee1f8ad.zip
Binary file not shown.
Binary file renamed
BIN
+20.7 KB
...-a11y-npm-7.2.0-883314ce28-255a8be298.zip → ...-a11y-npm-7.5.3-68759ed315-93cf28fcfc.zip
Binary file not shown.
Binary file renamed
BIN
+18.9 KB
...tions-npm-7.2.0-ff0b8d5b1e-53a7aa40a8.zip → ...tions-npm-7.5.3-7e0d06323f-d79baf1da3.zip
Binary file not shown.
Binary file removed
BIN
-12.9 KB
.yarn/cache/@storybook-addon-backgrounds-npm-7.2.0-a6bbb634ce-3d727d1c72.zip
Binary file not shown.
Binary file added
BIN
+12.5 KB
.yarn/cache/@storybook-addon-backgrounds-npm-7.5.3-fc73c6cf8b-6a432d490a.zip
Binary file not shown.
Binary file renamed
BIN
+8.92 KB
...trols-npm-7.2.0-c0c7de568a-078a833711.zip → ...trols-npm-7.5.3-6e1a703c4e-c86f8da8a3.zip
Binary file not shown.
Binary file renamed
BIN
+36.5 KB
...-docs-npm-7.2.0-e411177355-c4ed5cbc8b.zip → ...-docs-npm-7.5.3-a70b3f79db-54ef17505c.zip
Binary file not shown.
Binary file renamed
BIN
+24 KB
...tials-npm-7.2.0-e689506b9c-3fe6fac252.zip → ...tials-npm-7.5.3-73eb43a281-57341a40f9.zip
Binary file not shown.
Binary file renamed
BIN
+6.81 KB
...light-npm-7.2.0-f98566dfbe-3c7af52c87.zip → ...light-npm-7.5.3-b5dcb5a983-be468def9a.zip
Binary file not shown.
Binary file renamed
BIN
+39.1 KB
...tions-npm-7.2.0-74b7b1bd7d-66891245ce.zip → ...tions-npm-7.5.3-facbb38e88-fec8909767.zip
Binary file not shown.
Binary file renamed
BIN
+14.7 KB
...links-npm-7.2.0-0b5fae3657-ec27a9a0ea.zip → ...links-npm-7.5.3-bec669dc6d-cc1f425b85.zip
Binary file not shown.
Binary file renamed
BIN
+3.58 KB
...x-gfm-npm-7.2.0-900aaf57f6-1861374d1b.zip → ...x-gfm-npm-7.5.3-3d61e8bd7a-6814b9c042.zip
Binary file not shown.
Binary file renamed
BIN
+15.1 KB
...asure-npm-7.2.0-ec32721fc6-e7efc9b0cd.zip → ...asure-npm-7.5.3-a0465a629b-a0b6cf0a4d.zip
Binary file not shown.
Binary file renamed
BIN
+10.5 KB
...tline-npm-7.2.0-56b02f15a8-c7af27abc9.zip → ...tline-npm-7.5.3-1997ab169c-07bf04a642.zip
Binary file not shown.
Binary file renamed
BIN
+8.85 KB
...lbars-npm-7.2.0-936a57aea3-bba2e288f7.zip → ...lbars-npm-7.5.3-09dda01d80-c61d953a53.zip
Binary file not shown.
Binary file renamed
BIN
+14.5 KB
...wport-npm-7.2.0-a8f837200b-d8d9aec6e6.zip → ...wport-npm-7.5.3-7f76a863dc-4b324c9edc.zip
Binary file not shown.
Binary file renamed
BIN
+3.09 KB
...ddons-npm-7.2.0-321b0d0904-0ea6c3dffb.zip → ...ddons-npm-7.5.3-1e623b1dca-8f0ff3cbff.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-18.7 KB
.yarn/cache/@storybook-builder-manager-npm-7.2.0-9ae50537b8-80fa828ab9.zip
Binary file not shown.
Binary file added
BIN
+19.6 KB
.yarn/cache/@storybook-builder-manager-npm-7.5.3-1bca594f4b-dab636019e.zip
Binary file not shown.
Binary file removed
BIN
-85.9 KB
.yarn/cache/@storybook-builder-vite-npm-7.2.0-dee2cc8d23-baacd75b0c.zip
Binary file not shown.
Binary file added
BIN
+84.7 KB
.yarn/cache/@storybook-builder-vite-npm-7.5.3-7fa68aa729-5b323bfc89.zip
Binary file not shown.
Binary file removed
BIN
-18.7 KB
.yarn/cache/@storybook-channels-npm-7.2.0-6f3bc7c42c-2ec3202722.zip
Binary file not shown.
Binary file renamed
BIN
+869 KB
...k-cli-npm-7.2.0-8c5a4ca8eb-0364f1ed06.zip → ...k-cli-npm-7.5.3-d9d410c4e8-1c65a34271.zip
Binary file not shown.
Binary file removed
BIN
-2.97 KB
.yarn/cache/@storybook-client-api-npm-7.2.0-b445236bf4-4e96d44190.zip
Binary file not shown.
Binary file added
BIN
+2.58 KB
.yarn/cache/@storybook-client-api-npm-7.5.3-61f2fd8271-3add5c85b1.zip
Binary file not shown.
Binary file removed
BIN
-4.66 KB
.yarn/cache/@storybook-client-logger-npm-7.2.0-528401d554-8484aac2d4.zip
Binary file not shown.
Binary file renamed
BIN
+227 KB
...demod-npm-7.2.0-c6583801e7-f1a2ce2f5c.zip → ...demod-npm-7.5.3-57e0a8ca29-e701293d23.zip
Binary file not shown.
Binary file renamed
BIN
+1.44 MB
...nents-npm-7.2.0-5e0bb16196-3885975480.zip → ...nents-npm-7.5.3-e100fae588-a73dbc33e0.zip
Binary file not shown.
Binary file renamed
BIN
+4.11 KB
...lient-npm-7.2.0-9de79d438d-0984e2a576.zip → ...lient-npm-7.5.3-03bbd2d434-9533de3f66.zip
Binary file not shown.
Binary file removed
BIN
-25.7 KB
.yarn/cache/@storybook-core-common-npm-7.2.0-21589a82f1-806b444413.zip
Binary file not shown.
Binary file added
BIN
+25.1 KB
.yarn/cache/@storybook-core-common-npm-7.5.3-017b14e33d-152816728c.zip
Binary file not shown.
Binary file removed
BIN
-5.94 KB
.yarn/cache/@storybook-core-events-npm-7.2.0-fbefb7ce68-a88cc65115.zip
Binary file not shown.
Binary file removed
BIN
-708 KB
.yarn/cache/@storybook-core-server-npm-7.2.0-4aea186790-489d00d836.zip
Binary file not shown.
Binary file added
BIN
+706 KB
.yarn/cache/@storybook-core-server-npm-7.5.3-fb6a4f7bf0-8d5da88223.zip
Binary file not shown.
Binary file renamed
BIN
+4.15 KB
...lugin-npm-7.2.0-d96cc401fa-0dc4d2b80c.zip → ...lugin-npm-7.5.3-80c717f1fd-3252d8834e.zip
Binary file not shown.
Binary file removed
BIN
-12.7 KB
.yarn/cache/@storybook-csf-tools-npm-7.2.0-a50e8074c5-26b55e16c2.zip
Binary file not shown.
Binary file removed
BIN
-16.1 KB
.yarn/cache/@storybook-docs-tools-npm-7.2.0-b272c4a0e4-0da7425dee.zip
Binary file not shown.
Binary file added
BIN
+12.3 KB
.yarn/cache/@storybook-docs-tools-npm-7.5.3-78b9dff9b4-27d8e55927.zip
Binary file not shown.
Binary file renamed
BIN
+15.1 KB
...enter-npm-7.2.0-5868a07280-2967478b6e.zip → ...enter-npm-7.5.3-4b7d2774f2-32a63211ba.zip
Binary file not shown.
Binary file removed
BIN
-49.6 KB
.yarn/cache/@storybook-manager-api-npm-7.2.0-2392033d3f-54e99fa6db.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+44.5 KB
...ogger-npm-7.2.0-f6226ab45b-a8a2a110da.zip → ...ogger-npm-7.5.3-44fd33314c-9dec669a9a.zip
Binary file not shown.
Binary file removed
BIN
-7.61 KB
.yarn/cache/@storybook-postinstall-npm-7.2.0-0bc4cb9a99-26c2f6c335.zip
Binary file not shown.
Binary file added
BIN
+4.7 KB
.yarn/cache/@storybook-postinstall-npm-7.5.3-1f9822546e-66e54ca864.zip
Binary file not shown.
Binary file removed
BIN
-224 KB
.yarn/cache/@storybook-preview-api-npm-7.2.0-cf1ab6be88-6e57e6ab43.zip
Binary file not shown.
Binary file added
BIN
+222 KB
.yarn/cache/@storybook-preview-api-npm-7.5.3-24f57cbbe7-9e75ad27a0.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-14 KB
.yarn/cache/@storybook-react-dom-shim-npm-7.2.0-a2bb1d7ee1-577469305f.zip
Binary file not shown.
Binary file added
BIN
+14.8 KB
.yarn/cache/@storybook-react-dom-shim-npm-7.5.3-37f853b59c-41071d4102.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-15.2 KB
.yarn/cache/@storybook-react-vite-npm-7.2.0-efd64073c5-f43fb8c81c.zip
Binary file not shown.
Binary file added
BIN
+15.1 KB
.yarn/cache/@storybook-react-vite-npm-7.5.3-731ba29685-701ae04b08.zip
Binary file not shown.
Binary file renamed
BIN
+27.9 KB
...outer-npm-7.2.0-5e5b95cfa1-2f879c399b.zip → ...outer-npm-7.5.3-6ada0b847e-7c7c9a6f6e.zip
Binary file not shown.
Binary file removed
BIN
-80.6 KB
.yarn/cache/@storybook-telemetry-npm-7.2.0-a46e0f88ef-4e9eba1f0c.zip
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+148 KB
...eming-npm-7.2.0-eeba03afdf-c1ce1e4875.zip → ...eming-npm-7.5.3-a6fe77f29c-e9769d0ad9.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+15.9 KB
.yarn/cache/@types-babel__traverse-npm-7.20.4-49941d89c4-f044ba80e0.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-113 KB
.yarn/cache/react-docgen-npm-6.0.0-alpha.3-a0cd4811b0-db4c300910.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+1.65 KB
...ybook-npm-7.2.0-9ae0d819bb-4c0b84edec.zip → ...ybook-npm-7.5.3-84a2852c39-d5263aa78f.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/*! | ||
* Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved. | ||
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.") | ||
* | ||
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* | ||
* See the License for the specific language governing permissions and limitations under the License. | ||
*/ | ||
|
||
import { FC } from "react"; | ||
|
||
export interface ForwardRefWithType extends FC<WithForwardRefProps<Option>> { | ||
<T extends Option>(props: WithForwardRefProps<T>): ReturnType< | ||
FC<WithForwardRefProps<T>> | ||
>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.