@vygruppen/spor-react 12.13.0 → 12.13.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 +10 -10
- package/.turbo/turbo-postinstall.log +1 -1
- package/CHANGELOG.md +8 -0
- package/dist/index.cjs +8 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/input/CountryCodeSelect.tsx +1 -1
- package/src/input/Popover.tsx +8 -1
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.13.
|
2
|
+
> @vygruppen/spor-react@12.13.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,17 +11,17 @@ CLI Cleaning output folder
|
|
11
11
|
ESM Build start
|
12
12
|
CJS Build start
|
13
13
|
DTS Build start
|
14
|
-
|
15
|
-
ESM dist/icons/index.mjs 110.00 B
|
16
|
-
ESM dist/icons/index.mjs.map 157.00 B
|
17
|
-
ESM dist/index.mjs.map 629.73 KB
|
18
|
-
ESM ⚡️ Build success in 2545ms
|
19
|
-
CJS dist/index.cjs 315.32 KB
|
14
|
+
CJS dist/index.cjs 315.62 KB
|
20
15
|
CJS dist/icons/index.cjs 381.00 B
|
16
|
+
CJS dist/index.cjs.map 630.07 KB
|
21
17
|
CJS dist/icons/index.cjs.map 157.00 B
|
22
|
-
CJS
|
23
|
-
|
24
|
-
|
18
|
+
CJS ⚡️ Build success in 2628ms
|
19
|
+
ESM dist/index.mjs 294.13 KB
|
20
|
+
ESM dist/icons/index.mjs 110.00 B
|
21
|
+
ESM dist/index.mjs.map 630.07 KB
|
22
|
+
ESM dist/icons/index.mjs.map 157.00 B
|
23
|
+
ESM ⚡️ Build success in 2629ms
|
24
|
+
DTS ⚡️ Build success in 18484ms
|
25
25
|
DTS dist/icons/index.d.ts 44.00 B
|
26
26
|
DTS dist/index.d.ts 156.05 KB
|
27
27
|
DTS dist/icons/index.d.cts 44.00 B
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 12.13.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 63931d2: Remove casting SelectItem to option in phonenumber-input. Does not work in in Safari.
|
8
|
+
- 16807cd: Remove casting SelectItem to option in phonenumber-input. Does not work in in Safari.
|
9
|
+
- 699acdf: Fix changeset error
|
10
|
+
|
3
11
|
## 12.13.0
|
4
12
|
|
5
13
|
### Minor Changes
|
package/dist/index.cjs
CHANGED
@@ -13,6 +13,7 @@ var lu = require('react-icons/lu');
|
|
13
13
|
var reactStately = require('react-stately');
|
14
14
|
var date = require('@internationalized/date');
|
15
15
|
var reactSwipeable = require('react-swipeable');
|
16
|
+
var ReactDOM = require('react-dom');
|
16
17
|
var awesomePhonenumber = require('awesome-phonenumber');
|
17
18
|
var react$1 = require('@emotion/react');
|
18
19
|
var tokens23 = require('@vygruppen/spor-design-tokens');
|
@@ -43,6 +44,7 @@ function _interopNamespace(e) {
|
|
43
44
|
|
44
45
|
var React27__namespace = /*#__PURE__*/_interopNamespace(React27);
|
45
46
|
var ReactLottie__default = /*#__PURE__*/_interopDefault(ReactLottie);
|
47
|
+
var ReactDOM__default = /*#__PURE__*/_interopDefault(ReactDOM);
|
46
48
|
var tokens23__namespace = /*#__PURE__*/_interopNamespace(tokens23);
|
47
49
|
var tokens4__default = /*#__PURE__*/_interopDefault(tokens4);
|
48
50
|
|
@@ -2580,6 +2582,8 @@ var Popover = React27.forwardRef(
|
|
2580
2582
|
...popoverProps,
|
2581
2583
|
ref: popoverRef,
|
2582
2584
|
minWidth: ((_a5 = triggerRef.current) == null ? void 0 : _a5.clientWidth) ?? "auto",
|
2585
|
+
position: "absolute",
|
2586
|
+
zIndex: 1400,
|
2583
2587
|
children: [
|
2584
2588
|
/* @__PURE__ */ jsxRuntime.jsx(reactAria.DismissButton, { onDismiss: state.close }),
|
2585
2589
|
children,
|
@@ -2588,6 +2592,9 @@ var Popover = React27.forwardRef(
|
|
2588
2592
|
}
|
2589
2593
|
);
|
2590
2594
|
if (isNonModal) {
|
2595
|
+
if (globalThis.window !== void 0 && typeof document !== "undefined") {
|
2596
|
+
return ReactDOM__default.default.createPortal(popoverBox, document.body);
|
2597
|
+
}
|
2591
2598
|
return popoverBox;
|
2592
2599
|
}
|
2593
2600
|
return /* @__PURE__ */ jsxRuntime.jsxs(reactAria.Overlay, { children: [
|
@@ -3332,7 +3339,7 @@ var CountryCodeSelect = React27.forwardRef((props, ref) => {
|
|
3332
3339
|
lazyMount: true,
|
3333
3340
|
"aria-label": t(texts15.countryCode),
|
3334
3341
|
sideRadiusVariant: "rightSideSquare",
|
3335
|
-
children: callingCodes.items.map((code) => /* @__PURE__ */ jsxRuntime.jsx(SelectItem, {
|
3342
|
+
children: callingCodes.items.map((code) => /* @__PURE__ */ jsxRuntime.jsx(SelectItem, { item: code, children: code.label }, code.label))
|
3336
3343
|
}
|
3337
3344
|
);
|
3338
3345
|
});
|