Skip to content

Commit

Permalink
ad4030b
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 21, 2023
1 parent f2ed818 commit 3566f6a
Show file tree
Hide file tree
Showing 91 changed files with 810 additions and 365 deletions.
9 changes: 9 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog for Weavy

## v19.0.3

<time>2023-12-21</time>

* Fixed some issues with type declarations in uikit-web.
* Fixed some issues with events for Messenger in uikit-web.
* Fixed a bug with the _Mark as read_ endpoint for Conversations in the Web API.
* Fixed a bug with upload progress in uikit-web.

## v19.0.2

<time>2023-12-15</time>
Expand Down
1 change: 1 addition & 0 deletions dev/tools/tanstack-dev-tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,6 @@ export default class TanstackDevTools extends LitElement {

override disconnectedCallback(): void {
this.devtools?.unmount();
super.disconnectedCallback();
}
}
3 changes: 3 additions & 0 deletions dev/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"emitDeclarationOnly": true,
"downlevelIteration": false,
//"isolatedModules": false,
"declaration": true,
// helps local development, could be dropped out of the NPM package though
Expand Down
116 changes: 58 additions & 58 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@weavy/uikit-web",
"version": "19.0.2",
"version": "19.0.3",
"author": "Weavy",
"description": "Web components UI-kit for Weavy",
"homepage": "https://github.com/weavy/weavy-uikit-web",
Expand Down Expand Up @@ -61,17 +61,17 @@
"@tanstack/query-devtools": "^5.13.5",
"@types/lodash.throttle": "^4.1.9",
"@types/mocha": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@web/dev-server-esbuild": "^1.0.1",
"@web/test-runner": "^0.18.0",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"esbuild": "^0.19.9",
"esbuild-sass-plugin": "^2.16.0",
"esbuild-server": "^0.3.0",
"eslint": "^8.55.0",
"eslint-plugin-lit": "^1.10.1",
"eslint": "^8.56.0",
"eslint-plugin-lit": "^1.11.0",
"eslint-plugin-lit-a11y": "^4.1.1",
"eslint-plugin-wc": "^2.0.4",
"express": "^4.18.2",
Expand Down
2 changes: 1 addition & 1 deletion src/client/context-definition.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createContext } from "@lit/context";
import { type WeavyContext } from "./weavy-context";
import { WyContextProvider as ContextProvider } from "src/utils/context-provider";
import { WyContextProvider as ContextProvider } from "../utils/context-provider";

export { type WeavyContext } from "./weavy-context";
export const weavyContextDefinition = createContext<WeavyContext>(Symbol.for("weavy-context"));
Expand Down
22 changes: 11 additions & 11 deletions src/client/weavy-context.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
import { LocaleModule, configureLocalization } from "@lit/localize";
import { QueryClient, type Mutation } from "@tanstack/query-core";
import { HubConnectionBuilder, HubConnection, LogLevel } from "@microsoft/signalr";
import { WeavyTokenFactory, WeavyOptions } from "src/types/weavy.types";
import WeavyPortal from "src/components/wy-portal";
import { WeavyTokenFactory, WeavyOptions } from "../types/weavy.types";
import WeavyPortal from "../components/wy-portal";
import { createSyncStoragePersister } from "@tanstack/query-sync-storage-persister";
import { persistQueryClientRestore, persistQueryClientSubscribe } from "@tanstack/query-persist-client-core";
import { FileMutationContextType } from "src/types/files.types";
import { FileMutationContextType } from "../types/files.types";

import { assign } from "src/utils/objects";
import { defaultFetchSettings } from "src/utils/data";
import { WyContextProvider as ContextProvider } from "src/utils/context-provider";
import { assign } from "../utils/objects";
import { defaultFetchSettings } from "../utils/data";
import { WyContextProvider as ContextProvider } from "../utils/context-provider";
import { globalContextProvider, weavyContextDefinition } from "./context-definition";
import { defer } from "src/utils/dom";
import { chrome } from "src/utils/browser";
import { RealtimeDataType, RealtimeEventType } from "src/types/realtime.types";
import { ConnectionState, NetworkState, NetworkStatus } from "src/types/server.types";
import { defer } from "../utils/dom";
import { chrome } from "../utils/browser";
import { RealtimeDataType, RealtimeEventType } from "../types/realtime.types";
import { ConnectionState, NetworkState, NetworkStatus } from "../types/server.types";

import colorModes from "../scss/colormodes.scss";
import { adoptGlobalStyles } from "src/utils/styles";
import { adoptGlobalStyles } from "../utils/styles";

/**
* The locale used in the source files.
Expand Down
8 changes: 4 additions & 4 deletions src/components/wy-avatar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { customElement, property } from "lit/decorators.js";
import { classMap } from "lit/directives/class-map.js";

import chatCss from "../scss/all.scss";
import { getInitials } from "src/utils/strings";
import { type MembersResultType } from "src/types/members.types";
import { type UserType } from "src/types/users.types";
import { getInitials } from "../utils/strings";
import { type MembersResultType } from "../types/members.types";
import { type UserType } from "../types/users.types";
import { ifDefined } from "lit/directives/if-defined.js";
import { type PresenceType } from "src/types/presence.types";
import { type PresenceType } from "../types/presence.types";

import "./wy-presence";

Expand Down
Loading

0 comments on commit 3566f6a

Please sign in to comment.