@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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.13.1 build /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.13.2 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
- CJS dist/index.cjs 315.62 KB
14
+ CJS dist/index.cjs 315.38 KB
15
15
  CJS dist/icons/index.cjs 381.00 B
16
- CJS dist/index.cjs.map 630.07 KB
16
+ CJS dist/index.cjs.map 629.75 KB
17
17
  CJS dist/icons/index.cjs.map 157.00 B
18
- CJS ⚡️ Build success in 2628ms
19
- ESM dist/index.mjs 294.13 KB
18
+ CJS ⚡️ Build success in 2684ms
19
+ ESM dist/index.mjs 293.97 KB
20
20
  ESM dist/icons/index.mjs 110.00 B
21
- ESM dist/index.mjs.map 630.07 KB
22
21
  ESM dist/icons/index.mjs.map 157.00 B
23
- ESM ⚡️ Build success in 2629ms
24
- DTS ⚡️ Build success in 18484ms
22
+ ESM dist/index.mjs.map 629.75 KB
23
+ ESM ⚡️ Build success in 2686ms
24
+ DTS ⚡️ Build success in 19002ms
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
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.13.1 postinstall /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.13.2 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,13 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 12.13.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 0714df2: Fix min height on datepicker popover, making sure it fits content.
8
+ - 5829615: Revert combobox fix
9
+ - 59306ea: Fix Collapsible to allow a minor overflow for border and shadow
10
+
3
11
  ## 12.13.1
4
12
 
5
13
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -13,7 +13,6 @@ 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');
17
16
  var awesomePhonenumber = require('awesome-phonenumber');
18
17
  var react$1 = require('@emotion/react');
19
18
  var tokens23 = require('@vygruppen/spor-design-tokens');
@@ -44,7 +43,6 @@ function _interopNamespace(e) {
44
43
 
45
44
  var React27__namespace = /*#__PURE__*/_interopNamespace(React27);
46
45
  var ReactLottie__default = /*#__PURE__*/_interopDefault(ReactLottie);
47
- var ReactDOM__default = /*#__PURE__*/_interopDefault(ReactDOM);
48
46
  var tokens23__namespace = /*#__PURE__*/_interopNamespace(tokens23);
49
47
  var tokens4__default = /*#__PURE__*/_interopDefault(tokens4);
50
48
 
@@ -2582,8 +2580,6 @@ var Popover = React27.forwardRef(
2582
2580
  ...popoverProps,
2583
2581
  ref: popoverRef,
2584
2582
  minWidth: ((_a5 = triggerRef.current) == null ? void 0 : _a5.clientWidth) ?? "auto",
2585
- position: "absolute",
2586
- zIndex: 1400,
2587
2583
  children: [
2588
2584
  /* @__PURE__ */ jsxRuntime.jsx(reactAria.DismissButton, { onDismiss: state.close }),
2589
2585
  children,
@@ -2592,9 +2588,6 @@ var Popover = React27.forwardRef(
2592
2588
  }
2593
2589
  );
2594
2590
  if (isNonModal) {
2595
- if (globalThis.window !== void 0 && typeof document !== "undefined") {
2596
- return ReactDOM__default.default.createPortal(popoverBox, document.body);
2597
- }
2598
2591
  return popoverBox;
2599
2592
  }
2600
2593
  return /* @__PURE__ */ jsxRuntime.jsxs(reactAria.Overlay, { children: [
@@ -7074,6 +7067,8 @@ var collapsibleSlotRecipe = react.defineSlotRecipe({
7074
7067
  className: "chakra-collapsible",
7075
7068
  base: {
7076
7069
  content: {
7070
+ margin: -1,
7071
+ padding: 1,
7077
7072
  overflow: "hidden",
7078
7073
  _open: {
7079
7074
  animationName: "expand-height, fade-in",
@@ -7154,7 +7149,8 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
7154
7149
  outline: "1px solid",
7155
7150
  outlineColor: "floating.outline",
7156
7151
  boxShadow: "md",
7157
- backgroundColor: "floating.surface"
7152
+ backgroundColor: "floating.surface",
7153
+ minHeight: "min-content"
7158
7154
  },
7159
7155
  rangeCalendarPopover: {
7160
7156
  width: "43rem",