@vygruppen/spor-react 12.10.6 → 12.11.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,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.1 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
@@ -11,18 +11,18 @@ CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
13
  DTS Build start
14
- ESM dist/index.mjs 294.05 KB
15
- ESM dist/icons/index.mjs 110.00 B
16
- ESM dist/index.mjs.map 630.11 KB
17
- ESM dist/icons/index.mjs.map 157.00 B
18
- ESM ⚡️ Build success in 2705ms
19
- CJS dist/index.cjs 315.45 KB
20
14
  CJS dist/icons/index.cjs 381.00 B
15
+ CJS dist/index.cjs 315.45 KB
21
16
  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
17
+ CJS dist/index.cjs.map 630.12 KB
18
+ CJS ⚡️ Build success in 2639ms
19
+ ESM dist/icons/index.mjs 110.00 B
20
+ ESM dist/index.mjs 294.05 KB
21
+ ESM dist/icons/index.mjs.map 157.00 B
22
+ ESM dist/index.mjs.map 630.12 KB
23
+ ESM ⚡️ Build success in 2643ms
24
+ DTS ⚡️ Build success in 18315ms
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.1 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,18 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 12.11.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [abfaff8]
8
+ - @vygruppen/spor-design-tokens@4.0.9
9
+
10
+ ## 12.11.0
11
+
12
+ ### Minor Changes
13
+
14
+ - c095719: Drawer: Change title in DrawerFullScreenHeader from being type string, to being child.
15
+
3
16
  ## 12.10.6
4
17
 
5
18
  ### 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
  });