@zohodesk/dot 1.4.9 → 1.4.11
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/.cli/UnValidatedFiles.html +101 -0
- package/.cli/propValidation_report.html +1 -1
- package/README.md +10 -1
- package/coverage/ExternalLink/ExternalLink.js.html +1 -1
- package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
- package/coverage/ExternalLink/index.html +1 -1
- package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
- package/coverage/ExternalLink/props/index.html +1 -1
- package/coverage/ExternalLink/props/propTypes.js.html +1 -1
- package/coverage/IconButton/IconButton.js.html +1 -1
- package/coverage/IconButton/IconButton.module.css.html +1 -1
- package/coverage/IconButton/index.html +1 -1
- package/coverage/IconButton/props/defaultProps.js.html +1 -1
- package/coverage/IconButton/props/index.html +1 -1
- package/coverage/IconButton/props/propTypes.js.html +1 -1
- package/coverage/Image/Image.js.html +1 -1
- package/coverage/Image/Image.module.css.html +1 -1
- package/coverage/Image/index.html +1 -1
- package/coverage/Image/props/defaultProps.js.html +1 -1
- package/coverage/Image/props/index.html +1 -1
- package/coverage/Image/props/propTypes.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
- package/coverage/avatar/AvatarWithTeam/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
- package/coverage/index.html +1 -1
- package/es/NewStar/NewStar.module.css +128 -67
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +4 -4
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +9 -0
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +9 -2
- package/es/form/fields/TagsMultiSelectField/props/defaultProps.js +3 -1
- package/es/form/fields/TagsMultiSelectField/props/propTypes.js +5 -1
- package/es/form/fields/TextEditor/TextEditor.module.css +63 -47
- package/es/v1/form/fields/SelectField/SelectField.js +1 -9
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +42 -13
- package/es/v1/form/fields/TagsMultiSelect/props/defaultProps.js +4 -1
- package/es/v1/form/fields/TagsMultiSelect/props/propTypes.js +10 -1
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +9 -2
- package/es/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +3 -1
- package/es/v1/form/fields/TagsMultiSelectField/props/propTypes.js +5 -1
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +122 -142
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +133 -153
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +137 -178
- package/es/v1/form/fields/TextareaField/TextareaField.js +113 -137
- package/es/v1/form/fields/ValidationMessage/ValidationMessage.js +43 -43
- package/es/v1/form/layout/Field/Field.js +24 -28
- package/es/v1/form/layout/Section/Section.js +26 -33
- package/es/v1/list/Subject/Subject.js +39 -48
- package/es/v1/list/TagNew/TagNew.js +18 -27
- package/es/v1/list/Thread/Thread.js +26 -35
- package/lib/NewStar/NewStar.module.css +128 -67
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -5
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +9 -0
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +9 -2
- package/lib/form/fields/TagsMultiSelectField/props/defaultProps.js +3 -1
- package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +5 -1
- package/lib/form/fields/TextEditor/TextEditor.module.css +63 -47
- package/lib/v1/form/fields/SelectField/SelectField.js +1 -7
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +45 -13
- package/lib/v1/form/fields/TagsMultiSelect/props/defaultProps.js +4 -1
- package/lib/v1/form/fields/TagsMultiSelect/props/propTypes.js +10 -1
- package/lib/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +9 -2
- package/lib/v1/form/fields/TagsMultiSelectField/props/defaultProps.js +3 -1
- package/lib/v1/form/fields/TagsMultiSelectField/props/propTypes.js +5 -1
- package/lib/v1/form/fields/TextBoxField/TextBoxField.js +125 -181
- package/lib/v1/form/fields/TextEditorField/TextEditorField.js +138 -193
- package/lib/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +160 -212
- package/lib/v1/form/fields/TextareaField/TextareaField.js +117 -177
- package/lib/v1/form/fields/ValidationMessage/ValidationMessage.js +41 -80
- package/lib/v1/form/layout/Field/Field.js +22 -69
- package/lib/v1/form/layout/Section/Section.js +26 -72
- package/lib/v1/list/Subject/Subject.js +39 -87
- package/lib/v1/list/TagNew/TagNew.js +18 -66
- package/lib/v1/list/Thread/Thread.js +25 -73
- package/package.json +10 -10
- package/propValidationArg.json +8 -4
- package/result.json +1 -1
|
@@ -5,50 +5,50 @@ import Label from '@zohodesk/components/es/v1/Label/Label';
|
|
|
5
5
|
import colors from '@zohodesk/components/es/Label/LabelColors.module.css';
|
|
6
6
|
import style from '../../../../form/fields/ValidationMessage/ValidationMessage.module.css';
|
|
7
7
|
import { Icon } from '@zohodesk/icons';
|
|
8
|
-
export default class ValidationMessage extends React.Component {
|
|
9
|
-
render() {
|
|
10
|
-
let {
|
|
11
|
-
palette,
|
|
12
|
-
text,
|
|
13
|
-
htmlFor,
|
|
14
|
-
onClick,
|
|
15
|
-
type,
|
|
16
|
-
size,
|
|
17
|
-
dataId,
|
|
18
|
-
clipped,
|
|
19
|
-
a11y,
|
|
20
|
-
tooltip,
|
|
21
|
-
dataSelectorId
|
|
22
|
-
} = this.props;
|
|
23
|
-
let {
|
|
24
|
-
role = 'alert'
|
|
25
|
-
} = a11y;
|
|
26
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
27
|
-
role: role,
|
|
28
|
-
onClick: onClick,
|
|
29
|
-
className: `${type === 'primary' ? style.primary : style.secondary}`,
|
|
30
|
-
"data-id": "errorMsgContainer",
|
|
31
|
-
"data-test-id": "errorMsgContainer",
|
|
32
|
-
"data-selector-id": dataSelectorId
|
|
33
|
-
}, /*#__PURE__*/React.createElement(Label, {
|
|
34
|
-
text: text,
|
|
35
|
-
htmlFor: htmlFor,
|
|
36
|
-
palette: palette,
|
|
37
|
-
size: size,
|
|
38
|
-
dataId: dataId,
|
|
39
|
-
clipped: clipped,
|
|
40
|
-
title: clipped ? text : '',
|
|
41
|
-
customClass: style.lable
|
|
42
|
-
}), tooltip ? /*#__PURE__*/React.createElement("span", {
|
|
43
|
-
className: `${style.icon} ${colors[palette]}`,
|
|
44
|
-
"data-title": tooltip
|
|
45
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
46
|
-
name: "ZD-information57",
|
|
47
|
-
size: "14"
|
|
48
|
-
})) : null);
|
|
49
|
-
}
|
|
50
8
|
|
|
51
|
-
|
|
9
|
+
const ValidationMessage = props => {
|
|
10
|
+
const {
|
|
11
|
+
palette,
|
|
12
|
+
text,
|
|
13
|
+
htmlFor,
|
|
14
|
+
onClick,
|
|
15
|
+
type,
|
|
16
|
+
size,
|
|
17
|
+
dataId,
|
|
18
|
+
clipped,
|
|
19
|
+
a11y,
|
|
20
|
+
tooltip,
|
|
21
|
+
dataSelectorId
|
|
22
|
+
} = props;
|
|
23
|
+
const {
|
|
24
|
+
role = 'alert'
|
|
25
|
+
} = a11y;
|
|
26
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
27
|
+
role: role,
|
|
28
|
+
onClick: onClick,
|
|
29
|
+
className: `${type === 'primary' ? style.primary : style.secondary}`,
|
|
30
|
+
"data-id": "errorMsgContainer",
|
|
31
|
+
"data-test-id": "errorMsgContainer",
|
|
32
|
+
"data-selector-id": dataSelectorId
|
|
33
|
+
}, /*#__PURE__*/React.createElement(Label, {
|
|
34
|
+
text: text,
|
|
35
|
+
htmlFor: htmlFor,
|
|
36
|
+
palette: palette,
|
|
37
|
+
size: size,
|
|
38
|
+
dataId: dataId,
|
|
39
|
+
clipped: clipped,
|
|
40
|
+
title: clipped ? text : '',
|
|
41
|
+
customClass: style.lable
|
|
42
|
+
}), tooltip ? /*#__PURE__*/React.createElement("span", {
|
|
43
|
+
className: `${style.icon} ${colors[palette]}`,
|
|
44
|
+
"data-title": tooltip
|
|
45
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
46
|
+
name: "ZD-information57",
|
|
47
|
+
size: "14"
|
|
48
|
+
})) : null);
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export default ValidationMessage;
|
|
52
52
|
ValidationMessage.propTypes = propTypes;
|
|
53
53
|
ValidationMessage.defaultProps = defaultProps; // if (__DOCS__) {
|
|
54
54
|
// ValidationMessage.docs = {
|
|
@@ -1,33 +1,29 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { defaultProps } from './props/defaultProps';
|
|
3
3
|
import { propTypes } from './props/propTypes';
|
|
4
4
|
import style from '../../../../form/layout/Field/Field.module.css';
|
|
5
|
-
export default class Field extends Component {
|
|
6
|
-
render() {
|
|
7
|
-
let {
|
|
8
|
-
width,
|
|
9
|
-
children,
|
|
10
|
-
rowBreak,
|
|
11
|
-
column,
|
|
12
|
-
className,
|
|
13
|
-
containerClass,
|
|
14
|
-
dataId
|
|
15
|
-
} = this.props;
|
|
16
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
17
|
-
className: `${containerClass ? containerClass : ''} ${column == 'single' ? `${style.singleColumn}` : `${style[width]} `}`,
|
|
18
|
-
"data-id": dataId,
|
|
19
|
-
"data-test-id": dataId
|
|
20
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
21
|
-
className: `${className ? className : ''} ${`fieldWidth_${width}`}`
|
|
22
|
-
}, children)), rowBreak && /*#__PURE__*/React.createElement("div", {
|
|
23
|
-
className: style.rowBreak
|
|
24
|
-
}));
|
|
25
|
-
}
|
|
26
5
|
|
|
27
|
-
|
|
6
|
+
const Field = props => {
|
|
7
|
+
const {
|
|
8
|
+
width,
|
|
9
|
+
children,
|
|
10
|
+
rowBreak,
|
|
11
|
+
column,
|
|
12
|
+
className,
|
|
13
|
+
containerClass,
|
|
14
|
+
dataId
|
|
15
|
+
} = props;
|
|
16
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
17
|
+
className: `${containerClass ? containerClass : ''} ${column == 'single' ? `${style.singleColumn}` : `${style[width]} `}`,
|
|
18
|
+
"data-id": dataId,
|
|
19
|
+
"data-test-id": dataId
|
|
20
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
21
|
+
className: `${className ? className : ''} ${`fieldWidth_${width}`}`
|
|
22
|
+
}, children)), rowBreak && /*#__PURE__*/React.createElement("div", {
|
|
23
|
+
className: style.rowBreak
|
|
24
|
+
}));
|
|
25
|
+
};
|
|
26
|
+
|
|
28
27
|
Field.propTypes = propTypes;
|
|
29
|
-
Field.defaultProps = defaultProps;
|
|
30
|
-
|
|
31
|
-
// componentGroup: 'ModuleAddForm'
|
|
32
|
-
// };
|
|
33
|
-
// }
|
|
28
|
+
Field.defaultProps = defaultProps;
|
|
29
|
+
export default Field;
|
|
@@ -1,37 +1,30 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { propTypes } from './props/propTypes';
|
|
3
3
|
import style from '../../../../form/layout/Section/ModuleFormSection.module.css';
|
|
4
|
-
export default class Section extends Component {
|
|
5
|
-
constructor(props) {
|
|
6
|
-
super(props);
|
|
7
|
-
}
|
|
8
4
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
5
|
+
const Section = props => {
|
|
6
|
+
const {
|
|
7
|
+
title,
|
|
8
|
+
dataId,
|
|
9
|
+
containerClass,
|
|
10
|
+
titleClass,
|
|
11
|
+
className,
|
|
12
|
+
column,
|
|
13
|
+
formName,
|
|
14
|
+
children
|
|
15
|
+
} = props;
|
|
16
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
17
|
+
"data-id": dataId,
|
|
18
|
+
"data-test-id": dataId,
|
|
19
|
+
className: containerClass ? containerClass : ''
|
|
20
|
+
}, title && /*#__PURE__*/React.createElement("div", {
|
|
21
|
+
className: titleClass ? titleClass : ''
|
|
22
|
+
}, title), /*#__PURE__*/React.createElement("div", {
|
|
23
|
+
className: `${className ? className : ''} ${column == 'single' ? style.singleColumn : ''}`,
|
|
24
|
+
"data-id": formName && formName,
|
|
25
|
+
"data-test-id": formName && formName
|
|
26
|
+
}, children));
|
|
27
|
+
};
|
|
31
28
|
|
|
32
|
-
|
|
33
|
-
Section.propTypes = propTypes;
|
|
34
|
-
// Section.docs = {
|
|
35
|
-
// componentGroup: 'ModuleAddForm'
|
|
36
|
-
// };
|
|
37
|
-
// }
|
|
29
|
+
export default Section;
|
|
30
|
+
Section.propTypes = propTypes;
|
|
@@ -1,57 +1,48 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
|
-
import React
|
|
3
|
+
import React from 'react';
|
|
4
4
|
import { defaultProps } from './props/defaultProps';
|
|
5
5
|
import { propTypes } from './props/propTypes';
|
|
6
6
|
import Link from '../../Link/Link';
|
|
7
7
|
import style from '../../../list/Subject/Subject.module.css';
|
|
8
|
-
export default class Subject extends Component {
|
|
9
|
-
constructor(props) {
|
|
10
|
-
super(props);
|
|
11
|
-
}
|
|
12
8
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
9
|
+
const Subject = props => {
|
|
10
|
+
const {
|
|
11
|
+
text,
|
|
12
|
+
dataId,
|
|
13
|
+
urlName,
|
|
14
|
+
href,
|
|
15
|
+
urlData,
|
|
16
|
+
onClick,
|
|
17
|
+
isLink,
|
|
18
|
+
target,
|
|
19
|
+
fontWeight,
|
|
20
|
+
className,
|
|
21
|
+
isDotted,
|
|
22
|
+
children,
|
|
23
|
+
customProps
|
|
24
|
+
} = props;
|
|
25
|
+
const {
|
|
26
|
+
LinkProps = {},
|
|
27
|
+
TextProps = {}
|
|
28
|
+
} = customProps;
|
|
29
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, isLink ? /*#__PURE__*/React.createElement(Link, _extends({
|
|
30
|
+
urlName: urlName,
|
|
31
|
+
href: href,
|
|
32
|
+
urlData: urlData,
|
|
33
|
+
onClick: onClick,
|
|
34
|
+
className: `${style.subject} ${isDotted ? style.dotted : ''} ${className} ${style[`font_${fontWeight}`]} ${style.cursorPointer}`,
|
|
35
|
+
dataId: dataId,
|
|
36
|
+
title: text,
|
|
37
|
+
target: target
|
|
38
|
+
}, LinkProps), children ? children : text) : /*#__PURE__*/React.createElement("span", _extends({
|
|
39
|
+
className: `${style.subject} ${isDotted ? style.dotted : ''} ${className} ${style[`font_${fontWeight}`]}`,
|
|
40
|
+
"data-title": text,
|
|
41
|
+
"data-id": dataId,
|
|
42
|
+
"data-test-id": dataId
|
|
43
|
+
}, TextProps), text));
|
|
44
|
+
};
|
|
49
45
|
|
|
50
|
-
|
|
46
|
+
export default Subject;
|
|
51
47
|
Subject.propTypes = propTypes;
|
|
52
|
-
Subject.defaultProps = defaultProps;
|
|
53
|
-
// Subject.docs = {
|
|
54
|
-
// folderName: 'List',
|
|
55
|
-
// componentGroup: 'Subject'
|
|
56
|
-
// };
|
|
57
|
-
// }
|
|
48
|
+
Subject.defaultProps = defaultProps;
|
|
@@ -1,33 +1,24 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { defaultProps } from './props/defaultProps';
|
|
3
3
|
import { propTypes } from './props/propTypes';
|
|
4
4
|
import style from '../../../list/TagNew/TagNew.module.css';
|
|
5
|
-
export default class TagNew extends Component {
|
|
6
|
-
constructor(props) {
|
|
7
|
-
super(props);
|
|
8
|
-
}
|
|
9
5
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
6
|
+
const TagNew = props => {
|
|
7
|
+
const {
|
|
8
|
+
className,
|
|
9
|
+
text,
|
|
10
|
+
animate,
|
|
11
|
+
onClick,
|
|
12
|
+
dataId
|
|
13
|
+
} = props;
|
|
14
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
15
|
+
className: `${style.tagStyle} ${animate ? style.bounceIn : ''} ${className ? className : ''}`,
|
|
16
|
+
onClick: onClick,
|
|
17
|
+
"data-id": dataId,
|
|
18
|
+
"data-test-id": dataId
|
|
19
|
+
}, text);
|
|
20
|
+
};
|
|
25
21
|
|
|
26
|
-
|
|
22
|
+
export default TagNew;
|
|
27
23
|
TagNew.propTypes = propTypes;
|
|
28
|
-
TagNew.defaultProps = defaultProps;
|
|
29
|
-
// TagNew.docs = {
|
|
30
|
-
// folderName: 'List',
|
|
31
|
-
// componentGroup: 'TagNew'
|
|
32
|
-
// };
|
|
33
|
-
// }
|
|
24
|
+
TagNew.defaultProps = defaultProps;
|
|
@@ -1,43 +1,34 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { defaultProps } from './props/defaultProps';
|
|
3
3
|
import { propTypes } from './props/propTypes';
|
|
4
4
|
import { Icon } from '@zohodesk/icons';
|
|
5
5
|
import Button from '@zohodesk/components/es/v1/semantic/Button/Button';
|
|
6
6
|
import style from '../../../list/Thread/Thread.module.css';
|
|
7
|
-
export default class Thread extends Component {
|
|
8
|
-
constructor(props) {
|
|
9
|
-
super(props);
|
|
10
|
-
}
|
|
11
7
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
8
|
+
const Thread = props => {
|
|
9
|
+
const {
|
|
10
|
+
count: threadCount,
|
|
11
|
+
className,
|
|
12
|
+
iconTitle,
|
|
13
|
+
dataId,
|
|
14
|
+
align
|
|
15
|
+
} = props;
|
|
16
|
+
const count = threadCount === '0' ? '1' : threadCount;
|
|
17
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
18
|
+
customClass: `${style.container} ${style[`align_${align}`]} ${className}`,
|
|
19
|
+
title: iconTitle,
|
|
20
|
+
dataId: dataId,
|
|
21
|
+
a11y: {
|
|
22
|
+
ariaLabel: iconTitle
|
|
23
|
+
}
|
|
24
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
25
|
+
name: "ZD-TK-thread",
|
|
26
|
+
size: "9"
|
|
27
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
28
|
+
className: style.count
|
|
29
|
+
}, count));
|
|
30
|
+
};
|
|
35
31
|
|
|
36
|
-
|
|
32
|
+
export default Thread;
|
|
37
33
|
Thread.propTypes = propTypes;
|
|
38
|
-
Thread.defaultProps = defaultProps;
|
|
39
|
-
// Thread.docs = {
|
|
40
|
-
// folderName: 'List',
|
|
41
|
-
// componentGroup: 'Thread'
|
|
42
|
-
// };
|
|
43
|
-
// }
|
|
34
|
+
Thread.defaultProps = defaultProps;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
position: absolute;
|
|
3
3
|
height: var(--zd_size20) ;
|
|
4
4
|
width: var(--zd_size21) ;
|
|
5
|
+
pointer-events: none;
|
|
5
6
|
}
|
|
6
7
|
.topLeft {
|
|
7
8
|
top: 0 ;
|
|
@@ -90,73 +91,133 @@
|
|
|
90
91
|
animation-delay: 1s;
|
|
91
92
|
}
|
|
92
93
|
|
|
93
|
-
.topLeft .starOne{
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
[dir=
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
.topLeft .
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
[dir=
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
[dir=ltr] .
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
.
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
[dir=ltr] .
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
.
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
[dir=ltr] .
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
.
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
94
|
+
.topLeft .starOne {
|
|
95
|
+
top: 0 ;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
[dir=ltr] .topLeft .starOne {
|
|
99
|
+
left: 0 ;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
[dir=rtl] .topLeft .starOne {
|
|
103
|
+
right: 0 ;
|
|
104
|
+
}
|
|
105
|
+
.topLeft .starTwo {
|
|
106
|
+
top: 0 ;
|
|
107
|
+
/* Variable:Ignore */
|
|
108
|
+
}
|
|
109
|
+
[dir=ltr] .topLeft .starTwo {
|
|
110
|
+
left: var(--zd_size10) ;
|
|
111
|
+
}
|
|
112
|
+
[dir=rtl] .topLeft .starTwo {
|
|
113
|
+
right: var(--zd_size10) ;
|
|
114
|
+
}
|
|
115
|
+
.topLeft .starThree {
|
|
116
|
+
/* Variable:Ignore */
|
|
117
|
+
top: 10px;
|
|
118
|
+
}
|
|
119
|
+
[dir=ltr] .topLeft .starThree {
|
|
120
|
+
left: 0 ;
|
|
121
|
+
}
|
|
122
|
+
[dir=rtl] .topLeft .starThree {
|
|
123
|
+
right: 0 ;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.topRight .starOne {
|
|
127
|
+
top: 0 ;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
[dir=ltr] .topRight .starOne {
|
|
131
|
+
right: 0 ;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
[dir=rtl] .topRight .starOne {
|
|
135
|
+
left: 0 ;
|
|
136
|
+
}
|
|
137
|
+
.topRight .starTwo {
|
|
138
|
+
top: 0 ;
|
|
139
|
+
/* Variable:Ignore */
|
|
140
|
+
}
|
|
141
|
+
[dir=ltr] .topRight .starTwo {
|
|
142
|
+
right: var(--zd_size10) ;
|
|
143
|
+
}
|
|
144
|
+
[dir=rtl] .topRight .starTwo {
|
|
145
|
+
left: var(--zd_size10) ;
|
|
146
|
+
}
|
|
147
|
+
.topRight .starThree {
|
|
148
|
+
/* Variable:Ignore */
|
|
149
|
+
top: 10px;
|
|
150
|
+
}
|
|
151
|
+
[dir=ltr] .topRight .starThree {
|
|
152
|
+
right: 0 ;
|
|
153
|
+
}
|
|
154
|
+
[dir=rtl] .topRight .starThree {
|
|
155
|
+
left: 0 ;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.bottomLeft .starOne {
|
|
159
|
+
bottom: 0 ;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
[dir=ltr] .bottomLeft .starOne {
|
|
163
|
+
left: 0 ;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
[dir=rtl] .bottomLeft .starOne {
|
|
167
|
+
right: 0 ;
|
|
168
|
+
}
|
|
169
|
+
.bottomLeft .starTwo {
|
|
170
|
+
bottom: 0 ;
|
|
171
|
+
/* Variable:Ignore */
|
|
172
|
+
}
|
|
173
|
+
[dir=ltr] .bottomLeft .starTwo {
|
|
174
|
+
left: var(--zd_size10) ;
|
|
175
|
+
}
|
|
176
|
+
[dir=rtl] .bottomLeft .starTwo {
|
|
177
|
+
right: var(--zd_size10) ;
|
|
178
|
+
}
|
|
179
|
+
.bottomLeft .starThree {
|
|
180
|
+
/* Variable:Ignore */
|
|
181
|
+
bottom: 10px;
|
|
182
|
+
}
|
|
183
|
+
[dir=ltr] .bottomLeft .starThree {
|
|
184
|
+
left: 0 ;
|
|
185
|
+
}
|
|
186
|
+
[dir=rtl] .bottomLeft .starThree {
|
|
187
|
+
right: 0 ;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.bottomRight .starOne {
|
|
191
|
+
bottom: 0 ;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
[dir=ltr] .bottomRight .starOne {
|
|
195
|
+
right: 0 ;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
[dir=rtl] .bottomRight .starOne {
|
|
199
|
+
left: 0 ;
|
|
200
|
+
}
|
|
201
|
+
.bottomRight .starTwo {
|
|
202
|
+
bottom: 0 ;
|
|
203
|
+
/* Variable:Ignore */
|
|
204
|
+
}
|
|
205
|
+
[dir=ltr] .bottomRight .starTwo {
|
|
206
|
+
right: var(--zd_size10) ;
|
|
207
|
+
}
|
|
208
|
+
[dir=rtl] .bottomRight .starTwo {
|
|
209
|
+
left: var(--zd_size10) ;
|
|
210
|
+
}
|
|
211
|
+
.bottomRight .starThree {
|
|
212
|
+
/* Variable:Ignore */
|
|
213
|
+
bottom: 10px;
|
|
214
|
+
}
|
|
215
|
+
[dir=ltr] .bottomRight .starThree {
|
|
216
|
+
right: 0 ;
|
|
217
|
+
}
|
|
218
|
+
[dir=rtl] .bottomRight .starThree {
|
|
219
|
+
left: 0 ;
|
|
220
|
+
}
|
|
160
221
|
|
|
161
222
|
@keyframes twinkle {
|
|
162
223
|
0% {
|