@dbcdk/react-components 0.0.76 → 0.0.77

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.
@@ -250,7 +250,8 @@ export const Popover = forwardRef(function Popover({ trigger: Trigger, children,
250
250
  maxHeight: `clamp(100px, calc(100vh - ${viewportPadding * 2}px), ${contentMaxHeightPx}px)`,
251
251
  visibility: positioned ? undefined : 'hidden',
252
252
  }, "data-cy": dataCy !== null && dataCy !== void 0 ? dataCy : 'popover-content', children: typeof children === 'function'
253
- ? children(() => closePopover('api'))
253
+ ? // eslint-disable-next-line react-hooks/refs
254
+ children(() => closePopover('api'))
254
255
  : children }), document.body)] }));
255
256
  });
256
257
  Popover.displayName = 'Popover';
@@ -41,7 +41,7 @@
41
41
  border: 1px solid var(--color-border-subtle);
42
42
  background-color: var(--color-bg-surface);
43
43
  border-radius: var(--border-radius-lg);
44
- padding: 0;
44
+ padding-block: var(--spacing-xxs);
45
45
  z-index: var(--z-popover);
46
46
  overflow: auto;
47
47
  box-shadow:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbcdk/react-components",
3
- "version": "0.0.76",
3
+ "version": "0.0.77",
4
4
  "description": "Reusable React components for DBC projects",
5
5
  "license": "ISC",
6
6
  "author": "",