@enki-tek/fms-web-components 0.0.61 → 0.0.63

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 = [`custom-badge`, className, "mt-1"];
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>;
@@ -81,6 +81,9 @@
81
81
  .nav-item.active, li.icons.active {
82
82
  border-left: 2px solid #ffffff;
83
83
  background: #084298;
84
+ pointer-events: none;
85
+ cursor: not-allowed;
86
+ pointer-events: none;
84
87
  }
85
88
  .nav-item, .icons {
86
89
  display: flex;
@@ -127,6 +130,7 @@ li.icons:hover {
127
130
  }
128
131
  .nav-item .item-name {
129
132
  line-height: 22px;
133
+ user-select: none;
130
134
  }
131
135
  .nav-item:hover {
132
136
  background-color: #00AEE5;
@@ -24,6 +24,9 @@
24
24
  .nav-item.active, li.icons.active {
25
25
  border-left: 2px solid #ffffff;
26
26
  background: #084298;
27
+ pointer-events: none;
28
+ cursor: not-allowed;
29
+ pointer-events: none;
27
30
  }
28
31
  .nav-item, .icons {
29
32
  display: flex;
@@ -70,6 +73,7 @@ li.icons:hover {
70
73
  }
71
74
  .nav-item .item-name {
72
75
  line-height: 22px;
76
+ user-select: none;
73
77
  }
74
78
  .nav-item:hover {
75
79
  background-color: #00AEE5;
@@ -22,6 +22,9 @@
22
22
  .nav-item.active, li.icons.active {
23
23
  border-left: 2px solid #ffffff;
24
24
  background: #084298;
25
+ pointer-events: none;
26
+ cursor: not-allowed;
27
+ pointer-events: none;
25
28
  }
26
29
  .nav-item, .icons {
27
30
  display: flex;
@@ -68,6 +71,7 @@ li.icons:hover {
68
71
  }
69
72
  .nav-item .item-name {
70
73
  line-height: 22px;
74
+ user-select: none;
71
75
  }
72
76
  .nav-item:hover {
73
77
  background-color: #00AEE5;
@@ -31,6 +31,9 @@
31
31
  .nav-item.active, li.icons.active {
32
32
  border-left: 2px solid #ffffff;
33
33
  background: #084298;
34
+ pointer-events: none;
35
+ cursor: not-allowed;
36
+ pointer-events: none;
34
37
  }
35
38
  .nav-item, .icons {
36
39
  display: flex;
@@ -77,6 +80,7 @@ li.icons:hover {
77
80
  }
78
81
  .nav-item .item-name {
79
82
  line-height: 22px;
83
+ user-select: none;
80
84
  }
81
85
  .nav-item:hover {
82
86
  background-color: #00AEE5;
@@ -16,6 +16,9 @@
16
16
  %active-styles {
17
17
  border-left: 2px solid $white;
18
18
  background: $blue-700;
19
+ pointer-events: none;
20
+ cursor: not-allowed;
21
+ pointer-events: none;
19
22
  }
20
23
 
21
24
  %common-li-styles {
@@ -100,6 +103,7 @@ li.icons:hover {
100
103
 
101
104
  .nav-item .item-name {
102
105
  line-height: 22px;
106
+ user-select: none;
103
107
  }
104
108
 
105
109
  .nav-item.active {
@@ -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>
@@ -51,6 +51,7 @@
51
51
  .avatar-text {
52
52
  color: black;
53
53
  margin-top: 2px;
54
+ text-transform: capitalize;
54
55
  }
55
56
  :global(.headerIcons i) {
56
57
  padding: 0 4px;
@@ -28,6 +28,7 @@
28
28
  .avatar-text{
29
29
  color: black ;
30
30
  margin-top: 2px;
31
+ text-transform: capitalize;
31
32
  }
32
33
 
33
34
  :global(.headerIcons i) {
@@ -53,6 +53,7 @@
53
53
  .avatar-text {
54
54
  color: black;
55
55
  margin-top: 2px;
56
+ text-transform: capitalize;
56
57
  }
57
58
  :global(.headerIcons i) {
58
59
  padding: 0 4px;
@@ -52,6 +52,7 @@
52
52
  .avatar-text {
53
53
  color: black;
54
54
  margin-top: 2px;
55
+ text-transform: capitalize;
55
56
  }
56
57
  :global(.headerIcons i) {
57
58
  padding: 0 4px;
@@ -50,6 +50,7 @@
50
50
  .avatar-text {
51
51
  color: black;
52
52
  margin-top: 2px;
53
+ text-transform: capitalize;
53
54
  }
54
55
  :global(.headerIcons i) {
55
56
  padding: 0 4px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enki-tek/fms-web-components",
3
- "version": "0.0.61",
3
+ "version": "0.0.63",
4
4
  "devDependencies": {
5
5
  "@storybook/addon-essentials": "^7.6.14",
6
6
  "@storybook/addon-interactions": "^7.6.14",