@eturnity/eturnity_reusable_components 1.0.87 → 1.0.91
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.
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
:optionItems="itemOptions"
|
|
22
22
|
:optionsDisplay="['display_name', 'company_item_number', 'model']"
|
|
23
23
|
/> -->
|
|
24
|
+
<td>
|
|
25
|
+
<search-input />
|
|
26
|
+
</td>
|
|
24
27
|
<div class="icons-container">
|
|
25
28
|
<three-dots :options="listOptions" :isLoading="false" />
|
|
26
29
|
</div>
|
|
@@ -47,6 +50,7 @@ import styled from "vue-styled-components"
|
|
|
47
50
|
import MainTable from "@/components/tables/mainTable"
|
|
48
51
|
import ThreeDots from "@/components/threeDots"
|
|
49
52
|
import Toggle from "@/components/inputs/toggle"
|
|
53
|
+
import SearchInput from "@/components/inputs/searchInput"
|
|
50
54
|
// import TableDropdown from "@/components/tableDropdown"
|
|
51
55
|
|
|
52
56
|
const PageContainer = styled.div`
|
|
@@ -61,6 +65,7 @@ export default {
|
|
|
61
65
|
MainTable,
|
|
62
66
|
ThreeDots,
|
|
63
67
|
Toggle,
|
|
68
|
+
SearchInput,
|
|
64
69
|
// TableDropdown,
|
|
65
70
|
},
|
|
66
71
|
data() {
|
|
@@ -73,13 +73,13 @@ const Container = styled("label", containerAttrs)`
|
|
|
73
73
|
? "16px"
|
|
74
74
|
: "25px"};
|
|
75
75
|
background-color: ${(props) =>
|
|
76
|
-
props.
|
|
77
|
-
? props.theme.colors.lightGray
|
|
78
|
-
: !props.isChecked
|
|
79
|
-
? "#fff"
|
|
80
|
-
: props.backgroundColor
|
|
76
|
+
props.isChecked
|
|
81
77
|
? props.backgroundColor
|
|
82
|
-
|
|
78
|
+
? props.backgroundColor
|
|
79
|
+
: props.theme.colors.green
|
|
80
|
+
: props.isDisabled
|
|
81
|
+
? props.theme.colors.lightGray
|
|
82
|
+
: "#fff"};
|
|
83
83
|
border-radius: 4px;
|
|
84
84
|
border: 1px solid
|
|
85
85
|
${(props) =>
|
|
@@ -35,7 +35,7 @@ const InputContainer = styled("input", inputAttrs)`
|
|
|
35
35
|
width: 100%;
|
|
36
36
|
box-sizing: border-box;
|
|
37
37
|
cursor: ${(props) => (props.isDisabled ? "not-allowed" : "auto")};
|
|
38
|
-
background: ${(props) => props.theme.colors.white}
|
|
38
|
+
background: ${(props) => props.theme.colors.white} !important;
|
|
39
39
|
&::placeholder {
|
|
40
40
|
color: ${(props) => props.theme.colors.darkGray};
|
|
41
41
|
}
|
|
@@ -109,7 +109,7 @@ const TableContainer = styled.table`
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
td {
|
|
112
|
-
padding:
|
|
112
|
+
padding: 6px 15px 7px 10px;
|
|
113
113
|
border-bottom: 1px solid ${(props) => props.theme.colors.grey4};
|
|
114
114
|
|
|
115
115
|
&.empty {
|
|
@@ -197,6 +197,7 @@ const TableContainer = styled.table`
|
|
|
197
197
|
.text {
|
|
198
198
|
padding: 10px 15px 10px 15px;
|
|
199
199
|
color: ${(props) => props.theme.colors.black};
|
|
200
|
+
cursor: auto;
|
|
200
201
|
}
|
|
201
202
|
|
|
202
203
|
.bold {
|