@enki-tek/fms-web-components 0.1.44 → 0.1.46
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/Pagination/Pagination.svelte +1 -1
- package/components/Tab/Tab.scss +1 -1
- package/components/Tab/Tab.svelte +1 -1
- package/components/WidgetCard/AlertFooter.svelte +1 -0
- package/components/WidgetCard/BadgeCard.svelte +1 -0
- package/components/WidgetCard/Card.scss +1 -0
- package/components/WidgetCard/SensorStatusCard.svelte +1 -0
- package/components/WidgetCard/StateCard.svelte +1 -0
- package/components/WidgetCard/WidgetCard.svelte +2 -2
- package/components/WidgetCard/WidgetCard.svelte.d.ts +0 -2
- package/package.json +1 -1
@@ -6,7 +6,7 @@ const DEFAULT_PAGE_COUNT = 5;
|
|
6
6
|
export let noOfItems = 300;
|
7
7
|
export let itemPerPage = 30;
|
8
8
|
export let currentPage = 1;
|
9
|
-
export let size = "
|
9
|
+
export let size = "md";
|
10
10
|
let pageCount = Math.ceil(noOfItems / itemPerPage);
|
11
11
|
let pagesToShow = pageCount > DEFAULT_PAGE_COUNT ? DEFAULT_PAGE_COUNT : pageCount;
|
12
12
|
let pageNumbers = [];
|
package/components/Tab/Tab.scss
CHANGED
@@ -33,10 +33,9 @@
|
|
33
33
|
<div bind:this={element}>
|
34
34
|
<div {...$$restProps} class="card">
|
35
35
|
<Row>
|
36
|
-
<Col md="
|
36
|
+
<Col md="10">
|
37
37
|
<div class="title fw-normal">{title}</div>
|
38
38
|
</Col>
|
39
|
-
<slot name="title-control" />
|
40
39
|
{#if resizable}
|
41
40
|
<Col md="2">
|
42
41
|
<div class="float-end">
|
@@ -182,6 +181,7 @@
|
|
182
181
|
background-color: #f8f8f8;
|
183
182
|
border-radius: 0.2rem;
|
184
183
|
height: fit-content;
|
184
|
+
font-weight: 500 !important;
|
185
185
|
}
|
186
186
|
.warning-icon {
|
187
187
|
color: orange;
|
@@ -11,7 +11,6 @@ export default class WidgetCard extends SvelteComponentTyped<{
|
|
11
11
|
}, {
|
12
12
|
[evt: string]: CustomEvent<any>;
|
13
13
|
}, {
|
14
|
-
'title-control': {};
|
15
14
|
default: {};
|
16
15
|
}> {
|
17
16
|
}
|
@@ -32,7 +31,6 @@ declare const __propDef: {
|
|
32
31
|
[evt: string]: CustomEvent<any>;
|
33
32
|
};
|
34
33
|
slots: {
|
35
|
-
'title-control': {};
|
36
34
|
default: {};
|
37
35
|
};
|
38
36
|
};
|