taro-react-uilib 1.4.7 → 1.4.8
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.
|
@@ -77,13 +77,12 @@
|
|
|
77
77
|
flex: 1;
|
|
78
78
|
height: 100%;
|
|
79
79
|
margin-left: 30px;
|
|
80
|
-
|
|
80
|
+
&-native {
|
|
81
81
|
border: 0 none;
|
|
82
82
|
display: block;
|
|
83
83
|
font-size: 32px;
|
|
84
84
|
width: 100%;
|
|
85
|
-
|
|
86
|
-
input {
|
|
85
|
+
caret-color: var(--color-primary);
|
|
87
86
|
&::placeholder {
|
|
88
87
|
font-size: 28px;
|
|
89
88
|
color: var(--font-color-tertiary);
|
package/package.json
CHANGED
package/types/types/index.d.ts
CHANGED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './button.css';
|
|
3
|
-
interface ButtonProps {
|
|
4
|
-
/**
|
|
5
|
-
* Is this the principal call to action on the page?
|
|
6
|
-
*/
|
|
7
|
-
primary?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* What background color to use
|
|
10
|
-
*/
|
|
11
|
-
backgroundColor?: string;
|
|
12
|
-
/**
|
|
13
|
-
* How large should the button be?
|
|
14
|
-
*/
|
|
15
|
-
size?: 'small' | 'medium' | 'large';
|
|
16
|
-
/**
|
|
17
|
-
* Button contents
|
|
18
|
-
*/
|
|
19
|
-
label: string;
|
|
20
|
-
/**
|
|
21
|
-
* Optional click handler
|
|
22
|
-
*/
|
|
23
|
-
onClick?: () => void;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Primary UI component for user interaction
|
|
27
|
-
*/
|
|
28
|
-
export declare const Button: ({ primary, size, backgroundColor, label, ...props }: ButtonProps) => JSX.Element;
|
|
29
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './header.css';
|
|
3
|
-
interface HeaderProps {
|
|
4
|
-
user?: {};
|
|
5
|
-
onLogin: () => void;
|
|
6
|
-
onLogout: () => void;
|
|
7
|
-
onCreateAccount: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const Header: ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => JSX.Element;
|
|
10
|
-
export {};
|
package/types/stories/Page.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import './page.css';
|
|
3
|
-
interface PageProps {
|
|
4
|
-
user?: {};
|
|
5
|
-
onLogin: () => void;
|
|
6
|
-
onLogout: () => void;
|
|
7
|
-
onCreateAccount: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const Page: ({ user, onLogin, onLogout, onCreateAccount }: PageProps) => JSX.Element;
|
|
10
|
-
export {};
|