Skip to content

Commit

Permalink
chore: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
lucsoft committed Dec 14, 2022
1 parent 8907d18 commit 9bfffef
Show file tree
Hide file tree
Showing 8 changed files with 87 additions and 111 deletions.
2 changes: 1 addition & 1 deletion demo/image.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Grid, Image, View, WebGen } from "../src/webgen.ts";
import image from "./test.png";
import "./image.css";
import { delay } from "https://deno.land/std@0.165.0/async/delay.ts";
import { delay } from "https://deno.land/std@0.167.0/async/delay.ts";

WebGen();
const blobImage = await fetch(image)
Expand Down
2 changes: 1 addition & 1 deletion demo/wizard.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { delay } from "https://deno.land/std@0.165.0/async/delay.ts";
import { delay } from "https://deno.land/std@0.167.0/async/delay.ts";
import { Button, TextInput, PlainText, View, WebGen, DropDownInput, Wizard, Page, Vertical, Horizontal, Center, Reactive } from "../src/webgen.ts";

WebGen();
Expand Down
182 changes: 79 additions & 103 deletions deno.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion serve.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { serve } from "https://deno.land/x/esbuild_serve@0.3.1/mod.ts";
import { serve } from "https://deno.land/x/esbuild_serve@1.0.1/mod.ts";

serve({
port: 8100,
Expand Down
2 changes: 1 addition & 1 deletion src/State.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ReactiveProxy, r, type DataSource } from "https://raw.githubusercontent.com/justin-schroeder/arrow-js/1599e06c3abb88c7bfbd7fffab264199d641e25b/src/index.ts";
import { ReactiveProxy, r, type DataSource } from "https://raw.githubusercontent.com/justin-schroeder/arrow-js/3e34fcfc964c8c/src/index.ts";
import { Component } from "./webgen.ts";
export type StateData = DataSource;
export type StateHandler<data extends StateData> = ReactiveProxy<data>;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const dropNullish = (...components: (Component | null | undefined)[]) =>

export const changeClassAtIndex = (component: HTMLElement, newString: string, index: number) => component.classList.replace(component.classList[ index ], newString);

import { groupBy } from "https://deno.land/std@0.165.0/collections/group_by.ts";
import { groupBy } from "https://deno.land/std@0.167.0/collections/group_by.ts";

/**
* fromEntries can't handle duplicates
Expand Down
2 changes: 1 addition & 1 deletion src/components/cards/richCard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Horizontal, Spacer, Vertical } from "../generic/Stacks.ts";
import { Button } from "../generic/Button.ts";
import { PlainText } from "../generic/PlainText.ts";
import { headless } from "./headlessCard.ts";
import { _format } from "https://deno.land/std@0.152.0/path/_util.ts";
import { _format } from "https://deno.land/std@0.167.0/path/_util.ts";

function getStateFromData(variant: ButtonStyle | undefined, options: RichCardOptions, index: number): ButtonStyle {
return variant ?? (options.buttons?.length == 1 ? ButtonStyle.Normal : (index == 1 ? ButtonStyle.Normal : ButtonStyle.Inline));
Expand Down
4 changes: 2 additions & 2 deletions src/components/generic/Wizard.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// deno-lint-ignore-file no-explicit-any
import { ButtonStyle, Component } from "../../types.ts";
import * as validator from "https://deno.land/x/zod@v3.19.1/mod.ts";
import * as validator from "https://deno.land/x/zod@v3.20.2/mod.ts";
import { View } from "../../lib/View.ts";
import { CenterV, Horizontal, Spacer, Vertical } from "./Stacks.ts";
import { Button } from "./Button.ts";
import { assert } from "https://deno.land/std@0.165.0/testing/asserts.ts";
import { assert } from "https://deno.land/std@0.167.0/testing/asserts.ts";
import { Color } from "../../lib/Color.ts";
import { PlainText } from "./PlainText.ts";
import { StateData, State, StateHandler } from "../../State.ts";
Expand Down

0 comments on commit 9bfffef

Please sign in to comment.