@sproutsocial/seeds-react-theme-provider 1.1.0 → 1.1.1

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.
@@ -2,20 +2,20 @@ yarn run v1.22.22
2
2
  $ tsup --dts
3
3
  CLI Building entry: src/index.tsx
4
4
  CLI Using tsconfig: tsconfig.json
5
- CLI tsup v8.0.1
5
+ CLI tsup v8.0.2
6
6
  CLI Using tsup config: /home/runner/work/seeds/seeds/seeds-react/seeds-react-theme-provider/tsup.config.ts
7
7
  CLI Target: es2020
8
8
  CLI Cleaning output folder
9
9
  CJS Build start
10
10
  ESM Build start
11
- ESM dist/index.mjs 405.00 B
12
- ESM dist/index.mjs.map 828.00 B
13
- ESM ⚡️ Build success in 38ms
14
- CJS dist/index.js 1.35 KB
15
- CJS dist/index.js.map 888.00 B
16
- CJS ⚡️ Build success in 40ms
11
+ CJS dist/index.js 1.38 KB
12
+ CJS dist/index.js.map 913.00 B
13
+ CJS ⚡️ Build success in 48ms
14
+ ESM dist/index.mjs 421.00 B
15
+ ESM dist/index.mjs.map 853.00 B
16
+ ESM ⚡️ Build success in 48ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 9884ms
18
+ DTS ⚡️ Build success in 10742ms
19
19
  DTS dist/index.d.ts 436.00 B
20
20
  DTS dist/index.d.mts 436.00 B
21
- Done in 12.67s.
21
+ Done in 13.57s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @sproutsocial/seeds-react-theme-provider
2
2
 
3
+ ## 1.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 57648a5: All packages now depend on the latest seed component builds
8
+ - Updated dependencies [57648a5]
9
+ - @sproutsocial/seeds-react-theme@2.0.1
10
+
3
11
  ## 1.1.0
4
12
 
5
13
  ### Minor Changes
package/dist/index.js CHANGED
@@ -23,6 +23,7 @@ __export(src_exports, {
23
23
  default: () => src_default
24
24
  });
25
25
  module.exports = __toCommonJS(src_exports);
26
+ var React = require("react");
26
27
  var import_styled_components = require("styled-components");
27
28
  var import_seeds_react_theme = require("@sproutsocial/seeds-react-theme");
28
29
  var import_jsx_runtime = require("react/jsx-runtime");
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { ThemeProvider as BaseThemeProvider } from \"styled-components\";\nimport { theme } from \"@sproutsocial/seeds-react-theme\";\nimport { TypeSproutTheme, TypeTheme } from \"@sproutsocial/seeds-react-theme\";\n\n// We can append additional themes types here\ntype TypeAllThemes = TypeTheme | TypeSproutTheme;\n\ntype TypeProps = {\n readonly theme?: TypeAllThemes;\n readonly children?: React.ReactNode;\n};\n\nconst ThemeProvider = (props: TypeProps) => (\n <BaseThemeProvider {...props} theme={props.theme || theme} />\n);\n\nexport default ThemeProvider;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,+BAAmD;AACnD,+BAAsB;AAYpB;AADF,IAAM,gBAAgB,CAAC,UACrB,4CAAC,yBAAAA,eAAA,EAAmB,GAAG,OAAO,OAAO,MAAM,SAAS,gCAAO;AAG7D,IAAO,cAAQ;","names":["BaseThemeProvider"]}
1
+ {"version":3,"sources":["../src/index.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { ThemeProvider as BaseThemeProvider } from \"styled-components\";\nimport { theme } from \"@sproutsocial/seeds-react-theme\";\nimport type {\n TypeSproutTheme,\n TypeTheme,\n} from \"@sproutsocial/seeds-react-theme\";\n\n// We can append additional themes types here\ntype TypeAllThemes = TypeTheme | TypeSproutTheme;\n\ntype TypeProps = {\n readonly theme?: TypeAllThemes;\n readonly children?: React.ReactNode;\n};\n\nconst ThemeProvider = (props: TypeProps) => (\n <BaseThemeProvider {...props} theme={props.theme || theme} />\n);\n\nexport default ThemeProvider;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAAuB;AACvB,+BAAmD;AACnD,+BAAsB;AAepB;AADF,IAAM,gBAAgB,CAAC,UACrB,4CAAC,yBAAAA,eAAA,EAAmB,GAAG,OAAO,OAAO,MAAM,SAAS,gCAAO;AAG7D,IAAO,cAAQ;","names":["BaseThemeProvider"]}
package/dist/index.mjs CHANGED
@@ -1,4 +1,5 @@
1
1
  // src/index.tsx
2
+ import "react";
2
3
  import { ThemeProvider as BaseThemeProvider } from "styled-components";
3
4
  import { theme } from "@sproutsocial/seeds-react-theme";
4
5
  import { jsx } from "react/jsx-runtime";
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { ThemeProvider as BaseThemeProvider } from \"styled-components\";\nimport { theme } from \"@sproutsocial/seeds-react-theme\";\nimport { TypeSproutTheme, TypeTheme } from \"@sproutsocial/seeds-react-theme\";\n\n// We can append additional themes types here\ntype TypeAllThemes = TypeTheme | TypeSproutTheme;\n\ntype TypeProps = {\n readonly theme?: TypeAllThemes;\n readonly children?: React.ReactNode;\n};\n\nconst ThemeProvider = (props: TypeProps) => (\n <BaseThemeProvider {...props} theme={props.theme || theme} />\n);\n\nexport default ThemeProvider;\n"],"mappings":";AACA,SAAS,iBAAiB,yBAAyB;AACnD,SAAS,aAAa;AAYpB;AADF,IAAM,gBAAgB,CAAC,UACrB,oBAAC,qBAAmB,GAAG,OAAO,OAAO,MAAM,SAAS,OAAO;AAG7D,IAAO,cAAQ;","names":[]}
1
+ {"version":3,"sources":["../src/index.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { ThemeProvider as BaseThemeProvider } from \"styled-components\";\nimport { theme } from \"@sproutsocial/seeds-react-theme\";\nimport type {\n TypeSproutTheme,\n TypeTheme,\n} from \"@sproutsocial/seeds-react-theme\";\n\n// We can append additional themes types here\ntype TypeAllThemes = TypeTheme | TypeSproutTheme;\n\ntype TypeProps = {\n readonly theme?: TypeAllThemes;\n readonly children?: React.ReactNode;\n};\n\nconst ThemeProvider = (props: TypeProps) => (\n <BaseThemeProvider {...props} theme={props.theme || theme} />\n);\n\nexport default ThemeProvider;\n"],"mappings":";AAAA,OAAuB;AACvB,SAAS,iBAAiB,yBAAyB;AACnD,SAAS,aAAa;AAepB;AADF,IAAM,gBAAgB,CAAC,UACrB,oBAAC,qBAAmB,GAAG,OAAO,OAAO,MAAM,SAAS,OAAO;AAG7D,IAAO,cAAQ;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/seeds-react-theme-provider",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Seeds React Theme Provider",
5
5
  "author": "Sprout Social, Inc.",
6
6
  "license": "MIT",
@@ -14,15 +14,16 @@
14
14
  "typecheck": "tsc --noEmit"
15
15
  },
16
16
  "dependencies": {
17
- "@sproutsocial/seeds-react-theme": "^1.0.0"
17
+ "@sproutsocial/seeds-react-theme": "*"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/styled-components": "^5.1.26",
21
21
  "@sproutsocial/eslint-config-seeds": "*",
22
22
  "react": "^18.0.0",
23
23
  "styled-components": "^5.2.3",
24
- "tsup": "^8.0.1",
25
- "typescript": "^5.1.6"
24
+ "tsup": "^8.0.2",
25
+ "typescript": "^5.6.2",
26
+ "@sproutsocial/seeds-tsconfig": "*"
26
27
  },
27
28
  "peerDependencies": {
28
29
  "styled-components": "^5.2.3"
package/src/index.tsx CHANGED
@@ -1,7 +1,10 @@
1
1
  import * as React from "react";
2
2
  import { ThemeProvider as BaseThemeProvider } from "styled-components";
3
3
  import { theme } from "@sproutsocial/seeds-react-theme";
4
- import { TypeSproutTheme, TypeTheme } from "@sproutsocial/seeds-react-theme";
4
+ import type {
5
+ TypeSproutTheme,
6
+ TypeTheme,
7
+ } from "@sproutsocial/seeds-react-theme";
5
8
 
6
9
  // We can append additional themes types here
7
10
  type TypeAllThemes = TypeTheme | TypeSproutTheme;
package/tsconfig.json CHANGED
@@ -1,13 +1,7 @@
1
1
  {
2
- "extends": "@sproutsocial/seeds-tsconfig/react-library.json",
2
+ "extends": "@sproutsocial/seeds-tsconfig/bundler/dom/library-monorepo",
3
3
  "compilerOptions": {
4
- "noImplicitAny": false,
5
- "noUncheckedIndexedAccess": false,
6
- "baseUrl": ".",
7
- "paths": {
8
- "@src": ["src"],
9
- "@src*": ["src*"]
10
- }
4
+ "jsx": "react-jsx"
11
5
  },
12
6
  "include": ["src/**/*"],
13
7
  "exclude": ["node_modules", "dist"]