@leafygreen-ui/leafygreen-provider
Advanced tools
Comparing version 3.1.11 to 3.1.12
# @leafygreen-ui/leafygreen-provider | ||
## 3.1.12 | ||
### Patch Changes | ||
- 15185af0: Imports Storybook utilities from `@lg-tools/storybook-utils` (previously imported from `@leafygreen-ui/lib`) | ||
- 356a53fd: Update TS builds to use `typescript@4.9.5` | ||
- Updated dependencies [15185af0] | ||
- Updated dependencies [356a53fd] | ||
- Updated dependencies [66df9ab8] | ||
- @leafygreen-ui/lib@13.3.0 | ||
- @leafygreen-ui/hooks@8.1.3 | ||
## 3.1.11 | ||
@@ -4,0 +16,0 @@ |
@@ -9,3 +9,3 @@ import React, { PropsWithChildren } from 'react'; | ||
export declare const useDarkModeContext: () => DarkModeContextProps; | ||
declare type useDarkMode = (localDarkMode?: boolean) => { | ||
type useDarkMode = (localDarkMode?: boolean) => { | ||
darkMode: boolean; | ||
@@ -12,0 +12,0 @@ theme: Theme; |
@@ -6,3 +6,3 @@ import React, { PropsWithChildren } from 'react'; | ||
import { TypographyProviderProps } from './TypographyContext'; | ||
export declare type LeafyGreenProviderProps = { | ||
export type LeafyGreenProviderProps = { | ||
/** | ||
@@ -9,0 +9,0 @@ * Define a container HTMLElement for components that utilize the `Portal` component |
import React, { PropsWithChildren } from 'react'; | ||
import PropTypes from 'prop-types'; | ||
declare type FontSize = 14 | 16; | ||
type FontSize = 14 | 16; | ||
export interface TypographyProviderProps { | ||
@@ -5,0 +5,0 @@ /** |
{ | ||
"name": "@leafygreen-ui/leafygreen-provider", | ||
"version": "3.1.11", | ||
"version": "3.1.12", | ||
"description": "LeafyGreen UI Context Provider", | ||
@@ -25,4 +25,4 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"@leafygreen-ui/lib": "^13.2.0", | ||
"@leafygreen-ui/hooks": "^8.1.0" | ||
"@leafygreen-ui/lib": "^13.3.0", | ||
"@leafygreen-ui/hooks": "^8.1.3" | ||
}, | ||
@@ -38,3 +38,5 @@ "gitHead": "dd71a2d404218ccec2e657df9c0263dc1c15b9e0", | ||
}, | ||
"devDependencies": {} | ||
"devDependencies": { | ||
"@lg-tools/storybook-utils": "^0.1.0" | ||
} | ||
} |
@@ -16,3 +16,3 @@ { | ||
], | ||
"exclude": ["**/*.spec.*", "**/*.story.*"], | ||
"exclude": ["**/*.spec.*", "**/*.stories.*"], | ||
"references": [ | ||
@@ -19,0 +19,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
97230
1
40
1268
Updated@leafygreen-ui/hooks@^8.1.3
Updated@leafygreen-ui/lib@^13.3.0