@zohodesk/dot 1.0.0 → 1.1.0
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 +1344 -1340
- package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +555 -0
- package/assets/Appearance/dark/themes/blue/blue_DotTheme_DarkTheme.module.css +16 -0
- package/assets/Appearance/dark/themes/green/green_DotTheme_DarkTheme.module.css +16 -0
- package/assets/Appearance/dark/themes/orange/orange_DotTheme_DarkTheme.module.css +16 -0
- package/assets/Appearance/dark/themes/red/red_DotTheme_DarkTheme.module.css +16 -0
- package/assets/Appearance/dark/themes/yellow/yellow_DotTheme_DarkTheme.module.css +16 -0
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +555 -0
- package/assets/Appearance/light/themes/blue/blue_DotTheme_LightTheme.module.css +16 -0
- package/assets/Appearance/light/themes/green/green_DotTheme_LightTheme.module.css +16 -0
- package/assets/Appearance/light/themes/orange/orange_DotTheme_LightTheme.module.css +16 -0
- package/assets/Appearance/light/themes/red/red_DotTheme_LightTheme.module.css +16 -0
- package/assets/Appearance/light/themes/yellow/yellow_DotTheme_LightTheme.module.css +16 -0
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +555 -0
- package/assets/Appearance/pureDark/themes/blue/blue_DotTheme_PureDarkTheme.module.css +16 -0
- package/assets/Appearance/pureDark/themes/green/green_DotTheme_PureDarkTheme.module.css +16 -0
- package/assets/Appearance/pureDark/themes/orange/orange_DotTheme_PureDarkTheme.module.css +16 -0
- package/assets/Appearance/pureDark/themes/red/red_DotTheme_PureDarkTheme.module.css +16 -0
- package/assets/Appearance/pureDark/themes/yellow/yellow_DotTheme_PureDarkTheme.module.css +16 -0
- package/es/ActionButton/ActionButton.module.css +139 -139
- package/es/AlphabeticList/AlphabeticList.module.css +57 -57
- package/es/Attachment/Attachment.module.css +159 -159
- package/es/AttachmentViewer/AttachmentViewer.module.css +352 -352
- package/es/ChannelIcon/ChannelIcon.module.css +217 -217
- package/es/Drawer/Drawer.js +0 -0
- package/es/Drawer/Drawer.module.css +190 -190
- package/es/ExternalLink/ExternalLink.js +0 -0
- package/es/ExternalLink/ExternalLink.module.css +3 -3
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/es/FlipCard/FlipCard.module.css +44 -44
- package/es/FormAction/FormAction.module.css +82 -82
- package/es/FreezeLayer/css/FreezeLayer.module.css +42 -42
- package/es/Hooks/Dragger/css/Dragger.module.css +2 -2
- package/es/IconButton/IconButton.module.css +22 -22
- package/es/Image/Image.module.css +11 -11
- package/es/ImportantNotes/ImportantNotes.module.css +20 -20
- package/es/Link/Link.js +0 -0
- package/es/Link/Link.module.css +3 -3
- package/es/Loader/Loader.module.css +47 -47
- package/es/Message/Message.module.css +102 -102
- package/es/MessageBanner/MessageBanner.module.css +46 -46
- package/es/NewStar/NewStar.module.css +183 -183
- package/es/PlusIcon/PlusIcon.js +0 -0
- package/es/PlusIcon/PlusIcon.module.css +18 -18
- package/es/Separator/Separator.module.css +34 -34
- package/es/TagWithIcon/TagWithIcon.module.css +56 -56
- package/es/ToastMessage/ToastMessage.js +0 -0
- package/es/ToastMessage/ToastMessage.module.css +328 -328
- package/es/Upload/Upload.module.css +125 -125
- package/es/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/es/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/es/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/es/avatar/AvatarStatus/AvatarStatus.js +0 -0
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/es/avatar/AvatarThread/AvatarThread.module.css +166 -166
- package/es/avatar/AvatarUser/AvatarUser.js +0 -0
- package/es/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/es/common/dot_animation.module.css +26 -26
- package/es/common/dot_boxShadow.module.css +37 -37
- package/es/common/dot_common.module.css +3 -3
- package/es/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
- package/es/deprecated/utils/KeyboardApi.js +25 -25
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
- package/es/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
- package/es/emptystate/EditionPage/EditionPage.css +43 -43
- package/es/errorstate/EmptyStates.module.css +87 -87
- package/es/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/es/errorstate/LinkText/LinkText.module.css +6 -6
- package/es/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/es/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/es/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/es/errorstate/WillBack/WillBack.module.css +34 -34
- package/es/form/fields/CheckBoxField/CheckBoxField.js +0 -0
- package/es/form/fields/Fields.module.css +183 -183
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/es/form/fields/TextEditor/TextEditor.module.css +770 -770
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -37
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/es/form/layout/Field/Field.js +0 -0
- package/es/form/layout/Field/Field.module.css +22 -22
- package/es/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/es/form/layout/Section/Section.js +0 -0
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/es/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/es/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/DotNew/DotNew.module.css +24 -24
- package/es/list/GridStencils/GridStencils.module.css +146 -146
- package/es/list/Icons/Icons.module.css +16 -16
- package/es/list/ListLayout/ListLayout.module.css +57 -57
- package/es/list/ListStencils/ListStencils.module.css +67 -67
- package/es/list/SecondaryText/SecondaryText.module.css +136 -136
- package/es/list/SecondaryText/Website.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.js +0 -0
- package/es/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/es/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/es/list/Subject/Subject.module.css +27 -27
- package/es/list/TagNew/TagNew.module.css +116 -116
- package/es/list/Thread/Thread.module.css +42 -42
- package/es/list/UserTime/UserTime.module.css +58 -58
- package/es/list/listCommon.module.css +60 -60
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
- package/es/list/status/StatusListItem/StatusListItem.js +0 -0
- package/es/list/status/StatusListItem/StatusListItem.module.css +111 -111
- package/es/lookup/EmptyPage/EmptyPage.js +0 -0
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/es/lookup/Lookup/Lookup.js +0 -0
- package/es/lookup/Lookup/Lookup.module.css +26 -26
- package/es/lookup/Section/LookupSection.module.css +7 -7
- package/es/lookup/header/Close/LookupClose.module.css +15 -15
- package/es/lookup/header/Search/LookupSearch.module.css +57 -57
- package/es/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/es/lookup/header/Title/LookupTitle.module.css +20 -20
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
- package/es/lookup/header/lookupHeaderCommon.module.css +41 -41
- package/es/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/es/setup/header/Button/HeaderButton.module.css +5 -5
- package/es/setup/header/Link/HeaderLink.module.css +21 -21
- package/es/setup/header/Search/Search.module.css +68 -68
- package/es/setup/header/Views/Views.module.css +37 -37
- package/es/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/es/setup/helptips/Link/HelpTipsLink.module.css +7 -7
- package/es/setup/helptips/Link/Link.js +0 -0
- package/es/setup/helptips/ListGroup/ListGroup.module.css +22 -22
- package/es/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/es/setup/helptips/Title/Title.js +0 -0
- package/es/setup/table/TableData/SetupTableData.module.css +44 -44
- package/es/setup/table/TableData/Tablehover.module.css +6 -6
- package/es/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/es/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/es/setup/table/Text/TableText.module.css +37 -37
- package/es/setup/table/Text/Text.js +0 -0
- package/es/svg/PlusIcon.js +1 -1
- package/es/svg/SnippetIcon.js +2 -2
- package/es/version2/AlertClose/AlertClose.module.css +42 -42
- package/es/version2/GlobalNotification/GlobalNotification.module.css +127 -127
- package/es/version2/alertIcons/AlertIcons.module.css +67 -67
- package/es/version2/errorstate/V2_ErrorStates.module.css +46 -46
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/es/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +126 -126
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
- package/install.md +12 -12
- package/lib/ActionButton/ActionButton.module.css +139 -139
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
- package/lib/Attachment/Attachment.module.css +159 -159
- package/lib/AttachmentViewer/AttachmentViewer.module.css +352 -352
- package/lib/ChannelIcon/ChannelIcon.module.css +217 -217
- package/lib/Drawer/Drawer.js +0 -0
- package/lib/Drawer/Drawer.module.css +190 -190
- package/lib/ExternalLink/ExternalLink.js +0 -0
- package/lib/ExternalLink/ExternalLink.module.css +3 -3
- package/lib/ExternalLink/__tests__/ExternalLink.spec.js +0 -0
- package/lib/FlipCard/FlipCard.module.css +44 -44
- package/lib/FormAction/FormAction.module.css +82 -82
- package/lib/FreezeLayer/css/FreezeLayer.module.css +42 -42
- package/lib/Hooks/Dragger/css/Dragger.module.css +2 -2
- package/lib/IconButton/IconButton.module.css +22 -22
- package/lib/Image/Image.module.css +11 -11
- package/lib/ImportantNotes/ImportantNotes.module.css +20 -20
- package/lib/Link/Link.js +0 -0
- package/lib/Link/Link.module.css +3 -3
- package/lib/Loader/Loader.module.css +47 -47
- package/lib/Message/Message.module.css +102 -102
- package/lib/MessageBanner/MessageBanner.module.css +46 -46
- package/lib/NewStar/NewStar.module.css +183 -183
- package/lib/PlusIcon/PlusIcon.js +0 -0
- package/lib/PlusIcon/PlusIcon.module.css +18 -18
- package/lib/Separator/Separator.module.css +34 -34
- package/lib/TagWithIcon/TagWithIcon.module.css +56 -56
- package/lib/ToastMessage/ToastMessage.js +0 -0
- package/lib/ToastMessage/ToastMessage.module.css +328 -328
- package/lib/Upload/Upload.module.css +125 -125
- package/lib/alert/AlertHeader/AlertHeader.module.css +80 -80
- package/lib/alert/AlertLookup/AlertLookup.module.css +26 -26
- package/lib/avatar/AvatarClose/AvatarClose.module.css +37 -37
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +69 -69
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/lib/avatar/AvatarStatus/AvatarStatus.js +0 -0
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +146 -146
- package/lib/avatar/AvatarThread/AvatarThread.module.css +166 -166
- package/lib/avatar/AvatarUser/AvatarUser.js +0 -0
- package/lib/avatar/AvatarUser/AvatarUser.module.css +171 -171
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +23 -23
- package/lib/common/dot_animation.module.css +26 -26
- package/lib/common/dot_boxShadow.module.css +37 -37
- package/lib/common/dot_common.module.css +3 -3
- package/lib/deprecated/FreezeLayer/_FreezeLayer.module.css +42 -42
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +56 -56
- package/lib/deprecated/utils/KeyboardApi.js +25 -25
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +100 -100
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +0 -0
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +85 -85
- package/lib/emptystate/EditionPage/EditionPage.css +43 -43
- package/lib/errorstate/EmptyStates.module.css +87 -87
- package/lib/errorstate/Inconvenience/Inconvenience.module.css +7 -7
- package/lib/errorstate/LinkText/LinkText.module.css +6 -6
- package/lib/errorstate/NoRequestFound/NoRequestFound.module.css +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.module.css +34 -34
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.module.css +3 -3
- package/lib/errorstate/UnableToProcess/UnableToProcess.module.css +3 -3
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.module.css +3 -3
- package/lib/errorstate/WillBack/WillBack.module.css +34 -34
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +0 -0
- package/lib/form/fields/Fields.module.css +183 -183
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +107 -107
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.module.css +9 -9
- package/lib/form/fields/TextEditor/TextEditor.module.css +770 -770
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.module.css +37 -37
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/lib/form/layout/Field/Field.js +0 -0
- package/lib/form/layout/Field/Field.module.css +22 -22
- package/lib/form/layout/Section/ModuleFormSection.module.css +3 -3
- package/lib/form/layout/Section/Section.js +0 -0
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +152 -152
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/lib/list/AvatarFlip/AvatarFlip.module.css +3 -3
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +17 -17
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/DepartmentDropDown/DepartmentDropDown.module.css +9 -9
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/DotNew/DotNew.module.css +24 -24
- package/lib/list/GridStencils/GridStencils.module.css +146 -146
- package/lib/list/Icons/Icons.module.css +16 -16
- package/lib/list/ListLayout/ListLayout.module.css +57 -57
- package/lib/list/ListStencils/ListStencils.module.css +67 -67
- package/lib/list/SecondaryText/SecondaryText.module.css +136 -136
- package/lib/list/SecondaryText/Website.js +0 -0
- package/lib/list/SecondryPanel/SecondryPanel.js +0 -0
- package/lib/list/SecondryPanel/SecondryPanel.module.css +5 -5
- package/lib/list/SentimentStatus/SentimentStatus.module.css +12 -12
- package/lib/list/Subject/Subject.module.css +27 -27
- package/lib/list/TagNew/TagNew.module.css +116 -116
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/list/UserTime/UserTime.module.css +58 -58
- package/lib/list/listCommon.module.css +60 -60
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +92 -92
- package/lib/list/status/StatusListItem/StatusListItem.js +0 -0
- package/lib/list/status/StatusListItem/StatusListItem.module.css +111 -111
- package/lib/lookup/EmptyPage/EmptyPage.js +0 -0
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +12 -12
- package/lib/lookup/Lookup/Lookup.js +0 -0
- package/lib/lookup/Lookup/Lookup.module.css +26 -26
- package/lib/lookup/Section/LookupSection.module.css +7 -7
- package/lib/lookup/header/Close/LookupClose.module.css +15 -15
- package/lib/lookup/header/Search/LookupSearch.module.css +57 -57
- package/lib/lookup/header/TicketHeader/TicketHeader.module.css +22 -22
- package/lib/lookup/header/Title/LookupTitle.module.css +20 -20
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +50 -50
- package/lib/lookup/header/lookupHeaderCommon.module.css +41 -41
- package/lib/lookup/header/lookupHeaderCommonResponsive.module.css +24 -24
- package/lib/setup/header/Button/HeaderButton.module.css +5 -5
- package/lib/setup/header/Link/HeaderLink.module.css +21 -21
- package/lib/setup/header/Search/Search.module.css +68 -68
- package/lib/setup/header/Views/Views.module.css +37 -37
- package/lib/setup/helptips/Description/HelpTipsDescription.module.css +6 -6
- package/lib/setup/helptips/Link/HelpTipsLink.module.css +7 -7
- package/lib/setup/helptips/Link/Link.js +0 -0
- package/lib/setup/helptips/ListGroup/ListGroup.module.css +22 -22
- package/lib/setup/helptips/Title/HelpTipsTitle.module.css +5 -5
- package/lib/setup/helptips/Title/Title.js +0 -0
- package/lib/setup/table/TableData/SetupTableData.module.css +44 -44
- package/lib/setup/table/TableData/Tablehover.module.css +6 -6
- package/lib/setup/table/TableHead/SetupTableHead.module.css +12 -12
- package/lib/setup/table/TableRow/SetupTableRow.module.css +14 -14
- package/lib/setup/table/Text/TableText.module.css +37 -37
- package/lib/setup/table/Text/Text.js +0 -0
- package/lib/svg/PlusIcon.js +1 -1
- package/lib/svg/SnippetIcon.js +2 -2
- package/lib/version2/AlertClose/AlertClose.module.css +42 -42
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +127 -127
- package/lib/version2/alertIcons/AlertIcons.module.css +67 -67
- package/lib/version2/errorstate/V2_ErrorStates.module.css +46 -46
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +43 -43
- package/lib/version2/lookup/alertLookupCommonNew.module.css +32 -32
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +126 -126
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +136 -136
- package/package.json +107 -106
- package/postPublish.js +8 -8
- package/prePublish.js +70 -70
- package/assets/Appearance/dark/mode/dotDarkMode.module.css +0 -555
- package/assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css +0 -16
- package/assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css +0 -16
- package/assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css +0 -16
- package/assets/Appearance/dark/themes/red/redDarkDotTheme.module.css +0 -16
- package/assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css +0 -16
- package/assets/Appearance/default/mode/dotDefaultMode.module.css +0 -555
- package/assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css +0 -16
- package/assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css +0 -16
- package/assets/Appearance/default/themes/orange/orangeDefaultDotTheme.module.css +0 -16
- package/assets/Appearance/default/themes/red/redDefaultDotTheme.module.css +0 -16
- package/assets/Appearance/default/themes/yellow/yellowDefaultDotTheme.module.css +0 -16
- package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +0 -555
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +0 -16
- package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +0 -16
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +0 -16
- package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +0 -16
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +0 -16
package/package.json
CHANGED
|
@@ -1,106 +1,107 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@zohodesk/dot",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"main": "lib/index",
|
|
5
|
-
"module": "es/index.js",
|
|
6
|
-
"private": false,
|
|
7
|
-
"publishConfig": {
|
|
8
|
-
"access": "public"
|
|
9
|
-
},
|
|
10
|
-
"author": "Z Team",
|
|
11
|
-
"homepage": "https://www.npmjs.com/search?q=@zohodesk",
|
|
12
|
-
"license": "ISC",
|
|
13
|
-
"keywords": [
|
|
14
|
-
"DOT",
|
|
15
|
-
"ZOHODESK",
|
|
16
|
-
"ZTEAM",
|
|
17
|
-
"LIBRARY"
|
|
18
|
-
],
|
|
19
|
-
"scripts": {
|
|
20
|
-
"clean": "react-cli clean lib es coverage assets && mkdir assets",
|
|
21
|
-
"dubCheck": "node ./node_modules/@zohodesk-private/node-plugins/es/dublication_css_file_finder node_modules/@zohodesk/components/lib node_modules/@zohodesk/icons/lib node_modules/@zohodesk/variables/lib",
|
|
22
|
-
"build:lib": "react-cli build:component:cmjs",
|
|
23
|
-
"build:es": "react-cli build:library:es",
|
|
24
|
-
"build": "npm run build:lib && npm run build:es",
|
|
25
|
-
"build:local": " npm run build && npm run rtl && npm run cssVariableConvert ",
|
|
26
|
-
"build:watch": "npm run build:variables && npm run build && npm run build:es --module:mode=dev -- -w",
|
|
27
|
-
"rtl:watch": "react-cli rtl ./src ./es -w",
|
|
28
|
-
"rtl": "react-cli rtl ./src ./lib && react-cli rtl ./src ./es",
|
|
29
|
-
"prepare": "node prePublish.js && react-cli clean assets && npm run init && npm run build && npm run rtl && npm run cssVariableConvert ",
|
|
30
|
-
"init": "npm run clean && npm run build:variables",
|
|
31
|
-
"build:variables": "node ./preprocess/index",
|
|
32
|
-
"lint": "react-cli lint",
|
|
33
|
-
"lintAll": "react-cli lint ./src",
|
|
34
|
-
"lintAllFix": "npm run lintAll --eslint:fix=true",
|
|
35
|
-
"test": "react-cli test",
|
|
36
|
-
"sstest": "react-cli sstest",
|
|
37
|
-
"common_package_build": "cd ../common && npm run build && cd ../dot",
|
|
38
|
-
"docs": "npm run dubCheck && react-cli docs",
|
|
39
|
-
"postpublish": "node postPublish.js",
|
|
40
|
-
"download": "react-cli clean ./node_modules ./package-lock.json && npm install",
|
|
41
|
-
"expublish": "npm publish --tag experimental-version",
|
|
42
|
-
"cssVariableConvert": "react-cli variableConverter ./lib ./lib && react-cli variableConverter ./es ./es",
|
|
43
|
-
"variable:addignore": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/variableIgnore.js ./src",
|
|
44
|
-
"variable:convert": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/pxParserPostcss.js ./src",
|
|
45
|
-
"variable:check": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/variableErrorCheck.js ./src ./node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json"
|
|
46
|
-
},
|
|
47
|
-
"devDependencies": {
|
|
48
|
-
"@zohodesk-private/css-variable-migrator": "^1.0.5",
|
|
49
|
-
"@zohodesk-private/node-plugins": "^1.0.0",
|
|
50
|
-
"@zohodesk/
|
|
51
|
-
"@zohodesk/components": "1.
|
|
52
|
-
"@zohodesk/
|
|
53
|
-
"@zohodesk/
|
|
54
|
-
"@zohodesk/
|
|
55
|
-
"@zohodesk/
|
|
56
|
-
"@zohodesk/
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"
|
|
63
|
-
"@zohodesk/
|
|
64
|
-
"@zohodesk/
|
|
65
|
-
"@zohodesk/
|
|
66
|
-
"@zohodesk/
|
|
67
|
-
"@zohodesk/
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"**/
|
|
81
|
-
"**/
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"@zohodesk/
|
|
100
|
-
"@zohodesk/
|
|
101
|
-
"/
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@zohodesk/dot",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"main": "lib/index",
|
|
5
|
+
"module": "es/index.js",
|
|
6
|
+
"private": false,
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"author": "Z Team",
|
|
11
|
+
"homepage": "https://www.npmjs.com/search?q=@zohodesk",
|
|
12
|
+
"license": "ISC",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"DOT",
|
|
15
|
+
"ZOHODESK",
|
|
16
|
+
"ZTEAM",
|
|
17
|
+
"LIBRARY"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"clean": "react-cli clean lib es coverage assets && mkdir assets",
|
|
21
|
+
"dubCheck": "node ./node_modules/@zohodesk-private/node-plugins/es/dublication_css_file_finder node_modules/@zohodesk/components/lib node_modules/@zohodesk/icons/lib node_modules/@zohodesk/variables/lib",
|
|
22
|
+
"build:lib": "react-cli build:component:cmjs",
|
|
23
|
+
"build:es": "react-cli build:library:es",
|
|
24
|
+
"build": "npm run build:lib && npm run build:es",
|
|
25
|
+
"build:local": " npm run build && npm run rtl && npm run cssVariableConvert ",
|
|
26
|
+
"build:watch": "npm run build:variables && npm run build && npm run build:es --module:mode=dev -- -w",
|
|
27
|
+
"rtl:watch": "react-cli rtl ./src ./es -w",
|
|
28
|
+
"rtl": "react-cli rtl ./src ./lib && react-cli rtl ./src ./es",
|
|
29
|
+
"prepare": "node prePublish.js && react-cli clean assets && npm run init && npm run build && npm run rtl && npm run cssVariableConvert ",
|
|
30
|
+
"init": "npm run clean && npm run build:variables",
|
|
31
|
+
"build:variables": "node ./preprocess/index",
|
|
32
|
+
"lint": "react-cli lint",
|
|
33
|
+
"lintAll": "react-cli lint ./src",
|
|
34
|
+
"lintAllFix": "npm run lintAll --eslint:fix=true",
|
|
35
|
+
"test": "react-cli test",
|
|
36
|
+
"sstest": "react-cli sstest",
|
|
37
|
+
"common_package_build": "cd ../common && npm run build && cd ../dot",
|
|
38
|
+
"docs": "npm run dubCheck && react-cli docs",
|
|
39
|
+
"postpublish": "node postPublish.js",
|
|
40
|
+
"download": "react-cli clean ./node_modules ./package-lock.json && npm install",
|
|
41
|
+
"expublish": "npm publish --tag experimental-version",
|
|
42
|
+
"cssVariableConvert": "react-cli variableConverter ./lib ./lib && react-cli variableConverter ./es ./es",
|
|
43
|
+
"variable:addignore": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/variableIgnore.js ./src",
|
|
44
|
+
"variable:convert": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/pxParserPostcss.js ./src",
|
|
45
|
+
"variable:check": "node ./node_modules/@zohodesk-private/css-variable-migrator/es/variableErrorCheck.js ./src ./node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@zohodesk-private/css-variable-migrator": "^1.0.5",
|
|
49
|
+
"@zohodesk-private/node-plugins": "^1.0.0",
|
|
50
|
+
"@zohodesk-private/color-variable-preprocessor": "1.0.5",
|
|
51
|
+
"@zohodesk/components": "1.1.0",
|
|
52
|
+
"@zohodesk/a11y": "2.0.0",
|
|
53
|
+
"@zohodesk/i18n": "1.0.0-beta.23",
|
|
54
|
+
"@zohodesk/icons": "1.0.0",
|
|
55
|
+
"@zohodesk/svg": "1.1.0",
|
|
56
|
+
"@zohodesk/variables": "1.0.0",
|
|
57
|
+
"@zohodesk/virtualizer": "1.0.3",
|
|
58
|
+
"react-sortable-hoc": "^0.8.3",
|
|
59
|
+
"velocity-react": "1.4.3"
|
|
60
|
+
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"velocity-react": "1.4.3",
|
|
63
|
+
"@zohodesk/variables": "1.0.0",
|
|
64
|
+
"@zohodesk/i18n": "1.0.0-beta.23",
|
|
65
|
+
"@zohodesk/components": "1.1.0",
|
|
66
|
+
"@zohodesk/icons": "1.0.0",
|
|
67
|
+
"@zohodesk/svg": "1.1.0",
|
|
68
|
+
"@zohodesk/virtualizer": "1.0.3",
|
|
69
|
+
"react-sortable-hoc": "^0.8.3",
|
|
70
|
+
"@zohodesk/a11y": "1.3.7"
|
|
71
|
+
},
|
|
72
|
+
"react-cli": {
|
|
73
|
+
"preprocess": {
|
|
74
|
+
"runner": "./preprocess/index.js"
|
|
75
|
+
},
|
|
76
|
+
"css": {
|
|
77
|
+
"cssVariableReplacementConfig": "./node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json",
|
|
78
|
+
"patterns": {
|
|
79
|
+
"cssVariableReplacement": [
|
|
80
|
+
"**/src/**",
|
|
81
|
+
"**/lib/**",
|
|
82
|
+
"**/es/**"
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"plugins": {
|
|
86
|
+
"hasRTL": true,
|
|
87
|
+
"cssVariableReplacement": true
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"docs": {
|
|
91
|
+
"disableES5Transpile": true,
|
|
92
|
+
"componentFolder": "./src",
|
|
93
|
+
"cssUniqueness": "false",
|
|
94
|
+
"plugins": {
|
|
95
|
+
"hasRTL": true
|
|
96
|
+
},
|
|
97
|
+
"exclude": {
|
|
98
|
+
"rtl": [
|
|
99
|
+
"@zohodesk/icons",
|
|
100
|
+
"@zohodesk/variables",
|
|
101
|
+
"@zohodesk/components",
|
|
102
|
+
"/jsapps/components/lib"
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
package/postPublish.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const { execSync } = require('child_process');
|
|
2
|
-
const { version, name } = require('./package.json');
|
|
3
|
-
const tagName = `${name}@${version}`;
|
|
4
|
-
// const tagName = `${name.replace(/^@/g, "").replace(/\//g, "-")}-v-${version}}@${version}`;
|
|
5
|
-
console.log(`going to add git tag... ${tagName}`);
|
|
6
|
-
|
|
7
|
-
execSync(`git tag -a ${tagName} -m ${tagName}`, { stdio: 'inherit' });
|
|
8
|
-
execSync(`git push origin ${tagName}`, { stdio: 'inherit' });
|
|
1
|
+
const { execSync } = require('child_process');
|
|
2
|
+
const { version, name } = require('./package.json');
|
|
3
|
+
const tagName = `${name}@${version}`;
|
|
4
|
+
// const tagName = `${name.replace(/^@/g, "").replace(/\//g, "-")}-v-${version}}@${version}`;
|
|
5
|
+
console.log(`going to add git tag... ${tagName}`);
|
|
6
|
+
|
|
7
|
+
execSync(`git tag -a ${tagName} -m ${tagName}`, { stdio: 'inherit' });
|
|
8
|
+
execSync(`git push origin ${tagName}`, { stdio: 'inherit' });
|
package/prePublish.js
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
const readline = require('readline');
|
|
2
|
-
const { exec } = require('child_process');
|
|
3
|
-
|
|
4
|
-
const rl = readline.createInterface({
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
});
|
|
8
|
-
|
|
9
|
-
console.log('\nNode.js version:', process.version);
|
|
10
|
-
|
|
11
|
-
function runConsole(command, callback) {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
function askQuestion1() {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
function askQuestion2() {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
function getReactCliVersion() {
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
runConsole('npm --version', getReactCliVersion);
|
|
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);
|