@officesdk/design 0.1.13 → 0.1.14
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.
|
@@ -357,7 +357,7 @@ interface SliderProps {
|
|
|
357
357
|
declare const Slider: React.FC<SliderProps>;
|
|
358
358
|
|
|
359
359
|
type InputSize = 'mini' | 'small' | 'medium' | 'large';
|
|
360
|
-
type LineType = 'outlined' | 'underlined';
|
|
360
|
+
type LineType = 'outlined' | 'underlined' | 'borderless';
|
|
361
361
|
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'prefix'> {
|
|
362
362
|
/**
|
|
363
363
|
* Input line type
|
|
@@ -2026,7 +2026,17 @@ var InputWrapper2 = exports.styled.div`
|
|
|
2026
2026
|
boxShadow = sizeConfig?.boxShadowActive || "none";
|
|
2027
2027
|
}
|
|
2028
2028
|
}
|
|
2029
|
-
if ($lineType === "
|
|
2029
|
+
if ($lineType === "borderless") {
|
|
2030
|
+
return `
|
|
2031
|
+
border: none;
|
|
2032
|
+
background: transparent;
|
|
2033
|
+
box-shadow: none;
|
|
2034
|
+
|
|
2035
|
+
&:hover:not(:disabled) {
|
|
2036
|
+
background: transparent;
|
|
2037
|
+
}
|
|
2038
|
+
`;
|
|
2039
|
+
} else if ($lineType === "outlined") {
|
|
2030
2040
|
return `
|
|
2031
2041
|
border: 1px solid ${borderColor};
|
|
2032
2042
|
background: ${background};
|