@vygruppen/spor-react 12.13.1 → 12.13.2
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 +8 -0
- package/dist/index.cjs +4 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/input/Popover.tsx +0 -7
- package/src/theme/slot-recipes/collapsible.ts +2 -0
- package/src/theme/slot-recipes/datepicker.ts +1 -0
package/dist/index.mjs
CHANGED
@@ -16,7 +16,6 @@ export { Item, Section } from 'react-stately';
|
|
16
16
|
import { GregorianCalendar, createCalendar, getLocalTimeZone, endOfMonth, getWeeksInMonth, isSameMonth, isToday, parseTime } from '@internationalized/date';
|
17
17
|
export { Time } from '@internationalized/date';
|
18
18
|
import { useSwipeable } from 'react-swipeable';
|
19
|
-
import ReactDOM from 'react-dom';
|
20
19
|
import { getSupportedCallingCodes } from 'awesome-phonenumber';
|
21
20
|
import { Global } from '@emotion/react';
|
22
21
|
import tokens23__default from '@vygruppen/spor-design-tokens';
|
@@ -2561,8 +2560,6 @@ var Popover = forwardRef(
|
|
2561
2560
|
...popoverProps,
|
2562
2561
|
ref: popoverRef,
|
2563
2562
|
minWidth: ((_a5 = triggerRef.current) == null ? void 0 : _a5.clientWidth) ?? "auto",
|
2564
|
-
position: "absolute",
|
2565
|
-
zIndex: 1400,
|
2566
2563
|
children: [
|
2567
2564
|
/* @__PURE__ */ jsx(DismissButton, { onDismiss: state.close }),
|
2568
2565
|
children,
|
@@ -2571,9 +2568,6 @@ var Popover = forwardRef(
|
|
2571
2568
|
}
|
2572
2569
|
);
|
2573
2570
|
if (isNonModal) {
|
2574
|
-
if (globalThis.window !== void 0 && typeof document !== "undefined") {
|
2575
|
-
return ReactDOM.createPortal(popoverBox, document.body);
|
2576
|
-
}
|
2577
2571
|
return popoverBox;
|
2578
2572
|
}
|
2579
2573
|
return /* @__PURE__ */ jsxs(Overlay, { children: [
|
@@ -7053,6 +7047,8 @@ var collapsibleSlotRecipe = defineSlotRecipe({
|
|
7053
7047
|
className: "chakra-collapsible",
|
7054
7048
|
base: {
|
7055
7049
|
content: {
|
7050
|
+
margin: -1,
|
7051
|
+
padding: 1,
|
7056
7052
|
overflow: "hidden",
|
7057
7053
|
_open: {
|
7058
7054
|
animationName: "expand-height, fade-in",
|
@@ -7133,7 +7129,8 @@ var datePickerSlotRecipe = defineSlotRecipe({
|
|
7133
7129
|
outline: "1px solid",
|
7134
7130
|
outlineColor: "floating.outline",
|
7135
7131
|
boxShadow: "md",
|
7136
|
-
backgroundColor: "floating.surface"
|
7132
|
+
backgroundColor: "floating.surface",
|
7133
|
+
minHeight: "min-content"
|
7137
7134
|
},
|
7138
7135
|
rangeCalendarPopover: {
|
7139
7136
|
width: "43rem",
|