@perspective-dev/viewer 5.3.1 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/perspective-viewer.js +6 -6
- package/dist/cdn/perspective-viewer.js.map +2 -2
- package/dist/css/blueprint.css +1 -1
- package/dist/css/botanical.css +1 -1
- package/dist/css/dracula.css +1 -1
- package/dist/css/eggplant.css +1 -1
- package/dist/css/gruvbox-dark.css +1 -1
- package/dist/css/gruvbox.css +1 -1
- package/dist/css/icons.css +1 -1
- package/dist/css/intl/ar.css +1 -0
- package/dist/css/intl/de.css +1 -1
- package/dist/css/intl/es.css +1 -1
- package/dist/css/intl/fr.css +1 -1
- package/dist/css/intl/ja.css +1 -1
- package/dist/css/intl/pt.css +1 -1
- package/dist/css/intl/zh.css +1 -1
- package/dist/css/intl.css +1 -1
- package/dist/css/ledger.css +1 -1
- package/dist/css/monokai.css +1 -1
- package/dist/css/nord.css +1 -1
- package/dist/css/phosphor.css +1 -1
- package/dist/css/pro-dark.css +1 -1
- package/dist/css/pro.css +1 -1
- package/dist/css/solarized-dark.css +1 -1
- package/dist/css/solarized.css +1 -1
- package/dist/css/themes.css +1 -1
- package/dist/css/vaporwave.css +1 -1
- package/dist/css/velvet.css +1 -1
- package/dist/docs/perspective-docs.json +1 -1
- package/dist/esm/extensions.d.ts +0 -5
- package/dist/esm/perspective-viewer.inline.js +9 -9
- package/dist/esm/perspective-viewer.inline.js.map +3 -3
- package/dist/esm/perspective-viewer.js +5 -5
- package/dist/esm/perspective-viewer.js.map +2 -2
- package/dist/esm/ts-rs/ViewOnUpdateResp.d.ts +1 -1
- package/dist/wasm/perspective-viewer.d.ts +62 -73
- package/dist/wasm/perspective-viewer.js +226 -238
- package/dist/wasm/perspective-viewer.wasm +0 -0
- package/dist/wasm/perspective-viewer.wasm.d.ts +18 -28
- package/package.json +7 -7
- package/src/css/_context_menu.css +1 -1
- package/src/css/_dropdown_menu.css +1 -1
- package/src/css/_viewer_bundle.css +7 -8
- package/src/css/column-dropdown.css +0 -3
- package/src/css/column-selector.css +8 -5
- package/src/css/column-settings-panel.css +0 -225
- package/src/css/column-style.css +13 -0
- package/src/css/config-selector.css +18 -10
- package/src/css/filter-dropdown.css +5 -5
- package/src/css/form/debug.css +28 -4
- package/src/css/function-dropdown.css +5 -5
- package/src/css/panel-tab.css +23 -0
- package/src/css/plugin-selector.css +5 -5
- package/src/css/render-warning.css +1 -1
- package/src/css/status-bar.css +52 -21
- package/src/css/type-icon.css +1 -3
- package/src/css/{containers → ui/containers}/context-menu.css +22 -16
- package/src/css/ui/containers/dropdown-menu-items.css +66 -0
- package/src/css/{containers → ui/containers}/dropdown-menu.css +8 -53
- package/src/css/viewer.css +32 -26
- package/src/rust/components/chat_panel.rs +1 -1
- package/src/rust/components/{form/code_editor.rs → code_editor.rs} +4 -2
- package/src/rust/components/column_dropdown.rs +2 -2
- package/src/rust/components/column_selector/active_column.rs +15 -9
- package/src/rust/components/column_selector/aggregate_selector.rs +1 -1
- package/src/rust/components/column_selector/config_selector.rs +2 -2
- package/src/rust/components/column_selector/filter_column.rs +8 -5
- package/src/rust/components/column_selector/inactive_column.rs +4 -2
- package/src/rust/components/column_selector/pivot_column.rs +4 -3
- package/src/rust/components/column_selector/sort_column.rs +7 -4
- package/src/rust/components/column_selector.rs +3 -3
- package/src/rust/components/column_settings_sidebar/style_tab/agg_depth_selector.rs +1 -1
- package/src/rust/components/column_settings_sidebar/style_tab/primitive_field.rs +15 -17
- package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_selector.rs +1 -1
- package/src/rust/components/column_settings_sidebar/style_tab.rs +4 -5
- package/src/rust/components/column_settings_sidebar.rs +3 -4
- package/src/rust/components/copy_dropdown.rs +1 -1
- package/src/rust/components/datetime_column_style/custom.rs +1 -3
- package/src/rust/components/datetime_column_style/simple.rs +1 -2
- package/src/rust/components/datetime_column_style.rs +1 -2
- package/src/rust/components/{form/debug.rs → debug_panel.rs} +5 -5
- package/src/rust/components/{containers/dragdrop_list.rs → dragdrop_list.rs} +2 -10
- package/src/rust/components/export_dropdown.rs +1 -1
- package/src/rust/components/expression_editor.rs +1 -1
- package/src/rust/components/filter_dropdown.rs +2 -2
- package/src/rust/components/function_dropdown.rs +2 -2
- package/src/rust/components/main_panel/frame_theme.rs +3 -59
- package/src/rust/components/main_panel/reconcile.rs +9 -4
- package/src/rust/components/main_panel/render.rs +62 -11
- package/src/rust/components/main_panel/update.rs +39 -10
- package/src/rust/components/main_panel.rs +26 -2
- package/src/rust/components/mod.rs +5 -7
- package/src/rust/components/new_panel_menu.rs +97 -0
- package/src/rust/components/number_series_style.rs +2 -3
- package/src/rust/components/panel_menu.rs +61 -87
- package/src/rust/components/panel_tab.rs +100 -43
- package/src/rust/components/plugin_tab.rs +1 -1
- package/src/rust/components/render_warning.rs +2 -2
- package/src/rust/components/{status_bar_counter.rs → rows_counter.rs} +10 -10
- package/src/rust/components/settings_panel.rs +2 -2
- package/src/rust/components/status_bar.rs +113 -19
- package/src/rust/components/status_indicator.rs +5 -14
- package/src/rust/components/string_column_style.rs +1 -2
- package/src/rust/components/{style/mod.rs → style.rs} +32 -15
- package/src/rust/components/style_controls/number_string_format/digits_section.rs +3 -5
- package/src/rust/components/style_controls/number_string_format/misc_section.rs +1 -1
- package/src/rust/components/style_controls/number_string_format/style_section.rs +1 -1
- package/src/rust/components/viewer/msg.rs +43 -30
- package/src/rust/components/viewer/panels.rs +50 -19
- package/src/rust/components/viewer/render.rs +15 -13
- package/src/rust/components/viewer/settings.rs +137 -68
- package/src/rust/components/viewer/snapshots.rs +5 -10
- package/src/rust/components/viewer/wiring.rs +1 -21
- package/src/rust/components/viewer.rs +15 -10
- package/src/rust/components/window_editor.rs +8 -9
- package/src/rust/config/column_config_schema.rs +2 -27
- package/src/rust/config/mod.rs +0 -2
- package/src/rust/config/workspace_config.rs +2 -1
- package/src/rust/custom_elements/debug_plugin.rs +1 -10
- package/src/rust/custom_elements/mod.rs +0 -3
- package/src/rust/custom_elements/viewer.rs +0 -18
- package/src/rust/js/plugin.rs +0 -86
- package/src/rust/lib.rs +12 -15
- package/src/rust/presentation/column_locator.rs +3 -7
- package/src/rust/presentation.rs +68 -38
- package/src/rust/queries/hosted_tables.rs +38 -0
- package/src/rust/queries/mod.rs +2 -0
- package/src/rust/queries/palette_set.rs +1 -1
- package/src/rust/renderer/activate.rs +1 -3
- package/src/rust/renderer/dispatch.rs +83 -22
- package/src/rust/renderer/limits.rs +24 -5
- package/src/rust/renderer/plugin_config.rs +1 -0
- package/src/rust/renderer/props.rs +2 -1
- package/src/rust/renderer.rs +14 -27
- package/src/rust/session/props.rs +4 -3
- package/src/rust/session/view_subscription.rs +19 -6
- package/src/rust/session.rs +38 -70
- package/src/rust/tasks/create_panel.rs +1 -1
- package/src/rust/tasks/dismiss_render_warning.rs +1 -1
- package/src/rust/tasks/eject.rs +1 -0
- package/src/rust/tasks/pipeline.rs +0 -60
- package/src/rust/tasks/presize_panels.rs +24 -1
- package/src/rust/tasks/restore_and_render.rs +0 -17
- package/src/rust/tasks/send_column_config.rs +1 -1
- package/src/rust/tasks/send_plugin_config.rs +1 -1
- package/src/rust/tasks/set_edit_mode.rs +1 -1
- package/src/rust/{components → ui}/containers/control_group.rs +25 -3
- package/src/rust/{components → ui}/containers/dropdown_menu.rs +5 -2
- package/src/rust/{components → ui}/containers/mod.rs +0 -4
- package/src/rust/{components → ui}/containers/scroll_panel.rs +0 -22
- package/src/rust/{components → ui}/containers/scroll_panel_item.rs +0 -13
- package/src/rust/{components → ui}/containers/select.rs +0 -6
- package/src/rust/{components → ui}/containers/sidebar.rs +5 -32
- package/src/rust/{components → ui}/containers/split_panel.rs +8 -80
- package/src/rust/{components → ui}/containers/tab_list.rs +15 -9
- package/src/rust/{components → ui}/context_menu.rs +8 -13
- package/src/rust/{presentation/drag_helpers.rs → ui/dragdrop.rs} +26 -31
- package/src/rust/{components → ui}/font_loader.rs +0 -26
- package/src/rust/{components → ui}/form/color_selector.rs +4 -2
- package/src/rust/ui/form/intl_label.rs +81 -0
- package/src/rust/{components → ui}/form/mirrored_textarea.rs +0 -53
- package/src/rust/{components → ui}/form/mod.rs +1 -10
- package/src/rust/{components → ui}/form/multi_stop_gradient_selector.rs +4 -5
- package/src/rust/{components → ui}/form/named_value_picker.rs +1 -6
- package/src/rust/{components → ui}/form/number_field.rs +1 -1
- package/src/rust/{components → ui}/form/number_range_field.rs +1 -1
- package/src/rust/{components → ui}/form/optional_field.rs +3 -1
- package/src/rust/{components → ui}/form/palette_selector.rs +4 -5
- package/src/rust/{components → ui}/form/select_enum_field.rs +2 -2
- package/src/rust/{components → ui}/form/select_value_field.rs +2 -2
- package/src/rust/ui/mod.rs +56 -0
- package/src/rust/ui/modal.rs +61 -0
- package/src/rust/{components → ui}/portal.rs +174 -79
- package/src/rust/{components/style/style_provider.rs → ui/style.rs} +4 -34
- package/src/rust/utils/completion.rs +0 -6
- package/src/rust/{config/css_scale.rs → utils/css.rs} +38 -35
- package/src/rust/utils/mod.rs +2 -0
- package/src/rust/workspace.rs +35 -0
- package/src/svg/boolean-type.svg +3 -2
- package/src/svg/checkbox-checked-icon.svg +4 -7
- package/src/svg/checkbox-hover.svg +3 -3
- package/src/svg/checkbox-off.svg +2 -3
- package/src/svg/checkbox-on.svg +3 -3
- package/src/svg/checkbox-unchecked-icon.svg +3 -3
- package/src/svg/datagrid-select-column.svg +8 -15
- package/src/svg/datagrid-select-region.svg +8 -15
- package/src/svg/datagrid-select-row-tree.svg +7 -12
- package/src/svg/datagrid-select-row.svg +8 -13
- package/src/svg/date-type.svg +4 -23
- package/src/svg/drawer-tab-hover.svg +4 -6
- package/src/svg/drawer-tab-invert-hover.svg +5 -5
- package/src/svg/drawer-tab-invert.svg +3 -5
- package/src/svg/drawer-tab.svg +5 -5
- package/src/svg/mega-menu-icons-candlestick.svg +5 -37
- package/src/svg/mega-menu-icons-ohlc.svg +4 -39
- package/src/svg/mega-menu-icons-sunburst.svg +4 -38
- package/src/svg/mega-menu-icons-treemap.svg +3 -43
- package/src/svg/mega-menu-icons-y-scatter.svg +12 -72
- package/src/svg/new-panel-icon.svg +4 -0
- package/src/svg/number-type.svg +3 -3
- package/src/svg/radio-hover.svg +3 -3
- package/src/svg/radio-off.svg +3 -3
- package/src/svg/radio-on.svg +3 -3
- package/src/svg/status_ok.svg +3 -26
- package/src/svg/string-type.svg +4 -8
- package/src/svg/theme-icon.svg +5 -5
- package/src/themes/blueprint.css +0 -57
- package/src/themes/botanical.css +0 -36
- package/src/themes/defaults.css +1 -24
- package/src/themes/dracula.css +0 -58
- package/src/themes/eggplant.css +0 -58
- package/src/themes/gruvbox-dark.css +0 -65
- package/src/themes/gruvbox.css +1 -39
- package/src/themes/icons.css +1 -8
- package/src/themes/intl/ar.css +185 -0
- package/src/themes/intl/de.css +45 -35
- package/src/themes/intl/es.css +40 -30
- package/src/themes/intl/fr.css +39 -29
- package/src/themes/intl/ja.css +41 -31
- package/src/themes/intl/pt.css +37 -27
- package/src/themes/intl/zh.css +47 -37
- package/src/themes/intl.css +16 -3
- package/src/themes/ledger.css +1 -59
- package/src/themes/monokai.css +0 -51
- package/src/themes/nord.css +0 -55
- package/src/themes/phosphor.css +0 -48
- package/src/themes/pro-dark.css +0 -37
- package/src/themes/pro.css +3 -23
- package/src/themes/solarized-dark.css +0 -31
- package/src/themes/solarized.css +1 -24
- package/src/themes/vaporwave.css +0 -44
- package/src/themes/velvet.css +0 -60
- package/src/ts/extensions.ts +0 -13
- package/src/ts/ts-rs/ViewOnUpdateResp.ts +1 -1
- package/src/css/plugin-settings-panel.css +0 -171
- package/src/rust/components/modal.rs +0 -177
- package/src/rust/custom_elements/copy_dropdown.rs +0 -219
- package/src/rust/custom_elements/export_dropdown.rs +0 -216
- package/src/rust/custom_elements/modal.rs +0 -299
- /package/dist/wasm/snippets/{perspective-viewer-87bd21b215d0631a → perspective-viewer-adc6f3f79141112b}/inline0.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-87bd21b215d0631a → perspective-viewer-adc6f3f79141112b}/inline1.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-87bd21b215d0631a → perspective-viewer-adc6f3f79141112b}/inline2.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-87bd21b215d0631a → perspective-viewer-adc6f3f79141112b}/inline3.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-87bd21b215d0631a → perspective-viewer-adc6f3f79141112b}/inline4.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-87bd21b215d0631a → perspective-viewer-adc6f3f79141112b}/inline5.js +0 -0
- /package/src/css/{containers → ui/containers}/scroll-panel.css +0 -0
- /package/src/css/{containers → ui/containers}/split-panel.css +0 -0
- /package/src/css/{containers → ui/containers}/tabs.css +0 -0
- /package/src/css/{dom → ui/dom}/checkbox.css +0 -0
- /package/src/css/{dom → ui/dom}/scrollbar.css +0 -0
- /package/src/css/{dom → ui/dom}/select.css +0 -0
- /package/src/css/{form → ui/form}/mirrored-textarea.css +0 -0
- /package/src/rust/components/{form → code_editor}/highlight.rs +0 -0
- /package/src/rust/{components → ui}/containers/sidebar_close_button.rs +0 -0
- /package/src/rust/{components → ui}/form/number_input.rs +0 -0
package/src/svg/radio-off.svg
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="14" height="14" viewBox="0 0 11 11" fill="none"
|
|
2
|
-
<circle cx="5.5" cy="5.5" r="
|
|
3
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 11 11" fill="none" stroke="#042121" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<circle cx="5.5" cy="5.5" r="5"/>
|
|
3
|
+
</svg>
|
package/src/svg/radio-on.svg
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<svg width="14" height="14" viewBox="0 0 11 11" fill="none"
|
|
2
|
-
<circle cx="5.5" cy="5.5" r="
|
|
3
|
-
<
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 11 11" fill="none" stroke="#042121" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<circle cx="5.5" cy="5.5" r="5"/>
|
|
3
|
+
<circle cx="5.5" cy="5.5" r="3" fill="#042121" stroke="none"/>
|
|
4
4
|
</svg>
|
package/src/svg/status_ok.svg
CHANGED
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
<svg width="20" height="20" viewBox="0 0 20 20" fill="none"
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
<path d="M11 13.5V14.5" stroke="#042121" />
|
|
5
|
-
<path d="M12 13.5V14.5" stroke="#042121" />
|
|
6
|
-
<path d="M13 12.5V13.5" stroke="#042121" />
|
|
7
|
-
<path d="M14 11.5V12.5" stroke="#042121" />
|
|
8
|
-
<path d="M14 10.5V11.5" stroke="#042121" />
|
|
9
|
-
<path d="M14 9.5V10.5" stroke="#042121" />
|
|
10
|
-
<path d="M14 8.5V9.5" stroke="#042121" />
|
|
11
|
-
<path d="M14 7.5V8.5" stroke="#042121" />
|
|
12
|
-
<path d="M13 6.5V7.5" stroke="#042121" />
|
|
13
|
-
<path d="M12 5.5V6.5" stroke="#042121" />
|
|
14
|
-
<path d="M11 5.5V6.5" stroke="#042121" />
|
|
15
|
-
<path d="M10 5.5V6.5" stroke="#042121" />
|
|
16
|
-
<path d="M9 5.5V6.5" stroke="#042121" />
|
|
17
|
-
<path d="M8 5.5V6.5" stroke="#042121" />
|
|
18
|
-
<path d="M7 6.5V7.5" stroke="#042121" />
|
|
19
|
-
<path d="M6 7.5V8.5" stroke="#042121" />
|
|
20
|
-
<path d="M6 8.5V9.5" stroke="#042121" />
|
|
21
|
-
<path d="M6 9.5V10.5" stroke="#042121" />
|
|
22
|
-
<path d="M6 10.5V11.5" stroke="#042121" />
|
|
23
|
-
<path d="M6 11.5V12.5" stroke="#042121" />
|
|
24
|
-
<path d="M7 12.5V13.5" stroke="#042121" />
|
|
25
|
-
<path d="M8 13.5V14.5" stroke="#042121" />
|
|
26
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="#042121" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<circle cx="10" cy="10" r="4.5"/>
|
|
3
|
+
</svg>
|
package/src/svg/string-type.svg
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
<svg width="13" height="13" viewBox="0 0 13 13" fill="none"
|
|
2
|
-
<
|
|
3
|
-
<path d="
|
|
4
|
-
|
|
5
|
-
<rect width="10" height="9" rx="0.833" x="1.5" y="2"></rect>
|
|
6
|
-
</mask>
|
|
7
|
-
<rect width="10" height="9" rx="0.833" stroke="#042121" stroke-width="2" mask="url(#path-2-inside-1_720_7867)" x="1.5" y="2"></rect>
|
|
8
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13" fill="none" stroke="#042121" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<rect x="1.5" y="2" width="10" height="9" rx="1"/>
|
|
3
|
+
<path d="M4.5 8.5l2-4.5 2 4.5M5.2 7h2.6" stroke-width="0.9"/>
|
|
4
|
+
</svg>
|
package/src/svg/theme-icon.svg
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<svg width="21" height="21" viewBox="0 0 21 21" fill="none"
|
|
2
|
-
|
|
3
|
-
<
|
|
4
|
-
<path d="
|
|
5
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="21" height="21" viewBox="0 0 21 21" fill="none" stroke="#042121"
|
|
2
|
+
stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
|
|
3
|
+
<circle cx="10.5" cy="10.5" r="5" />
|
|
4
|
+
<path d="M10.5 5.5a5 5 0 0 1 0 10z" fill="#042121" stroke="none" />
|
|
5
|
+
</svg>
|
package/src/themes/blueprint.css
CHANGED
|
@@ -131,60 +131,3 @@ perspective-viewer [theme="Blueprint"] {
|
|
|
131
131
|
var(--theme-cyan) 100%
|
|
132
132
|
);
|
|
133
133
|
}
|
|
134
|
-
|
|
135
|
-
perspective-context-menu[theme="Blueprint"],
|
|
136
|
-
perspective-copy-menu[theme="Blueprint"],
|
|
137
|
-
perspective-export-menu[theme="Blueprint"],
|
|
138
|
-
perspective-dropdown[theme="Blueprint"],
|
|
139
|
-
perspective-date-column-style[theme="Blueprint"],
|
|
140
|
-
perspective-datetime-column-style[theme="Blueprint"],
|
|
141
|
-
perspective-number-column-style[theme="Blueprint"],
|
|
142
|
-
perspective-string-column-style[theme="Blueprint"] {
|
|
143
|
-
--theme-bg0: #0c2f6b;
|
|
144
|
-
--theme-bg1: #103a80;
|
|
145
|
-
--theme-bg2: #1b478f;
|
|
146
|
-
--theme-bg3: #2a58a8;
|
|
147
|
-
--theme-fg0: #e6f0ff;
|
|
148
|
-
--theme-fg1: #a9c4ee;
|
|
149
|
-
--theme-fg2: #5b84c6;
|
|
150
|
-
--theme-line: #3b6fc4;
|
|
151
|
-
--theme-cyan: #7fd3ff;
|
|
152
|
-
--theme-yellow: #ffd166;
|
|
153
|
-
--theme-orange: #ff8a65;
|
|
154
|
-
--theme-green: #b8e986;
|
|
155
|
-
--theme-pink: #ff9ecf;
|
|
156
|
-
--theme-white: #ffffff;
|
|
157
|
-
--theme-lavender: #c3b1ff;
|
|
158
|
-
--theme-mint: #5ee7c7;
|
|
159
|
-
--theme-magenta: #f6a6ff;
|
|
160
|
-
--theme-sky: #9cc3ff;
|
|
161
|
-
|
|
162
|
-
background-color: var(--theme-bg0);
|
|
163
|
-
color: var(--theme-fg0);
|
|
164
|
-
color-scheme: dark;
|
|
165
|
-
--psp--color: var(--theme-fg0);
|
|
166
|
-
--psp-active--color: var(--theme-cyan);
|
|
167
|
-
--psp-error--color: var(--theme-orange);
|
|
168
|
-
--psp-inactive--color: var(--theme-fg2);
|
|
169
|
-
--psp-inactive--border-color: var(--theme-bg3);
|
|
170
|
-
--psp--background-color: var(--theme-bg0);
|
|
171
|
-
--psp-active--background: rgba(127, 211, 255, 0.3);
|
|
172
|
-
--psp-expression--operator--color: var(--theme-fg1);
|
|
173
|
-
--psp-expression--function--color: var(--theme-cyan);
|
|
174
|
-
--psp-expression--psp-error--color: var(--theme-orange);
|
|
175
|
-
--psp-calendar--filter: invert(1);
|
|
176
|
-
--psp-input--filter: invert(1);
|
|
177
|
-
--psp-warning--color: var(--theme-bg0);
|
|
178
|
-
--psp-warning--background: var(--theme-yellow);
|
|
179
|
-
--psp-status-icon--connected--color: var(--theme-green);
|
|
180
|
-
--psp-status-icon--initializing--color: var(--theme-yellow);
|
|
181
|
-
--psp-status-icon--psp-error--color: var(--theme-orange);
|
|
182
|
-
|
|
183
|
-
--psp-code-editor--symbol--color: var(--theme-fg0);
|
|
184
|
-
--psp-code-editor--literal--color: var(--theme-cyan);
|
|
185
|
-
--psp-code-editor--operator--color: var(--theme-yellow);
|
|
186
|
-
--psp-code-editor--comment--color: var(--theme-fg2);
|
|
187
|
-
--psp-code-editor--column--color: var(--theme-green);
|
|
188
|
-
|
|
189
|
-
border: 1px solid #2a58a8;
|
|
190
|
-
}
|
package/src/themes/botanical.css
CHANGED
|
@@ -95,39 +95,3 @@ perspective-viewer [theme="Botanical"] {
|
|
|
95
95
|
--psp-charts--map-tiles--url: "http://{a-c}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png";
|
|
96
96
|
--psp-charts--map-tiles--attribution-: "I <3 Open Source";
|
|
97
97
|
}
|
|
98
|
-
|
|
99
|
-
perspective-context-menu[theme="Botanical"],
|
|
100
|
-
perspective-copy-menu[theme="Botanical"],
|
|
101
|
-
perspective-export-menu[theme="Botanical"],
|
|
102
|
-
perspective-dropdown[theme="Botanical"],
|
|
103
|
-
perspective-date-column-style[theme="Botanical"],
|
|
104
|
-
perspective-datetime-column-style[theme="Botanical"],
|
|
105
|
-
perspective-number-column-style[theme="Botanical"],
|
|
106
|
-
perspective-string-column-style[theme="Botanical"] {
|
|
107
|
-
/* perspective-viewer-botanical--colors */
|
|
108
|
-
background-color: #1a2e1a;
|
|
109
|
-
color: #e0ead8;
|
|
110
|
-
color-scheme: dark;
|
|
111
|
-
--psp--color: #e0ead8;
|
|
112
|
-
--psp-active--color: #5a9e4b;
|
|
113
|
-
--psp-error--color: #e8836a;
|
|
114
|
-
--psp-inactive--color: #526b4a;
|
|
115
|
-
--psp-inactive--border-color: #3d5c3d;
|
|
116
|
-
--psp--background-color: #1a2e1a;
|
|
117
|
-
--psp-active--background: rgba(90, 158, 75, 0.5);
|
|
118
|
-
--psp-expression--operator--color: #b8c9ad;
|
|
119
|
-
--psp-expression--function--color: #7bc96f;
|
|
120
|
-
--psp-expression--psp-error--color: rgb(232, 131, 106);
|
|
121
|
-
--psp-calendar--filter: invert(1);
|
|
122
|
-
--psp-input--filter: invert(1);
|
|
123
|
-
--psp-warning--color: #1a2e1a;
|
|
124
|
-
--psp-warning--background: var(--psp--color);
|
|
125
|
-
|
|
126
|
-
--psp-code-editor--symbol--color: #e0ead8;
|
|
127
|
-
--psp-code-editor--literal--color: #a8d8a0;
|
|
128
|
-
--psp-code-editor--operator--color: rgb(206, 176, 104);
|
|
129
|
-
--psp-code-editor--comment--color: rgb(120, 160, 100);
|
|
130
|
-
--psp-code-editor--column--color: #c9a0d8;
|
|
131
|
-
|
|
132
|
-
border: 1px solid #3d5c3d;
|
|
133
|
-
}
|
package/src/themes/defaults.css
CHANGED
|
@@ -15,15 +15,7 @@
|
|
|
15
15
|
@import "./intl.css";
|
|
16
16
|
|
|
17
17
|
perspective-viewer,
|
|
18
|
-
:where(perspective-viewer [theme])
|
|
19
|
-
perspective-context-menu,
|
|
20
|
-
perspective-copy-menu,
|
|
21
|
-
perspective-export-menu,
|
|
22
|
-
perspective-dropdown,
|
|
23
|
-
perspective-date-column-style,
|
|
24
|
-
perspective-datetime-column-style,
|
|
25
|
-
perspective-number-column-style,
|
|
26
|
-
perspective-string-column-style {
|
|
18
|
+
:where(perspective-viewer [theme]) {
|
|
27
19
|
--psp-button--font-size: 16px;
|
|
28
20
|
--psp-config-button--padding: 15px 8px 6px 8px;
|
|
29
21
|
--psp-column-selector--font-size: 16px;
|
|
@@ -74,18 +66,3 @@ perspective-string-column-style {
|
|
|
74
66
|
--psp-status-icon--initializing--color: initial;
|
|
75
67
|
--psp-status-icon--psp-error--color: initial;
|
|
76
68
|
}
|
|
77
|
-
|
|
78
|
-
perspective-context-menu,
|
|
79
|
-
perspective-copy-menu,
|
|
80
|
-
perspective-export-menu,
|
|
81
|
-
perspective-dropdown,
|
|
82
|
-
perspective-date-column-style,
|
|
83
|
-
perspective-datetime-column-style,
|
|
84
|
-
perspective-number-column-style,
|
|
85
|
-
perspective-string-column-style {
|
|
86
|
-
background-color: white;
|
|
87
|
-
border: 1px solid var(--psp-inactive--color);
|
|
88
|
-
border-radius: 0 0 2px 2px;
|
|
89
|
-
--psp-label--column-style-pos-color--content: "+";
|
|
90
|
-
--psp-label--column-style-neg-color--content: "-";
|
|
91
|
-
}
|
package/src/themes/dracula.css
CHANGED
|
@@ -165,61 +165,3 @@ perspective-viewer [theme="Dracula"] {
|
|
|
165
165
|
var(--theme-blue)
|
|
166
166
|
) !important;
|
|
167
167
|
}
|
|
168
|
-
|
|
169
|
-
perspective-context-menu[theme="Dracula"],
|
|
170
|
-
perspective-copy-menu[theme="Dracula"],
|
|
171
|
-
perspective-export-menu[theme="Dracula"],
|
|
172
|
-
perspective-dropdown[theme="Dracula"] {
|
|
173
|
-
/* perspective-viewer-pro-dark--colors (overrides) */
|
|
174
|
-
background-color: #242526;
|
|
175
|
-
color: white;
|
|
176
|
-
color-scheme: dark;
|
|
177
|
-
--psp--color: white;
|
|
178
|
-
--psp-active--color: #2770a9;
|
|
179
|
-
--psp-error--color: #ff9485;
|
|
180
|
-
--psp-inactive--color: #61656e;
|
|
181
|
-
--psp-inactive--border-color: #4c505b;
|
|
182
|
-
--psp--background-color: #242526;
|
|
183
|
-
--psp-active--background: rgba(39, 113, 170, 0.5);
|
|
184
|
-
--psp-expression--operator--color: #c5c9d0;
|
|
185
|
-
--psp-expression--function--color: #22a0ce;
|
|
186
|
-
--psp-expression--psp-error--color: rgb(255, 136, 136);
|
|
187
|
-
--psp-calendar--filter: invert(1);
|
|
188
|
-
--psp-input--filter: invert(1);
|
|
189
|
-
--psp-warning--color: #242526;
|
|
190
|
-
--psp-warning--background: var(--psp--color);
|
|
191
|
-
--psp-code-editor--symbol--color: white;
|
|
192
|
-
--psp-code-editor--literal--color: #7dc3f0;
|
|
193
|
-
--psp-code-editor--operator--color: rgb(23, 166, 123);
|
|
194
|
-
--psp-code-editor--comment--color: rgb(204, 120, 48);
|
|
195
|
-
--psp-code-editor--column--color: #e18ee1;
|
|
196
|
-
|
|
197
|
-
border: 1px solid #4c505b;
|
|
198
|
-
|
|
199
|
-
/* perspective-viewer-dracula--colors */
|
|
200
|
-
--theme-bg0: #191a22;
|
|
201
|
-
--theme-bg1: #282a36;
|
|
202
|
-
--theme-bg2: #44475a;
|
|
203
|
-
--theme-gray: #928374;
|
|
204
|
-
--theme-fg0: #f8f8f2;
|
|
205
|
-
--theme-fg1: #6272a4;
|
|
206
|
-
--theme-fg2: #44475a;
|
|
207
|
-
--theme-red: #ff5555;
|
|
208
|
-
--theme-green: #50fa7b;
|
|
209
|
-
--theme-yellow: #f1fa8c;
|
|
210
|
-
--theme-blue: #8be9fd;
|
|
211
|
-
--theme-purple: #bd93f9;
|
|
212
|
-
--theme-orange: #ffb86c;
|
|
213
|
-
--theme-pink: #ff79c6;
|
|
214
|
-
|
|
215
|
-
color: var(--theme-fg0);
|
|
216
|
-
--psp--color: var(--theme-fg1);
|
|
217
|
-
--psp-inactive--color: var(--theme-fg2);
|
|
218
|
-
--psp-inactive--border-color: var(--theme-bg2);
|
|
219
|
-
--psp--background-color: var(--theme-bg1);
|
|
220
|
-
--psp-status-icon--connected--color: var(--theme-green);
|
|
221
|
-
--psp-status-icon--initializing--color: var(--theme-yellow);
|
|
222
|
-
--psp-status-icon--psp-error--color: var(--theme-red);
|
|
223
|
-
|
|
224
|
-
background-color: var(--theme-bg0);
|
|
225
|
-
}
|
package/src/themes/eggplant.css
CHANGED
|
@@ -129,61 +129,3 @@ perspective-viewer [theme="Eggplant"] {
|
|
|
129
129
|
var(--theme-green) 100%
|
|
130
130
|
);
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
perspective-context-menu[theme="Eggplant"],
|
|
134
|
-
perspective-copy-menu[theme="Eggplant"],
|
|
135
|
-
perspective-export-menu[theme="Eggplant"],
|
|
136
|
-
perspective-dropdown[theme="Eggplant"],
|
|
137
|
-
perspective-date-column-style[theme="Eggplant"],
|
|
138
|
-
perspective-datetime-column-style[theme="Eggplant"],
|
|
139
|
-
perspective-number-column-style[theme="Eggplant"],
|
|
140
|
-
perspective-string-column-style[theme="Eggplant"] {
|
|
141
|
-
--theme-bg0: #1e1230;
|
|
142
|
-
--theme-bg1: #2a1a42;
|
|
143
|
-
--theme-bg2: #3a2758;
|
|
144
|
-
--theme-bg3: #4d3670;
|
|
145
|
-
--theme-fg0: #f1eaff;
|
|
146
|
-
--theme-fg1: #cbbde8;
|
|
147
|
-
--theme-fg2: #7d6a9e;
|
|
148
|
-
--theme-green: #7ee787;
|
|
149
|
-
--theme-yellow: #ffd75e;
|
|
150
|
-
--theme-lime: #c8f060;
|
|
151
|
-
--theme-mint: #6ee7c8;
|
|
152
|
-
--theme-amber: #f0b86e;
|
|
153
|
-
--theme-lavender: #b8a1ff;
|
|
154
|
-
--theme-sky: #9be3ff;
|
|
155
|
-
--theme-rose: #ff7b8a;
|
|
156
|
-
--theme-pink: #ff8fd6;
|
|
157
|
-
--theme-coral: #ff8a80;
|
|
158
|
-
--theme-periwinkle: #7fa8ff;
|
|
159
|
-
|
|
160
|
-
background-color: var(--theme-bg0);
|
|
161
|
-
color: var(--theme-fg0);
|
|
162
|
-
color-scheme: dark;
|
|
163
|
-
--psp--color: var(--theme-fg1);
|
|
164
|
-
--psp-active--color: var(--theme-green);
|
|
165
|
-
--psp-error--color: var(--theme-rose);
|
|
166
|
-
--psp-inactive--color: var(--theme-fg2);
|
|
167
|
-
--psp-inactive--border-color: var(--theme-bg3);
|
|
168
|
-
--psp--background-color: var(--theme-bg0);
|
|
169
|
-
--psp-active--background: rgba(126, 231, 135, 0.3);
|
|
170
|
-
--psp-expression--operator--color: var(--theme-yellow);
|
|
171
|
-
--psp-expression--function--color: var(--theme-green);
|
|
172
|
-
--psp-expression--psp-error--color: var(--theme-rose);
|
|
173
|
-
--psp-calendar--filter: invert(1);
|
|
174
|
-
--psp-input--filter: invert(1);
|
|
175
|
-
--psp-warning--color: var(--theme-bg0);
|
|
176
|
-
--psp-warning--background: var(--theme-yellow);
|
|
177
|
-
|
|
178
|
-
--psp-status-icon--connected--color: var(--theme-green);
|
|
179
|
-
--psp-status-icon--initializing--color: var(--theme-yellow);
|
|
180
|
-
--psp-status-icon--psp-error--color: var(--theme-rose);
|
|
181
|
-
|
|
182
|
-
--psp-code-editor--symbol--color: var(--theme-fg0);
|
|
183
|
-
--psp-code-editor--literal--color: var(--theme-yellow);
|
|
184
|
-
--psp-code-editor--operator--color: var(--theme-yellow);
|
|
185
|
-
--psp-code-editor--comment--color: var(--theme-fg2);
|
|
186
|
-
--psp-code-editor--column--color: var(--theme-lime);
|
|
187
|
-
|
|
188
|
-
border: 1px solid #4d3670;
|
|
189
|
-
}
|
|
@@ -181,68 +181,3 @@ perspective-viewer [theme="Gruvbox Dark"] {
|
|
|
181
181
|
var(--theme-alt-blue)
|
|
182
182
|
) !important;
|
|
183
183
|
}
|
|
184
|
-
|
|
185
|
-
perspective-context-menu[theme="Gruvbox Dark"],
|
|
186
|
-
perspective-copy-menu[theme="Gruvbox Dark"],
|
|
187
|
-
perspective-export-menu[theme="Gruvbox Dark"],
|
|
188
|
-
perspective-dropdown[theme="Gruvbox Dark"] {
|
|
189
|
-
/* perspective-viewer-pro-dark--colors (overrides) */
|
|
190
|
-
background-color: #242526;
|
|
191
|
-
color: white;
|
|
192
|
-
color-scheme: dark;
|
|
193
|
-
--psp--color: white;
|
|
194
|
-
--psp-active--color: #2770a9;
|
|
195
|
-
--psp-error--color: #ff9485;
|
|
196
|
-
--psp-inactive--color: #61656e;
|
|
197
|
-
--psp-inactive--border-color: #4c505b;
|
|
198
|
-
--psp--background-color: #242526;
|
|
199
|
-
--psp-active--background: rgba(39, 113, 170, 0.5);
|
|
200
|
-
--psp-expression--operator--color: #c5c9d0;
|
|
201
|
-
--psp-expression--function--color: #22a0ce;
|
|
202
|
-
--psp-expression--psp-error--color: rgb(255, 136, 136);
|
|
203
|
-
--psp-calendar--filter: invert(1);
|
|
204
|
-
--psp-input--filter: invert(1);
|
|
205
|
-
--psp-warning--color: #242526;
|
|
206
|
-
--psp-warning--background: var(--psp--color);
|
|
207
|
-
--psp-code-editor--symbol--color: white;
|
|
208
|
-
--psp-code-editor--literal--color: #7dc3f0;
|
|
209
|
-
--psp-code-editor--operator--color: rgb(23, 166, 123);
|
|
210
|
-
--psp-code-editor--comment--color: rgb(204, 120, 48);
|
|
211
|
-
--psp-code-editor--column--color: #e18ee1;
|
|
212
|
-
|
|
213
|
-
border: 1px solid #4c505b;
|
|
214
|
-
|
|
215
|
-
/* perspective-viewer-gruvbox-dark--colors */
|
|
216
|
-
--theme-bg0: #282828;
|
|
217
|
-
--theme-bg1: #3c3836;
|
|
218
|
-
--theme-bg2: #7c6f64;
|
|
219
|
-
--theme-gray: #928374;
|
|
220
|
-
--theme-fg0: #fbf1c7;
|
|
221
|
-
--theme-fg1: #ebdbb2;
|
|
222
|
-
--theme-fg2: #a89984;
|
|
223
|
-
--theme-red: #cc241d;
|
|
224
|
-
--theme-green: #98871a;
|
|
225
|
-
--theme-yellow: #d79921;
|
|
226
|
-
--theme-blue: #458588;
|
|
227
|
-
--theme-purple: #b16286;
|
|
228
|
-
--theme-aqua: #689d5a;
|
|
229
|
-
--theme-orange: #d65d0e;
|
|
230
|
-
--theme-alt-red: #fb4934;
|
|
231
|
-
--theme-alt-green: #b8bb26;
|
|
232
|
-
--theme-alt-yellow: #fabd2f;
|
|
233
|
-
--theme-alt-blue: #83a598;
|
|
234
|
-
--theme-alt-purple: #d3869b;
|
|
235
|
-
--theme-alt-aqua: #8ec07c;
|
|
236
|
-
--theme-alt-orange: #fe8019;
|
|
237
|
-
|
|
238
|
-
color: var(--theme-fg0);
|
|
239
|
-
--psp--color: var(--theme-fg1);
|
|
240
|
-
--psp-inactive--color: var(--theme-fg2);
|
|
241
|
-
--psp-inactive--border-color: var(--theme-bg2);
|
|
242
|
-
--psp--background-color: var(--theme-bg1);
|
|
243
|
-
--psp-status-icon--connected--color: var(--theme-aqua);
|
|
244
|
-
--psp-status-icon--initializing--color: var(--theme-yellow);
|
|
245
|
-
--psp-status-icon--psp-error--color: var(--theme-red);
|
|
246
|
-
|
|
247
|
-
background-color: var(--theme-bg0);
|
|
248
|
-
}
|
package/src/themes/gruvbox.css
CHANGED
|
@@ -20,6 +20,7 @@ perspective-viewer [theme="Gruvbox Light"] {
|
|
|
20
20
|
|
|
21
21
|
perspective-viewer[theme="Gruvbox Light"],
|
|
22
22
|
perspective-viewer [theme="Gruvbox Light"] {
|
|
23
|
+
color-scheme: light;
|
|
23
24
|
/* perspective-viewer-gruvbox-light--colors */
|
|
24
25
|
--theme-fg0: #282828;
|
|
25
26
|
--theme-fg1: #3c3836;
|
|
@@ -94,42 +95,3 @@ perspective-viewer [theme="Gruvbox Light"] {
|
|
|
94
95
|
var(--theme-alt-blue)
|
|
95
96
|
) !important;
|
|
96
97
|
}
|
|
97
|
-
|
|
98
|
-
perspective-context-menu[theme="Gruvbox Light"],
|
|
99
|
-
perspective-copy-menu[theme="Gruvbox Light"],
|
|
100
|
-
perspective-export-menu[theme="Gruvbox Light"],
|
|
101
|
-
perspective-dropdown[theme="Gruvbox Light"] {
|
|
102
|
-
/* perspective-viewer-gruvbox-light--colors */
|
|
103
|
-
--theme-fg0: #282828;
|
|
104
|
-
--theme-fg1: #3c3836;
|
|
105
|
-
--theme-fg2: #7c6f64;
|
|
106
|
-
--theme-gray: #928374;
|
|
107
|
-
--theme-bg0: #fbf1c7;
|
|
108
|
-
--theme-bg1: #ebdbb2;
|
|
109
|
-
--theme-bg2: #a89984;
|
|
110
|
-
--theme-red: #cc241d;
|
|
111
|
-
--theme-green: #98871a;
|
|
112
|
-
--theme-yellow: #d79921;
|
|
113
|
-
--theme-blue: #458588;
|
|
114
|
-
--theme-purple: #b16286;
|
|
115
|
-
--theme-aqua: #689d5a;
|
|
116
|
-
--theme-orange: #d65d0e;
|
|
117
|
-
--theme-alt-red: #9d0006;
|
|
118
|
-
--theme-alt-green: #79740e;
|
|
119
|
-
--theme-alt-yellow: #b57614;
|
|
120
|
-
--theme-alt-blue: #076678;
|
|
121
|
-
--theme-alt-purple: #8f3f71;
|
|
122
|
-
--theme-alt-aqua: #427b58;
|
|
123
|
-
--theme-alt-orange: #af3a03;
|
|
124
|
-
|
|
125
|
-
color: var(--theme-fg1);
|
|
126
|
-
--psp--color: var(--theme-fg0);
|
|
127
|
-
--psp-inactive--color: var(--theme-fg2);
|
|
128
|
-
--psp-inactive--border-color: var(--theme-bg2);
|
|
129
|
-
--psp--background-color: var(--theme-bg0);
|
|
130
|
-
--psp-status-icon--connected--color: var(--theme-aqua);
|
|
131
|
-
--psp-status-icon--initializing--color: var(--theme-yellow);
|
|
132
|
-
--psp-status-icon--psp-error--color: var(--theme-red);
|
|
133
|
-
|
|
134
|
-
background-color: var(--theme-bg0);
|
|
135
|
-
}
|
package/src/themes/icons.css
CHANGED
|
@@ -11,14 +11,6 @@
|
|
|
11
11
|
* ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ */
|
|
12
12
|
|
|
13
13
|
perspective-viewer,
|
|
14
|
-
perspective-context-menu,
|
|
15
|
-
perspective-copy-menu,
|
|
16
|
-
perspective-export-menu,
|
|
17
|
-
perspective-dropdown,
|
|
18
|
-
perspective-date-column-style,
|
|
19
|
-
perspective-datetime-column-style,
|
|
20
|
-
perspective-number-column-style,
|
|
21
|
-
perspective-string-column-style,
|
|
22
14
|
perspective-viewer-tab {
|
|
23
15
|
/* Icons */
|
|
24
16
|
--psp-column-type--integer--mask-image: url("../svg/number-type.svg");
|
|
@@ -69,6 +61,7 @@ perspective-viewer-tab {
|
|
|
69
61
|
--psp-icon--lock--mask-image: url("../svg/lock.svg");
|
|
70
62
|
--psp-icon--reset--mask-image: url("../svg/revert-icon.svg");
|
|
71
63
|
--psp-icon--copy--mask-image: url("../svg/duplicate-icon.svg");
|
|
64
|
+
--psp-icon--new-panel--mask-image: url("../svg/new-panel-icon.svg");
|
|
72
65
|
--psp-icon--theme--mask-image: url("../svg/theme-icon.svg");
|
|
73
66
|
|
|
74
67
|
--psp-icon--drawer-tab--mask-image: url(../svg/drawer-tab.svg);
|