@julien-wiegandt/open-ui 0.1.45 → 0.1.47
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.
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import { Color } from '../../theme/types';
|
|
1
2
|
import { MarginProps, PaddingProps } from '../common/types';
|
|
2
3
|
export type TextAreaProps = {
|
|
4
|
+
color?: Color;
|
|
3
5
|
error?: string;
|
|
4
6
|
w?: string;
|
|
5
7
|
h?: string;
|
|
6
8
|
} & MarginProps & PaddingProps & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
7
9
|
export declare const TextArea: import('react').ForwardRefExoticComponent<{
|
|
10
|
+
color?: Color;
|
|
8
11
|
error?: string;
|
|
9
12
|
w?: string;
|
|
10
13
|
h?: string;
|
package/dist/open-ui.js
CHANGED
|
@@ -4945,7 +4945,7 @@ const $d = St.div`
|
|
|
4945
4945
|
align-items: center;
|
|
4946
4946
|
text-align: left;
|
|
4947
4947
|
|
|
4948
|
-
color: ${({ theme: n }) => n.palette.
|
|
4948
|
+
color: ${({ theme: n, color: e }) => n.palette[e ?? "default"].main};
|
|
4949
4949
|
background-color: white;
|
|
4950
4950
|
border-radius: min(16px, ${({ theme: n }) => ar[n.radius]});
|
|
4951
4951
|
padding: 8px 12px;
|
package/dist/open-ui.umd.cjs
CHANGED
|
@@ -281,7 +281,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[wi]+=1);const Zt={none:"0px",
|
|
|
281
281
|
align-items: center;
|
|
282
282
|
text-align: left;
|
|
283
283
|
|
|
284
|
-
color: ${({theme:n})=>n.palette.
|
|
284
|
+
color: ${({theme:n,color:e})=>n.palette[e??"default"].main};
|
|
285
285
|
background-color: white;
|
|
286
286
|
border-radius: min(16px, ${({theme:n})=>Zt[n.radius]});
|
|
287
287
|
padding: 8px 12px;
|