@indietabletop/appkit 3.2.0-1 → 3.2.0-2

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/dist/client.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { Failure, Success } from "@indietabletop/appkit/async-op";
2
1
  import { type Infer, Struct } from "superstruct";
2
+ import { Failure, Success } from "./async-op.js";
3
3
  import type { CurrentUser, FailurePayload, SessionInfo } from "./types.js";
4
4
  export declare class IndieTabletopClient {
5
5
  origin: string;
package/dist/client.js CHANGED
@@ -1,5 +1,5 @@
1
- import { Failure, Success } from "@indietabletop/appkit/async-op";
2
1
  import { mask, object, string, Struct } from "superstruct";
2
+ import { Failure, Success } from "./async-op.js";
3
3
  import { currentUser, sessionInfo } from "./structs.js";
4
4
  export class IndieTabletopClient {
5
5
  constructor(props) {
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export * from "./ExternalLink.tsx";
2
2
  export * from "./FormSubmitButton.tsx";
3
3
  export * from "./FullscreenDismissBlocker.tsx";
4
4
  export * from "./IndieTabletopClubSymbol.tsx";
5
+ export * from "./Letterhead.tsx";
5
6
  export * from "./LetterheadFooter.tsx";
6
7
  export * from "./LoadingIndicator.tsx";
7
8
  export * from "./ServiceWorkerHandler.tsx";
package/dist/index.js CHANGED
@@ -3,6 +3,7 @@ export * from "./ExternalLink.js";
3
3
  export * from "./FormSubmitButton.js";
4
4
  export * from "./FullscreenDismissBlocker.js";
5
5
  export * from "./IndieTabletopClubSymbol.js";
6
+ export * from "./Letterhead.js";
6
7
  export * from "./LetterheadFooter.js";
7
8
  export * from "./LoadingIndicator.js";
8
9
  export * from "./ServiceWorkerHandler.js";
@@ -1,5 +1,5 @@
1
1
  import { type FormStoreState } from "@ariakit/react";
2
- import { Failure, Success } from "@indietabletop/appkit/async-op";
2
+ import { Failure, Success } from "./async-op.ts";
3
3
  type Validator<T> = (value: T) => string | null;
4
4
  type MaybePromise<T> = T | Promise<T>;
5
5
  export declare function useForm<T extends object, R>(props: {
package/dist/use-form.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { useFormStore } from "@ariakit/react";
2
- import { Failure, Success } from "@indietabletop/appkit/async-op";
3
2
  import { useState } from "react";
3
+ import { Failure, Success } from "./async-op.js";
4
4
  export function useForm(props) {
5
5
  const submitName = "submit";
6
6
  const [op, setOp] = useState(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indietabletop/appkit",
3
- "version": "3.2.0-1",
3
+ "version": "3.2.0-2",
4
4
  "description": "A collection of modules used in apps built by Indie Tabletop Club",
5
5
  "private": false,
6
6
  "type": "module",
@@ -12,8 +12,8 @@
12
12
  "prepare": "npm run build"
13
13
  },
14
14
  "exports": {
15
- ".": "./dist/index.js",
16
- "./*": "./dist/*.js"
15
+ ".": "./lib/index.ts",
16
+ "./*": "./lib/*"
17
17
  },
18
18
  "files": [
19
19
  "/dist"