@salutejs/plasma-new-hope 0.87.1-canary.1232.9456612213.0 → 0.87.1-canary.1232.9463821288.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/types/components/Switch/Switch.d.ts +2 -2
- package/types/components/Switch/Switch.d.ts.map +1 -1
- package/types/components/Switch/Switch.types.d.ts +2 -3
- package/types/components/Switch/Switch.types.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Switch/Switch.d.ts +1 -1
- package/types/examples/plasma_b2c/components/Switch/Switch.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Switch/Switch.d.ts +1 -1
- package/types/examples/plasma_web/components/Switch/Switch.d.ts.map +1 -1
- package/types/examples/sds_engineer/components/Switch/Switch.d.ts +1 -1
- package/types/examples/sds_engineer/components/Switch/Switch.d.ts.map +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-new-hope",
|
3
|
-
"version": "0.87.1-canary.1232.
|
3
|
+
"version": "0.87.1-canary.1232.9463821288.0",
|
4
4
|
"description": "Salute Design System blueprint",
|
5
5
|
"main": "cjs/index.js",
|
6
6
|
"module": "es/index.js",
|
@@ -103,5 +103,5 @@
|
|
103
103
|
"react-popper": "2.3.0",
|
104
104
|
"storeon": "3.1.5"
|
105
105
|
},
|
106
|
-
"gitHead": "
|
106
|
+
"gitHead": "1b4293b069a7368685b87bbf6d1b1378a94f108b"
|
107
107
|
}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { RootProps } from '../../engines';
|
3
3
|
import { SwitchProps } from './Switch.types';
|
4
|
-
export declare const switchRoot: (Root: RootProps<HTMLInputElement, SwitchProps>) => React.ForwardRefExoticComponent<import("../../
|
4
|
+
export declare const switchRoot: (Root: RootProps<HTMLInputElement, SwitchProps>) => React.ForwardRefExoticComponent<Omit<import("../../types").InputHTMLAttributes<HTMLInputElement>, "size"> & import("./Switch.types").SwitchPropsVariations & React.RefAttributes<HTMLInputElement>>;
|
5
5
|
export declare const switchConfig: {
|
6
6
|
name: string;
|
7
7
|
tag: string;
|
8
8
|
base: import("@linaria/core").LinariaClassName;
|
9
|
-
layout: (Root: RootProps<HTMLInputElement, SwitchProps>) => React.ForwardRefExoticComponent<import("../../
|
9
|
+
layout: (Root: RootProps<HTMLInputElement, SwitchProps>) => React.ForwardRefExoticComponent<Omit<import("../../types").InputHTMLAttributes<HTMLInputElement>, "size"> & import("./Switch.types").SwitchPropsVariations & React.RefAttributes<HTMLInputElement>>;
|
10
10
|
variations: {
|
11
11
|
size: {
|
12
12
|
css: import("@linaria/core").LinariaClassName;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAe7C,eAAO,MAAM,UAAU,SAAU,UAAU,gBAAgB,EAAE,WAAW,CAAC,
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAe7C,eAAO,MAAM,UAAU,SAAU,UAAU,gBAAgB,EAAE,WAAW,CAAC,wMAmDnE,CAAC;AAEP,eAAO,MAAM,YAAY;;;;mBArDQ,UAAU,gBAAgB,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;CAgFxE,CAAC"}
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import { InputHTMLAttributes } from '
|
2
|
-
import { Filter } from '../../engines/types';
|
1
|
+
import type { InputHTMLAttributes } from '../../types';
|
3
2
|
export interface SwitchPropsPropsBase {
|
4
3
|
/**
|
5
4
|
* Метка-подпись к элементу
|
@@ -21,5 +20,5 @@ export interface SwitchPropsVariations extends SwitchPropsPropsBase {
|
|
21
20
|
labelPosition?: 'before' | 'after';
|
22
21
|
focused?: boolean;
|
23
22
|
}
|
24
|
-
export declare type SwitchProps =
|
23
|
+
export declare type SwitchProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> & SwitchPropsVariations;
|
25
24
|
//# sourceMappingURL=Switch.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Switch.types.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"Switch.types.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IAC/D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAEnC,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,oBAAY,WAAW,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,GAAG,qBAAqB,CAAC"}
|
@@ -16,5 +16,5 @@ export declare const Switch: import("react").FunctionComponent<import("../../../
|
|
16
16
|
focused: {
|
17
17
|
true: import("@linaria/core").LinariaClassName;
|
18
18
|
};
|
19
|
-
}> & import("../../../../
|
19
|
+
}> & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "size"> & import("../../../../components/Switch/Switch.types").SwitchPropsVariations & import("react").RefAttributes<HTMLInputElement>>;
|
20
20
|
//# sourceMappingURL=Switch.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Switch/Switch.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Switch/Switch.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;oNAA0B,CAAC"}
|
@@ -16,5 +16,5 @@ export declare const Switch: import("react").FunctionComponent<import("../../../
|
|
16
16
|
focused: {
|
17
17
|
true: import("@linaria/core").LinariaClassName;
|
18
18
|
};
|
19
|
-
}> & import("../../../../
|
19
|
+
}> & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "size"> & import("../../../../components/Switch/Switch.types").SwitchPropsVariations & import("react").RefAttributes<HTMLInputElement>>;
|
20
20
|
//# sourceMappingURL=Switch.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Switch/Switch.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Switch/Switch.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;oNAA0B,CAAC"}
|
@@ -17,5 +17,5 @@ export declare const Switch: import("react").FunctionComponent<import("../../../
|
|
17
17
|
focused: {
|
18
18
|
true: import("@linaria/core").LinariaClassName;
|
19
19
|
};
|
20
|
-
}> & import("../../../../
|
20
|
+
}> & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "size"> & import("../../../../components/Switch/Switch.types").SwitchPropsVariations & import("react").RefAttributes<HTMLInputElement>>;
|
21
21
|
//# sourceMappingURL=Switch.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Switch/Switch.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Switch/Switch.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;oNAA0B,CAAC"}
|