Skip to content

Commit

Permalink
move gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
thien-do committed Jul 23, 2024
1 parent 9f99be9 commit 8581013
Show file tree
Hide file tree
Showing 37 changed files with 19 additions and 331 deletions.
3 changes: 0 additions & 3 deletions gallery/.gitignore

This file was deleted.

52 changes: 0 additions & 52 deletions gallery/package.json

This file was deleted.

53 changes: 0 additions & 53 deletions gallery/rollup.config.js

This file was deleted.

68 changes: 0 additions & 68 deletions gallery/scripts/example/generate.ts

This file was deleted.

16 changes: 0 additions & 16 deletions gallery/scripts/example/interface.ts

This file was deleted.

22 changes: 0 additions & 22 deletions gallery/scripts/example/normalize.ts

This file was deleted.

87 changes: 0 additions & 87 deletions gallery/scripts/example/raw.ts

This file was deleted.

11 changes: 0 additions & 11 deletions gallery/tsconfig.json

This file was deleted.

2 changes: 1 addition & 1 deletion gallery/src/button-1.tsx → src/gallery/button-1.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Button, ButtonProps } from "@moai/core";
import { Button, ButtonProps } from "../core";
import { Shot } from "./shot/shot";
import s from "./styles.module.css";

Expand Down
2 changes: 1 addition & 1 deletion gallery/src/button-2.tsx → src/gallery/button-2.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useState } from "react";
import * as Go from "react-icons/go";
import { Button, ButtonProps } from "@moai/core";
import { Button, ButtonProps } from "../core";
import { Shot } from "./shot/shot";
import s from "./styles.module.css";

Expand Down
2 changes: 1 addition & 1 deletion gallery/src/checkbox.tsx → src/gallery/checkbox.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Checkbox, CheckboxProps, Radio, RadioProps } from "@moai/core";
import { Checkbox, CheckboxProps, Radio, RadioProps } from "../core";
import { Shot } from "./shot/shot";
import s from "./styles.module.css";

Expand Down
2 changes: 1 addition & 1 deletion gallery/src/dialog.tsx → src/gallery/dialog.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as M from "@moai/core";
import * as M from "../core";
import { Shot } from "./shot/shot";
import s from "./styles.module.css";

Expand Down
2 changes: 1 addition & 1 deletion gallery/src/gallery.tsx → src/gallery/gallery.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { scrollbar } from "@moai/core";
import { scrollbar } from "../core";
import { GalleryButton1 } from "./button-1";
import { GalleryButton2 } from "./button-2";
import { GalleryCheckbox } from "./checkbox";
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion gallery/src/icon/icon.tsx → src/gallery/icon/icon.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Icon, IconComponent } from "@moai/core";
import { Icon, IconComponent } from "../../core";
import { AiOutlineHome } from "react-icons/ai";
import { BiHome } from "react-icons/bi";
import { FiHome } from "react-icons/fi";
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion gallery/src/input-1.tsx → src/gallery/input-1.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Input, InputStyle } from "@moai/core";
import { Input, InputStyle } from "../core";
import { Shot } from "./shot/shot";
import s from "./styles.module.css";

Expand Down
4 changes: 2 additions & 2 deletions gallery/src/input-2.tsx → src/gallery/input-2.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ButtonGroupItemProps } from "@moai/core";
import { ButtonGroupItemProps } from "../core";
import { GoSearch } from "react-icons/go";
import { Button, ButtonGroup, Input } from "@moai/core";
import { Button, ButtonGroup, Input } from "../core";
import { Shot } from "./shot/shot";
import s from "./styles.module.css";
import { MATERIALS } from "./table/robots";
Expand Down
2 changes: 1 addition & 1 deletion gallery/src/pagination.tsx → src/gallery/pagination.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Pagination } from "@moai/core";
import { useCallback, useState } from "react";
import { Pagination } from "../core";

export const GallerPagination = (): JSX.Element => {
const [page, setPage_] = useState(5);
Expand Down
2 changes: 1 addition & 1 deletion gallery/src/pane.tsx → src/gallery/pane.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as M from "@moai/core";
import * as M from "../core";
import s from "./styles.module.css";

const items: M.MenuItemProps[] = [
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion gallery/src/progress.tsx → src/gallery/progress.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ProgressCircle } from "@moai/core";
import { ProgressCircle } from "../core";
import { Shot } from "./shot/shot";
import s from "./styles.module.css";

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DivPx } from "@moai/core";
import { DivPx } from "../../core";
import s from "./section.module.css";

interface Props {
Expand Down
Loading

0 comments on commit 8581013

Please sign in to comment.