uibee 2.16.32 → 2.16.33

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-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 })] })] }));
7
+ return (_jsxs("a", { href: bubble.href, className: `absolute top-13 min-w-40 ${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-40', 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-15 {
358
- top: calc(var(--spacing) * 15);
357
+ .top-13 {
358
+ top: calc(var(--spacing) * 13);
359
359
  }
360
360
  .top-16 {
361
361
  top: calc(var(--spacing) * 16);
@@ -1279,6 +1279,9 @@
1279
1279
  .min-w-30 {
1280
1280
  min-width: calc(var(--spacing) * 30);
1281
1281
  }
1282
+ .min-w-40 {
1283
+ min-width: calc(var(--spacing) * 40);
1284
+ }
1282
1285
  .min-w-70 {
1283
1286
  min-width: calc(var(--spacing) * 70);
1284
1287
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uibee",
3
- "version": "2.16.32",
3
+ "version": "2.16.33",
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-15 min-w-30 ${bubble.className}`}
22
+ className={`absolute top-13 min-w-40 ${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 className='min-w-30'>{bubble.text}</span>
42
+ <span className='min-w-40'>{bubble.text}</span>
43
43
  <X onClick={bubble.handleHide} className={bubble.x} />
44
44
  </div>
45
45
  </a>