@vygruppen/spor-react 0.2.0 → 0.2.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.
@@ -1,6 +1,6 @@
1
- @vygruppen/spor-react:build: cache hit, replaying output 299fc835ace8ced1
1
+ @vygruppen/spor-react:build: cache hit, replaying output 5ee3f82cc562dafe
2
2
  @vygruppen/spor-react:build:
3
- @vygruppen/spor-react:build: > @vygruppen/spor-react@0.2.0 build
3
+ @vygruppen/spor-react:build: > @vygruppen/spor-react@0.2.1 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 31ms
12
- @vygruppen/spor-react:build: CJS dist/index.js 6.19 KB
11
+ @vygruppen/spor-react:build: CJS ⚡️ Build success in 44ms
12
+ @vygruppen/spor-react:build: CJS dist/index.js 8.13 KB
13
13
  @vygruppen/spor-react:build: DTS Build start
14
- @vygruppen/spor-react:build: DTS ⚡️ Build success in 3575ms
14
+ @vygruppen/spor-react:build: DTS ⚡️ Build success in 4171ms
15
15
  @vygruppen/spor-react:build: DTS dist/index.d.ts 2.01 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [61549d5]
8
+ - @vygruppen/spor-theme-react@0.0.5
9
+
3
10
  ## 0.2.0
4
11
 
5
12
  ### Minor Changes
package/dist/index.js CHANGED
@@ -68,11 +68,39 @@ var init_cjs_shims = __esm({
68
68
  var require_dist = __commonJS({
69
69
  "../spor-typography-react/dist/index.js"(exports, module2) {
70
70
  init_cjs_shims();
71
+ var __create2 = Object.create;
71
72
  var __defProp2 = Object.defineProperty;
72
73
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
73
74
  var __getOwnPropNames2 = Object.getOwnPropertyNames;
75
+ var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
76
+ var __getProtoOf2 = Object.getPrototypeOf;
74
77
  var __hasOwnProp2 = Object.prototype.hasOwnProperty;
78
+ var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
79
+ var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
80
+ var __spreadValues2 = (a, b) => {
81
+ for (var prop in b || (b = {}))
82
+ if (__hasOwnProp2.call(b, prop))
83
+ __defNormalProp2(a, prop, b[prop]);
84
+ if (__getOwnPropSymbols2)
85
+ for (var prop of __getOwnPropSymbols2(b)) {
86
+ if (__propIsEnum2.call(b, prop))
87
+ __defNormalProp2(a, prop, b[prop]);
88
+ }
89
+ return a;
90
+ };
75
91
  var __markAsModule2 = (target) => __defProp2(target, "__esModule", { value: true });
92
+ var __objRest2 = (source, exclude) => {
93
+ var target = {};
94
+ for (var prop in source)
95
+ if (__hasOwnProp2.call(source, prop) && exclude.indexOf(prop) < 0)
96
+ target[prop] = source[prop];
97
+ if (source != null && __getOwnPropSymbols2)
98
+ for (var prop of __getOwnPropSymbols2(source)) {
99
+ if (exclude.indexOf(prop) < 0 && __propIsEnum2.call(source, prop))
100
+ target[prop] = source[prop];
101
+ }
102
+ return target;
103
+ };
76
104
  var __export2 = (target, all) => {
77
105
  for (var name in all)
78
106
  __defProp2(target, name, { get: all[name], enumerable: true });
@@ -85,6 +113,9 @@ var require_dist = __commonJS({
85
113
  }
86
114
  return target;
87
115
  };
116
+ var __toESM2 = (module22, isNodeMode) => {
117
+ return __reExport2(__markAsModule2(__defProp2(module22 != null ? __create2(__getProtoOf2(module22)) : {}, "default", !isNodeMode && module22 && module22.__esModule ? { get: () => module22.default, enumerable: true } : { value: module22, enumerable: true })), module22);
118
+ };
88
119
  var __toCommonJS2 = /* @__PURE__ */ ((cache) => {
89
120
  return (module22, temp) => {
90
121
  return cache && cache.get(module22) || (temp = __reExport2(__markAsModule2({}), module22, 1), cache && cache.set(module22, temp), temp);
@@ -92,10 +123,25 @@ var require_dist = __commonJS({
92
123
  })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
93
124
  var src_exports2 = {};
94
125
  __export2(src_exports2, {
95
- Heading: () => import_react5.Heading,
96
- Text: () => import_react5.Text
126
+ Heading: () => Heading,
127
+ Text: () => import_react32.Text
97
128
  });
129
+ var import_react32 = require("@chakra-ui/react");
98
130
  var import_react5 = require("@chakra-ui/react");
131
+ var import_react22 = __toESM2(require("react"));
132
+ var Heading = (_a) => {
133
+ var _b = _a, {
134
+ textStyle = "xl-display",
135
+ as = "h2"
136
+ } = _b, props = __objRest2(_b, [
137
+ "textStyle",
138
+ "as"
139
+ ]);
140
+ return /* @__PURE__ */ import_react22.default.createElement(import_react5.Text, __spreadValues2({
141
+ as,
142
+ textStyle
143
+ }, props));
144
+ };
99
145
  module2.exports = __toCommonJS2(src_exports2);
100
146
  }
101
147
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-react",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "MIT",