@vygruppen/spor-react 12.10.6 → 12.11.0
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 +8 -8
- package/.turbo/turbo-postinstall.log +1 -1
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/dialog/Drawer.tsx +2 -2
- package/src/dialog/types.ts +5 -3
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.
|
2
|
+
> @vygruppen/spor-react@12.11.0 build /home/runner/work/spor/spor/packages/spor-react
|
3
3
|
> tsup
|
4
4
|
|
5
5
|
CLI Building entry: src/index.tsx, src/icons/index.tsx
|
@@ -13,16 +13,16 @@ CJS Build start
|
|
13
13
|
DTS Build start
|
14
14
|
ESM dist/index.mjs 294.05 KB
|
15
15
|
ESM dist/icons/index.mjs 110.00 B
|
16
|
-
ESM dist/index.mjs.map 630.11 KB
|
17
16
|
ESM dist/icons/index.mjs.map 157.00 B
|
18
|
-
ESM
|
17
|
+
ESM dist/index.mjs.map 630.12 KB
|
18
|
+
ESM ⚡️ Build success in 2549ms
|
19
19
|
CJS dist/index.cjs 315.45 KB
|
20
20
|
CJS dist/icons/index.cjs 381.00 B
|
21
|
+
CJS dist/index.cjs.map 630.12 KB
|
21
22
|
CJS dist/icons/index.cjs.map 157.00 B
|
22
|
-
CJS
|
23
|
-
|
24
|
-
DTS ⚡️ Build success in 19069ms
|
23
|
+
CJS ⚡️ Build success in 2550ms
|
24
|
+
DTS ⚡️ Build success in 18729ms
|
25
25
|
DTS dist/icons/index.d.ts 44.00 B
|
26
|
-
DTS dist/index.d.ts 156.
|
26
|
+
DTS dist/index.d.ts 156.18 KB
|
27
27
|
DTS dist/icons/index.d.cts 44.00 B
|
28
|
-
DTS dist/index.d.cts 156.
|
28
|
+
DTS dist/index.d.cts 156.18 KB
|
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
@@ -2413,10 +2413,10 @@ var DrawerBackTrigger = React27.forwardRef((props, ref) => {
|
|
2413
2413
|
});
|
2414
2414
|
DrawerBackTrigger.displayName = "DrawerBackTrigger";
|
2415
2415
|
var DrawerFullScreenHeader = React27.forwardRef((props, ref) => {
|
2416
|
-
const { backTrigger = true, closeTrigger = true,
|
2416
|
+
const { backTrigger = true, closeTrigger = true, children } = props;
|
2417
2417
|
return /* @__PURE__ */ jsxRuntime.jsx(react.Drawer.Header, { ...props, ref, asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(react.Grid, { templateColumns: "1fr auto 1fr", height: "auto", paddingX: "8", children: [
|
2418
2418
|
/* @__PURE__ */ jsxRuntime.jsx(react.GridItem, { width: "full", alignSelf: "center", children: backTrigger && /* @__PURE__ */ jsxRuntime.jsx(DrawerBackTrigger, {}) }),
|
2419
|
-
/* @__PURE__ */ jsxRuntime.jsx(react.GridItem, { width: "full", alignSelf: "end", asChild: true, children:
|
2419
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.GridItem, { width: "full", alignSelf: "end", asChild: true, children: children && /* @__PURE__ */ jsxRuntime.jsx(DrawerTitle, { children }) }),
|
2420
2420
|
closeTrigger && /* @__PURE__ */ jsxRuntime.jsx(react.GridItem, { width: "full", alignSelf: "end", children: /* @__PURE__ */ jsxRuntime.jsx(DrawerCloseTrigger, { justifySelf: "end", top: "0" }) })
|
2421
2421
|
] }) });
|
2422
2422
|
});
|