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

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.39 KB
12
+ CJS dist/index.js.map 914.00 B
13
+ CJS ⚡️ Build success in 74ms
14
+ ESM dist/index.mjs 425.00 B
15
+ ESM dist/index.mjs.map 854.00 B
16
+ ESM ⚡️ Build success in 74ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 9884ms
18
+ DTS ⚡️ Build success in 11859ms
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 14.69s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @sproutsocial/seeds-react-theme-provider
2
2
 
3
+ ## 1.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 9fd8bac: Update dependencies to use semantic package version instead of wildcards
8
+ - Updated dependencies [9fd8bac]
9
+ - @sproutsocial/seeds-react-theme@2.2.1
10
+
11
+ ## 1.1.1
12
+
13
+ ### Patch Changes
14
+
15
+ - 57648a5: All packages now depend on the latest seed component builds
16
+ - Updated dependencies [57648a5]
17
+ - @sproutsocial/seeds-react-theme@2.0.1
18
+
3
19
  ## 1.1.0
4
20
 
5
21
  ### Minor Changes
package/dist/index.js CHANGED
@@ -18,14 +18,15 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.tsx
21
- var src_exports = {};
22
- __export(src_exports, {
23
- default: () => src_default
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ default: () => index_default
24
24
  });
25
- module.exports = __toCommonJS(src_exports);
25
+ module.exports = __toCommonJS(index_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");
29
30
  var ThemeProvider = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_styled_components.ThemeProvider, { ...props, theme: props.theme || import_seeds_react_theme.theme });
30
- var src_default = ThemeProvider;
31
+ var index_default = ThemeProvider;
31
32
  //# sourceMappingURL=index.js.map
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,gBAAQ;","names":["BaseThemeProvider"]}
package/dist/index.mjs CHANGED
@@ -1,10 +1,11 @@
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";
5
6
  var ThemeProvider = (props) => /* @__PURE__ */ jsx(BaseThemeProvider, { ...props, theme: props.theme || theme });
6
- var src_default = ThemeProvider;
7
+ var index_default = ThemeProvider;
7
8
  export {
8
- src_default as default
9
+ index_default as default
9
10
  };
10
11
  //# sourceMappingURL=index.mjs.map
@@ -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,gBAAQ;","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.2",
4
4
  "description": "Seeds React Theme Provider",
5
5
  "author": "Sprout Social, Inc.",
6
6
  "license": "MIT",
@@ -9,20 +9,22 @@
9
9
  "types": "dist/index.d.ts",
10
10
  "scripts": {
11
11
  "build": "tsup --dts",
12
+ "build:debug": "tsup --dts --metafile",
12
13
  "clean": "rm -rf .turbo dist",
13
14
  "clean:modules": "rm -rf node_modules",
14
15
  "typecheck": "tsc --noEmit"
15
16
  },
16
17
  "dependencies": {
17
- "@sproutsocial/seeds-react-theme": "^1.0.0"
18
+ "@sproutsocial/seeds-react-theme": "^2.2.0"
18
19
  },
19
20
  "devDependencies": {
20
21
  "@types/styled-components": "^5.1.26",
21
22
  "@sproutsocial/eslint-config-seeds": "*",
22
23
  "react": "^18.0.0",
23
24
  "styled-components": "^5.2.3",
24
- "tsup": "^8.0.1",
25
- "typescript": "^5.1.6"
25
+ "tsup": "^8.0.2",
26
+ "typescript": "^5.6.2",
27
+ "@sproutsocial/seeds-tsconfig": "*"
26
28
  },
27
29
  "peerDependencies": {
28
30
  "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"]
package/tsup.config.ts CHANGED
@@ -8,4 +8,5 @@ export default defineConfig((options) => ({
8
8
  external: ["react"],
9
9
  sourcemap: true,
10
10
  clean: true,
11
+ metafile: options.metafile,
11
12
  }));