kiva-protocol-ui-kit 1.0.53 → 1.0.57

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
 
2
- button {
2
+ button.protocol-button {
3
3
  height: 50px;
4
4
  border-radius: 16px !important;
5
5
  background-color: #004FD4 !important;
@@ -6,7 +6,7 @@ import 'bootstrap/dist/css/bootstrap.min.css';
6
6
  export interface ConsentCardProps {
7
7
  title: string;
8
8
  agreement: string;
9
- pii: JSX.Element | null;
9
+ pii: string[];
10
10
  backBtnHandler?: MouseEventHandler<HTMLButtonElement>;
11
11
  backBtnContent?: string;
12
12
  acceptBtnHandler: MouseEventHandler<HTMLButtonElement>;
@@ -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
@@ -5,3 +5,4 @@ export { Alert } from "./alert/Alert";
5
5
  export { FormInput } from "./form-input/FormInput";
6
6
  export { QrCode } from "./qr-code/QrCode";
7
7
  export { ConsentCard } from "./consent-card/ConsentCard";
8
+ export { Dropdown } from "./dropdown/Dropdown";