@zohodesk/dot 1.0.0-temp-214 → 1.0.0-temp-216
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/assets/Appearance/dark/mode/Dot_DarkMode.module.css +11 -1
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +11 -1
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +11 -1
- package/es/ActionButton/ActionButton.js +6 -6
- package/es/AlphabeticList/AlphabeticList.js +1 -1
- package/es/Attachment/Attachment.js +7 -4
- package/es/Attachment/__tests__/Attachment.spec.js +24 -0
- package/es/Attachment/__tests__/__snapshots__/Attachment.spec.js.snap +105 -0
- package/es/AttachmentViewer/AttachmentViewer.js +5 -5
- package/es/AttachmentViewer/AttachmentViewer.module.css +1 -1
- package/es/AttachmentViewer/__tests__/__snapshots__/AttachmentViewer.spec.js.snap +15 -16
- package/es/AudioPlayer/AudioPlayer.js +580 -0
- package/es/AudioPlayer/AudioPlayer.module.css +146 -0
- package/es/AudioPlayer/Timer/Timer.js +67 -0
- package/es/AudioPlayer/Timer/Timer.module.css +5 -0
- package/es/AudioPlayer/Timer/__tests__/Timer.spec.js +20 -0
- package/es/AudioPlayer/Timer/__tests__/__snapshots__/Timer.spec.js.snap +14 -0
- package/es/AudioPlayer/Timer/propTypes/defaultProps.js +4 -0
- package/es/AudioPlayer/Timer/propTypes/propTypes.js +11 -0
- package/es/AudioPlayer/__tests__/AudioPlayer.spec.js +44 -0
- package/es/AudioPlayer/__tests__/__snapshots__/AudioPlayer.spec.js.snap +145 -0
- package/es/AudioPlayer/propTypes/defaultProps.js +14 -0
- package/es/AudioPlayer/propTypes/propTypes.js +33 -0
- package/es/AudioPlayer/utils/utils.js +24 -0
- package/es/ChannelIcon/ChannelIcon.js +1 -1
- package/es/Drawer/Drawer.js +6 -6
- package/es/FlipCard/FlipCard.js +3 -3
- package/es/FormAction/FormAction.js +1 -1
- package/es/FreezeLayer/FreezeLayer.js +3 -3
- package/es/Hooks/Dragger/useDragger.js +52 -33
- package/es/IconButton/IconButton.js +3 -3
- package/es/ImportantNotes/ImportantNotes.js +1 -1
- package/es/Loader/Loader.js +1 -1
- package/es/MessageBanner/MessageBanner.js +1 -1
- package/es/NewStar/NewStar.js +1 -1
- package/es/Onboarding/Onboarding.js +3 -3
- package/es/Separator/Separator.js +1 -1
- package/es/ToastMessage/ToastMessage.js +4 -4
- package/es/Upload/Upload.js +1 -1
- package/es/VideoLookup/VideoLookup.js +1 -1
- package/es/alert/AlertHeader/AlertHeader.js +1 -1
- package/es/alert/AlertLookup/AlertLookup.js +1 -1
- package/es/avatar/AvatarClose/AvatarClose.js +1 -1
- package/es/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/es/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/es/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/es/avatar/AvatarThread/AvatarThread.js +1 -1
- package/es/avatar/AvatarUser/AvatarUser.js +1 -1
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/es/deprecated/FreezeLayer/FreezeLayer.js +3 -3
- package/es/deprecated/SelectDropdown/SelectDropdown.js +7 -7
- package/es/dot_layer.module.css +1 -0
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +14 -14
- package/es/emptystate/EditionPage/EditionPage.js +1 -1
- package/es/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/es/errorstate/NoRequestFound/NoRequestFound.js +3 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.js +3 -3
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -3
- package/es/errorstate/UnableToProcess/UnableToProcess.js +3 -3
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/es/errorstate/WillBack/WillBack.js +3 -3
- package/es/form/fields/CheckBoxField/CheckBoxField.js +11 -9
- package/es/form/fields/CurrencyField/CurrencyField.js +7 -7
- package/es/form/fields/DateField/DateField.js +10 -9
- package/es/form/fields/FieldContainer/FieldContainer.js +1 -1
- package/es/form/fields/Fields.module.css +4 -0
- package/es/form/fields/MultiSelectField/MultiSelectField.js +8 -7
- package/es/form/fields/PhoneField/PhoneField.js +3 -2
- package/es/form/fields/PhoneField/__tests__/__snapshots__/PhoneField.spec.js.snap +1 -1
- package/es/form/fields/RadioField/RadioField.js +2 -2
- package/es/form/fields/SelectField/SelectField.js +8 -7
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +11 -11
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +9 -7
- package/es/form/fields/TextBoxField/TextBoxField.js +9 -9
- package/es/form/fields/TextEditor/TextEditor.js +1 -1
- package/es/form/fields/TextEditorField/TextEditorField.js +1 -1
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
- package/es/form/fields/TextareaField/TextareaField.js +8 -8
- package/es/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +1 -0
- package/es/layout/SetupDetailLayout/SetupDetailLayout.js +1 -1
- package/es/layout/SubtabLayout/SubtabLayout.js +2 -2
- package/es/list/Comment/Comment.js +1 -1
- package/es/list/Icons/AddNewIcon.js +1 -1
- package/es/list/Icons/CompleteIcon.js +1 -1
- package/es/list/Icons/DeleteIcon.js +1 -1
- package/es/list/Icons/EditIcon.js +1 -1
- package/es/list/Icons/ReadUnreadIcon.js +1 -1
- package/es/list/Icons/SmartIcon.js +1 -1
- package/es/list/ListLayout/ListLayout.js +1 -1
- package/es/list/ListStencils/ListStencils.js +1 -1
- package/es/list/SecondaryText/AccountName.js +1 -1
- package/es/list/SecondaryText/ContactName.js +1 -1
- package/es/list/SecondryPanel/SecondryPanel.js +2 -2
- package/es/list/Thread/Thread.js +1 -1
- package/es/list/status/StatusDropdown/StatusDropdown.js +10 -10
- package/es/list/status/StatusListItem/StatusListItem.js +2 -2
- package/es/lookup/EmptyPage/EmptyPage.js +4 -4
- package/es/lookup/Lookup/Lookup.js +1 -1
- package/es/lookup/Section/Section.js +1 -1
- package/es/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/es/lookup/header/Search/Search.js +3 -3
- package/es/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +9 -9
- package/es/setup/header/Button/Button.js +1 -1
- package/es/setup/header/Link/Link.js +1 -1
- package/es/setup/header/Search/Search.js +1 -1
- package/es/setup/table/Table/Table.js +1 -1
- package/es/setup/table/TableBody/TableBody.js +1 -1
- package/es/setup/table/TableData/TableData.js +1 -1
- package/es/setup/table/TableHead/TableHead.js +1 -1
- package/es/setup/table/TableRow/TableRow.js +1 -1
- package/es/svg/PlusIcon.js +1 -1
- package/es/svg/SnippetIcon.js +1 -1
- package/es/svg/TemplateIcon.js +1 -1
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
- package/es/v1/emptystate/EditionPage/EditionPage.js +1 -1
- package/es/v1/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/es/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -1
- package/es/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
- package/es/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/es/v1/errorstate/UrlNotFound/UrlNotFound.js +1 -1
- package/es/v1/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/es/v1/lookup/EmptyPage/EmptyPage.js +4 -4
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/es/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
- package/es/v1/svg/PlusIcon.js +1 -1
- package/es/v1/svg/SnippetIcon.js +1 -1
- package/es/v1/svg/TemplateIcon.js +1 -1
- package/es/version2/AlertClose/AlertClose.js +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.js +1 -1
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -3
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -3
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -3
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -3
- package/es/version2/lookup/AlertHeader/AlertHeader.js +1 -1
- package/es/version2/lookup/AlertLookup/AlertLookup.js +3 -3
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +4 -4
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +2 -2
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +1 -0
- package/lib/ActionButton/ActionButton.js +6 -6
- package/lib/AlphabeticList/AlphabeticList.js +1 -1
- package/lib/Attachment/Attachment.js +7 -4
- package/lib/Attachment/__tests__/Attachment.spec.js +24 -0
- package/lib/Attachment/__tests__/__snapshots__/Attachment.spec.js.snap +105 -0
- package/lib/AttachmentViewer/AttachmentViewer.js +5 -5
- package/lib/AttachmentViewer/AttachmentViewer.module.css +1 -1
- package/lib/AttachmentViewer/__tests__/__snapshots__/AttachmentViewer.spec.js.snap +15 -16
- package/lib/AudioPlayer/AudioPlayer.js +662 -0
- package/lib/AudioPlayer/AudioPlayer.module.css +146 -0
- package/lib/AudioPlayer/Timer/Timer.js +117 -0
- package/lib/AudioPlayer/Timer/Timer.module.css +5 -0
- package/lib/AudioPlayer/Timer/__tests__/Timer.spec.js +26 -0
- package/lib/AudioPlayer/Timer/__tests__/__snapshots__/Timer.spec.js.snap +14 -0
- package/lib/AudioPlayer/Timer/propTypes/defaultProps.js +11 -0
- package/lib/AudioPlayer/Timer/propTypes/propTypes.js +22 -0
- package/lib/AudioPlayer/__tests__/AudioPlayer.spec.js +50 -0
- package/lib/AudioPlayer/__tests__/__snapshots__/AudioPlayer.spec.js.snap +145 -0
- package/lib/AudioPlayer/propTypes/defaultProps.js +24 -0
- package/lib/AudioPlayer/propTypes/propTypes.js +44 -0
- package/lib/AudioPlayer/utils/utils.js +33 -0
- package/lib/ChannelIcon/ChannelIcon.js +1 -1
- package/lib/Drawer/Drawer.js +6 -6
- package/lib/FlipCard/FlipCard.js +3 -3
- package/lib/FormAction/FormAction.js +1 -1
- package/lib/FreezeLayer/FreezeLayer.js +3 -3
- package/lib/Hooks/Dragger/useDragger.js +51 -28
- package/lib/IconButton/IconButton.js +3 -3
- package/lib/ImportantNotes/ImportantNotes.js +1 -1
- package/lib/Loader/Loader.js +1 -1
- package/lib/MessageBanner/MessageBanner.js +1 -1
- package/lib/NewStar/NewStar.js +1 -1
- package/lib/Onboarding/Onboarding.js +3 -3
- package/lib/Separator/Separator.js +1 -1
- package/lib/ToastMessage/ToastMessage.js +4 -4
- package/lib/Upload/Upload.js +1 -1
- package/lib/VideoLookup/VideoLookup.js +1 -1
- package/lib/alert/AlertHeader/AlertHeader.js +1 -1
- package/lib/alert/AlertLookup/AlertLookup.js +1 -1
- package/lib/avatar/AvatarClose/AvatarClose.js +1 -1
- package/lib/avatar/AvatarCollision/AvatarCollision.js +1 -1
- package/lib/avatar/AvatarIcon/AvatarIcon.js +2 -2
- package/lib/avatar/AvatarStatus/AvatarStatus.js +1 -1
- package/lib/avatar/AvatarThread/AvatarThread.js +1 -1
- package/lib/avatar/AvatarUser/AvatarUser.js +1 -1
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +2 -2
- package/lib/deprecated/FreezeLayer/FreezeLayer.js +3 -3
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +7 -7
- package/lib/dot_layer.module.css +1 -0
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +14 -14
- package/lib/emptystate/EditionPage/EditionPage.js +1 -1
- package/lib/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -3
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -3
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -3
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/lib/errorstate/WillBack/WillBack.js +3 -3
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +12 -9
- package/lib/form/fields/CurrencyField/CurrencyField.js +7 -6
- package/lib/form/fields/DateField/DateField.js +11 -8
- package/lib/form/fields/FieldContainer/FieldContainer.js +1 -1
- package/lib/form/fields/Fields.module.css +4 -0
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +9 -7
- package/lib/form/fields/PhoneField/PhoneField.js +3 -2
- package/lib/form/fields/PhoneField/__tests__/__snapshots__/PhoneField.spec.js.snap +1 -1
- package/lib/form/fields/RadioField/RadioField.js +2 -2
- package/lib/form/fields/SelectField/SelectField.js +9 -7
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +11 -11
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +10 -7
- package/lib/form/fields/TextBoxField/TextBoxField.js +10 -8
- package/lib/form/fields/TextEditor/TextEditor.js +1 -1
- package/lib/form/fields/TextEditorField/TextEditorField.js +1 -1
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
- package/lib/form/fields/TextareaField/TextareaField.js +8 -7
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +2 -2
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +1 -0
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +1 -1
- package/lib/layout/SubtabLayout/SubtabLayout.js +2 -2
- package/lib/list/Comment/Comment.js +1 -1
- package/lib/list/Icons/AddNewIcon.js +1 -1
- package/lib/list/Icons/CompleteIcon.js +1 -1
- package/lib/list/Icons/DeleteIcon.js +1 -1
- package/lib/list/Icons/EditIcon.js +1 -1
- package/lib/list/Icons/ReadUnreadIcon.js +1 -1
- package/lib/list/Icons/SmartIcon.js +1 -1
- package/lib/list/ListLayout/ListLayout.js +1 -1
- package/lib/list/ListStencils/ListStencils.js +1 -1
- package/lib/list/SecondaryText/AccountName.js +1 -1
- package/lib/list/SecondaryText/ContactName.js +1 -1
- package/lib/list/SecondryPanel/SecondryPanel.js +2 -2
- package/lib/list/Thread/Thread.js +1 -1
- package/lib/list/status/StatusDropdown/StatusDropdown.js +10 -10
- package/lib/list/status/StatusListItem/StatusListItem.js +2 -2
- package/lib/lookup/EmptyPage/EmptyPage.js +4 -4
- package/lib/lookup/Lookup/Lookup.js +1 -1
- package/lib/lookup/Section/Section.js +1 -1
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +1 -1
- package/lib/lookup/header/Search/Search.js +3 -3
- package/lib/lookup/header/TicketHeader/TicketHeader.js +1 -1
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +9 -9
- package/lib/setup/header/Button/Button.js +1 -1
- package/lib/setup/header/Link/Link.js +1 -1
- package/lib/setup/header/Search/Search.js +1 -1
- package/lib/setup/table/Table/Table.js +1 -1
- package/lib/setup/table/TableBody/TableBody.js +1 -1
- package/lib/setup/table/TableData/TableData.js +1 -1
- package/lib/setup/table/TableHead/TableHead.js +1 -1
- package/lib/setup/table/TableRow/TableRow.js +1 -1
- package/lib/svg/PlusIcon.js +1 -1
- package/lib/svg/SnippetIcon.js +1 -1
- package/lib/svg/TemplateIcon.js +1 -1
- package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +2 -2
- package/lib/v1/emptystate/EditionPage/EditionPage.js +1 -1
- package/lib/v1/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/lib/v1/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -1
- package/lib/v1/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
- package/lib/v1/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/lib/v1/errorstate/UrlNotFound/UrlNotFound.js +1 -1
- package/lib/v1/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/lib/v1/lookup/EmptyPage/EmptyPage.js +4 -4
- package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/lib/v1/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/lib/v1/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +1 -1
- package/lib/v1/svg/PlusIcon.js +1 -1
- package/lib/v1/svg/SnippetIcon.js +1 -1
- package/lib/v1/svg/TemplateIcon.js +1 -1
- package/lib/version2/AlertClose/AlertClose.js +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.js +1 -1
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -3
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -3
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -3
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -3
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +1 -1
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +3 -3
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +4 -4
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +2 -2
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +1 -0
- package/package.json +28 -12
- package/.cli/MissedPropType_Keys.html +0 -101
- package/.cli/PropLessFiles.html +0 -101
- package/.cli/PropUnificationExcludeFilesArray.js +0 -345
- package/.cli/PropValidationExcludeFilesArray.js +0 -8
- package/.cli/ThemeValidationExcludeFiles.js +0 -1
- package/.cli/UnValidatedFiles.html +0 -101
- package/.cli/propValidation_report.html +0 -182
- package/.cli/stringContains.js +0 -1
- package/css_error.log +0 -1
- package/images/audio_thumbnail.png +0 -0
- package/install.md +0 -12
- package/postPublish.js +0 -8
- package/prePublish.js +0 -70
- package/propValidationArg.json +0 -12
- package/react-cli.config.js +0 -24
- package/result.json +0 -1
- package/unittest/index.html +0 -37
package/prePublish.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
const readline = require('readline');
|
|
2
|
-
const { exec } = require('child_process');
|
|
3
|
-
|
|
4
|
-
const rl = readline.createInterface({
|
|
5
|
-
input: process.stdin,
|
|
6
|
-
output: process.stdout
|
|
7
|
-
});
|
|
8
|
-
|
|
9
|
-
console.log('\nNode.js version:', process.version);
|
|
10
|
-
|
|
11
|
-
function runConsole(command, callback) {
|
|
12
|
-
exec(command, (error, stdout, stderr) => {
|
|
13
|
-
if (error) {
|
|
14
|
-
console.error('Error:', error.message);
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
if (stderr) {
|
|
19
|
-
console.error('Error:', stderr);
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
const npmVersion = stdout.trim();
|
|
24
|
-
console.log('\n' + command, npmVersion);
|
|
25
|
-
callback && callback();
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
function askQuestion1() {
|
|
30
|
-
rl.question('\nHave you updated the changelog in README.md? (yes/no): ', (answer) => {
|
|
31
|
-
if (answer.toLowerCase() === 'yes') {
|
|
32
|
-
console.log('\nGreat! Proceeding...');
|
|
33
|
-
askQuestion2();
|
|
34
|
-
// rl.close();
|
|
35
|
-
// Call the function or code to proceed further here.
|
|
36
|
-
} else if (answer.toLowerCase() === 'no') {
|
|
37
|
-
rl.close();
|
|
38
|
-
console.log('\nPlease Update the ChangeLog in README.md, then try again');
|
|
39
|
-
//throw new Error('\nPlease Update the ChangeLog in README.md, then try again');
|
|
40
|
-
process.exitCode = 1; // Exit the Node.js process with a success code.
|
|
41
|
-
} else {
|
|
42
|
-
console.log('\nInvalid answer. Please enter "yes" or "no".');
|
|
43
|
-
askQuestion1(); // Ask the question again if the input is not "yes" or "no".
|
|
44
|
-
}
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
function askQuestion2() {
|
|
49
|
-
rl.question('\nHave you verified the test snapshot? (yes/no): ', (answer) => {
|
|
50
|
-
if (answer.toLowerCase() === 'yes') {
|
|
51
|
-
console.log('\nGreat! Proceeding...');
|
|
52
|
-
rl.close();
|
|
53
|
-
// Call the function or code to proceed further here.
|
|
54
|
-
} else if (answer.toLowerCase() === 'no') {
|
|
55
|
-
rl.close();
|
|
56
|
-
//throw new Error('\nPlease Verify the snapshot results, then try again');
|
|
57
|
-
console.log('\nPlease Verify the snapshot results, then try again');
|
|
58
|
-
process.exitCode = 1; // Exit the Node.js process with a success code.
|
|
59
|
-
} else {
|
|
60
|
-
console.log('\nInvalid answer. Please enter "yes" or "no".');
|
|
61
|
-
askQuestion2(); // Ask the question again if the input is not "yes" or "no".
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
function getReactCliVersion() {
|
|
67
|
-
runConsole('react-cli --version', askQuestion1);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
runConsole('npm --version', getReactCliVersion);
|
package/propValidationArg.json
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"inputDir": "./src",
|
|
3
|
-
"outputDir": "./.cli",
|
|
4
|
-
"excludeDir": "./.cli",
|
|
5
|
-
"propUnifiExcludeDir": "./.cli",
|
|
6
|
-
"enable": true,
|
|
7
|
-
"need_report": true,
|
|
8
|
-
"prop_validation_strict_mode": true,
|
|
9
|
-
"prop_validation_log": false,
|
|
10
|
-
"prop_unification_strict_mode": false,
|
|
11
|
-
"prop_unification_log": false
|
|
12
|
-
}
|
package/react-cli.config.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
exports.config= {
|
|
2
|
-
"preprocess": {
|
|
3
|
-
"runner": "./preprocess/index.js"
|
|
4
|
-
},
|
|
5
|
-
"css": {
|
|
6
|
-
"cssVariableReplacementConfig": "./node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json",
|
|
7
|
-
"plugins": {
|
|
8
|
-
"hasRTL": true,
|
|
9
|
-
"cssVariableReplacement": true
|
|
10
|
-
},
|
|
11
|
-
"patterns": {
|
|
12
|
-
"cssVariableReplacement": [
|
|
13
|
-
"**/src/**",
|
|
14
|
-
"**/lib/**",
|
|
15
|
-
"**/es/**",
|
|
16
|
-
"!**/node_modules/**"
|
|
17
|
-
],
|
|
18
|
-
"hasRTL":[
|
|
19
|
-
"**/src/**",
|
|
20
|
-
"!**/node_modules/**"
|
|
21
|
-
]
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
package/result.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"jobDetails":{"isRunByLocal":true,"hostName":"karuppiah-19823","platForm":"Darwin","branchName":"DeskLib"},"tests":{"unitCase":{"isExecuted":"Yes","numberOfSuccess":50,"numberOfFails":0,"numberOfCases":50,"numberOfSuites":1,"endTime":1752666297494,"startTime":1752666292434,"coverageDetail":{"codeCoveragePercentage":100,"fileCoveragePercentage":0},"fileDetails":[{"fileName":"/Users/karuppiah-19823/Desktop/GitLab/client/desk-library/DeskLib/jsapps/dot/dot/src/DotProvider/__tests__/DotProvider.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the default attributes, styles and modified the tag props","rendering the providerRef props","rendering the additional ...rest props","rendering the wrong themeAppearance and themeColor","rendering the theme-appearance of light along with theme-color of blue","rendering the theme-appearance of light along with theme-color of green","rendering the theme-appearance of light along with theme-color of orange","rendering the theme-appearance of light along with theme-color of red","rendering the theme-appearance of light along with theme-color of yellow","rendering the theme-appearance of dark along with theme-color of blue","rendering the theme-appearance of dark along with theme-color of green","rendering the theme-appearance of dark along with theme-color of orange","rendering the theme-appearance of dark along with theme-color of red","rendering the theme-appearance of dark along with theme-color of yellow","rendering the theme-appearance of pureDark along with theme-color of blue","rendering the theme-appearance of pureDark along with theme-color of green","rendering the theme-appearance of pureDark along with theme-color of orange","rendering the theme-appearance of pureDark along with theme-color of red","rendering the theme-appearance of pureDark along with theme-color of yellow","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of blue","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of green","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of orange","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of red","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of yellow","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of blue","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of green","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of orange","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of red","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of yellow","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of blue","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of green","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of orange","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of red","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of yellow","rendering the baseZoomUnit props of 0.5","rendering the baseZoomUnit props of 0.8","rendering the baseZoomUnit props of 1","rendering the baseZoomUnit props of 1.2","rendering the baseFontUnit props of 1px","rendering the baseFontUnit props of 1rem","rendering the baseFontUnit props of 1em","rendering the baseFontUnit props of 1","rendering the zoomUnitVariable prop along with baseZoomUnit props","rendering the fontUnitVariable prop along with baseFontUnit props","rendering the ref function type props","rendering the onAssetsDownloadSuccess props","rendering the getAssetsPromises props"],"failedCaseList":["rendering the default attributes, styles and modifying the tag prop to React.Fragment","rendering the ref object type props"]}},{"fileName":"/Users/karuppiah-19823/Desktop/GitLab/client/desk-library/DeskLib/jsapps/dot/dot/src/DotProvider/__tests__/DotProvider.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the default attributes, styles and modified the tag props","rendering the default attributes, styles and modifying the tag prop to React.Fragment","rendering the providerRef props","rendering the additional ...rest props","rendering the wrong themeAppearance and themeColor","rendering the theme-appearance of light along with theme-color of blue","rendering the theme-appearance of light along with theme-color of green","rendering the theme-appearance of light along with theme-color of orange","rendering the theme-appearance of light along with theme-color of red","rendering the theme-appearance of light along with theme-color of yellow","rendering the theme-appearance of dark along with theme-color of blue","rendering the theme-appearance of dark along with theme-color of green","rendering the theme-appearance of dark along with theme-color of orange","rendering the theme-appearance of dark along with theme-color of red","rendering the theme-appearance of dark along with theme-color of yellow","rendering the theme-appearance of pureDark along with theme-color of blue","rendering the theme-appearance of pureDark along with theme-color of green","rendering the theme-appearance of pureDark along with theme-color of orange","rendering the theme-appearance of pureDark along with theme-color of red","rendering the theme-appearance of pureDark along with theme-color of yellow","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of blue","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of green","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of orange","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of red","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of yellow","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of blue","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of green","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of orange","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of red","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of yellow","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of blue","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of green","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of orange","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of red","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of yellow","rendering the baseZoomUnit props of 0.5","rendering the baseZoomUnit props of 0.8","rendering the baseZoomUnit props of 1","rendering the baseZoomUnit props of 1.2","rendering the baseFontUnit props of 1px","rendering the baseFontUnit props of 1rem","rendering the baseFontUnit props of 1em","rendering the baseFontUnit props of 1","rendering the zoomUnitVariable prop along with baseZoomUnit props","rendering the fontUnitVariable prop along with baseFontUnit props","rendering the ref function type props","rendering the onAssetsDownloadSuccess props","rendering the getAssetsPromises props"],"failedCaseList":["rendering the ref object type props"]}},{"fileName":"/Users/karuppiah-19823/Desktop/GitLab/client/desk-library/DeskLib/jsapps/dot/dot/src/DotProvider/__tests__/DotProvider.spec.js","CaseList":{"passedCaseList":[],"failedCaseList":["rendering the default props","rendering the default attributes, styles and modified the tag props","rendering the default attributes, styles and modifying the tag prop to React.Fragment","rendering the providerRef props","rendering the additional ...rest props","rendering the wrong themeAppearance and themeColor","rendering the theme-appearance of light along with theme-color of blue","rendering the theme-appearance of light along with theme-color of green","rendering the theme-appearance of light along with theme-color of orange","rendering the theme-appearance of light along with theme-color of red","rendering the theme-appearance of light along with theme-color of yellow","rendering the theme-appearance of dark along with theme-color of blue","rendering the theme-appearance of dark along with theme-color of green","rendering the theme-appearance of dark along with theme-color of orange","rendering the theme-appearance of dark along with theme-color of red","rendering the theme-appearance of dark along with theme-color of yellow","rendering the theme-appearance of pureDark along with theme-color of blue","rendering the theme-appearance of pureDark along with theme-color of green","rendering the theme-appearance of pureDark along with theme-color of orange","rendering the theme-appearance of pureDark along with theme-color of red","rendering the theme-appearance of pureDark along with theme-color of yellow","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of blue","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of green","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of orange","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of red","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of yellow","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of blue","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of green","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of orange","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of red","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of yellow","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of blue","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of green","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of orange","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of red","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of yellow","rendering the baseZoomUnit props of 0.5","rendering the baseZoomUnit props of 0.8","rendering the baseZoomUnit props of 1","rendering the baseZoomUnit props of 1.2","rendering the baseFontUnit props of 1px","rendering the baseFontUnit props of 1rem","rendering the baseFontUnit props of 1em","rendering the baseFontUnit props of 1","rendering the zoomUnitVariable prop along with baseZoomUnit props","rendering the fontUnitVariable prop along with baseFontUnit props","rendering the ref function type props","rendering the ref object type props","rendering the onAssetsDownloadSuccess props","rendering the getAssetsPromises props"]}},{"fileName":"/Users/karuppiah-19823/Desktop/GitLab/client/desk-library/DeskLib/jsapps/dot/dot/src/DotProvider/__tests__/DotProvider.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the default attributes, styles and modified the tag props","rendering the providerRef props","rendering the additional ...rest props","rendering the wrong themeAppearance and themeColor","rendering the theme-appearance of light along with theme-color of blue","rendering the theme-appearance of light along with theme-color of green","rendering the theme-appearance of light along with theme-color of orange","rendering the theme-appearance of light along with theme-color of red","rendering the theme-appearance of light along with theme-color of yellow","rendering the theme-appearance of dark along with theme-color of blue","rendering the theme-appearance of dark along with theme-color of green","rendering the theme-appearance of dark along with theme-color of orange","rendering the theme-appearance of dark along with theme-color of red","rendering the theme-appearance of dark along with theme-color of yellow","rendering the theme-appearance of pureDark along with theme-color of blue","rendering the theme-appearance of pureDark along with theme-color of green","rendering the theme-appearance of pureDark along with theme-color of orange","rendering the theme-appearance of pureDark along with theme-color of red","rendering the theme-appearance of pureDark along with theme-color of yellow","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of blue","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of green","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of orange","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of red","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of yellow","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of blue","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of green","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of orange","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of red","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of yellow","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of blue","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of green","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of orange","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of red","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of yellow","rendering the baseZoomUnit props of 0.5","rendering the baseZoomUnit props of 0.8","rendering the baseZoomUnit props of 1","rendering the baseZoomUnit props of 1.2","rendering the baseFontUnit props of 1px","rendering the baseFontUnit props of 1rem","rendering the baseFontUnit props of 1em","rendering the baseFontUnit props of 1","rendering the zoomUnitVariable prop along with baseZoomUnit props","rendering the fontUnitVariable prop along with baseFontUnit props","rendering the ref function type props","rendering the ref object type props","rendering the onAssetsDownloadSuccess props","rendering the getAssetsPromises props"],"failedCaseList":["rendering the default attributes, styles and modifying the tag prop to React.Fragment"]}},{"fileName":"/Users/karuppiah-19823/Desktop/GitLab/client/desk-library/DeskLib/jsapps/dot/dot/src/DotProvider/__tests__/DotProvider.spec.js","CaseList":{"passedCaseList":["rendering the default props","rendering the default attributes, styles and modified the tag props","rendering the default attributes, styles and modifying the tag prop to React.Fragment","rendering the providerRef props","rendering the additional ...rest props","rendering the wrong themeAppearance and themeColor","rendering the theme-appearance of light along with theme-color of blue","rendering the theme-appearance of light along with theme-color of green","rendering the theme-appearance of light along with theme-color of orange","rendering the theme-appearance of light along with theme-color of red","rendering the theme-appearance of light along with theme-color of yellow","rendering the theme-appearance of dark along with theme-color of blue","rendering the theme-appearance of dark along with theme-color of green","rendering the theme-appearance of dark along with theme-color of orange","rendering the theme-appearance of dark along with theme-color of red","rendering the theme-appearance of dark along with theme-color of yellow","rendering the theme-appearance of pureDark along with theme-color of blue","rendering the theme-appearance of pureDark along with theme-color of green","rendering the theme-appearance of pureDark along with theme-color of orange","rendering the theme-appearance of pureDark along with theme-color of red","rendering the theme-appearance of pureDark along with theme-color of yellow","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of blue","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of green","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of orange","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of red","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of light along with theme-color of yellow","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of blue","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of green","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of orange","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of red","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of dark along with theme-color of yellow","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of blue","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of green","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of orange","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of red","rendering the custom themeAppearanceAttr and themeColorAttr props with theme-appearance of pureDark along with theme-color of yellow","rendering the baseZoomUnit props of 0.5","rendering the baseZoomUnit props of 0.8","rendering the baseZoomUnit props of 1","rendering the baseZoomUnit props of 1.2","rendering the baseFontUnit props of 1px","rendering the baseFontUnit props of 1rem","rendering the baseFontUnit props of 1em","rendering the baseFontUnit props of 1","rendering the zoomUnitVariable prop along with baseZoomUnit props","rendering the fontUnitVariable prop along with baseFontUnit props","rendering the ref function type props","rendering the ref object type props","rendering the onAssetsDownloadSuccess props","rendering the getAssetsPromises props"],"failedCaseList":[]}}]}}}
|
package/unittest/index.html
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<head>
|
|
3
|
-
<style>
|
|
4
|
-
.red{
|
|
5
|
-
font-weight:bold;
|
|
6
|
-
color:red;
|
|
7
|
-
}
|
|
8
|
-
.green{
|
|
9
|
-
font-weight:bold;
|
|
10
|
-
color:green;
|
|
11
|
-
}
|
|
12
|
-
table
|
|
13
|
-
{
|
|
14
|
-
font-family: arial, sans-serif;
|
|
15
|
-
border-collapse: collapse;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
td, th
|
|
19
|
-
{
|
|
20
|
-
border: 1px solid #dddddd;
|
|
21
|
-
padding: 8px;
|
|
22
|
-
}
|
|
23
|
-
</style>
|
|
24
|
-
</head>
|
|
25
|
-
<body>
|
|
26
|
-
<table>
|
|
27
|
-
<tr>
|
|
28
|
-
<th>Title</th>
|
|
29
|
-
<th>FullName</th>
|
|
30
|
-
<th>Test Case Path</th>
|
|
31
|
-
</tr>
|
|
32
|
-
|
|
33
|
-
</table>
|
|
34
|
-
<br/>COVERAGE <span class="green">100%</span> <br/> less than 60% consider failure
|
|
35
|
-
</body>
|
|
36
|
-
</html>
|
|
37
|
-
|