@malloydata/render 0.0.135-dev240325191847 → 0.0.135-dev240326020414
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/component/render-webcomponent.d.ts +6 -0
- package/dist/component/render.d.ts +7 -17
- package/dist/component/result-context.d.ts +2 -3
- package/dist/component/table/table-context.d.ts +9 -0
- package/dist/component/{table-layout.d.ts → table/table-layout.d.ts} +2 -2
- package/dist/component/table/table.d.ts +9 -0
- package/dist/html/html_view.d.ts +1 -1
- package/dist/module/index.mjs +145001 -0
- package/dist/module/index.umd.js +1643 -0
- package/dist/module/style.css +1 -0
- package/dist/stories/bars.stories.d.ts +1 -1
- package/dist/stories/tables.stories.d.ts +1 -1
- package/dist/stories/themes.stories.d.ts +1 -1
- package/dist/webcomponent/malloy-render.mjs +90572 -0
- package/dist/webcomponent/malloy-render.umd.js +1491 -0
- package/dist/webcomponent/style.css +1 -0
- package/package.json +21 -7
- package/vite.config.ts +25 -0
- package/vite.config.webcomponent.ts +25 -0
- package/dist/bundle/bundled_renderer.js +0 -139374
- package/dist/bundle/bundled_renderer.min.js +0 -2374
- package/dist/bundle/main.js +0 -29
- package/dist/bundle/renderer.js +0 -71
- package/dist/component/bar-chart.js +0 -130
- package/dist/component/chart-settings.js +0 -152
- package/dist/component/render-numeric-field.js +0 -104
- package/dist/component/render-result-metadata.js +0 -91
- package/dist/component/render.js +0 -155
- package/dist/component/result-context.js +0 -28
- package/dist/component/table-layout.js +0 -83
- package/dist/component/table.d.ts +0 -35
- package/dist/component/table.js +0 -375
- package/dist/component/util.js +0 -53
- package/dist/component/vega-chart.js +0 -105
- package/dist/component/vega-lite-base-spec.js +0 -61
- package/dist/component/vega-types.js +0 -34
- package/dist/data_styles.js +0 -50
- package/dist/drill.js +0 -124
- package/dist/html/area_sparkline.js +0 -118
- package/dist/html/bar_chart.js +0 -70
- package/dist/html/bar_sparkline.js +0 -119
- package/dist/html/boolean.js +0 -53
- package/dist/html/bytes.js +0 -47
- package/dist/html/cartesian_chart.js +0 -110
- package/dist/html/chart.js +0 -120
- package/dist/html/column_sparkline.js +0 -120
- package/dist/html/container.js +0 -44
- package/dist/html/currency.js +0 -75
- package/dist/html/dashboard.js +0 -242
- package/dist/html/data_volume.js +0 -94
- package/dist/html/date.js +0 -66
- package/dist/html/duration.js +0 -108
- package/dist/html/html_view.js +0 -187
- package/dist/html/image.js +0 -77
- package/dist/html/index.js +0 -28
- package/dist/html/json.js +0 -52
- package/dist/html/line_chart.js +0 -72
- package/dist/html/link.js +0 -57
- package/dist/html/list.js +0 -73
- package/dist/html/list_detail.js +0 -33
- package/dist/html/number.js +0 -73
- package/dist/html/percent.js +0 -50
- package/dist/html/point_map.js +0 -182
- package/dist/html/scatter_chart.js +0 -72
- package/dist/html/segment_map.js +0 -151
- package/dist/html/shape_map.js +0 -194
- package/dist/html/sparkline.js +0 -120
- package/dist/html/state_codes.js +0 -137
- package/dist/html/table.js +0 -475
- package/dist/html/text.js +0 -65
- package/dist/html/unsupported.js +0 -72
- package/dist/html/utils.js +0 -277
- package/dist/html/vega_spec.js +0 -544
- package/dist/index.js +0 -47
- package/dist/main_renderer_factory.js +0 -101
- package/dist/renderer.js +0 -34
- package/dist/renderer_factory.js +0 -57
- package/dist/renderer_types.js +0 -25
- package/dist/stories/bars.stories.js +0 -52
- package/dist/stories/basic.stories.js +0 -34
- package/dist/stories/image.stories.js +0 -34
- package/dist/stories/render-malloy-legacy.js +0 -27
- package/dist/stories/tables.stories.js +0 -65
- package/dist/stories/themes.stories.js +0 -47
- package/dist/stories/util.js +0 -25
- package/dist/tags_utils.js +0 -30
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.malloy-table .sticky-header{position:sticky;top:0;z-index:100}.malloy-table .sticky-header-content{position:absolute;top:0;left:0;pointer-events:none}.malloy-table .sticky-header-content th{pointer-events:all}.malloy-table table{border-collapse:collapse;background:var(--malloy-render--table-background)}.malloy-table th{transition:background-color .25s}.malloy-table table *{box-sizing:border-box}.malloy-table .column-cell{height:var(--malloy-render--table-row-height);overflow:hidden;white-space:nowrap;text-align:left;padding:0;vertical-align:top;position:relative}.malloy-table td.column-cell{font-weight:var(--malloy-render--table-body-weight);color:var(--malloy-render--table-body-color)}.malloy-table th.column-cell{font-weight:var(--malloy-render--table-header-weight);color:var(--malloy-render--table-header-color)}.malloy-table .column-cell.numeric{text-align:right;font-variant-numeric:tabular-nums}.malloy-table .cell-wrapper{display:flex;align-items:start;overflow:hidden}.malloy-table .cell-content{border-top:var(--malloy-render--table-border);height:100%;line-height:var(--malloy-render--table-row-height);flex:1;overflow:hidden;text-overflow:ellipsis}.malloy-table .cell-gutter{border-top:var(--malloy-render--table-border);height:var(--malloy-render--table-row-height);width:var(--malloy-render--table-gutter-size);transition:border-color .25s}.malloy-table .cell-gutter.hide-gutter-border{border-color:transparent}.malloy-table.pinned-header table{background:transparent}.malloy-table.pinned-header th{background:var(--malloy-render--table-background)}.malloy-table.root{width:100%;height:100%;position:relative;overflow:auto}.malloy-table.scrolled .pinned-header .cell-content,.malloy-table.scrolled .pinned-header .cell-gutter,.malloy-table.scrolled .pinned-header .cell-gutter.hide-gutter-border{border-top:var(--malloy-render--table-pinned-border)}.malloy-table.scrolled .pinned-header th{background:var(--malloy-render--table-pinned-background);box-shadow:0 0 .5em #00000080}:host{--malloy-theme--table-row-height: 28px;--malloy-theme--table-font-size: 12px;--malloy-theme--table-header-color: #5d626b;--malloy-theme--table-header-weight: bold;--malloy-theme--table-body-color: #727883;--malloy-theme--table-body-weight: 400;--malloy-theme--table-border: 1px solid #e5e7eb;--malloy-theme--table-background: white;--malloy-theme--table-gutter-size: 15px;--malloy-theme--table-pinned-background: #f5fafc;--malloy-theme--table-pinned-border: 1px solid #daedf3;--malloy-theme--font-family: Inter, system-ui, sans-serif;font-family:var(--malloy-render--font-family);font-size:var(--malloy-render--table-font-size)}@supports (font-variation-settings: normal){:host{font-family:InterVariable,Inter,system-ui sans-serif;font-feature-settings:"liga" 1,"calt" 1}}
|