@edvisor/product-language 0.10.39 → 0.10.41

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.
@@ -15,6 +15,7 @@ export * from './icon';
15
15
  export * from './flag';
16
16
  export * from './spinner';
17
17
  export * from './select';
18
+ export * from './switch';
18
19
  export * from './tree-view';
19
20
  export * from './tooltip';
20
21
  export * from './date-picker';
@@ -0,0 +1 @@
1
+ export * from './switch';
@@ -0,0 +1,13 @@
1
+ import { InputHTMLAttributes } from 'react';
2
+ import { FC } from '@helpers';
3
+ interface InputElementProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange'> {
4
+ label?: string;
5
+ name?: string;
6
+ key?: string;
7
+ checked?: boolean;
8
+ disabled?: boolean;
9
+ onChange?: (checked: boolean) => void;
10
+ helpText?: string;
11
+ }
12
+ export declare const Switch: FC<InputElementProps>;
13
+ export {};
@@ -8,6 +8,8 @@ export declare const Padding: {
8
8
  readonly m: SPACING.Size16;
9
9
  readonly l: SPACING.Size24;
10
10
  readonly xl: SPACING.Size32;
11
+ readonly xll: SPACING.Size48;
12
+ readonly xxl: SPACING.Size64;
11
13
  };
12
14
  export declare const Margin: {
13
15
  readonly none: 0;
@@ -18,6 +20,7 @@ export declare const Margin: {
18
20
  readonly m: SPACING.Size16;
19
21
  readonly l: SPACING.Size24;
20
22
  readonly xl: SPACING.Size32;
23
+ readonly xll: SPACING.Size48;
21
24
  readonly xxl: SPACING.Size64;
22
25
  };
23
26
  export declare const Gap: {
@@ -29,5 +32,6 @@ export declare const Gap: {
29
32
  readonly m: SPACING.Size16;
30
33
  readonly l: SPACING.Size24;
31
34
  readonly xl: SPACING.Size32;
35
+ readonly xll: SPACING.Size48;
32
36
  readonly xxl: SPACING.Size64;
33
37
  };
@@ -6,6 +6,7 @@ export declare enum SPACING {
6
6
  Size16 = "16px",
7
7
  Size24 = "24px",
8
8
  Size32 = "32px",
9
+ Size48 = "48px",
9
10
  Size64 = "64px",
10
11
  Size96 = "96px",
11
12
  Size128 = "128px",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edvisor/product-language",
3
- "version": "0.10.39",
3
+ "version": "0.10.41",
4
4
  "license": "MIT",
5
5
  "description": "Edvisor.io product-language components",
6
6
  "repository": "https://github.com/edvisor-io/front-end/",