Skip to content

Commit 175f6e0

Browse files
committed
type and package version issues
1 parent 7149895 commit 175f6e0

45 files changed

Lines changed: 273 additions & 654 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

vuu-ui/package-lock.json

Lines changed: 133 additions & 353 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vuu-ui/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vuu-ui",
3-
"version": "3.0.0",
3+
"version": "3.1.0",
44
"author": "heswell <steve@heswell.com>",
55
"license": "Apache-2.0",
66
"private": true,
@@ -29,6 +29,7 @@
2929
"build:packages": "npm run build -- --cjs --license && npm run type-defs",
3030
"build:packages:debug": "npm run build -- --cjs --debug && npm run type-defs -- --debug",
3131
"build:worker": "cd packages/vuu-data-remote && npm run build:worker",
32+
"bump:versions": "node ./scripts/bump-versions.ts",
3233
"launch:app": "node ./scripts/launch-app.mjs",
3334
"launch:table": "node ./scripts/launch-table.mjs",
3435
"launch:demo:electron": "cd tools/electron && node ./node_modules/.bin/electron .",
@@ -48,7 +49,6 @@
4849
"test:playwright:ct:ui": "playwright test --config=playwright-ct.config.ts --ui",
4950
"test:playwright:ct:report": "playwright test --config=playwright-ct.config.ts --reporter=html",
5051
"test:vite": "npm run build:worker && vitest run",
51-
"bump": "node ./scripts/version.mjs",
5252
"pub": "node ./scripts/publish.ts",
5353
"pub:debug": "node ./scripts/publish.ts --debug",
5454
"typecheck": "tsc --noEmit --project tsconfig-typecheck.json",

vuu-ui/packages/grid-layout/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"types": "src/index.ts",
1515
"dependencies": {
16-
"@vuu-ui/vuu-utils": "3.0.0",
16+
"@vuu-ui/vuu-utils": "3.1.0",
1717
"@salt-ds/core": "1.67.0",
1818
"@salt-ds/lab": "1.0.0-alpha.99",
1919
"@salt-ds/styles": "0.2.1",

vuu-ui/packages/vuu-auth/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vuu-ui/vuu-auth",
3-
"version": "3.0.0",
3+
"version": "3.1.0",
44
"description": "VUU authentication APIs and React provider",
55
"main": "src/index.ts",
66
"author": "heswell",
@@ -12,9 +12,9 @@
1212
"type-defs": "node ../../scripts/build-type-defs.mjs"
1313
},
1414
"dependencies": {
15-
"@vuu-ui/vuu-data-remote": "3.0.0",
16-
"@vuu-ui/vuu-data-types": "3.0.0",
17-
"@vuu-ui/vuu-utils2": "3.0.0",
15+
"@vuu-ui/vuu-data-remote": "3.1.0",
16+
"@vuu-ui/vuu-data-types": "3.1.0",
17+
"@vuu-ui/vuu-utils2": "3.1.0",
1818
"keycloak-js": "26.2.4"
1919
},
2020
"peerDependencies": {

vuu-ui/packages/vuu-codemirror/src/parser-utils.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { EditorState } from "@codemirror/state";
1+
import type { EditorState } from "@codemirror/state";
22
import type { SyntaxNode } from "@lezer/common";
33

44
export const getValue = (node: SyntaxNode, state: EditorState) =>
@@ -28,7 +28,8 @@ export const getPreviousNode = (node: SyntaxNode) => {
2828
return prevNode;
2929
};
3030

31-
export const getNamedParentNode = (node: SyntaxNode) => {
31+
// biome-ignore lint/suspicious/noExplicitAny: <codemirror>
32+
export const getNamedParentNode = (node: any) => {
3233
let maybeParent = node.parent;
3334
while (maybeParent && maybeParent.name === "⚠") {
3435
maybeParent = maybeParent.parent;

vuu-ui/packages/vuu-data-local/src/array-data-source/group-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ function groupLeafRows(
234234
} else if (targetNode) {
235235
target = targetNode;
236236
} else if (!targetNode && level < lastLevel) {
237-
target = target[key] = {};
237+
target = (target as GroupMap)[key] = {};
238238
} else if (!targetNode) {
239239
(target as GroupMap)[key] = [i];
240240
}

vuu-ui/packages/vuu-data-react/src/data-editing/EditForm.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import { Button, FormField, FormFieldLabel } from "@salt-ds/core";
22
import { useComponentCssInjection } from "@salt-ds/styles";
33
import { useWindow } from "@salt-ds/window";
44
import cx from "clsx";
5-
import { HTMLAttributes } from "react";
5+
import type { HTMLAttributes } from "react";
66
import { registerRules } from "./edit-validation-rules";
7-
import { EditFormHookProps, useEditForm } from "./useEditForm";
7+
import { type EditFormHookProps, useEditForm } from "./useEditForm";
88

99
import editFormCss from "./EditForm.css";
1010
import { getDataItemEditControl } from "./get-data-item-edit-control";
@@ -15,7 +15,7 @@ registerRules();
1515

1616
export interface EditFormProps
1717
extends EditFormHookProps,
18-
Omit<HTMLAttributes<HTMLDivElement>, "onSubmit"> {}
18+
Omit<HTMLAttributes<HTMLDivElement>, "onSubmit"> { }
1919

2020
export const EditForm = ({
2121
className,

vuu-ui/packages/vuu-data-react/src/data-editing/useEditForm.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import type { DataSource, DataValueDescriptor } from "@vuu-ui/vuu-data-types";
22
import type { VuuRowDataItemType } from "@vuu-ui/vuu-protocol-types";
33
import {
4-
CommitHandler,
5-
Entity,
4+
type CommitHandler,
5+
type Entity,
66
Range,
77
buildColumnMap,
88
dataSourceRowToEntity,
@@ -11,8 +11,8 @@ import {
1111
} from "@vuu-ui/vuu-utils";
1212
import { Button } from "@salt-ds/core";
1313
import {
14-
FocusEventHandler,
15-
SyntheticEvent,
14+
type ChangeEventHandler,
15+
type FocusEventHandler,
1616
useCallback,
1717
useMemo,
1818
useRef,
@@ -25,7 +25,7 @@ import {
2525
} from "./edit-rule-validation-checker";
2626
import {
2727
CLEAN_FORM,
28-
FormEditState,
28+
type FormEditState,
2929
buildFormEditState,
3030
} from "./form-edit-state";
3131
import { useModal } from "@vuu-ui/vuu-ui-controls";
@@ -272,8 +272,8 @@ export const useEditForm = ({
272272
[dataSource, entity, formFieldDescriptors, setValidationState],
273273
);
274274

275-
const handleFieldChange = useCallback(
276-
(evt: SyntheticEvent<HTMLInputElement>) => {
275+
const handleFieldChange = useCallback<ChangeEventHandler<HTMLElement>>(
276+
(evt) => {
277277
const { current: fieldName } = focusedFieldRef;
278278
if (fieldName) {
279279
const input = queryClosest<HTMLInputElement>(evt.target, "input", true);

vuu-ui/packages/vuu-filter-parser/src/generated/filter-parser.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

vuu-ui/packages/vuu-filter-parser/src/generated/filter-parser.terms.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)