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

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.
@@ -1,21 +1,21 @@
1
1
  yarn run v1.22.22
2
2
  $ tsup --dts
3
- CLI Building entry: src/index.tsx
4
- CLI Using tsconfig: tsconfig.json
5
- CLI tsup v8.0.2
6
- CLI Using tsup config: /home/runner/work/seeds/seeds/seeds-react/seeds-react-theme-provider/tsup.config.ts
7
- CLI Target: es2020
8
- CLI Cleaning output folder
9
- CJS Build start
10
- ESM Build start
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
- DTS Build start
18
- DTS ⚡️ Build success in 10742ms
19
- DTS dist/index.d.ts 436.00 B
20
- DTS dist/index.d.mts 436.00 B
21
- Done in 13.57s.
3
+ CLI Building entry: src/index.tsx
4
+ CLI Using tsconfig: tsconfig.json
5
+ CLI tsup v8.5.0
6
+ CLI Using tsup config: /home/runner/work/seeds/seeds/seeds-react/seeds-react-theme-provider/tsup.config.ts
7
+ CLI Target: es2020
8
+ CLI Cleaning output folder
9
+ CJS Build start
10
+ ESM Build start
11
+ CJS dist/index.js 1.39 KB
12
+ CJS dist/index.js.map 914.00 B
13
+ CJS ⚡️ Build success in 92ms
14
+ ESM dist/index.mjs 425.00 B
15
+ ESM dist/index.mjs.map 854.00 B
16
+ ESM ⚡️ Build success in 95ms
17
+ DTS Build start
18
+ DTS ⚡️ Build success in 12165ms
19
+ DTS dist/index.d.ts 436.00 B
20
+ DTS dist/index.d.mts 436.00 B
21
+ Done in 14.87s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @sproutsocial/seeds-react-theme-provider
2
2
 
3
+ ## 1.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [22e1111]
8
+ - @sproutsocial/seeds-react-theme@3.0.1
9
+
10
+ ## 1.1.2
11
+
12
+ ### Patch Changes
13
+
14
+ - 9fd8bac: Update dependencies to use semantic package version instead of wildcards
15
+ - Updated dependencies [9fd8bac]
16
+ - @sproutsocial/seeds-react-theme@2.2.1
17
+
3
18
  ## 1.1.1
4
19
 
5
20
  ### Patch Changes
package/dist/index.js CHANGED
@@ -18,15 +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
26
  var React = require("react");
27
27
  var import_styled_components = require("styled-components");
28
28
  var import_seeds_react_theme = require("@sproutsocial/seeds-react-theme");
29
29
  var import_jsx_runtime = require("react/jsx-runtime");
30
30
  var ThemeProvider = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_styled_components.ThemeProvider, { ...props, theme: props.theme || import_seeds_react_theme.theme });
31
- var src_default = ThemeProvider;
31
+ var index_default = ThemeProvider;
32
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 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"]}
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
@@ -4,8 +4,8 @@ import { ThemeProvider as BaseThemeProvider } from "styled-components";
4
4
  import { theme } from "@sproutsocial/seeds-react-theme";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  var ThemeProvider = (props) => /* @__PURE__ */ jsx(BaseThemeProvider, { ...props, theme: props.theme || theme });
7
- var src_default = ThemeProvider;
7
+ var index_default = ThemeProvider;
8
8
  export {
9
- src_default as default
9
+ index_default as default
10
10
  };
11
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 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":[]}
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.1",
3
+ "version": "1.1.3",
4
4
  "description": "Seeds React Theme Provider",
5
5
  "author": "Sprout Social, Inc.",
6
6
  "license": "MIT",
@@ -9,19 +9,20 @@
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": "*"
18
+ "@sproutsocial/seeds-react-theme": "^3.0.1"
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.2",
25
+ "tsup": "^8.3.4",
25
26
  "typescript": "^5.6.2",
26
27
  "@sproutsocial/seeds-tsconfig": "*"
27
28
  },
package/tsconfig.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "jsx": "react-jsx"
5
5
  },
6
6
  "include": ["src/**/*"],
7
- "exclude": ["node_modules", "dist"]
7
+ "exclude": ["node_modules", "dist", "**/*.stories.tsx", "**/*.stories.ts"]
8
8
  }
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
  }));