@enki-tek/fms-web-components 0.0.17 → 0.0.18

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.
Files changed (30) hide show
  1. package/components/Card/Card.svelte +2 -2
  2. package/components/EnkiCard/Card.scss +41 -0
  3. package/components/EnkiCard/CardBody.svelte +53 -0
  4. package/components/EnkiCard/CardBody.svelte.d.ts +27 -0
  5. package/components/EnkiCard/CardFooter.svelte +55 -0
  6. package/components/EnkiCard/CardFooter.svelte.d.ts +27 -0
  7. package/components/EnkiCard/CardSubTitle.svelte +55 -0
  8. package/components/EnkiCard/CardSubTitle.svelte.d.ts +27 -0
  9. package/components/EnkiCard/CardText.svelte +55 -0
  10. package/components/EnkiCard/CardText.svelte.d.ts +27 -0
  11. package/components/EnkiCard/CardTitle.svelte +55 -0
  12. package/components/EnkiCard/CardTitle.svelte.d.ts +27 -0
  13. package/components/EnkiCard/EnkiCard.svelte +54 -0
  14. package/components/EnkiCard/EnkiCard.svelte.d.ts +27 -0
  15. package/components/EnkiTable/EnkiTable.svelte +26 -0
  16. package/components/EnkiTable/EnkiTable.svelte.d.ts +27 -0
  17. package/components/EnkiTable/Table.scss +21 -0
  18. package/components/EnkiTable/TableBody.svelte +22 -0
  19. package/components/EnkiTable/TableBody.svelte.d.ts +27 -0
  20. package/components/EnkiTable/TableCell.svelte +20 -0
  21. package/components/EnkiTable/TableCell.svelte.d.ts +27 -0
  22. package/components/EnkiTable/TableHead.svelte +22 -0
  23. package/components/EnkiTable/TableHead.svelte.d.ts +27 -0
  24. package/components/EnkiTable/TableHeadCell.svelte +19 -0
  25. package/components/EnkiTable/TableHeadCell.svelte.d.ts +27 -0
  26. package/components/EnkiTable/TableRow.svelte +22 -0
  27. package/components/EnkiTable/TableRow.svelte.d.ts +27 -0
  28. package/index.d.ts +13 -1
  29. package/index.js +13 -1
  30. package/package.json +15 -1
@@ -3,8 +3,8 @@
3
3
  import { Card, CardBody, CardSubtitle, CardText, CardTitle } from 'sveltestrap';
4
4
  export let image = '';
5
5
  export let width = '35rem';
6
- export let text = 'This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer. '
7
- export let title = 'Card Title';
6
+ export let text = ' '
7
+ export let title = ' ';
8
8
  export let subTitle = '';
9
9
  export let linkName1 = "";
10
10
  export let linkName2 = "";
@@ -0,0 +1,41 @@
1
+ @import './../variable.scss';
2
+
3
+ @mixin common-font-properties($size, $weight: 400, $line-height: 28px, $style: normal, $family: 'Roboto') {
4
+ font-size: $size;
5
+ font-style: $style;
6
+ font-weight: $weight;
7
+ line-height: $line-height;
8
+ font-family: $family;
9
+ }
10
+
11
+ :global(.Card) {
12
+ display: flex;
13
+ flex-direction: column;
14
+ gap: 16px;
15
+ }
16
+
17
+ .title {
18
+ color: $gray-900;
19
+ @include common-font-properties(24px, 600, normal);
20
+ }
21
+
22
+ .sub-title {
23
+ margin-top: 0.5rem;
24
+ margin-bottom: 0.5rem;
25
+ @include common-font-properties(16px, 600, normal);
26
+ color: $secondary;
27
+ }
28
+
29
+ .text {
30
+ @include common-font-properties(16px);
31
+ color: $gray-600;
32
+ }
33
+
34
+ :global(.card-footer){
35
+ background-color: $white;
36
+ }
37
+
38
+ .footer {
39
+ @include common-font-properties(16px);
40
+ font-family: $bodyFonts;
41
+ }
@@ -0,0 +1,53 @@
1
+ <script>
2
+ import { CardBody } from 'sveltestrap';
3
+ </script>
4
+
5
+ <CardBody class="body">
6
+ <slot />
7
+ </CardBody>
8
+
9
+ <style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
10
+ @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
+ @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
+ :global(.Card) {
13
+ display: flex;
14
+ flex-direction: column;
15
+ gap: 16px;
16
+ }
17
+ .title {
18
+ color: #212529;
19
+ font-size: 24px;
20
+ font-style: normal;
21
+ font-weight: 600;
22
+ line-height: normal;
23
+ font-family: "Roboto";
24
+ }
25
+ .sub-title {
26
+ margin-top: 0.5rem;
27
+ margin-bottom: 0.5rem;
28
+ font-size: 16px;
29
+ font-style: normal;
30
+ font-weight: 600;
31
+ line-height: normal;
32
+ font-family: "Roboto";
33
+ color: #3AC82E;
34
+ }
35
+ .text {
36
+ font-size: 16px;
37
+ font-style: normal;
38
+ font-weight: 400;
39
+ line-height: 28px;
40
+ font-family: "Roboto";
41
+ color: #6C757D;
42
+ }
43
+ :global(.card-footer) {
44
+ background-color: #ffffff;
45
+ }
46
+ .footer {
47
+ font-size: 16px;
48
+ font-style: normal;
49
+ font-weight: 400;
50
+ line-height: 28px;
51
+ font-family: "Roboto";
52
+ font-family: Roboto;
53
+ }</style>
@@ -0,0 +1,27 @@
1
+ /** @typedef {typeof __propDef.props} CardBodyProps */
2
+ /** @typedef {typeof __propDef.events} CardBodyEvents */
3
+ /** @typedef {typeof __propDef.slots} CardBodySlots */
4
+ export default class CardBody extends SvelteComponentTyped<{
5
+ [x: string]: never;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {
9
+ default: {};
10
+ }> {
11
+ }
12
+ export type CardBodyProps = typeof __propDef.props;
13
+ export type CardBodyEvents = typeof __propDef.events;
14
+ export type CardBodySlots = typeof __propDef.slots;
15
+ import { SvelteComponentTyped } from "svelte";
16
+ declare const __propDef: {
17
+ props: {
18
+ [x: string]: never;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {
24
+ default: {};
25
+ };
26
+ };
27
+ export {};
@@ -0,0 +1,55 @@
1
+ <script>
2
+ import { CardFooter } from 'sveltestrap';
3
+ </script>
4
+
5
+ <CardFooter>
6
+ <div class="footer">
7
+ <slot />
8
+ </div>
9
+ </CardFooter>
10
+
11
+ <style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
12
+ @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");
13
+ @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");
14
+ :global(.Card) {
15
+ display: flex;
16
+ flex-direction: column;
17
+ gap: 16px;
18
+ }
19
+ .title {
20
+ color: #212529;
21
+ font-size: 24px;
22
+ font-style: normal;
23
+ font-weight: 600;
24
+ line-height: normal;
25
+ font-family: "Roboto";
26
+ }
27
+ .sub-title {
28
+ margin-top: 0.5rem;
29
+ margin-bottom: 0.5rem;
30
+ font-size: 16px;
31
+ font-style: normal;
32
+ font-weight: 600;
33
+ line-height: normal;
34
+ font-family: "Roboto";
35
+ color: #3AC82E;
36
+ }
37
+ .text {
38
+ font-size: 16px;
39
+ font-style: normal;
40
+ font-weight: 400;
41
+ line-height: 28px;
42
+ font-family: "Roboto";
43
+ color: #6C757D;
44
+ }
45
+ :global(.card-footer) {
46
+ background-color: #ffffff;
47
+ }
48
+ .footer {
49
+ font-size: 16px;
50
+ font-style: normal;
51
+ font-weight: 400;
52
+ line-height: 28px;
53
+ font-family: "Roboto";
54
+ font-family: Roboto;
55
+ }</style>
@@ -0,0 +1,27 @@
1
+ /** @typedef {typeof __propDef.props} CardFooterProps */
2
+ /** @typedef {typeof __propDef.events} CardFooterEvents */
3
+ /** @typedef {typeof __propDef.slots} CardFooterSlots */
4
+ export default class CardFooter extends SvelteComponentTyped<{
5
+ [x: string]: never;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {
9
+ default: {};
10
+ }> {
11
+ }
12
+ export type CardFooterProps = typeof __propDef.props;
13
+ export type CardFooterEvents = typeof __propDef.events;
14
+ export type CardFooterSlots = typeof __propDef.slots;
15
+ import { SvelteComponentTyped } from "svelte";
16
+ declare const __propDef: {
17
+ props: {
18
+ [x: string]: never;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {
24
+ default: {};
25
+ };
26
+ };
27
+ export {};
@@ -0,0 +1,55 @@
1
+ <script>
2
+ import { CardSubtitle } from 'sveltestrap';
3
+ </script>
4
+
5
+ <CardSubtitle>
6
+ <div class="sub-title">
7
+ <slot />
8
+ </div>
9
+ </CardSubtitle>
10
+
11
+ <style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
12
+ @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");
13
+ @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");
14
+ :global(.Card) {
15
+ display: flex;
16
+ flex-direction: column;
17
+ gap: 16px;
18
+ }
19
+ .title {
20
+ color: #212529;
21
+ font-size: 24px;
22
+ font-style: normal;
23
+ font-weight: 600;
24
+ line-height: normal;
25
+ font-family: "Roboto";
26
+ }
27
+ .sub-title {
28
+ margin-top: 0.5rem;
29
+ margin-bottom: 0.5rem;
30
+ font-size: 16px;
31
+ font-style: normal;
32
+ font-weight: 600;
33
+ line-height: normal;
34
+ font-family: "Roboto";
35
+ color: #3AC82E;
36
+ }
37
+ .text {
38
+ font-size: 16px;
39
+ font-style: normal;
40
+ font-weight: 400;
41
+ line-height: 28px;
42
+ font-family: "Roboto";
43
+ color: #6C757D;
44
+ }
45
+ :global(.card-footer) {
46
+ background-color: #ffffff;
47
+ }
48
+ .footer {
49
+ font-size: 16px;
50
+ font-style: normal;
51
+ font-weight: 400;
52
+ line-height: 28px;
53
+ font-family: "Roboto";
54
+ font-family: Roboto;
55
+ }</style>
@@ -0,0 +1,27 @@
1
+ /** @typedef {typeof __propDef.props} CardSubTitleProps */
2
+ /** @typedef {typeof __propDef.events} CardSubTitleEvents */
3
+ /** @typedef {typeof __propDef.slots} CardSubTitleSlots */
4
+ export default class CardSubTitle extends SvelteComponentTyped<{
5
+ [x: string]: never;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {
9
+ default: {};
10
+ }> {
11
+ }
12
+ export type CardSubTitleProps = typeof __propDef.props;
13
+ export type CardSubTitleEvents = typeof __propDef.events;
14
+ export type CardSubTitleSlots = typeof __propDef.slots;
15
+ import { SvelteComponentTyped } from "svelte";
16
+ declare const __propDef: {
17
+ props: {
18
+ [x: string]: never;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {
24
+ default: {};
25
+ };
26
+ };
27
+ export {};
@@ -0,0 +1,55 @@
1
+ <script>
2
+ import { CardText } from 'sveltestrap';
3
+ </script>
4
+
5
+ <CardText>
6
+ <div class="text">
7
+ <slot />
8
+ </div>
9
+ </CardText>
10
+
11
+ <style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
12
+ @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");
13
+ @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");
14
+ :global(.Card) {
15
+ display: flex;
16
+ flex-direction: column;
17
+ gap: 16px;
18
+ }
19
+ .title {
20
+ color: #212529;
21
+ font-size: 24px;
22
+ font-style: normal;
23
+ font-weight: 600;
24
+ line-height: normal;
25
+ font-family: "Roboto";
26
+ }
27
+ .sub-title {
28
+ margin-top: 0.5rem;
29
+ margin-bottom: 0.5rem;
30
+ font-size: 16px;
31
+ font-style: normal;
32
+ font-weight: 600;
33
+ line-height: normal;
34
+ font-family: "Roboto";
35
+ color: #3AC82E;
36
+ }
37
+ .text {
38
+ font-size: 16px;
39
+ font-style: normal;
40
+ font-weight: 400;
41
+ line-height: 28px;
42
+ font-family: "Roboto";
43
+ color: #6C757D;
44
+ }
45
+ :global(.card-footer) {
46
+ background-color: #ffffff;
47
+ }
48
+ .footer {
49
+ font-size: 16px;
50
+ font-style: normal;
51
+ font-weight: 400;
52
+ line-height: 28px;
53
+ font-family: "Roboto";
54
+ font-family: Roboto;
55
+ }</style>
@@ -0,0 +1,27 @@
1
+ /** @typedef {typeof __propDef.props} CardTextProps */
2
+ /** @typedef {typeof __propDef.events} CardTextEvents */
3
+ /** @typedef {typeof __propDef.slots} CardTextSlots */
4
+ export default class CardText extends SvelteComponentTyped<{
5
+ [x: string]: never;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {
9
+ default: {};
10
+ }> {
11
+ }
12
+ export type CardTextProps = typeof __propDef.props;
13
+ export type CardTextEvents = typeof __propDef.events;
14
+ export type CardTextSlots = typeof __propDef.slots;
15
+ import { SvelteComponentTyped } from "svelte";
16
+ declare const __propDef: {
17
+ props: {
18
+ [x: string]: never;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {
24
+ default: {};
25
+ };
26
+ };
27
+ export {};
@@ -0,0 +1,55 @@
1
+ <script>
2
+ import { CardTitle } from 'sveltestrap';
3
+ </script>
4
+
5
+ <CardTitle>
6
+ <div class="title">
7
+ <slot />
8
+ </div>
9
+ </CardTitle>
10
+
11
+ <style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
12
+ @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");
13
+ @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");
14
+ :global(.Card) {
15
+ display: flex;
16
+ flex-direction: column;
17
+ gap: 16px;
18
+ }
19
+ .title {
20
+ color: #212529;
21
+ font-size: 24px;
22
+ font-style: normal;
23
+ font-weight: 600;
24
+ line-height: normal;
25
+ font-family: "Roboto";
26
+ }
27
+ .sub-title {
28
+ margin-top: 0.5rem;
29
+ margin-bottom: 0.5rem;
30
+ font-size: 16px;
31
+ font-style: normal;
32
+ font-weight: 600;
33
+ line-height: normal;
34
+ font-family: "Roboto";
35
+ color: #3AC82E;
36
+ }
37
+ .text {
38
+ font-size: 16px;
39
+ font-style: normal;
40
+ font-weight: 400;
41
+ line-height: 28px;
42
+ font-family: "Roboto";
43
+ color: #6C757D;
44
+ }
45
+ :global(.card-footer) {
46
+ background-color: #ffffff;
47
+ }
48
+ .footer {
49
+ font-size: 16px;
50
+ font-style: normal;
51
+ font-weight: 400;
52
+ line-height: 28px;
53
+ font-family: "Roboto";
54
+ font-family: Roboto;
55
+ }</style>
@@ -0,0 +1,27 @@
1
+ /** @typedef {typeof __propDef.props} CardTitleProps */
2
+ /** @typedef {typeof __propDef.events} CardTitleEvents */
3
+ /** @typedef {typeof __propDef.slots} CardTitleSlots */
4
+ export default class CardTitle extends SvelteComponentTyped<{
5
+ [x: string]: never;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {
9
+ default: {};
10
+ }> {
11
+ }
12
+ export type CardTitleProps = typeof __propDef.props;
13
+ export type CardTitleEvents = typeof __propDef.events;
14
+ export type CardTitleSlots = typeof __propDef.slots;
15
+ import { SvelteComponentTyped } from "svelte";
16
+ declare const __propDef: {
17
+ props: {
18
+ [x: string]: never;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {
24
+ default: {};
25
+ };
26
+ };
27
+ export {};
@@ -0,0 +1,54 @@
1
+ <script>
2
+ import { Card } from 'sveltestrap';
3
+ export let width = '35rem';
4
+ </script>
5
+
6
+ <Card style={`width:${width};`}>
7
+ <slot />
8
+ </Card>
9
+
10
+ <style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
11
+ @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");
12
+ @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");
13
+ :global(.Card) {
14
+ display: flex;
15
+ flex-direction: column;
16
+ gap: 16px;
17
+ }
18
+ .title {
19
+ color: #212529;
20
+ font-size: 24px;
21
+ font-style: normal;
22
+ font-weight: 600;
23
+ line-height: normal;
24
+ font-family: "Roboto";
25
+ }
26
+ .sub-title {
27
+ margin-top: 0.5rem;
28
+ margin-bottom: 0.5rem;
29
+ font-size: 16px;
30
+ font-style: normal;
31
+ font-weight: 600;
32
+ line-height: normal;
33
+ font-family: "Roboto";
34
+ color: #3AC82E;
35
+ }
36
+ .text {
37
+ font-size: 16px;
38
+ font-style: normal;
39
+ font-weight: 400;
40
+ line-height: 28px;
41
+ font-family: "Roboto";
42
+ color: #6C757D;
43
+ }
44
+ :global(.card-footer) {
45
+ background-color: #ffffff;
46
+ }
47
+ .footer {
48
+ font-size: 16px;
49
+ font-style: normal;
50
+ font-weight: 400;
51
+ line-height: 28px;
52
+ font-family: "Roboto";
53
+ font-family: Roboto;
54
+ }</style>
@@ -0,0 +1,27 @@
1
+ /** @typedef {typeof __propDef.props} EnkiCardProps */
2
+ /** @typedef {typeof __propDef.events} EnkiCardEvents */
3
+ /** @typedef {typeof __propDef.slots} EnkiCardSlots */
4
+ export default class EnkiCard extends SvelteComponentTyped<{
5
+ width?: string | undefined;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {
9
+ default: {};
10
+ }> {
11
+ }
12
+ export type EnkiCardProps = typeof __propDef.props;
13
+ export type EnkiCardEvents = typeof __propDef.events;
14
+ export type EnkiCardSlots = typeof __propDef.slots;
15
+ import { SvelteComponentTyped } from "svelte";
16
+ declare const __propDef: {
17
+ props: {
18
+ width?: string | undefined;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {
24
+ default: {};
25
+ };
26
+ };
27
+ export {};
@@ -0,0 +1,26 @@
1
+ <script>
2
+ import { Table } from 'sveltestrap';
3
+ </script>
4
+
5
+ <Table size="lg" class="table table-hover">
6
+ <slot />
7
+ </Table>
8
+
9
+ <style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
10
+ @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
+ @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
+ tbody tr td, thead tr th {
13
+ color: #152536;
14
+ font-size: 16px;
15
+ font-style: normal;
16
+ font-weight: 700;
17
+ font-family: Roboto;
18
+ }
19
+ thead tr th {
20
+ font-size: 17px;
21
+ }
22
+ tbody tr td {
23
+ width: 12.5rem;
24
+ padding: 0.5rem 0.5rem 0.5625rem 0.5rem;
25
+ font-weight: 400;
26
+ }</style>
@@ -0,0 +1,27 @@
1
+ /** @typedef {typeof __propDef.props} EnkiTableProps */
2
+ /** @typedef {typeof __propDef.events} EnkiTableEvents */
3
+ /** @typedef {typeof __propDef.slots} EnkiTableSlots */
4
+ export default class EnkiTable extends SvelteComponentTyped<{
5
+ [x: string]: never;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {
9
+ default: {};
10
+ }> {
11
+ }
12
+ export type EnkiTableProps = typeof __propDef.props;
13
+ export type EnkiTableEvents = typeof __propDef.events;
14
+ export type EnkiTableSlots = typeof __propDef.slots;
15
+ import { SvelteComponentTyped } from "svelte";
16
+ declare const __propDef: {
17
+ props: {
18
+ [x: string]: never;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {
24
+ default: {};
25
+ };
26
+ };
27
+ export {};
@@ -0,0 +1,21 @@
1
+ @import './../variable.scss';
2
+
3
+ %common-fonts {
4
+ color: $Title-Color;
5
+ font-size: 16px;
6
+ font-style: normal;
7
+ font-weight: 700;
8
+ font-family: $bodyFonts;
9
+ }
10
+
11
+ thead tr th {
12
+ @extend %common-fonts;
13
+ font-size: 17px;
14
+ }
15
+
16
+ tbody tr td {
17
+ width: 12.5rem;
18
+ padding: 0.5rem 0.5rem 0.5625rem 0.5rem;
19
+ @extend %common-fonts;
20
+ font-weight: 400;
21
+ }
@@ -0,0 +1,22 @@
1
+ <tbody>
2
+ <slot />
3
+ </tbody>
4
+
5
+ <style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
6
+ @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");
7
+ @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");
8
+ tbody tr td, thead tr th {
9
+ color: #152536;
10
+ font-size: 16px;
11
+ font-style: normal;
12
+ font-weight: 700;
13
+ font-family: Roboto;
14
+ }
15
+ thead tr th {
16
+ font-size: 17px;
17
+ }
18
+ tbody tr td {
19
+ width: 12.5rem;
20
+ padding: 0.5rem 0.5rem 0.5625rem 0.5rem;
21
+ font-weight: 400;
22
+ }</style>
@@ -0,0 +1,27 @@
1
+ /** @typedef {typeof __propDef.props} TableBodyProps */
2
+ /** @typedef {typeof __propDef.events} TableBodyEvents */
3
+ /** @typedef {typeof __propDef.slots} TableBodySlots */
4
+ export default class TableBody extends SvelteComponentTyped<{
5
+ [x: string]: never;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {
9
+ default: {};
10
+ }> {
11
+ }
12
+ export type TableBodyProps = typeof __propDef.props;
13
+ export type TableBodyEvents = typeof __propDef.events;
14
+ export type TableBodySlots = typeof __propDef.slots;
15
+ import { SvelteComponentTyped } from "svelte";
16
+ declare const __propDef: {
17
+ props: {
18
+ [x: string]: never;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {
24
+ default: {};
25
+ };
26
+ };
27
+ export {};
@@ -0,0 +1,20 @@
1
+ <style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
2
+ @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");
3
+ @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");
4
+ tbody tr td, thead tr th {
5
+ color: #152536;
6
+ font-size: 16px;
7
+ font-style: normal;
8
+ font-weight: 700;
9
+ font-family: Roboto;
10
+ }
11
+ thead tr th {
12
+ font-size: 17px;
13
+ }
14
+ tbody tr td {
15
+ width: 12.5rem;
16
+ padding: 0.5rem 0.5rem 0.5625rem 0.5rem;
17
+ font-weight: 400;
18
+ }</style>
19
+
20
+ <td><slot /></td>
@@ -0,0 +1,27 @@
1
+ /** @typedef {typeof __propDef.props} TableCellProps */
2
+ /** @typedef {typeof __propDef.events} TableCellEvents */
3
+ /** @typedef {typeof __propDef.slots} TableCellSlots */
4
+ export default class TableCell extends SvelteComponentTyped<{
5
+ [x: string]: never;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {
9
+ default: {};
10
+ }> {
11
+ }
12
+ export type TableCellProps = typeof __propDef.props;
13
+ export type TableCellEvents = typeof __propDef.events;
14
+ export type TableCellSlots = typeof __propDef.slots;
15
+ import { SvelteComponentTyped } from "svelte";
16
+ declare const __propDef: {
17
+ props: {
18
+ [x: string]: never;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {
24
+ default: {};
25
+ };
26
+ };
27
+ export {};
@@ -0,0 +1,22 @@
1
+ <thead>
2
+ <slot />
3
+ </thead>
4
+
5
+ <style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
6
+ @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");
7
+ @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");
8
+ tbody tr td, thead tr th {
9
+ color: #152536;
10
+ font-size: 16px;
11
+ font-style: normal;
12
+ font-weight: 700;
13
+ font-family: Roboto;
14
+ }
15
+ thead tr th {
16
+ font-size: 17px;
17
+ }
18
+ tbody tr td {
19
+ width: 12.5rem;
20
+ padding: 0.5rem 0.5rem 0.5625rem 0.5rem;
21
+ font-weight: 400;
22
+ }</style>
@@ -0,0 +1,27 @@
1
+ /** @typedef {typeof __propDef.props} TableHeadProps */
2
+ /** @typedef {typeof __propDef.events} TableHeadEvents */
3
+ /** @typedef {typeof __propDef.slots} TableHeadSlots */
4
+ export default class TableHead extends SvelteComponentTyped<{
5
+ [x: string]: never;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {
9
+ default: {};
10
+ }> {
11
+ }
12
+ export type TableHeadProps = typeof __propDef.props;
13
+ export type TableHeadEvents = typeof __propDef.events;
14
+ export type TableHeadSlots = typeof __propDef.slots;
15
+ import { SvelteComponentTyped } from "svelte";
16
+ declare const __propDef: {
17
+ props: {
18
+ [x: string]: never;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {
24
+ default: {};
25
+ };
26
+ };
27
+ export {};
@@ -0,0 +1,19 @@
1
+ <style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
2
+ @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");
3
+ @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");
4
+ tbody tr td, thead tr th {
5
+ color: #152536;
6
+ font-size: 16px;
7
+ font-style: normal;
8
+ font-weight: 700;
9
+ font-family: Roboto;
10
+ }
11
+ thead tr th {
12
+ font-size: 17px;
13
+ }
14
+ tbody tr td {
15
+ width: 12.5rem;
16
+ padding: 0.5rem 0.5rem 0.5625rem 0.5rem;
17
+ font-weight: 400;
18
+ }</style>
19
+ <th><slot></slot></th>
@@ -0,0 +1,27 @@
1
+ /** @typedef {typeof __propDef.props} TableHeadCellProps */
2
+ /** @typedef {typeof __propDef.events} TableHeadCellEvents */
3
+ /** @typedef {typeof __propDef.slots} TableHeadCellSlots */
4
+ export default class TableHeadCell extends SvelteComponentTyped<{
5
+ [x: string]: never;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {
9
+ default: {};
10
+ }> {
11
+ }
12
+ export type TableHeadCellProps = typeof __propDef.props;
13
+ export type TableHeadCellEvents = typeof __propDef.events;
14
+ export type TableHeadCellSlots = typeof __propDef.slots;
15
+ import { SvelteComponentTyped } from "svelte";
16
+ declare const __propDef: {
17
+ props: {
18
+ [x: string]: never;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {
24
+ default: {};
25
+ };
26
+ };
27
+ export {};
@@ -0,0 +1,22 @@
1
+ <style>@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
2
+ @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");
3
+ @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");
4
+ tbody tr td, thead tr th {
5
+ color: #152536;
6
+ font-size: 16px;
7
+ font-style: normal;
8
+ font-weight: 700;
9
+ font-family: Roboto;
10
+ }
11
+ thead tr th {
12
+ font-size: 17px;
13
+ }
14
+ tbody tr td {
15
+ width: 12.5rem;
16
+ padding: 0.5rem 0.5rem 0.5625rem 0.5rem;
17
+ font-weight: 400;
18
+ }</style>
19
+
20
+ <tr>
21
+ <slot></slot>
22
+ </tr>
@@ -0,0 +1,27 @@
1
+ /** @typedef {typeof __propDef.props} TableRowProps */
2
+ /** @typedef {typeof __propDef.events} TableRowEvents */
3
+ /** @typedef {typeof __propDef.slots} TableRowSlots */
4
+ export default class TableRow extends SvelteComponentTyped<{
5
+ [x: string]: never;
6
+ }, {
7
+ [evt: string]: CustomEvent<any>;
8
+ }, {
9
+ default: {};
10
+ }> {
11
+ }
12
+ export type TableRowProps = typeof __propDef.props;
13
+ export type TableRowEvents = typeof __propDef.events;
14
+ export type TableRowSlots = typeof __propDef.slots;
15
+ import { SvelteComponentTyped } from "svelte";
16
+ declare const __propDef: {
17
+ props: {
18
+ [x: string]: never;
19
+ };
20
+ events: {
21
+ [evt: string]: CustomEvent<any>;
22
+ };
23
+ slots: {
24
+ default: {};
25
+ };
26
+ };
27
+ export {};
package/index.d.ts CHANGED
@@ -22,5 +22,17 @@ import Checkbox from './components/CheckBox/Checkbox.svelte';
22
22
  import Breadcrumb from './components/Breadcrumb/Breadcrumb.svelte';
23
23
  import Accordion from './components/Accordion/Accordion.svelte';
24
24
  import CardIcon from './components/CardIcon/CardIcon.svelte';
25
- export { Button, TextField, Card, Tooltip, Tab, Icon, Modal, ModalBody, ModalFooter, ModalHeader, Header, Dropdown, DropdownItem, Badge, Alert, Pagination, RadioButton, Accordion, Switch, Checkbox, Breadcrumb, CardIcon };
25
+ import EnkiTable from './components/EnkiTable/EnkiTable.svelte';
26
+ import TableBody from './components/EnkiTable/TableBody.svelte';
27
+ import TableHead from './components/EnkiTable/TableHead.svelte';
28
+ import TableHeadCell from './components/EnkiTable/TableHeadCell.svelte';
29
+ import TableRow from './components/EnkiTable/TableRow.svelte';
30
+ import TableCell from './components/EnkiTable/TableCell.svelte';
31
+ import EnkiCard from './components/EnkiCard/EnkiCard.svelte';
32
+ import CardTitle from './components/EnkiCard/CardTitle.svelte';
33
+ import CardSubtitle from './components/EnkiCard/CardSubTitle.svelte';
34
+ import CardText from './components/EnkiCard/CardText.svelte';
35
+ import CardBody from './components/EnkiCard/CardBody.svelte';
36
+ import CardFooter from './components/EnkiCard/CardFooter.svelte';
37
+ export { Button, TextField, Card, Tooltip, Tab, Icon, Modal, ModalBody, ModalFooter, ModalHeader, Header, Dropdown, DropdownItem, Badge, Alert, Pagination, RadioButton, Accordion, Switch, Checkbox, Breadcrumb, CardIcon, EnkiTable, TableBody, TableCell, TableRow, TableHead, TableHeadCell, EnkiCard, CardBody, CardTitle, CardSubtitle, CardText, CardFooter };
26
38
  export default Layout;
package/index.js CHANGED
@@ -23,5 +23,17 @@ import Checkbox from './components/CheckBox/Checkbox.svelte';
23
23
  import Breadcrumb from './components/Breadcrumb/Breadcrumb.svelte';
24
24
  import Accordion from './components/Accordion/Accordion.svelte';
25
25
  import CardIcon from './components/CardIcon/CardIcon.svelte';
26
- export { Button, TextField, Card, Tooltip, Tab, Icon, Modal, ModalBody, ModalFooter, ModalHeader, Header, Dropdown, DropdownItem, Badge, Alert, Pagination, RadioButton, Accordion, Switch, Checkbox, Breadcrumb, CardIcon };
26
+ import EnkiTable from './components/EnkiTable/EnkiTable.svelte';
27
+ import TableBody from './components/EnkiTable/TableBody.svelte';
28
+ import TableHead from './components/EnkiTable/TableHead.svelte';
29
+ import TableHeadCell from './components/EnkiTable/TableHeadCell.svelte';
30
+ import TableRow from './components/EnkiTable/TableRow.svelte';
31
+ import TableCell from './components/EnkiTable/TableCell.svelte';
32
+ import EnkiCard from './components/EnkiCard/EnkiCard.svelte';
33
+ import CardTitle from './components/EnkiCard/CardTitle.svelte';
34
+ import CardSubtitle from './components/EnkiCard/CardSubTitle.svelte';
35
+ import CardText from './components/EnkiCard/CardText.svelte';
36
+ import CardBody from './components/EnkiCard/CardBody.svelte';
37
+ import CardFooter from './components/EnkiCard/CardFooter.svelte';
38
+ export { Button, TextField, Card, Tooltip, Tab, Icon, Modal, ModalBody, ModalFooter, ModalHeader, Header, Dropdown, DropdownItem, Badge, Alert, Pagination, RadioButton, Accordion, Switch, Checkbox, Breadcrumb, CardIcon, EnkiTable, TableBody, TableCell, TableRow, TableHead, TableHeadCell, EnkiCard, CardBody, CardTitle, CardSubtitle, CardText, CardFooter };
27
39
  export default Layout;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enki-tek/fms-web-components",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "devDependencies": {
5
5
  "@storybook/addon-essentials": "^7.6.14",
6
6
  "@storybook/addon-interactions": "^7.6.14",
@@ -74,6 +74,20 @@
74
74
  "./components/Dropdown/Dropdown.stories": "./components/Dropdown/Dropdown.stories.js",
75
75
  "./components/Dropdown/Dropdown.svelte": "./components/Dropdown/Dropdown.svelte",
76
76
  "./components/Dropdown/DropdownItem.svelte": "./components/Dropdown/DropdownItem.svelte",
77
+ "./components/EnkiCard/Card.scss": "./components/EnkiCard/Card.scss",
78
+ "./components/EnkiCard/CardBody.svelte": "./components/EnkiCard/CardBody.svelte",
79
+ "./components/EnkiCard/CardFooter.svelte": "./components/EnkiCard/CardFooter.svelte",
80
+ "./components/EnkiCard/CardSubTitle.svelte": "./components/EnkiCard/CardSubTitle.svelte",
81
+ "./components/EnkiCard/CardText.svelte": "./components/EnkiCard/CardText.svelte",
82
+ "./components/EnkiCard/CardTitle.svelte": "./components/EnkiCard/CardTitle.svelte",
83
+ "./components/EnkiCard/EnkiCard.svelte": "./components/EnkiCard/EnkiCard.svelte",
84
+ "./components/EnkiTable/EnkiTable.svelte": "./components/EnkiTable/EnkiTable.svelte",
85
+ "./components/EnkiTable/Table.scss": "./components/EnkiTable/Table.scss",
86
+ "./components/EnkiTable/TableBody.svelte": "./components/EnkiTable/TableBody.svelte",
87
+ "./components/EnkiTable/TableCell.svelte": "./components/EnkiTable/TableCell.svelte",
88
+ "./components/EnkiTable/TableHead.svelte": "./components/EnkiTable/TableHead.svelte",
89
+ "./components/EnkiTable/TableHeadCell.svelte": "./components/EnkiTable/TableHeadCell.svelte",
90
+ "./components/EnkiTable/TableRow.svelte": "./components/EnkiTable/TableRow.svelte",
77
91
  "./components/Header/Header.scss": "./components/Header/Header.scss",
78
92
  "./components/Header/Header.stories": "./components/Header/Header.stories.js",
79
93
  "./components/Header/Header.svelte": "./components/Header/Header.svelte",