@vygruppen/spor-react 11.3.0 → 11.3.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.
- package/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +6 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/typography/Heading.tsx +4 -3
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@11.3.
|
2
|
+
> @vygruppen/spor-react@11.3.1 build /home/runner/work/spor/spor/packages/spor-react
|
3
3
|
> tsup
|
4
4
|
|
5
5
|
CLI Building entry: src/index.tsx
|
@@ -11,11 +11,11 @@ CJS Build start
|
|
11
11
|
ESM Build start
|
12
12
|
DTS Build start
|
13
13
|
CJS dist/index.js 288.06 KB
|
14
|
-
CJS dist/index.js.map 592.
|
15
|
-
CJS ⚡️ Build success in
|
14
|
+
CJS dist/index.js.map 592.05 KB
|
15
|
+
CJS ⚡️ Build success in 2329ms
|
16
16
|
ESM dist/index.mjs 269.27 KB
|
17
|
-
ESM dist/index.mjs.map 592.
|
18
|
-
ESM ⚡️ Build success in
|
19
|
-
DTS ⚡️ Build success in
|
17
|
+
ESM dist/index.mjs.map 592.05 KB
|
18
|
+
ESM ⚡️ Build success in 2329ms
|
19
|
+
DTS ⚡️ Build success in 17919ms
|
20
20
|
DTS dist/index.d.ts 341.98 KB
|
21
21
|
DTS dist/index.d.mts 341.98 KB
|
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
@@ -2416,7 +2416,7 @@ var Heading2 = ({
|
|
2416
2416
|
id: externalId,
|
2417
2417
|
...props
|
2418
2418
|
}) => {
|
2419
|
-
const id = externalId ?? (autoId && typeof props.children === "string"
|
2419
|
+
const id = externalId ?? (autoId && typeof props.children === "string" ? slugify(props.children) : void 0);
|
2420
2420
|
const color = react.useColorModeValue("text.primary.light", "text.primary.dark");
|
2421
2421
|
return /* @__PURE__ */ React86__namespace.default.createElement(react.Text, { as, textStyle: variant, id, color, ...props });
|
2422
2422
|
};
|