ssovee-os-web-ui 0.1.42 → 0.1.43
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/Loader-UY5TMG7M.gif +0 -0
- package/dist/index.cjs +14 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +46 -16
- package/dist/index.js +14 -11
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
Binary file
|
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-500 hover:bg-surface-4 active:bg-surface-4 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
|
};
|
|
@@ -185,9 +185,9 @@ var Input = React22__namespace.default.forwardRef(
|
|
|
185
185
|
}, ref) => {
|
|
186
186
|
const baseClasses = "transition-all duration-200 focus:outline-none placeholder:text-neutral-300 rounded-[6px]";
|
|
187
187
|
const variantClasses = {
|
|
188
|
-
default: "bg-primary border border-surface-1 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
189
|
-
filled: "bg-surface-4 border border-surface-4 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
190
|
-
outline: "bg-transparent border border-surface-1 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50"
|
|
188
|
+
default: "bg-primary text-neutral-500 border border-surface-1 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
189
|
+
filled: "bg-surface-4 text-neutral-500 border border-surface-4 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
190
|
+
outline: "bg-transparent text-neutral-500 border border-surface-1 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50"
|
|
191
191
|
};
|
|
192
192
|
const sizeClasses = {
|
|
193
193
|
sm: "h-8 px-2 text-sm",
|
|
@@ -259,9 +259,9 @@ var TextArea = React22__namespace.default.forwardRef(
|
|
|
259
259
|
}, ref) => {
|
|
260
260
|
const baseClasses = "transition-all duration-200 focus:outline-none placeholder:text-neutral-300 rounded-[6px]";
|
|
261
261
|
const variantClasses = {
|
|
262
|
-
default: "bg-primary border border-surface-1 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
263
|
-
filled: "bg-surface-4 border border-surface-4 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
264
|
-
outline: "bg-transparent border border-surface-1 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50"
|
|
262
|
+
default: "bg-primary text-neutral-500 border border-surface-1 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
263
|
+
filled: "bg-surface-4 text-neutral-500 border border-surface-4 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
264
|
+
outline: "bg-transparent text-neutral-500 border border-surface-1 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50"
|
|
265
265
|
};
|
|
266
266
|
const sizeClasses = {
|
|
267
267
|
sm: "px-2 py-1 text-sm",
|
|
@@ -718,6 +718,9 @@ var ImageWithPlaceholder = ({
|
|
|
718
718
|
);
|
|
719
719
|
};
|
|
720
720
|
var ImageWithPlaceholder_default = ImageWithPlaceholder;
|
|
721
|
+
|
|
722
|
+
// src/assets/Loader.gif
|
|
723
|
+
var Loader_default = "./Loader-UY5TMG7M.gif";
|
|
721
724
|
var Loading = ({
|
|
722
725
|
variant = "image",
|
|
723
726
|
size = "md",
|
|
@@ -753,7 +756,7 @@ var Loading = ({
|
|
|
753
756
|
const renderImage = () => /* @__PURE__ */ jsxRuntime.jsx(
|
|
754
757
|
ImageWithPlaceholder_default,
|
|
755
758
|
{
|
|
756
|
-
src:
|
|
759
|
+
src: Loader_default,
|
|
757
760
|
alt: "Loader",
|
|
758
761
|
width: imageSizes[size],
|
|
759
762
|
height: imageSizes[size],
|
|
@@ -1651,9 +1654,9 @@ var SearchInput = React22__namespace.default.forwardRef(
|
|
|
1651
1654
|
const displayPlaceholder = enableKeyboardShortcuts ? `${placeholder} (${formatKeys(getShortcutByCommand("focus_search"))})` : placeholder;
|
|
1652
1655
|
const baseClasses = "transition-all duration-200 focus:outline-none placeholder:text-neutral-300 rounded-[6px]";
|
|
1653
1656
|
const variantClasses = {
|
|
1654
|
-
default: "bg-primary border border-surface-1 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
1655
|
-
filled: "bg-surface-4 border border-surface-4 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
1656
|
-
outline: "bg-transparent border border-surface-1 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50"
|
|
1657
|
+
default: "bg-primary text-neutral-500 border border-surface-1 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
1658
|
+
filled: "bg-surface-4 text-neutral-500 border border-surface-4 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
1659
|
+
outline: "bg-transparent text-neutral-500 border border-surface-1 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50"
|
|
1657
1660
|
};
|
|
1658
1661
|
const sizeClasses = {
|
|
1659
1662
|
sm: "h-8 text-sm leading-tight",
|