@malloydata/render 0.0.243-dev250314154947 → 0.0.243-dev250314162617

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 (87) hide show
  1. package/dist/component/apply-renderer.d.ts +1 -1
  2. package/dist/component/bar-chart/generate-bar_chart-vega-spec.d.ts +2 -2
  3. package/dist/component/bar-chart/get-bar_chart-settings.d.ts +3 -3
  4. package/dist/component/bar-chart/get-custom-tooltips-entries.d.ts +2 -2
  5. package/dist/component/chart/chart-dev-tool.d.ts +1 -1
  6. package/dist/component/chart/chart.d.ts +2 -2
  7. package/dist/component/chart/default-chart-tooltip.d.ts +1 -1
  8. package/dist/component/chart-layout-settings.d.ts +3 -3
  9. package/dist/component/copy-to-html.d.ts +1 -1
  10. package/dist/component/dashboard/dashboard.d.ts +1 -1
  11. package/dist/component/legacy-charts/legacy_chart.d.ts +1 -1
  12. package/dist/component/line-chart/generate-line_chart-vega-spec.d.ts +2 -2
  13. package/dist/component/line-chart/get-line_chart-settings.d.ts +3 -3
  14. package/dist/component/malloy-modal/malloy-modal-wc.d.ts +1 -1
  15. package/dist/component/malloy-modal/malloy-modal.d.ts +1 -1
  16. package/dist/component/register-webcomponent.d.ts +2 -2
  17. package/dist/component/render-image.d.ts +1 -1
  18. package/dist/component/render-link.d.ts +1 -1
  19. package/dist/component/render-list.d.ts +1 -1
  20. package/dist/component/render-numeric-field.d.ts +1 -1
  21. package/dist/component/render-result-metadata.d.ts +5 -5
  22. package/dist/component/render-time.d.ts +1 -1
  23. package/dist/component/render.d.ts +6 -5
  24. package/dist/component/result-context.d.ts +1 -1
  25. package/dist/component/result-store/result-store.d.ts +3 -3
  26. package/dist/component/table/table-context.d.ts +3 -2
  27. package/dist/component/table/table-layout.d.ts +2 -2
  28. package/dist/component/table/table.d.ts +2 -2
  29. package/dist/component/tag-utils.d.ts +1 -1
  30. package/dist/component/tooltip/tooltip.d.ts +1 -1
  31. package/dist/component/types.d.ts +4 -4
  32. package/dist/component/vega/base-vega-config.d.ts +1 -1
  33. package/dist/component/vega/measure-axis.d.ts +2 -2
  34. package/dist/component/vega/vega-chart.d.ts +3 -2
  35. package/dist/component/vega/vega-utils.d.ts +1 -1
  36. package/dist/component/vega-types.d.ts +2 -2
  37. package/dist/data_tree.d.ts +2 -2
  38. package/dist/html/area_sparkline.d.ts +5 -5
  39. package/dist/html/bar_chart.d.ts +4 -4
  40. package/dist/html/bar_sparkline.d.ts +5 -5
  41. package/dist/html/boolean.d.ts +4 -4
  42. package/dist/html/bytes.d.ts +4 -4
  43. package/dist/html/cartesian_chart.d.ts +2 -2
  44. package/dist/html/chart.d.ts +4 -4
  45. package/dist/html/column_sparkline.d.ts +5 -5
  46. package/dist/html/container.d.ts +6 -5
  47. package/dist/html/currency.d.ts +4 -4
  48. package/dist/html/dashboard.d.ts +2 -2
  49. package/dist/html/data_styles.d.ts +2 -2
  50. package/dist/html/data_volume.d.ts +4 -4
  51. package/dist/html/date.d.ts +4 -4
  52. package/dist/html/duration.d.ts +5 -4
  53. package/dist/html/html_view.d.ts +6 -6
  54. package/dist/html/image.d.ts +4 -4
  55. package/dist/html/json.d.ts +4 -4
  56. package/dist/html/line_chart.d.ts +4 -4
  57. package/dist/html/link.d.ts +4 -4
  58. package/dist/html/list.d.ts +2 -2
  59. package/dist/html/list_detail.d.ts +1 -1
  60. package/dist/html/main_renderer_factory.d.ts +6 -6
  61. package/dist/html/number.d.ts +4 -4
  62. package/dist/html/percent.d.ts +4 -4
  63. package/dist/html/point_map.d.ts +5 -5
  64. package/dist/html/renderer.d.ts +3 -3
  65. package/dist/html/renderer_factory.d.ts +5 -5
  66. package/dist/html/renderer_types.d.ts +2 -2
  67. package/dist/html/scatter_chart.d.ts +4 -4
  68. package/dist/html/segment_map.d.ts +5 -5
  69. package/dist/html/shape_map.d.ts +5 -5
  70. package/dist/html/sparkline.d.ts +5 -5
  71. package/dist/html/table.d.ts +3 -3
  72. package/dist/html/text.d.ts +4 -4
  73. package/dist/html/unsupported.d.ts +4 -4
  74. package/dist/html/utils.d.ts +4 -4
  75. package/dist/html/vega_spec.d.ts +5 -5
  76. package/dist/module/index.mjs +15654 -15569
  77. package/dist/module/index.umd.js +273 -273
  78. package/dist/register/register.mjs +16021 -15936
  79. package/dist/register/register.umd.js +260 -260
  80. package/dist/stories/themes.stories.d.ts +1 -1
  81. package/dist/stories/util.d.ts +4 -4
  82. package/dist/stories/vega-config-override.stories.d.ts +1 -1
  83. package/dist/util.d.ts +3 -2
  84. package/dist/webcomponent/malloy-render.mjs +16021 -15936
  85. package/dist/webcomponent/malloy-render.umd.js +260 -260
  86. package/package.json +5 -5
  87. package/vite.config.base.ts +2 -1
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/html';
1
+ import type { Meta } from '@storybook/html';
2
2
  import './themes.css';
3
3
  import '../component/render-webcomponent';
4
4
  declare const meta: Meta;
@@ -1,7 +1,7 @@
1
- import { LoaderFunction, Args } from '@storybook/types';
2
- import { HtmlRenderer } from '@storybook/html';
3
- import { DuckDBWASMConnection } from '@malloydata/db-duckdb/wasm';
4
- import * as Malloy from '@malloydata/malloy-interfaces';
1
+ import type { LoaderFunction, Args } from '@storybook/types';
2
+ import type { HtmlRenderer } from '@storybook/html';
3
+ import type { DuckDBWASMConnection } from '@malloydata/db-duckdb/wasm';
4
+ import type * as Malloy from '@malloydata/malloy-interfaces';
5
5
  export type QueryOptions = {
6
6
  script: string;
7
7
  source: string;
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/html';
1
+ import type { Meta } from '@storybook/html';
2
2
  import './themes.css';
3
3
  import '../component/render-webcomponent';
4
4
  declare const meta: Meta;
package/dist/util.d.ts CHANGED
@@ -1,7 +1,8 @@
1
- import * as Malloy from '@malloydata/malloy-interfaces';
1
+ import type * as Malloy from '@malloydata/malloy-interfaces';
2
2
  import { Tag } from '@malloydata/malloy-tag';
3
3
  import { DurationUnit } from './html/data_styles';
4
- import { Cell, Field, NestField } from './data_tree';
4
+ import type { Cell, NestField } from './data_tree';
5
+ import { Field } from './data_tree';
5
6
  export declare const NULL_SYMBOL = "\u2205";
6
7
  export declare function tagFromAnnotations(annotations: Malloy.Annotation[] | undefined, prefix?: string): Tag;
7
8
  export declare function getTextWidthCanvas(text: string, font: string, canvasToUse?: HTMLCanvasElement): number;