@akohn/dashql-react 0.0.0-stage → 0.0.20-dev.661.gda3ac9a7e
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/LICENSE +373 -0
- package/NOTICE +66 -0
- package/README.md +46 -2
- package/dist/_virtual/_vite/preload-helper.js +100 -0
- package/dist/brand/brand.d.ts +13 -0
- package/dist/brand/brand.js +14 -0
- package/dist/brand/landing_backdrop.d.ts +56 -0
- package/dist/brand/landing_backdrop.js +1019 -0
- package/dist/brand/wobble_morph.d.ts +54 -0
- package/dist/brand/wobble_morph.js +439 -0
- package/dist/components/action_list.d.ts +31 -0
- package/dist/components/action_list.js +63 -0
- package/dist/components/action_list.module.js +11 -0
- package/dist/components/anchored_overlay.d.ts +28 -0
- package/dist/components/anchored_overlay.js +93 -0
- package/dist/components/button.d.ts +42 -0
- package/dist/components/button.js +97 -0
- package/dist/components/button.module.js +20 -0
- package/dist/components/button_group.d.ts +7 -0
- package/dist/components/button_group.js +18 -0
- package/dist/components/button_group.module.js +3 -0
- package/dist/components/card_placeholder.d.ts +9 -0
- package/dist/components/card_placeholder.js +39 -0
- package/dist/components/card_placeholder.module.js +6 -0
- package/dist/components/clipboard.d.ts +19 -0
- package/dist/components/clipboard.js +54 -0
- package/dist/components/data_table/computation_tables.d.ts +12 -0
- package/dist/components/data_table/computation_tables.js +42 -0
- package/dist/components/data_table/data_table.d.ts +38 -0
- package/dist/components/data_table/data_table.js +378 -0
- package/dist/components/data_table/data_table.module.js +41 -0
- package/dist/components/data_table/data_table_cell.d.ts +7 -0
- package/dist/components/data_table/data_table_cell.js +9 -0
- package/dist/components/data_table/data_table_cell_data.d.ts +21 -0
- package/dist/components/data_table/data_table_cell_data.js +99 -0
- package/dist/components/data_table/data_table_cell_header_name.d.ts +17 -0
- package/dist/components/data_table/data_table_cell_header_name.js +73 -0
- package/dist/components/data_table/data_table_cell_header_plots.d.ts +31 -0
- package/dist/components/data_table/data_table_cell_header_plots.js +122 -0
- package/dist/components/data_table/data_table_colors.d.ts +19 -0
- package/dist/components/data_table/data_table_colors.js +27 -0
- package/dist/components/data_table/data_table_column_resize.d.ts +21 -0
- package/dist/components/data_table/data_table_column_resize.js +121 -0
- package/dist/components/data_table/data_table_focus.d.ts +15 -0
- package/dist/components/data_table/data_table_focus.js +53 -0
- package/dist/components/data_table/data_table_layout.d.ts +18 -0
- package/dist/components/data_table/data_table_layout.js +103 -0
- package/dist/components/data_table/data_table_ordering.d.ts +9 -0
- package/dist/components/data_table/data_table_ordering.js +39 -0
- package/dist/components/data_table/data_table_portals.d.ts +9 -0
- package/dist/components/data_table/data_table_portals.js +29 -0
- package/dist/components/data_table/data_table_sticky_views.d.ts +34 -0
- package/dist/components/data_table/data_table_sticky_views.js +161 -0
- package/dist/components/data_table/data_table_window.d.ts +18 -0
- package/dist/components/data_table/data_table_window.js +118 -0
- package/dist/components/data_table/format_peek.d.ts +2 -0
- package/dist/components/data_table/format_peek.js +17 -0
- package/dist/components/data_table/histogram_bars.d.ts +36 -0
- package/dist/components/data_table/histogram_bars.js +100 -0
- package/dist/components/data_table/histogram_brush.d.ts +23 -0
- package/dist/components/data_table/histogram_brush.js +107 -0
- package/dist/components/data_table/histogram_cell.d.ts +19 -0
- package/dist/components/data_table/histogram_cell.js +325 -0
- package/dist/components/data_table/histogram_cell.module.js +9 -0
- package/dist/components/data_table/histogram_label.d.ts +1 -0
- package/dist/components/data_table/histogram_label.js +7 -0
- package/dist/components/data_table/memo_props.d.ts +1 -0
- package/dist/components/data_table/memo_props.js +17 -0
- package/dist/components/data_table/mostfrequent_cell.d.ts +17 -0
- package/dist/components/data_table/mostfrequent_cell.js +316 -0
- package/dist/components/data_table/mostfrequent_cell.module.js +10 -0
- package/dist/components/data_table/use_cross_filters.d.ts +14 -0
- package/dist/components/data_table/use_cross_filters.js +47 -0
- package/dist/components/deferred.d.ts +11 -0
- package/dist/components/deferred.js +41 -0
- package/dist/components/deferred.module.js +5 -0
- package/dist/components/error_boundary.d.ts +18 -0
- package/dist/components/error_boundary.js +15 -0
- package/dist/components/graph.module.js +15 -0
- package/dist/components/graph_port.d.ts +10 -0
- package/dist/components/graph_port.js +34 -0
- package/dist/components/inspector_overlay.d.ts +32 -0
- package/dist/components/inspector_overlay.js +72 -0
- package/dist/components/inspector_overlay.module.js +18 -0
- package/dist/components/json/json_arrow_symbol.d.ts +4 -0
- package/dist/components/json/json_arrow_symbol.js +25 -0
- package/dist/components/json/json_copy_button.d.ts +11 -0
- package/dist/components/json/json_copy_button.js +61 -0
- package/dist/components/json/json_ellipsis_symbol.d.ts +7 -0
- package/dist/components/json/json_ellipsis_symbol.js +11 -0
- package/dist/components/json/json_item_count.d.ts +5 -0
- package/dist/components/json/json_item_count.js +12 -0
- package/dist/components/json/json_key_name.d.ts +6 -0
- package/dist/components/json/json_key_name.js +40 -0
- package/dist/components/json/json_key_values.d.ts +12 -0
- package/dist/components/json/json_key_values.js +99 -0
- package/dist/components/json/json_literal.d.ts +8 -0
- package/dist/components/json/json_literal.js +140 -0
- package/dist/components/json/json_nested_close.d.ts +11 -0
- package/dist/components/json/json_nested_close.js +31 -0
- package/dist/components/json/json_nested_open.d.ts +18 -0
- package/dist/components/json/json_nested_open.js +150 -0
- package/dist/components/json/json_nested_state.d.ts +14 -0
- package/dist/components/json/json_nested_state.js +28 -0
- package/dist/components/json/json_tool_state.d.ts +18 -0
- package/dist/components/json/json_tool_state.js +46 -0
- package/dist/components/json/json_value.d.ts +10 -0
- package/dist/components/json/json_value.js +46 -0
- package/dist/components/json/json_view.d.ts +14 -0
- package/dist/components/json/json_view.js +37 -0
- package/dist/components/json/json_view.module.js +41 -0
- package/dist/components/json/json_view_state.d.ts +14 -0
- package/dist/components/json/json_view_state.js +32 -0
- package/dist/components/json/unique_key.d.ts +1 -0
- package/dist/components/json/unique_key.js +8 -0
- package/dist/components/keyvalue_list.d.ts +25 -0
- package/dist/components/keyvalue_list.js +106 -0
- package/dist/components/keyvalue_list.module.js +15 -0
- package/dist/components/name_input.d.ts +11 -0
- package/dist/components/name_input.js +51 -0
- package/dist/components/overlay.d.ts +53 -0
- package/dist/components/overlay.js +183 -0
- package/dist/components/overlay.module.js +32 -0
- package/dist/components/panel_resize_handle.d.ts +12 -0
- package/dist/components/panel_resize_handle.js +39 -0
- package/dist/components/portal.d.ts +8 -0
- package/dist/components/portal.js +53 -0
- package/dist/components/progress_bar.d.ts +7 -0
- package/dist/components/progress_bar.js +21 -0
- package/dist/components/progress_bar.module.js +3 -0
- package/dist/components/query_history_viewer.d.ts +33 -0
- package/dist/components/query_history_viewer.js +268 -0
- package/dist/components/query_history_viewer.module.js +7 -0
- package/dist/components/query_profile/engine_profile_view.d.ts +19 -0
- package/dist/components/query_profile/engine_profile_view.js +94 -0
- package/dist/components/query_profile/numeric_limits.d.ts +1 -0
- package/dist/components/query_profile/numeric_limits.js +2 -0
- package/dist/components/query_profile/profile_execution_controller.d.ts +14 -0
- package/dist/components/query_profile/profile_execution_controller.js +56 -0
- package/dist/components/query_profile/profile_fit.d.ts +24 -0
- package/dist/components/query_profile/profile_fit.js +22 -0
- package/dist/components/query_profile/profile_navigation.d.ts +3 -0
- package/dist/components/query_profile/profile_navigation.js +34 -0
- package/dist/components/query_profile/profile_scene.d.ts +64 -0
- package/dist/components/query_profile/profile_scene.js +422 -0
- package/dist/components/query_profile/query_profile_view.d.ts +44 -0
- package/dist/components/query_profile/query_profile_view.js +961 -0
- package/dist/components/query_profile/query_profile_view.module.js +23 -0
- package/dist/components/query_progress/query_profile_overlay.d.ts +7 -0
- package/dist/components/query_progress/query_profile_overlay.js +67 -0
- package/dist/components/query_progress/query_profile_overlay.module.js +6 -0
- package/dist/components/query_progress/query_progress_panel.d.ts +14 -0
- package/dist/components/query_progress/query_progress_panel.js +255 -0
- package/dist/components/query_progress/query_progress_panel.module.js +10 -0
- package/dist/components/query_result/cell_detail_overlay.d.ts +34 -0
- package/dist/components/query_result/cell_detail_overlay.js +277 -0
- package/dist/components/query_result/cell_detail_overlay.module.js +21 -0
- package/dist/components/query_result/query_result_action_menu.d.ts +12 -0
- package/dist/components/query_result/query_result_action_menu.js +62 -0
- package/dist/components/query_result/query_result_action_menu.module.js +2 -0
- package/dist/components/query_result/query_result_details.d.ts +17 -0
- package/dist/components/query_result/query_result_details.js +46 -0
- package/dist/components/query_result/query_result_details.module.js +5 -0
- package/dist/components/query_result/query_result_download_button.d.ts +8 -0
- package/dist/components/query_result/query_result_download_button.js +38 -0
- package/dist/components/query_result/query_result_header.d.ts +21 -0
- package/dist/components/query_result/query_result_header.js +71 -0
- package/dist/components/query_result/query_result_header.module.js +3 -0
- package/dist/components/query_result/query_result_search_controls.d.ts +12 -0
- package/dist/components/query_result/query_result_search_controls.js +141 -0
- package/dist/components/query_result/query_result_search_controls.module.js +7 -0
- package/dist/components/query_result/query_result_toolbar.d.ts +21 -0
- package/dist/components/query_result/query_result_toolbar.js +74 -0
- package/dist/components/query_result/result_table_overlay.d.ts +9 -0
- package/dist/components/query_result/result_table_overlay.js +73 -0
- package/dist/components/query_result/result_table_overlay.module.js +6 -0
- package/dist/components/query_result/use_query_result_search.d.ts +8 -0
- package/dist/components/query_result/use_query_result_search.js +28 -0
- package/dist/components/segmented_control.d.ts +58 -0
- package/dist/components/segmented_control.js +116 -0
- package/dist/components/segmented_control.module.js +17 -0
- package/dist/components/separator.d.ts +21 -0
- package/dist/components/separator.js +79 -0
- package/dist/components/separator.module.js +7 -0
- package/dist/components/size_observer.d.ts +7 -0
- package/dist/components/size_observer.js +57 -0
- package/dist/components/skeleton.d.ts +2 -0
- package/dist/components/skeleton.js +14 -0
- package/dist/components/skeleton.module.js +2 -0
- package/dist/components/spinners.d.ts +8 -0
- package/dist/components/spinners.js +33 -0
- package/dist/components/spinners.module.js +8 -0
- package/dist/components/status_indicator.d.ts +36 -0
- package/dist/components/status_indicator.js +182 -0
- package/dist/components/status_indicator.module.js +3 -0
- package/dist/components/symbol_icon.d.ts +65 -0
- package/dist/components/symbol_icon.js +213 -0
- package/dist/components/tab_header.d.ts +11 -0
- package/dist/components/tab_header.js +55 -0
- package/dist/components/tab_header.module.js +7 -0
- package/dist/components/tag.d.ts +10 -0
- package/dist/components/tag.js +17 -0
- package/dist/components/tag.module.js +4 -0
- package/dist/components/text_field.d.ts +44 -0
- package/dist/components/text_field.js +159 -0
- package/dist/components/text_field.module.js +15 -0
- package/dist/components/text_input.d.ts +25 -0
- package/dist/components/text_input.js +90 -0
- package/dist/components/text_input.module.js +13 -0
- package/dist/components/text_input_action.d.ts +19 -0
- package/dist/components/text_input_action.js +33 -0
- package/dist/components/text_input_action.module.js +2 -0
- package/dist/components/toggle_switch.d.ts +7 -0
- package/dist/components/toggle_switch.js +22 -0
- package/dist/components/toggle_switch.module.js +6 -0
- package/dist/components/tooltip.d.ts +22 -0
- package/dist/components/tooltip.js +139 -0
- package/dist/components/tooltip.module.js +2 -0
- package/dist/components/tree_entry.d.ts +17 -0
- package/dist/components/tree_entry.js +48 -0
- package/dist/components/tree_entry.module.js +9 -0
- package/dist/components/value_list.d.ts +17 -0
- package/dist/components/value_list.js +70 -0
- package/dist/components/value_list.module.js +8 -0
- package/dist/components/vegalite_chart.d.ts +18 -0
- package/dist/components/vegalite_chart.js +151 -0
- package/dist/components/vegalite_chart.module.js +3 -0
- package/dist/components/vegalite_view.d.ts +27 -0
- package/dist/components/vegalite_view.js +248 -0
- package/dist/components/vegalite_view.module.js +5 -0
- package/dist/components/vertical_scroll_shadows.d.ts +14 -0
- package/dist/components/vertical_scroll_shadows.js +55 -0
- package/dist/components/vertical_scroll_shadows.module.js +5 -0
- package/dist/components/vertical_split.d.ts +15 -0
- package/dist/components/vertical_split.js +112 -0
- package/dist/components/vertical_split.module.js +5 -0
- package/dist/components/vertical_tabs.d.ts +36 -0
- package/dist/components/vertical_tabs.js +169 -0
- package/dist/components/vertical_tabs.module.js +23 -0
- package/dist/components/visualization/capped_rows.d.ts +9 -0
- package/dist/components/visualization/capped_rows.js +23 -0
- package/dist/components/visualization/capped_rows.module.js +3 -0
- package/dist/components/visualization/chart_download_button.d.ts +12 -0
- package/dist/components/visualization/chart_download_button.js +41 -0
- package/dist/components/visualization/kpi_view.d.ts +10 -0
- package/dist/components/visualization/kpi_view.js +215 -0
- package/dist/components/visualization/kpi_view.module.js +17 -0
- package/dist/components/visualization/markdown_view.d.ts +17 -0
- package/dist/components/visualization/markdown_view.js +154 -0
- package/dist/components/visualization/markdown_view.module.js +4 -0
- package/dist/components/visualization/result_rows.d.ts +17 -0
- package/dist/components/visualization/result_rows.js +82 -0
- package/dist/components/visualization/vegalite_preview.d.ts +8 -0
- package/dist/components/visualization/vegalite_preview.js +17 -0
- package/dist/components/visualization/vegalite_preview.module.js +2 -0
- package/dist/components/visualization/visualization_dispatch.d.ts +14 -0
- package/dist/components/visualization/visualization_dispatch.js +41 -0
- package/dist/components/visualization/visualization_panel.d.ts +10 -0
- package/dist/components/visualization/visualization_panel.js +37 -0
- package/dist/components/visualization/visualization_panel.module.js +3 -0
- package/dist/dom/anchored_position.d.ts +42 -0
- package/dist/dom/anchored_position.js +255 -0
- package/dist/dom/app_host.d.ts +6 -0
- package/dist/dom/app_host.js +13 -0
- package/dist/dom/calm_frames.d.ts +24 -0
- package/dist/dom/calm_frames.js +96 -0
- package/dist/dom/classnames.d.ts +8 -0
- package/dist/dom/classnames.js +20 -0
- package/dist/dom/download_file.d.ts +1 -0
- package/dist/dom/download_file.js +12 -0
- package/dist/dom/focus.d.ts +29 -0
- package/dist/dom/focus.js +84 -0
- package/dist/dom/graph_edges.d.ts +53 -0
- package/dist/dom/graph_edges.js +450 -0
- package/dist/dom/key_events.d.ts +9 -0
- package/dist/dom/key_events.js +33 -0
- package/dist/dom/media_query.d.ts +2 -0
- package/dist/dom/media_query.js +15 -0
- package/dist/dom/outside_click.d.ts +8 -0
- package/dist/dom/outside_click.js +32 -0
- package/dist/dom/rerender_ref.d.ts +2 -0
- package/dist/dom/rerender_ref.js +11 -0
- package/dist/dom/row_context_menu.d.ts +7 -0
- package/dist/dom/row_context_menu.js +32 -0
- package/dist/dom/scrollbar.d.ts +3 -0
- package/dist/dom/scrollbar.js +23 -0
- package/dist/format/format.d.ts +11 -0
- package/dist/format/format.js +72 -0
- package/dist/format/query_progress_format.d.ts +17 -0
- package/dist/format/query_progress_format.js +69 -0
- package/dist/format/time_format.d.ts +5 -0
- package/dist/format/time_format.js +45 -0
- package/dist/hooks.d.ts +71 -0
- package/dist/hooks.js +302 -0
- package/dist/host.d.ts +10 -0
- package/dist/host.js +12 -0
- package/dist/logger.d.ts +4 -0
- package/dist/logger.js +6 -0
- package/dist/models/computation_model.d.ts +14 -0
- package/dist/models/computation_model.js +27 -0
- package/dist/models/query_model.d.ts +12 -0
- package/dist/models/query_model.js +27 -0
- package/dist/models/script_model.d.ts +17 -0
- package/dist/models/script_model.js +69 -0
- package/dist/style.css +4226 -0
- package/dist/svg_symbols.d.ts +2 -0
- package/dist/svg_symbols.js +2 -0
- package/dist/symbols.svg +1197 -0
- package/dist/theme/color_scheme.d.ts +4 -0
- package/dist/theme/color_scheme.js +28 -0
- package/dist/theme/xcode_palette.d.ts +22 -0
- package/dist/theme/xcode_palette.js +4 -0
- package/dist/theme/xcode_palettes.js +41 -0
- package/dist/utils/plan_engine.d.ts +2 -0
- package/dist/utils/plan_engine.js +13 -0
- package/dist/vegalite/vegalite_check.d.ts +1 -0
- package/dist/vegalite/vegalite_check.js +7 -0
- package/dist/vegalite/vegalite_crossfilter.d.ts +54 -0
- package/dist/vegalite/vegalite_crossfilter.js +187 -0
- package/dist/vegalite/vegalite_image.d.ts +16 -0
- package/dist/vegalite/vegalite_image.js +28 -0
- package/dist/vegalite/vegalite_loader.d.ts +7 -0
- package/dist/vegalite/vegalite_loader.js +15 -0
- package/dist/vegalite/vegalite_rows.d.ts +3 -0
- package/dist/vegalite/vegalite_rows.js +17 -0
- package/dist/vegalite/vegalite_theme.d.ts +11 -0
- package/dist/vegalite/vegalite_theme.js +125 -0
- package/fonts/InstrumentSans-Bold.ttf +0 -0
- package/fonts/InstrumentSans-Medium.ttf +0 -0
- package/fonts/InstrumentSans-OFL.txt +93 -0
- package/fonts/InstrumentSans-Regular.ttf +0 -0
- package/fonts/InstrumentSans-SemiBold.ttf +0 -0
- package/fonts/JetBrainsMono-Bold.ttf +0 -0
- package/fonts/JetBrainsMono-Medium.ttf +0 -0
- package/fonts/JetBrainsMono-OFL.txt +93 -0
- package/fonts/JetBrainsMono-Regular.ttf +0 -0
- package/fonts/JetBrainsMono-SemiBold.ttf +0 -0
- package/fonts/fonts.css +61 -0
- package/package.json +43 -4
- package/styles/colors.css +110 -0
- package/styles/flavors/dbcom.css +48 -0
- package/styles/tokens.css +192 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2022 The Instrument Sans Project Authors (https://github.com/Instrument/instrument-sans)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://openfontlicense.org
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
package/fonts/fonts.css
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* -------------------------------------------------------------------- */
|
|
2
|
+
|
|
3
|
+
/* The fonts of all flavors. Browsers only download a face when the page uses it. */
|
|
4
|
+
|
|
5
|
+
@font-face {
|
|
6
|
+
font-family: 'Instrument Sans';
|
|
7
|
+
font-style: normal;
|
|
8
|
+
font-weight: 400;
|
|
9
|
+
src: url(./InstrumentSans-Regular.ttf) format('truetype');
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@font-face {
|
|
13
|
+
font-family: 'Instrument Sans';
|
|
14
|
+
font-style: normal;
|
|
15
|
+
font-weight: 500;
|
|
16
|
+
src: url(./InstrumentSans-Medium.ttf) format('truetype');
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@font-face {
|
|
20
|
+
font-family: 'Instrument Sans';
|
|
21
|
+
font-style: normal;
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
src: url(./InstrumentSans-SemiBold.ttf) format('truetype');
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: 'Instrument Sans';
|
|
28
|
+
font-style: normal;
|
|
29
|
+
font-weight: 700;
|
|
30
|
+
src: url(./InstrumentSans-Bold.ttf) format('truetype');
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@font-face {
|
|
34
|
+
font-family: 'JetBrains Mono';
|
|
35
|
+
font-style: normal;
|
|
36
|
+
font-weight: 400;
|
|
37
|
+
src: url(./JetBrainsMono-Regular.ttf) format('truetype');
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@font-face {
|
|
41
|
+
font-family: 'JetBrains Mono';
|
|
42
|
+
font-style: normal;
|
|
43
|
+
font-weight: 500;
|
|
44
|
+
src: url(./JetBrainsMono-Medium.ttf) format('truetype');
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@font-face {
|
|
48
|
+
font-family: 'JetBrains Mono';
|
|
49
|
+
font-style: normal;
|
|
50
|
+
font-weight: 600;
|
|
51
|
+
src: url(./JetBrainsMono-SemiBold.ttf) format('truetype');
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@font-face {
|
|
55
|
+
font-family: 'JetBrains Mono';
|
|
56
|
+
font-style: normal;
|
|
57
|
+
font-weight: 700;
|
|
58
|
+
src: url(./JetBrainsMono-Bold.ttf) format('truetype');
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* -------------------------------------------------------------------- */
|
package/package.json
CHANGED
|
@@ -1,6 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akohn/dashql-react",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.0.20-dev.661.gda3ac9a7e",
|
|
4
|
+
"description": "DashQL in React: the hooks of the runtime of @akohn/dashql, the models that components show, the components, and the design tokens, fonts and icons of DashQL",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MPL-2.0",
|
|
7
|
+
"publishConfig": { "access": "public" },
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/ankoh/dashql.git",
|
|
11
|
+
"directory": "packages/dashql-react"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/ankoh/dashql/tree/main/packages/dashql-react#readme",
|
|
14
|
+
"bugs": { "url": "https://github.com/ankoh/dashql/issues" },
|
|
15
|
+
"sideEffects": ["*.css"],
|
|
16
|
+
"exports": {
|
|
17
|
+
"./style.css": "./dist/style.css",
|
|
18
|
+
"./symbols.svg": "./dist/symbols.svg",
|
|
19
|
+
"./fonts/*.css": "./fonts/*.css",
|
|
20
|
+
"./styles/*.css": "./styles/*.css",
|
|
21
|
+
"./*": { "types": "./dist/*.d.ts", "import": "./dist/*.js" }
|
|
22
|
+
},
|
|
23
|
+
"files": ["dist", "fonts", "styles", "README.md", "LICENSE", "NOTICE"],
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@primer/behaviors": "^1.11.0",
|
|
26
|
+
"d3": "^7.9.2",
|
|
27
|
+
"react-window": "^2.5.3"
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"@akohn/dashql": "0.0.20-dev.661.gda3ac9a7e",
|
|
31
|
+
"apache-arrow": "^21.2.0",
|
|
32
|
+
"react": "^19.3.1",
|
|
33
|
+
"react-dom": "^19.3.1",
|
|
34
|
+
"vega": "^6.4.0",
|
|
35
|
+
"vega-embed": "^7.3.0",
|
|
36
|
+
"vega-interpreter": "^2.3.2",
|
|
37
|
+
"vega-lite": "^6.5.0"
|
|
38
|
+
},
|
|
39
|
+
"peerDependenciesMeta": {
|
|
40
|
+
"vega": { "optional": true },
|
|
41
|
+
"vega-embed": { "optional": true },
|
|
42
|
+
"vega-interpreter": { "optional": true },
|
|
43
|
+
"vega-lite": { "optional": true }
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/* The palette of DashQL. Only the theme (tokens.css) and the flavors of the app pick from it. */
|
|
2
|
+
:root {
|
|
3
|
+
--base_color_neutral_0: hsl(var(--neutral_hue), calc(28.6% * var(--neutral_tint)), 97.3%);
|
|
4
|
+
--base_color_neutral_1: hsl(var(--neutral_hue), calc(23.5% * var(--neutral_tint)), 93.3%);
|
|
5
|
+
--base_color_neutral_2: hsl(var(--neutral_hue), calc(17.5% * var(--neutral_tint)), 84.3%);
|
|
6
|
+
--base_color_neutral_3: hsl(var(--neutral_hue), calc(12.7% * var(--neutral_tint)), 72.2%);
|
|
7
|
+
--base_color_neutral_4: hsl(var(--neutral_hue), calc(9% * var(--neutral_tint)), 58.6%);
|
|
8
|
+
--base_color_neutral_5: hsl(var(--neutral_hue), calc(7.9% * var(--neutral_tint)), 46.9%);
|
|
9
|
+
--base_color_neutral_6: hsl(var(--neutral_hue), calc(9.8% * var(--neutral_tint)), 37.8%);
|
|
10
|
+
--base_color_neutral_7: hsl(var(--neutral_hue), calc(11.4% * var(--neutral_tint)), 29.2%);
|
|
11
|
+
--base_color_neutral_8: hsl(var(--neutral_hue), calc(11.5% * var(--neutral_tint)), 22.2%);
|
|
12
|
+
--base_color_neutral_9: hsl(var(--neutral_hue), calc(13.3% * var(--neutral_tint)), 16.3%);
|
|
13
|
+
/* The surfaces of the dark color scheme, between the greys above: the page, the subtle areas, the cards and the
|
|
14
|
+
muted borders on them */
|
|
15
|
+
--base_color_neutral_dark_0: hsl(var(--neutral_hue), calc(12% * var(--neutral_tint)), 15%);
|
|
16
|
+
--base_color_neutral_dark_1: hsl(var(--neutral_hue), calc(12% * var(--neutral_tint)), 18.5%);
|
|
17
|
+
--base_color_neutral_dark_2: hsl(var(--neutral_hue), calc(12% * var(--neutral_tint)), 20.5%);
|
|
18
|
+
--base_color_neutral_dark_3: hsl(var(--neutral_hue), calc(10% * var(--neutral_tint)), 24%);
|
|
19
|
+
|
|
20
|
+
--base_color_blue_0: #ddf4ff;
|
|
21
|
+
--base_color_blue_1: #b6e3ff;
|
|
22
|
+
--base_color_blue_2: #80ccff;
|
|
23
|
+
--base_color_blue_3: #54aeff;
|
|
24
|
+
--base_color_blue_4: #218bff;
|
|
25
|
+
--base_color_blue_5: #0969da;
|
|
26
|
+
--base_color_blue_6: #0550ae;
|
|
27
|
+
--base_color_blue_7: #033d8b;
|
|
28
|
+
--base_color_blue_8: #0a3069;
|
|
29
|
+
--base_color_blue_9: #002155;
|
|
30
|
+
|
|
31
|
+
--base_color_green_0: #dafbe1;
|
|
32
|
+
--base_color_green_1: #aceebb;
|
|
33
|
+
--base_color_green_2: #6fdd8b;
|
|
34
|
+
--base_color_green_3: #4ac26b;
|
|
35
|
+
--base_color_green_4: #2da44e;
|
|
36
|
+
--base_color_green_5: #1a7f37;
|
|
37
|
+
--base_color_green_6: #116329;
|
|
38
|
+
--base_color_green_7: #044f1e;
|
|
39
|
+
--base_color_green_8: #003d16;
|
|
40
|
+
--base_color_green_9: #002d11;
|
|
41
|
+
|
|
42
|
+
--base_color_yellow_0: #fff8c5;
|
|
43
|
+
--base_color_yellow_1: #fae17d;
|
|
44
|
+
--base_color_yellow_2: #eac54f;
|
|
45
|
+
--base_color_yellow_3: #d4a72c;
|
|
46
|
+
--base_color_yellow_4: #bf8700;
|
|
47
|
+
--base_color_yellow_5: #9a6700;
|
|
48
|
+
--base_color_yellow_6: #7d4e00;
|
|
49
|
+
--base_color_yellow_7: #633c01;
|
|
50
|
+
--base_color_yellow_8: #4d2d00;
|
|
51
|
+
--base_color_yellow_9: #3b2300;
|
|
52
|
+
|
|
53
|
+
--base_color_orange_0: #fff1e5;
|
|
54
|
+
--base_color_orange_1: #ffd8b5;
|
|
55
|
+
--base_color_orange_2: #ffb77c;
|
|
56
|
+
--base_color_orange_3: #fb8f44;
|
|
57
|
+
--base_color_orange_4: #e16f24;
|
|
58
|
+
--base_color_orange_5: #bc4c00;
|
|
59
|
+
--base_color_orange_6: #953800;
|
|
60
|
+
--base_color_orange_7: #762c00;
|
|
61
|
+
--base_color_orange_8: #5c2200;
|
|
62
|
+
--base_color_orange_9: #471700;
|
|
63
|
+
|
|
64
|
+
--base_color_red_0: #ffebe9;
|
|
65
|
+
--base_color_red_1: #ffcecb;
|
|
66
|
+
--base_color_red_2: #ffaba8;
|
|
67
|
+
--base_color_red_3: #ff8182;
|
|
68
|
+
--base_color_red_4: #fa4549;
|
|
69
|
+
--base_color_red_5: #cf222e;
|
|
70
|
+
--base_color_red_6: #a40e26;
|
|
71
|
+
--base_color_red_7: #82071e;
|
|
72
|
+
--base_color_red_8: #660018;
|
|
73
|
+
--base_color_red_9: #4c0014;
|
|
74
|
+
|
|
75
|
+
--base_color_purple_0: #fbefff;
|
|
76
|
+
--base_color_purple_1: #ecd8ff;
|
|
77
|
+
--base_color_purple_2: #d8b9ff;
|
|
78
|
+
--base_color_purple_3: #c297ff;
|
|
79
|
+
--base_color_purple_4: #a475f9;
|
|
80
|
+
--base_color_purple_5: #8250df;
|
|
81
|
+
--base_color_purple_6: #6639ba;
|
|
82
|
+
--base_color_purple_7: #512a97;
|
|
83
|
+
--base_color_purple_8: #3e1f79;
|
|
84
|
+
--base_color_purple_9: #2e1461;
|
|
85
|
+
|
|
86
|
+
--base_color_pink_0: #ffeff7;
|
|
87
|
+
--base_color_pink_1: #ffd3eb;
|
|
88
|
+
--base_color_pink_2: #ffadda;
|
|
89
|
+
--base_color_pink_3: #ff80c8;
|
|
90
|
+
--base_color_pink_4: #e85aad;
|
|
91
|
+
--base_color_pink_5: #bf3989;
|
|
92
|
+
--base_color_pink_6: #99286e;
|
|
93
|
+
--base_color_pink_7: #772057;
|
|
94
|
+
--base_color_pink_8: #611347;
|
|
95
|
+
--base_color_pink_9: #4d0336;
|
|
96
|
+
|
|
97
|
+
--base_color_coral_0: #fff0eb;
|
|
98
|
+
--base_color_coral_1: #ffd6cc;
|
|
99
|
+
--base_color_coral_2: #ffb4a1;
|
|
100
|
+
--base_color_coral_3: #fd8c73;
|
|
101
|
+
--base_color_coral_4: #ec6547;
|
|
102
|
+
--base_color_coral_5: #c4432b;
|
|
103
|
+
--base_color_coral_6: #9e2f1c;
|
|
104
|
+
--base_color_coral_7: #801f0f;
|
|
105
|
+
--base_color_coral_8: #691105;
|
|
106
|
+
--base_color_coral_9: #510901;
|
|
107
|
+
|
|
108
|
+
--base_color_black: hsl(var(--neutral_hue), calc(12.7% * var(--neutral_tint)), 13.9%);
|
|
109
|
+
--base_color_white: #ffffff;
|
|
110
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* Theme tokens of the Database.com flavor ("Petrol"), overriding the semantic tokens of @akohn/dashql-react/styles/tokens.css.
|
|
2
|
+
The backdrop is a dark Petrol, the greys of the pages carry a faint Petrol tint and the paper is Salt.
|
|
3
|
+
Verdigris is the accent on light surfaces, Lagoon the accent on dark ones. */
|
|
4
|
+
:root[data-flavor="dbcom"] {
|
|
5
|
+
--dbcom_paper: #f2f7f6;
|
|
6
|
+
--dbcom_ink: #0a1f24;
|
|
7
|
+
--dbcom_dark: #0f3b44;
|
|
8
|
+
--dbcom_accent: #3fd6c0;
|
|
9
|
+
--dbcom_primary_on_light: #0b8576;
|
|
10
|
+
--dbcom_primary_on_dark: #3fd6c0;
|
|
11
|
+
--dbcom_primary: light-dark(var(--dbcom_primary_on_light), var(--dbcom_primary_on_dark));
|
|
12
|
+
|
|
13
|
+
--neutral_hue: 186;
|
|
14
|
+
--neutral_tint: 1;
|
|
15
|
+
|
|
16
|
+
--color_fg: light-dark(var(--dbcom_ink), var(--base_color_neutral_1));
|
|
17
|
+
--color_bg: light-dark(var(--dbcom_paper), var(--base_color_neutral_dark_0));
|
|
18
|
+
--color_bg_subtle: light-dark(var(--dbcom_paper), var(--base_color_neutral_dark_1));
|
|
19
|
+
--color_bg_inverse: light-dark(var(--dbcom_dark), var(--base_color_neutral_1));
|
|
20
|
+
|
|
21
|
+
--chrome_bg: hsl(190, 46%, 24%);
|
|
22
|
+
--chrome_bg_80: hsl(190, 34%, 16%);
|
|
23
|
+
--chrome_bg_100: hsl(191, 28%, 10%);
|
|
24
|
+
--chrome_bg_active: hsla(186, 40%, 50%, 30%);
|
|
25
|
+
|
|
26
|
+
--color_accent_fg: var(--dbcom_primary);
|
|
27
|
+
--color_focus: var(--dbcom_primary);
|
|
28
|
+
|
|
29
|
+
--color_primary_emphasis: var(--dbcom_primary_on_light);
|
|
30
|
+
--color_primary_emphasis_hover: hsl(173, 85%, 22%);
|
|
31
|
+
--color_primary_emphasis_active: hsl(173, 85%, 19%);
|
|
32
|
+
--color_primary_emphasis_disabled: light-dark(hsl(172, 30%, 74%), hsl(172, 30%, 22%));
|
|
33
|
+
|
|
34
|
+
/* Succeeded status indicators take the Verdigris, the green of the agent gradient is too loud */
|
|
35
|
+
--color_success_fg: var(--dbcom_primary);
|
|
36
|
+
|
|
37
|
+
/* The agent runs from a fresh green over Lagoon into a Petrol blue, its accent is Verdigris.
|
|
38
|
+
The stops need the spread in hue, green, Lagoon and Verdigris alone read as one flat color. */
|
|
39
|
+
--agent_gradient_1: #34c46a;
|
|
40
|
+
--agent_gradient_2: var(--dbcom_accent);
|
|
41
|
+
--agent_gradient_3: #147a96;
|
|
42
|
+
--agent_accent: var(--dbcom_primary);
|
|
43
|
+
--agent_accent_text: light-dark(hsl(173, 85%, 22%), var(--dbcom_primary_on_dark));
|
|
44
|
+
|
|
45
|
+
/* Charts lead with a Verdigris that is a little more saturated than the accent, so that it does not read gray
|
|
46
|
+
next to the other categorical colors. Blue cannot take the slot of the green, it would follow the purple. */
|
|
47
|
+
--chart_color_1: light-dark(#00897b, #26b5a5);
|
|
48
|
+
}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
/* The theme of DashQL, shared by the app and the website. See docs/design/app_theme.md.
|
|
2
|
+
Every color of the app comes from the closed set of semantic tokens below. They pick from the palette in
|
|
3
|
+
colors.css with light-dark(<light>, <dark>), resolved against the color-scheme of the element that uses them.
|
|
4
|
+
The app sets the color-scheme on the root, the always dark chrome forces a dark one. Without a color-scheme
|
|
5
|
+
the tokens resolve light, like on the website. Flavors of the app override the tokens, never the palette. */
|
|
6
|
+
|
|
7
|
+
:root {
|
|
8
|
+
/* The greys of the app carry a slight tint of this hue. Flavors can shift the hue or drop the tint with 0. */
|
|
9
|
+
--neutral_hue: 210;
|
|
10
|
+
--neutral_tint: 1;
|
|
11
|
+
|
|
12
|
+
--border_radius: 8px;
|
|
13
|
+
|
|
14
|
+
--font_size_badge: 0.65rem;
|
|
15
|
+
--font_size_micro: 0.7rem;
|
|
16
|
+
--font_size_caption: 0.75rem;
|
|
17
|
+
--font_size_compact: 0.78rem;
|
|
18
|
+
--font_size_small: 0.8rem;
|
|
19
|
+
--font_size_body: 0.85rem;
|
|
20
|
+
--font_size_subtitle: 0.9rem;
|
|
21
|
+
--font_size_editor: 0.95rem;
|
|
22
|
+
--font_size_title: 1rem;
|
|
23
|
+
|
|
24
|
+
/* The gutter left and right of the content of a page, like the scripts of the feed and the cards of the dashboard.
|
|
25
|
+
It grows with the page up to a limit, wide screens get more room around the content without narrowing its
|
|
26
|
+
tables and charts. The percentage resolves against the element that uses it. */
|
|
27
|
+
--page_gutter: clamp(16px, 4%, 48px);
|
|
28
|
+
|
|
29
|
+
--font_family: 'Instrument Sans', sans-serif;
|
|
30
|
+
--font_family_mono: 'JetBrains Mono', monospace;
|
|
31
|
+
|
|
32
|
+
/* Surfaces: the page, the cards on it (also editors, tables and dialogs), the subtle areas of cards (headers,
|
|
33
|
+
sunken areas, alternating rows), the overlays of hovered and selected rows, and the inverted surface of
|
|
34
|
+
tooltips and dark badges */
|
|
35
|
+
--color_bg: light-dark(var(--base_color_neutral_0), var(--base_color_neutral_dark_0));
|
|
36
|
+
--color_bg_card: light-dark(var(--base_color_white), var(--base_color_neutral_dark_2));
|
|
37
|
+
--color_bg_subtle: light-dark(var(--base_color_neutral_0), var(--base_color_neutral_dark_1));
|
|
38
|
+
--color_bg_hover: light-dark(hsla(var(--neutral_hue), calc(24% * var(--neutral_tint)), 30%, 0.08), hsla(var(--neutral_hue), calc(24% * var(--neutral_tint)), 80%, 0.1));
|
|
39
|
+
--color_bg_selected: light-dark(hsla(var(--neutral_hue), calc(24% * var(--neutral_tint)), 30%, 0.14), hsla(var(--neutral_hue), calc(24% * var(--neutral_tint)), 80%, 0.16));
|
|
40
|
+
--color_bg_inverse: light-dark(var(--base_color_neutral_9), var(--base_color_neutral_1));
|
|
41
|
+
|
|
42
|
+
/* The panes of a page, like the sidebar and the bars above the stage, and their subtle variant. They are the
|
|
43
|
+
white and the grey of the light page. On the dark page they shade its background like the header of the shell,
|
|
44
|
+
their subtle variant shows it, see --page_background. */
|
|
45
|
+
--color_bg_pane: light-dark(var(--color_bg_card), var(--shell_header_bg));
|
|
46
|
+
--color_bg_pane_subtle: light-dark(var(--color_bg_subtle), transparent);
|
|
47
|
+
|
|
48
|
+
/* Text and icons: the default, muted (secondary text, controls of headers and toolbars), subtle (placeholders,
|
|
49
|
+
disabled controls), and the text on emphasis backgrounds and on the inverted surface */
|
|
50
|
+
--color_fg: light-dark(var(--base_color_neutral_9), var(--base_color_neutral_1));
|
|
51
|
+
--color_fg_muted: light-dark(var(--base_color_neutral_6), var(--base_color_neutral_3));
|
|
52
|
+
--color_fg_subtle: light-dark(var(--base_color_neutral_4), var(--base_color_neutral_5));
|
|
53
|
+
--color_fg_on_emphasis: var(--base_color_white);
|
|
54
|
+
--color_fg_inverse: light-dark(var(--base_color_white), var(--base_color_neutral_9));
|
|
55
|
+
|
|
56
|
+
/* Borders: the default of cards and controls, and the muted one of dividers inside them */
|
|
57
|
+
--color_border: light-dark(var(--base_color_neutral_2), var(--base_color_neutral_7));
|
|
58
|
+
--color_border_muted: light-dark(var(--base_color_neutral_1), var(--base_color_neutral_dark_3));
|
|
59
|
+
/* The strong one of lines that have to stand out more than borders, like the edges and the nodes of graphs */
|
|
60
|
+
--color_border_strong: light-dark(var(--base_color_neutral_3), var(--base_color_neutral_6));
|
|
61
|
+
|
|
62
|
+
/* The accent: links and highlighted text, emphasis backgrounds, muted backgrounds of highlights, and focus */
|
|
63
|
+
--color_accent_fg: light-dark(var(--base_color_blue_5), var(--base_color_blue_3));
|
|
64
|
+
--color_accent_emphasis: var(--base_color_blue_5);
|
|
65
|
+
--color_accent_muted: light-dark(var(--base_color_blue_0), color-mix(in srgb, var(--base_color_blue_4) 20%, transparent));
|
|
66
|
+
--color_focus: light-dark(var(--base_color_blue_5), var(--base_color_blue_4));
|
|
67
|
+
|
|
68
|
+
/* Status: the text and icon color, the emphasis background and the muted background of each */
|
|
69
|
+
--color_success_fg: light-dark(var(--base_color_green_5), var(--base_color_green_3));
|
|
70
|
+
--color_success_emphasis: light-dark(#1f883d, #238636);
|
|
71
|
+
--color_success_muted: light-dark(var(--base_color_green_0), color-mix(in srgb, var(--base_color_green_4) 20%, transparent));
|
|
72
|
+
--color_danger_fg: light-dark(var(--base_color_red_5), var(--base_color_red_3));
|
|
73
|
+
--color_danger_emphasis: light-dark(var(--base_color_red_5), #da3633);
|
|
74
|
+
--color_danger_muted: light-dark(var(--base_color_red_0), color-mix(in srgb, var(--base_color_red_4) 20%, transparent));
|
|
75
|
+
--color_danger_border: color-mix(in srgb, var(--color_danger_fg) 40%, transparent);
|
|
76
|
+
--color_attention_fg: light-dark(var(--base_color_yellow_5), var(--base_color_yellow_2));
|
|
77
|
+
--color_attention_muted: light-dark(var(--base_color_yellow_0), color-mix(in srgb, var(--base_color_yellow_4) 20%, transparent));
|
|
78
|
+
--color_attention_border: color-mix(in srgb, var(--color_attention_fg) 40%, transparent);
|
|
79
|
+
--color_neutral_fg: light-dark(var(--base_color_neutral_5), var(--base_color_neutral_4));
|
|
80
|
+
--color_neutral_emphasis: var(--base_color_neutral_6);
|
|
81
|
+
--color_neutral_muted: light-dark(var(--base_color_neutral_1), color-mix(in srgb, var(--base_color_neutral_5) 25%, transparent));
|
|
82
|
+
--color_done_fg: light-dark(var(--base_color_purple_5), var(--base_color_purple_3));
|
|
83
|
+
--color_done_emphasis: var(--base_color_purple_5);
|
|
84
|
+
--color_done_muted: light-dark(var(--base_color_purple_0), color-mix(in srgb, var(--base_color_purple_4) 20%, transparent));
|
|
85
|
+
|
|
86
|
+
/* The primary button: rest, hovered, pressed or with an open menu, and disabled */
|
|
87
|
+
--color_primary_emphasis: var(--color_success_emphasis);
|
|
88
|
+
--color_primary_emphasis_hover: light-dark(var(--base_color_green_5), #2ea043);
|
|
89
|
+
--color_primary_emphasis_active: light-dark(hsl(137, 66%, 28%), hsl(137, 60%, 34%));
|
|
90
|
+
--color_primary_emphasis_disabled: light-dark(#94d3a2, hsl(137, 35%, 24%));
|
|
91
|
+
|
|
92
|
+
/* The backdrop that dims the page behind modal drawers and overlays */
|
|
93
|
+
--color_backdrop: light-dark(hsla(var(--neutral_hue), calc(12% * var(--neutral_tint)), 16%, 0.3), hsla(0, 0%, 0%, 0.5));
|
|
94
|
+
|
|
95
|
+
/* Elevation */
|
|
96
|
+
--shadow_small: 0 1px 0 light-dark(hsla(var(--neutral_hue), calc(12.7% * var(--neutral_tint)), 13.9%, 0.04), hsla(0, 0%, 0%, 0.2));
|
|
97
|
+
--shadow_medium: 0 3px 6px light-dark(hsla(var(--neutral_hue), calc(9% * var(--neutral_tint)), 58.6%, 0.15), hsla(0, 0%, 0%, 0.4));
|
|
98
|
+
--shadow_large: 0 8px 24px light-dark(hsla(var(--neutral_hue), calc(9% * var(--neutral_tint)), 58.6%, 0.2), hsla(0, 0%, 0%, 0.5));
|
|
99
|
+
--shadow_extra_large: 0 12px 28px light-dark(hsla(var(--neutral_hue), calc(9% * var(--neutral_tint)), 58.6%, 0.3), hsla(0, 0%, 0%, 0.6));
|
|
100
|
+
|
|
101
|
+
/* The chrome around the pages (top bar, nav rail, the backdrop of the setup pages) is dark in both schemes.
|
|
102
|
+
It forces a dark color-scheme on itself and uses the tokens above, these are only its backgrounds. */
|
|
103
|
+
--chrome_bg: hsl(var(--neutral_hue), calc(24.7% * var(--neutral_tint)), 31.8%);
|
|
104
|
+
--chrome_bg_80: hsl(var(--neutral_hue), calc(12% * var(--neutral_tint)), 24%);
|
|
105
|
+
--chrome_bg_100: hsl(var(--neutral_hue), calc(12% * var(--neutral_tint)), 16%);
|
|
106
|
+
--chrome_bg_active: hsla(var(--neutral_hue), calc(24% * var(--neutral_tint)), 80%, 0.2);
|
|
107
|
+
--background: radial-gradient(circle at 50% 50%, var(--chrome_bg_80) 20%, transparent 80%),
|
|
108
|
+
conic-gradient(
|
|
109
|
+
from 45deg at 50% 50%,
|
|
110
|
+
var(--chrome_bg_100) 0%,
|
|
111
|
+
var(--chrome_bg_80) 25%,
|
|
112
|
+
var(--chrome_bg_100) 50%,
|
|
113
|
+
var(--chrome_bg_80) 75%,
|
|
114
|
+
var(--chrome_bg_100) 100%
|
|
115
|
+
);
|
|
116
|
+
|
|
117
|
+
/* The background of a page behind its panes and its stage. The light page is flat, its panes cover it.
|
|
118
|
+
The dark page shades the backdrop of the chrome behind it like the card of the shell, so that the whole page
|
|
119
|
+
follows the gradient of the chrome. */
|
|
120
|
+
--page_shade: light-dark(var(--color_bg), var(--shell_bg));
|
|
121
|
+
--page_background: linear-gradient(var(--page_shade), var(--page_shade));
|
|
122
|
+
|
|
123
|
+
/* The shell: the terminal on the dark backdrop, dark in both schemes. Its surfaces darken and lighten the
|
|
124
|
+
backdrop, its text is the foreground of the terminal. */
|
|
125
|
+
--shell_bg: hsla(0, 0%, 0%, 0.2);
|
|
126
|
+
--shell_header_bg: hsla(0, 0%, 0%, 0.06);
|
|
127
|
+
--shell_divider: hsla(0, 0%, 0%, 0.14);
|
|
128
|
+
--shell_edge: hsla(0, 0%, 100%, 0.04);
|
|
129
|
+
--shell_hover: hsla(0, 0%, 100%, 0.1);
|
|
130
|
+
--shell_focus: hsla(0, 0%, 100%, 0.5);
|
|
131
|
+
--shell_fg: #e6edf3;
|
|
132
|
+
--shell_fg_muted: rgba(230, 237, 243, 0.7);
|
|
133
|
+
--shell_fg_subtle: hsla(0, 0%, 100%, 0.45);
|
|
134
|
+
/* The block cursor of the prompt, white like the one of a terminal; it blends by difference with the text */
|
|
135
|
+
--shell_cursor: #ffffff;
|
|
136
|
+
|
|
137
|
+
/* Backdrop of pages with a lot of empty space, like the session feed: a soft light in the middle,
|
|
138
|
+
a faint dot grid, and a vignette that fades the grid out toward the edges. Centered in the element it paints.
|
|
139
|
+
The dark stage is only the dot grid, the background of the page shows through. */
|
|
140
|
+
--stage_color: light-dark(var(--color_bg), transparent);
|
|
141
|
+
--stage_light: radial-gradient(ellipse 65% 70% at 50% 50%, light-dark(hsl(var(--neutral_hue), calc(30% * var(--neutral_tint)), 98.1%), transparent) 0%, var(--stage_color) 60%);
|
|
142
|
+
--stage_dot_grid: radial-gradient(circle, light-dark(hsla(var(--neutral_hue), calc(24% * var(--neutral_tint)), 30%, 0.1), hsla(var(--neutral_hue), calc(24% * var(--neutral_tint)), 80%, 0.07)) 0.8px, transparent 1.3px) center / 22px 22px;
|
|
143
|
+
--stage_vignette_color: light-dark(hsl(var(--neutral_hue), calc(27% * var(--neutral_tint)), 96.1%), transparent);
|
|
144
|
+
--stage_vignette: radial-gradient(ellipse 70% 75% at 50% 50%, transparent 45%, var(--stage_vignette_color) 100%);
|
|
145
|
+
--stage_background: var(--stage_vignette), var(--stage_dot_grid), var(--stage_light), var(--stage_color);
|
|
146
|
+
|
|
147
|
+
/* The agent: the three stops of the gradient of its frame, the accent of its icons and the accent of its text.
|
|
148
|
+
Flavors derive them from their accent. */
|
|
149
|
+
--agent_gradient_1: var(--base_color_blue_3);
|
|
150
|
+
--agent_gradient_2: #3cc4d9;
|
|
151
|
+
--agent_gradient_3: var(--base_color_blue_4);
|
|
152
|
+
--agent_accent: light-dark(var(--base_color_blue_5), var(--base_color_blue_3));
|
|
153
|
+
--agent_accent_text: light-dark(var(--base_color_blue_6), var(--base_color_blue_2));
|
|
154
|
+
/* The face of the agent and its question on the empty session, muted on the light page and white on the dark one */
|
|
155
|
+
--agent_fg: light-dark(var(--color_fg_muted), var(--color_fg));
|
|
156
|
+
|
|
157
|
+
/* Charts: the categorical colors of series in the order they are assigned, the first one is the color of a
|
|
158
|
+
single series. Flavors override them, adjacent categorical colors must stay apart for color-blind readers. */
|
|
159
|
+
--chart_color_1: light-dark(var(--base_color_blue_5), var(--base_color_blue_4));
|
|
160
|
+
--chart_color_2: light-dark(var(--base_color_orange_4), var(--base_color_orange_3));
|
|
161
|
+
--chart_color_3: light-dark(var(--base_color_purple_5), var(--base_color_purple_4));
|
|
162
|
+
--chart_color_4: light-dark(var(--base_color_green_5), var(--base_color_green_3));
|
|
163
|
+
--chart_color_5: light-dark(var(--base_color_pink_4), var(--base_color_pink_3));
|
|
164
|
+
--chart_color_6: light-dark(var(--base_color_yellow_4), var(--base_color_yellow_3));
|
|
165
|
+
--chart_color_7: light-dark(var(--base_color_blue_3), var(--base_color_blue_2));
|
|
166
|
+
--chart_color_8: light-dark(var(--base_color_orange_6), var(--base_color_orange_5));
|
|
167
|
+
|
|
168
|
+
/* Code: the editor and code views. The syntax colors are the Xcode themes of
|
|
169
|
+
@akohn/dashql-react/theme/xcode_palette, which the code blocks of the website use too, a test keeps them in sync.
|
|
170
|
+
The editor sits on the card surface. */
|
|
171
|
+
--code_bg: var(--color_bg_card);
|
|
172
|
+
--code_fg: light-dark(#3D3D3D, #CECFD0);
|
|
173
|
+
--code_caret: light-dark(#3D3D3D, #fff);
|
|
174
|
+
--code_selection: light-dark(#BBDFFF, #727377);
|
|
175
|
+
--code_selection_match: light-dark(#BBDFFF, #727377);
|
|
176
|
+
--code_gutter_fg: light-dark(#AFAFAF, #7F8C98);
|
|
177
|
+
--code_line_highlight: light-dark(#d5e6ff69, #ffffff0f);
|
|
178
|
+
--code_comment: light-dark(#707F8D, #7F8C98);
|
|
179
|
+
--code_keyword: light-dark(#aa0d91, #FF7AB2);
|
|
180
|
+
--code_type_operator: light-dark(#aa0d91, #CECFD0);
|
|
181
|
+
--code_type_name: light-dark(#522BB2, #DABAFF);
|
|
182
|
+
--code_property_name: light-dark(#032f62, #6BAA9F);
|
|
183
|
+
--code_string: light-dark(#D23423, #FF8170);
|
|
184
|
+
--code_name: light-dark(#032f62, #6BAA9F);
|
|
185
|
+
--code_variable_name: light-dark(#23575C, #ACF2E4);
|
|
186
|
+
--code_variable_definition: light-dark(#327A9E, #6BDFFF);
|
|
187
|
+
--code_link: light-dark(#0e0eff, #FF8170);
|
|
188
|
+
|
|
189
|
+
--logo_color_salesforce: rgb(0, 161, 224);
|
|
190
|
+
|
|
191
|
+
/* --shell_prompt_color: the color of the shell prompt, in the foreground color of the shell if unset */
|
|
192
|
+
}
|