@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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.10.6 build /home/runner/work/spor/spor/packages/spor-react
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 ⚡️ Build success in 2705ms
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 dist/index.cjs.map 630.11 KB
23
- CJS ⚡️ Build success in 2706ms
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.20 KB
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.20 KB
28
+ DTS dist/index.d.cts 156.18 KB
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.10.6 postinstall /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.11.0 postinstall /home/runner/work/spor/spor/packages/spor-react
3
3
  > chakra typegen src/theme/index.ts
4
4
 
5
5
  ┌ Chakra CLI ⚡️
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 12.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c095719: Drawer: Change title in DrawerFullScreenHeader from being type string, to being child.
8
+
3
9
  ## 12.10.6
4
10
 
5
11
  ### Patch Changes
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, title } = props;
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: title && /* @__PURE__ */ jsxRuntime.jsx(DrawerTitle, { children: title }) }),
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
  });