@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.
- package/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +12 -0
- package/dist/index.js +3 -2
- package/package.json +3 -3
- package/src/SporProvider.tsx +4 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@vygruppen/spor-react:build: cache hit, replaying output
|
|
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.
|
|
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: [34mCLI[39m Building entry: src/index.tsx
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
@vygruppen/spor-react:build: [34mCLI[39m tsup v5.11.11
|
|
9
9
|
@vygruppen/spor-react:build: [34mCLI[39m Target: node12
|
|
10
10
|
@vygruppen/spor-react:build: [34mCJS[39m Build start
|
|
11
|
-
@vygruppen/spor-react:build: [32mCJS[39m ⚡️ Build success in
|
|
12
|
-
@vygruppen/spor-react:build: [32mCJS[39m [1mdist/index.js [22m[
|
|
11
|
+
@vygruppen/spor-react:build: [32mCJS[39m ⚡️ Build success in 41ms
|
|
12
|
+
@vygruppen/spor-react:build: [32mCJS[39m [1mdist/index.js [22m[32m4.01 KB[39m
|
|
13
13
|
@vygruppen/spor-react:build: [34mDTS[39m Build start
|
|
14
|
-
@vygruppen/spor-react:build: [32mDTS[39m ⚡️ Build success in
|
|
14
|
+
@vygruppen/spor-react:build: [32mDTS[39m ⚡️ Build success in 3592ms
|
|
15
15
|
@vygruppen/spor-react:build: [32mDTS[39m [1mdist/index.d.ts [22m[32m1.90 KB[39m
|
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 =
|
|
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:
|
|
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.
|
|
4
|
-
"main": "./
|
|
5
|
-
"types": "./
|
|
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",
|
package/src/SporProvider.tsx
CHANGED
|
@@ -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 {
|
|
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 & {
|