@enki-tek/fms-web-components 0.0.30 → 0.0.31
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.
@@ -8,10 +8,11 @@
|
|
8
8
|
export let outlineShade = '';
|
9
9
|
export let size = '';
|
10
10
|
export let disabled =false;
|
11
|
+
export let className;
|
11
12
|
|
12
|
-
let buttonStyles = [];
|
13
|
+
let buttonStyles = [className];
|
13
14
|
if (buttonConfig.hasOwnProperty(config)) {
|
14
|
-
buttonStyles = ['ebtn', ...buttonConfig[config], `ebg-${shade}`, `eoutline-${outlineShade}`, `ebtn-${size}`, `disabled
|
15
|
+
buttonStyles = ['ebtn', ...buttonConfig[config], `ebg-${shade}`, `eoutline-${outlineShade}`, `ebtn-${size}`, `disabled`,className];
|
15
16
|
}
|
16
17
|
|
17
18
|
// icon button
|
@@ -2,6 +2,7 @@
|
|
2
2
|
/** @typedef {typeof __propDef.events} ButtonEvents */
|
3
3
|
/** @typedef {typeof __propDef.slots} ButtonSlots */
|
4
4
|
export default class Button extends SvelteComponentTyped<{
|
5
|
+
className: any;
|
5
6
|
disabled?: boolean | undefined;
|
6
7
|
type?: string | undefined;
|
7
8
|
label?: string | undefined;
|
@@ -30,6 +31,7 @@ export type ButtonSlots = typeof __propDef.slots;
|
|
30
31
|
import { SvelteComponentTyped } from "svelte";
|
31
32
|
declare const __propDef: {
|
32
33
|
props: {
|
34
|
+
className: any;
|
33
35
|
disabled?: boolean | undefined;
|
34
36
|
type?: string | undefined;
|
35
37
|
label?: string | undefined;
|
@@ -10,11 +10,12 @@
|
|
10
10
|
export let valid = false;
|
11
11
|
export let invalid = false;
|
12
12
|
export let feedback;
|
13
|
+
export let className;
|
13
14
|
</script>
|
14
15
|
|
15
16
|
<Input
|
16
17
|
{type}
|
17
|
-
class="custom-field efs-normal"
|
18
|
+
class="custom-field efs-normal {className}"
|
18
19
|
{placeholder}
|
19
20
|
{name}
|
20
21
|
{value}
|
@@ -2,6 +2,7 @@
|
|
2
2
|
/** @typedef {typeof __propDef.events} TextFieldEvents */
|
3
3
|
/** @typedef {typeof __propDef.slots} TextFieldSlots */
|
4
4
|
export default class TextField extends SvelteComponentTyped<{
|
5
|
+
className: any;
|
5
6
|
feedback: any;
|
6
7
|
disabled?: boolean | undefined;
|
7
8
|
invalid?: boolean | undefined;
|
@@ -23,6 +24,7 @@ export type TextFieldSlots = typeof __propDef.slots;
|
|
23
24
|
import { SvelteComponentTyped } from "svelte";
|
24
25
|
declare const __propDef: {
|
25
26
|
props: {
|
27
|
+
className: any;
|
26
28
|
feedback: any;
|
27
29
|
disabled?: boolean | undefined;
|
28
30
|
invalid?: boolean | undefined;
|