@enki-tek/fms-web-components 0.0.62 → 0.0.64

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
1
  <script>import { Badge } from "sveltestrap";
2
2
  import { badgeConfig } from "./BadgeConfig";
3
3
  export let config = "";
4
- export let className;
5
- let badgeStyles = [`custom-badge`, className];
4
+ export let className = "";
5
+ let badgeStyles = [`m-0`, `mt-1`, `custom-badge`, className];
6
6
  if (badgeConfig.hasOwnProperty(config)) {
7
7
  badgeStyles = [...badgeConfig[config], ...badgeStyles];
8
8
  }
@@ -2,7 +2,7 @@ import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
4
  config?: string | undefined;
5
- className: any;
5
+ className?: string | undefined;
6
6
  };
7
7
  events: {
8
8
  [evt: string]: CustomEvent<any>;
@@ -3,7 +3,7 @@
3
3
  export let rowspan = 1;
4
4
  export let textAlign = ' ';
5
5
  export let className = '';
6
- let tdStyles = ['th-div', `text-${textAlign}` , className];
6
+ let tdStyles = ['th-div', `text-${textAlign}` , className , "ps-2"];
7
7
  </script>
8
8
 
9
9
  <th {...$$restProps} colspan={colspan} rowspan={rowspan} class={tdStyles.join(' ')}><slot /></th>
@@ -13,7 +13,7 @@
13
13
  }
14
14
  </script>
15
15
 
16
- <Navbar expand="md" class="bg-white">
16
+ <Navbar expand="md" class="bg-white sticky-top">
17
17
  <slot name="brand" />
18
18
  <NavbarToggler class="border border-success text-success" on:click={() => (isOpen = !isOpen)} />
19
19
  <Collapse {isOpen} navbar expand="md" on:update={handleUpdate}>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enki-tek/fms-web-components",
3
- "version": "0.0.62",
3
+ "version": "0.0.64",
4
4
  "devDependencies": {
5
5
  "@storybook/addon-essentials": "^7.6.14",
6
6
  "@storybook/addon-interactions": "^7.6.14",