@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.
- package/.turbo/turbo-build.log +12 -12
- package/.turbo/turbo-postinstall.log +1 -1
- package/CHANGELOG.md +13 -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 +2 -2
- 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.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.
|
23
|
-
CJS ⚡️ Build success in
|
24
|
-
|
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.
|
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
@@ -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,
|
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
|
});
|