@enki-tek/fms-web-components 0.0.31 → 0.0.33

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.
@@ -1,9 +1,7 @@
1
1
  @import '../variable.scss';
2
2
 
3
3
  :global(.custom-badge) {
4
- display: flex;
5
- align-items: center;
6
- justify-content: center;
4
+ text-align:center;
7
5
  padding: 5px 8px;
8
6
  text-transform: capitalize;
9
7
  font-weight: 500;
@@ -4,7 +4,7 @@ export let config = "";
4
4
  export let className;
5
5
  let badgeStyles = [`custom-badge`, className];
6
6
  if (badgeConfig.hasOwnProperty(config)) {
7
- badgeStyles = [...badgeConfig[config], `custom-badge`, className];
7
+ badgeStyles = [...badgeConfig[config], ...badgeStyles];
8
8
  }
9
9
  </script>
10
10
 
@@ -20,9 +20,7 @@ if (badgeConfig.hasOwnProperty(config)) {
20
20
  @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");
21
21
  @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");
22
22
  :global(.custom-badge) {
23
- display: flex;
24
- align-items: center;
25
- justify-content: center;
23
+ text-align: center;
26
24
  padding: 5px 8px;
27
25
  text-transform: capitalize;
28
26
  font-weight: 500;
@@ -7,7 +7,7 @@
7
7
  };
8
8
  let cardClasses = [className];
9
9
  if (cardType.hasOwnProperty(type)) {
10
- cardClasses = [...cardType[type]];
10
+ cardClasses = [...cardType[type], ...cardClasses];
11
11
  }
12
12
  </script>
13
13
 
@@ -2,7 +2,7 @@
2
2
  export let className = '';
3
3
  </script>
4
4
 
5
- <tr class={className}>
5
+ <tr class={className} {...$$restProps}>
6
6
  <slot />
7
7
  </tr>
8
8
 
@@ -2,6 +2,7 @@
2
2
  /** @typedef {typeof __propDef.events} TableRowEvents */
3
3
  /** @typedef {typeof __propDef.slots} TableRowSlots */
4
4
  export default class TableRow extends SvelteComponentTyped<{
5
+ [x: string]: any;
5
6
  className?: string | undefined;
6
7
  }, {
7
8
  [evt: string]: CustomEvent<any>;
@@ -15,6 +16,7 @@ export type TableRowSlots = typeof __propDef.slots;
15
16
  import { SvelteComponentTyped } from "svelte";
16
17
  declare const __propDef: {
17
18
  props: {
19
+ [x: string]: any;
18
20
  className?: string | undefined;
19
21
  };
20
22
  events: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enki-tek/fms-web-components",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
4
4
  "devDependencies": {
5
5
  "@storybook/addon-essentials": "^7.6.14",
6
6
  "@storybook/addon-interactions": "^7.6.14",