ssovee-os-web-ui 0.1.43 → 0.1.44
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.
- package/dist/icon-192x192-63UN7CD6.svg +5 -0
- package/dist/index.cjs +11 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +6 -0
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="192" height="192" viewBox="0 0 192 192" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect width="192" height="192" rx="24" fill="#000000"/>
|
|
3
|
+
<text x="96" y="120" font-family="Arial, sans-serif" font-size="48" font-weight="bold" text-anchor="middle" fill="#ffffff">S</text>
|
|
4
|
+
<circle cx="96" cy="96" r="80" stroke="#ffffff" stroke-width="4" fill="none"/>
|
|
5
|
+
</svg>
|
package/dist/index.cjs
CHANGED
|
@@ -59,7 +59,7 @@ var Button = React22__namespace.default.forwardRef(
|
|
|
59
59
|
};
|
|
60
60
|
const filledToneClasses = {
|
|
61
61
|
primary: "bg-brand-color text-white hover:bg-brand-color/90 active:bg-brand-color/80 focus-visible:ring-brand-color/50 shadow-sm hover:shadow-md active:shadow-none disabled:bg-brand-color/50 disabled:text-white/80",
|
|
62
|
-
neutral: "bg-surface-3 text-neutral-
|
|
62
|
+
neutral: "bg-surface-3 text-neutral-700 hover:text-neutral-700 active:text-neutral-700 hover:bg-surface-4 active:bg-surface-4 border border-surface-1 focus-visible:ring-surface-3/50 shadow-sm hover:shadow-md active:shadow-none disabled:bg-surface-3/50",
|
|
63
63
|
success: "bg-green-500 text-white hover:bg-green-600 active:bg-green-600 focus-visible:ring-green-500/50 shadow-sm hover:shadow-md active:shadow-none disabled:bg-green-500/50",
|
|
64
64
|
danger: "bg-red-500 text-white hover:bg-red-600 active:bg-red-600 focus-visible:ring-red-500/50 shadow-sm hover:shadow-md active:shadow-none disabled:bg-red-500/50"
|
|
65
65
|
};
|
|
@@ -656,10 +656,13 @@ var Dropdown = ({
|
|
|
656
656
|
] });
|
|
657
657
|
};
|
|
658
658
|
var Dropdown_default = Dropdown;
|
|
659
|
+
|
|
660
|
+
// src/assets/icon-192x192.svg
|
|
661
|
+
var icon_192x192_default = "./icon-192x192-63UN7CD6.svg";
|
|
659
662
|
var ImageWithPlaceholder = ({
|
|
660
663
|
src,
|
|
661
664
|
alt,
|
|
662
|
-
fallbackSrc =
|
|
665
|
+
fallbackSrc = icon_192x192_default,
|
|
663
666
|
className,
|
|
664
667
|
onError,
|
|
665
668
|
...props
|
|
@@ -675,7 +678,12 @@ var ImageWithPlaceholder = ({
|
|
|
675
678
|
const trimmed = s.trim();
|
|
676
679
|
if (trimmed === "") return false;
|
|
677
680
|
if (trimmed.startsWith("data:")) return true;
|
|
678
|
-
if (trimmed.startsWith("/") || trimmed.startsWith("./") || trimmed.startsWith("../"))
|
|
681
|
+
if (trimmed.startsWith("/") || trimmed.startsWith("./") || trimmed.startsWith("../")) {
|
|
682
|
+
return true;
|
|
683
|
+
}
|
|
684
|
+
if (/^[^\s?#]+\.(png|jpe?g|gif|webp|svg|bmp|ico|avif)(\?.*)?(#.*)?$/i.test(trimmed)) {
|
|
685
|
+
return true;
|
|
686
|
+
}
|
|
679
687
|
try {
|
|
680
688
|
new URL(trimmed);
|
|
681
689
|
return true;
|