@enki-tek/fms-web-components 0.0.75 → 0.0.77

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,7 +31,6 @@
31
31
  position: absolute;
32
32
  top: 4px;
33
33
  @extend %commonSCSS;
34
- text-transform: uppercase;
35
34
  background-color: $white;
36
35
  }
37
36
 
@@ -51,7 +50,6 @@
51
50
  font-size: 14px;
52
51
  font-style: normal;
53
52
  @extend %commonSCSS;
54
- text-transform: capitalize;
55
53
  font-family: $bodyFonts;
56
54
  }
57
55
 
@@ -47,7 +47,6 @@ export let title = "Dropdowns";
47
47
  justify-content: flex-start;
48
48
  position: absolute;
49
49
  top: 4px;
50
- text-transform: uppercase;
51
50
  background-color: #ffffff;
52
51
  }
53
52
  :global(.dropdown-custom .dropdown-menu-custom) {
@@ -64,7 +63,6 @@ export let title = "Dropdowns";
64
63
  color: #343A40;
65
64
  font-size: 14px;
66
65
  font-style: normal;
67
- text-transform: capitalize;
68
66
  font-family: Roboto;
69
67
  }
70
68
  :global(.btn-light:hover, .btn-light:focus, .btn-light:active, .btn-light.active, .show>.btn-light.dropdown-toggle, .open>.dropdown-toggle.btn-light) {
@@ -3,7 +3,7 @@ export let classname = "";
3
3
  export let disabled = false;
4
4
  </script>
5
5
 
6
- <DropdownItem class="dropdown-item-custom {classname}" disabled={disabled} on:click >
6
+ <DropdownItem class="dropdown-item-custom d-flex text-wrap {classname}" disabled={disabled} on:click >
7
7
  <slot />
8
8
  </DropdownItem>
9
9
 
@@ -40,7 +40,6 @@ export let disabled = false;
40
40
  justify-content: flex-start;
41
41
  position: absolute;
42
42
  top: 4px;
43
- text-transform: uppercase;
44
43
  background-color: #ffffff;
45
44
  }
46
45
  :global(.dropdown-custom .dropdown-menu-custom) {
@@ -57,7 +56,6 @@ export let disabled = false;
57
56
  color: #343A40;
58
57
  font-size: 14px;
59
58
  font-style: normal;
60
- text-transform: capitalize;
61
59
  font-family: Roboto;
62
60
  }
63
61
  :global(.btn-light:hover, .btn-light:focus, .btn-light:active, .btn-light.active, .show>.btn-light.dropdown-toggle, .open>.dropdown-toggle.btn-light) {
@@ -4,9 +4,10 @@
4
4
  export let isOpen = false;
5
5
  export let toggle;
6
6
  export let size = ' ';
7
+ export let className = ''
7
8
  </script>
8
9
 
9
- <Modal {isOpen} {backdrop} {size} {toggle} >
10
+ <Modal {isOpen} {backdrop} {size} {toggle} class={className} >
10
11
  <slot />
11
12
  </Modal>
12
13
 
@@ -5,6 +5,7 @@ export default class Modal extends SvelteComponentTyped<{
5
5
  toggle: any;
6
6
  size?: string | undefined;
7
7
  isOpen?: boolean | undefined;
8
+ className?: string | undefined;
8
9
  backdrop?: boolean | undefined;
9
10
  }, {
10
11
  [evt: string]: CustomEvent<any>;
@@ -21,6 +22,7 @@ declare const __propDef: {
21
22
  toggle: any;
22
23
  size?: string | undefined;
23
24
  isOpen?: boolean | undefined;
25
+ className?: string | undefined;
24
26
  backdrop?: boolean | undefined;
25
27
  };
26
28
  events: {
@@ -1,8 +1,9 @@
1
1
  <script>
2
2
  import { ModalBody } from 'sveltestrap';
3
+ export let className = ''
3
4
  </script>
4
5
 
5
- <ModalBody>
6
+ <ModalBody class={className}>
6
7
  <div class="content">
7
8
  <slot />
8
9
  </div>
@@ -2,7 +2,7 @@
2
2
  /** @typedef {typeof __propDef.events} ModalBodyEvents */
3
3
  /** @typedef {typeof __propDef.slots} ModalBodySlots */
4
4
  export default class ModalBody extends SvelteComponentTyped<{
5
- [x: string]: never;
5
+ className?: string | undefined;
6
6
  }, {
7
7
  [evt: string]: CustomEvent<any>;
8
8
  }, {
@@ -15,7 +15,7 @@ export type ModalBodySlots = typeof __propDef.slots;
15
15
  import { SvelteComponentTyped } from "svelte";
16
16
  declare const __propDef: {
17
17
  props: {
18
- [x: string]: never;
18
+ className?: string | undefined;
19
19
  };
20
20
  events: {
21
21
  [evt: string]: CustomEvent<any>;
@@ -1,8 +1,9 @@
1
1
  <script>
2
2
  import { ModalFooter } from 'sveltestrap';
3
+ export let className = ''
3
4
  </script>
4
5
 
5
- <ModalFooter>
6
+ <ModalFooter class={className}>
6
7
  <slot />
7
8
  </ModalFooter>
8
9
 
@@ -2,7 +2,7 @@
2
2
  /** @typedef {typeof __propDef.events} ModalFooterEvents */
3
3
  /** @typedef {typeof __propDef.slots} ModalFooterSlots */
4
4
  export default class ModalFooter extends SvelteComponentTyped<{
5
- [x: string]: never;
5
+ className?: string | undefined;
6
6
  }, {
7
7
  [evt: string]: CustomEvent<any>;
8
8
  }, {
@@ -15,7 +15,7 @@ export type ModalFooterSlots = typeof __propDef.slots;
15
15
  import { SvelteComponentTyped } from "svelte";
16
16
  declare const __propDef: {
17
17
  props: {
18
- [x: string]: never;
18
+ className?: string | undefined;
19
19
  };
20
20
  events: {
21
21
  [evt: string]: CustomEvent<any>;
@@ -1,9 +1,10 @@
1
1
  <script>
2
2
  import { ModalHeader } from 'sveltestrap';
3
3
  export let toggle;
4
+ export let className = ''
4
5
  </script>
5
6
 
6
- <ModalHeader {toggle} >
7
+ <ModalHeader {toggle} class={className}>
7
8
  <div class="header">
8
9
  <div class="title">
9
10
  <slot />
@@ -3,6 +3,7 @@
3
3
  /** @typedef {typeof __propDef.slots} ModalHeaderSlots */
4
4
  export default class ModalHeader extends SvelteComponentTyped<{
5
5
  toggle: any;
6
+ className?: string | undefined;
6
7
  }, {
7
8
  [evt: string]: CustomEvent<any>;
8
9
  }, {
@@ -16,6 +17,7 @@ import { SvelteComponentTyped } from "svelte";
16
17
  declare const __propDef: {
17
18
  props: {
18
19
  toggle: any;
20
+ className?: string | undefined;
19
21
  };
20
22
  events: {
21
23
  [evt: string]: CustomEvent<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enki-tek/fms-web-components",
3
- "version": "0.0.75",
3
+ "version": "0.0.77",
4
4
  "devDependencies": {
5
5
  "@storybook/addon-essentials": "^7.6.14",
6
6
  "@storybook/addon-interactions": "^7.6.14",