@zohodesk/dot 1.2.0 → 1.2.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/.cli/MissedPropType_Keys.html +101 -0
- package/.cli/PropLessFiles.html +101 -0
- package/.cli/PropValidationExcludeFilesArray.js +1 -0
- package/.cli/propValidation_report.html +160 -0
- package/README.md +28 -21
- 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/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/ActionButton/ActionButton.js +5 -2
- package/es/ActionButton/props/propTypes.js +3 -2
- package/es/AlphabeticList/props/propTypes.js +1 -1
- package/es/Attachment/props/propTypes.js +2 -1
- package/es/Drawer/props/propTypes.js +2 -1
- package/es/Link/props/propTypes.js +5 -1
- package/es/Message/Message.js +4 -2
- package/es/Message/props/propTypes.js +11 -4
- package/es/Separator/props/propTypes.js +1 -1
- package/es/TagWithIcon/props/propTypes.js +2 -1
- package/es/ToastMessage/props/propTypes.js +4 -3
- package/es/actions/props/propTypes.js +2 -1
- package/es/alert/AlertLookup/props/propTypes.js +0 -1
- package/es/avatar/AvatarThread/props/propTypes.js +1 -1
- package/es/deprecated/SelectDropdown/SelectDropdown.js +3 -8
- package/es/dropdown/ToggleDropDown/props/propTypes.js +4 -1
- package/es/emptystate/EditionPage/props/propTypes.js +6 -2
- package/es/form/fields/CheckBoxField/props/propTypes.js +1 -1
- package/es/form/fields/CurrencyField/props/propTypes.js +4 -1
- package/es/form/fields/DateField/props/propTypes.js +1 -1
- package/es/form/fields/FieldContainer/props/propTypes.js +17 -3
- package/es/form/fields/MultiSelectField/props/propTypes.js +2 -2
- package/es/form/fields/PhoneField/props/propTypes.js +8 -1
- package/es/form/fields/RadioField/props/propTypes.js +2 -2
- package/es/form/fields/SelectField/SelectField.js +1 -2
- package/es/form/fields/SelectField/props/propTypes.js +2 -2
- package/es/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
- package/es/form/fields/TagsMultiSelectField/props/propTypes.js +13 -2
- package/es/form/fields/TextBoxField/props/propTypes.js +8 -1
- package/es/form/fields/TextEditor/props/propTypes.js +7 -1
- package/es/form/fields/TextEditorField/props/propTypes.js +13 -1
- package/es/form/fields/TextEditorWrapper/props/propTypes.js +2 -1
- package/es/form/fields/TextareaField/props/propTypes.js +2 -2
- package/es/form/fields/ValidationMessage/props/propTypes.js +4 -2
- package/es/form/fields/props/FieldCommonPropTypes.js +16 -22
- package/es/form/layout/Section/props/propTypes.js +3 -1
- package/es/list/Comment/props/propTypes.js +0 -3
- package/es/list/GridStencils/props/propTypes.js +2 -1
- package/es/list/Icons/props/propTypes.js +0 -2
- package/es/list/SecondaryText/props/propTypes.js +0 -1
- package/es/list/UserTime/props/propTypes.js +5 -1
- package/es/list/status/StatusDropdown/props/propTypes.js +3 -1
- package/es/lookup/Lookup/props/propTypes.js +4 -1
- package/es/lookup/header/ViewDropDown/props/propTypes.js +6 -11
- package/es/setup/table/TableHead/props/propTypes.js +2 -1
- package/es/v1/ChannelIcon/ChannelIcon.js +92 -0
- package/es/v1/ExternalLink/ExternalLink.js +49 -0
- package/es/v1/NewStar/NewStar.js +61 -0
- package/es/v1/lookup/header/Close/Close.js +30 -0
- package/es/v1/lookup/header/ModuleHeader/ModuleHeader.js +75 -0
- package/es/v1/lookup/header/Search/Search.js +177 -0
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +90 -0
- package/es/v1/lookup/header/Title/Title.js +27 -0
- package/es/v1/version2/GlobalNotification/GlobalNotification.js +4 -2
- package/es/version2/GlobalNotification/GlobalNotification.js +4 -2
- package/es/version2/GlobalNotification/props/propTypes.js +19 -1
- package/es/version2/lookup/AlertLookup/props/propTypes.js +0 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +2 -1
- package/es/version2/notification/DesktopNotification/props/propTypes.js +13 -9
- package/lib/ActionButton/ActionButton.js +5 -3
- package/lib/ActionButton/props/propTypes.js +3 -2
- package/lib/AlphabeticList/props/propTypes.js +1 -1
- package/lib/Attachment/props/propTypes.js +2 -1
- package/lib/Drawer/props/propTypes.js +2 -1
- package/lib/Link/props/propTypes.js +5 -1
- package/lib/Message/Message.js +5 -1
- package/lib/Message/props/propTypes.js +23 -6
- package/lib/Separator/props/propTypes.js +1 -1
- package/lib/TagWithIcon/props/propTypes.js +2 -1
- package/lib/ToastMessage/props/propTypes.js +4 -3
- package/lib/actions/props/propTypes.js +2 -1
- package/lib/alert/AlertLookup/props/propTypes.js +0 -1
- package/lib/avatar/AvatarThread/props/propTypes.js +1 -1
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +3 -7
- package/lib/dropdown/ToggleDropDown/props/propTypes.js +4 -1
- package/lib/emptystate/EditionPage/props/propTypes.js +6 -2
- package/lib/form/fields/CheckBoxField/props/propTypes.js +1 -1
- package/lib/form/fields/CurrencyField/props/propTypes.js +5 -2
- package/lib/form/fields/DateField/props/propTypes.js +1 -1
- package/lib/form/fields/FieldContainer/props/propTypes.js +21 -16
- package/lib/form/fields/MultiSelectField/props/propTypes.js +3 -3
- package/lib/form/fields/PhoneField/props/propTypes.js +8 -1
- package/lib/form/fields/RadioField/props/propTypes.js +2 -2
- package/lib/form/fields/SelectField/SelectField.js +1 -2
- package/lib/form/fields/SelectField/props/propTypes.js +3 -3
- package/lib/form/fields/TagsMultiSelect/props/propTypes.js +2 -1
- package/lib/form/fields/TagsMultiSelectField/props/propTypes.js +16 -11
- package/lib/form/fields/TextBoxField/props/propTypes.js +8 -1
- package/lib/form/fields/TextEditor/props/propTypes.js +7 -1
- package/lib/form/fields/TextEditorField/props/propTypes.js +51 -49
- package/lib/form/fields/TextEditorWrapper/props/propTypes.js +2 -1
- package/lib/form/fields/TextareaField/props/propTypes.js +3 -3
- package/lib/form/fields/ValidationMessage/props/propTypes.js +4 -2
- package/lib/form/fields/props/FieldCommonPropTypes.js +16 -23
- package/lib/form/layout/Section/props/propTypes.js +3 -1
- package/lib/list/Comment/props/propTypes.js +0 -3
- package/lib/list/GridStencils/props/propTypes.js +2 -1
- package/lib/list/Icons/props/propTypes.js +0 -2
- package/lib/list/SecondaryText/props/propTypes.js +0 -1
- package/lib/list/UserTime/props/propTypes.js +5 -1
- package/lib/list/status/StatusDropdown/props/propTypes.js +1 -1
- package/lib/lookup/Lookup/props/propTypes.js +4 -1
- package/lib/lookup/header/ViewDropDown/props/propTypes.js +6 -11
- package/lib/setup/table/TableHead/props/propTypes.js +2 -1
- package/lib/v1/ChannelIcon/ChannelIcon.js +113 -0
- package/lib/v1/ExternalLink/ExternalLink.js +57 -0
- package/lib/v1/NewStar/NewStar.js +74 -0
- package/lib/v1/lookup/header/Close/Close.js +47 -0
- package/lib/v1/lookup/header/ModuleHeader/ModuleHeader.js +101 -0
- package/lib/v1/lookup/header/Search/Search.js +208 -0
- package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +108 -0
- package/lib/v1/lookup/header/Title/Title.js +44 -0
- package/lib/v1/version2/GlobalNotification/GlobalNotification.js +5 -1
- package/lib/version2/GlobalNotification/GlobalNotification.js +5 -1
- package/lib/version2/GlobalNotification/props/propTypes.js +23 -3
- package/lib/version2/lookup/AlertLookup/props/propTypes.js +0 -1
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +2 -0
- package/lib/version2/notification/DesktopNotification/props/propTypes.js +16 -11
- package/package.json +11 -9
- package/result.json +1 -1
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
6
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
7
|
+
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
|
8
|
+
|
|
9
|
+
<title>Missed PropType Key</title>
|
|
10
|
+
<style>
|
|
11
|
+
body {
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
font-family: 'Asap Condensed', sans-serif;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
table {
|
|
18
|
+
width: 100%;
|
|
19
|
+
border-collapse: collapse;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
th {
|
|
23
|
+
position: sticky;
|
|
24
|
+
top: 0;
|
|
25
|
+
background-color: #001C30;
|
|
26
|
+
color: #F5F5F5;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
th,
|
|
30
|
+
td {
|
|
31
|
+
border: 1px solid black;
|
|
32
|
+
padding: 8px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
tr:nth-child(even) {
|
|
36
|
+
background-color: #EDEEF7;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.table-container {
|
|
40
|
+
margin-bottom: 20px;
|
|
41
|
+
}
|
|
42
|
+
</style>
|
|
43
|
+
</head>
|
|
44
|
+
|
|
45
|
+
<body>
|
|
46
|
+
<div id="table-container"></div>
|
|
47
|
+
<script>
|
|
48
|
+
const jsonData = {}
|
|
49
|
+
const tableContainer = document.getElementById('table-container');
|
|
50
|
+
const table = document.createElement('table');
|
|
51
|
+
const thead = document.createElement('thead');
|
|
52
|
+
const tbody = document.createElement('tbody');
|
|
53
|
+
|
|
54
|
+
const headerRow = document.createElement('tr');
|
|
55
|
+
const headers = ['No', 'Component', 'FilePath'];
|
|
56
|
+
headers.forEach(header => {
|
|
57
|
+
const th = document.createElement('th');
|
|
58
|
+
th.textContent = header;
|
|
59
|
+
headerRow.appendChild(th);
|
|
60
|
+
});
|
|
61
|
+
thead.appendChild(headerRow);
|
|
62
|
+
table.appendChild(thead);
|
|
63
|
+
var componentCount = 1;
|
|
64
|
+
function generateRows(component, data, innerComponent = '') {
|
|
65
|
+
|
|
66
|
+
const filePath = data.filePath ? data.filePath : '';
|
|
67
|
+
|
|
68
|
+
const row = document.createElement('tr');
|
|
69
|
+
const numbers = document.createElement('td');
|
|
70
|
+
const componentCell = document.createElement('td');
|
|
71
|
+
const filePathCell = document.createElement('td');
|
|
72
|
+
|
|
73
|
+
numbers.textContent = componentCount;
|
|
74
|
+
componentCell.textContent = component;
|
|
75
|
+
filePathCell.textContent = filePath;
|
|
76
|
+
|
|
77
|
+
row.appendChild(numbers);
|
|
78
|
+
row.appendChild(componentCell);
|
|
79
|
+
row.appendChild(filePathCell);
|
|
80
|
+
tbody.appendChild(row);
|
|
81
|
+
|
|
82
|
+
if (data.innerComponent) {
|
|
83
|
+
Object.entries(data.innerComponent).forEach(([innerComp, innerData]) => {
|
|
84
|
+
generateRows(innerComp, innerData, component);
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
componentCount++;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
Object.entries(jsonData).forEach(([component, data]) => {
|
|
91
|
+
generateRows(component, data);
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
table.appendChild(tbody);
|
|
95
|
+
tableContainer.appendChild(table);
|
|
96
|
+
|
|
97
|
+
generateTable(jsonData);
|
|
98
|
+
</script>
|
|
99
|
+
</body>
|
|
100
|
+
|
|
101
|
+
</html>
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
6
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
7
|
+
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
|
|
8
|
+
|
|
9
|
+
<title>Prop Less components</title>
|
|
10
|
+
<style>
|
|
11
|
+
body {
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
font-family: 'Asap Condensed', sans-serif;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
table {
|
|
18
|
+
width: 100%;
|
|
19
|
+
border-collapse: collapse;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
th {
|
|
23
|
+
position: sticky;
|
|
24
|
+
top: 0;
|
|
25
|
+
background-color: #001C30;
|
|
26
|
+
color: #F5F5F5;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
th,
|
|
30
|
+
td {
|
|
31
|
+
border: 1px solid black;
|
|
32
|
+
padding: 8px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
tr:nth-child(even) {
|
|
36
|
+
background-color: #EDEEF7;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.table-container {
|
|
40
|
+
margin-bottom: 20px;
|
|
41
|
+
}
|
|
42
|
+
</style>
|
|
43
|
+
</head>
|
|
44
|
+
|
|
45
|
+
<body>
|
|
46
|
+
<div id="table-container"></div>
|
|
47
|
+
<script>
|
|
48
|
+
const jsonData = {"ActionButtonComponent":{"filePath":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/ActionButton/ActionButton.js"},"LinkContext":{"filePath":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Link/LinkContext.js"},"Loader":{"filePath":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/Loader/Loader.js"},"ViewDropDown":{"filePath":"/Users/bharathi-zt93/git/library/jsapps/dot/dot/src/lookup/header/ViewDropDown/ViewDropDown.js"}}
|
|
49
|
+
const tableContainer = document.getElementById('table-container');
|
|
50
|
+
const table = document.createElement('table');
|
|
51
|
+
const thead = document.createElement('thead');
|
|
52
|
+
const tbody = document.createElement('tbody');
|
|
53
|
+
|
|
54
|
+
const headerRow = document.createElement('tr');
|
|
55
|
+
const headers = ['No', 'Component', 'FilePath'];
|
|
56
|
+
headers.forEach(header => {
|
|
57
|
+
const th = document.createElement('th');
|
|
58
|
+
th.textContent = header;
|
|
59
|
+
headerRow.appendChild(th);
|
|
60
|
+
});
|
|
61
|
+
thead.appendChild(headerRow);
|
|
62
|
+
table.appendChild(thead);
|
|
63
|
+
var componentCount = 1;
|
|
64
|
+
function generateRows(component, data, innerComponent = '') {
|
|
65
|
+
|
|
66
|
+
const filePath = data.filePath ? data.filePath : '';
|
|
67
|
+
|
|
68
|
+
const row = document.createElement('tr');
|
|
69
|
+
const numbers = document.createElement('td');
|
|
70
|
+
const componentCell = document.createElement('td');
|
|
71
|
+
const filePathCell = document.createElement('td');
|
|
72
|
+
|
|
73
|
+
numbers.textContent = componentCount;
|
|
74
|
+
componentCell.textContent = component;
|
|
75
|
+
filePathCell.textContent = filePath;
|
|
76
|
+
|
|
77
|
+
row.appendChild(numbers);
|
|
78
|
+
row.appendChild(componentCell);
|
|
79
|
+
row.appendChild(filePathCell);
|
|
80
|
+
tbody.appendChild(row);
|
|
81
|
+
|
|
82
|
+
if (data.innerComponent) {
|
|
83
|
+
Object.entries(data.innerComponent).forEach(([innerComp, innerData]) => {
|
|
84
|
+
generateRows(innerComp, innerData, component);
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
componentCount++;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
Object.entries(jsonData).forEach(([component, data]) => {
|
|
91
|
+
generateRows(component, data);
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
table.appendChild(tbody);
|
|
95
|
+
tableContainer.appendChild(table);
|
|
96
|
+
|
|
97
|
+
generateTable(jsonData);
|
|
98
|
+
</script>
|
|
99
|
+
</body>
|
|
100
|
+
|
|
101
|
+
</html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|