@malloydata/render 0.0.210-dev241107210431 → 0.0.210
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/.storybook/main.ts +4 -2
- package/.storybook/malloy-stories-indexer.ts +7 -1
- package/DEVELOPING.md +49 -3
- package/dist/component/chart/chart-dev-tool.d.ts +6 -0
- package/dist/component/chart/chart.d.ts +8 -2
- package/dist/component/chart/debug_icon.d.ts +1 -0
- package/dist/component/chart-layout-settings.d.ts +4 -2
- package/dist/component/dashboard/dashboard.d.ts +0 -1
- package/dist/component/render-link.d.ts +1 -1
- package/dist/component/render-list.d.ts +1 -1
- package/dist/component/render.d.ts +3 -0
- package/dist/component/table/table.d.ts +0 -1
- package/dist/component/types.d.ts +11 -3
- package/dist/component/vega/measure-axis.d.ts +4 -2
- package/dist/html/data_styles.d.ts +3 -2
- package/dist/register/register.mjs +22156 -21909
- package/dist/register/register.umd.js +366 -328
- package/dist/register/style.css +1 -1
- package/dist/stories/util.d.ts +1 -0
- package/dist/webcomponent/malloy-render.mjs +22156 -21909
- package/dist/webcomponent/malloy-render.umd.js +366 -328
- package/dist/webcomponent/style.css +1 -1
- package/package.json +2 -2
- package/vite.config.base.ts +26 -0
- package/vite.config.ts +3 -17
- package/vite.config.webcomponent-register.ts +3 -17
- package/vite.config.webcomponent.ts +3 -17
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
: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: 8px;--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}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/render",
|
|
3
|
-
"version": "0.0.210
|
|
3
|
+
"version": "0.0.210",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/module/index.umd.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"build-types": "tsc --build --declaration --emitDeclarationOnly"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@malloydata/malloy": "^0.0.210
|
|
33
|
+
"@malloydata/malloy": "^0.0.210",
|
|
34
34
|
"@tanstack/solid-virtual": "^3.10.4",
|
|
35
35
|
"component-register": "^0.8.6",
|
|
36
36
|
"lodash": "^4.17.20",
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {fileURLToPath} from 'node:url';
|
|
2
|
+
import {defineConfig} from 'vite';
|
|
3
|
+
import solidPlugin from 'vite-plugin-solid';
|
|
4
|
+
|
|
5
|
+
export default defineConfig({
|
|
6
|
+
plugins: [solidPlugin()],
|
|
7
|
+
optimizeDeps: {
|
|
8
|
+
include: ['@malloydata/malloy'],
|
|
9
|
+
},
|
|
10
|
+
build: {
|
|
11
|
+
rollupOptions: {
|
|
12
|
+
external: [
|
|
13
|
+
fileURLToPath(
|
|
14
|
+
new URL('src/component/chart/chart-dev-tool.tsx', import.meta.url)
|
|
15
|
+
),
|
|
16
|
+
],
|
|
17
|
+
output: {},
|
|
18
|
+
},
|
|
19
|
+
commonjsOptions: {
|
|
20
|
+
include: [/malloy/, /node_modules/],
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
define: {
|
|
24
|
+
'process.env': {},
|
|
25
|
+
},
|
|
26
|
+
});
|
package/vite.config.ts
CHANGED
|
@@ -1,26 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import {mergeConfig} from 'vite';
|
|
2
|
+
import baseViteConfig from './vite.config.base';
|
|
3
3
|
|
|
4
|
-
export default
|
|
5
|
-
plugins: [solidPlugin()],
|
|
6
|
-
optimizeDeps: {
|
|
7
|
-
include: ['@malloydata/malloy'],
|
|
8
|
-
},
|
|
4
|
+
export default mergeConfig(baseViteConfig, {
|
|
9
5
|
build: {
|
|
10
6
|
lib: {
|
|
11
7
|
entry: 'src/index.ts',
|
|
12
8
|
name: 'index',
|
|
13
9
|
fileName: 'index',
|
|
14
10
|
},
|
|
15
|
-
rollupOptions: {
|
|
16
|
-
external: [],
|
|
17
|
-
output: {},
|
|
18
|
-
},
|
|
19
|
-
commonjsOptions: {
|
|
20
|
-
include: [/malloy/, /node_modules/],
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
define: {
|
|
24
|
-
'process.env': {},
|
|
25
11
|
},
|
|
26
12
|
});
|
|
@@ -1,26 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import {mergeConfig} from 'vite';
|
|
2
|
+
import baseViteConfig from './vite.config.base';
|
|
3
3
|
|
|
4
|
-
export default
|
|
5
|
-
plugins: [solidPlugin()],
|
|
6
|
-
optimizeDeps: {
|
|
7
|
-
include: ['@malloydata/malloy'],
|
|
8
|
-
},
|
|
4
|
+
export default mergeConfig(baseViteConfig, {
|
|
9
5
|
build: {
|
|
10
6
|
lib: {
|
|
11
7
|
entry: 'src/component/register-webcomponent.ts',
|
|
12
8
|
name: 'register',
|
|
13
9
|
fileName: 'register',
|
|
14
10
|
},
|
|
15
|
-
rollupOptions: {
|
|
16
|
-
external: [],
|
|
17
|
-
output: {},
|
|
18
|
-
},
|
|
19
|
-
commonjsOptions: {
|
|
20
|
-
include: [/malloy/, /node_modules/],
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
define: {
|
|
24
|
-
'process.env': {},
|
|
25
11
|
},
|
|
26
12
|
});
|
|
@@ -1,26 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import {mergeConfig} from 'vite';
|
|
2
|
+
import baseViteConfig from './vite.config.base';
|
|
3
3
|
|
|
4
|
-
export default
|
|
5
|
-
plugins: [solidPlugin()],
|
|
6
|
-
optimizeDeps: {
|
|
7
|
-
include: ['@malloydata/malloy'],
|
|
8
|
-
},
|
|
4
|
+
export default mergeConfig(baseViteConfig, {
|
|
9
5
|
build: {
|
|
10
6
|
lib: {
|
|
11
7
|
entry: 'src/component/render-webcomponent.ts',
|
|
12
8
|
name: 'malloy-render',
|
|
13
9
|
fileName: 'malloy-render',
|
|
14
10
|
},
|
|
15
|
-
rollupOptions: {
|
|
16
|
-
external: [],
|
|
17
|
-
output: {},
|
|
18
|
-
},
|
|
19
|
-
commonjsOptions: {
|
|
20
|
-
include: [/malloy/, /node_modules/],
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
define: {
|
|
24
|
-
'process.env': {},
|
|
25
11
|
},
|
|
26
12
|
});
|