-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Naming and organization improvements (#85)
* flatten location of form elements * Move form element definitions * Rename UI component types * Rename Pattern -> PatternProps * Rename FormElement -> Pattern * Rename FormDefinition -> BluePrint * Rename FormSession -> Session. Also, create preview components once when initializing the FormEditProvider, rather than on every render. * Remove required attribute * Revert "Rename FormSession -> Session." This reverts commit 746802a. * Rename Pattern.default to Pattern.initial * Remove ambiguity around createSession / createFormSession * Rename forms/elements to forms/patterns * Rename forms/pattern.ts to forms/components.ts * To avoid confusion, remove "Pattern" from the name of component props. * Use PatternProps at the point of component prop definition, rather than where comsumed. * Update README with terminology * Rename forms/element.ts to forms/pattern.ts * Replace additional references to "element" with "pattern"
- Loading branch information
1 parent
6b337b9
commit afd950d
Showing
68 changed files
with
1,069 additions
and
1,152 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
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
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.