@enki-tek/fms-web-components 0.0.74 → 0.0.76

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@
4
4
 
5
5
  <section class="screen-size-fix">
6
6
  <div class="container-fluid mb-2">
7
- <Row class="border-bottom py-1">
7
+ <Row class="pt-3 pb-2">
8
8
  <Col>
9
9
  <header>
10
10
  <div class="d-flex flex-row justify-content-start mt-2">
@@ -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.74",
3
+ "version": "0.0.76",
4
4
  "devDependencies": {
5
5
  "@storybook/addon-essentials": "^7.6.14",
6
6
  "@storybook/addon-interactions": "^7.6.14",