ssovee-os-web-ui 0.1.54 → 0.1.56
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/index.cjs +17 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +32 -12
- package/dist/index.js +17 -17
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -183,7 +183,7 @@ var Input = React22__namespace.default.forwardRef(
|
|
|
183
183
|
onKeyUp,
|
|
184
184
|
...props
|
|
185
185
|
}, ref) => {
|
|
186
|
-
const baseClasses = "transition-all duration-200 focus:outline-none placeholder:text-
|
|
186
|
+
const baseClasses = "transition-all duration-200 focus:outline-none placeholder:text-neutral-700 dark:placeholder:text-neutral-200 rounded-[6px] text-[#173657] dark:text-[#d7e1ef]";
|
|
187
187
|
const variantClasses = {
|
|
188
188
|
default: "bg-primary border border-surface-1 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
189
189
|
filled: "bg-surface-4 border border-surface-4 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
@@ -257,7 +257,7 @@ var TextArea = React22__namespace.default.forwardRef(
|
|
|
257
257
|
resize = "vertical",
|
|
258
258
|
...props
|
|
259
259
|
}, ref) => {
|
|
260
|
-
const baseClasses = "transition-all duration-200 focus:outline-none placeholder:text-
|
|
260
|
+
const baseClasses = "transition-all duration-200 focus:outline-none placeholder:text-neutral-700 dark:placeholder:text-neutral-200 rounded-[6px] text-[#173657] dark:text-[#d7e1ef]";
|
|
261
261
|
const variantClasses = {
|
|
262
262
|
default: "bg-primary border border-surface-1 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
263
263
|
filled: "bg-surface-4 border border-surface-4 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
@@ -343,7 +343,7 @@ var Select = React22__namespace.default.forwardRef(
|
|
|
343
343
|
className: cn(
|
|
344
344
|
baseClasses,
|
|
345
345
|
variantClasses[variant],
|
|
346
|
-
isPlaceholderSelected ? "text-
|
|
346
|
+
isPlaceholderSelected ? "text-neutral-700 dark:text-neutral-200" : "text-[#173657] dark:text-[#d7e1ef]",
|
|
347
347
|
sizeClasses[size],
|
|
348
348
|
widthClasses,
|
|
349
349
|
"pr-10",
|
|
@@ -624,7 +624,7 @@ var Dropdown = ({
|
|
|
624
624
|
className
|
|
625
625
|
),
|
|
626
626
|
children: [
|
|
627
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: selectedOption ? "text-[#173657] dark:text-[#d7e1ef]" :
|
|
627
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: selectedOption ? "text-[#173657] dark:text-[#d7e1ef]" : "text-neutral-700 dark:text-neutral-200", children: selectedOption ? selectedOption.label : placeholder }),
|
|
628
628
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
629
629
|
react.CaretDownIcon,
|
|
630
630
|
{
|
|
@@ -1662,7 +1662,7 @@ var SearchInput = React22__namespace.default.forwardRef(
|
|
|
1662
1662
|
};
|
|
1663
1663
|
}, [enableKeyboardShortcuts, isActive, handleClear, addShortcutListener, removeShortcutListener]);
|
|
1664
1664
|
const displayPlaceholder = enableKeyboardShortcuts ? `${placeholder} (${formatKeys(getShortcutByCommand("focus_search"))})` : placeholder;
|
|
1665
|
-
const baseClasses = "transition-all duration-200 focus:outline-none rounded-[6px] placeholder:text-
|
|
1665
|
+
const baseClasses = "transition-all duration-200 focus:outline-none rounded-[6px] placeholder:text-neutral-700 dark:placeholder:text-neutral-200 text-[#173657] dark:text-[#d7e1ef]";
|
|
1666
1666
|
const variantClasses = {
|
|
1667
1667
|
default: "bg-primary border border-surface-1 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
1668
1668
|
filled: "bg-surface-4 border border-surface-4 focus:border-brand-color focus:ring-1 focus:ring-brand-color/50",
|
|
@@ -1825,9 +1825,9 @@ var FileUpload = ({
|
|
|
1825
1825
|
lg: "h-32 px-6 text-lg"
|
|
1826
1826
|
};
|
|
1827
1827
|
const defaultContent = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center justify-center h-full text-center", children: [
|
|
1828
|
-
/* @__PURE__ */ jsxRuntime.jsx(react.UploadIcon, { size: 24, className: "text-
|
|
1829
|
-
/* @__PURE__ */ jsxRuntime.jsx(Typography_default, { variant: "p", className: "text-sm text-
|
|
1830
|
-
accept && /* @__PURE__ */ jsxRuntime.jsxs(Typography_default, { variant: "p", className: "text-xs text-
|
|
1828
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.UploadIcon, { size: 24, className: "text-neutral-700 mb-2 dark:text-neutral-100" }),
|
|
1829
|
+
/* @__PURE__ */ jsxRuntime.jsx(Typography_default, { variant: "p", className: "text-sm text-neutral-700 dark:text-neutral-100", children: dragAndDrop ? "Drag and drop files here" : "Click to upload files" }),
|
|
1830
|
+
accept && /* @__PURE__ */ jsxRuntime.jsxs(Typography_default, { variant: "p", className: "text-xs text-neutral-700/70 dark:text-neutral-100/70 mt-1", children: [
|
|
1831
1831
|
"Accepted: ",
|
|
1832
1832
|
accept
|
|
1833
1833
|
] })
|
|
@@ -1989,7 +1989,7 @@ var Pagination = ({
|
|
|
1989
1989
|
className: cn(
|
|
1990
1990
|
"flex items-center justify-center",
|
|
1991
1991
|
sizeClasses[size],
|
|
1992
|
-
"text-neutral-400 dark:text-
|
|
1992
|
+
"text-neutral-400 dark:text-neutral-300"
|
|
1993
1993
|
),
|
|
1994
1994
|
children: "..."
|
|
1995
1995
|
},
|
|
@@ -2005,8 +2005,8 @@ var Pagination = ({
|
|
|
2005
2005
|
"flex items-center justify-center font-medium transition-all duration-200 rounded-[6px]",
|
|
2006
2006
|
sizeClasses[size],
|
|
2007
2007
|
variantClasses[variant],
|
|
2008
|
-
isActive ? activeClasses[variant] : "text-
|
|
2009
|
-
!isActive && "hover:text-
|
|
2008
|
+
isActive ? activeClasses[variant] : "text-neutral-700 dark:text-neutral-100",
|
|
2009
|
+
!isActive && "hover:text-neutral-900 dark:hover:text-neutral-100"
|
|
2010
2010
|
),
|
|
2011
2011
|
children: page
|
|
2012
2012
|
},
|
|
@@ -2022,7 +2022,7 @@ var Pagination = ({
|
|
|
2022
2022
|
"flex items-center justify-center font-medium transition-all duration-200 rounded-[6px]",
|
|
2023
2023
|
sizeClasses[size],
|
|
2024
2024
|
variantClasses[variant],
|
|
2025
|
-
"text-
|
|
2025
|
+
"text-neutral-700 hover:text-neutral-900 dark:text-neutral-100 dark:hover:text-neutral-100"
|
|
2026
2026
|
),
|
|
2027
2027
|
children: "First"
|
|
2028
2028
|
}
|
|
@@ -2035,7 +2035,7 @@ var Pagination = ({
|
|
|
2035
2035
|
"flex items-center justify-center font-medium transition-all duration-200 rounded-[6px]",
|
|
2036
2036
|
sizeClasses[size],
|
|
2037
2037
|
variantClasses[variant],
|
|
2038
|
-
"text-
|
|
2038
|
+
"text-neutral-700 hover:text-neutral-900 dark:text-neutral-100 dark:hover:text-neutral-100"
|
|
2039
2039
|
),
|
|
2040
2040
|
children: /* @__PURE__ */ jsxRuntime.jsx(react.CaretLeftIcon, { size: 16 })
|
|
2041
2041
|
}
|
|
@@ -2049,7 +2049,7 @@ var Pagination = ({
|
|
|
2049
2049
|
"flex items-center justify-center font-medium transition-all duration-200 rounded-[6px]",
|
|
2050
2050
|
sizeClasses[size],
|
|
2051
2051
|
variantClasses[variant],
|
|
2052
|
-
"text-
|
|
2052
|
+
"text-neutral-700 hover:text-neutral-900 dark:text-neutral-100 dark:hover:text-neutral-100"
|
|
2053
2053
|
),
|
|
2054
2054
|
children: /* @__PURE__ */ jsxRuntime.jsx(react.CaretRightIcon, { size: 16 })
|
|
2055
2055
|
}
|
|
@@ -2062,7 +2062,7 @@ var Pagination = ({
|
|
|
2062
2062
|
"flex items-center justify-center font-medium transition-all duration-200 rounded-[6px]",
|
|
2063
2063
|
sizeClasses[size],
|
|
2064
2064
|
variantClasses[variant],
|
|
2065
|
-
"text-
|
|
2065
|
+
"text-neutral-700 hover:text-neutral-900 dark:text-neutral-100 dark:hover:text-neutral-100"
|
|
2066
2066
|
),
|
|
2067
2067
|
children: "Last"
|
|
2068
2068
|
}
|
|
@@ -3133,13 +3133,13 @@ var Table = React22__namespace.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
3133
3133
|
}
|
|
3134
3134
|
) }));
|
|
3135
3135
|
Table.displayName = "Table";
|
|
3136
|
-
var TableHeader = React22__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("thead", { ref, className: cn("[&_tr]:border-b text-
|
|
3136
|
+
var TableHeader = React22__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("thead", { ref, className: cn("[&_tr]:border-b text-neutral-700 dark:text-neutral-100 bg-surface-2", className), ...props }));
|
|
3137
3137
|
TableHeader.displayName = "TableHeader";
|
|
3138
3138
|
var TableBody = React22__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3139
3139
|
"tbody",
|
|
3140
3140
|
{
|
|
3141
3141
|
ref,
|
|
3142
|
-
className: cn("[&_tr:last-child]:border-0 text-
|
|
3142
|
+
className: cn("[&_tr:last-child]:border-0 text-neutral-700/70 dark:text-neutral-100", className),
|
|
3143
3143
|
...props
|
|
3144
3144
|
}
|
|
3145
3145
|
));
|