-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(typescript): Refactor carbon/react index.js to index.ts to expose…
… new typescript typings (#12787) * refactor: add build support for TS * refactor: convert Checkbox and Text to typescript * refactor: add ts extensions to jest * refactor: add ts extensions to jsTransform.js * refactor: add type exports to barrels * refactor: do not convert TextDirectionContext to TS * chore: add comment * refactor: update Text with context * refactor: use @type jsdoc assertion * refactor: fix build and turn off explicit any rule * chore: yarn dedup * chore: run install withh yarn 3.2.4 * refactor: convert main index.js to ts. Always export named exports * chore: dedupe and merge fix * chore: update to yarn 3.3.0 * chore: remove new-line * chore: add Checkbox export * chore: run yarn test * chore: update test snap * chore: review comments * chore: fix typo Co-authored-by: Taylor Jones <taylor.jones826@gmail.com>
- Loading branch information
1 parent
b115fef
commit 7dc8160
Showing
108 changed files
with
535 additions
and
296 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,3 +95,4 @@ function AccordionSkeletonItem() { | |
} | ||
|
||
export default AccordionSkeleton; | ||
export { AccordionSkeleton }; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,3 +41,4 @@ BreadcrumbSkeleton.propTypes = { | |
}; | ||
|
||
export default BreadcrumbSkeleton; | ||
export { BreadcrumbSkeleton }; |
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 |
---|---|---|
|
@@ -78,3 +78,4 @@ ButtonSkeleton.propTypes = { | |
}; | ||
|
||
export default ButtonSkeleton; | ||
export { ButtonSkeleton }; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,3 +41,4 @@ CheckboxSkeleton.propTypes = { | |
}; | ||
|
||
export default CheckboxSkeleton; | ||
export { CheckboxSkeleton }; |
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 |
---|---|---|
|
@@ -59,3 +59,4 @@ CodeSnippetSkeleton.propTypes = { | |
}; | ||
|
||
export default CodeSnippetSkeleton; | ||
export { CodeSnippetSkeleton }; |
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.