uibee 2.16.30 → 2.16.32

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 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 })] })] }));
7
+ return (_jsxs("a", { href: bubble.href, className: `absolute top-15 min-w-30 ${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", { className: 'min-w-30', children: bubble.text }), _jsx(X, { onClick: bubble.handleHide, className: bubble.x })] })] }));
8
8
  }
@@ -354,8 +354,8 @@
354
354
  .top-7 {
355
355
  top: calc(var(--spacing) * 7);
356
356
  }
357
- .top-10 {
358
- top: calc(var(--spacing) * 10);
357
+ .top-15 {
358
+ top: calc(var(--spacing) * 15);
359
359
  }
360
360
  .top-16 {
361
361
  top: calc(var(--spacing) * 16);
@@ -1276,9 +1276,6 @@
1276
1276
  .min-w-10 {
1277
1277
  min-width: calc(var(--spacing) * 10);
1278
1278
  }
1279
- .min-w-20 {
1280
- min-width: calc(var(--spacing) * 20);
1281
- }
1282
1279
  .min-w-30 {
1283
1280
  min-width: calc(var(--spacing) * 30);
1284
1281
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uibee",
3
- "version": "2.16.30",
3
+ "version": "2.16.32",
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 top-10 min-w-20 ${bubble.className}`}
22
+ className={`absolute top-15 min-w-30 ${bubble.className}`}
23
23
  >
24
24
  <svg
25
25
  viewBox='0 0 24 12'
@@ -39,7 +39,7 @@ export default function Bubble({ bubble }: { bubble: BubbleText }) {
39
39
  />
40
40
  </svg>
41
41
  <div className='flex justify-between'>
42
- <span>{bubble.text}</span>
42
+ <span className='min-w-30'>{bubble.text}</span>
43
43
  <X onClick={bubble.handleHide} className={bubble.x} />
44
44
  </div>
45
45
  </a>