@elice/material-exercise 1.260220.0 → 1.260429.0-improvetimerpopoverui.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.
Files changed (69) hide show
  1. package/cjs/components/material-exercise/MaterialExercise.js +113 -17
  2. package/cjs/components/material-exercise/context/ExerciseProvider.d.ts +3 -1
  3. package/cjs/components/material-exercise/exercise-code-history/ExerciseCodeHistory.js +52 -7
  4. package/cjs/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoAgentModal.js +1 -1
  5. package/cjs/components/shared/exercise-version-list/ExerciseVersionList.js +18 -2
  6. package/cjs/components/shared/exercise-version-list/ExerciseVersionListItem.d.ts +1 -0
  7. package/cjs/components/shared/file-tabs/FileTab.js +70 -8
  8. package/cjs/components/shared/file-tabs/FileTabs.js +24 -3
  9. package/cjs/components/shared/file-tree/FileTreeListItemContent.js +103 -14
  10. package/cjs/components/shared/file-tree/FileTreeListItemContentInput.js +24 -3
  11. package/cjs/components/shared/file-tree/FileTreeListItems.js +28 -3
  12. package/cjs/components/shared/file-tree/file-tree-toolbar/FileTreeToolbar.js +7 -2
  13. package/cjs/components/shared/material-modal/MaterialModal.d.ts +1 -0
  14. package/cjs/components/shared/material-modal/MaterialModal.js +34 -6
  15. package/es/components/material-exercise/MaterialExercise.js +97 -2
  16. package/es/components/material-exercise/context/ExerciseProvider.d.ts +3 -1
  17. package/es/components/material-exercise/exercise-code-history/ExerciseCodeHistory.js +46 -2
  18. package/es/components/material-exercise/exercise-runner/ExerciseRunnerControllerArduinoAgentModal.js +1 -1
  19. package/es/components/shared/exercise-version-list/ExerciseVersionList.js +13 -1
  20. package/es/components/shared/exercise-version-list/ExerciseVersionListItem.d.ts +1 -0
  21. package/es/components/shared/file-tabs/FileTab.js +62 -1
  22. package/es/components/shared/file-tabs/FileTabs.js +21 -1
  23. package/es/components/shared/file-tree/FileTreeListItemContent.js +90 -2
  24. package/es/components/shared/file-tree/FileTreeListItemContentInput.js +21 -1
  25. package/es/components/shared/file-tree/FileTreeListItems.js +22 -1
  26. package/es/components/shared/file-tree/file-tree-toolbar/FileTreeToolbar.js +5 -1
  27. package/es/components/shared/material-modal/MaterialModal.d.ts +1 -0
  28. package/es/components/shared/material-modal/MaterialModal.js +26 -2
  29. package/package.json +26 -17
  30. package/cjs/components/material-exercise/MaterialExercise.styled.d.ts +0 -66
  31. package/cjs/components/material-exercise/MaterialExercise.styled.js +0 -119
  32. package/cjs/components/material-exercise/exercise-code-history/ExerciseCodeHistory.styled.d.ts +0 -24
  33. package/cjs/components/material-exercise/exercise-code-history/ExerciseCodeHistory.styled.js +0 -62
  34. package/cjs/components/shared/exercise-version-list/ExerciseVersionList.styled.d.ts +0 -5
  35. package/cjs/components/shared/exercise-version-list/ExerciseVersionList.styled.js +0 -22
  36. package/cjs/components/shared/file-tabs/FileTab.styled.d.ts +0 -33
  37. package/cjs/components/shared/file-tabs/FileTab.styled.js +0 -77
  38. package/cjs/components/shared/file-tabs/FileTabs.styled.d.ts +0 -12
  39. package/cjs/components/shared/file-tabs/FileTabs.styled.js +0 -31
  40. package/cjs/components/shared/file-tree/FileTreeListItemContent.styled.d.ts +0 -62
  41. package/cjs/components/shared/file-tree/FileTreeListItemContent.styled.js +0 -108
  42. package/cjs/components/shared/file-tree/FileTreeListItemContentInput.styled.d.ts +0 -7
  43. package/cjs/components/shared/file-tree/FileTreeListItemContentInput.styled.js +0 -31
  44. package/cjs/components/shared/file-tree/FileTreeListItems.styled.d.ts +0 -8
  45. package/cjs/components/shared/file-tree/FileTreeListItems.styled.js +0 -32
  46. package/cjs/components/shared/file-tree/FileTreeToolbar.styled.d.ts +0 -4
  47. package/cjs/components/shared/file-tree/FileTreeToolbar.styled.js +0 -14
  48. package/cjs/components/shared/material-modal/MaterialModal.styled.d.ts +0 -20
  49. package/cjs/components/shared/material-modal/MaterialModal.styled.js +0 -39
  50. package/es/components/material-exercise/MaterialExercise.styled.d.ts +0 -66
  51. package/es/components/material-exercise/MaterialExercise.styled.js +0 -100
  52. package/es/components/material-exercise/exercise-code-history/ExerciseCodeHistory.styled.d.ts +0 -24
  53. package/es/components/material-exercise/exercise-code-history/ExerciseCodeHistory.styled.js +0 -49
  54. package/es/components/shared/exercise-version-list/ExerciseVersionList.styled.d.ts +0 -5
  55. package/es/components/shared/exercise-version-list/ExerciseVersionList.styled.js +0 -16
  56. package/es/components/shared/file-tabs/FileTab.styled.d.ts +0 -33
  57. package/es/components/shared/file-tabs/FileTab.styled.js +0 -65
  58. package/es/components/shared/file-tabs/FileTabs.styled.d.ts +0 -12
  59. package/es/components/shared/file-tabs/FileTabs.styled.js +0 -24
  60. package/es/components/shared/file-tree/FileTreeListItemContent.styled.d.ts +0 -62
  61. package/es/components/shared/file-tree/FileTreeListItemContent.styled.js +0 -94
  62. package/es/components/shared/file-tree/FileTreeListItemContentInput.styled.d.ts +0 -7
  63. package/es/components/shared/file-tree/FileTreeListItemContentInput.styled.js +0 -24
  64. package/es/components/shared/file-tree/FileTreeListItems.styled.d.ts +0 -8
  65. package/es/components/shared/file-tree/FileTreeListItems.styled.js +0 -25
  66. package/es/components/shared/file-tree/FileTreeToolbar.styled.d.ts +0 -4
  67. package/es/components/shared/file-tree/FileTreeToolbar.styled.js +0 -8
  68. package/es/components/shared/material-modal/MaterialModal.styled.d.ts +0 -20
  69. package/es/components/shared/material-modal/MaterialModal.styled.js +0 -29
@@ -1,119 +0,0 @@
1
- 'use strict';
2
-
3
- var _styled = require('@emotion/styled/base');
4
- var designTokens = require('@elice/design-tokens');
5
- var stylesheets = require('../../constants/stylesheets.js');
6
-
7
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
8
-
9
- var _styled__default = /*#__PURE__*/_interopDefaultCompat(_styled);
10
-
11
- 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)."; }
12
- var EXERCISE_FILE_TREE_MIN_WIDTH = 128;
13
- var EXERCISE_PREVIEW_MIN_WIDTH = 128;
14
- var EXERCISE_RUNNER_MIN_HEIGHT = 128;
15
- var EXERCISE_HORIZONTAL_RATIO = {
16
- FILETREE: 0.15,
17
- PREVIEW: 0.4
18
- };
19
- /**
20
- * Wrapper contains:
21
- * - FileTree
22
- * - FileTabs
23
- * - File (Editor)
24
- * - Runner
25
- */
26
- var StyledExerciseContainer = /*#__PURE__*/_styled__default.default("div", {
27
- target: "e1femvm99"
28
- })("production" === "production" ? {
29
- name: "1x6515k",
30
- styles: "flex:1;display:flex;flex-direction:column;height:100%;min-width:0;min-height:0"
31
- } : {
32
- name: "1x6515k",
33
- styles: "flex:1;display:flex;flex-direction:column;height:100%;min-width:0;min-height:0",
34
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
35
- });
36
- /**
37
- * Wrapper contains:
38
- * - FileTree
39
- * - FileTabs
40
- * - File (Editor)
41
- */
42
- var StyledExerciseMain = /*#__PURE__*/_styled__default.default("div", {
43
- target: "e1femvm98"
44
- })("production" === "production" ? {
45
- name: "gaqfa6",
46
- styles: "flex:1;display:flex;width:100%;min-width:0;min-height:0"
47
- } : {
48
- name: "gaqfa6",
49
- styles: "flex:1;display:flex;width:100%;min-width:0;min-height:0",
50
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
51
- });
52
- /**
53
- * Wrapper contains:
54
- * - FileTabs
55
- * - File (Editor)
56
- */
57
- var StyledExerciseFileAndTabWrap = /*#__PURE__*/_styled__default.default("div", {
58
- target: "e1femvm97"
59
- })("flex:1;display:flex;flex-direction:column;height:100%;min-width:0;min-height:0;background-color:", designTokens.base.color.navy9, ";");
60
- var StyledExerciseFileWrap = /*#__PURE__*/_styled__default.default("div", {
61
- target: "e1femvm96"
62
- })("production" === "production" ? {
63
- name: "1qvekf5",
64
- styles: "flex:1;min-height:0"
65
- } : {
66
- name: "1qvekf5",
67
- styles: "flex:1;min-height:0",
68
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
69
- });
70
- // ========== Exercise FileTab ==========
71
- var StyledExerciseTabBar = /*#__PURE__*/_styled__default.default("div", {
72
- target: "e1femvm95"
73
- })("display:flex;border-bottom:", stylesheets.MATERIAL_DIVIDER_BORDER_VALUE, ";");
74
- var StyledExerciseTabsWrap = /*#__PURE__*/_styled__default.default("div", {
75
- target: "e1femvm94"
76
- })("production" === "production" ? {
77
- name: "fxp7t8",
78
- styles: "flex:1;min-width:0"
79
- } : {
80
- name: "fxp7t8",
81
- styles: "flex:1;min-width:0",
82
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
83
- });
84
- var StyledExerciseTabMenuWrap = /*#__PURE__*/_styled__default.default("div", {
85
- target: "e1femvm93"
86
- })("display:flex;justify-content:center;align-items:center;padding:0 0.5rem 0 1rem;background-color:", designTokens.base.color.navy8, ";");
87
- // ========== Exercise FileTree ==========
88
- var StyledExerciseFileTreeWrap = /*#__PURE__*/_styled__default.default("div", {
89
- target: "e1femvm92"
90
- })("flex:1;display:flex;flex-direction:column;min-width:0;height:100%;border-right:", stylesheets.MATERIAL_DIVIDER_BORDER_VALUE, ";");
91
- var StyledxerciseFileTreeContaner = /*#__PURE__*/_styled__default.default("div", {
92
- target: "e1femvm91"
93
- })("production" === "production" ? {
94
- name: "ajoz9e",
95
- styles: "display:flex;height:100%;max-width:auto;&[aria-hidden='true']{max-width:0;overflow:hidden;}"
96
- } : {
97
- name: "ajoz9e",
98
- styles: "display:flex;height:100%;max-width:auto;&[aria-hidden='true']{max-width:0;overflow:hidden;}",
99
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
100
- });
101
- // ========== Exercise Runner ==========
102
- var StyledExerciseRunnerWrap = /*#__PURE__*/_styled__default.default("div", {
103
- target: "e1femvm90"
104
- })("width:100%;height:100%;border-top:", stylesheets.MATERIAL_DIVIDER_BORDER_VALUE, ";");
105
-
106
- exports.EXERCISE_FILE_TREE_MIN_WIDTH = EXERCISE_FILE_TREE_MIN_WIDTH;
107
- exports.EXERCISE_HORIZONTAL_RATIO = EXERCISE_HORIZONTAL_RATIO;
108
- exports.EXERCISE_PREVIEW_MIN_WIDTH = EXERCISE_PREVIEW_MIN_WIDTH;
109
- exports.EXERCISE_RUNNER_MIN_HEIGHT = EXERCISE_RUNNER_MIN_HEIGHT;
110
- exports.StyledExerciseContainer = StyledExerciseContainer;
111
- exports.StyledExerciseFileAndTabWrap = StyledExerciseFileAndTabWrap;
112
- exports.StyledExerciseFileTreeWrap = StyledExerciseFileTreeWrap;
113
- exports.StyledExerciseFileWrap = StyledExerciseFileWrap;
114
- exports.StyledExerciseMain = StyledExerciseMain;
115
- exports.StyledExerciseRunnerWrap = StyledExerciseRunnerWrap;
116
- exports.StyledExerciseTabBar = StyledExerciseTabBar;
117
- exports.StyledExerciseTabMenuWrap = StyledExerciseTabMenuWrap;
118
- exports.StyledExerciseTabsWrap = StyledExerciseTabsWrap;
119
- exports.StyledxerciseFileTreeContaner = StyledxerciseFileTreeContaner;
@@ -1,24 +0,0 @@
1
- import { Text } from '@elice/blocks';
2
- export declare const cssInputRangeTrack: import("@emotion/react").SerializedStyles;
3
- export declare const cssInputRangeThumb: import("@emotion/react").SerializedStyles;
4
- export declare const StyledModalContent: import("@emotion/styled").StyledComponent<import("@elice/blocks").FlexProps & import("react").RefAttributes<HTMLDivElement> & {
5
- theme?: import("@emotion/react").Theme;
6
- }, {}, {}>;
7
- export declare const StyledVersionRangeInput: import("@emotion/styled").StyledComponent<{
8
- theme?: import("@emotion/react").Theme;
9
- as?: React.ElementType;
10
- }, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
11
- export declare const StyledVersionsWrapper: import("@emotion/styled").StyledComponent<import("@elice/blocks").FlexProps & import("react").RefAttributes<HTMLDivElement> & {
12
- theme?: import("@emotion/react").Theme;
13
- }, {}, {}>;
14
- export declare const StyledVersionRangeInputWrapper: import("@emotion/styled").StyledComponent<import("@elice/blocks").FlexProps & import("react").RefAttributes<HTMLDivElement> & {
15
- theme?: import("@emotion/react").Theme;
16
- }, {}, {}>;
17
- export declare const StyledEditorWrapper: import("@emotion/styled").StyledComponent<import("@elice/blocks").FlexProps & import("react").RefAttributes<HTMLDivElement> & {
18
- theme?: import("@emotion/react").Theme;
19
- }, {}, {}>;
20
- export declare const StyledFileNameBox: 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>> & {
21
- theme?: import("@emotion/react").Theme;
22
- }, {}, {
23
- ref?: import("react").Ref<Text> | undefined;
24
- }>;
@@ -1,62 +0,0 @@
1
- 'use strict';
2
-
3
- var _styled = require('@emotion/styled/base');
4
- var blocks = require('@elice/blocks');
5
- var designTokens = require('@elice/design-tokens');
6
- var react = require('@emotion/react');
7
-
8
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
9
-
10
- var _styled__default = /*#__PURE__*/_interopDefaultCompat(_styled);
11
-
12
- 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)."; }
13
- var cssInputRangeTrack = "production" === "production" ? {
14
- name: "jsy83f",
15
- styles: "width:100%;height:0.375rem;cursor:pointer;transition:all 0.2s ease"
16
- } : {
17
- name: "jsy83f",
18
- styles: "width:100%;height:0.375rem;cursor:pointer;transition:all 0.2s ease",
19
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
20
- };
21
- var cssInputRangeThumb = /*#__PURE__*/react.css("height:1rem;width:1rem;border-radius:50%;background:", designTokens.base.color.primary6, ";cursor:pointer;");
22
- var StyledModalContent = /*#__PURE__*/_styled__default.default(blocks.Flex, {
23
- target: "e1bo6lpg5"
24
- })("production" === "production" ? {
25
- name: "1j1fdpn",
26
- styles: "position:absolute;width:100%;height:100%;overflow:hidden"
27
- } : {
28
- name: "1j1fdpn",
29
- styles: "position:absolute;width:100%;height:100%;overflow:hidden",
30
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
31
- });
32
- var StyledVersionRangeInput = /*#__PURE__*/_styled__default.default("input", {
33
- target: "e1bo6lpg4"
34
- })("--webkit-appearance:none;margin:0.5rem 0;width:100%;cursor:pointer;&:focus{outline:none;}&::-webkit-slider-runnable-track{background:", designTokens.base.color.navy9, ";", cssInputRangeTrack, ";}&::-webkit-slider-thumb{-webkit-appearance:none;margin-top:calc((0.375rem - 1rem) / 2);", cssInputRangeThumb, ";}&:focus::-webkit-slider-runnable-track{background:rgba(", designTokens.base.color.navy9, ", 0.05);}&::-moz-range-track{background:", designTokens.base.color.navy9, ";", cssInputRangeTrack, ";}&::-moz-range-thumb{", cssInputRangeThumb, ";}");
35
- var StyledVersionsWrapper = /*#__PURE__*/_styled__default.default(blocks.Flex, {
36
- target: "e1bo6lpg3"
37
- })("flex-direction:column;flex:1 1.75 25rem;position:relative;height:100%;border-right:1px solid ", designTokens.base.color.navy9, ";");
38
- var StyledVersionRangeInputWrapper = /*#__PURE__*/_styled__default.default(blocks.Flex, {
39
- target: "e1bo6lpg2"
40
- })("height:3rem;padding:1rem;border-bottom:1px solid ", designTokens.base.color.navy9, ";");
41
- var StyledEditorWrapper = /*#__PURE__*/_styled__default.default(blocks.Flex, {
42
- target: "e1bo6lpg1"
43
- })("production" === "production" ? {
44
- name: "xf8y5j",
45
- styles: "flex-direction:column;flex:1 1 auto;width:100%;height:100%;overflow:scroll"
46
- } : {
47
- name: "xf8y5j",
48
- styles: "flex-direction:column;flex:1 1 auto;width:100%;height:100%;overflow:scroll",
49
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
50
- });
51
- var StyledFileNameBox = /*#__PURE__*/_styled__default.default(blocks.Text, {
52
- target: "e1bo6lpg0"
53
- })("min-height:3rem;height:3rem;line-height:3rem;padding-left:1rem;border-bottom:1px solid ", designTokens.base.color.navy9, ";");
54
-
55
- exports.StyledEditorWrapper = StyledEditorWrapper;
56
- exports.StyledFileNameBox = StyledFileNameBox;
57
- exports.StyledModalContent = StyledModalContent;
58
- exports.StyledVersionRangeInput = StyledVersionRangeInput;
59
- exports.StyledVersionRangeInputWrapper = StyledVersionRangeInputWrapper;
60
- exports.StyledVersionsWrapper = StyledVersionsWrapper;
61
- exports.cssInputRangeThumb = cssInputRangeThumb;
62
- exports.cssInputRangeTrack = cssInputRangeTrack;
@@ -1,5 +0,0 @@
1
- export declare const StyledVersionList: import("@emotion/styled").StyledComponent<import("@elice/blocks").ListProps & {
2
- children?: import("react").ReactNode | undefined;
3
- } & {
4
- theme?: import("@emotion/react").Theme;
5
- }, {}, {}>;
@@ -1,22 +0,0 @@
1
- 'use strict';
2
-
3
- var _styled = require('@emotion/styled/base');
4
- var blocks = require('@elice/blocks');
5
-
6
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
7
-
8
- var _styled__default = /*#__PURE__*/_interopDefaultCompat(_styled);
9
-
10
- 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)."; }
11
- var StyledVersionList = /*#__PURE__*/_styled__default.default(blocks.List, {
12
- target: "e1kcjofl0"
13
- })("production" === "production" ? {
14
- name: "1uke1dw",
15
- styles: "height:100%;padding:0;overflow:scroll;background-color:transparent;&>last-of-type{border:none;}"
16
- } : {
17
- name: "1uke1dw",
18
- styles: "height:100%;padding:0;overflow:scroll;background-color:transparent;&>last-of-type{border:none;}",
19
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
20
- });
21
-
22
- exports.StyledVersionList = StyledVersionList;
@@ -1,33 +0,0 @@
1
- import { Text } from '@elice/blocks';
2
- import type { FileTabProps } from './FileTab';
3
- type StyledTabContentProps = Pick<FileTabProps, 'active' | 'hovered'>;
4
- export declare const StyledTabLabel: 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 StyledTabLabelFilename: 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>> & {
9
- theme?: import("@emotion/react").Theme;
10
- }, {}, {
11
- ref?: import("react").Ref<Text> | undefined;
12
- }>;
13
- export declare const StyledTabLabelDirname: 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>> & {
14
- theme?: import("@emotion/react").Theme;
15
- }, {}, {
16
- ref?: import("react").Ref<Text> | undefined;
17
- }>;
18
- export declare const StyledTabCloseButton: import("@emotion/styled").StyledComponent<import("@elice/blocks").IconButtonProps & import("react").RefAttributes<HTMLButtonElement> & {
19
- theme?: import("@emotion/react").Theme;
20
- }, {}, {}>;
21
- export declare const StyledTabContent: import("@emotion/styled").StyledComponent<{
22
- theme?: import("@emotion/react").Theme;
23
- as?: React.ElementType;
24
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
25
- export declare const StyledTabActiveBorder: import("@emotion/styled").StyledComponent<{
26
- theme?: import("@emotion/react").Theme;
27
- as?: React.ElementType;
28
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
29
- export declare const StyledTab: import("@emotion/styled").StyledComponent<{
30
- theme?: import("@emotion/react").Theme;
31
- as?: React.ElementType;
32
- } & StyledTabContentProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
33
- export {};
@@ -1,77 +0,0 @@
1
- 'use strict';
2
-
3
- var _styled = require('@emotion/styled/base');
4
- var blocks = require('@elice/blocks');
5
- var designTokens = require('@elice/design-tokens');
6
- var react = require('@emotion/react');
7
-
8
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
9
-
10
- var _styled__default = /*#__PURE__*/_interopDefaultCompat(_styled);
11
-
12
- 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)."; }
13
- var TAB_MIN_WIDTH = '7rem';
14
- var TAB_VERTICAL_BORDER_WIDTH = '1.5px';
15
- var TAB_BACKGROUND_COLOR = designTokens.base.color.navy8;
16
- var TAB_ACTIVE_BACKGROUND_COLOR = designTokens.base.color.navy9;
17
- var TAB_HOVERED_BACKGROUND_COLOR = designTokens.base.color.navy7;
18
- // ========== Tab label ==========
19
- var StyledTabLabel = /*#__PURE__*/_styled__default.default("div", {
20
- target: "egie1c86"
21
- })("production" === "production" ? {
22
- name: "1v2fhdm",
23
- styles: "flex:1;display:flex;align-items:center;overflow:hidden;pointer-events:none;user-select:none;&>*{margin-right:0.5rem;}"
24
- } : {
25
- name: "1v2fhdm",
26
- styles: "flex:1;display:flex;align-items:center;overflow:hidden;pointer-events:none;user-select:none;&>*{margin-right:0.5rem;}",
27
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
28
- });
29
- var StyledTabLabelFilename = /*#__PURE__*/_styled__default.default(blocks.Text, {
30
- target: "egie1c85"
31
- })("color:", designTokens.base.color.gray4, ";font-weight:500;");
32
- var StyledTabLabelDirname = /*#__PURE__*/_styled__default.default(blocks.Text, {
33
- target: "egie1c84"
34
- })("production" === "production" ? {
35
- name: "f3vz0n",
36
- styles: "font-weight:500"
37
- } : {
38
- name: "f3vz0n",
39
- styles: "font-weight:500",
40
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
41
- });
42
- var StyledTabCloseButton = /*#__PURE__*/_styled__default.default(blocks.IconButton, {
43
- target: "egie1c83"
44
- })("production" === "production" ? {
45
- name: "19zzndm",
46
- styles: "flex:0 0 auto;margin-right:0.25rem!important;opacity:0;transition:opacity 150ms ease-in-out"
47
- } : {
48
- name: "19zzndm",
49
- styles: "flex:0 0 auto;margin-right:0.25rem!important;opacity:0;transition:opacity 150ms ease-in-out",
50
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
51
- });
52
- // ========== Tab content ==========
53
- var StyledTabContent = /*#__PURE__*/_styled__default.default("div", {
54
- target: "egie1c82"
55
- })("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:", designTokens.base.color.gray3, ";}", StyledTabCloseButton, "{opacity:1;}}");
56
- // ========== Tab active border ==========
57
- var StyledTabActiveBorder = /*#__PURE__*/_styled__default.default("div", {
58
- target: "egie1c81"
59
- })("height:", TAB_VERTICAL_BORDER_WIDTH, ";background-color:", designTokens.base.color.primary5, ";opacity:0;");
60
- // ========== Tab ==========
61
- var cssTabActive = /*#__PURE__*/react.css("background-color:", TAB_ACTIVE_BACKGROUND_COLOR, ";", StyledTabLabelFilename, "{color:", designTokens.base.color.gray3, ";}", StyledTabCloseButton, "{opacity:1;}", StyledTabActiveBorder, "{opacity:1;}");
62
- var cssTabHovered = /*#__PURE__*/react.css("background-color:", TAB_HOVERED_BACKGROUND_COLOR, ";", StyledTabLabelFilename, "{color:", designTokens.base.color.gray3, ";}");
63
- var StyledTab = /*#__PURE__*/_styled__default.default("div", {
64
- target: "egie1c80"
65
- })("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 ", designTokens.base.color.navy7, ";cursor:pointer;", function (props) {
66
- return props.active && cssTabActive;
67
- }, " ", function (props) {
68
- return props.hovered && cssTabHovered;
69
- }, ";");
70
-
71
- exports.StyledTab = StyledTab;
72
- exports.StyledTabActiveBorder = StyledTabActiveBorder;
73
- exports.StyledTabCloseButton = StyledTabCloseButton;
74
- exports.StyledTabContent = StyledTabContent;
75
- exports.StyledTabLabel = StyledTabLabel;
76
- exports.StyledTabLabelDirname = StyledTabLabelDirname;
77
- exports.StyledTabLabelFilename = StyledTabLabelFilename;
@@ -1,12 +0,0 @@
1
- interface StyledTabsDropZoneProps {
2
- hovered?: boolean;
3
- }
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>, {}>;
12
- export {};
@@ -1,31 +0,0 @@
1
- 'use strict';
2
-
3
- var _styled = require('@emotion/styled/base');
4
- var designTokens = require('@elice/design-tokens');
5
- var stylesheets = require('../../../constants/stylesheets.js');
6
-
7
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
8
-
9
- var _styled__default = /*#__PURE__*/_interopDefaultCompat(_styled);
10
-
11
- 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)."; }
12
- var StyledTabs = /*#__PURE__*/_styled__default.default("div", {
13
- target: "euy0u931"
14
- })("display:flex;align-items:flex-end;box-sizing:border-box;flex-direction:row;height:2.25rem;font-family:inherit;background:", designTokens.base.color.navy8, ";overflow-x:overlay;overflow-y:hidden;scrollbar-width:none;", stylesheets.getMaterialScrollBarCss({
15
- height: '2px',
16
- borderRadius: '2px',
17
- hideable: true
18
- }), ";");
19
- var StyledTabsDropZone = /*#__PURE__*/_styled__default.default("div", {
20
- target: "euy0u930"
21
- })("production" === "production" ? {
22
- name: "uysyag",
23
- styles: "flex:1;height:100%;background-color:transparent"
24
- } : {
25
- name: "uysyag",
26
- styles: "flex:1;height:100%;background-color:transparent",
27
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
28
- });
29
-
30
- exports.StyledTabs = StyledTabs;
31
- exports.StyledTabsDropZone = StyledTabsDropZone;
@@ -1,62 +0,0 @@
1
- import { Text } from '@elice/blocks';
2
- interface StyledContentProps {
3
- active?: boolean;
4
- isDragging?: boolean;
5
- }
6
- /**
7
- * indent
8
- */
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>, {}>;
17
- /**
18
- * label
19
- */
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>, {}>;
24
- /**
25
- * label > dir arrow
26
- */
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>, {}>;
31
- /**
32
- * label > icon
33
- */
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>, {}>;
38
- /**
39
- * label > filename
40
- */
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
- }>;
46
- /**
47
- * label > status icon
48
- */
49
- export declare const StyledContentLabelStatusIcon: import("@emotion/styled").StyledComponent<import("@elice/blocks").IconProps & import("react").RefAttributes<SVGSVGElement> & {
50
- theme?: import("@emotion/react").Theme;
51
- }, {}, {}>;
52
- /**
53
- * label > menu button
54
- */
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>, {}>;
62
- export {};
@@ -1,108 +0,0 @@
1
- 'use strict';
2
-
3
- var _styled = require('@emotion/styled/base');
4
- var blocks = require('@elice/blocks');
5
- var designTokens = require('@elice/design-tokens');
6
- var react = require('@emotion/react');
7
-
8
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
9
-
10
- var _styled__default = /*#__PURE__*/_interopDefaultCompat(_styled);
11
-
12
- 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)."; }
13
- //
14
- //
15
- //
16
- var CONTENT_MIN_HEIGHT = 28; // 1.75rem
17
- var CONTENT_LEFT_BORDER_WIDTH = 3; // 0.1875rem
18
- var CONTENT_RIGHT_PADDING = 12; // 0.75rem
19
- var CONTENT_LABEL_VERTICAL_PADDING = 4; // 0.25rem
20
- var CONTENT_LABEL_ICON_SIZE = 16; // 1rem
21
- var CONTENT_LABEL_ICON_AFTER_MARGIN = 4; // 1rem
22
- var CONTENT_LABEL_DIR_ARROW_PADDING = 4; // 0.25rem
23
- var CONTENT_LABEL_DIR_ARROW_SIZE = 12; // 0.75rem
24
- var CONTENT_LABEL_MENU_BUTTON_SIZE = CONTENT_MIN_HEIGHT - CONTENT_LABEL_VERTICAL_PADDING * 2;
25
- //
26
- //
27
- //
28
- /**
29
- * indent
30
- */
31
- var StyledContentIndents = /*#__PURE__*/_styled__default.default("div", {
32
- target: "e10wdzkp8"
33
- })();
34
- var StyledContentIndentGuide = /*#__PURE__*/_styled__default.default("div", {
35
- target: "e10wdzkp7"
36
- })("display:inline-block;height:100%;border-right:0.5px solid ", designTokens.base.color.gray7, ";");
37
- /**
38
- * label
39
- */
40
- var StyledContentLabel = /*#__PURE__*/_styled__default.default("div", {
41
- target: "e10wdzkp6"
42
- })("flex:1;display:flex;align-items:center;padding-top:", CONTENT_LABEL_VERTICAL_PADDING, "px;padding-bottom:", CONTENT_LABEL_VERTICAL_PADDING, "px;overflow:hidden;");
43
- /**
44
- * label > dir arrow
45
- */
46
- var StyledContentLabelDirArrowWrap = /*#__PURE__*/_styled__default.default("div", {
47
- target: "e10wdzkp5"
48
- })("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;");
49
- /**
50
- * label > icon
51
- */
52
- var StyledContentLabelIconWrap = /*#__PURE__*/_styled__default.default("div", {
53
- target: "e10wdzkp4"
54
- })("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;");
55
- /**
56
- * label > filename
57
- */
58
- var StyledContentLabelFilename = /*#__PURE__*/_styled__default.default(blocks.Text, {
59
- target: "e10wdzkp3"
60
- })("flex:1;margin-right:0.125rem;color:", designTokens.base.color.gray4, ";font-weight:500;");
61
- /**
62
- * label > status icon
63
- */
64
- var StyledContentLabelStatusIcon = /*#__PURE__*/_styled__default.default(blocks.Icon, {
65
- target: "e10wdzkp2"
66
- })("production" === "production" ? {
67
- name: "129lf1x",
68
- styles: "margin-left:0.25rem;margin-right:0;&:last-of-type{margin-right:0.25rem;}"
69
- } : {
70
- name: "129lf1x",
71
- styles: "margin-left:0.25rem;margin-right:0;&:last-of-type{margin-right:0.25rem;}",
72
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
73
- });
74
- /**
75
- * label > menu button
76
- */
77
- var StyledContentLabelMenuButton = /*#__PURE__*/_styled__default.default(blocks.IconButton, {
78
- target: "e10wdzkp1"
79
- })("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;");
80
- //
81
- //
82
- //
83
- var cssStyledContentActive = /*#__PURE__*/react.css("border-left-color:", designTokens.base.color.primary4, ";background-color:", designTokens.base.color.navy7, ";", StyledContentLabelFilename, "{color:", designTokens.base.color.gray3, ";}");
84
- var cssStyledContentDragging = "production" === "production" ? {
85
- name: "1ym7stk",
86
- styles: "border-left-color:transparent!important;background-color:transparent!important"
87
- } : {
88
- name: "1ym7stk",
89
- styles: "border-left-color:transparent!important;background-color:transparent!important",
90
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
91
- };
92
- var StyledContent = /*#__PURE__*/_styled__default.default("div", {
93
- target: "e10wdzkp0"
94
- })("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) {
95
- return props.active && cssStyledContentActive;
96
- }, " ", function (props) {
97
- return props.isDragging && cssStyledContentDragging;
98
- }, " &:hover{background-color:", designTokens.base.color.navy8, ";", StyledContentLabelFilename, "{color:", designTokens.base.color.gray3, ";}", StyledContentLabelMenuButton, "{opacity:1;}}");
99
-
100
- exports.StyledContent = StyledContent;
101
- exports.StyledContentIndentGuide = StyledContentIndentGuide;
102
- exports.StyledContentIndents = StyledContentIndents;
103
- exports.StyledContentLabel = StyledContentLabel;
104
- exports.StyledContentLabelDirArrowWrap = StyledContentLabelDirArrowWrap;
105
- exports.StyledContentLabelFilename = StyledContentLabelFilename;
106
- exports.StyledContentLabelIconWrap = StyledContentLabelIconWrap;
107
- exports.StyledContentLabelMenuButton = StyledContentLabelMenuButton;
108
- exports.StyledContentLabelStatusIcon = StyledContentLabelStatusIcon;
@@ -1,7 +0,0 @@
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
- }, {}, {}>;
@@ -1,31 +0,0 @@
1
- 'use strict';
2
-
3
- var _styled = require('@emotion/styled/base');
4
- var blocks = require('@elice/blocks');
5
- var designTokens = require('@elice/design-tokens');
6
-
7
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
8
-
9
- var _styled__default = /*#__PURE__*/_interopDefaultCompat(_styled);
10
-
11
- 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)."; }
12
- var INPUT_HEIGHT = '1.25rem';
13
- var INPUT_FONT_SIZE = '0.75rem';
14
- var INPUT_INNER_LEFT_PADDING = '0.125rem';
15
- var INPUT_INNER_RIGHT_PADDING = '0.25rem';
16
- var StyledInputForm = /*#__PURE__*/_styled__default.default("form", {
17
- target: "e14adbux1"
18
- })("production" === "production" ? {
19
- name: "y3klfd",
20
- styles: "flex:1;display:flex"
21
- } : {
22
- name: "y3klfd",
23
- styles: "flex:1;display:flex",
24
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
25
- });
26
- var StyledInput = /*#__PURE__*/_styled__default.default(blocks.Input, {
27
- target: "e14adbux0"
28
- })("min-height:", INPUT_HEIGHT, ";>div{background:transparent!important;>div{&:nth-child(1){padding:", INPUT_INNER_LEFT_PADDING, ";}&:nth-child(3){padding:", INPUT_INNER_RIGHT_PADDING, ";}}.eb-icon{width:0.875em;height:0.875em;font-size:0.875em;}}& input{padding-top:0!important;padding-bottom:0!important;height:", INPUT_HEIGHT, "!important;color:", designTokens.base.color.gray0, "!important;font-size:", INPUT_FONT_SIZE, "!important;}");
29
-
30
- exports.StyledInput = StyledInput;
31
- exports.StyledInputForm = StyledInputForm;
@@ -1,8 +0,0 @@
1
- export declare const StyledTreeItems: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
3
- as?: React.ElementType;
4
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, {}>;
5
- export declare const StyledTreeItem: import("@emotion/styled").StyledComponent<{
6
- theme?: import("@emotion/react").Theme;
7
- as?: React.ElementType;
8
- }, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;