kiva-protocol-ui-kit 1.0.52 → 1.0.56
Sign up to get free protection for your applications and to get access to all the features.
- package/build/button/Button.scss +1 -1
- package/build/consent-card/ConsentCard.d.ts +2 -2
- package/build/dropdown/Dropdown.d.ts +9 -0
- package/build/dropdown/Dropdown.scss +13 -0
- package/build/index.d.ts +1 -0
- package/build/index.esm.js +36 -25
- package/build/index.esm.js.map +1 -1
- package/build/index.js +34 -22
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/button/Button.scss
CHANGED
@@ -8,8 +8,8 @@ export interface ConsentCardProps {
|
|
8
8
|
agreement: string;
|
9
9
|
pii: JSX.Element | null;
|
10
10
|
backBtnHandler?: MouseEventHandler<HTMLButtonElement>;
|
11
|
-
backBtnContent
|
12
|
-
acceptBtnHandler
|
11
|
+
backBtnContent?: string;
|
12
|
+
acceptBtnHandler: MouseEventHandler<HTMLButtonElement>;
|
13
13
|
acceptBtnContent: string;
|
14
14
|
}
|
15
15
|
export declare const ConsentCard: FunctionComponent<ConsentCardProps>;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { FunctionComponent } from "react";
|
2
|
+
import "./Dropdown.scss";
|
3
|
+
import "../typography.scss";
|
4
|
+
import "../variables.scss";
|
5
|
+
import 'bootstrap/dist/css/bootstrap.min.css';
|
6
|
+
export interface DropdownProps {
|
7
|
+
options: string[];
|
8
|
+
}
|
9
|
+
export declare const Dropdown: FunctionComponent<DropdownProps>;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
.btn-primary.protocol-dropdown-btn,
|
2
|
+
.btn-primary.protocol-dropdown-btn:hover,
|
3
|
+
.btn-primary.protocol-dropdown-btn:focus,
|
4
|
+
.btn-primary.protocol-dropdown-btn:active,
|
5
|
+
.btn-primary.protocol-dropdown-btn.dropdown-toggle {
|
6
|
+
background-color: #FFF;
|
7
|
+
color: #000;
|
8
|
+
border-color: #D4D4D4;
|
9
|
+
outline: none !important;
|
10
|
+
box-shadow: none !important;
|
11
|
+
border-radius: 12px;
|
12
|
+
}
|
13
|
+
|
package/build/index.d.ts
CHANGED