cortex-react-ui 0.1.107 → 0.1.108

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.
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface SelectedProps {
3
+ title?: string;
4
+ data: any[];
5
+ onClick: (elt: any) => void;
6
+ }
7
+ declare const Selected: React.FC<SelectedProps>;
8
+ export default Selected;
@@ -0,0 +1 @@
1
+ export { default } from './Selected';
@@ -0,0 +1,69 @@
1
+ @import "../global.scss";
2
+
3
+ .ui-selected-params {
4
+ float: left;
5
+ color: black;
6
+ margin: 15px;
7
+ border: 1px solid black;
8
+ width: 250px;
9
+ }
10
+
11
+ .ui-selected-title {
12
+ color: black;
13
+ font-weight: bold;
14
+ font-size: 15px;
15
+ margin-left: 5px;
16
+ display: table;
17
+ margin-top: -10px;
18
+ background-color: white;
19
+ padding-right: 5px;
20
+ padding-left: 5px;
21
+ }
22
+
23
+ .ui-selected-content {
24
+ color: black;
25
+ margin: 10px;
26
+ }
27
+
28
+ .ui-selected-button {
29
+ display: inline;
30
+ }
31
+
32
+ .ui-selected-btn {
33
+ width: 28%;
34
+ border-radius: 5px;
35
+ height: 30px;
36
+ margin: 5px;
37
+ margin-left: 7px;
38
+ font-weight: bold;
39
+ cursor: pointer;
40
+ background-color: #75c475;
41
+ color: white;
42
+ border: none;
43
+ }
44
+
45
+ .ui-not-selected {
46
+ width: 28%;
47
+ border-radius: 5px;
48
+ height: 30px;
49
+ margin: 5px;
50
+ margin-left: 7px;
51
+ font-weight: bold;
52
+ cursor: pointer;
53
+ background-color: black;
54
+ color: white;
55
+ border: none;
56
+ }
57
+
58
+ .ui-new-selected {
59
+ width: 28%;
60
+ border-radius: 5px;
61
+ height: 30px;
62
+ margin: 5px;
63
+ margin-left: 7px;
64
+ font-weight: bold;
65
+ cursor: pointer;
66
+ background-color: red;
67
+ color: white;
68
+ border: none;
69
+ }
@@ -10,6 +10,8 @@
10
10
  @import "Dialog";
11
11
  @import "Button";
12
12
  @import "ToggleButton";
13
+ @import "Selected";
14
+
13
15
 
14
16
  @include icons();
15
17
  @include popper();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cortex-react-ui",
3
- "version": "0.1.107",
3
+ "version": "0.1.108",
4
4
  "description": "React UI",
5
5
  "author": "Anthony",
6
6
  "license": "MIT",