@enki-tek/fms-web-components 0.0.81 → 0.0.82

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,13 +10,22 @@ declare namespace _default {
10
10
  }
11
11
  const options: string[];
12
12
  }
13
+ namespace label {
14
+ export namespace control_1 {
15
+ const type_2: string;
16
+ export { type_2 as type };
17
+ }
18
+ export { control_1 as control };
19
+ }
13
20
  }
14
21
  }
15
22
  export default _default;
16
23
  export namespace Default {
17
24
  namespace args {
18
- const type_2: string;
19
- export { type_2 as type };
25
+ const type_3: string;
26
+ export { type_3 as type };
27
+ const label_1: string;
28
+ export { label_1 as label };
20
29
  }
21
30
  }
22
31
  import Toast from "./Toast.svelte";
@@ -8,13 +8,15 @@ export default{
8
8
  type: {
9
9
  control: {type:'select'},
10
10
  options:['success','warning','danger','info']
11
- }
11
+ },
12
+ label: { control: { type: 'text' } }
12
13
  }
13
14
  };
14
15
 
15
16
 
16
17
  export const Default = {
17
18
  args:{
18
- type:'success'
19
+ type:'success',
20
+ label:'Toast message'
19
21
  }
20
22
  };
@@ -32,7 +32,7 @@
32
32
  <Col sm=2 class=' d-flex justify-content-center align-items-center ps-0 pe-1'>
33
33
  <Icon name={iconName}></Icon>
34
34
  </Col>
35
- <Col sm=10 class='ps-0 pt-0 pb-0 pe-2'>
35
+ <Col sm=10 class='ps-0 pt-0 pb-0 pe-2 d-flex align-items-center'>
36
36
  <slot>
37
37
  {#if label}
38
38
  {label}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enki-tek/fms-web-components",
3
- "version": "0.0.81",
3
+ "version": "0.0.82",
4
4
  "devDependencies": {
5
5
  "@storybook/addon-essentials": "^7.6.14",
6
6
  "@storybook/addon-interactions": "^7.6.14",