@elice/material-exercise 1.251120.1 → 1.260128.0-rc.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/cjs/_virtual/_rollupPluginBabelHelpers.js +241 -451
- package/cjs/components/index.js +9 -9
- package/cjs/components/material-exercise/MaterialExercise.js +14 -17
- package/cjs/components/material-exercise/MaterialExercise.styled.d.ts +40 -10
- package/cjs/components/material-exercise/MaterialExercise.styled.js +68 -33
- package/cjs/components/material-exercise/MaterialExerciseMobile.js +3 -6
- package/cjs/components/material-exercise/context/ExerciseProvider.js +17 -8
- package/cjs/components/material-exercise/context/ExerciseProviderNoImage.d.ts +1 -1
- package/cjs/components/material-exercise/context/ExerciseProviderNoImage.js +5 -5
- package/cjs/components/material-exercise/context/recoil.js +202 -219
- package/cjs/components/material-exercise/context/recoilTypes.d.ts +1 -2
- package/cjs/components/material-exercise/context/types.d.ts +0 -1
- package/cjs/components/material-exercise/exercise-code-history/ExerciseCodeHistory.js +9 -25
- package/cjs/components/material-exercise/exercise-code-history/ExerciseCodeHistory.styled.d.ts +23 -9
- package/cjs/components/material-exercise/exercise-code-history/ExerciseCodeHistory.styled.js +45 -22
- package/cjs/components/material-exercise/exercise-file/ExerciseFile.js +8 -22
- package/cjs/components/material-exercise/exercise-file-editor/ExerciseFileEditor.js +34 -48
- package/cjs/components/material-exercise/exercise-file-editor/ExerciseFileReadOnlyBanner.js +5 -9
- package/cjs/components/material-exercise/exercise-file-tabs/ExerciseFileTabs.js +16 -15
- package/cjs/components/material-exercise/exercise-file-tabs/ExerciseFileTabsLazy.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-file-tabs/ExerciseFileTabsLazy.js +1 -5
- package/cjs/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/ExerciseFileTabsFileTreeButton.js +10 -13
- package/cjs/components/material-exercise/exercise-file-tree/ExerciseFileTree.js +73 -99
- package/cjs/components/material-exercise/exercise-file-tree/ExerciseFileTreeLazy.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-file-tree/ExerciseFileTreeLazy.js +1 -5
- package/cjs/components/material-exercise/exercise-file-viewer/ExerciseFileViewer.js +2 -9
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenu.js +7 -10
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuArduinoAgentModalButton.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuArduinoAgentModalButton.js +0 -4
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuArduinoSettings.js +10 -14
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuDropdown.js +5 -7
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuReset.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuReset.js +1 -15
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.js +6 -12
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.styled.d.ts +46 -13
- package/cjs/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.styled.js +81 -38
- package/cjs/components/material-exercise/exercise-multilang-dropdown/ExerciseMultilangDropdown.js +2 -5
- package/cjs/components/material-exercise/exercise-multilang-dropdown/ExerciseMultilangDropdownLazy.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-preview/ExercisePreview.js +9 -11
- package/cjs/components/material-exercise/exercise-preview/ExercisePreviewDisplayModeButton.d.ts +1 -2
- package/cjs/components/material-exercise/exercise-preview/ExercisePreviewDisplayModeButton.js +3 -6
- package/cjs/components/material-exercise/exercise-rightpane/ExerciseRightpane.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-rightpane/ExerciseRightpane.js +25 -21
- package/cjs/components/material-exercise/exercise-rightpane/ExerciseRightpaneEditorPerference.js +1 -6
- package/cjs/components/material-exercise/exercise-rightpane/ExerciseRightpaneEnvironment.js +16 -11
- package/cjs/components/material-exercise/exercise-room/ExerciseRoom.styled.d.ts +30 -9
- package/cjs/components/material-exercise/exercise-room/ExerciseRoom.styled.js +33 -25
- package/cjs/components/material-exercise/exercise-room/ExerciseRoomDetail.js +101 -106
- package/cjs/components/material-exercise/exercise-room/ExerciseRoomList.js +31 -35
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunner.js +53 -72
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerController.js +8 -22
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoAgentModal.js +2 -6
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoStatusMessage.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoStatusMessage.js +28 -22
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerButtonGroup.js +23 -27
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerCodeHelpRequestButton.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerRunningInfo.js +28 -26
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusIndicator.d.ts +4 -1
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusIndicator.js +6 -6
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusMessage.d.ts +1 -1
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusMessage.js +15 -11
- package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerTimer.js +6 -9
- package/cjs/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.js +107 -114
- package/cjs/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.styled.d.ts +30 -9
- package/cjs/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.styled.js +55 -26
- package/cjs/components/material-exercise/exercise-submit-history/ExerciseSubmitHistoryOutput.js +20 -16
- package/cjs/components/material-exercise/index.d.ts +1 -1
- package/cjs/components/shared/exercise-menu-button/ExerciseMenuButton.d.ts +1 -1
- package/cjs/components/shared/exercise-menu-button/ExerciseMenuButton.js +18 -10
- package/cjs/components/shared/exercise-shimmer/ExerciseFileShimmer.d.ts +1 -1
- package/cjs/components/shared/exercise-shimmer/ExerciseFileShimmer.js +17 -17
- package/cjs/components/shared/exercise-shimmer/ExerciseFileTabShimmer.d.ts +1 -1
- package/cjs/components/shared/exercise-shimmer/ExerciseFileTabShimmer.js +9 -9
- package/cjs/components/shared/exercise-shimmer/ExerciseFileTabsShimmer.d.ts +1 -1
- package/cjs/components/shared/exercise-shimmer/ExerciseFileTabsShimmer.js +5 -5
- package/cjs/components/shared/exercise-shimmer/ExerciseFileTreeListItemShimmer.d.ts +1 -1
- package/cjs/components/shared/exercise-shimmer/ExerciseFileTreeListItemShimmer.js +12 -12
- package/cjs/components/shared/exercise-shimmer/ExerciseFileTreeListShimmer.js +19 -11
- package/cjs/components/shared/exercise-version-list/ExerciseVersionList.d.ts +1 -1
- package/cjs/components/shared/exercise-version-list/ExerciseVersionList.styled.d.ts +5 -8
- package/cjs/components/shared/exercise-version-list/ExerciseVersionList.styled.js +13 -5
- package/cjs/components/shared/exercise-version-list/ExerciseVersionListItem.d.ts +1 -1
- package/cjs/components/shared/exercise-version-list/ExerciseVersionListItem.styled.d.ts +20 -5
- package/cjs/components/shared/exercise-version-list/ExerciseVersionListItem.styled.js +37 -15
- package/cjs/components/shared/file-tabs/FileTab.js +5 -5
- package/cjs/components/shared/file-tabs/FileTab.styled.d.ts +29 -8
- package/cjs/components/shared/file-tabs/FileTab.styled.js +50 -27
- package/cjs/components/shared/file-tabs/FileTabs.styled.d.ts +8 -2
- package/cjs/components/shared/file-tabs/FileTabs.styled.js +17 -9
- package/cjs/components/shared/file-tree/FileTree.d.ts +1 -1
- package/cjs/components/shared/file-tree/FileTree.js +20 -12
- package/cjs/components/shared/file-tree/FileTreeConfig.js +6 -6
- package/cjs/components/shared/file-tree/FileTreeList.d.ts +1 -1
- package/cjs/components/shared/file-tree/FileTreeList.js +10 -8
- package/cjs/components/shared/file-tree/FileTreeListItemContent.js +5 -5
- package/cjs/components/shared/file-tree/FileTreeListItemContent.styled.d.ts +35 -10
- package/cjs/components/shared/file-tree/FileTreeListItemContent.styled.js +49 -33
- package/cjs/components/shared/file-tree/FileTreeListItemContentInput.js +9 -9
- package/cjs/components/shared/file-tree/FileTreeListItemContentInput.styled.d.ts +7 -3
- package/cjs/components/shared/file-tree/FileTreeListItemContentInput.styled.js +16 -8
- package/cjs/components/shared/file-tree/FileTreeListItemContentMenu.js +1 -1
- package/cjs/components/shared/file-tree/FileTreeListItems.d.ts +1 -1
- package/cjs/components/shared/file-tree/FileTreeListItems.js +13 -11
- package/cjs/components/shared/file-tree/FileTreeListItems.styled.d.ts +8 -2
- package/cjs/components/shared/file-tree/FileTreeListItems.styled.js +23 -8
- package/cjs/components/shared/file-tree/FileTreeToolbar.styled.d.ts +4 -1
- package/cjs/components/shared/file-tree/FileTreeToolbar.styled.js +5 -5
- package/cjs/components/shared/file-tree/context/FileTreeContext.d.ts +1 -1
- package/cjs/components/shared/file-tree/context/FileTreeContext.js +0 -1
- package/cjs/components/shared/file-tree/file-tree-toolbar/FileTreeToolbar.js +7 -7
- package/cjs/components/shared/file-tree/index.d.ts +1 -1
- package/cjs/components/shared/file-tree/utils/fileTreeGenerator.js +2 -4
- package/cjs/components/shared/file-viewer/FileViewer.js +10 -14
- package/cjs/components/shared/file-viewer/FileViewerCsv.js +68 -52
- package/cjs/components/shared/file-viewer/FileViewerImage.d.ts +1 -1
- package/cjs/components/shared/file-viewer/FileViewerImage.js +14 -10
- package/cjs/components/shared/file-viewer/FileViewerIpynb.js +14 -10
- package/cjs/components/shared/file-viewer/FileViewerNonViewable.d.ts +1 -1
- package/cjs/components/shared/file-viewer/FileViewerNonViewable.js +46 -17
- package/cjs/components/shared/file-viewer/FileViewerText.js +3 -13
- package/cjs/components/shared/material-modal/MaterialModal.d.ts +1 -1
- package/cjs/components/shared/material-modal/MaterialModal.styled.d.ts +19 -6
- package/cjs/components/shared/material-modal/MaterialModal.styled.js +25 -17
- package/cjs/components/shared/monaco-editor/MonacoEditor.js +22 -14
- package/cjs/components/shared/monaco-editor/MonacoEditorLazy.js +0 -4
- package/cjs/components/shared/monaco-editor/MonacoEditorMobile.js +2 -2
- package/cjs/components/shared/monaco-editor/MonacoEditorPerferenceForm.js +28 -21
- package/cjs/components/shared/monaco-editor/editor-hooks/useMonacoMarkers.js +0 -1
- package/cjs/components/shared/monaco-editor/editor-hooks/useMonacoOptions.d.ts +0 -1
- package/cjs/components/shared/monaco-editor/editor-hooks/useMonacoOptions.js +2 -2
- package/cjs/components/shared/monaco-editor/editor-hooks/useMonacoTheme.d.ts +1 -1
- package/cjs/components/shared/monaco-editor/editor-hooks/useMonacoTheme.js +1 -2
- package/cjs/components/shared/monaco-editor/editor-languages/css/formatter.js +17 -21
- package/cjs/components/shared/monaco-editor/editor-languages/css/index.js +1 -1
- package/cjs/components/shared/monaco-editor/editor-languages/html/formatter.js +17 -21
- package/cjs/components/shared/monaco-editor/editor-languages/html/index.js +1 -1
- package/cjs/components/shared/monaco-editor/editor-languages/typescript/formatter.js +20 -24
- package/cjs/components/shared/monaco-editor/editor-languages/typescript/index.js +1 -2
- package/cjs/components/shared/monaco-editor/hooks/useEditorOptions.js +1 -1
- package/cjs/components/shared/monaco-editor/index.js +5 -5
- package/cjs/components/shared/monaco-editor/utils/emmet/abbreviationActions.d.ts +1 -1
- package/cjs/components/shared/monaco-editor/utils/emmet/abbreviationActions.js +2 -2
- package/cjs/components/shared/monaco-editor/utils/emmet/registerProvider.js +2 -2
- package/cjs/components/shared/monaco-editor/utils/grammar/index.js +24 -28
- package/cjs/components/shared/monaco-editor/utils/grammar/onigasm.js +8 -9
- package/cjs/components/shared/monaco-editor/utils/grammar/textmate.js +16 -18
- package/cjs/components/shared/monaco-editor/utils/prettier/index.js +13 -16
- package/cjs/components/shared/monaco-editor/utils/theme/convert.js +1 -1
- package/cjs/components/shared/monaco-editor/utils/theme/index.js +4 -7
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursor.js +1 -2
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursorManager.d.ts +1 -2
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursorManager.js +2 -3
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursorWidget.js +1 -2
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteSelection.js +1 -2
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteSelectionManager.d.ts +1 -2
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteSelectionManager.js +1 -2
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/styles.d.ts +1 -1
- package/cjs/components/shared/monaco-editor/vendors/monaco-collab-ext/styles.js +2 -2
- package/cjs/components/shared/monaco-editor/vendors/vscode-emmet-helper/emmetHelper.js +0 -1
- package/cjs/components/shared/no-vnc/NoVnc.js +44 -24
- package/cjs/components/shared/preview-container/PreviewContainer.d.ts +1 -1
- package/cjs/components/shared/preview-container/PreviewContainer.js +8 -8
- package/cjs/components/shared/web-browser/WebBrowser.js +20 -12
- package/cjs/components/shared/xterm/Xterm.js +9 -9
- package/cjs/components/shared/xterm/utils/index.js +0 -1
- package/cjs/constants/stylesheets.d.ts +2 -2
- package/cjs/constants/stylesheets.js +2 -2
- package/cjs/hooks/useArduino.js +70 -80
- package/cjs/hooks/useExerciseFile.js +1 -4
- package/cjs/hooks/useMaterialExerciseFileUrl.js +13 -13
- package/cjs/hooks/useRunnerRoomWebSocket.js +7 -10
- package/cjs/hooks/useStdioTextConcator.js +3 -6
- package/cjs/hooks/useUsercodeEditWebSocket.js +26 -29
- package/cjs/hooks/useUsercodeHistory.js +28 -30
- package/cjs/index.js +9 -9
- package/cjs/utils/arduino.d.ts +0 -3
- package/es/_virtual/_rollupPluginBabelHelpers.js +240 -451
- package/es/components/index.js +3 -3
- package/es/components/material-exercise/MaterialExercise.js +14 -17
- package/es/components/material-exercise/MaterialExercise.styled.d.ts +40 -10
- package/es/components/material-exercise/MaterialExercise.styled.js +67 -32
- package/es/components/material-exercise/MaterialExerciseMobile.js +3 -6
- package/es/components/material-exercise/context/ExerciseProvider.js +16 -7
- package/es/components/material-exercise/context/ExerciseProviderNoImage.d.ts +1 -1
- package/es/components/material-exercise/context/ExerciseProviderNoImage.js +4 -4
- package/es/components/material-exercise/context/recoil.js +204 -221
- package/es/components/material-exercise/context/recoilTypes.d.ts +1 -2
- package/es/components/material-exercise/context/types.d.ts +0 -1
- package/es/components/material-exercise/exercise-code-history/ExerciseCodeHistory.js +9 -25
- package/es/components/material-exercise/exercise-code-history/ExerciseCodeHistory.styled.d.ts +23 -9
- package/es/components/material-exercise/exercise-code-history/ExerciseCodeHistory.styled.js +44 -21
- package/es/components/material-exercise/exercise-file/ExerciseFile.js +7 -21
- package/es/components/material-exercise/exercise-file-editor/ExerciseFileEditor.js +35 -49
- package/es/components/material-exercise/exercise-file-editor/ExerciseFileReadOnlyBanner.js +4 -8
- package/es/components/material-exercise/exercise-file-tabs/ExerciseFileTabs.js +15 -14
- package/es/components/material-exercise/exercise-file-tabs/ExerciseFileTabsLazy.d.ts +1 -1
- package/es/components/material-exercise/exercise-file-tabs/ExerciseFileTabsLazy.js +1 -5
- package/es/components/material-exercise/exercise-file-tabs/exercise-file-tabs-file-tree-button/ExerciseFileTabsFileTreeButton.js +9 -12
- package/es/components/material-exercise/exercise-file-tree/ExerciseFileTree.js +73 -99
- package/es/components/material-exercise/exercise-file-tree/ExerciseFileTreeLazy.d.ts +1 -1
- package/es/components/material-exercise/exercise-file-tree/ExerciseFileTreeLazy.js +1 -5
- package/es/components/material-exercise/exercise-file-viewer/ExerciseFileViewer.js +2 -9
- package/es/components/material-exercise/exercise-menu/ExerciseMenu.js +6 -9
- package/es/components/material-exercise/exercise-menu/ExerciseMenuArduinoAgentModalButton.d.ts +1 -1
- package/es/components/material-exercise/exercise-menu/ExerciseMenuArduinoAgentModalButton.js +0 -4
- package/es/components/material-exercise/exercise-menu/ExerciseMenuArduinoSettings.js +10 -14
- package/es/components/material-exercise/exercise-menu/ExerciseMenuDropdown.js +5 -7
- package/es/components/material-exercise/exercise-menu/ExerciseMenuReset.d.ts +1 -1
- package/es/components/material-exercise/exercise-menu/ExerciseMenuReset.js +1 -15
- package/es/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.js +7 -13
- package/es/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.styled.d.ts +46 -13
- package/es/components/material-exercise/exercise-menu/ExerciseMenuStdioFileBrowser.styled.js +80 -37
- package/es/components/material-exercise/exercise-multilang-dropdown/ExerciseMultilangDropdown.js +2 -5
- package/es/components/material-exercise/exercise-multilang-dropdown/ExerciseMultilangDropdownLazy.d.ts +1 -1
- package/es/components/material-exercise/exercise-preview/ExercisePreview.js +8 -10
- package/es/components/material-exercise/exercise-preview/ExercisePreviewDisplayModeButton.d.ts +1 -2
- package/es/components/material-exercise/exercise-preview/ExercisePreviewDisplayModeButton.js +3 -6
- package/es/components/material-exercise/exercise-rightpane/ExerciseRightpane.d.ts +1 -1
- package/es/components/material-exercise/exercise-rightpane/ExerciseRightpane.js +25 -21
- package/es/components/material-exercise/exercise-rightpane/ExerciseRightpaneEditorPerference.js +1 -6
- package/es/components/material-exercise/exercise-rightpane/ExerciseRightpaneEnvironment.js +15 -10
- package/es/components/material-exercise/exercise-room/ExerciseRoom.styled.d.ts +30 -9
- package/es/components/material-exercise/exercise-room/ExerciseRoom.styled.js +32 -24
- package/es/components/material-exercise/exercise-room/ExerciseRoomDetail.js +103 -108
- package/es/components/material-exercise/exercise-room/ExerciseRoomList.js +32 -36
- package/es/components/material-exercise/exercise-runner/ExerciseRunner.js +53 -72
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerController.js +7 -21
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoAgentModal.js +2 -6
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoStatusMessage.d.ts +1 -1
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoStatusMessage.js +27 -21
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerButtonGroup.js +22 -26
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerCodeHelpRequestButton.d.ts +1 -1
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerCodeHelpRequestButton.js +1 -1
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerRunningInfo.js +28 -26
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusIndicator.d.ts +4 -1
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusIndicator.js +5 -5
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusMessage.d.ts +1 -1
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerStatusMessage.js +14 -10
- package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerTimer.js +5 -8
- package/es/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.js +108 -115
- package/es/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.styled.d.ts +30 -9
- package/es/components/material-exercise/exercise-submit-history/ExerciseSubmitHistory.styled.js +54 -25
- package/es/components/material-exercise/exercise-submit-history/ExerciseSubmitHistoryOutput.js +20 -16
- package/es/components/material-exercise/index.d.ts +1 -1
- package/es/components/shared/exercise-menu-button/ExerciseMenuButton.d.ts +1 -1
- package/es/components/shared/exercise-menu-button/ExerciseMenuButton.js +18 -10
- package/es/components/shared/exercise-shimmer/ExerciseFileShimmer.d.ts +1 -1
- package/es/components/shared/exercise-shimmer/ExerciseFileShimmer.js +16 -16
- package/es/components/shared/exercise-shimmer/ExerciseFileTabShimmer.d.ts +1 -1
- package/es/components/shared/exercise-shimmer/ExerciseFileTabShimmer.js +8 -8
- package/es/components/shared/exercise-shimmer/ExerciseFileTabsShimmer.d.ts +1 -1
- package/es/components/shared/exercise-shimmer/ExerciseFileTabsShimmer.js +4 -4
- package/es/components/shared/exercise-shimmer/ExerciseFileTreeListItemShimmer.d.ts +1 -1
- package/es/components/shared/exercise-shimmer/ExerciseFileTreeListItemShimmer.js +12 -12
- package/es/components/shared/exercise-shimmer/ExerciseFileTreeListShimmer.js +18 -10
- package/es/components/shared/exercise-version-list/ExerciseVersionList.d.ts +1 -1
- package/es/components/shared/exercise-version-list/ExerciseVersionList.styled.d.ts +5 -8
- package/es/components/shared/exercise-version-list/ExerciseVersionList.styled.js +12 -4
- package/es/components/shared/exercise-version-list/ExerciseVersionListItem.d.ts +1 -1
- package/es/components/shared/exercise-version-list/ExerciseVersionListItem.styled.d.ts +20 -5
- package/es/components/shared/exercise-version-list/ExerciseVersionListItem.styled.js +36 -14
- package/es/components/shared/file-tabs/FileTab.js +5 -5
- package/es/components/shared/file-tabs/FileTab.styled.d.ts +29 -8
- package/es/components/shared/file-tabs/FileTab.styled.js +49 -26
- package/es/components/shared/file-tabs/FileTabs.styled.d.ts +8 -2
- package/es/components/shared/file-tabs/FileTabs.styled.js +16 -8
- package/es/components/shared/file-tree/FileTree.d.ts +1 -1
- package/es/components/shared/file-tree/FileTree.js +19 -11
- package/es/components/shared/file-tree/FileTreeConfig.js +5 -5
- package/es/components/shared/file-tree/FileTreeList.d.ts +1 -1
- package/es/components/shared/file-tree/FileTreeList.js +10 -8
- package/es/components/shared/file-tree/FileTreeListItemContent.js +5 -5
- package/es/components/shared/file-tree/FileTreeListItemContent.styled.d.ts +35 -10
- package/es/components/shared/file-tree/FileTreeListItemContent.styled.js +49 -33
- package/es/components/shared/file-tree/FileTreeListItemContentInput.js +9 -9
- package/es/components/shared/file-tree/FileTreeListItemContentInput.styled.d.ts +7 -3
- package/es/components/shared/file-tree/FileTreeListItemContentInput.styled.js +15 -7
- package/es/components/shared/file-tree/FileTreeListItemContentMenu.js +1 -1
- package/es/components/shared/file-tree/FileTreeListItems.d.ts +1 -1
- package/es/components/shared/file-tree/FileTreeListItems.js +13 -11
- package/es/components/shared/file-tree/FileTreeListItems.styled.d.ts +8 -2
- package/es/components/shared/file-tree/FileTreeListItems.styled.js +22 -7
- package/es/components/shared/file-tree/FileTreeToolbar.styled.d.ts +4 -1
- package/es/components/shared/file-tree/FileTreeToolbar.styled.js +4 -4
- package/es/components/shared/file-tree/context/FileTreeContext.d.ts +1 -1
- package/es/components/shared/file-tree/context/FileTreeContext.js +0 -1
- package/es/components/shared/file-tree/file-tree-toolbar/FileTreeToolbar.js +7 -7
- package/es/components/shared/file-tree/index.d.ts +1 -1
- package/es/components/shared/file-tree/utils/fileTreeGenerator.js +3 -5
- package/es/components/shared/file-viewer/FileViewer.js +9 -13
- package/es/components/shared/file-viewer/FileViewerCsv.js +68 -52
- package/es/components/shared/file-viewer/FileViewerImage.d.ts +1 -1
- package/es/components/shared/file-viewer/FileViewerImage.js +13 -9
- package/es/components/shared/file-viewer/FileViewerIpynb.js +13 -9
- package/es/components/shared/file-viewer/FileViewerNonViewable.d.ts +1 -1
- package/es/components/shared/file-viewer/FileViewerNonViewable.js +45 -16
- package/es/components/shared/file-viewer/FileViewerText.js +3 -13
- package/es/components/shared/material-modal/MaterialModal.d.ts +1 -1
- package/es/components/shared/material-modal/MaterialModal.styled.d.ts +19 -6
- package/es/components/shared/material-modal/MaterialModal.styled.js +24 -16
- package/es/components/shared/monaco-editor/MonacoEditor.js +21 -13
- package/es/components/shared/monaco-editor/MonacoEditorLazy.js +0 -4
- package/es/components/shared/monaco-editor/MonacoEditorMobile.js +2 -2
- package/es/components/shared/monaco-editor/MonacoEditorPerferenceForm.js +27 -20
- package/es/components/shared/monaco-editor/editor-hooks/useMonacoMarkers.js +0 -1
- package/es/components/shared/monaco-editor/editor-hooks/useMonacoOptions.d.ts +0 -1
- package/es/components/shared/monaco-editor/editor-hooks/useMonacoOptions.js +2 -2
- package/es/components/shared/monaco-editor/editor-hooks/useMonacoTheme.d.ts +1 -1
- package/es/components/shared/monaco-editor/editor-hooks/useMonacoTheme.js +1 -2
- package/es/components/shared/monaco-editor/editor-languages/css/formatter.js +18 -22
- package/es/components/shared/monaco-editor/editor-languages/css/index.js +1 -1
- package/es/components/shared/monaco-editor/editor-languages/html/formatter.js +18 -22
- package/es/components/shared/monaco-editor/editor-languages/html/index.js +1 -1
- package/es/components/shared/monaco-editor/editor-languages/typescript/formatter.js +21 -25
- package/es/components/shared/monaco-editor/editor-languages/typescript/index.js +1 -2
- package/es/components/shared/monaco-editor/hooks/useEditorOptions.js +1 -1
- package/es/components/shared/monaco-editor/index.js +2 -2
- package/es/components/shared/monaco-editor/utils/emmet/abbreviationActions.d.ts +1 -1
- package/es/components/shared/monaco-editor/utils/emmet/abbreviationActions.js +2 -2
- package/es/components/shared/monaco-editor/utils/emmet/registerProvider.js +2 -2
- package/es/components/shared/monaco-editor/utils/grammar/index.js +25 -29
- package/es/components/shared/monaco-editor/utils/grammar/onigasm.js +9 -10
- package/es/components/shared/monaco-editor/utils/grammar/textmate.js +17 -19
- package/es/components/shared/monaco-editor/utils/prettier/index.js +14 -17
- package/es/components/shared/monaco-editor/utils/theme/convert.js +1 -1
- package/es/components/shared/monaco-editor/utils/theme/index.js +5 -8
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursor.js +1 -2
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursorManager.d.ts +1 -2
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursorManager.js +2 -3
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteCursorWidget.js +1 -2
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteSelection.js +1 -2
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteSelectionManager.d.ts +1 -2
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/RemoteSelectionManager.js +1 -2
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/styles.d.ts +1 -1
- package/es/components/shared/monaco-editor/vendors/monaco-collab-ext/styles.js +2 -2
- package/es/components/shared/monaco-editor/vendors/vscode-emmet-helper/emmetHelper.js +1 -2
- package/es/components/shared/no-vnc/NoVnc.js +43 -23
- package/es/components/shared/preview-container/PreviewContainer.d.ts +1 -1
- package/es/components/shared/preview-container/PreviewContainer.js +7 -7
- package/es/components/shared/web-browser/WebBrowser.js +19 -11
- package/es/components/shared/xterm/Xterm.js +8 -8
- package/es/components/shared/xterm/utils/index.js +0 -1
- package/es/constants/stylesheets.d.ts +2 -2
- package/es/constants/stylesheets.js +2 -2
- package/es/hooks/useArduino.js +72 -82
- package/es/hooks/useExerciseFile.js +1 -4
- package/es/hooks/useMaterialExerciseFileUrl.js +14 -14
- package/es/hooks/useRunnerRoomWebSocket.js +8 -11
- package/es/hooks/useStdioTextConcator.js +3 -6
- package/es/hooks/useUsercodeEditWebSocket.js +27 -30
- package/es/hooks/useUsercodeHistory.js +29 -31
- package/es/index.js +3 -3
- package/es/utils/arduino.d.ts +0 -3
- package/es/utils/arduino.js +1 -1
- package/package.json +15 -17
|
@@ -1,42 +1,65 @@
|
|
|
1
|
+
import _styled from '@emotion/styled/base';
|
|
1
2
|
import { Text, IconButton } from '@elice/blocks';
|
|
2
3
|
import { base } from '@elice/design-tokens';
|
|
3
|
-
import
|
|
4
|
+
import { css } from '@emotion/react';
|
|
4
5
|
|
|
6
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
5
7
|
var TAB_MIN_WIDTH = '7rem';
|
|
6
8
|
var TAB_VERTICAL_BORDER_WIDTH = '1.5px';
|
|
7
9
|
var TAB_BACKGROUND_COLOR = base.color.navy8;
|
|
8
10
|
var TAB_ACTIVE_BACKGROUND_COLOR = base.color.navy9;
|
|
9
11
|
var TAB_HOVERED_BACKGROUND_COLOR = base.color.navy7;
|
|
10
12
|
// ========== Tab label ==========
|
|
11
|
-
var StyledTabLabel =
|
|
12
|
-
|
|
13
|
-
})(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
var StyledTabLabel = /*#__PURE__*/_styled("div", {
|
|
14
|
+
target: "egie1c86"
|
|
15
|
+
})("production" === "production" ? {
|
|
16
|
+
name: "1v2fhdm",
|
|
17
|
+
styles: "flex:1;display:flex;align-items:center;overflow:hidden;pointer-events:none;user-select:none;&>*{margin-right:0.5rem;}"
|
|
18
|
+
} : {
|
|
19
|
+
name: "1v2fhdm",
|
|
20
|
+
styles: "flex:1;display:flex;align-items:center;overflow:hidden;pointer-events:none;user-select:none;&>*{margin-right:0.5rem;}",
|
|
21
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
22
|
+
});
|
|
23
|
+
var StyledTabLabelFilename = /*#__PURE__*/_styled(Text, {
|
|
24
|
+
target: "egie1c85"
|
|
25
|
+
})("color:", base.color.gray4, ";font-weight:500;");
|
|
26
|
+
var StyledTabLabelDirname = /*#__PURE__*/_styled(Text, {
|
|
27
|
+
target: "egie1c84"
|
|
28
|
+
})("production" === "production" ? {
|
|
29
|
+
name: "f3vz0n",
|
|
30
|
+
styles: "font-weight:500"
|
|
31
|
+
} : {
|
|
32
|
+
name: "f3vz0n",
|
|
33
|
+
styles: "font-weight:500",
|
|
34
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
35
|
+
});
|
|
36
|
+
var StyledTabCloseButton = /*#__PURE__*/_styled(IconButton, {
|
|
37
|
+
target: "egie1c83"
|
|
38
|
+
})("production" === "production" ? {
|
|
39
|
+
name: "19zzndm",
|
|
40
|
+
styles: "flex:0 0 auto;margin-right:0.25rem!important;opacity:0;transition:opacity 150ms ease-in-out"
|
|
41
|
+
} : {
|
|
42
|
+
name: "19zzndm",
|
|
43
|
+
styles: "flex:0 0 auto;margin-right:0.25rem!important;opacity:0;transition:opacity 150ms ease-in-out",
|
|
44
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
45
|
+
});
|
|
23
46
|
// ========== Tab content ==========
|
|
24
|
-
var StyledTabContent =
|
|
25
|
-
|
|
26
|
-
})(
|
|
47
|
+
var StyledTabContent = /*#__PURE__*/_styled("div", {
|
|
48
|
+
target: "egie1c82"
|
|
49
|
+
})("display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-left:0.5rem;height:calc(100% - ", TAB_VERTICAL_BORDER_WIDTH, ");&:hover{", StyledTabLabelFilename, "{color:", base.color.gray3, ";}", StyledTabCloseButton, "{opacity:1;}}");
|
|
27
50
|
// ========== Tab active border ==========
|
|
28
|
-
var StyledTabActiveBorder =
|
|
29
|
-
|
|
30
|
-
})(
|
|
51
|
+
var StyledTabActiveBorder = /*#__PURE__*/_styled("div", {
|
|
52
|
+
target: "egie1c81"
|
|
53
|
+
})("height:", TAB_VERTICAL_BORDER_WIDTH, ";background-color:", base.color.primary5, ";opacity:0;");
|
|
31
54
|
// ========== Tab ==========
|
|
32
|
-
var cssTabActive = css(
|
|
33
|
-
var cssTabHovered = css(
|
|
34
|
-
var StyledTab =
|
|
35
|
-
|
|
36
|
-
})(
|
|
55
|
+
var cssTabActive = /*#__PURE__*/css("background-color:", TAB_ACTIVE_BACKGROUND_COLOR, ";", StyledTabLabelFilename, "{color:", base.color.gray3, ";}", StyledTabCloseButton, "{opacity:1;}", StyledTabActiveBorder, "{opacity:1;}");
|
|
56
|
+
var cssTabHovered = /*#__PURE__*/css("background-color:", TAB_HOVERED_BACKGROUND_COLOR, ";", StyledTabLabelFilename, "{color:", base.color.gray3, ";}");
|
|
57
|
+
var StyledTab = /*#__PURE__*/_styled("div", {
|
|
58
|
+
target: "egie1c80"
|
|
59
|
+
})("padding-top:", TAB_VERTICAL_BORDER_WIDTH, ";width:", TAB_MIN_WIDTH, ";min-width:fit-content;height:100%;background-color:", TAB_BACKGROUND_COLOR, ";border-right:1px solid ", base.color.navy7, ";cursor:pointer;", function (props) {
|
|
37
60
|
return props.active && cssTabActive;
|
|
38
|
-
}, function (props) {
|
|
61
|
+
}, " ", function (props) {
|
|
39
62
|
return props.hovered && cssTabHovered;
|
|
40
|
-
});
|
|
63
|
+
}, ";");
|
|
41
64
|
|
|
42
65
|
export { StyledTab, StyledTabActiveBorder, StyledTabCloseButton, StyledTabContent, StyledTabLabel, StyledTabLabelDirname, StyledTabLabelFilename };
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
interface StyledTabsDropZoneProps {
|
|
2
2
|
hovered?: boolean;
|
|
3
3
|
}
|
|
4
|
-
export declare const StyledTabs: import("styled
|
|
5
|
-
|
|
4
|
+
export declare const StyledTabs: import("@emotion/styled").StyledComponent<{
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
7
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
|
+
export declare const StyledTabsDropZone: import("@emotion/styled").StyledComponent<{
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
as?: React.ElementType;
|
|
11
|
+
} & StyledTabsDropZoneProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
12
|
export {};
|
|
@@ -1,16 +1,24 @@
|
|
|
1
|
+
import _styled from '@emotion/styled/base';
|
|
1
2
|
import { base } from '@elice/design-tokens';
|
|
2
|
-
import styled from 'styled-components';
|
|
3
3
|
import { getMaterialScrollBarCss } from '../../../constants/stylesheets.js';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
6
|
+
var StyledTabs = /*#__PURE__*/_styled("div", {
|
|
7
|
+
target: "euy0u931"
|
|
8
|
+
})("display:flex;align-items:flex-end;box-sizing:border-box;flex-direction:row;height:2.25rem;font-family:inherit;background:", base.color.navy8, ";overflow-x:overlay;overflow-y:hidden;scrollbar-width:none;", getMaterialScrollBarCss({
|
|
8
9
|
height: '2px',
|
|
9
10
|
borderRadius: '2px',
|
|
10
11
|
hideable: true
|
|
11
|
-
}));
|
|
12
|
-
var StyledTabsDropZone =
|
|
13
|
-
|
|
14
|
-
})(
|
|
12
|
+
}), ";");
|
|
13
|
+
var StyledTabsDropZone = /*#__PURE__*/_styled("div", {
|
|
14
|
+
target: "euy0u930"
|
|
15
|
+
})("production" === "production" ? {
|
|
16
|
+
name: "uysyag",
|
|
17
|
+
styles: "flex:1;height:100%;background-color:transparent"
|
|
18
|
+
} : {
|
|
19
|
+
name: "uysyag",
|
|
20
|
+
styles: "flex:1;height:100%;background-color:transparent",
|
|
21
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
22
|
+
});
|
|
15
23
|
|
|
16
24
|
export { StyledTabs, StyledTabsDropZone };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { WithIntlComponentBuilderProps } from '@elice/intl';
|
|
2
|
+
import type React from 'react';
|
|
3
3
|
import type { FileTreeTheme } from './context';
|
|
4
4
|
import type { OnDirectoryAdd, OnDirectoryDelete, OnDirectoryMove, OnFileAdd, OnFileDelete, OnFileMove, OnFilesUpload, OnHiddenSet, OnInitialOpenFileSet, OnReadOnlySet } from './interface';
|
|
5
5
|
/**
|
|
@@ -1,21 +1,29 @@
|
|
|
1
|
+
import _styled from '@emotion/styled/base';
|
|
1
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
3
|
import { Spinner } from '@elice/blocks';
|
|
3
4
|
import { base } from '@elice/design-tokens';
|
|
4
5
|
import { IntlComponentBuilder, RawEliceIntlProvider } from '@elice/intl';
|
|
5
|
-
import styled from 'styled-components';
|
|
6
|
-
import { FileTreeProvider } from './context/FileTreeContext.js';
|
|
7
|
-
import FileTreeToolbar from './file-tree-toolbar/FileTreeToolbar.js';
|
|
8
6
|
import FileTreeConfig from './FileTreeConfig.js';
|
|
9
7
|
import FileTreeList from './FileTreeList.js';
|
|
10
8
|
import messageEn from './locales/en.json.js';
|
|
11
9
|
import messageKo from './locales/ko.json.js';
|
|
10
|
+
import FileTreeToolbar from './file-tree-toolbar/FileTreeToolbar.js';
|
|
11
|
+
import { FileTreeProvider } from './context/FileTreeContext.js';
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
14
|
+
var StyledFileTreeWrapper = /*#__PURE__*/_styled("div", {
|
|
15
|
+
target: "e1o0fm381"
|
|
16
|
+
})("production" === "production" ? {
|
|
17
|
+
name: "17jy7d",
|
|
18
|
+
styles: "display:flex;flex-direction:column;user-select:none;overflow:hidden"
|
|
19
|
+
} : {
|
|
20
|
+
name: "17jy7d",
|
|
21
|
+
styles: "display:flex;flex-direction:column;user-select:none;overflow:hidden",
|
|
22
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
23
|
+
});
|
|
24
|
+
var StyledLoading = /*#__PURE__*/_styled("div", {
|
|
25
|
+
target: "e1o0fm380"
|
|
26
|
+
})("position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);background-color:", base.color.navy7, ";opacity:0.5;width:100%;height:100%;display:flex;align-items:center;justify-content:center;z-index:100;");
|
|
19
27
|
var FileTree = function FileTree(props) {
|
|
20
28
|
return jsx(RawEliceIntlProvider, {
|
|
21
29
|
value: props.__intl,
|
|
@@ -37,6 +45,6 @@ var FileTreeComponents = Object.assign(FileTree, {
|
|
|
37
45
|
List: FileTreeList,
|
|
38
46
|
Config: FileTreeConfig
|
|
39
47
|
});
|
|
40
|
-
var
|
|
48
|
+
var FileTree_default = new IntlComponentBuilder(FileTreeComponents).add('en', messageEn).add('ko', messageKo).addAsync('th', import('./locales/th.json.js')).addAsync('ja', import('./locales/ja.json.js')).build();
|
|
41
49
|
|
|
42
|
-
export {
|
|
50
|
+
export { FileTree_default as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import _styled from '@emotion/styled/base';
|
|
1
2
|
import { jsx } from 'react/jsx-runtime';
|
|
2
3
|
import React, { forwardRef } from 'react';
|
|
3
4
|
import { Button } from '@elice/blocks';
|
|
4
5
|
import { base } from '@elice/design-tokens';
|
|
5
6
|
import classnames from 'classnames';
|
|
6
|
-
import styled from 'styled-components';
|
|
7
7
|
import { useFileTreeState, useFileTreeDispatch } from './context/FileTreeContext.js';
|
|
8
8
|
|
|
9
|
-
var StyledFileTreeConfig =
|
|
10
|
-
|
|
11
|
-
})(
|
|
9
|
+
var StyledFileTreeConfig = /*#__PURE__*/_styled("div", {
|
|
10
|
+
target: "e19xfb20"
|
|
11
|
+
})("background-color:", base.color.navy8, ";padding:1rem;");
|
|
12
12
|
var FileTreeConfig = forwardRef(function (_ref, ref) {
|
|
13
13
|
var className = _ref.className,
|
|
14
14
|
style = _ref.style,
|
|
@@ -31,9 +31,9 @@ var FileTreeConfig = forwardRef(function (_ref, ref) {
|
|
|
31
31
|
style: Object.assign({}, style),
|
|
32
32
|
children: jsx(Button, {
|
|
33
33
|
block: true,
|
|
34
|
+
transparent: true,
|
|
34
35
|
size: "small",
|
|
35
36
|
role: "white",
|
|
36
|
-
transparent: true,
|
|
37
37
|
onClick: function onClick() {
|
|
38
38
|
if ([
|
|
39
39
|
// when mode changes from 'checkbox' to 'default'
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
+
import _styled from '@emotion/styled/base';
|
|
1
2
|
import { jsx } from 'react/jsx-runtime';
|
|
2
3
|
import { forwardRef } from 'react';
|
|
3
4
|
import { base } from '@elice/design-tokens';
|
|
4
5
|
import classnames from 'classnames';
|
|
5
|
-
import styled from 'styled-components';
|
|
6
6
|
import { getMaterialScrollBarCss } from '../../../constants/stylesheets.js';
|
|
7
|
+
import _FileTreeListItems from './FileTreeListItems.js';
|
|
7
8
|
import { useFileTreeState, useFileTreeDispatch } from './context/FileTreeContext.js';
|
|
8
|
-
import FileTreeListItems from './FileTreeListItems.js';
|
|
9
|
-
import { validateFilesSize } from './utils/fileTreeFiles.js';
|
|
10
9
|
import { isMovingTheSamePath } from './utils/fileTreePath.js';
|
|
10
|
+
import { validateFilesSize } from './utils/fileTreeFiles.js';
|
|
11
11
|
|
|
12
|
-
var StyledFileTreeList =
|
|
13
|
-
|
|
14
|
-
})(
|
|
12
|
+
var StyledFileTreeList = /*#__PURE__*/_styled("div", {
|
|
13
|
+
target: "e177lk900"
|
|
14
|
+
})("flex:auto;background-color:", base.color.navy9, ";overflow-x:hidden;overflow-y:overlay;", getMaterialScrollBarCss({
|
|
15
15
|
width: '0.375rem',
|
|
16
16
|
borderRadius: '2px',
|
|
17
17
|
hideable: true
|
|
18
|
-
}));
|
|
18
|
+
}), ";");
|
|
19
19
|
var FileTreeList = forwardRef(function (_ref, ref) {
|
|
20
20
|
var className = _ref.className,
|
|
21
21
|
style = _ref.style,
|
|
@@ -95,12 +95,14 @@ var FileTreeList = forwardRef(function (_ref, ref) {
|
|
|
95
95
|
}
|
|
96
96
|
if (dragFileTreeNode) {
|
|
97
97
|
if (dragFileTreeNode.isDirectory) {
|
|
98
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
|
98
99
|
onDirectoryMove && void onDirectoryMove({
|
|
99
100
|
currentFilename: dragFileTreeNode.path,
|
|
100
101
|
newPath: '',
|
|
101
102
|
newName: dragFileTreeNode.title
|
|
102
103
|
});
|
|
103
104
|
} else {
|
|
105
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
|
104
106
|
onFileMove && void onFileMove({
|
|
105
107
|
currentFilename: dragFileTreeNode.path,
|
|
106
108
|
newPath: '',
|
|
@@ -110,7 +112,7 @@ var FileTreeList = forwardRef(function (_ref, ref) {
|
|
|
110
112
|
}
|
|
111
113
|
}
|
|
112
114
|
},
|
|
113
|
-
children: jsx(
|
|
115
|
+
children: jsx(_FileTreeListItems, {
|
|
114
116
|
node: fileTree,
|
|
115
117
|
indent: options === null || options === void 0 ? void 0 : options.indent
|
|
116
118
|
})
|
|
@@ -4,11 +4,11 @@ import React from 'react';
|
|
|
4
4
|
import { Icon, Checkbox } from '@elice/blocks';
|
|
5
5
|
import { base } from '@elice/design-tokens';
|
|
6
6
|
import { eilArrowDownwardsSingle, eilVisibilityOff, eilLockOn, eilMoreVertical } from '@elice/icons';
|
|
7
|
-
import FileIcon from '../file-icon/FileIcon.js';
|
|
8
|
-
import { useFileTreeState, useFileTreeDispatch } from './context/FileTreeContext.js';
|
|
9
7
|
import FileTreeListItemContentInput from './FileTreeListItemContentInput.js';
|
|
10
8
|
import FileTreeListItemContentMenu from './FileTreeListItemContentMenu.js';
|
|
11
9
|
import { StyledContentIndents, StyledContentIndentGuide, StyledContent, StyledContentLabel, StyledContentLabelDirArrowWrap, StyledContentLabelIconWrap, StyledContentLabelFilename, StyledContentLabelStatusIcon, StyledContentLabelMenuButton } from './FileTreeListItemContent.styled.js';
|
|
10
|
+
import FileIcon from '../file-icon/FileIcon.js';
|
|
11
|
+
import { useFileTreeState, useFileTreeDispatch } from './context/FileTreeContext.js';
|
|
12
12
|
|
|
13
13
|
var ITEM_IDENT_WIDTH = 8; // 0.5rem
|
|
14
14
|
var FileTreeListItemContent = function FileTreeListItemContent(_ref) {
|
|
@@ -109,8 +109,8 @@ var FileTreeListItemContent = function FileTreeListItemContent(_ref) {
|
|
|
109
109
|
if (mode === 'checkbox' && !node.isDirectory) {
|
|
110
110
|
return jsx(StyledContentLabelIconWrap, {
|
|
111
111
|
children: jsx(Checkbox, {
|
|
112
|
-
value: node.isInitialOpen,
|
|
113
112
|
dark: true,
|
|
113
|
+
value: node.isInitialOpen,
|
|
114
114
|
onChange: function onChange(checked) {
|
|
115
115
|
dispatch({
|
|
116
116
|
type: checked ? 'INITIAL_OPEN_FILELIST_ADD' : 'INITIAL_OPEN_FILELIST_REMOVE',
|
|
@@ -163,9 +163,9 @@ var FileTreeListItemContent = function FileTreeListItemContent(_ref) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
return jsx(StyledContentLabelFilename, {
|
|
166
|
-
size: "tiny",
|
|
167
166
|
block: true,
|
|
168
167
|
ellipsis: true,
|
|
168
|
+
size: "tiny",
|
|
169
169
|
children: node.title
|
|
170
170
|
});
|
|
171
171
|
};
|
|
@@ -205,10 +205,10 @@ var FileTreeListItemContent = function FileTreeListItemContent(_ref) {
|
|
|
205
205
|
}
|
|
206
206
|
return jsxs(Fragment, {
|
|
207
207
|
children: [jsx(StyledContentLabelMenuButton, {
|
|
208
|
+
transparent: true,
|
|
208
209
|
icon: eilMoreVertical,
|
|
209
210
|
size: "tiny",
|
|
210
211
|
role: "white",
|
|
211
|
-
transparent: true,
|
|
212
212
|
border: false,
|
|
213
213
|
onClick: function onClick(e) {
|
|
214
214
|
e.stopPropagation();
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Text } from '@elice/blocks';
|
|
3
2
|
interface StyledContentProps {
|
|
4
3
|
active?: boolean;
|
|
@@ -7,31 +6,57 @@ interface StyledContentProps {
|
|
|
7
6
|
/**
|
|
8
7
|
* indent
|
|
9
8
|
*/
|
|
10
|
-
export declare const StyledContentIndents: import("styled
|
|
11
|
-
|
|
9
|
+
export declare const StyledContentIndents: import("@emotion/styled").StyledComponent<{
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
13
|
+
export declare const StyledContentIndentGuide: import("@emotion/styled").StyledComponent<{
|
|
14
|
+
theme?: import("@emotion/react").Theme;
|
|
15
|
+
as?: React.ElementType;
|
|
16
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
12
17
|
/**
|
|
13
18
|
* label
|
|
14
19
|
*/
|
|
15
|
-
export declare const StyledContentLabel: import("styled
|
|
20
|
+
export declare const StyledContentLabel: import("@emotion/styled").StyledComponent<{
|
|
21
|
+
theme?: import("@emotion/react").Theme;
|
|
22
|
+
as?: React.ElementType;
|
|
23
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
16
24
|
/**
|
|
17
25
|
* label > dir arrow
|
|
18
26
|
*/
|
|
19
|
-
export declare const StyledContentLabelDirArrowWrap: import("styled
|
|
27
|
+
export declare const StyledContentLabelDirArrowWrap: import("@emotion/styled").StyledComponent<{
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
29
|
+
as?: React.ElementType;
|
|
30
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
20
31
|
/**
|
|
21
32
|
* label > icon
|
|
22
33
|
*/
|
|
23
|
-
export declare const StyledContentLabelIconWrap: import("styled
|
|
34
|
+
export declare const StyledContentLabelIconWrap: import("@emotion/styled").StyledComponent<{
|
|
35
|
+
theme?: import("@emotion/react").Theme;
|
|
36
|
+
as?: React.ElementType;
|
|
37
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
24
38
|
/**
|
|
25
39
|
* label > filename
|
|
26
40
|
*/
|
|
27
|
-
export declare const StyledContentLabelFilename: import("styled
|
|
41
|
+
export declare const StyledContentLabelFilename: import("@emotion/styled").StyledComponent<Pick<import("@elice/blocks").TextProps, never> & Partial<Pick<import("@elice/blocks").TextProps, keyof import("@elice/blocks").TextProps>> & Partial<Pick<import("@elice/blocks").TextProps, never>> & {
|
|
42
|
+
theme?: import("@emotion/react").Theme;
|
|
43
|
+
}, {}, {
|
|
44
|
+
ref?: import("react").Ref<Text> | undefined;
|
|
45
|
+
}>;
|
|
28
46
|
/**
|
|
29
47
|
* label > status icon
|
|
30
48
|
*/
|
|
31
|
-
export declare const StyledContentLabelStatusIcon: import("styled
|
|
49
|
+
export declare const StyledContentLabelStatusIcon: import("@emotion/styled").StyledComponent<import("@elice/blocks").IconProps & import("react").RefAttributes<SVGSVGElement> & {
|
|
50
|
+
theme?: import("@emotion/react").Theme;
|
|
51
|
+
}, {}, {}>;
|
|
32
52
|
/**
|
|
33
53
|
* label > menu button
|
|
34
54
|
*/
|
|
35
|
-
export declare const StyledContentLabelMenuButton: import("styled
|
|
36
|
-
|
|
55
|
+
export declare const StyledContentLabelMenuButton: import("@emotion/styled").StyledComponent<import("@elice/blocks").IconButtonProps & import("react").RefAttributes<HTMLButtonElement> & {
|
|
56
|
+
theme?: import("@emotion/react").Theme;
|
|
57
|
+
}, {}, {}>;
|
|
58
|
+
export declare const StyledContent: import("@emotion/styled").StyledComponent<{
|
|
59
|
+
theme?: import("@emotion/react").Theme;
|
|
60
|
+
as?: React.ElementType;
|
|
61
|
+
} & StyledContentProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
37
62
|
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _styled from '@emotion/styled/base';
|
|
2
|
+
import { Text, IconButton, Icon } from '@elice/blocks';
|
|
2
3
|
import { base } from '@elice/design-tokens';
|
|
3
|
-
import
|
|
4
|
+
import { css } from '@emotion/react';
|
|
4
5
|
|
|
6
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
5
7
|
//
|
|
6
8
|
//
|
|
7
9
|
//
|
|
@@ -20,59 +22,73 @@ var CONTENT_LABEL_MENU_BUTTON_SIZE = CONTENT_MIN_HEIGHT - CONTENT_LABEL_VERTICAL
|
|
|
20
22
|
/**
|
|
21
23
|
* indent
|
|
22
24
|
*/
|
|
23
|
-
var StyledContentIndents =
|
|
24
|
-
|
|
25
|
-
})(
|
|
26
|
-
var StyledContentIndentGuide =
|
|
27
|
-
|
|
28
|
-
})(
|
|
25
|
+
var StyledContentIndents = /*#__PURE__*/_styled("div", {
|
|
26
|
+
target: "e10wdzkp8"
|
|
27
|
+
})();
|
|
28
|
+
var StyledContentIndentGuide = /*#__PURE__*/_styled("div", {
|
|
29
|
+
target: "e10wdzkp7"
|
|
30
|
+
})("display:inline-block;height:100%;border-right:0.5px solid ", base.color.gray7, ";");
|
|
29
31
|
/**
|
|
30
32
|
* label
|
|
31
33
|
*/
|
|
32
|
-
var StyledContentLabel =
|
|
33
|
-
|
|
34
|
-
})(
|
|
34
|
+
var StyledContentLabel = /*#__PURE__*/_styled("div", {
|
|
35
|
+
target: "e10wdzkp6"
|
|
36
|
+
})("flex:1;display:flex;align-items:center;padding-top:", CONTENT_LABEL_VERTICAL_PADDING, "px;padding-bottom:", CONTENT_LABEL_VERTICAL_PADDING, "px;overflow:hidden;");
|
|
35
37
|
/**
|
|
36
38
|
* label > dir arrow
|
|
37
39
|
*/
|
|
38
|
-
var StyledContentLabelDirArrowWrap =
|
|
39
|
-
|
|
40
|
-
})(
|
|
40
|
+
var StyledContentLabelDirArrowWrap = /*#__PURE__*/_styled("div", {
|
|
41
|
+
target: "e10wdzkp5"
|
|
42
|
+
})("flex:0 0 ", CONTENT_LABEL_DIR_ARROW_SIZE + CONTENT_LABEL_DIR_ARROW_PADDING * 2, "px;display:flex;justify-content:center;align-items:center;padding:", CONTENT_LABEL_DIR_ARROW_PADDING, ";height:", CONTENT_LABEL_DIR_ARROW_SIZE, "px;");
|
|
41
43
|
/**
|
|
42
44
|
* label > icon
|
|
43
45
|
*/
|
|
44
|
-
var StyledContentLabelIconWrap =
|
|
45
|
-
|
|
46
|
-
})(
|
|
46
|
+
var StyledContentLabelIconWrap = /*#__PURE__*/_styled("div", {
|
|
47
|
+
target: "e10wdzkp4"
|
|
48
|
+
})("flex:0 0 ", CONTENT_LABEL_ICON_SIZE + CONTENT_LABEL_ICON_AFTER_MARGIN, "px;display:flex;margin-right:", CONTENT_LABEL_ICON_AFTER_MARGIN, "px;height:", CONTENT_LABEL_ICON_SIZE, "px;");
|
|
47
49
|
/**
|
|
48
50
|
* label > filename
|
|
49
51
|
*/
|
|
50
|
-
var StyledContentLabelFilename =
|
|
51
|
-
|
|
52
|
-
})(
|
|
52
|
+
var StyledContentLabelFilename = /*#__PURE__*/_styled(Text, {
|
|
53
|
+
target: "e10wdzkp3"
|
|
54
|
+
})("flex:1;margin-right:0.125rem;color:", base.color.gray4, ";font-weight:500;");
|
|
53
55
|
/**
|
|
54
56
|
* label > status icon
|
|
55
57
|
*/
|
|
56
|
-
var StyledContentLabelStatusIcon =
|
|
57
|
-
|
|
58
|
-
})(
|
|
58
|
+
var StyledContentLabelStatusIcon = /*#__PURE__*/_styled(Icon, {
|
|
59
|
+
target: "e10wdzkp2"
|
|
60
|
+
})("production" === "production" ? {
|
|
61
|
+
name: "129lf1x",
|
|
62
|
+
styles: "margin-left:0.25rem;margin-right:0;&:last-of-type{margin-right:0.25rem;}"
|
|
63
|
+
} : {
|
|
64
|
+
name: "129lf1x",
|
|
65
|
+
styles: "margin-left:0.25rem;margin-right:0;&:last-of-type{margin-right:0.25rem;}",
|
|
66
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
67
|
+
});
|
|
59
68
|
/**
|
|
60
69
|
* label > menu button
|
|
61
70
|
*/
|
|
62
|
-
var StyledContentLabelMenuButton =
|
|
63
|
-
|
|
64
|
-
})(
|
|
71
|
+
var StyledContentLabelMenuButton = /*#__PURE__*/_styled(IconButton, {
|
|
72
|
+
target: "e10wdzkp1"
|
|
73
|
+
})("flex:0 0 ", CONTENT_LABEL_MENU_BUTTON_SIZE, "px;width:", CONTENT_LABEL_MENU_BUTTON_SIZE, "px!important;height:", CONTENT_LABEL_MENU_BUTTON_SIZE, "px!important;opacity:0;transition:opacity 150ms ease-in-out;");
|
|
65
74
|
//
|
|
66
75
|
//
|
|
67
76
|
//
|
|
68
|
-
var cssStyledContentActive = css(
|
|
69
|
-
var cssStyledContentDragging =
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
77
|
+
var cssStyledContentActive = /*#__PURE__*/css("border-left-color:", base.color.primary4, ";background-color:", base.color.navy7, ";", StyledContentLabelFilename, "{color:", base.color.gray3, ";}");
|
|
78
|
+
var cssStyledContentDragging = "production" === "production" ? {
|
|
79
|
+
name: "1ym7stk",
|
|
80
|
+
styles: "border-left-color:transparent!important;background-color:transparent!important"
|
|
81
|
+
} : {
|
|
82
|
+
name: "1ym7stk",
|
|
83
|
+
styles: "border-left-color:transparent!important;background-color:transparent!important",
|
|
84
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
85
|
+
};
|
|
86
|
+
var StyledContent = /*#__PURE__*/_styled("div", {
|
|
87
|
+
target: "e10wdzkp0"
|
|
88
|
+
})("display:flex;padding-right:", CONTENT_RIGHT_PADDING, "px;width:100%;min-width:0;min-height:", CONTENT_MIN_HEIGHT, "px;border-left-width:", CONTENT_LEFT_BORDER_WIDTH, "px;border-left-style:solid;border-left-color:transparent;user-select:none;", function (props) {
|
|
73
89
|
return props.active && cssStyledContentActive;
|
|
74
|
-
}, function (props) {
|
|
90
|
+
}, " ", function (props) {
|
|
75
91
|
return props.isDragging && cssStyledContentDragging;
|
|
76
|
-
}, base.color.navy8, StyledContentLabelFilename, base.color.gray3, StyledContentLabelMenuButton);
|
|
92
|
+
}, " &:hover{background-color:", base.color.navy8, ";", StyledContentLabelFilename, "{color:", base.color.gray3, ";}", StyledContentLabelMenuButton, "{opacity:1;}}");
|
|
77
93
|
|
|
78
94
|
export { StyledContent, StyledContentIndentGuide, StyledContentIndents, StyledContentLabel, StyledContentLabelDirArrowWrap, StyledContentLabelFilename, StyledContentLabelIconWrap, StyledContentLabelMenuButton, StyledContentLabelStatusIcon };
|
|
@@ -4,8 +4,8 @@ import { useForm, Controller } from 'react-hook-form';
|
|
|
4
4
|
import { useClickAway } from 'react-use';
|
|
5
5
|
import { useRawEliceIntl } from '@elice/intl';
|
|
6
6
|
import { getParentPath } from './utils/fileTreeGenerator.js';
|
|
7
|
-
import { useFileTreeDispatch } from './context/FileTreeContext.js';
|
|
8
7
|
import { StyledInputForm, StyledInput } from './FileTreeListItemContentInput.styled.js';
|
|
8
|
+
import { useFileTreeDispatch } from './context/FileTreeContext.js';
|
|
9
9
|
|
|
10
10
|
var FILENAME_MAX_LENGTH = 65535;
|
|
11
11
|
var FILENAME_REGEXP_DOT = /^\.$/;
|
|
@@ -101,7 +101,7 @@ var FileTreeListItemContentInput = function FileTreeListItemContentInput(_ref) {
|
|
|
101
101
|
}
|
|
102
102
|
onFileAdd(params).then(function () {
|
|
103
103
|
return onActivePathChange(params.path === '' ? "".concat(params.emptyFileWithName) : "".concat(params.path, "/").concat(params.emptyFileWithName), false);
|
|
104
|
-
}).then(close)
|
|
104
|
+
}).then(close)["catch"](function () {
|
|
105
105
|
//
|
|
106
106
|
});
|
|
107
107
|
};
|
|
@@ -115,7 +115,7 @@ var FileTreeListItemContentInput = function FileTreeListItemContentInput(_ref) {
|
|
|
115
115
|
}
|
|
116
116
|
onDirectoryAdd(params).then(function () {
|
|
117
117
|
return onActivePathChange(params.path === '' ? "".concat(params.name) : "".concat(params.path, "/").concat(params.name), true);
|
|
118
|
-
}).then(close)
|
|
118
|
+
}).then(close)["catch"](function () {
|
|
119
119
|
//
|
|
120
120
|
});
|
|
121
121
|
};
|
|
@@ -127,7 +127,7 @@ var FileTreeListItemContentInput = function FileTreeListItemContentInput(_ref) {
|
|
|
127
127
|
close();
|
|
128
128
|
return;
|
|
129
129
|
}
|
|
130
|
-
onFileMove(params).then(close)
|
|
130
|
+
onFileMove(params).then(close)["catch"](function () {
|
|
131
131
|
//
|
|
132
132
|
});
|
|
133
133
|
};
|
|
@@ -139,7 +139,7 @@ var FileTreeListItemContentInput = function FileTreeListItemContentInput(_ref) {
|
|
|
139
139
|
close();
|
|
140
140
|
return;
|
|
141
141
|
}
|
|
142
|
-
onDirectoryMove(params).then(close)
|
|
142
|
+
onDirectoryMove(params).then(close)["catch"](function () {
|
|
143
143
|
//
|
|
144
144
|
});
|
|
145
145
|
};
|
|
@@ -224,8 +224,8 @@ var FileTreeListItemContentInput = function FileTreeListItemContentInput(_ref) {
|
|
|
224
224
|
//
|
|
225
225
|
//
|
|
226
226
|
return jsx(StyledInputForm, {
|
|
227
|
-
onSubmit: handleFormSubmit,
|
|
228
227
|
ref: formElRef,
|
|
228
|
+
onSubmit: handleFormSubmit,
|
|
229
229
|
children: jsx(Controller, {
|
|
230
230
|
control: control,
|
|
231
231
|
name: "filename",
|
|
@@ -251,19 +251,19 @@ var FileTreeListItemContentInput = function FileTreeListItemContentInput(_ref) {
|
|
|
251
251
|
fieldState = _ref2.fieldState;
|
|
252
252
|
var _a;
|
|
253
253
|
return jsx(StyledInput, Object.assign({}, field, {
|
|
254
|
+
autoFocus: true,
|
|
254
255
|
type: "text",
|
|
255
256
|
className: className,
|
|
256
257
|
size: "small",
|
|
257
258
|
width: "full",
|
|
258
259
|
invalid: fieldState.invalid,
|
|
259
260
|
invalidText: (_a = fieldState.error) === null || _a === void 0 ? void 0 : _a.message,
|
|
260
|
-
autoFocus: true,
|
|
261
261
|
style: style,
|
|
262
|
+
ref: inputElRef,
|
|
262
263
|
onChange: function onChange(e) {
|
|
263
264
|
return field.onChange(e.target.value.trim());
|
|
264
265
|
},
|
|
265
|
-
onKeyDown: handleKeyDown
|
|
266
|
-
ref: inputElRef
|
|
266
|
+
onKeyDown: handleKeyDown
|
|
267
267
|
}));
|
|
268
268
|
}
|
|
269
269
|
})
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare const StyledInputForm: import("@emotion/styled").StyledComponent<{
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
4
|
+
}, import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, {}>;
|
|
5
|
+
export declare const StyledInput: import("@emotion/styled").StyledComponent<import("@elice/blocks").InputProps & import("react").RefAttributes<HTMLInputElement> & {
|
|
6
|
+
theme?: import("@emotion/react").Theme;
|
|
7
|
+
}, {}, {}>;
|