@enki-tek/fms-web-components 0.0.68 → 0.0.70
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/components/Badge/Badge.svelte +1 -0
- package/components/EnkiSidbar/EnkiSidebar.svelte +2 -2
- package/components/EnkiSidbar/NavIcon.svelte +2 -2
- package/components/EnkiSidbar/NavItem.svelte +2 -2
- package/components/EnkiSidbar/NavLink.svelte +2 -2
- package/components/EnkiSidbar/Sidebar.scss +2 -2
- package/components/EnkiTable/TableRow.svelte +12 -5
- package/components/EnkiTable/TableRow.svelte.d.ts +2 -4
- package/package.json +1 -1
@@ -6,6 +6,7 @@ let badgeStyles = [`m-0`, `mt-1`, `custom-badge`, className];
|
|
6
6
|
if (badgeConfig.hasOwnProperty(config)) {
|
7
7
|
badgeStyles = [...badgeConfig[config], ...badgeStyles];
|
8
8
|
}
|
9
|
+
console.log("badgeStyles:", badgeStyles);
|
9
10
|
</script>
|
10
11
|
|
11
12
|
<Badge pill color="none" class={badgeStyles.join(' ')}>
|
@@ -107,7 +107,7 @@
|
|
107
107
|
height: 1px;
|
108
108
|
}
|
109
109
|
.icon-btn {
|
110
|
-
padding:
|
110
|
+
padding: 25px 27px;
|
111
111
|
}
|
112
112
|
.icons {
|
113
113
|
padding: 16px 32px;
|
@@ -150,8 +150,8 @@ li.icons:hover {
|
|
150
150
|
border-right: none;
|
151
151
|
}
|
152
152
|
.offcanvas-header {
|
153
|
-
padding: 1.5rem 1.5rem;
|
154
153
|
display: flex;
|
154
|
+
padding: 1.25rem;
|
155
155
|
}
|
156
156
|
.line-open {
|
157
157
|
width: 274px;
|
@@ -50,7 +50,7 @@
|
|
50
50
|
height: 1px;
|
51
51
|
}
|
52
52
|
.icon-btn {
|
53
|
-
padding:
|
53
|
+
padding: 25px 27px;
|
54
54
|
}
|
55
55
|
.icons {
|
56
56
|
padding: 16px 32px;
|
@@ -93,8 +93,8 @@ li.icons:hover {
|
|
93
93
|
border-right: none;
|
94
94
|
}
|
95
95
|
.offcanvas-header {
|
96
|
-
padding: 1.5rem 1.5rem;
|
97
96
|
display: flex;
|
97
|
+
padding: 1.25rem;
|
98
98
|
}
|
99
99
|
.line-open {
|
100
100
|
width: 274px;
|
@@ -48,7 +48,7 @@
|
|
48
48
|
height: 1px;
|
49
49
|
}
|
50
50
|
.icon-btn {
|
51
|
-
padding:
|
51
|
+
padding: 25px 27px;
|
52
52
|
}
|
53
53
|
.icons {
|
54
54
|
padding: 16px 32px;
|
@@ -91,8 +91,8 @@ li.icons:hover {
|
|
91
91
|
border-right: none;
|
92
92
|
}
|
93
93
|
.offcanvas-header {
|
94
|
-
padding: 1.5rem 1.5rem;
|
95
94
|
display: flex;
|
95
|
+
padding: 1.25rem;
|
96
96
|
}
|
97
97
|
.line-open {
|
98
98
|
width: 274px;
|
@@ -57,7 +57,7 @@
|
|
57
57
|
height: 1px;
|
58
58
|
}
|
59
59
|
.icon-btn {
|
60
|
-
padding:
|
60
|
+
padding: 25px 27px;
|
61
61
|
}
|
62
62
|
.icons {
|
63
63
|
padding: 16px 32px;
|
@@ -100,8 +100,8 @@ li.icons:hover {
|
|
100
100
|
border-right: none;
|
101
101
|
}
|
102
102
|
.offcanvas-header {
|
103
|
-
padding: 1.5rem 1.5rem;
|
104
103
|
display: flex;
|
104
|
+
padding: 1.25rem;
|
105
105
|
}
|
106
106
|
.line-open {
|
107
107
|
width: 274px;
|
@@ -48,7 +48,7 @@
|
|
48
48
|
}
|
49
49
|
|
50
50
|
.icon-btn {
|
51
|
-
padding:
|
51
|
+
padding: 25px 27px;;
|
52
52
|
}
|
53
53
|
|
54
54
|
.icon-sidebar-content .toggle-button {
|
@@ -132,8 +132,8 @@ li.icons:hover {
|
|
132
132
|
}
|
133
133
|
|
134
134
|
.offcanvas-header {
|
135
|
-
padding: 1.5rem 1.5rem;
|
136
135
|
display: flex;
|
136
|
+
padding: 1.25rem;
|
137
137
|
}
|
138
138
|
|
139
139
|
.line-open {
|
@@ -1,12 +1,18 @@
|
|
1
1
|
<script>
|
2
2
|
export let className = '';
|
3
|
-
|
3
|
+
export let onClick =null;
|
4
4
|
|
5
|
-
|
5
|
+
function handleClick(event) {
|
6
|
+
event.preventDefault();
|
7
|
+
if (onClick) onClick(event);
|
8
|
+
}
|
9
|
+
</script>
|
10
|
+
|
11
|
+
<tr {...$$restProps} class={className} on:click={handleClick}>
|
6
12
|
<slot />
|
7
|
-
</tr>
|
8
|
-
|
9
|
-
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
13
|
+
</tr>
|
14
|
+
|
15
|
+
<style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
|
10
16
|
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
11
17
|
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
|
12
18
|
.td-div, .th-div {
|
@@ -33,3 +39,4 @@
|
|
33
39
|
font-size: 15px;
|
34
40
|
}
|
35
41
|
}</style>
|
42
|
+
|
@@ -4,9 +4,8 @@
|
|
4
4
|
export default class TableRow extends SvelteComponentTyped<{
|
5
5
|
[x: string]: any;
|
6
6
|
className?: string | undefined;
|
7
|
+
onClick?: null | undefined;
|
7
8
|
}, {
|
8
|
-
click: MouseEvent;
|
9
|
-
} & {
|
10
9
|
[evt: string]: CustomEvent<any>;
|
11
10
|
}, {
|
12
11
|
default: {};
|
@@ -20,10 +19,9 @@ declare const __propDef: {
|
|
20
19
|
props: {
|
21
20
|
[x: string]: any;
|
22
21
|
className?: string | undefined;
|
22
|
+
onClick?: null | undefined;
|
23
23
|
};
|
24
24
|
events: {
|
25
|
-
click: MouseEvent;
|
26
|
-
} & {
|
27
25
|
[evt: string]: CustomEvent<any>;
|
28
26
|
};
|
29
27
|
slots: {
|