-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename TypeScript types and export more of them
- Loading branch information
1 parent
e5fe910
commit 1d80509
Showing
46 changed files
with
290 additions
and
192 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,5 @@ | ||
import type { | ||
FormState as ModularForm, | ||
FieldState as ModularField, | ||
FieldValue as ModularValue, | ||
FieldValues as ModularValues, | ||
FieldArrayState as ModularFieldArray, | ||
} from './types'; | ||
export type { | ||
ModularForm, | ||
ModularField, | ||
ModularValue, | ||
ModularValues, | ||
ModularFieldArray, | ||
}; | ||
export * from './components'; | ||
export * from './methods'; | ||
export * from './primitives'; | ||
export * from './types'; | ||
export * from './validation'; |
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
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
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
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
6 changes: 3 additions & 3 deletions
6
...site/src/routes/api/ModularFieldArray.mdx → ...ebsite/src/routes/api/FieldArrayState.mdx
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { Description, Property, Title } from '~/components'; | ||
|
||
<Title>FieldElement</Title> | ||
<Description>Type that defines the HTML element of a field.</Description> | ||
|
||
# FieldElement | ||
|
||
Type that defines the HTML element of a field. | ||
|
||
## Definition | ||
|
||
- `FieldElement` <Property {...properties.FieldElement} /> | ||
|
||
export const properties = { | ||
FieldElement: { | ||
type: [ | ||
{ | ||
type: 'custom', | ||
name: 'HTMLInputElement', | ||
}, | ||
{ | ||
type: 'custom', | ||
name: 'HTMLSelectElement', | ||
}, | ||
{ | ||
type: 'custom', | ||
name: 'HTMLTextAreaElement', | ||
}, | ||
], | ||
}, | ||
}; |
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
8 changes: 4 additions & 4 deletions
8
...s/website/src/routes/api/ModularValue.mdx → ...ges/website/src/routes/api/FieldValue.mdx
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
18 changes: 9 additions & 9 deletions
18
.../website/src/routes/api/ModularValues.mdx → ...es/website/src/routes/api/FieldValues.mdx
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.