@vygruppen/spor-react 0.0.1 → 0.0.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.
@@ -1,6 +1,6 @@
1
- @vygruppen/spor-react:build: cache hit, replaying output 08c08e23f4839a0f
1
+ @vygruppen/spor-react:build: cache hit, replaying output 74906cfe0f36c6f4
2
2
  @vygruppen/spor-react:build:
3
- @vygruppen/spor-react:build: > @vygruppen/spor-react@0.0.1 build
3
+ @vygruppen/spor-react:build: > @vygruppen/spor-react@0.0.2 build
4
4
  @vygruppen/spor-react:build: > tsup src/index.tsx --dts
5
5
  @vygruppen/spor-react:build:
6
6
  @vygruppen/spor-react:build: CLI Building entry: src/index.tsx
@@ -8,8 +8,8 @@
8
8
  @vygruppen/spor-react:build: CLI tsup v5.11.11
9
9
  @vygruppen/spor-react:build: CLI Target: node12
10
10
  @vygruppen/spor-react:build: CJS Build start
11
- @vygruppen/spor-react:build: CJS ⚡️ Build success in 28ms
12
- @vygruppen/spor-react:build: CJS dist/index.js 3.92 KB
11
+ @vygruppen/spor-react:build: CJS ⚡️ Build success in 41ms
12
+ @vygruppen/spor-react:build: CJS dist/index.js 4.01 KB
13
13
  @vygruppen/spor-react:build: DTS Build start
14
- @vygruppen/spor-react:build: DTS ⚡️ Build success in 4588ms
14
+ @vygruppen/spor-react:build: DTS ⚡️ Build success in 3592ms
15
15
  @vygruppen/spor-react:build: DTS dist/index.d.ts 1.90 KB
package/CHANGELOG.md ADDED
@@ -0,0 +1,12 @@
1
+ # @vygruppen/spor-react
2
+
3
+ ## 0.0.2
4
+ ### Patch Changes
5
+
6
+ - 8e5444a: Fix a bug where the published packages specified the source files, instead of the built dist files
7
+ - Updated dependencies [8e5444a]
8
+ - @vygruppen/spor-button-react@0.0.2
9
+ - @vygruppen/spor-i18n-react@0.0.2
10
+ - @vygruppen/spor-input-react@0.0.2
11
+ - @vygruppen/spor-logo-react@0.0.2
12
+ - @vygruppen/spor-theme-react@0.0.2
package/dist/index.js CHANGED
@@ -69,10 +69,11 @@ __reExport(src_exports, require("@vygruppen/spor-theme-react"));
69
69
  var import_react = require("@chakra-ui/react");
70
70
  var import_react2 = require("@emotion/react");
71
71
  var import_spor_i18n_react = require("@vygruppen/spor-i18n-react");
72
+ var import_spor_theme_react = require("@vygruppen/spor-theme-react");
72
73
  var import_react3 = __toESM(require("react"));
73
74
  var SporProvider = (_a) => {
74
75
  var _b = _a, {
75
- theme = src_exports.theme,
76
+ theme = import_spor_theme_react.theme,
76
77
  language,
77
78
  children
78
79
  } = _b, props = __objRest(_b, [
@@ -85,7 +86,7 @@ var SporProvider = (_a) => {
85
86
  }, /* @__PURE__ */ import_react3.default.createElement(import_react.ChakraProvider, __spreadValues({
86
87
  theme
87
88
  }, props), /* @__PURE__ */ import_react3.default.createElement(import_react2.Global, {
88
- styles: src_exports.fontFaces
89
+ styles: import_spor_theme_react.fontFaces
89
90
  }), children));
90
91
  };
91
92
  module.exports = __toCommonJS(src_exports);
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-react",
3
- "version": "0.0.1",
4
- "main": "./src/index.tsx",
5
- "types": "./src/index.tsx",
3
+ "version": "0.0.2",
4
+ "main": "./dist/index.js",
5
+ "types": "./dist/index.d.ts",
6
6
  "license": "MIT",
7
7
  "scripts": {
8
8
  "build": "tsup src/index.tsx --dts",
@@ -1,7 +1,10 @@
1
1
  import { ChakraProvider, ChakraProviderProps } from "@chakra-ui/react";
2
2
  import { Global } from "@emotion/react";
3
3
  import { Language, LanguageProvider } from "@vygruppen/spor-i18n-react";
4
- import { fontFaces, theme as defaultSporTheme } from "@vygruppen/spor-react";
4
+ import {
5
+ fontFaces,
6
+ theme as defaultSporTheme,
7
+ } from "@vygruppen/spor-theme-react";
5
8
  import React from "react";
6
9
 
7
10
  type SporProviderProps = ChakraProviderProps & {