uibee 2.16.28 → 2.16.29

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.
@@ -4,5 +4,5 @@ export default function Bubble({ bubble }) {
4
4
  if (bubble.hide) {
5
5
  return null;
6
6
  }
7
- return (_jsxs("a", { href: bubble.href, className: `absolute ${bubble.className}`, children: [_jsxs("svg", { viewBox: '0 0 24 12', className: 'absolute -top-3 h-3 w-6', "aria-hidden": 'true', children: [_jsx("path", { d: 'M12 0 24 12H0Z', fill: bubble.fill, stroke: bubble.stroke, strokeWidth: '1.5', strokeLinejoin: 'round' }), _jsx("path", { d: 'M12 0 24 12H0Z', fill: bubble.fill })] }), _jsxs("div", { className: 'flex justify-between', children: [_jsx("span", { children: bubble.text }), _jsx(X, { onClick: bubble.handleHide, className: bubble.x })] })] }));
7
+ return (_jsxs("a", { href: bubble.href, className: `absolute top-5 min-w-10 ${bubble.className}`, children: [_jsxs("svg", { viewBox: '0 0 24 12', className: 'absolute -top-3 h-3 w-6', "aria-hidden": 'true', children: [_jsx("path", { d: 'M12 0 24 12H0Z', fill: bubble.fill, stroke: bubble.stroke, strokeWidth: '1.5', strokeLinejoin: 'round' }), _jsx("path", { d: 'M12 0 24 12H0Z', fill: bubble.fill })] }), _jsxs("div", { className: 'flex justify-between', children: [_jsx("span", { children: bubble.text }), _jsx(X, { onClick: bubble.handleHide, className: bubble.x })] })] }));
8
8
  }
@@ -348,6 +348,9 @@
348
348
  .top-4 {
349
349
  top: calc(var(--spacing) * 4);
350
350
  }
351
+ .top-5 {
352
+ top: calc(var(--spacing) * 5);
353
+ }
351
354
  .top-6 {
352
355
  top: calc(var(--spacing) * 6);
353
356
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uibee",
3
- "version": "2.16.28",
3
+ "version": "2.16.29",
4
4
  "description": "Shared components, functions and hooks for reuse across Login projects",
5
5
  "homepage": "https://github.com/Login-Linjeforening-for-IT/uibee#readme",
6
6
  "bugs": {
@@ -19,7 +19,7 @@ export default function Bubble({ bubble }: { bubble: BubbleText }) {
19
19
  return (
20
20
  <a
21
21
  href={bubble.href}
22
- className={`absolute ${bubble.className}`}
22
+ className={`absolute top-5 min-w-10 ${bubble.className}`}
23
23
  >
24
24
  <svg
25
25
  viewBox='0 0 24 12'