uibee 2.16.28 → 2.16.30

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-10 min-w-20 ${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
  }
@@ -354,6 +354,9 @@
354
354
  .top-7 {
355
355
  top: calc(var(--spacing) * 7);
356
356
  }
357
+ .top-10 {
358
+ top: calc(var(--spacing) * 10);
359
+ }
357
360
  .top-16 {
358
361
  top: calc(var(--spacing) * 16);
359
362
  }
@@ -1273,6 +1276,9 @@
1273
1276
  .min-w-10 {
1274
1277
  min-width: calc(var(--spacing) * 10);
1275
1278
  }
1279
+ .min-w-20 {
1280
+ min-width: calc(var(--spacing) * 20);
1281
+ }
1276
1282
  .min-w-30 {
1277
1283
  min-width: calc(var(--spacing) * 30);
1278
1284
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uibee",
3
- "version": "2.16.28",
3
+ "version": "2.16.30",
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-10 min-w-20 ${bubble.className}`}
23
23
  >
24
24
  <svg
25
25
  viewBox='0 0 24 12'