@salutejs/plasma-new-hope 0.69.0-canary.1148.8507402029.0 → 0.69.0-canary.1148.8520837057.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Cell/Cell.js +7 -6
- package/cjs/components/Cell/Cell.js.map +1 -1
- package/cjs/components/Cell/ui/CellTextLabel/CellTextLabel.js +13 -0
- package/cjs/components/Cell/ui/CellTextLabel/CellTextLabel.js.map +1 -0
- package/cjs/components/Cell/{CellTextbox/ui/CellTextLabel.js → ui/CellTextLabel/CellTextLabel.styles.js} +3 -7
- package/cjs/components/Cell/ui/CellTextLabel/CellTextLabel.styles.js.map +1 -0
- package/cjs/components/Cell/ui/CellTextSubtitle/CellTextSubtitle.js +13 -0
- package/cjs/components/Cell/ui/CellTextSubtitle/CellTextSubtitle.js.map +1 -0
- package/cjs/components/Cell/{CellTextbox/ui/CellTextSubtitle.js → ui/CellTextSubtitle/CellTextSubtitle.styles.js} +3 -7
- package/cjs/components/Cell/ui/CellTextSubtitle/CellTextSubtitle.styles.js.map +1 -0
- package/cjs/components/Cell/ui/CellTextTitle/CellTextTitle.js +13 -0
- package/cjs/components/Cell/ui/CellTextTitle/CellTextTitle.js.map +1 -0
- package/cjs/components/Cell/{CellTextbox/ui/CellTextTitle.js → ui/CellTextTitle/CellTextTitle.styles.js} +3 -7
- package/cjs/components/Cell/ui/CellTextTitle/CellTextTitle.styles.js.map +1 -0
- package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +20 -0
- package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -0
- package/cjs/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.styles.js +2 -2
- package/cjs/components/Cell/ui/CellTextbox/CellTextbox.styles.js.map +1 -0
- package/cjs/index.js +7 -7
- package/es/components/Cell/Cell.js +7 -6
- package/es/components/Cell/Cell.js.map +1 -1
- package/es/components/Cell/ui/CellTextLabel/CellTextLabel.js +9 -0
- package/es/components/Cell/ui/CellTextLabel/CellTextLabel.js.map +1 -0
- package/es/components/Cell/{CellTextbox/ui/CellTextLabel.js → ui/CellTextLabel/CellTextLabel.styles.js} +3 -7
- package/es/components/Cell/ui/CellTextLabel/CellTextLabel.styles.js.map +1 -0
- package/es/components/Cell/ui/CellTextSubtitle/CellTextSubtitle.js +9 -0
- package/es/components/Cell/ui/CellTextSubtitle/CellTextSubtitle.js.map +1 -0
- package/es/components/Cell/{CellTextbox/ui/CellTextSubtitle.js → ui/CellTextSubtitle/CellTextSubtitle.styles.js} +3 -7
- package/es/components/Cell/ui/CellTextSubtitle/CellTextSubtitle.styles.js.map +1 -0
- package/es/components/Cell/ui/CellTextTitle/CellTextTitle.js +9 -0
- package/es/components/Cell/ui/CellTextTitle/CellTextTitle.js.map +1 -0
- package/es/components/Cell/{CellTextbox/ui/CellTextTitle.js → ui/CellTextTitle/CellTextTitle.styles.js} +3 -7
- package/es/components/Cell/ui/CellTextTitle/CellTextTitle.styles.js.map +1 -0
- package/es/components/Cell/ui/CellTextbox/CellTextbox.js +16 -0
- package/es/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -0
- package/es/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.styles.js +2 -2
- package/es/components/Cell/ui/CellTextbox/CellTextbox.styles.js.map +1 -0
- package/es/index.js +4 -4
- package/package.json +2 -2
- package/styled-components/cjs/components/Cell/Cell.js +7 -6
- package/styled-components/cjs/components/Cell/index.js +12 -12
- package/styled-components/cjs/components/Cell/ui/CellTextLabel/CellTextLabel.js +12 -0
- package/styled-components/cjs/components/Cell/{CellTextbox/ui/CellTextLabel.js → ui/CellTextLabel/CellTextLabel.styles.js} +4 -8
- package/styled-components/cjs/components/Cell/ui/CellTextSubtitle/CellTextSubtitle.js +12 -0
- package/styled-components/cjs/components/Cell/{CellTextbox/ui/CellTextSubtitle.js → ui/CellTextSubtitle/CellTextSubtitle.styles.js} +4 -8
- package/styled-components/cjs/components/Cell/ui/CellTextTitle/CellTextTitle.js +12 -0
- package/styled-components/cjs/components/Cell/{CellTextbox/ui/CellTextTitle.js → ui/CellTextTitle/CellTextTitle.styles.js} +4 -8
- package/styled-components/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +19 -0
- package/styled-components/cjs/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.styles.js +2 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.js +8 -8
- package/styled-components/cjs/examples/plasma_b2c/components/Cell/Cell.stories.tsx +3 -3
- package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.js +8 -8
- package/styled-components/cjs/examples/plasma_web/components/Cell/Cell.stories.tsx +2 -2
- package/styled-components/es/components/Cell/Cell.js +7 -6
- package/styled-components/es/components/Cell/index.js +4 -4
- package/styled-components/es/components/Cell/ui/CellTextLabel/CellTextLabel.js +5 -0
- package/styled-components/es/components/Cell/{CellTextbox/ui/CellTextLabel.js → ui/CellTextLabel/CellTextLabel.styles.js} +3 -7
- package/styled-components/es/components/Cell/ui/CellTextSubtitle/CellTextSubtitle.js +5 -0
- package/styled-components/es/components/Cell/{CellTextbox/ui/CellTextSubtitle.js → ui/CellTextSubtitle/CellTextSubtitle.styles.js} +3 -7
- package/styled-components/es/components/Cell/ui/CellTextTitle/CellTextTitle.js +5 -0
- package/styled-components/es/components/Cell/{CellTextbox/ui/CellTextTitle.js → ui/CellTextTitle/CellTextTitle.styles.js} +3 -7
- package/styled-components/es/components/Cell/ui/CellTextbox/CellTextbox.js +12 -0
- package/styled-components/es/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.styles.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Cell/Cell.stories.tsx +3 -3
- package/styled-components/es/examples/plasma_web/components/Cell/Cell.js +2 -2
- package/styled-components/es/examples/plasma_web/components/Cell/Cell.stories.tsx +2 -2
- package/types/components/Cell/Cell.d.ts +2 -2
- package/types/components/Cell/Cell.d.ts.map +1 -1
- package/types/components/Cell/Cell.types.d.ts +6 -1
- package/types/components/Cell/Cell.types.d.ts.map +1 -1
- package/types/components/Cell/index.d.ts +5 -5
- package/types/components/Cell/index.d.ts.map +1 -1
- package/types/components/Cell/ui/CellTextLabel/CellTextLabel.d.ts +3 -0
- package/types/components/Cell/ui/CellTextLabel/CellTextLabel.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextLabel/CellTextLabel.styles.d.ts +2 -0
- package/types/components/Cell/ui/CellTextLabel/CellTextLabel.styles.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextSubtitle/CellTextSubtitle.d.ts +3 -0
- package/types/components/Cell/ui/CellTextSubtitle/CellTextSubtitle.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextSubtitle/CellTextSubtitle.styles.d.ts +2 -0
- package/types/components/Cell/ui/CellTextSubtitle/CellTextSubtitle.styles.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextTitle/CellTextTitle.d.ts +3 -0
- package/types/components/Cell/ui/CellTextTitle/CellTextTitle.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextTitle/CellTextTitle.styles.d.ts +2 -0
- package/types/components/Cell/ui/CellTextTitle/CellTextTitle.styles.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextbox/CellTextbox.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextbox/CellTextbox.styles.d.ts.map +1 -0
- package/types/components/Cell/ui/CellTextbox/CellTextbox.types.d.ts +33 -0
- package/types/components/Cell/ui/CellTextbox/CellTextbox.types.d.ts.map +1 -0
- package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +11 -11
- package/types/examples/plasma_b2c/components/Cell/Cell.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Cell/Cell.d.ts +11 -11
- package/types/examples/plasma_web/components/Cell/Cell.d.ts.map +1 -1
- package/cjs/components/Cell/CellTextbox/CellTextbox.js +0 -21
- package/cjs/components/Cell/CellTextbox/CellTextbox.js.map +0 -1
- package/cjs/components/Cell/CellTextbox/CellTextbox.styles.js.map +0 -1
- package/cjs/components/Cell/CellTextbox/ui/CellTextLabel.js.map +0 -1
- package/cjs/components/Cell/CellTextbox/ui/CellTextSubtitle.js.map +0 -1
- package/cjs/components/Cell/CellTextbox/ui/CellTextTitle.js.map +0 -1
- package/es/components/Cell/CellTextbox/CellTextbox.js +0 -17
- package/es/components/Cell/CellTextbox/CellTextbox.js.map +0 -1
- package/es/components/Cell/CellTextbox/CellTextbox.styles.js.map +0 -1
- package/es/components/Cell/CellTextbox/ui/CellTextLabel.js.map +0 -1
- package/es/components/Cell/CellTextbox/ui/CellTextSubtitle.js.map +0 -1
- package/es/components/Cell/CellTextbox/ui/CellTextTitle.js.map +0 -1
- package/styled-components/cjs/components/Cell/CellTextbox/CellTextbox.js +0 -20
- package/styled-components/es/components/Cell/CellTextbox/CellTextbox.js +0 -13
- package/types/components/Cell/CellTextbox/CellTextbox.d.ts.map +0 -1
- package/types/components/Cell/CellTextbox/CellTextbox.styles.d.ts.map +0 -1
- package/types/components/Cell/CellTextbox/CellTextbox.types.d.ts +0 -43
- package/types/components/Cell/CellTextbox/CellTextbox.types.d.ts.map +0 -1
- package/types/components/Cell/CellTextbox/ui/CellTextLabel.d.ts +0 -5
- package/types/components/Cell/CellTextbox/ui/CellTextLabel.d.ts.map +0 -1
- package/types/components/Cell/CellTextbox/ui/CellTextSubtitle.d.ts +0 -5
- package/types/components/Cell/CellTextbox/ui/CellTextSubtitle.d.ts.map +0 -1
- package/types/components/Cell/CellTextbox/ui/CellTextTitle.d.ts +0 -5
- package/types/components/Cell/CellTextbox/ui/CellTextTitle.d.ts.map +0 -1
- /package/styled-components/cjs/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.types.js +0 -0
- /package/styled-components/es/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.types.js +0 -0
- /package/types/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.d.ts +0 -0
- /package/types/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.styles.d.ts +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CellTextSubtitle.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextSubtitle/CellTextSubtitle.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,oEAQ9B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CellTextTitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextTitle/CellTextTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,CAElE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CellTextTitle.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextTitle/CellTextTitle.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe,oEAQ3B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CellTextbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextbox/CellTextbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAO9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,gBAAgB,CAmBnF,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CellTextbox.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextbox/CellTextbox.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,oEAI7B,CAAC"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from 'react';
|
2
|
+
declare type CustomTextboxProps = {
|
3
|
+
/**
|
4
|
+
* Слот для Title
|
5
|
+
*/
|
6
|
+
title?: string;
|
7
|
+
/**
|
8
|
+
* Слот для Subtitle
|
9
|
+
*/
|
10
|
+
subtitle?: string;
|
11
|
+
/**
|
12
|
+
* Слот для Label
|
13
|
+
*/
|
14
|
+
label?: string;
|
15
|
+
children?: never;
|
16
|
+
} | {
|
17
|
+
/**
|
18
|
+
* Слот для Title
|
19
|
+
*/
|
20
|
+
title?: never;
|
21
|
+
/**
|
22
|
+
* Слот для Subtitle
|
23
|
+
*/
|
24
|
+
subtitle?: never;
|
25
|
+
/**
|
26
|
+
* Слот для Label
|
27
|
+
*/
|
28
|
+
label?: never;
|
29
|
+
children?: ReactNode;
|
30
|
+
};
|
31
|
+
export declare type CellTextboxProps = CustomTextboxProps & HTMLAttributes<HTMLDivElement>;
|
32
|
+
export {};
|
33
|
+
//# sourceMappingURL=CellTextbox.types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CellTextbox.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextbox/CellTextbox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,aAAK,kBAAkB,GACjB;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,QAAQ,CAAC,EAAE,KAAK,CAAC;CACpB,GACD;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAER,oBAAY,gBAAgB,GAAG,kBAAkB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { CellTextbox,
|
2
|
+
import { CellTextbox, CellTextLabel, CellTextSubtitle, CellTextTitle } from '../../../../components/Cell';
|
3
3
|
export declare const Cell: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
4
4
|
view: {
|
5
5
|
default: import("@linaria/core").LinariaClassName;
|
@@ -19,13 +19,13 @@ export declare const Cell: import("react").FunctionComponent<import("../../../..
|
|
19
19
|
alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
20
20
|
stretching?: "fixed" | "auto" | "filled" | undefined;
|
21
21
|
content?: import("react").ReactNode;
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
22
|
+
description?: string | undefined;
|
23
|
+
} & {
|
24
|
+
title?: string | undefined;
|
25
|
+
subtitle?: string | undefined;
|
26
|
+
label?: string | undefined;
|
27
27
|
children?: undefined;
|
28
|
-
} & import("react").RefAttributes<
|
28
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>) | ({
|
29
29
|
size?: string | undefined;
|
30
30
|
view: string;
|
31
31
|
contentLeft?: import("react").ReactNode;
|
@@ -34,12 +34,12 @@ export declare const Cell: import("react").FunctionComponent<import("../../../..
|
|
34
34
|
alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
35
35
|
stretching?: "fixed" | "auto" | "filled" | undefined;
|
36
36
|
content?: import("react").ReactNode;
|
37
|
-
|
37
|
+
description?: string | undefined;
|
38
|
+
} & {
|
38
39
|
title?: undefined;
|
39
40
|
subtitle?: undefined;
|
40
41
|
label?: undefined;
|
41
|
-
description?: undefined;
|
42
42
|
children?: import("react").ReactNode;
|
43
|
-
} & import("react").RefAttributes<
|
44
|
-
export { CellTextbox,
|
43
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>))>;
|
44
|
+
export { CellTextbox, CellTextLabel, CellTextSubtitle, CellTextTitle };
|
45
45
|
//# sourceMappingURL=Cell.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Cell/Cell.ts"],"names":[],"mappings":";AAAA,OAAO,
|
1
|
+
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Cell/Cell.ts"],"names":[],"mappings":";AAAA,OAAO,EAAc,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAMtH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAA0B,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,aAAa,EAAE,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import { CellTextbox,
|
2
|
+
import { CellTextbox, CellTextLabel, CellTextSubtitle, CellTextTitle } from '../../../../components/Cell';
|
3
3
|
export declare const Cell: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
4
4
|
view: {
|
5
5
|
default: import("@linaria/core").LinariaClassName;
|
@@ -19,13 +19,13 @@ export declare const Cell: import("react").FunctionComponent<import("../../../..
|
|
19
19
|
alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
20
20
|
stretching?: "fixed" | "auto" | "filled" | undefined;
|
21
21
|
content?: import("react").ReactNode;
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
22
|
+
description?: string | undefined;
|
23
|
+
} & {
|
24
|
+
title?: string | undefined;
|
25
|
+
subtitle?: string | undefined;
|
26
|
+
label?: string | undefined;
|
27
27
|
children?: undefined;
|
28
|
-
} & import("react").RefAttributes<
|
28
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>) | ({
|
29
29
|
size?: string | undefined;
|
30
30
|
view: string;
|
31
31
|
contentLeft?: import("react").ReactNode;
|
@@ -34,12 +34,12 @@ export declare const Cell: import("react").FunctionComponent<import("../../../..
|
|
34
34
|
alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
|
35
35
|
stretching?: "fixed" | "auto" | "filled" | undefined;
|
36
36
|
content?: import("react").ReactNode;
|
37
|
-
|
37
|
+
description?: string | undefined;
|
38
|
+
} & {
|
38
39
|
title?: undefined;
|
39
40
|
subtitle?: undefined;
|
40
41
|
label?: undefined;
|
41
|
-
description?: undefined;
|
42
42
|
children?: import("react").ReactNode;
|
43
|
-
} & import("react").RefAttributes<
|
44
|
-
export { CellTextbox,
|
43
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>))>;
|
44
|
+
export { CellTextbox, CellTextLabel, CellTextSubtitle, CellTextTitle };
|
45
45
|
//# sourceMappingURL=Cell.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Cell/Cell.ts"],"names":[],"mappings":";AACA,OAAO,
|
1
|
+
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Cell/Cell.ts"],"names":[],"mappings":";AACA,OAAO,EAAc,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAKtH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAA0B,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,aAAa,EAAE,CAAC"}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
'use strict';
|
2
|
-
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
-
|
5
|
-
var React = require('react');
|
6
|
-
var CellTextbox_styles = require('./CellTextbox.styles.js');
|
7
|
-
var CellTextLabel = require('./ui/CellTextLabel.js');
|
8
|
-
var CellTextTitle = require('./ui/CellTextTitle.js');
|
9
|
-
var CellTextSubtitle = require('./ui/CellTextSubtitle.js');
|
10
|
-
|
11
|
-
var CellTextbox = function CellTextbox(_ref) {
|
12
|
-
var label = _ref.label,
|
13
|
-
title = _ref.title,
|
14
|
-
subtitle = _ref.subtitle,
|
15
|
-
description = _ref.description,
|
16
|
-
children = _ref.children;
|
17
|
-
return /*#__PURE__*/React.createElement(CellTextbox_styles.CellTextboxStyled, null, label || title || description || subtitle ? /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement(CellTextLabel.CellTextboxLabel, null, label), (title || description) && /*#__PURE__*/React.createElement(CellTextTitle.CellTextboxTitle, null, title || description), subtitle && /*#__PURE__*/React.createElement(CellTextSubtitle.CellTextboxSubtitle, null, subtitle)) : children);
|
18
|
-
};
|
19
|
-
|
20
|
-
exports.CellTextbox = CellTextbox;
|
21
|
-
//# sourceMappingURL=CellTextbox.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CellTextbox.js","sources":["../../../../src/components/Cell/CellTextbox/CellTextbox.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\n\nimport type { CellTextboxProps } from './CellTextbox.types';\nimport { CellTextboxStyled } from './CellTextbox.styles';\nimport { CellTextboxLabel } from './ui/CellTextLabel';\nimport { CellTextboxTitle } from './ui/CellTextTitle';\nimport { CellTextboxSubtitle } from './ui/CellTextSubtitle';\n\nexport const CellTextbox: React.FC<HTMLAttributes<HTMLDivElement> & CellTextboxProps> = ({\n label,\n title,\n subtitle,\n description,\n children,\n}) => {\n return (\n <CellTextboxStyled>\n {label || title || description || subtitle ? (\n <>\n {label && <CellTextboxLabel>{label}</CellTextboxLabel>}\n {(title || description) && <CellTextboxTitle>{title || description}</CellTextboxTitle>}\n {subtitle && <CellTextboxSubtitle>{subtitle}</CellTextboxSubtitle>}\n </>\n ) : (\n children\n )}\n </CellTextboxStyled>\n );\n};\n"],"names":["CellTextbox","_ref","label","title","subtitle","description","children","React","createElement","CellTextboxStyled","Fragment","CellTextboxLabel","CellTextboxTitle","CellTextboxSubtitle"],"mappings":";;;;;;;;;;IAQaA,WAAwE,GAAG,SAA3EA,WAAwEA,CAAAC,IAAA,EAM/E;AAAA,EAAA,IALFC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,KAAK,GAAAF,IAAA,CAALE,KAAK;IACLC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;IACRC,WAAW,GAAAJ,IAAA,CAAXI,WAAW;IACXC,QAAQ,GAAAL,IAAA,CAARK,QAAQ,CAAA;AAER,EAAA,oBACIC,KAAA,CAAAC,aAAA,CAACC,oCAAiB,EAAA,IAAA,EACbP,KAAK,IAAIC,KAAK,IAAIE,WAAW,IAAID,QAAQ,gBACtCG,KAAA,CAAAC,aAAA,CAAAD,KAAA,CAAAG,QAAA,EAAA,IAAA,EACKR,KAAK,iBAAIK,KAAA,CAAAC,aAAA,CAACG,8BAAgB,EAAET,IAAAA,EAAAA,KAAwB,CAAC,EACrD,CAACC,KAAK,IAAIE,WAAW,kBAAKE,KAAA,CAAAC,aAAA,CAACI,8BAAgB,EAAET,IAAAA,EAAAA,KAAK,IAAIE,WAA8B,CAAC,EACrFD,QAAQ,iBAAIG,KAAA,CAAAC,aAAA,CAACK,oCAAmB,EAAA,IAAA,EAAET,QAA8B,CACnE,CAAC,GAEHE,QAEW,CAAC,CAAA;AAE5B;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CellTextbox.styles.js","sources":["../../../../src/components/Cell/CellTextbox/CellTextbox.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { tokens } from '../Cell.tokens';\n\nexport const CellTextboxStyled = styled.div`\n display: flex;\n flex-direction: column;\n gap: var(${tokens.cellTextboxGap});\n`;\n"],"names":["CellTextboxStyled","styled","div","withConfig","componentId","tokens","cellTextboxGap"],"mappings":";;;;;;;IAIaA,iBAAiB,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CAG5BC,CAAAA,CAAAA,CAAAA,6CAAAA,EAAAA,IAAAA,CAAAA,EAAAA,kBAAM,CAACC,cAAc;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CellTextLabel.js","sources":["../../../../../src/components/Cell/CellTextbox/ui/CellTextLabel.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\nimport styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nconst StyledTextLabel = styled.div`\n color: var(${tokens.cellLabelColor});\n font-size: var(${tokens.cellLabelFontSize});\n font-weight: var(${tokens.cellLabelFontWeight});\n font-family: var(${tokens.cellLabelFontFamily});\n font-style: var(${tokens.cellLabelFontStyle});\n line-height: var(${tokens.cellLabelLineHeight});\n letter-spacing: var(${tokens.cellLabelLetterSpacing});\n`;\n\ntype TextLabelProps = {};\n\nexport const CellTextboxLabel: React.FC<HTMLAttributes<HTMLDivElement> & TextLabelProps> = (props) => {\n return <StyledTextLabel>{props.children}</StyledTextLabel>;\n};\n"],"names":["StyledTextLabel","styled","div","withConfig","componentId","tokens","cellLabelColor","cellLabelFontSize","cellLabelFontWeight","cellLabelFontFamily","cellLabelFontStyle","cellLabelLineHeight","cellLabelLetterSpacing","CellTextboxLabel","props","React","createElement","children"],"mappings":";;;;;;;;AAKA,IAAMA,eAAe,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,8BAAA;AAAA,CACjBC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,kBAAM,CAACC,cAAc,EACjBD,kBAAM,CAACE,iBAAiB,EACtBF,kBAAM,CAACG,mBAAmB,EAC1BH,kBAAM,CAACI,mBAAmB,EAC3BJ,kBAAM,CAACK,kBAAkB,EACxBL,kBAAM,CAACM,mBAAmB,EACvBN,kBAAM,CAACO,sBAAsB,CACtD,CAAA;IAIYC,gBAA2E,GAAG,SAA9EA,gBAA2EA,CAAIC,KAAK,EAAK;EAClG,oBAAOC,KAAA,CAAAC,aAAA,CAAChB,eAAe,EAAEc,IAAAA,EAAAA,KAAK,CAACG,QAA0B,CAAC,CAAA;AAC9D;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CellTextSubtitle.js","sources":["../../../../../src/components/Cell/CellTextbox/ui/CellTextSubtitle.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\nimport styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nconst StyledTextSubtitle = styled.div`\n color: var(${tokens.cellSubtitleColor});\n font-size: var(${tokens.cellSubtitleFontSize});\n font-weight: var(${tokens.cellSubtitleFontWeight});\n font-family: var(${tokens.cellSubtitleFontFamily});\n font-style: var(${tokens.cellSubtitleFontStyle});\n line-height: var(${tokens.cellSubtitleLineHeight});\n letter-spacing: var(${tokens.cellSubtitleLetterSpacing});\n`;\n\ntype TextSubtitleProps = {};\n\nexport const CellTextboxSubtitle: React.FC<HTMLAttributes<HTMLDivElement> & TextSubtitleProps> = (props) => {\n return <StyledTextSubtitle>{props.children}</StyledTextSubtitle>;\n};\n"],"names":["StyledTextSubtitle","styled","div","withConfig","componentId","tokens","cellSubtitleColor","cellSubtitleFontSize","cellSubtitleFontWeight","cellSubtitleFontFamily","cellSubtitleFontStyle","cellSubtitleLineHeight","cellSubtitleLetterSpacing","CellTextboxSubtitle","props","React","createElement","children"],"mappings":";;;;;;;;AAKA,IAAMA,kBAAkB,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CACpBC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,kBAAM,CAACC,iBAAiB,EACpBD,kBAAM,CAACE,oBAAoB,EACzBF,kBAAM,CAACG,sBAAsB,EAC7BH,kBAAM,CAACI,sBAAsB,EAC9BJ,kBAAM,CAACK,qBAAqB,EAC3BL,kBAAM,CAACM,sBAAsB,EAC1BN,kBAAM,CAACO,yBAAyB,CACzD,CAAA;IAIYC,mBAAiF,GAAG,SAApFA,mBAAiFA,CAAIC,KAAK,EAAK;EACxG,oBAAOC,KAAA,CAAAC,aAAA,CAAChB,kBAAkB,EAAEc,IAAAA,EAAAA,KAAK,CAACG,QAA6B,CAAC,CAAA;AACpE;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CellTextTitle.js","sources":["../../../../../src/components/Cell/CellTextbox/ui/CellTextTitle.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\nimport styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nconst StyledTextTitle = styled.div`\n color: var(${tokens.cellTitleColor});\n font-size: var(${tokens.cellTitleFontSize});\n font-weight: var(${tokens.cellTitleFontWeight});\n font-family: var(${tokens.cellTitleFontFamily});\n font-style: var(${tokens.cellTitleFontStyle});\n line-height: var(${tokens.cellTitleLineHeight});\n letter-spacing: var(${tokens.cellTitleLetterSpacing});\n`;\n\ntype TextTitleProps = {};\n\nexport const CellTextboxTitle: React.FC<HTMLAttributes<HTMLDivElement> & TextTitleProps> = (props) => {\n return <StyledTextTitle>{props.children}</StyledTextTitle>;\n};\n"],"names":["StyledTextTitle","styled","div","withConfig","componentId","tokens","cellTitleColor","cellTitleFontSize","cellTitleFontWeight","cellTitleFontFamily","cellTitleFontStyle","cellTitleLineHeight","cellTitleLetterSpacing","CellTextboxTitle","props","React","createElement","children"],"mappings":";;;;;;;;AAKA,IAAMA,eAAe,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,8BAAA;AAAA,CACjBC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,kBAAM,CAACC,cAAc,EACjBD,kBAAM,CAACE,iBAAiB,EACtBF,kBAAM,CAACG,mBAAmB,EAC1BH,kBAAM,CAACI,mBAAmB,EAC3BJ,kBAAM,CAACK,kBAAkB,EACxBL,kBAAM,CAACM,mBAAmB,EACvBN,kBAAM,CAACO,sBAAsB,CACtD,CAAA;IAIYC,gBAA2E,GAAG,SAA9EA,gBAA2EA,CAAIC,KAAK,EAAK;EAClG,oBAAOC,KAAA,CAAAC,aAAA,CAAChB,eAAe,EAAEc,IAAAA,EAAAA,KAAK,CAACG,QAA0B,CAAC,CAAA;AAC9D;;;;"}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { CellTextboxStyled } from './CellTextbox.styles.js';
|
3
|
-
import { CellTextboxLabel } from './ui/CellTextLabel.js';
|
4
|
-
import { CellTextboxTitle } from './ui/CellTextTitle.js';
|
5
|
-
import { CellTextboxSubtitle } from './ui/CellTextSubtitle.js';
|
6
|
-
|
7
|
-
var CellTextbox = function CellTextbox(_ref) {
|
8
|
-
var label = _ref.label,
|
9
|
-
title = _ref.title,
|
10
|
-
subtitle = _ref.subtitle,
|
11
|
-
description = _ref.description,
|
12
|
-
children = _ref.children;
|
13
|
-
return /*#__PURE__*/React.createElement(CellTextboxStyled, null, label || title || description || subtitle ? /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement(CellTextboxLabel, null, label), (title || description) && /*#__PURE__*/React.createElement(CellTextboxTitle, null, title || description), subtitle && /*#__PURE__*/React.createElement(CellTextboxSubtitle, null, subtitle)) : children);
|
14
|
-
};
|
15
|
-
|
16
|
-
export { CellTextbox };
|
17
|
-
//# sourceMappingURL=CellTextbox.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CellTextbox.js","sources":["../../../../src/components/Cell/CellTextbox/CellTextbox.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\n\nimport type { CellTextboxProps } from './CellTextbox.types';\nimport { CellTextboxStyled } from './CellTextbox.styles';\nimport { CellTextboxLabel } from './ui/CellTextLabel';\nimport { CellTextboxTitle } from './ui/CellTextTitle';\nimport { CellTextboxSubtitle } from './ui/CellTextSubtitle';\n\nexport const CellTextbox: React.FC<HTMLAttributes<HTMLDivElement> & CellTextboxProps> = ({\n label,\n title,\n subtitle,\n description,\n children,\n}) => {\n return (\n <CellTextboxStyled>\n {label || title || description || subtitle ? (\n <>\n {label && <CellTextboxLabel>{label}</CellTextboxLabel>}\n {(title || description) && <CellTextboxTitle>{title || description}</CellTextboxTitle>}\n {subtitle && <CellTextboxSubtitle>{subtitle}</CellTextboxSubtitle>}\n </>\n ) : (\n children\n )}\n </CellTextboxStyled>\n );\n};\n"],"names":["CellTextbox","_ref","label","title","subtitle","description","children","React","createElement","CellTextboxStyled","Fragment","CellTextboxLabel","CellTextboxTitle","CellTextboxSubtitle"],"mappings":";;;;;;IAQaA,WAAwE,GAAG,SAA3EA,WAAwEA,CAAAC,IAAA,EAM/E;AAAA,EAAA,IALFC,KAAK,GAAAD,IAAA,CAALC,KAAK;IACLC,KAAK,GAAAF,IAAA,CAALE,KAAK;IACLC,QAAQ,GAAAH,IAAA,CAARG,QAAQ;IACRC,WAAW,GAAAJ,IAAA,CAAXI,WAAW;IACXC,QAAQ,GAAAL,IAAA,CAARK,QAAQ,CAAA;AAER,EAAA,oBACIC,KAAA,CAAAC,aAAA,CAACC,iBAAiB,EAAA,IAAA,EACbP,KAAK,IAAIC,KAAK,IAAIE,WAAW,IAAID,QAAQ,gBACtCG,KAAA,CAAAC,aAAA,CAAAD,KAAA,CAAAG,QAAA,EAAA,IAAA,EACKR,KAAK,iBAAIK,KAAA,CAAAC,aAAA,CAACG,gBAAgB,EAAET,IAAAA,EAAAA,KAAwB,CAAC,EACrD,CAACC,KAAK,IAAIE,WAAW,kBAAKE,KAAA,CAAAC,aAAA,CAACI,gBAAgB,EAAET,IAAAA,EAAAA,KAAK,IAAIE,WAA8B,CAAC,EACrFD,QAAQ,iBAAIG,KAAA,CAAAC,aAAA,CAACK,mBAAmB,EAAA,IAAA,EAAET,QAA8B,CACnE,CAAC,GAEHE,QAEW,CAAC,CAAA;AAE5B;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CellTextbox.styles.js","sources":["../../../../src/components/Cell/CellTextbox/CellTextbox.styles.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { tokens } from '../Cell.tokens';\n\nexport const CellTextboxStyled = styled.div`\n display: flex;\n flex-direction: column;\n gap: var(${tokens.cellTextboxGap});\n`;\n"],"names":["CellTextboxStyled","styled","div","withConfig","componentId","tokens","cellTextboxGap"],"mappings":";;;IAIaA,iBAAiB,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CAG5BC,CAAAA,CAAAA,CAAAA,6CAAAA,EAAAA,IAAAA,CAAAA,EAAAA,MAAM,CAACC,cAAc;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CellTextLabel.js","sources":["../../../../../src/components/Cell/CellTextbox/ui/CellTextLabel.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\nimport styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nconst StyledTextLabel = styled.div`\n color: var(${tokens.cellLabelColor});\n font-size: var(${tokens.cellLabelFontSize});\n font-weight: var(${tokens.cellLabelFontWeight});\n font-family: var(${tokens.cellLabelFontFamily});\n font-style: var(${tokens.cellLabelFontStyle});\n line-height: var(${tokens.cellLabelLineHeight});\n letter-spacing: var(${tokens.cellLabelLetterSpacing});\n`;\n\ntype TextLabelProps = {};\n\nexport const CellTextboxLabel: React.FC<HTMLAttributes<HTMLDivElement> & TextLabelProps> = (props) => {\n return <StyledTextLabel>{props.children}</StyledTextLabel>;\n};\n"],"names":["StyledTextLabel","styled","div","withConfig","componentId","tokens","cellLabelColor","cellLabelFontSize","cellLabelFontWeight","cellLabelFontFamily","cellLabelFontStyle","cellLabelLineHeight","cellLabelLetterSpacing","CellTextboxLabel","props","React","createElement","children"],"mappings":";;;;AAKA,IAAMA,eAAe,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,8BAAA;AAAA,CACjBC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,MAAM,CAACC,cAAc,EACjBD,MAAM,CAACE,iBAAiB,EACtBF,MAAM,CAACG,mBAAmB,EAC1BH,MAAM,CAACI,mBAAmB,EAC3BJ,MAAM,CAACK,kBAAkB,EACxBL,MAAM,CAACM,mBAAmB,EACvBN,MAAM,CAACO,sBAAsB,CACtD,CAAA;IAIYC,gBAA2E,GAAG,SAA9EA,gBAA2EA,CAAIC,KAAK,EAAK;EAClG,oBAAOC,KAAA,CAAAC,aAAA,CAAChB,eAAe,EAAEc,IAAAA,EAAAA,KAAK,CAACG,QAA0B,CAAC,CAAA;AAC9D;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CellTextSubtitle.js","sources":["../../../../../src/components/Cell/CellTextbox/ui/CellTextSubtitle.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\nimport styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nconst StyledTextSubtitle = styled.div`\n color: var(${tokens.cellSubtitleColor});\n font-size: var(${tokens.cellSubtitleFontSize});\n font-weight: var(${tokens.cellSubtitleFontWeight});\n font-family: var(${tokens.cellSubtitleFontFamily});\n font-style: var(${tokens.cellSubtitleFontStyle});\n line-height: var(${tokens.cellSubtitleLineHeight});\n letter-spacing: var(${tokens.cellSubtitleLetterSpacing});\n`;\n\ntype TextSubtitleProps = {};\n\nexport const CellTextboxSubtitle: React.FC<HTMLAttributes<HTMLDivElement> & TextSubtitleProps> = (props) => {\n return <StyledTextSubtitle>{props.children}</StyledTextSubtitle>;\n};\n"],"names":["StyledTextSubtitle","styled","div","withConfig","componentId","tokens","cellSubtitleColor","cellSubtitleFontSize","cellSubtitleFontWeight","cellSubtitleFontFamily","cellSubtitleFontStyle","cellSubtitleLineHeight","cellSubtitleLetterSpacing","CellTextboxSubtitle","props","React","createElement","children"],"mappings":";;;;AAKA,IAAMA,kBAAkB,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,+BAAA;AAAA,CACpBC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,MAAM,CAACC,iBAAiB,EACpBD,MAAM,CAACE,oBAAoB,EACzBF,MAAM,CAACG,sBAAsB,EAC7BH,MAAM,CAACI,sBAAsB,EAC9BJ,MAAM,CAACK,qBAAqB,EAC3BL,MAAM,CAACM,sBAAsB,EAC1BN,MAAM,CAACO,yBAAyB,CACzD,CAAA;IAIYC,mBAAiF,GAAG,SAApFA,mBAAiFA,CAAIC,KAAK,EAAK;EACxG,oBAAOC,KAAA,CAAAC,aAAA,CAAChB,kBAAkB,EAAEc,IAAAA,EAAAA,KAAK,CAACG,QAA6B,CAAC,CAAA;AACpE;;;;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CellTextTitle.js","sources":["../../../../../src/components/Cell/CellTextbox/ui/CellTextTitle.tsx"],"sourcesContent":["import React, { HTMLAttributes } from 'react';\nimport styled from 'styled-components';\n\nimport { tokens } from '../../Cell.tokens';\n\nconst StyledTextTitle = styled.div`\n color: var(${tokens.cellTitleColor});\n font-size: var(${tokens.cellTitleFontSize});\n font-weight: var(${tokens.cellTitleFontWeight});\n font-family: var(${tokens.cellTitleFontFamily});\n font-style: var(${tokens.cellTitleFontStyle});\n line-height: var(${tokens.cellTitleLineHeight});\n letter-spacing: var(${tokens.cellTitleLetterSpacing});\n`;\n\ntype TextTitleProps = {};\n\nexport const CellTextboxTitle: React.FC<HTMLAttributes<HTMLDivElement> & TextTitleProps> = (props) => {\n return <StyledTextTitle>{props.children}</StyledTextTitle>;\n};\n"],"names":["StyledTextTitle","styled","div","withConfig","componentId","tokens","cellTitleColor","cellTitleFontSize","cellTitleFontWeight","cellTitleFontFamily","cellTitleFontStyle","cellTitleLineHeight","cellTitleLetterSpacing","CellTextboxTitle","props","React","createElement","children"],"mappings":";;;;AAKA,IAAMA,eAAe,gBAAGC,MAAM,CAACC,GAAG,CAAAC,UAAA,CAAA;EAAAC,WAAA,EAAA,8BAAA;AAAA,CACjBC,CAAAA,CAAAA,CAAAA,YAAAA,EAAAA,kBAAAA,EAAAA,oBAAAA,EAAAA,oBAAAA,EAAAA,mBAAAA,EAAAA,oBAAAA,EAAAA,uBAAAA,EAAAA,IAAAA,CAAAA,EAAAA,MAAM,CAACC,cAAc,EACjBD,MAAM,CAACE,iBAAiB,EACtBF,MAAM,CAACG,mBAAmB,EAC1BH,MAAM,CAACI,mBAAmB,EAC3BJ,MAAM,CAACK,kBAAkB,EACxBL,MAAM,CAACM,mBAAmB,EACvBN,MAAM,CAACO,sBAAsB,CACtD,CAAA;IAIYC,gBAA2E,GAAG,SAA9EA,gBAA2EA,CAAIC,KAAK,EAAK;EAClG,oBAAOC,KAAA,CAAAC,aAAA,CAAChB,eAAe,EAAEc,IAAAA,EAAAA,KAAK,CAACG,QAA0B,CAAC,CAAA;AAC9D;;;;"}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.CellTextbox = void 0;
|
7
|
-
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
8
|
-
var _CellTextbox = /*#__PURE__*/require("./CellTextbox.styles");
|
9
|
-
var _CellTextLabel = /*#__PURE__*/require("./ui/CellTextLabel");
|
10
|
-
var _CellTextTitle = /*#__PURE__*/require("./ui/CellTextTitle");
|
11
|
-
var _CellTextSubtitle = /*#__PURE__*/require("./ui/CellTextSubtitle");
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
13
|
-
var CellTextbox = exports.CellTextbox = function CellTextbox(_ref) {
|
14
|
-
var label = _ref.label,
|
15
|
-
title = _ref.title,
|
16
|
-
subtitle = _ref.subtitle,
|
17
|
-
description = _ref.description,
|
18
|
-
children = _ref.children;
|
19
|
-
return /*#__PURE__*/_react["default"].createElement(_CellTextbox.CellTextboxStyled, null, label || title || description || subtitle ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, label && /*#__PURE__*/_react["default"].createElement(_CellTextLabel.CellTextboxLabel, null, label), (title || description) && /*#__PURE__*/_react["default"].createElement(_CellTextTitle.CellTextboxTitle, null, title || description), subtitle && /*#__PURE__*/_react["default"].createElement(_CellTextSubtitle.CellTextboxSubtitle, null, subtitle)) : children);
|
20
|
-
};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { CellTextboxStyled } from './CellTextbox.styles';
|
3
|
-
import { CellTextboxLabel } from './ui/CellTextLabel';
|
4
|
-
import { CellTextboxTitle } from './ui/CellTextTitle';
|
5
|
-
import { CellTextboxSubtitle } from './ui/CellTextSubtitle';
|
6
|
-
export var CellTextbox = function CellTextbox(_ref) {
|
7
|
-
var label = _ref.label,
|
8
|
-
title = _ref.title,
|
9
|
-
subtitle = _ref.subtitle,
|
10
|
-
description = _ref.description,
|
11
|
-
children = _ref.children;
|
12
|
-
return /*#__PURE__*/React.createElement(CellTextboxStyled, null, label || title || description || subtitle ? /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement(CellTextboxLabel, null, label), (title || description) && /*#__PURE__*/React.createElement(CellTextboxTitle, null, title || description), subtitle && /*#__PURE__*/React.createElement(CellTextboxSubtitle, null, subtitle)) : children);
|
13
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CellTextbox.d.ts","sourceRoot":"","sources":["../../../../src/components/Cell/CellTextbox/CellTextbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAM5D,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,gBAAgB,CAoBnF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CellTextbox.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Cell/CellTextbox/CellTextbox.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,oEAI7B,CAAC"}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import type { HTMLAttributes, ReactNode } from 'react';
|
2
|
-
declare type CustomTextboxProps = {
|
3
|
-
/**
|
4
|
-
* Слот для Title
|
5
|
-
*/
|
6
|
-
title?: ReactNode;
|
7
|
-
/**
|
8
|
-
* Слот для Subtitle
|
9
|
-
*/
|
10
|
-
subtitle?: ReactNode;
|
11
|
-
/**
|
12
|
-
* Слот для Label
|
13
|
-
*/
|
14
|
-
label?: ReactNode;
|
15
|
-
/**
|
16
|
-
* Свойство устарело, вместо этого нужно использовать title
|
17
|
-
* @deprecated
|
18
|
-
*/
|
19
|
-
description?: ReactNode;
|
20
|
-
children?: never;
|
21
|
-
} | {
|
22
|
-
/**
|
23
|
-
* Слот для Title
|
24
|
-
*/
|
25
|
-
title?: never;
|
26
|
-
/**
|
27
|
-
* Слот для Subtitle
|
28
|
-
*/
|
29
|
-
subtitle?: never;
|
30
|
-
/**
|
31
|
-
* Слот для Label
|
32
|
-
*/
|
33
|
-
label?: never;
|
34
|
-
/**
|
35
|
-
* Свойство устарело, вместо этого нужно использовать title
|
36
|
-
* @deprecated
|
37
|
-
*/
|
38
|
-
description?: never;
|
39
|
-
children?: ReactNode;
|
40
|
-
};
|
41
|
-
export declare type CellTextboxProps = HTMLAttributes<HTMLDivElement> & CustomTextboxProps;
|
42
|
-
export {};
|
43
|
-
//# sourceMappingURL=CellTextbox.types.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CellTextbox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Cell/CellTextbox/CellTextbox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,aAAK,kBAAkB,GACjB;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB,QAAQ,CAAC,EAAE,KAAK,CAAC;CACpB,GACD;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;IAEpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAER,oBAAY,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CellTextLabel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/CellTextbox/ui/CellTextLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe9C,aAAK,cAAc,GAAG,EAAE,CAAC;AAEzB,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,cAAc,CAEtF,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CellTextSubtitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/CellTextbox/ui/CellTextSubtitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe9C,aAAK,iBAAiB,GAAG,EAAE,CAAC;AAE5B,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,iBAAiB,CAE5F,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"CellTextTitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/CellTextbox/ui/CellTextTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe9C,aAAK,cAAc,GAAG,EAAE,CAAC;AAEzB,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,cAAc,CAEtF,CAAC"}
|
/package/styled-components/cjs/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.types.js
RENAMED
File without changes
|
/package/styled-components/es/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.types.js
RENAMED
File without changes
|
File without changes
|
File without changes
|