@optigrit/optigrit-ui 0.0.15 → 0.0.16
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.
|
@@ -233,6 +233,7 @@ var Input = forwardRef((props, ref) => {
|
|
|
233
233
|
"--border-color-hover": colorMix(primaryColor, 40),
|
|
234
234
|
"--light-primary-color": colorMix(primaryColor, 50),
|
|
235
235
|
"--primary-color": colorMix(primaryColor, 100),
|
|
236
|
+
"--autofill-bg-color": colorMix(primaryColor, 10, bgColor),
|
|
236
237
|
width: fullWidth === void 0 || fullWidth ? "100%" : "auto",
|
|
237
238
|
...inputContainerProps?.style
|
|
238
239
|
},
|
|
@@ -263,7 +264,7 @@ var Input = forwardRef((props, ref) => {
|
|
|
263
264
|
ref,
|
|
264
265
|
required: required === void 0 || required,
|
|
265
266
|
className: cn(
|
|
266
|
-
"text-sm w-full h-full border-none outline-none rounded-
|
|
267
|
+
"text-sm w-full h-full border-none outline-none rounded-lg transition-all duration-200 placeholder-[var(--placeholder-color)] text-[var(--text-color)] [&:-webkit-autofill]:[-webkit-text-fill-color:var(--text-color)] [&:-webkit-autofill]:[-webkit-box-shadow:_0_0_1000px_inset_var(--autofill-bg-color)] bg-[var(--bg-color)]",
|
|
267
268
|
isFocus || !label || labelShrink === void 0 || labelShrink ? "" : "placeholder:opacity-0",
|
|
268
269
|
inputProps.className
|
|
269
270
|
),
|
package/dist/components/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
ShowWithAnimation,
|
|
7
7
|
Spinner,
|
|
8
8
|
cn
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-ISRYL4WZ.js";
|
|
10
10
|
import "../chunk-MCQS3QNN.js";
|
|
11
11
|
import {
|
|
12
12
|
useKeyboardShortcuts
|
|
@@ -984,7 +984,7 @@ var TableContainer = forwardRef4(
|
|
|
984
984
|
"div",
|
|
985
985
|
{
|
|
986
986
|
ref,
|
|
987
|
-
className: `w-full overflow-auto rounded-lg border bg-
|
|
987
|
+
className: `w-full overflow-auto rounded-lg border bg-bg-secondary shadow-sm ${className}`,
|
|
988
988
|
...props,
|
|
989
989
|
children
|
|
990
990
|
}
|
|
@@ -1566,7 +1566,7 @@ function DrawerHeader({ children, className, style }) {
|
|
|
1566
1566
|
return /* @__PURE__ */ jsx35(
|
|
1567
1567
|
"div",
|
|
1568
1568
|
{
|
|
1569
|
-
className: cn("sticky top-0 z-20 backdrop-blur-sm bg-
|
|
1569
|
+
className: cn("sticky top-0 z-20 backdrop-blur-sm bg-bg-secondary/60 px-4 py-3 border-b border-border", className),
|
|
1570
1570
|
style,
|
|
1571
1571
|
children
|
|
1572
1572
|
}
|
|
@@ -1579,7 +1579,7 @@ function DrawerFooter({ children, className, style }) {
|
|
|
1579
1579
|
return /* @__PURE__ */ jsx36(
|
|
1580
1580
|
"div",
|
|
1581
1581
|
{
|
|
1582
|
-
className: cn("sticky bottom-0 z-20 backdrop-blur-sm bg-
|
|
1582
|
+
className: cn("sticky bottom-0 z-20 backdrop-blur-sm bg-bg-secondary/60 px-4 py-3 border-t border-border", className),
|
|
1583
1583
|
style,
|
|
1584
1584
|
children
|
|
1585
1585
|
}
|
package/dist/core/index.js
CHANGED