-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor
GOVUKFrontendComponent
root
typing
- Moves the type check of `root` into `GOVUKFrontendComponent` base class which components in the Design System extend - Moves assignment of `root` into the `GOVUKFrontendComponent` base class which components in the Design System extend - Adds `elementType` which specifies `type` of `root` to be checked and can be overloaded by child classes - Add `getGOVUKFrontendExportsNames` to `rollup.release.config.mjs` which ensures that we don't run into an error in which `window.*` is undefined during build - Update `Skeleton` section of js documentation to reflect new changes
- Loading branch information
1 parent
de6b95b
commit 7cb7b62
Showing
3 changed files
with
50 additions
and
21 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