uibee 2.16.30 → 2.16.31
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-
|
|
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", { children: bubble.text }), _jsx(X, { onClick: bubble.handleHide, className: bubble.x })] })] }));
|
|
8
8
|
}
|
package/dist/src/globals.css
CHANGED
|
@@ -354,8 +354,8 @@
|
|
|
354
354
|
.top-7 {
|
|
355
355
|
top: calc(var(--spacing) * 7);
|
|
356
356
|
}
|
|
357
|
-
.top-
|
|
358
|
-
top: calc(var(--spacing) *
|
|
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
|
@@ -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-
|
|
22
|
+
className={`absolute top-15 min-w-30 ${bubble.className}`}
|
|
23
23
|
>
|
|
24
24
|
<svg
|
|
25
25
|
viewBox='0 0 24 12'
|