Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unovis",
"version": "1.6.7",
"version": "1.6.8",
"packageManager": "pnpm@10.23.0",
"license": "Apache-2.0",
"private": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/angular/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unovis/angular",
"description": "Modular data visualization framework for React, Angular, Svelte, Vue, Solid, and vanilla TypeScript or JavaScript",
"version": "1.6.7",
"version": "1.6.8",
"packageManager": "pnpm@10.23.0",
"repository": {
"type": "git",
Expand Down Expand Up @@ -47,7 +47,7 @@
"tslib": "^2.3.1"
},
"peerDependencies": {
"@unovis/ts": "1.6.7",
"@unovis/ts": "1.6.8",
"@angular/common": "12 - 22",
"@angular/compiler": "12 - 22",
"@angular/core": "12 - 22",
Expand Down
2 changes: 1 addition & 1 deletion packages/dev/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unovis/dev",
"version": "1.6.7",
"version": "1.6.8",
"packageManager": "pnpm@10.23.0",
"main": "index.js",
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unovis/react",
"description": "Modular data visualization framework for React, Angular, Svelte, Vue, Solid, and vanilla TypeScript or JavaScript",
"version": "1.6.7",
"version": "1.6.8",
"packageManager": "pnpm@10.23.0",
"repository": {
"type": "git",
Expand Down Expand Up @@ -38,7 +38,7 @@
"license:check": "pnpm license-report --config=../../lic-report-config.json > licences.md"
},
"peerDependencies": {
"@unovis/ts": "1.6.7",
"@unovis/ts": "1.6.8",
"react": ">=16.8.0 || ^17 || ^18 || ^19",
"react-dom": ">=16.8.0 || ^17 || ^18 || ^19"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unovis/shared",
"description": "Modular data visualization framework for React, Angular, Svelte, Vue, Solid, and vanilla TypeScript or JavaScript",
"version": "1.6.7",
"version": "1.6.8",
"packageManager": "pnpm@10.23.0",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/solid/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unovis/solid",
"description": "Modular data visualization framework for React, Angular, Svelte, Vue, Solid and vanilla TypeScript or JavaScript",
"version": "1.6.7",
"version": "1.6.8",
"packageManager": "pnpm@10.23.0",
"repository": {
"type": "git",
Expand Down Expand Up @@ -37,7 +37,7 @@
"license:check": "pnpm license-report --config=../../lic-report-config.json > licences.md"
},
"peerDependencies": {
"@unovis/ts": "1.6.7",
"@unovis/ts": "1.6.8",
"solid-js": "^1.9.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unovis/svelte",
"description": "Modular data visualization framework for React, Angular, Svelte, Vue, Solid, and vanilla TypeScript or JavaScript",
"version": "1.6.7",
"version": "1.6.8",
"packageManager": "pnpm@10.23.0",
"repository": {
"type": "git",
Expand Down Expand Up @@ -46,7 +46,7 @@
"license:check": "pnpm license-report --config=../../lic-report-config.json > licences.md"
},
"peerDependencies": {
"@unovis/ts": "1.6.7",
"@unovis/ts": "1.6.8",
"svelte": "^3.48.0 || ^4.0.0 "
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unovis/ts",
"description": "Modular data visualization framework for React, Angular, Svelte, Vue, Solid, and vanilla TypeScript or JavaScript",
"version": "1.6.7",
"version": "1.6.8",
"packageManager": "pnpm@10.23.0",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/autogen/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ${isStandAlone ? '' : `import { ${elementSuffix}AccessorKey } from '../../utils/
${isStandAlone ? '' : `const accessor = inject(${elementSuffix}AccessorKey)\n`}
// data and required props ${isComplexPropComponent ? '\n// !!! temporary solution to ignore complex type. related issue: https://github.com/vuejs/core/issues/8412' : ''}
${isComplexPropComponent
? `const props = defineProps</** @vue-ignore */ ${componentName}ConfigInterface${genericsStr} & { data?: ${dataType} }>()`
? `const props = defineProps<{ data?: ${dataType} } & /** @vue-ignore */ ${componentName}ConfigInterface${genericsStr}>()`
: `type Props = ${componentName}ConfigInterface${genericsStr}\nconst props = defineProps<Props & { data?: ${dataType} }>()`}

${propDefs.length && !isStandAlone ? `${propDefs.join('\n')}` : isStandAlone ? 'const data = computed(() => props.data)' : ''}
Expand Down
4 changes: 2 additions & 2 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unovis/vue",
"description": "Modular data visualization framework for React, Angular, Svelte, Vue, and vanilla TypeScript or JavaScript",
"version": "1.6.7",
"version": "1.6.8",
"packageManager": "pnpm@10.23.0",
"repository": {
"type": "git",
Expand Down Expand Up @@ -54,7 +54,7 @@
"license:check": "pnpm license-report --config=../../lic-report-config.json > licences.md"
},
"peerDependencies": {
"@unovis/ts": "1.6.7",
"@unovis/ts": "1.6.8",
"vue": "^3"
},
"devDependencies": {
Expand Down
7 changes: 3 additions & 4 deletions packages/vue/src/components/crosshair/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ import { onMounted, onUnmounted, computed, ref, watch, nextTick, inject } from '
import { arePropsEqual, useForwardProps } from '../../utils/props'
import { crosshairAccessorKey } from '../../utils/context'

const accessor = inject(crosshairAccessorKey)

// data and required props
// data and required props
// !!! temporary solution to ignore complex type. related issue: https://github.com/vuejs/core/issues/8412
const props = defineProps</** @vue-ignore */ CrosshairConfigInterface<Datum> & { data?: Datum[] }>()
const props = defineProps<{ data?: Datum[] } & /** @vue-ignore */ CrosshairConfigInterface<Datum>>()

const accessor = inject(crosshairAccessorKey)
const data = computed(() => accessor.data.value ?? props.data)
// config
const config = useForwardProps(props)
Expand Down
8 changes: 4 additions & 4 deletions packages/vue/src/components/timeline/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import { onMounted, onUnmounted, computed, ref, watch, nextTick, inject } from '
import { arePropsEqual, useForwardProps } from '../../utils/props'
import { componentAccessorKey } from '../../utils/context'

const accessor = inject(componentAccessorKey)

// data and required props
// data and required props
// !!! temporary solution to ignore complex type. related issue: https://github.com/vuejs/core/issues/8412
const props = defineProps</** @vue-ignore */ TimelineConfigInterface<Datum> & { data?: Datum[] }>()
const props = defineProps<{ data?: Datum[] } & /** @vue-ignore */ TimelineConfigInterface<Datum>>()

const accessor = inject(componentAccessorKey)

const data = computed(() => accessor.data.value ?? props.data)
// config
Expand Down
2 changes: 1 addition & 1 deletion packages/website/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unovis/website",
"description": "Modular data visualization framework for React, Angular, Svelte, Vue, Solid, and vanilla TypeScript or JavaScript",
"version": "1.6.7",
"version": "1.6.8",
"packageManager": "pnpm@10.23.0",
"repository": {
"type": "git",
Expand Down
Loading