-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make @leafygreen-ui/leafygreen-provider changes minor (#2528)
* Make LG Provider changes minor * Remove unused imports
- Loading branch information
Showing
30 changed files
with
596 additions
and
615 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
14 changes: 14 additions & 0 deletions
14
packages/leafygreen-provider/src/LeafyGreenContext.types.ts
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,14 @@ | ||
import { DarkModeProps } from '@leafygreen-ui/lib'; | ||
|
||
import { MigrationContextType } from './MigrationContext'; | ||
import { PortalContextValues } from './PortalContext'; | ||
import { TypographyProviderProps } from './TypographyContext'; | ||
|
||
export type LeafyGreenProviderProps = { | ||
/** | ||
* Define a container HTMLElement for components that utilize the `Portal` component | ||
*/ | ||
popoverPortalContainer?: PortalContextValues['popover']; | ||
} & TypographyProviderProps & | ||
DarkModeProps & | ||
MigrationContextType; |
88 changes: 0 additions & 88 deletions
88
packages/leafygreen-provider/src/ModalPopoverContext/ModalPopoverContext.spec.tsx
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
packages/leafygreen-provider/src/ModalPopoverContext/ModalPopoverContext.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.