@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.
Files changed (86) hide show
  1. package/dist/component/render-webcomponent.d.ts +6 -0
  2. package/dist/component/render.d.ts +7 -17
  3. package/dist/component/result-context.d.ts +2 -3
  4. package/dist/component/table/table-context.d.ts +9 -0
  5. package/dist/component/{table-layout.d.ts → table/table-layout.d.ts} +2 -2
  6. package/dist/component/table/table.d.ts +9 -0
  7. package/dist/html/html_view.d.ts +1 -1
  8. package/dist/module/index.mjs +145001 -0
  9. package/dist/module/index.umd.js +1643 -0
  10. package/dist/module/style.css +1 -0
  11. package/dist/stories/bars.stories.d.ts +1 -1
  12. package/dist/stories/tables.stories.d.ts +1 -1
  13. package/dist/stories/themes.stories.d.ts +1 -1
  14. package/dist/webcomponent/malloy-render.mjs +90572 -0
  15. package/dist/webcomponent/malloy-render.umd.js +1491 -0
  16. package/dist/webcomponent/style.css +1 -0
  17. package/package.json +21 -7
  18. package/vite.config.ts +25 -0
  19. package/vite.config.webcomponent.ts +25 -0
  20. package/dist/bundle/bundled_renderer.js +0 -139374
  21. package/dist/bundle/bundled_renderer.min.js +0 -2374
  22. package/dist/bundle/main.js +0 -29
  23. package/dist/bundle/renderer.js +0 -71
  24. package/dist/component/bar-chart.js +0 -130
  25. package/dist/component/chart-settings.js +0 -152
  26. package/dist/component/render-numeric-field.js +0 -104
  27. package/dist/component/render-result-metadata.js +0 -91
  28. package/dist/component/render.js +0 -155
  29. package/dist/component/result-context.js +0 -28
  30. package/dist/component/table-layout.js +0 -83
  31. package/dist/component/table.d.ts +0 -35
  32. package/dist/component/table.js +0 -375
  33. package/dist/component/util.js +0 -53
  34. package/dist/component/vega-chart.js +0 -105
  35. package/dist/component/vega-lite-base-spec.js +0 -61
  36. package/dist/component/vega-types.js +0 -34
  37. package/dist/data_styles.js +0 -50
  38. package/dist/drill.js +0 -124
  39. package/dist/html/area_sparkline.js +0 -118
  40. package/dist/html/bar_chart.js +0 -70
  41. package/dist/html/bar_sparkline.js +0 -119
  42. package/dist/html/boolean.js +0 -53
  43. package/dist/html/bytes.js +0 -47
  44. package/dist/html/cartesian_chart.js +0 -110
  45. package/dist/html/chart.js +0 -120
  46. package/dist/html/column_sparkline.js +0 -120
  47. package/dist/html/container.js +0 -44
  48. package/dist/html/currency.js +0 -75
  49. package/dist/html/dashboard.js +0 -242
  50. package/dist/html/data_volume.js +0 -94
  51. package/dist/html/date.js +0 -66
  52. package/dist/html/duration.js +0 -108
  53. package/dist/html/html_view.js +0 -187
  54. package/dist/html/image.js +0 -77
  55. package/dist/html/index.js +0 -28
  56. package/dist/html/json.js +0 -52
  57. package/dist/html/line_chart.js +0 -72
  58. package/dist/html/link.js +0 -57
  59. package/dist/html/list.js +0 -73
  60. package/dist/html/list_detail.js +0 -33
  61. package/dist/html/number.js +0 -73
  62. package/dist/html/percent.js +0 -50
  63. package/dist/html/point_map.js +0 -182
  64. package/dist/html/scatter_chart.js +0 -72
  65. package/dist/html/segment_map.js +0 -151
  66. package/dist/html/shape_map.js +0 -194
  67. package/dist/html/sparkline.js +0 -120
  68. package/dist/html/state_codes.js +0 -137
  69. package/dist/html/table.js +0 -475
  70. package/dist/html/text.js +0 -65
  71. package/dist/html/unsupported.js +0 -72
  72. package/dist/html/utils.js +0 -277
  73. package/dist/html/vega_spec.js +0 -544
  74. package/dist/index.js +0 -47
  75. package/dist/main_renderer_factory.js +0 -101
  76. package/dist/renderer.js +0 -34
  77. package/dist/renderer_factory.js +0 -57
  78. package/dist/renderer_types.js +0 -25
  79. package/dist/stories/bars.stories.js +0 -52
  80. package/dist/stories/basic.stories.js +0 -34
  81. package/dist/stories/image.stories.js +0 -34
  82. package/dist/stories/render-malloy-legacy.js +0 -27
  83. package/dist/stories/tables.stories.js +0 -65
  84. package/dist/stories/themes.stories.js +0 -47
  85. package/dist/stories/util.js +0 -25
  86. 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}}
@@ -1,6 +1,6 @@
1
1
  import { Meta } from '@storybook/html';
2
2
  import './themes.css';
3
- import '../component/render';
3
+ import '../component/render-webcomponent';
4
4
  declare const meta: Meta;
5
5
  export default meta;
6
6
  export declare const Products2Column: {
@@ -1,6 +1,6 @@
1
1
  import { Meta } from '@storybook/html';
2
2
  import './themes.css';
3
- import '../component/render';
3
+ import '../component/render-webcomponent';
4
4
  declare const meta: Meta;
5
5
  export default meta;
6
6
  export declare const ProductsTable: {
@@ -1,6 +1,6 @@
1
1
  import { Meta } from '@storybook/html';
2
2
  import './themes.css';
3
- import '../component/render';
3
+ import '../component/render-webcomponent';
4
4
  declare const meta: Meta;
5
5
  export default meta;
6
6
  export declare const ModelThemeOverride: {