@preply/ds-web-core
Advanced tools
Comparing version 0.99.3 to 0.100.0
@@ -1,2 +0,2 @@ | ||
import type { ThemeName } from '@preply/ds-core'; | ||
import type { Dataset, ThemeName } from '@preply/ds-core'; | ||
import React, { ReactElement, ReactNode } from 'react'; | ||
@@ -7,2 +7,6 @@ import type { ThemeInterface } from '../types'; | ||
tag?: keyof JSX.IntrinsicElements; | ||
/** | ||
* Uneffective if `tag` isn't passed. | ||
*/ | ||
dataSet?: Dataset; | ||
children?: ReactNode; | ||
@@ -16,4 +20,4 @@ } | ||
export declare const ThemeContext: React.Context<ThemeContextState>; | ||
export declare const ThemeProvider: ({ theme: themeName, children, tag: Tag, }: ThemeProviderProps) => ReactElement; | ||
export declare const ThemeProvider: ({ theme: themeName, children, tag: Tag, dataSet, }: ThemeProviderProps) => ReactElement; | ||
export {}; | ||
//# sourceMappingURL=ThemeProvider.d.ts.map |
'use client'; | ||
import React, { createContext, useContext, useState } from 'react'; | ||
import { ColorSchemeContext } from '../../color-scheme/providers/ColorSchemeProvider.js'; | ||
import { getDatasetProps } from '../../dom/props/index.js'; | ||
import { useThemes } from '../hooks/useThemes.js'; | ||
const ThemeContext = createContext({}); | ||
const ThemeProvider = ({ theme: themeName, children, tag: Tag, }) => { | ||
const ThemeProvider = ({ theme: themeName, children, tag: Tag, dataSet, }) => { | ||
const { findTheme } = useThemes(); | ||
@@ -16,3 +17,3 @@ const { colorScheme } = useContext(ColorSchemeContext); | ||
return (React.createElement(ThemeContext.Provider, { value: { theme, setTheme } }, | ||
Tag && React.createElement(Tag, { className: tagClassNames }, children), | ||
Tag && (React.createElement(Tag, { className: tagClassNames, ...getDatasetProps(dataSet) }, children)), | ||
!Tag && children)); | ||
@@ -22,2 +23,2 @@ }; | ||
export { ThemeContext, ThemeProvider }; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVGhlbWVQcm92aWRlci5qcyIsInNvdXJjZXMiOlsiLi4vLi4vLi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QSxDQUFRLENBQUEsQ0FBQSxDQUFBLENBQUMsS0FBSyxDQUFFLENBQUEsQ0FBQSxDQUFFLEtBQUssQ0FBRSxDQUFBLENBQUEsQ0FBQSxDQUFBLENBQUEsQ0FBQSxDQUFBLENBQUEsQ0FBUSxFQUFFLENBQUEsQ0FBQSxDQUFBLENBQUE7QUFDNUMsQ0FBQSxDQUFBLENBQUEsQ0FBQSxDQUFBLENBQUEsQ0FBQSxDQUFBLENBQUEsQ0FBQSxDQUFHLEtBQ0EsQ0FBQSxDQUFBLENBQUEsQ0FBQSxDQUFBLENBQUEsYUFBQSxDQUFDLENBQUEsQ0FBQSxDQUFHLENBQUEsQ0FBQSxDQUFBLENBQUMsQ0FBUyxDQUFBLENBQUEsQ0FBQSxDQUFBLENBQUEsQ0FBQSxDQUFBLENBQUEsQ0FBQSxDQUFFLGFBQWEsQ0FBTSxDQUFBLENBQUEsQ0FBQSxDQUFBLGVBQWUsQ0FBQyxDQUFBLENBQUEsQ0FBQSxDQUFBLENBQUEsQ0FBQSxDQUFPLENBQUMsQ0FDdEQsQ0FBQSxDQUFBLENBQUEsQ0FBUSxDQUFBLENBQUEsQ0FBQSxDQUFBLENBQUEsQ0FBQSxDQUFBLENBQ1AsQ0FDVCxDQUFBLENBQUE7QUFDQSxDQUFBLENBQUEsQ0FBQSxDQUFBLENBQUEsQ0FBQSxDQUFBLENBQUEsQ0FBQyxDQUFBLENBQUEsQ0FBRyxDQUFJLENBQUEsQ0FBQSxDQUFBLENBQUEsQ0FBQSxDQUFBLENBQUEsQ0FBQSxDQUFBLENBQUEsQ0FBUSxDQUNHLENBQzFCLENBQUEsQ0FBQTtBQUNOLENBQUEsQ0FBQTs7In0= |
{ | ||
"name": "@preply/ds-web-core", | ||
"version": "0.99.3", | ||
"version": "0.100.0", | ||
"type": "module", | ||
@@ -23,12 +23,12 @@ "publishConfig": { | ||
"dependencies": { | ||
"@preply/ds-core": "0.99.3", | ||
"@preply/ds-core-types": "0.99.3" | ||
"@preply/ds-core": "0.100.0", | ||
"@preply/ds-core-types": "0.100.0" | ||
}, | ||
"peerDependencies": { | ||
"@preply/ds-core": "0.99.3", | ||
"@preply/ds-core-types": "0.99.3", | ||
"@preply/ds-core": "0.100.0", | ||
"@preply/ds-core-types": "0.100.0", | ||
"react": "^16 || ^18", | ||
"react-dom": "^16 || ^18" | ||
}, | ||
"gitHead": "3d7f53184fe25e2eaac8aa7a63d0079f3cecde3c" | ||
"gitHead": "070ab8491cef6afea0c367347f4479be70402606" | ||
} |
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
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
Sorry, the diff of this file is not supported yet
492566
2833
+ Added@preply/ds-core@0.100.0(transitive)
+ Added@preply/ds-core-types@0.100.0(transitive)
- Removed@preply/ds-core@0.99.3(transitive)
- Removed@preply/ds-core-types@0.99.3(transitive)
Updated@preply/ds-core@0.100.0