@evergis/apps 0.1.8 → 0.1.9

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 (67) hide show
  1. package/README.md +118 -118
  2. package/dist/catalog/attributeFormat/Settings/styled.js +8 -8
  3. package/dist/catalog/attributeFormat/styled.js +171 -171
  4. package/dist/catalog/dialogs/EditResource/styled.js +22 -22
  5. package/dist/catalog/dialogs/ResourcePreview/styled.js +52 -52
  6. package/dist/catalog/dialogs/styled.js +87 -87
  7. package/dist/catalog/fields/ResourceTypeTiles/styled.js +56 -56
  8. package/dist/catalog/fields/styled.js +81 -81
  9. package/dist/catalog/geometry/GeometrySelector/styled.js +48 -48
  10. package/dist/catalog/selectors/AttributeSelector/styled.js +2 -2
  11. package/dist/catalog/selectors/DataSourceItemsList/styled.js +95 -95
  12. package/dist/catalog/selectors/DataSourcePicker/styled.js +11 -11
  13. package/dist/catalog/selectors/ResourceSelector/styled.js +11 -11
  14. package/dist/devmode/components/JsonTree/styled.js +84 -84
  15. package/dist/devmode/components/LayerCardPane/styled.js +53 -53
  16. package/dist/devmode/components/Markdown/MarkdownEditor/styled.js +43 -43
  17. package/dist/devmode/components/Markdown/MarkdownOutput/styled.js +10 -10
  18. package/dist/devmode/components/OutlinePanel/styled.js +40 -40
  19. package/dist/devmode/components/ResourceIcon/styled.js +30 -30
  20. package/dist/devmode/components/ResultsTable/styled.js +48 -48
  21. package/dist/devmode/components/RunErrorMessage/styled.js +20 -20
  22. package/dist/devmode/components/TreeExpand/index.js +12 -12
  23. package/dist/devmode/layout/DevModePanel/styled.js +20 -20
  24. package/dist/devmode/layout/DevModeTools/styled.js +29 -29
  25. package/dist/devmode/layout/NavigationSections/Header/styled.js +87 -87
  26. package/dist/devmode/layout/NavigationToggle/styled.js +21 -21
  27. package/dist/devmode/layout/PanelSwitcher/styled.js +49 -49
  28. package/dist/devmode/layout/StatusBar/styled.js +39 -39
  29. package/dist/devmode/layout/WorkspaceHeader/styled.js +37 -37
  30. package/dist/devmode/modules/eql/components/EqlEditor/styled.js +4 -4
  31. package/dist/devmode/modules/eql/components/QueryTypeSelect/styled.js +53 -53
  32. package/dist/devmode/modules/eql/components/modes/EqlConfigurationMode/AddConfiguration/styled.js +24 -24
  33. package/dist/devmode/modules/eql/dialogs/AddParameterDialog/styled.js +3 -3
  34. package/dist/devmode/modules/eql/styled.js +127 -127
  35. package/dist/devmode/modules/files/styled.js +14 -14
  36. package/dist/devmode/modules/layer/styled.js +10 -10
  37. package/dist/devmode/modules/navigation-catalog/hooks/useCatalogReveal.js +14 -6
  38. package/dist/devmode/modules/navigation-catalog/hooks/useCatalogReveal.js.map +1 -1
  39. package/dist/devmode/modules/navigation-catalog/styled.js +147 -147
  40. package/dist/devmode/modules/navigation-catalog/thunks/catalogFiles.d.ts +2 -1
  41. package/dist/devmode/modules/navigation-catalog/thunks/catalogFiles.js +1 -1
  42. package/dist/devmode/modules/python/components/Notebook/styled.js +203 -203
  43. package/dist/devmode/modules/python/components/PythonFileContent/styled.js +6 -6
  44. package/dist/devmode/modules/python/components/PythonRunBar/styled.js +5 -5
  45. package/dist/devmode/modules/python/components/PythonRunControl/styled.js +9 -9
  46. package/dist/devmode/modules/python/components/PythonRunLog/styled.js +11 -11
  47. package/dist/devmode/modules/python/components/PythonStatus/styled.js +11 -11
  48. package/dist/devmode/modules/python/components/SandboxesDialog/components/SandboxCard/styled.js +42 -42
  49. package/dist/devmode/modules/python/components/SandboxesDialog/styled.js +58 -58
  50. package/dist/devmode/modules/python/components/WorkerMetrics/styled.js +26 -26
  51. package/dist/devmode/modules/python/dialogs/ViewResponseDialog/styled.js +5 -5
  52. package/dist/devmode/modules/resource-json/styled.js +7 -7
  53. package/dist/devmode/modules/table/components/TableContent/styled.js +18 -18
  54. package/dist/devmode/monaco/MonacoEditor/styled.js +6 -6
  55. package/dist/devmode/monaco/ReadonlyMonacoEditor/styled.js +24 -24
  56. package/dist/devmode/navigation/CategoryTree/styled.js +65 -65
  57. package/dist/devmode/navigation/NodeActionsMenu/styled.js +63 -63
  58. package/dist/devmode/tabs/Panes/PaneHandle/styled.js +45 -45
  59. package/dist/devmode/tabs/Panes/styled.js +21 -21
  60. package/dist/devmode/tabs/ResultsDock/styled.js +35 -35
  61. package/dist/devmode/tabs/TabActions/styled.js +50 -50
  62. package/dist/devmode/tabs/TabPane/styled.js +6 -6
  63. package/dist/devmode/tabs/Tabs/Tab/styled.js +105 -105
  64. package/dist/devmode/tabs/Tabs/styled.js +61 -61
  65. package/dist/devmode/tabs/states/styled.js +2 -2
  66. package/dist/devmode/tabs/styled.js +37 -37
  67. package/package.json +321 -322
@@ -5,57 +5,57 @@ import { hexToRgba } from '@evergis/common';
5
5
  const CHIP_ALPHA = 0.06;
6
6
  const ICON_PADDING_PX = 8;
7
7
  const CHIP_BACKGROUND = hexToRgba("#11252F", CHIP_ALPHA);
8
- const inputMixin = css `
9
- display: flex;
10
- height: ${({ height }) => height || "auto"};
11
- padding: 0.34375rem ${({ paddingRight }) => `${paddingRight || 0}rem`} 0.34375rem
12
- ${({ extraLeftPaddingWidth }) => (extraLeftPaddingWidth ? `${extraLeftPaddingWidth + ICON_PADDING_PX}px` : "0.5rem")};
13
- width: 100%;
14
- background: transparent;
15
- border: 0.0625rem solid ${({ error, theme: { input } }) => (error ? input.error : input.borderColor)};
16
- border-radius: ${borderRadius};
17
- box-sizing: border-box;
18
- color: ${({ theme: { input } }) => input.color};
19
- font: ${({ theme: { fonts } }) => fonts.standard};
20
-
21
- &:focus {
22
- outline: none;
23
- border-color: ${({ error, theme: { input } }) => (error ? input.error : input.active)};
24
- }
25
-
26
- &::placeholder {
27
- color: ${({ theme: { input } }) => input.placeholderColor};
28
- }
29
-
30
- &[disabled] {
31
- pointer-events: none;
32
- color: ${({ theme: { input } }) => input.disabledColor};
33
- border: 0.0635rem dashed ${({ theme: { input } }) => input.disabledBorderColor};
34
-
35
- &::placeholder {
36
- color: ${({ theme: { input } }) => input.disabledPlaceholderColor};
37
- }
38
- }
8
+ const inputMixin = css `
9
+ display: flex;
10
+ height: ${({ height }) => height || "auto"};
11
+ padding: 0.34375rem ${({ paddingRight }) => `${paddingRight || 0}rem`} 0.34375rem
12
+ ${({ extraLeftPaddingWidth }) => (extraLeftPaddingWidth ? `${extraLeftPaddingWidth + ICON_PADDING_PX}px` : "0.5rem")};
13
+ width: 100%;
14
+ background: transparent;
15
+ border: 0.0625rem solid ${({ error, theme: { input } }) => (error ? input.error : input.borderColor)};
16
+ border-radius: ${borderRadius};
17
+ box-sizing: border-box;
18
+ color: ${({ theme: { input } }) => input.color};
19
+ font: ${({ theme: { fonts } }) => fonts.standard};
20
+
21
+ &:focus {
22
+ outline: none;
23
+ border-color: ${({ error, theme: { input } }) => (error ? input.error : input.active)};
24
+ }
25
+
26
+ &::placeholder {
27
+ color: ${({ theme: { input } }) => input.placeholderColor};
28
+ }
29
+
30
+ &[disabled] {
31
+ pointer-events: none;
32
+ color: ${({ theme: { input } }) => input.disabledColor};
33
+ border: 0.0635rem dashed ${({ theme: { input } }) => input.disabledBorderColor};
34
+
35
+ &::placeholder {
36
+ color: ${({ theme: { input } }) => input.disabledPlaceholderColor};
37
+ }
38
+ }
39
39
  `;
40
- const ChipInputHolder = styled.div.withConfig({ displayName: "ChipInputHolder", componentId: "sc-1p23zn6" }) `
41
- ${inputMixin};
42
- height: 2rem;
43
- align-items: center;
44
- padding: 0 ${({ paddingRight }) => `${paddingRight || 0}rem`} 0 0.5rem;
40
+ const ChipInputHolder = styled.div.withConfig({ displayName: "ChipInputHolder", componentId: "sc-h4d7z8" }) `
41
+ ${inputMixin};
42
+ height: 2rem;
43
+ align-items: center;
44
+ padding: 0 ${({ paddingRight }) => `${paddingRight || 0}rem`} 0 0.5rem;
45
45
  `;
46
- const InputChip = styled.div.withConfig({ displayName: "InputChip", componentId: "sc-qfilsy" }) `
47
- display: inline-flex;
48
- align-items: center;
49
- padding: 5px 8px;
50
- border-radius: 0.25rem;
51
- background-color: ${({ $primary, theme }) => ($primary ? theme.palette.primary : CHIP_BACKGROUND)};
52
- color: ${({ $primary, theme }) => ($primary ? "white" : theme.palette.textPrimary)};
53
- cursor: pointer;
54
- font-size: 0.75rem;
46
+ const InputChip = styled.div.withConfig({ displayName: "InputChip", componentId: "sc-we12c0" }) `
47
+ display: inline-flex;
48
+ align-items: center;
49
+ padding: 5px 8px;
50
+ border-radius: 0.25rem;
51
+ background-color: ${({ $primary, theme }) => ($primary ? theme.palette.primary : CHIP_BACKGROUND)};
52
+ color: ${({ $primary, theme }) => ($primary ? "white" : theme.palette.textPrimary)};
53
+ cursor: pointer;
54
+ font-size: 0.75rem;
55
55
  `;
56
- const IconAfter = styled.div.withConfig({ displayName: "IconAfter", componentId: "sc-my3ycx" }) `
57
- margin-left: auto;
58
- cursor: pointer;
56
+ const IconAfter = styled.div.withConfig({ displayName: "IconAfter", componentId: "sc-dve4e1" }) `
57
+ margin-left: auto;
58
+ cursor: pointer;
59
59
  `;
60
60
 
61
61
  export { ChipInputHolder, IconAfter, InputChip, inputMixin };
@@ -1,7 +1,7 @@
1
1
  import styled from 'styled-components';
2
2
 
3
- const SelectContainer = styled.div.withConfig({ displayName: "SelectContainer", componentId: "sc-1njplyo" }) `
4
- position: relative;
3
+ const SelectContainer = styled.div.withConfig({ displayName: "SelectContainer", componentId: "sc-nqe2zl" }) `
4
+ position: relative;
5
5
  `;
6
6
 
7
7
  export { SelectContainer };
@@ -1,108 +1,108 @@
1
1
  import { Flex, Icon } from '@evergis/uilib-gl';
2
2
  import styled from 'styled-components';
3
3
 
4
- const DataSourceItemsListRoot = styled(Flex).withConfig({ displayName: "DataSourceItemsListRoot", componentId: "sc-1n343kh" }) `
5
- flex-direction: column;
6
- width: 100%;
4
+ const DataSourceItemsListRoot = styled(Flex).withConfig({ displayName: "DataSourceItemsListRoot", componentId: "sc-1my54gq" }) `
5
+ flex-direction: column;
6
+ width: 100%;
7
7
  `;
8
- const DataSourceItemsListScroll = styled.div.withConfig({ displayName: "DataSourceItemsListScroll", componentId: "sc-1b1h7ah" }) `
9
- max-height: 18rem;
10
- overflow-y: auto;
11
- width: 100%;
8
+ const DataSourceItemsListScroll = styled.div.withConfig({ displayName: "DataSourceItemsListScroll", componentId: "sc-1rj35cl" }) `
9
+ max-height: 18rem;
10
+ overflow-y: auto;
11
+ width: 100%;
12
12
  `;
13
- const DataSourceItemsListDivider = styled.div.withConfig({ displayName: "DataSourceItemsListDivider", componentId: "sc-1gpc5oa" }) `
14
- width: 100%;
15
- height: 1px;
16
- margin: 0.5rem 0;
17
- background-color: ${({ theme }) => theme.palette.textPrimary};
18
- opacity: 0.12;
13
+ const DataSourceItemsListDivider = styled.div.withConfig({ displayName: "DataSourceItemsListDivider", componentId: "sc-6ajjdf" }) `
14
+ width: 100%;
15
+ height: 1px;
16
+ margin: 0.5rem 0;
17
+ background-color: ${({ theme }) => theme.palette.textPrimary};
18
+ opacity: 0.12;
19
19
  `;
20
- const DataSourceItemsListItemRoot = styled.button.withConfig({ displayName: "DataSourceItemsListItemRoot", componentId: "sc-1h3hjax" }) `
21
- display: flex;
22
- flex-direction: column;
23
- align-items: flex-start;
24
- width: 100%;
25
- padding: 0.5rem 1rem;
26
- border: none;
27
- border-radius: 0.25rem;
28
- box-sizing: border-box;
29
- cursor: pointer;
30
- text-align: left;
31
- background-color: transparent;
32
- color: ${({ theme }) => theme.palette.textPrimary};
33
-
34
- &:hover:not(:disabled) {
35
- background-color: ${({ theme }) => theme.palette.element};
36
- }
37
-
38
- &:disabled {
39
- cursor: default;
40
- opacity: 0.28;
41
- }
42
-
43
- ${Icon} {
44
- flex-shrink: 0;
45
- width: 1rem;
46
- height: 1rem;
47
- }
48
-
49
- ${Icon}:after {
50
- font-size: 1rem;
51
- }
20
+ const DataSourceItemsListItemRoot = styled.button.withConfig({ displayName: "DataSourceItemsListItemRoot", componentId: "sc-fzmus5" }) `
21
+ display: flex;
22
+ flex-direction: column;
23
+ align-items: flex-start;
24
+ width: 100%;
25
+ padding: 0.5rem 1rem;
26
+ border: none;
27
+ border-radius: 0.25rem;
28
+ box-sizing: border-box;
29
+ cursor: pointer;
30
+ text-align: left;
31
+ background-color: transparent;
32
+ color: ${({ theme }) => theme.palette.textPrimary};
33
+
34
+ &:hover:not(:disabled) {
35
+ background-color: ${({ theme }) => theme.palette.element};
36
+ }
37
+
38
+ &:disabled {
39
+ cursor: default;
40
+ opacity: 0.28;
41
+ }
42
+
43
+ ${Icon} {
44
+ flex-shrink: 0;
45
+ width: 1rem;
46
+ height: 1rem;
47
+ }
48
+
49
+ ${Icon}:after {
50
+ font-size: 1rem;
51
+ }
52
52
  `;
53
- const DataSourceItemsListItemRow = styled.div.withConfig({ displayName: "DataSourceItemsListItemRow", componentId: "sc-qbwr1c" }) `
54
- display: flex;
55
- align-items: center;
56
- gap: 0.5rem;
57
- min-width: 0;
58
- width: 100%;
53
+ const DataSourceItemsListItemRow = styled.div.withConfig({ displayName: "DataSourceItemsListItemRow", componentId: "sc-o8bvep" }) `
54
+ display: flex;
55
+ align-items: center;
56
+ gap: 0.5rem;
57
+ min-width: 0;
58
+ width: 100%;
59
59
  `;
60
- const DataSourceItemsListItemName = styled.div.withConfig({ displayName: "DataSourceItemsListItemName", componentId: "sc-qrmx2x" }) `
61
- flex: 1;
62
- min-width: 0;
63
- font-size: 1rem;
64
- line-height: 1.125rem;
65
- overflow: hidden;
66
- text-overflow: ellipsis;
67
- white-space: nowrap;
60
+ const DataSourceItemsListItemName = styled.div.withConfig({ displayName: "DataSourceItemsListItemName", componentId: "sc-2ld97m" }) `
61
+ flex: 1;
62
+ min-width: 0;
63
+ font-size: 1rem;
64
+ line-height: 1.125rem;
65
+ overflow: hidden;
66
+ text-overflow: ellipsis;
67
+ white-space: nowrap;
68
68
  `;
69
- const DataSourceItemsListItemSystemName = styled.div.withConfig({ displayName: "DataSourceItemsListItemSystemName", componentId: "sc-ekutu8" }) `
70
- padding-left: 1.5rem;
71
- font-size: 0.75rem;
72
- line-height: 0.875rem;
73
- opacity: 0.5;
74
- overflow: hidden;
75
- text-overflow: ellipsis;
76
- white-space: nowrap;
77
- max-width: 100%;
69
+ const DataSourceItemsListItemSystemName = styled.div.withConfig({ displayName: "DataSourceItemsListItemSystemName", componentId: "sc-f12exa" }) `
70
+ padding-left: 1.5rem;
71
+ font-size: 0.75rem;
72
+ line-height: 0.875rem;
73
+ opacity: 0.5;
74
+ overflow: hidden;
75
+ text-overflow: ellipsis;
76
+ white-space: nowrap;
77
+ max-width: 100%;
78
78
  `;
79
- const AddDataSourceButtonRoot = styled.button.withConfig({ displayName: "AddDataSourceButtonRoot", componentId: "sc-q96wyz" }) `
80
- display: flex;
81
- align-items: center;
82
- justify-content: center;
83
- gap: 0.375rem;
84
- width: 100%;
85
- padding: 0.5rem 0.75rem;
86
- border: none;
87
- border-radius: 0.25rem;
88
- cursor: pointer;
89
- font-size: 0.875rem;
90
- line-height: 1rem;
91
- color: ${({ theme }) => theme.palette.icon};
92
- background-color: ${({ theme }) => theme.palette.element};
93
-
94
- &:hover:not(:disabled) {
95
- background-color: ${({ theme }) => theme.palette.elementDeep};
96
- }
97
-
98
- &:disabled {
99
- cursor: default;
100
- opacity: 0.5;
101
- }
102
-
103
- ${Icon}:after {
104
- font-size: 0.875rem;
105
- }
79
+ const AddDataSourceButtonRoot = styled.button.withConfig({ displayName: "AddDataSourceButtonRoot", componentId: "sc-363s4j" }) `
80
+ display: flex;
81
+ align-items: center;
82
+ justify-content: center;
83
+ gap: 0.375rem;
84
+ width: 100%;
85
+ padding: 0.5rem 0.75rem;
86
+ border: none;
87
+ border-radius: 0.25rem;
88
+ cursor: pointer;
89
+ font-size: 0.875rem;
90
+ line-height: 1rem;
91
+ color: ${({ theme }) => theme.palette.icon};
92
+ background-color: ${({ theme }) => theme.palette.element};
93
+
94
+ &:hover:not(:disabled) {
95
+ background-color: ${({ theme }) => theme.palette.elementDeep};
96
+ }
97
+
98
+ &:disabled {
99
+ cursor: default;
100
+ opacity: 0.5;
101
+ }
102
+
103
+ ${Icon}:after {
104
+ font-size: 0.875rem;
105
+ }
106
106
  `;
107
107
 
108
108
  export { AddDataSourceButtonRoot, DataSourceItemsListDivider, DataSourceItemsListItemName, DataSourceItemsListItemRoot, DataSourceItemsListItemRow, DataSourceItemsListItemSystemName, DataSourceItemsListRoot, DataSourceItemsListScroll };
@@ -1,17 +1,17 @@
1
1
  import styled from 'styled-components';
2
2
 
3
- const DataSourcePickerRoot = styled.div.withConfig({ displayName: "DataSourcePickerRoot", componentId: "sc-d3ongf" }) `
4
- width: ${({ $width }) => ($width ? `${$width}px` : "17.5rem")};
5
- min-width: ${({ $width }) => ($width ? `${$width}px` : "12rem")};
6
- box-sizing: border-box;
7
- padding: 0.5rem;
8
- border-radius: 0.25rem;
9
- background-color: ${({ theme }) => theme.palette.background};
10
- box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.12);
3
+ const DataSourcePickerRoot = styled.div.withConfig({ displayName: "DataSourcePickerRoot", componentId: "sc-g1x4ap" }) `
4
+ width: ${({ $width }) => ($width ? `${$width}px` : "17.5rem")};
5
+ min-width: ${({ $width }) => ($width ? `${$width}px` : "12rem")};
6
+ box-sizing: border-box;
7
+ padding: 0.5rem;
8
+ border-radius: 0.25rem;
9
+ background-color: ${({ theme }) => theme.palette.background};
10
+ box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.12);
11
11
  `;
12
- const DataSourcePickerAnchor = styled.span.withConfig({ displayName: "DataSourcePickerAnchor", componentId: "sc-yq1rut" }) `
13
- display: flex;
14
- width: 100%;
12
+ const DataSourcePickerAnchor = styled.span.withConfig({ displayName: "DataSourcePickerAnchor", componentId: "sc-1m7ssre" }) `
13
+ display: flex;
14
+ width: 100%;
15
15
  `;
16
16
 
17
17
  export { DataSourcePickerAnchor, DataSourcePickerRoot };
@@ -1,19 +1,19 @@
1
1
  import styled from 'styled-components';
2
2
  import { Dropdown, IconButton } from '@evergis/uilib-gl';
3
3
 
4
- const SelectorContainer = styled.div.withConfig({ displayName: "SelectorContainer", componentId: "sc-1owpx1p" }) `
5
- position: relative;
6
- width: 100%;
4
+ const SelectorContainer = styled.div.withConfig({ displayName: "SelectorContainer", componentId: "sc-alzgs6" }) `
5
+ position: relative;
6
+ width: 100%;
7
7
  `;
8
- const SelectorDropdown = styled(Dropdown).withConfig({ displayName: "SelectorDropdown", componentId: "sc-b0eklp" }) `
9
- padding-right: ${({ $withCatalog }) => ($withCatalog ? "3.5rem" : "2rem")};
8
+ const SelectorDropdown = styled(Dropdown).withConfig({ displayName: "SelectorDropdown", componentId: "sc-16uc4eh" }) `
9
+ padding-right: ${({ $withCatalog }) => ($withCatalog ? "3.5rem" : "2rem")};
10
10
  `;
11
- const CatalogButton = styled(IconButton).withConfig({ displayName: "CatalogButton", componentId: "sc-6ivum5" }) `
12
- position: absolute;
13
- right: 1.25rem;
14
- height: 1rem;
15
- top: 2rem;
16
- z-index: ${({ $zIndex = 0 }) => $zIndex + 1};
11
+ const CatalogButton = styled(IconButton).withConfig({ displayName: "CatalogButton", componentId: "sc-xc70lj" }) `
12
+ position: absolute;
13
+ right: 1.25rem;
14
+ height: 1rem;
15
+ top: 2rem;
16
+ z-index: ${({ $zIndex = 0 }) => $zIndex + 1};
17
17
  `;
18
18
 
19
19
  export { CatalogButton, SelectorContainer, SelectorDropdown };
@@ -2,101 +2,101 @@ import styled from 'styled-components';
2
2
  import { Flex, textOverflowEllipsisMixin, Icon, IconButtonButton, transition, IconButton, TreeExpand, TreeContent } from '@evergis/uilib-gl';
3
3
  import { StyledDevTree } from '../../navigation/CategoryTree/styled.js';
4
4
 
5
- const JsonTreeContainer = styled(Flex).withConfig({ displayName: "JsonTreeContainer", componentId: "sc-a0gfty" }) `
6
- flex-direction: column;
7
- width: 100%;
8
- height: ${({ $isCollapsed }) => ($isCollapsed ? "auto" : "100%")};
9
- min-height: 0;
10
- overflow: hidden;
5
+ const JsonTreeContainer = styled(Flex).withConfig({ displayName: "JsonTreeContainer", componentId: "sc-1vwc88v" }) `
6
+ flex-direction: column;
7
+ width: 100%;
8
+ height: ${({ $isCollapsed }) => ($isCollapsed ? "auto" : "100%")};
9
+ min-height: 0;
10
+ overflow: hidden;
11
11
  `;
12
- const JsonTreeHeader = styled.div.withConfig({ displayName: "JsonTreeHeader", componentId: "sc-11tyccm" }) `
13
- display: flex;
14
- align-items: center;
15
- padding: 0.5rem 0.75rem;
16
- box-sizing: border-box;
17
- width: 100%;
18
- flex-shrink: 0;
12
+ const JsonTreeHeader = styled.div.withConfig({ displayName: "JsonTreeHeader", componentId: "sc-51vs99" }) `
13
+ display: flex;
14
+ align-items: center;
15
+ padding: 0.5rem 0.75rem;
16
+ box-sizing: border-box;
17
+ width: 100%;
18
+ flex-shrink: 0;
19
19
  `;
20
- const JsonTreeHeaderTitle = styled.div.withConfig({ displayName: "JsonTreeHeaderTitle", componentId: "sc-1o6rvz" }) `
21
- display: flex;
22
- align-items: center;
23
- gap: 0 0.25rem;
24
- font-size: 0.75rem;
25
- font-weight: 700;
26
- flex: 1;
27
- min-width: 0;
28
- padding-right: 0.5rem;
29
- margin-left: 0.25rem;
20
+ const JsonTreeHeaderTitle = styled.div.withConfig({ displayName: "JsonTreeHeaderTitle", componentId: "sc-to1dpu" }) `
21
+ display: flex;
22
+ align-items: center;
23
+ gap: 0 0.25rem;
24
+ font-size: 0.75rem;
25
+ font-weight: 700;
26
+ flex: 1;
27
+ min-width: 0;
28
+ padding-right: 0.5rem;
29
+ margin-left: 0.25rem;
30
30
  `;
31
- const JsonTreeHeaderTitleText = styled.div.withConfig({ displayName: "JsonTreeHeaderTitleText", componentId: "sc-7pjqlp" }) `
32
- ${textOverflowEllipsisMixin}
31
+ const JsonTreeHeaderTitleText = styled.div.withConfig({ displayName: "JsonTreeHeaderTitleText", componentId: "sc-1hv9yiv" }) `
32
+ ${textOverflowEllipsisMixin}
33
33
  `;
34
- const JsonTreeHeaderIcon = styled(Icon).withConfig({ displayName: "JsonTreeHeaderIcon", componentId: "sc-1dlx8xh" }) `
35
- width: 0.875rem;
36
- height: 0.875rem;
37
- flex-shrink: 0;
38
-
39
- &:after {
40
- font-size: 0.875rem;
41
- }
34
+ const JsonTreeHeaderIcon = styled(Icon).withConfig({ displayName: "JsonTreeHeaderIcon", componentId: "sc-1w18z0o" }) `
35
+ width: 0.875rem;
36
+ height: 0.875rem;
37
+ flex-shrink: 0;
38
+
39
+ &:after {
40
+ font-size: 0.875rem;
41
+ }
42
42
  `;
43
- const JsonTreeHeaderActions = styled.div.withConfig({ displayName: "JsonTreeHeaderActions", componentId: "sc-g47x6t" }) `
44
- display: flex;
45
- align-items: center;
46
- flex-shrink: 0;
47
- gap: 0 0.25rem;
48
- margin-left: ${({ noMargin }) => (noMargin ? 0 : "auto")};
49
-
50
- ${IconButtonButton} {
51
- width: 0.875rem;
52
- height: 0.875rem;
53
- padding: 0;
54
- }
43
+ const JsonTreeHeaderActions = styled.div.withConfig({ displayName: "JsonTreeHeaderActions", componentId: "sc-ncaglv" }) `
44
+ display: flex;
45
+ align-items: center;
46
+ flex-shrink: 0;
47
+ gap: 0 0.25rem;
48
+ margin-left: ${({ noMargin }) => (noMargin ? 0 : "auto")};
49
+
50
+ ${IconButtonButton} {
51
+ width: 0.875rem;
52
+ height: 0.875rem;
53
+ padding: 0;
54
+ }
55
55
  `;
56
- const HeaderExpand = styled(Icon).attrs({ kind: "expand" }).withConfig({ displayName: "HeaderExpand", componentId: "sc-1u6talt" }) `
57
- width: 0.875rem;
58
- height: 0.875rem;
59
- cursor: pointer;
60
- transform: ${({ $isExpanded }) => ($isExpanded ? "" : "rotate(-90deg)")};
61
- transition: transform ${transition.press};
62
-
63
- &:after {
64
- font-size: 0.875rem;
65
- }
56
+ const HeaderExpand = styled(Icon).attrs({ kind: "expand" }).withConfig({ displayName: "HeaderExpand", componentId: "sc-28ai4r" }) `
57
+ width: 0.875rem;
58
+ height: 0.875rem;
59
+ cursor: pointer;
60
+ transform: ${({ $isExpanded }) => ($isExpanded ? "" : "rotate(-90deg)")};
61
+ transition: transform ${transition.press};
62
+
63
+ &:after {
64
+ font-size: 0.875rem;
65
+ }
66
66
  `;
67
- const SearchContainer = styled(Flex).withConfig({ displayName: "SearchContainer", componentId: "sc-ogu1no" }) `
68
- flex: 1;
69
- align-items: center;
70
- gap: 0.25rem;
67
+ const SearchContainer = styled(Flex).withConfig({ displayName: "SearchContainer", componentId: "sc-k8k22e" }) `
68
+ flex: 1;
69
+ align-items: center;
70
+ gap: 0.25rem;
71
71
  `;
72
- const JsonTreeContent = styled(Flex).withConfig({ displayName: "JsonTreeContent", componentId: "sc-lcuhaz" }) `
73
- flex-direction: column;
74
- width: 100%;
75
- flex: 1;
76
- overflow-y: auto;
77
- overflow-x: hidden;
78
- padding: 0 0.75rem;
79
- min-height: 3rem;
72
+ const JsonTreeContent = styled(Flex).withConfig({ displayName: "JsonTreeContent", componentId: "sc-1n96cov" }) `
73
+ flex-direction: column;
74
+ width: 100%;
75
+ flex: 1;
76
+ overflow-y: auto;
77
+ overflow-x: hidden;
78
+ padding: 0 0.75rem;
79
+ min-height: 3rem;
80
80
  `;
81
- const QueryEditButton = styled(IconButton).withConfig({ displayName: "QueryEditButton", componentId: "sc-144a85q" }) `
82
- height: 1rem;
83
- visibility: visible !important;
81
+ const QueryEditButton = styled(IconButton).withConfig({ displayName: "QueryEditButton", componentId: "sc-17nzz66" }) `
82
+ height: 1rem;
83
+ visibility: visible !important;
84
84
  `;
85
- const QueryTree = styled(StyledDevTree).withConfig({ displayName: "QueryTree", componentId: "sc-11g4rqj" }) `
86
- overflow-y: auto;
87
- box-sizing: border-box;
88
- padding: 0 0.75rem;
89
-
90
- ${TreeExpand} {
91
- margin-right: 0;
92
- }
85
+ const QueryTree = styled(StyledDevTree).withConfig({ displayName: "QueryTree", componentId: "sc-r6q339" }) `
86
+ overflow-y: auto;
87
+ box-sizing: border-box;
88
+ padding: 0 0.75rem;
89
+
90
+ ${TreeExpand} {
91
+ margin-right: 0;
92
+ }
93
93
  `;
94
- const StyledTree = styled(QueryTree).withConfig({ displayName: "StyledTree", componentId: "sc-a2ewfb" }) `
95
- padding: 0;
96
-
97
- ${TreeContent} {
98
- min-width: 1px;
99
- }
94
+ const StyledTree = styled(QueryTree).withConfig({ displayName: "StyledTree", componentId: "sc-vtnnwo" }) `
95
+ padding: 0;
96
+
97
+ ${TreeContent} {
98
+ min-width: 1px;
99
+ }
100
100
  `;
101
101
 
102
102
  export { HeaderExpand, JsonTreeContainer, JsonTreeContent, JsonTreeHeader, JsonTreeHeaderActions, JsonTreeHeaderIcon, JsonTreeHeaderTitle, JsonTreeHeaderTitleText, QueryEditButton, SearchContainer, StyledTree };