@sproutsocial/seeds-react-theme-provider 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintrc.js ADDED
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ root: "",
3
+ extends: ["eslint-config-seeds/racine"],
4
+ };
@@ -0,0 +1,16 @@
1
+ $ tsup
2
+ CLI Building entry: src/index.tsx
3
+ CLI Using tsconfig: tsconfig.json
4
+ CLI tsup v8.0.1
5
+ CLI Using tsup config: /home/runner/work/seeds/seeds/seeds-react/seeds-react-theme-provider/tsup.config.ts
6
+ CLI Target: es2020
7
+ CJS Build start
8
+ ESM Build start
9
+ CJS dist/index.js 162.66 KB
10
+ CJS ⚡️ Build success in 232ms
11
+ ESM dist/index.mjs 162.50 KB
12
+ ESM ⚡️ Build success in 234ms
13
+ DTS Build start
14
+ DTS ⚡️ Build success in 10088ms
15
+ DTS dist/index.d.ts 362.00 B
16
+ DTS dist/index.d.mts 362.00 B
package/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # @sproutsocial/seeds-react-theme-provider
2
+
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 75aa221: `Box`, `ThemeProvider`, and `react-testing-library` are now a standalone packages.
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { TypeTheme, TypeSproutTheme } from '@sproutsocial/seeds-react-theme';
3
+
4
+ type TypeAllThemes = TypeTheme | TypeSproutTheme;
5
+ type TypeProps = {
6
+ readonly theme?: TypeAllThemes;
7
+ readonly children?: React.ReactNode;
8
+ };
9
+ declare const ThemeProvider: (props: TypeProps) => JSX.Element;
10
+
11
+ export { ThemeProvider as default };
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { TypeTheme, TypeSproutTheme } from '@sproutsocial/seeds-react-theme';
3
+
4
+ type TypeAllThemes = TypeTheme | TypeSproutTheme;
5
+ type TypeProps = {
6
+ readonly theme?: TypeAllThemes;
7
+ readonly children?: React.ReactNode;
8
+ };
9
+ declare const ThemeProvider: (props: TypeProps) => JSX.Element;
10
+
11
+ export { ThemeProvider as default };