@elice/material-exercise 1.260305.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,32 +0,0 @@
1
- 'use strict';
2
-
3
- var _styled = require('@emotion/styled/base');
4
-
5
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
6
-
7
- var _styled__default = /*#__PURE__*/_interopDefaultCompat(_styled);
8
-
9
- 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)."; }
10
- var StyledTreeItems = /*#__PURE__*/_styled__default.default("ul", {
11
- target: "edfr9o21"
12
- })("production" === "production" ? {
13
- name: "n5lwfe",
14
- styles: "padding:0;margin:0;overflow:hidden"
15
- } : {
16
- name: "n5lwfe",
17
- styles: "padding:0;margin:0;overflow:hidden",
18
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
19
- });
20
- var StyledTreeItem = /*#__PURE__*/_styled__default.default("li", {
21
- target: "edfr9o20"
22
- })("production" === "production" ? {
23
- name: "i710ph",
24
- styles: "list-style:none;cursor:pointer"
25
- } : {
26
- name: "i710ph",
27
- styles: "list-style:none;cursor:pointer",
28
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
29
- });
30
-
31
- exports.StyledTreeItem = StyledTreeItem;
32
- exports.StyledTreeItems = StyledTreeItems;
@@ -1,4 +0,0 @@
1
- export declare const StyledFileTreeToolbar: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme;
3
- as?: React.ElementType;
4
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,14 +0,0 @@
1
- 'use strict';
2
-
3
- var _styled = require('@emotion/styled/base');
4
- var designTokens = require('@elice/design-tokens');
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
- var StyledFileTreeToolbar = /*#__PURE__*/_styled__default.default("div", {
11
- target: "e8jw97x0"
12
- })("flex:0 0 2.25rem;display:flex;align-items:center;padding:0.25rem 0.5rem;background-color:", designTokens.base.color.navy8, ";");
13
-
14
- exports.StyledFileTreeToolbar = StyledFileTreeToolbar;
@@ -1,20 +0,0 @@
1
- import { Text } from '@elice/blocks';
2
- export declare const StyledModalWrapper: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme;
4
- as?: React.ElementType;
5
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
- export declare const StyledModalHeader: 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>> & {
7
- theme?: import("@emotion/react").Theme;
8
- }, {}, {
9
- ref?: import("react").Ref<Text> | undefined;
10
- }>;
11
- export declare const StyledModalBody: import("@emotion/styled").StyledComponent<{
12
- theme?: import("@emotion/react").Theme;
13
- as?: React.ElementType;
14
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
15
- export declare const StyledModalFooter: import("@emotion/styled").StyledComponent<import("@elice/blocks").FlexProps & import("react").RefAttributes<HTMLDivElement> & {
16
- theme?: import("@emotion/react").Theme;
17
- }, {}, {}>;
18
- export declare const StyledCloseButton: import("@emotion/styled").StyledComponent<import("@elice/blocks").IconButtonProps & import("react").RefAttributes<HTMLButtonElement> & {
19
- theme?: import("@emotion/react").Theme;
20
- }, {}, {}>;
@@ -1,39 +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 StyledModalWrapper = /*#__PURE__*/_styled__default.default("div", {
13
- target: "e1cl5wqs4"
14
- })("position:relative;display:flex;flex-flow:column nowrap;width:90vw;height:90vh;padding:0;background-color:", designTokens.base.color.gray8, ";border-radius:0.375rem;");
15
- var StyledModalHeader = /*#__PURE__*/_styled__default.default(blocks.Text, {
16
- target: "e1cl5wqs3"
17
- })("flex:0 1 auto;width:100%;height:3.25rem;min-height:3.25rem;line-height:3.25rem;border-top-left-radius:0.375rem;border-top-right-radius:0.375rem;border-bottom:1px solid ", designTokens.base.color.navy9, ";text-align:center;color:", designTokens.base.color.white, ";");
18
- var StyledModalBody = /*#__PURE__*/_styled__default.default("div", {
19
- target: "e1cl5wqs2"
20
- })("production" === "production" ? {
21
- name: "1pb620b",
22
- styles: "position:relative;flex:1 1 auto;width:100%;height:80%"
23
- } : {
24
- name: "1pb620b",
25
- styles: "position:relative;flex:1 1 auto;width:100%;height:80%",
26
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
27
- });
28
- var StyledModalFooter = /*#__PURE__*/_styled__default.default(blocks.Flex, {
29
- target: "e1cl5wqs1"
30
- })("flex:0 1 auto;width:100%;height:3.75rem;min-height:3.75rem;border-bottom-left-radius:0.375rem;border-bottom-right-radius:0.375rem;border-top:1px solid ", designTokens.base.color.navy9, ";padding:0.5rem 1.5rem;overflow:hidden;text-align:right;align-items:center;justify-content:flex-end;");
31
- var StyledCloseButton = /*#__PURE__*/_styled__default.default(blocks.IconButton, {
32
- target: "e1cl5wqs0"
33
- })("position:absolute;top:0;right:0;color:", designTokens.base.color.gray4, "!important;");
34
-
35
- exports.StyledCloseButton = StyledCloseButton;
36
- exports.StyledModalBody = StyledModalBody;
37
- exports.StyledModalFooter = StyledModalFooter;
38
- exports.StyledModalHeader = StyledModalHeader;
39
- exports.StyledModalWrapper = StyledModalWrapper;
@@ -1,66 +0,0 @@
1
- export declare const EXERCISE_FILE_TREE_MIN_WIDTH = 128;
2
- export declare const EXERCISE_PREVIEW_MIN_WIDTH = 128;
3
- export declare const EXERCISE_RUNNER_MIN_HEIGHT = 128;
4
- export declare const EXERCISE_HORIZONTAL_RATIO: {
5
- FILETREE: number;
6
- EDITOR: number;
7
- PREVIEW: number;
8
- };
9
- /**
10
- * Wrapper contains:
11
- * - FileTree
12
- * - FileTabs
13
- * - File (Editor)
14
- * - Runner
15
- */
16
- export declare const StyledExerciseContainer: import("@emotion/styled").StyledComponent<{
17
- theme?: import("@emotion/react").Theme;
18
- as?: React.ElementType;
19
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
- /**
21
- * Wrapper contains:
22
- * - FileTree
23
- * - FileTabs
24
- * - File (Editor)
25
- */
26
- export declare const StyledExerciseMain: import("@emotion/styled").StyledComponent<{
27
- theme?: import("@emotion/react").Theme;
28
- as?: React.ElementType;
29
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
30
- /**
31
- * Wrapper contains:
32
- * - FileTabs
33
- * - File (Editor)
34
- */
35
- export declare const StyledExerciseFileAndTabWrap: import("@emotion/styled").StyledComponent<{
36
- theme?: import("@emotion/react").Theme;
37
- as?: React.ElementType;
38
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
39
- export declare const StyledExerciseFileWrap: import("@emotion/styled").StyledComponent<{
40
- theme?: import("@emotion/react").Theme;
41
- as?: React.ElementType;
42
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
43
- export declare const StyledExerciseTabBar: import("@emotion/styled").StyledComponent<{
44
- theme?: import("@emotion/react").Theme;
45
- as?: React.ElementType;
46
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
47
- export declare const StyledExerciseTabsWrap: import("@emotion/styled").StyledComponent<{
48
- theme?: import("@emotion/react").Theme;
49
- as?: React.ElementType;
50
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
51
- export declare const StyledExerciseTabMenuWrap: import("@emotion/styled").StyledComponent<{
52
- theme?: import("@emotion/react").Theme;
53
- as?: React.ElementType;
54
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
55
- export declare const StyledExerciseFileTreeWrap: import("@emotion/styled").StyledComponent<{
56
- theme?: import("@emotion/react").Theme;
57
- as?: React.ElementType;
58
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
59
- export declare const StyledxerciseFileTreeContaner: import("@emotion/styled").StyledComponent<{
60
- theme?: import("@emotion/react").Theme;
61
- as?: React.ElementType;
62
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
63
- export declare const StyledExerciseRunnerWrap: import("@emotion/styled").StyledComponent<{
64
- theme?: import("@emotion/react").Theme;
65
- as?: React.ElementType;
66
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,100 +0,0 @@
1
- import _styled from '@emotion/styled/base';
2
- import { base } from '@elice/design-tokens';
3
- import { MATERIAL_DIVIDER_BORDER_VALUE } from '../../constants/stylesheets.js';
4
-
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 EXERCISE_FILE_TREE_MIN_WIDTH = 128;
7
- var EXERCISE_PREVIEW_MIN_WIDTH = 128;
8
- var EXERCISE_RUNNER_MIN_HEIGHT = 128;
9
- var EXERCISE_HORIZONTAL_RATIO = {
10
- FILETREE: 0.15,
11
- PREVIEW: 0.4
12
- };
13
- /**
14
- * Wrapper contains:
15
- * - FileTree
16
- * - FileTabs
17
- * - File (Editor)
18
- * - Runner
19
- */
20
- var StyledExerciseContainer = /*#__PURE__*/_styled("div", {
21
- target: "e1femvm99"
22
- })("production" === "production" ? {
23
- name: "1x6515k",
24
- styles: "flex:1;display:flex;flex-direction:column;height:100%;min-width:0;min-height:0"
25
- } : {
26
- name: "1x6515k",
27
- styles: "flex:1;display:flex;flex-direction:column;height:100%;min-width:0;min-height:0",
28
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
29
- });
30
- /**
31
- * Wrapper contains:
32
- * - FileTree
33
- * - FileTabs
34
- * - File (Editor)
35
- */
36
- var StyledExerciseMain = /*#__PURE__*/_styled("div", {
37
- target: "e1femvm98"
38
- })("production" === "production" ? {
39
- name: "gaqfa6",
40
- styles: "flex:1;display:flex;width:100%;min-width:0;min-height:0"
41
- } : {
42
- name: "gaqfa6",
43
- styles: "flex:1;display:flex;width:100%;min-width:0;min-height:0",
44
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
45
- });
46
- /**
47
- * Wrapper contains:
48
- * - FileTabs
49
- * - File (Editor)
50
- */
51
- var StyledExerciseFileAndTabWrap = /*#__PURE__*/_styled("div", {
52
- target: "e1femvm97"
53
- })("flex:1;display:flex;flex-direction:column;height:100%;min-width:0;min-height:0;background-color:", base.color.navy9, ";");
54
- var StyledExerciseFileWrap = /*#__PURE__*/_styled("div", {
55
- target: "e1femvm96"
56
- })("production" === "production" ? {
57
- name: "1qvekf5",
58
- styles: "flex:1;min-height:0"
59
- } : {
60
- name: "1qvekf5",
61
- styles: "flex:1;min-height:0",
62
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
63
- });
64
- // ========== Exercise FileTab ==========
65
- var StyledExerciseTabBar = /*#__PURE__*/_styled("div", {
66
- target: "e1femvm95"
67
- })("display:flex;border-bottom:", MATERIAL_DIVIDER_BORDER_VALUE, ";");
68
- var StyledExerciseTabsWrap = /*#__PURE__*/_styled("div", {
69
- target: "e1femvm94"
70
- })("production" === "production" ? {
71
- name: "fxp7t8",
72
- styles: "flex:1;min-width:0"
73
- } : {
74
- name: "fxp7t8",
75
- styles: "flex:1;min-width:0",
76
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
77
- });
78
- var StyledExerciseTabMenuWrap = /*#__PURE__*/_styled("div", {
79
- target: "e1femvm93"
80
- })("display:flex;justify-content:center;align-items:center;padding:0 0.5rem 0 1rem;background-color:", base.color.navy8, ";");
81
- // ========== Exercise FileTree ==========
82
- var StyledExerciseFileTreeWrap = /*#__PURE__*/_styled("div", {
83
- target: "e1femvm92"
84
- })("flex:1;display:flex;flex-direction:column;min-width:0;height:100%;border-right:", MATERIAL_DIVIDER_BORDER_VALUE, ";");
85
- var StyledxerciseFileTreeContaner = /*#__PURE__*/_styled("div", {
86
- target: "e1femvm91"
87
- })("production" === "production" ? {
88
- name: "ajoz9e",
89
- styles: "display:flex;height:100%;max-width:auto;&[aria-hidden='true']{max-width:0;overflow:hidden;}"
90
- } : {
91
- name: "ajoz9e",
92
- styles: "display:flex;height:100%;max-width:auto;&[aria-hidden='true']{max-width:0;overflow:hidden;}",
93
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
94
- });
95
- // ========== Exercise Runner ==========
96
- var StyledExerciseRunnerWrap = /*#__PURE__*/_styled("div", {
97
- target: "e1femvm90"
98
- })("width:100%;height:100%;border-top:", MATERIAL_DIVIDER_BORDER_VALUE, ";");
99
-
100
- export { EXERCISE_FILE_TREE_MIN_WIDTH, EXERCISE_HORIZONTAL_RATIO, EXERCISE_PREVIEW_MIN_WIDTH, EXERCISE_RUNNER_MIN_HEIGHT, StyledExerciseContainer, StyledExerciseFileAndTabWrap, StyledExerciseFileTreeWrap, StyledExerciseFileWrap, StyledExerciseMain, StyledExerciseRunnerWrap, StyledExerciseTabBar, StyledExerciseTabMenuWrap, StyledExerciseTabsWrap, 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,49 +0,0 @@
1
- import _styled from '@emotion/styled/base';
2
- import { Flex, Text } from '@elice/blocks';
3
- import { base } from '@elice/design-tokens';
4
- import { css } from '@emotion/react';
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)."; }
7
- var cssInputRangeTrack = "production" === "production" ? {
8
- name: "jsy83f",
9
- styles: "width:100%;height:0.375rem;cursor:pointer;transition:all 0.2s ease"
10
- } : {
11
- name: "jsy83f",
12
- styles: "width:100%;height:0.375rem;cursor:pointer;transition:all 0.2s ease",
13
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
14
- };
15
- var cssInputRangeThumb = /*#__PURE__*/css("height:1rem;width:1rem;border-radius:50%;background:", base.color.primary6, ";cursor:pointer;");
16
- var StyledModalContent = /*#__PURE__*/_styled(Flex, {
17
- target: "e1bo6lpg5"
18
- })("production" === "production" ? {
19
- name: "1j1fdpn",
20
- styles: "position:absolute;width:100%;height:100%;overflow:hidden"
21
- } : {
22
- name: "1j1fdpn",
23
- styles: "position:absolute;width:100%;height:100%;overflow:hidden",
24
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
25
- });
26
- var StyledVersionRangeInput = /*#__PURE__*/_styled("input", {
27
- target: "e1bo6lpg4"
28
- })("--webkit-appearance:none;margin:0.5rem 0;width:100%;cursor:pointer;&:focus{outline:none;}&::-webkit-slider-runnable-track{background:", 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(", base.color.navy9, ", 0.05);}&::-moz-range-track{background:", base.color.navy9, ";", cssInputRangeTrack, ";}&::-moz-range-thumb{", cssInputRangeThumb, ";}");
29
- var StyledVersionsWrapper = /*#__PURE__*/_styled(Flex, {
30
- target: "e1bo6lpg3"
31
- })("flex-direction:column;flex:1 1.75 25rem;position:relative;height:100%;border-right:1px solid ", base.color.navy9, ";");
32
- var StyledVersionRangeInputWrapper = /*#__PURE__*/_styled(Flex, {
33
- target: "e1bo6lpg2"
34
- })("height:3rem;padding:1rem;border-bottom:1px solid ", base.color.navy9, ";");
35
- var StyledEditorWrapper = /*#__PURE__*/_styled(Flex, {
36
- target: "e1bo6lpg1"
37
- })("production" === "production" ? {
38
- name: "xf8y5j",
39
- styles: "flex-direction:column;flex:1 1 auto;width:100%;height:100%;overflow:scroll"
40
- } : {
41
- name: "xf8y5j",
42
- styles: "flex-direction:column;flex:1 1 auto;width:100%;height:100%;overflow:scroll",
43
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
44
- });
45
- var StyledFileNameBox = /*#__PURE__*/_styled(Text, {
46
- target: "e1bo6lpg0"
47
- })("min-height:3rem;height:3rem;line-height:3rem;padding-left:1rem;border-bottom:1px solid ", base.color.navy9, ";");
48
-
49
- export { StyledEditorWrapper, StyledFileNameBox, StyledModalContent, StyledVersionRangeInput, StyledVersionRangeInputWrapper, StyledVersionsWrapper, cssInputRangeThumb, 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,16 +0,0 @@
1
- import _styled from '@emotion/styled/base';
2
- import { List } from '@elice/blocks';
3
-
4
- 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
- var StyledVersionList = /*#__PURE__*/_styled(List, {
6
- target: "e1kcjofl0"
7
- })("production" === "production" ? {
8
- name: "1uke1dw",
9
- styles: "height:100%;padding:0;overflow:scroll;background-color:transparent;&>last-of-type{border:none;}"
10
- } : {
11
- name: "1uke1dw",
12
- styles: "height:100%;padding:0;overflow:scroll;background-color:transparent;&>last-of-type{border:none;}",
13
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
14
- });
15
-
16
- export { 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,65 +0,0 @@
1
- import _styled from '@emotion/styled/base';
2
- import { Text, IconButton } from '@elice/blocks';
3
- import { base } from '@elice/design-tokens';
4
- import { css } from '@emotion/react';
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)."; }
7
- var TAB_MIN_WIDTH = '7rem';
8
- var TAB_VERTICAL_BORDER_WIDTH = '1.5px';
9
- var TAB_BACKGROUND_COLOR = base.color.navy8;
10
- var TAB_ACTIVE_BACKGROUND_COLOR = base.color.navy9;
11
- var TAB_HOVERED_BACKGROUND_COLOR = base.color.navy7;
12
- // ========== Tab label ==========
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
- });
46
- // ========== Tab content ==========
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;}}");
50
- // ========== Tab active border ==========
51
- var StyledTabActiveBorder = /*#__PURE__*/_styled("div", {
52
- target: "egie1c81"
53
- })("height:", TAB_VERTICAL_BORDER_WIDTH, ";background-color:", base.color.primary5, ";opacity:0;");
54
- // ========== Tab ==========
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) {
60
- return props.active && cssTabActive;
61
- }, " ", function (props) {
62
- return props.hovered && cssTabHovered;
63
- }, ";");
64
-
65
- export { StyledTab, StyledTabActiveBorder, StyledTabCloseButton, StyledTabContent, StyledTabLabel, StyledTabLabelDirname, 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,24 +0,0 @@
1
- import _styled from '@emotion/styled/base';
2
- import { base } from '@elice/design-tokens';
3
- import { getMaterialScrollBarCss } from '../../../constants/stylesheets.js';
4
-
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({
9
- height: '2px',
10
- borderRadius: '2px',
11
- hideable: true
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
- });
23
-
24
- export { StyledTabs, 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 {};