@zohodesk/components 1.0.0-temp-235 → 1.0.0-temp-238
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/README.md +23 -0
- package/es/TextBox/TextBox.js +4 -4
- package/es/Typography/Typography.js +2 -9
- package/es/Typography/props/defaultProps.js +1 -2
- package/es/Typography/props/propTypes.js +1 -26
- package/es/common/common.module.css +7 -0
- package/es/v1/Switch/css/Switch_v1.module.css +7 -1
- package/lib/TextBox/TextBox.js +4 -4
- package/lib/Typography/Typography.js +2 -9
- package/lib/Typography/props/defaultProps.js +1 -2
- package/lib/Typography/props/propTypes.js +1 -31
- package/lib/common/common.module.css +7 -0
- package/lib/v1/Switch/css/Switch_v1.module.css +7 -1
- package/package.json +6 -5
- package/.cli/MissedPropType_Keys.html +0 -101
- package/.cli/PropLessFiles.html +0 -101
- package/.cli/PropUnificationExcludeFilesArray.js +0 -231
- package/.cli/PropValidationExcludeFilesArray.js +0 -1
- package/.cli/ThemeValidationExcludeFiles.js +0 -1
- package/.cli/UnValidatedFiles.html +0 -101
- package/.cli/config/variables/variableMapping.json +0 -13
- package/.cli/propValidation_report.html +0 -182
- package/.cli/themeValidate/stringContains.js +0 -1
- package/PropValidationExcludeFilesArray.js +0 -1
- package/es/Typography/__tests__/Typography.spec.js +0 -334
- package/es/Typography/__tests__/__snapshots__/Typography.spec.js.snap +0 -451
- package/es/Typography/highlight.js +0 -144
- package/lib/Typography/__tests__/Typography.spec.js +0 -342
- package/lib/Typography/__tests__/__snapshots__/Typography.spec.js.snap +0 -451
- package/lib/Typography/highlight.js +0 -151
- package/propValidationArg.json +0 -12
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
"src/Accordion/Accordion.js",
|
|
3
|
-
"src/Accordion/AccordionItem.js",
|
|
4
|
-
"src/Accordion/index.js",
|
|
5
|
-
"src/Animation/Animation.js",
|
|
6
|
-
"src/AppContainer/AppContainer.js",
|
|
7
|
-
"src/Avatar/Avatar.js",
|
|
8
|
-
"src/AvatarTeam/AvatarTeam.js",
|
|
9
|
-
"src/Button/Button.js",
|
|
10
|
-
"src/Button/css/cssJSLogic.js",
|
|
11
|
-
"src/Button/index.js",
|
|
12
|
-
"src/Buttongroup/Buttongroup.js",
|
|
13
|
-
"src/Card/Card.js",
|
|
14
|
-
"src/Card/index.js",
|
|
15
|
-
"src/CheckBox/CheckBox.js",
|
|
16
|
-
"src/DateTime/CalendarView.js",
|
|
17
|
-
"src/DateTime/DateTime.js",
|
|
18
|
-
"src/DateTime/DateTimePopupFooter.js",
|
|
19
|
-
"src/DateTime/DateTimePopupHeader.js",
|
|
20
|
-
"src/DateTime/DateWidget.js",
|
|
21
|
-
"src/DateTime/DaysRow.js",
|
|
22
|
-
"src/DateTime/Time.js",
|
|
23
|
-
"src/DateTime/YearView.js",
|
|
24
|
-
"src/DateTime/common.js",
|
|
25
|
-
"src/DateTime/constants.js",
|
|
26
|
-
"src/DateTime/dateFormatUtils/dateFormat.js",
|
|
27
|
-
"src/DateTime/dateFormatUtils/dateFormats.js",
|
|
28
|
-
"src/DateTime/dateFormatUtils/dayChange.js",
|
|
29
|
-
"src/DateTime/dateFormatUtils/index.js",
|
|
30
|
-
"src/DateTime/dateFormatUtils/monthChange.js",
|
|
31
|
-
"src/DateTime/dateFormatUtils/timeChange.js",
|
|
32
|
-
"src/DateTime/dateFormatUtils/yearChange.js",
|
|
33
|
-
"src/DateTime/index.js",
|
|
34
|
-
"src/DateTime/objectUtils.js",
|
|
35
|
-
"src/DateTime/typeChecker.js",
|
|
36
|
-
"src/DateTime/validator.js",
|
|
37
|
-
"src/DropBox/DropBox.js",
|
|
38
|
-
"src/DropBox/DropBoxElement/DropBoxElement.js",
|
|
39
|
-
"src/DropBox/DropBoxElement/css/cssJSLogic.js",
|
|
40
|
-
"src/DropBox/DropBoxElement/useDropboxPosCalc.js",
|
|
41
|
-
"src/DropBox/css/cssJSLogic.js",
|
|
42
|
-
"src/DropDown/DropDown.js",
|
|
43
|
-
"src/DropDown/DropDownHeading.js",
|
|
44
|
-
"src/DropDown/DropDownItem.js",
|
|
45
|
-
"src/DropDown/DropDownSearch.js",
|
|
46
|
-
"src/DropDown/DropDownSeparator.js",
|
|
47
|
-
"src/DropDown/index.js",
|
|
48
|
-
"src/Heading/Heading.js",
|
|
49
|
-
"src/Label/Label.js",
|
|
50
|
-
"src/Layout/index.js",
|
|
51
|
-
"src/ListItem/ListContainer.js",
|
|
52
|
-
"src/ListItem/ListItem.js",
|
|
53
|
-
"src/ListItem/ListItemWithAvatar.js",
|
|
54
|
-
"src/ListItem/ListItemWithCheckBox.js",
|
|
55
|
-
"src/ListItem/ListItemWithIcon.js",
|
|
56
|
-
"src/ListItem/ListItemWithRadio.js",
|
|
57
|
-
"src/ListItem/index.js",
|
|
58
|
-
"src/Modal/Modal.js",
|
|
59
|
-
"src/MultiSelect/AdvancedGroupMultiSelect.js",
|
|
60
|
-
"src/MultiSelect/AdvancedMultiSelect.js",
|
|
61
|
-
"src/MultiSelect/EmptyState.js",
|
|
62
|
-
"src/MultiSelect/MobileHeader/MobileHeader.js",
|
|
63
|
-
"src/MultiSelect/MultiSelect.js",
|
|
64
|
-
"src/MultiSelect/MultiSelectHeader.js",
|
|
65
|
-
"src/MultiSelect/MultiSelectWithAvatar.js",
|
|
66
|
-
"src/MultiSelect/SelectedOptions.js",
|
|
67
|
-
"src/MultiSelect/Suggestions.js",
|
|
68
|
-
"src/MultiSelect/index.js",
|
|
69
|
-
"src/PopOver/PopOver.js",
|
|
70
|
-
"src/PopOver/index.js",
|
|
71
|
-
"src/Popup/Popup.js",
|
|
72
|
-
"src/Popup/viewPort.js",
|
|
73
|
-
"src/Provider/AvatarSize.js",
|
|
74
|
-
"src/Provider/Config.js",
|
|
75
|
-
"src/Provider/CssProvider.js",
|
|
76
|
-
"src/Provider/IdProvider.js",
|
|
77
|
-
"src/Provider/LibraryContext.js",
|
|
78
|
-
"src/Provider/LibraryContextInit.js",
|
|
79
|
-
"src/Provider/NumberGenerator/NumberGenerator.js",
|
|
80
|
-
"src/Provider/ZindexProvider.js",
|
|
81
|
-
"src/Provider/index.js",
|
|
82
|
-
"src/Radio/Radio.js",
|
|
83
|
-
"src/Responsive/CustomResponsive.js",
|
|
84
|
-
"src/Responsive/RefWrapper.js",
|
|
85
|
-
"src/Responsive/ResizeComponent.js",
|
|
86
|
-
"src/Responsive/ResizeObserver.js",
|
|
87
|
-
"src/Responsive/Responsive.js",
|
|
88
|
-
"src/Responsive/index.js",
|
|
89
|
-
"src/Responsive/sizeObservers.js",
|
|
90
|
-
"src/Responsive/utils/index.js",
|
|
91
|
-
"src/Responsive/utils/shallowCompare.js",
|
|
92
|
-
"src/Responsive/windowResizeObserver.js",
|
|
93
|
-
"src/ResponsiveDropBox/ResponsiveDropBox.js",
|
|
94
|
-
"src/Ribbon/Ribbon.js",
|
|
95
|
-
"src/RippleEffect/RippleEffect.js",
|
|
96
|
-
"src/Select/GroupSelect.js",
|
|
97
|
-
"src/Select/Select.js",
|
|
98
|
-
"src/Select/SelectWithAvatar.js",
|
|
99
|
-
"src/Select/SelectWithIcon.js",
|
|
100
|
-
"src/Select/index.js",
|
|
101
|
-
"src/Stencils/Stencils.js",
|
|
102
|
-
"src/Switch/Switch.js",
|
|
103
|
-
"src/Tab/Tab.js",
|
|
104
|
-
"src/Tab/TabContent.js",
|
|
105
|
-
"src/Tab/TabContentWrapper.js",
|
|
106
|
-
"src/Tab/TabWrapper.js",
|
|
107
|
-
"src/Tab/Tabs.js",
|
|
108
|
-
"src/Tab/index.js",
|
|
109
|
-
"src/Tag/Tag.js",
|
|
110
|
-
"src/TextBox/TextBox.js",
|
|
111
|
-
"src/TextBoxIcon/TextBoxIcon.js",
|
|
112
|
-
"src/Textarea/Textarea.js",
|
|
113
|
-
"src/Tooltip/Tooltip.js",
|
|
114
|
-
"src/VelocityAnimation/VelocityAnimation/VelocityAnimation.js",
|
|
115
|
-
"src/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js",
|
|
116
|
-
"src/VelocityAnimation/index.js",
|
|
117
|
-
"src/css.js",
|
|
118
|
-
"src/deprecated/PortalLayer/PortalLayer.js",
|
|
119
|
-
"src/index.js",
|
|
120
|
-
"src/semantic/Button/Button.js",
|
|
121
|
-
"src/semantic/index.js",
|
|
122
|
-
"src/utils/Common.js",
|
|
123
|
-
"src/utils/ContextOptimizer.js",
|
|
124
|
-
"src/utils/constant.js",
|
|
125
|
-
"src/utils/constructFullName.js",
|
|
126
|
-
"src/utils/datetime/GMTZones.js",
|
|
127
|
-
"src/utils/datetime/common.js",
|
|
128
|
-
"src/utils/debounce.js",
|
|
129
|
-
"src/utils/dropDownUtils.js",
|
|
130
|
-
"src/utils/dummyFunction.js",
|
|
131
|
-
"src/utils/getHTMLFontSize.js",
|
|
132
|
-
"src/utils/getInitial.js",
|
|
133
|
-
"src/utils/index.js",
|
|
134
|
-
"src/utils/scrollTo.js",
|
|
135
|
-
"src/utils/shallowEqual.js",
|
|
136
|
-
"src/v1/Accordion/Accordion.js",
|
|
137
|
-
"src/v1/Accordion/AccordionItem.js",
|
|
138
|
-
"src/v1/Accordion/index.js",
|
|
139
|
-
"src/v1/Animation/Animation.js",
|
|
140
|
-
"src/v1/AppContainer/AppContainer.js",
|
|
141
|
-
"src/v1/Avatar/Avatar.js",
|
|
142
|
-
"src/v1/AvatarTeam/AvatarTeam.js",
|
|
143
|
-
"src/v1/Button/Button.js",
|
|
144
|
-
"src/v1/Buttongroup/Buttongroup.js",
|
|
145
|
-
"src/v1/Card/Card.js",
|
|
146
|
-
"src/v1/Card/index.js",
|
|
147
|
-
"src/v1/CheckBox/CheckBox.js",
|
|
148
|
-
"src/v1/DateTime/CalendarView.js",
|
|
149
|
-
"src/v1/DateTime/DateTime.js",
|
|
150
|
-
"src/v1/DateTime/DateTimePopupFooter.js",
|
|
151
|
-
"src/v1/DateTime/DateTimePopupHeader.js",
|
|
152
|
-
"src/v1/DateTime/DateWidget.js",
|
|
153
|
-
"src/v1/DateTime/DaysRow.js",
|
|
154
|
-
"src/v1/DateTime/Time.js",
|
|
155
|
-
"src/v1/DateTime/YearView.js",
|
|
156
|
-
"src/v1/DateTime/index.js",
|
|
157
|
-
"src/v1/DropBox/DropBox.js",
|
|
158
|
-
"src/v1/DropBox/DropBoxElement/DropBoxElement.js",
|
|
159
|
-
"src/v1/DropDown/DropDown.js",
|
|
160
|
-
"src/v1/DropDown/DropDownHeading.js",
|
|
161
|
-
"src/v1/DropDown/DropDownItem.js",
|
|
162
|
-
"src/v1/DropDown/DropDownSearch.js",
|
|
163
|
-
"src/v1/DropDown/DropDownSeparator.js",
|
|
164
|
-
"src/v1/Heading/Heading.js",
|
|
165
|
-
"src/v1/Label/Label.js",
|
|
166
|
-
"src/v1/Layout/index.js",
|
|
167
|
-
"src/v1/ListItem/ListContainer.js",
|
|
168
|
-
"src/v1/ListItem/ListItem.js",
|
|
169
|
-
"src/v1/ListItem/ListItemWithAvatar.js",
|
|
170
|
-
"src/v1/ListItem/ListItemWithCheckBox.js",
|
|
171
|
-
"src/v1/ListItem/ListItemWithIcon.js",
|
|
172
|
-
"src/v1/ListItem/ListItemWithRadio.js",
|
|
173
|
-
"src/v1/ListItem/index.js",
|
|
174
|
-
"src/v1/Modal/Modal.js",
|
|
175
|
-
"src/v1/MultiSelect/AdvancedGroupMultiSelect.js",
|
|
176
|
-
"src/v1/MultiSelect/AdvancedMultiSelect.js",
|
|
177
|
-
"src/v1/MultiSelect/EmptyState.js",
|
|
178
|
-
"src/v1/MultiSelect/MobileHeader/MobileHeader.js",
|
|
179
|
-
"src/v1/MultiSelect/MultiSelect.js",
|
|
180
|
-
"src/v1/MultiSelect/MultiSelectHeader.js",
|
|
181
|
-
"src/v1/MultiSelect/MultiSelectWithAvatar.js",
|
|
182
|
-
"src/v1/MultiSelect/SelectedOptions.js",
|
|
183
|
-
"src/v1/MultiSelect/Suggestions.js",
|
|
184
|
-
"src/v1/MultiSelect/index.js",
|
|
185
|
-
"src/v1/PopOver/PopOver.js",
|
|
186
|
-
"src/v1/Popup/Popup.js",
|
|
187
|
-
"src/v1/Provider/AvatarSize.js",
|
|
188
|
-
"src/v1/Provider/Config.js",
|
|
189
|
-
"src/v1/Provider/CssProvider.js",
|
|
190
|
-
"src/v1/Provider/IdProvider.js",
|
|
191
|
-
"src/v1/Provider/LibraryContext.js",
|
|
192
|
-
"src/v1/Provider/LibraryContextInit.js",
|
|
193
|
-
"src/v1/Provider/NumberGenerator/NumberGenerator.js",
|
|
194
|
-
"src/v1/Provider/ZindexProvider.js",
|
|
195
|
-
"src/v1/Provider/index.js",
|
|
196
|
-
"src/v1/Radio/Radio.js",
|
|
197
|
-
"src/v1/Responsive/CustomResponsive.js",
|
|
198
|
-
"src/v1/Responsive/RefWrapper.js",
|
|
199
|
-
"src/v1/Responsive/ResizeComponent.js",
|
|
200
|
-
"src/v1/Responsive/ResizeObserver.js",
|
|
201
|
-
"src/v1/Responsive/Responsive.js",
|
|
202
|
-
"src/v1/Responsive/index.js",
|
|
203
|
-
"src/v1/ResponsiveDropBox/ResponsiveDropBox.js",
|
|
204
|
-
"src/v1/Ribbon/Ribbon.js",
|
|
205
|
-
"src/v1/RippleEffect/RippleEffect.js",
|
|
206
|
-
"src/v1/Select/GroupSelect.js",
|
|
207
|
-
"src/v1/Select/Select.js",
|
|
208
|
-
"src/v1/Select/SelectWithAvatar.js",
|
|
209
|
-
"src/v1/Select/SelectWithIcon.js",
|
|
210
|
-
"src/v1/Select/index.js",
|
|
211
|
-
"src/v1/Stencils/Stencils.js",
|
|
212
|
-
"src/v1/Switch/Switch.js",
|
|
213
|
-
"src/v1/Tab/Tab.js",
|
|
214
|
-
"src/v1/Tab/TabContent.js",
|
|
215
|
-
"src/v1/Tab/TabContentWrapper.js",
|
|
216
|
-
"src/v1/Tab/TabWrapper.js",
|
|
217
|
-
"src/v1/Tab/Tabs.js",
|
|
218
|
-
"src/v1/Tab/index.js",
|
|
219
|
-
"src/v1/Tag/Tag.js",
|
|
220
|
-
"src/v1/TextBox/TextBox.js",
|
|
221
|
-
"src/v1/TextBoxIcon/TextBoxIcon.js",
|
|
222
|
-
"src/v1/Textarea/Textarea.js",
|
|
223
|
-
"src/v1/Tooltip/Tooltip.js",
|
|
224
|
-
"src/v1/Typography/Typography.js",
|
|
225
|
-
"src/v1/Typography/css/cssJSLogic.js",
|
|
226
|
-
"src/v1/Typography/css/letterSpacingMap.js",
|
|
227
|
-
"src/v1/VelocityAnimation/VelocityAnimation/VelocityAnimation.js",
|
|
228
|
-
"src/v1/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js",
|
|
229
|
-
"src/v1/semantic/Button/Button.js",
|
|
230
|
-
"src/v1/semantic/index.js"
|
|
231
|
-
]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
['src/Layout/Box.js', 'src/Layout/Container.js', 'src/v1/Layout/Box.js', 'src/v1/Layout/Container.js'];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[]
|
|
@@ -1,101 +0,0 @@
|
|
|
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>Unvalidated Files</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>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"ignore": {},
|
|
3
|
-
"changes": {
|
|
4
|
-
"--listitem_font_size": "font-size",
|
|
5
|
-
"--local-switch-track-width": "width",
|
|
6
|
-
"--local-switch-track-height": "height",
|
|
7
|
-
"--local-switch-thumb-size": "height",
|
|
8
|
-
"--local-switch-onLabel-height": "height",
|
|
9
|
-
"--local-switch-onLabel-left": "left",
|
|
10
|
-
"--local-switch-offLabel-size": "height",
|
|
11
|
-
"--local-switch-offLabel-right": "right"
|
|
12
|
-
}
|
|
13
|
-
}
|