@alfalab/core-components-pure-cell 2.0.6 → 3.0.1
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.
- package/{modern/component-2ad59c5c.d.ts → component-3598b982.d.ts} +4 -8
- package/{component-3f80589a.js → component-3598b982.js} +15 -19
- package/{component-cf0927a9.d.ts → component-3f45f3c4.d.ts} +2 -6
- package/{component-04c6d9c4.d.ts → component-b7e6ca82.d.ts} +0 -0
- package/{component-04c6d9c4.js → component-b7e6ca82.js} +2 -2
- package/component.js +4 -4
- package/components/addon/component.js +2 -2
- package/components/addon/index.css +7 -7
- package/components/addon/index.js +1 -1
- package/components/amount/component.js +2 -2
- package/components/amount/index.css +2 -2
- package/components/amount/index.js +1 -1
- package/components/amount-title/component.js +2 -2
- package/components/amount-title/index.css +3 -3
- package/components/amount-title/index.js +1 -1
- package/components/category/component.js +2 -2
- package/components/category/index.css +4 -4
- package/components/category/index.js +1 -1
- package/components/content/component.js +4 -4
- package/components/content/index.css +3 -3
- package/components/content/index.d.ts +1 -1
- package/components/content/index.js +4 -4
- package/components/footer/component.js +2 -2
- package/components/footer/index.css +4 -4
- package/components/footer/index.js +1 -1
- package/components/footer-button/component.js +2 -2
- package/components/footer-button/index.css +2 -2
- package/components/footer-button/index.d.ts +1 -1
- package/components/footer-button/index.js +2 -2
- package/components/footer-text/component.js +1 -1
- package/components/footer-text/index.js +1 -1
- package/components/graphics/component.js +2 -2
- package/components/graphics/index.css +2 -2
- package/components/graphics/index.js +1 -1
- package/components/main/component.js +4 -4
- package/components/main/index.css +4 -4
- package/components/main/index.d.ts +1 -1
- package/components/main/index.js +4 -4
- package/components/text/component.js +4 -4
- package/components/text/index.css +7 -13
- package/components/text/index.d.ts +1 -1
- package/components/text/index.js +4 -4
- package/components/types.d.ts +1 -1
- package/{esm/component-cf0927a9.d.ts → cssm/component-3f45f3c4.d.ts} +2 -6
- package/{esm/component-cc5a30ff.d.ts → cssm/component-d3306cf3.d.ts} +4 -8
- package/cssm/{component-f60efddd.js → component-d3306cf3.js} +9 -13
- package/cssm/component.js +2 -3
- package/cssm/components/content/component.js +2 -3
- package/cssm/components/content/index.d.ts +1 -1
- package/cssm/components/content/index.js +2 -3
- package/cssm/components/main/component.js +2 -3
- package/cssm/components/main/index.d.ts +1 -1
- package/cssm/components/main/index.js +2 -3
- package/cssm/components/text/component.js +2 -3
- package/cssm/components/text/index.d.ts +1 -1
- package/cssm/components/text/index.js +2 -3
- package/cssm/components/text/index.module.css +0 -6
- package/cssm/components/types.d.ts +1 -1
- package/cssm/index.d.ts +1 -1
- package/cssm/index.js +2 -3
- package/{cssm/component-cf0927a9.d.ts → esm/component-3f45f3c4.d.ts} +2 -6
- package/{component-3f80589a.d.ts → esm/component-ca807645.d.ts} +4 -8
- package/esm/{component-cc5a30ff.js → component-ca807645.js} +14 -18
- package/esm/{component-d1a6702b.d.ts → component-de143750.d.ts} +0 -0
- package/esm/{component-d1a6702b.js → component-de143750.js} +2 -2
- package/esm/component.js +4 -4
- package/esm/components/addon/component.js +2 -2
- package/esm/components/addon/index.css +7 -7
- package/esm/components/addon/index.js +1 -1
- package/esm/components/amount/component.js +2 -2
- package/esm/components/amount/index.css +2 -2
- package/esm/components/amount/index.js +1 -1
- package/esm/components/amount-title/component.js +2 -2
- package/esm/components/amount-title/index.css +3 -3
- package/esm/components/amount-title/index.js +1 -1
- package/esm/components/category/component.js +2 -2
- package/esm/components/category/index.css +4 -4
- package/esm/components/category/index.js +1 -1
- package/esm/components/content/component.js +4 -4
- package/esm/components/content/index.css +3 -3
- package/esm/components/content/index.d.ts +1 -1
- package/esm/components/content/index.js +4 -4
- package/esm/components/footer/component.js +2 -2
- package/esm/components/footer/index.css +4 -4
- package/esm/components/footer/index.js +1 -1
- package/esm/components/footer-button/component.js +2 -2
- package/esm/components/footer-button/index.css +2 -2
- package/esm/components/footer-button/index.d.ts +1 -1
- package/esm/components/footer-button/index.js +2 -2
- package/esm/components/footer-text/component.js +1 -1
- package/esm/components/footer-text/index.js +1 -1
- package/esm/components/graphics/component.js +2 -2
- package/esm/components/graphics/index.css +2 -2
- package/esm/components/graphics/index.js +1 -1
- package/esm/components/main/component.js +4 -4
- package/esm/components/main/index.css +4 -4
- package/esm/components/main/index.d.ts +1 -1
- package/esm/components/main/index.js +4 -4
- package/esm/components/text/component.js +4 -4
- package/esm/components/text/index.css +7 -13
- package/esm/components/text/index.d.ts +1 -1
- package/esm/components/text/index.js +4 -4
- package/esm/components/types.d.ts +1 -1
- package/esm/{getDataTestId-84bfcaab.d.ts → getDataTestId-6abe051e.d.ts} +0 -0
- package/esm/{getDataTestId-84bfcaab.js → getDataTestId-6abe051e.js} +0 -0
- package/esm/index.css +19 -19
- package/esm/index.d.ts +1 -1
- package/esm/index.js +4 -4
- package/{getDataTestId-49bb5c39.d.ts → getDataTestId-b63e3505.d.ts} +0 -0
- package/{getDataTestId-49bb5c39.js → getDataTestId-b63e3505.js} +0 -0
- package/index.css +19 -19
- package/index.d.ts +1 -1
- package/index.js +4 -4
- package/{cssm/component-f60efddd.d.ts → modern/component-3b7c93c8.d.ts} +4 -8
- package/modern/{component-2ad59c5c.js → component-3b7c93c8.js} +11 -15
- package/modern/{component-cf0927a9.d.ts → component-3f45f3c4.d.ts} +2 -6
- package/modern/component.js +3 -3
- package/modern/components/addon/component.js +2 -2
- package/modern/components/addon/index.css +7 -7
- package/modern/components/addon/index.js +1 -1
- package/modern/components/amount/component.js +2 -2
- package/modern/components/amount/index.css +2 -2
- package/modern/components/amount/index.js +1 -1
- package/modern/components/amount-title/component.js +2 -2
- package/modern/components/amount-title/index.css +3 -3
- package/modern/components/amount-title/index.js +1 -1
- package/modern/components/category/component.js +2 -2
- package/modern/components/category/index.css +4 -4
- package/modern/components/category/index.js +1 -1
- package/modern/components/content/component.js +3 -3
- package/modern/components/content/index.css +3 -3
- package/modern/components/content/index.d.ts +1 -1
- package/modern/components/content/index.js +3 -3
- package/modern/components/footer/component.js +2 -2
- package/modern/components/footer/index.css +4 -4
- package/modern/components/footer/index.js +1 -1
- package/modern/components/footer-button/component.js +2 -2
- package/modern/components/footer-button/index.css +2 -2
- package/modern/components/footer-button/index.js +1 -1
- package/modern/components/footer-text/component.js +1 -1
- package/modern/components/footer-text/index.js +1 -1
- package/modern/components/graphics/component.js +2 -2
- package/modern/components/graphics/index.css +2 -2
- package/modern/components/graphics/index.js +1 -1
- package/modern/components/main/component.js +3 -3
- package/modern/components/main/index.css +4 -4
- package/modern/components/main/index.d.ts +1 -1
- package/modern/components/main/index.js +3 -3
- package/modern/components/text/component.js +3 -3
- package/modern/components/text/index.css +7 -13
- package/modern/components/text/index.d.ts +1 -1
- package/modern/components/text/index.js +3 -3
- package/modern/components/types.d.ts +1 -1
- package/modern/{getDataTestId-8debaee9.d.ts → getDataTestId-1896dab9.d.ts} +0 -0
- package/modern/{getDataTestId-8debaee9.js → getDataTestId-1896dab9.js} +0 -0
- package/modern/index.css +19 -19
- package/modern/index.d.ts +1 -1
- package/modern/index.js +3 -3
- package/package.json +2 -1
- package/components/comment/component.d.ts +0 -15
- package/components/comment/component.js +0 -22
- package/components/comment/index.css +0 -34
- package/components/comment/index.d.ts +0 -1
- package/components/comment/index.js +0 -12
- package/cssm/components/comment/component.d.ts +0 -15
- package/cssm/components/comment/component.js +0 -21
- package/cssm/components/comment/index.d.ts +0 -1
- package/cssm/components/comment/index.js +0 -13
- package/cssm/components/comment/index.module.css +0 -33
- package/esm/components/comment/component.d.ts +0 -15
- package/esm/components/comment/component.js +0 -14
- package/esm/components/comment/index.css +0 -34
- package/esm/components/comment/index.d.ts +0 -1
- package/esm/components/comment/index.js +0 -4
- package/modern/components/comment/component.d.ts +0 -15
- package/modern/components/comment/component.js +0 -11
- package/modern/components/comment/index.css +0 -34
- package/modern/components/comment/index.d.ts +0 -1
- package/modern/components/comment/index.js +0 -4
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { CommentElement } from "../types";
|
|
4
|
-
type Props = {
|
|
5
|
-
/**
|
|
6
|
-
* Компоненты
|
|
7
|
-
*/
|
|
8
|
-
children: CommentElement;
|
|
9
|
-
/**
|
|
10
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
11
|
-
*/
|
|
12
|
-
dataTestId?: string;
|
|
13
|
-
};
|
|
14
|
-
declare const Comment: React.FC<Props>;
|
|
15
|
-
export { Comment };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var React = require('react');
|
|
6
|
-
var getDataTestId = require('../../getDataTestId-12a31ec3.js');
|
|
7
|
-
var coreComponentsTypography = require('@alfalab/core-components-typography/cssm');
|
|
8
|
-
var styles = require('./index.module.css');
|
|
9
|
-
|
|
10
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
|
-
|
|
12
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
13
|
-
var styles__default = /*#__PURE__*/_interopDefaultLegacy(styles);
|
|
14
|
-
|
|
15
|
-
var Comment = function (_a) {
|
|
16
|
-
var children = _a.children, dataTestId = _a.dataTestId;
|
|
17
|
-
return (React__default['default'].createElement("div", { className: styles__default['default'].component, "data-test-id": getDataTestId.getDataTestId(dataTestId, 'comment') },
|
|
18
|
-
React__default['default'].createElement(coreComponentsTypography.Typography.Text, { tag: 'div', view: 'primary-small', className: styles__default['default'].text, color: 'primary' }, children)));
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
exports.Comment = Comment;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./component";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
require('react');
|
|
6
|
-
require('../../getDataTestId-12a31ec3.js');
|
|
7
|
-
require('@alfalab/core-components-typography/cssm');
|
|
8
|
-
require('./index.module.css');
|
|
9
|
-
var components_comment_component = require('./component.js');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
exports.Comment = components_comment_component.Comment;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--color-light-bg-secondary: #f3f4f5;
|
|
3
|
-
}
|
|
4
|
-
:root {
|
|
5
|
-
|
|
6
|
-
/* Hard */
|
|
7
|
-
|
|
8
|
-
/* Up */
|
|
9
|
-
|
|
10
|
-
/* Hard up */
|
|
11
|
-
}
|
|
12
|
-
:root {
|
|
13
|
-
--gap-xs: 8px;
|
|
14
|
-
--gap-m: 16px;
|
|
15
|
-
}
|
|
16
|
-
:root {
|
|
17
|
-
--border-radius-xs: 2px;
|
|
18
|
-
--border-radius-xxl: 20px;
|
|
19
|
-
}
|
|
20
|
-
.component {
|
|
21
|
-
width: -moz-fit-content;
|
|
22
|
-
width: fit-content;
|
|
23
|
-
padding: var(--gap-xs) var(--gap-m);
|
|
24
|
-
background-color: var(--color-light-bg-secondary);
|
|
25
|
-
border-radius: var(--border-radius-xs) var(--border-radius-xxl) var(--border-radius-xxl)
|
|
26
|
-
var(--border-radius-xxl);
|
|
27
|
-
}
|
|
28
|
-
.text {
|
|
29
|
-
display: -webkit-box;
|
|
30
|
-
-webkit-line-clamp: 2;
|
|
31
|
-
-webkit-box-orient: vertical;
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { CommentElement } from "../types";
|
|
4
|
-
type Props = {
|
|
5
|
-
/**
|
|
6
|
-
* Компоненты
|
|
7
|
-
*/
|
|
8
|
-
children: CommentElement;
|
|
9
|
-
/**
|
|
10
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
11
|
-
*/
|
|
12
|
-
dataTestId?: string;
|
|
13
|
-
};
|
|
14
|
-
declare const Comment: React.FC<Props>;
|
|
15
|
-
export { Comment };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { g as getDataTestId } from '../../getDataTestId-84bfcaab.js';
|
|
3
|
-
import { Typography } from '@alfalab/core-components-typography/esm';
|
|
4
|
-
|
|
5
|
-
var styles = {"component":"pure-cell__component_v3ehp","text":"pure-cell__text_v3ehp"};
|
|
6
|
-
require('./index.css')
|
|
7
|
-
|
|
8
|
-
var Comment = function (_a) {
|
|
9
|
-
var children = _a.children, dataTestId = _a.dataTestId;
|
|
10
|
-
return (React.createElement("div", { className: styles.component, "data-test-id": getDataTestId(dataTestId, 'comment') },
|
|
11
|
-
React.createElement(Typography.Text, { tag: 'div', view: 'primary-small', className: styles.text, color: 'primary' }, children)));
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export { Comment };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/* hash: vg5i8 */
|
|
2
|
-
:root {
|
|
3
|
-
--color-light-bg-secondary: #f3f4f5;
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
6
|
-
|
|
7
|
-
/* Hard */
|
|
8
|
-
|
|
9
|
-
/* Up */
|
|
10
|
-
|
|
11
|
-
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
-
--gap-xs: 8px;
|
|
15
|
-
--gap-m: 16px;
|
|
16
|
-
}
|
|
17
|
-
:root {
|
|
18
|
-
--border-radius-xs: 2px;
|
|
19
|
-
--border-radius-xxl: 20px;
|
|
20
|
-
}
|
|
21
|
-
.pure-cell__component_v3ehp {
|
|
22
|
-
width: -moz-fit-content;
|
|
23
|
-
width: fit-content;
|
|
24
|
-
padding: var(--gap-xs) var(--gap-m);
|
|
25
|
-
background-color: var(--color-light-bg-secondary);
|
|
26
|
-
border-radius: var(--border-radius-xs) var(--border-radius-xxl) var(--border-radius-xxl)
|
|
27
|
-
var(--border-radius-xxl);
|
|
28
|
-
}
|
|
29
|
-
.pure-cell__text_v3ehp {
|
|
30
|
-
display: -webkit-box;
|
|
31
|
-
-webkit-line-clamp: 2;
|
|
32
|
-
-webkit-box-orient: vertical;
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./component";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { CommentElement } from "../types";
|
|
4
|
-
type Props = {
|
|
5
|
-
/**
|
|
6
|
-
* Компоненты
|
|
7
|
-
*/
|
|
8
|
-
children: CommentElement;
|
|
9
|
-
/**
|
|
10
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
11
|
-
*/
|
|
12
|
-
dataTestId?: string;
|
|
13
|
-
};
|
|
14
|
-
declare const Comment: React.FC<Props>;
|
|
15
|
-
export { Comment };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { g as getDataTestId } from '../../getDataTestId-8debaee9.js';
|
|
3
|
-
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
4
|
-
|
|
5
|
-
var styles = {"component":"pure-cell__component_v3ehp","text":"pure-cell__text_v3ehp"};
|
|
6
|
-
require('./index.css')
|
|
7
|
-
|
|
8
|
-
const Comment = ({ children, dataTestId }) => (React.createElement("div", { className: styles.component, "data-test-id": getDataTestId(dataTestId, 'comment') },
|
|
9
|
-
React.createElement(Typography.Text, { tag: 'div', view: 'primary-small', className: styles.text, color: 'primary' }, children)));
|
|
10
|
-
|
|
11
|
-
export { Comment };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/* hash: vg5i8 */
|
|
2
|
-
:root {
|
|
3
|
-
--color-light-bg-secondary: #f3f4f5;
|
|
4
|
-
}
|
|
5
|
-
:root {
|
|
6
|
-
|
|
7
|
-
/* Hard */
|
|
8
|
-
|
|
9
|
-
/* Up */
|
|
10
|
-
|
|
11
|
-
/* Hard up */
|
|
12
|
-
}
|
|
13
|
-
:root {
|
|
14
|
-
--gap-xs: 8px;
|
|
15
|
-
--gap-m: 16px;
|
|
16
|
-
}
|
|
17
|
-
:root {
|
|
18
|
-
--border-radius-xs: 2px;
|
|
19
|
-
--border-radius-xxl: 20px;
|
|
20
|
-
}
|
|
21
|
-
.pure-cell__component_v3ehp {
|
|
22
|
-
width: -moz-fit-content;
|
|
23
|
-
width: fit-content;
|
|
24
|
-
padding: var(--gap-xs) var(--gap-m);
|
|
25
|
-
background-color: var(--color-light-bg-secondary);
|
|
26
|
-
border-radius: var(--border-radius-xs) var(--border-radius-xxl) var(--border-radius-xxl)
|
|
27
|
-
var(--border-radius-xxl);
|
|
28
|
-
}
|
|
29
|
-
.pure-cell__text_v3ehp {
|
|
30
|
-
display: -webkit-box;
|
|
31
|
-
-webkit-line-clamp: 2;
|
|
32
|
-
-webkit-box-orient: vertical;
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./component";
|