Skip to content

Commit

Permalink
refactor: drop shallowequal (#917)
Browse files Browse the repository at this point in the history
* chore: drop shalloweqal

* docs: dumi2

* docs: dumi2

* docs: update now
  • Loading branch information
zombieJ authored Dec 27, 2022
1 parent 8c14d8f commit 932df1b
Show file tree
Hide file tree
Showing 49 changed files with 295 additions and 112 deletions.
9 changes: 9 additions & 0 deletions .dumirc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// more config: https://d.umijs.org/config
import { defineConfig } from 'dumi';

export default defineConfig({
themeConfig: {
name: 'Table',
},
mfsu: false,
});
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ examples/debug.tsx
.umi
.umi-production
.umi-test
.env.local
.env.local
.dumi
21 changes: 0 additions & 21 deletions .umirc.ts

This file was deleted.

9 changes: 7 additions & 2 deletions docs/demo/animation.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## animation
---
title: animation
nav:
title: Demo
path: /demo
---

<code src="../examples/animation.tsx">
<code src="../examples/animation.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/aria.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## aria-label
---
title: aria-label
nav:
title: Demo
path: /demo
---

<code src="../examples/aria.tsx">
<code src="../examples/aria.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/caption.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## caption
---
title: caption
nav:
title: Demo
path: /demo
---

<code src="../examples/caption.tsx">
<code src="../examples/caption.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/childrenIndent.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## childrenIndent
---
title: childrenIndent
nav:
title: Demo
path: /demo
---

<code src="../examples/childrenIndent.tsx">
<code src="../examples/childrenIndent.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/className.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## className
---
title: className
nav:
title: Demo
path: /demo
---

<code src="../examples/className.tsx">
<code src="../examples/className.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/colspan-rowspan-legacy.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## colspan-rowspan-legacy
---
title: colspan-rowspan-legacy
nav:
title: Demo
path: /demo
---

<code src="../examples/colspan-rowspan-legacy.tsx">
<code src="../examples/colspan-rowspan-legacy.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/colspan-rowspan.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## colspan-rowspan
---
title: colspan-rowspan
nav:
title: Demo
path: /demo
---

<code src="../examples/colspan-rowspan.tsx">
<code src="../examples/colspan-rowspan.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/column-resize.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## column-resize
---
title: column-resize
nav:
title: Demo
path: /demo
---

<code src="../examples/column-resize.tsx">
<code src="../examples/column-resize.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/dropdown.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## dropdown
---
title: dropdown
nav:
title: Demo
path: /demo
---

<code src="../examples/dropdown.tsx">
<code src="../examples/dropdown.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/ellipsis-custom-tooltip.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## ellipsis-custom-tooltip
---
title: ellipsis-custom-tooltip
nav:
title: Demo
path: /demo
---

<code src="../examples/ellipsis-custom-tooltip.tsx">
<code src="../examples/ellipsis-custom-tooltip.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/ellipsis.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## ellipsis
---
title: ellipsis
nav:
title: Demo
path: /demo
---

<code src="../examples/ellipsis.tsx">
<code src="../examples/ellipsis.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/expandIcon.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## expandIcon
---
title: expandIcon
nav:
title: Demo
path: /demo
---

<code src="../examples/expandIcon.tsx">
<code src="../examples/expandIcon.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/expandedRowRender.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## expandedRowRender
---
title: expandedRowRender
nav:
title: Demo
path: /demo
---

<code src="../examples/expandedRowRender.tsx">
<code src="../examples/expandedRowRender.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/fixedColumns-auto-height.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## fixedColumns-auto-height
---
title: fixedColumns-auto-height
nav:
title: Demo
path: /demo
---

<code src="../examples/fixedColumns-auto-height.tsx">
<code src="../examples/fixedColumns-auto-height.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/fixedColumns-resize.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## fixedColumns-resize
---
title: fixedColumns-resize
nav:
title: Demo
path: /demo
---

<code src="../examples/fixedColumns-resize.tsx">
<code src="../examples/fixedColumns-resize.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/fixedColumns.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## fixedColumns
---
title: fixedColumns
nav:
title: Demo
path: /demo
---

<code src="../examples/fixedColumns.tsx">
<code src="../examples/fixedColumns.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/fixedColumnsAndHeader.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## fixedColumnsAndHeader
---
title: fixedColumnsAndHeader
nav:
title: Demo
path: /demo
---

<code src="../examples/fixedColumnsAndHeader.tsx">
<code src="../examples/fixedColumnsAndHeader.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/fixedColumnsAndHeaderRtl.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## fixedColumnsAndHeaderRtl
---
title: fixedColumnsAndHeaderRtl
nav:
title: Demo
path: /demo
---

<code src="../examples/fixedColumnsAndHeaderRtl.tsx">
<code src="../examples/fixedColumnsAndHeaderRtl.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/grouping-columns.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## grouping-columns
---
title: grouping-columns
nav:
title: Demo
path: /demo
---

<code src="../examples/grouping-columns.tsx">
<code src="../examples/grouping-columns.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/hide-header.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## hide-header
---
title: hide-header
nav:
title: Demo
path: /demo
---

<code src="../examples/hide-header.tsx">
<code src="../examples/hide-header.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/jsx.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## Hover Perf
---
title: Hover Perf
nav:
title: Demo
path: /demo
---

<code src="../examples/hover-perf.tsx">
<code src="../examples/hover-perf.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/key.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## key
---
title: key
nav:
title: Demo
path: /demo
---

<code src="../examples/key.tsx">
<code src="../examples/key.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/nested.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## nested
---
title: nested
nav:
title: Demo
path: /demo
---

<code src="../examples/nested.tsx">
<code src="../examples/nested.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/no-data.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## no-data
---
title: no-data
nav:
title: Demo
path: /demo
---

<code src="../examples/no-data.tsx">
<code src="../examples/no-data.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/react-dnd.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## react-dnd
---
title: react-dnd
nav:
title: Demo
path: /demo
---

<code src="../examples/react-dnd.tsx">
<code src="../examples/react-dnd.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/rowAndCellClick.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## rowAndCellClick
---
title: rowAndCellClick
nav:
title: Demo
path: /demo
---

<code src="../examples/rowAndCellClick.tsx">
<code src="../examples/rowAndCellClick.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/scopeCol.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## scopeCol
---
title: scopeCol
nav:
title: Demo
path: /demo
---

<code src="../examples/scopeCol.tsx">
<code src="../examples/scopeCol.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/scopeRow.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## scopeRow
---
title: scopeRow
nav:
title: Demo
path: /demo
---

<code src="../examples/scopeRow.tsx">
<code src="../examples/scopeRow.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/scrollX.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## scrollX
---
title: scrollX
nav:
title: Demo
path: /demo
---

<code src="../examples/scrollX.tsx">
<code src="../examples/scrollX.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/scrollXY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## scrollXY
---
title: scrollXY
nav:
title: Demo
path: /demo
---

<code src="../examples/scrollXY.tsx">
<code src="../examples/scrollXY.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/scrollY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## scrollY
---
title: scrollY
nav:
title: Demo
path: /demo
---

<code src="../examples/scrollY.tsx">
<code src="../examples/scrollY.tsx"></code>
9 changes: 7 additions & 2 deletions docs/demo/simple.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## simple
---
title: simple
nav:
title: Demo
path: /demo
---

<code src="../examples/simple.tsx">
<code src="../examples/simple.tsx"></code>
Loading

1 comment on commit 932df1b

@vercel
Copy link

@vercel vercel bot commented on 932df1b Dec 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

table – ./

table-git-master-react-component.vercel.app
table-react-component.vercel.app

Please sign in to comment.