-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:hellof2e/quark-design
* 'main' of github.com:hellof2e/quark-design: (33 commits) feat: update quarkd feat(pullrefresh): support background customization (#294) Feature/circle 0728 (#293) fix: use ReturnType<typeof setTimeout> replace any (#292) feat: update quarkd fix: switch feat: update quarkd fix: swpie indicator feature:swpie cell type feat: picker datetime-picker cascader-picker支持点击遮罩关闭 feat: update feat: update radio remove console feat:update quarkd feat: form slot crrent 判空 feat: code review 问题修复 feat: radio demo css 修改 feat: form demo 文档修改 feat: normal size 样式补充 feat: swipe-cell cr feat: 重构 radio ...
- Loading branch information
Showing
96 changed files
with
8,277 additions
and
834 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,6 @@ umd | |
tsc | ||
dist | ||
site_docs | ||
types | ||
types | ||
|
||
*.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,7 @@ video { | |
|
||
::selection { | ||
background: var(--brand-color); | ||
color: #fff; | ||
// color: #fff; | ||
} | ||
|
||
a { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { FC } from "react"; | ||
import reactify from "@quarkd/reactify"; | ||
import "quarkd/lib/cell"; | ||
import { Props, StrokeLinecap, CircleStartPosition } from "quarkd/lib/circle"; | ||
import { componentBaseInterface, ReactifyProps } from "../type"; | ||
|
||
type CircleProps = componentBaseInterface & ReactifyProps<Props, {}>; | ||
type CircleType = FC<CircleProps>; | ||
|
||
interface Ref { | ||
setGradient(color: Record<string, string>): void; | ||
} | ||
type CircleRef = Ref & HTMLElement; | ||
|
||
const Circle = reactify("quark-circle") as CircleType; | ||
|
||
export default Circle; | ||
export { CircleRef, CircleType, StrokeLinecap, CircleStartPosition }; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import reactify from "@quarkd/reactify"; | ||
import "quarkd/lib/swipecell"; | ||
import { FC } from "react"; | ||
import { | ||
Props, | ||
SwipeCellSide, | ||
SwipeCellPosition, | ||
BeforeCloseFunc as SwipeCellBeforeClose, | ||
} from "quarkd/lib/swipecell/type"; | ||
import { componentBaseInterface, ReactifyProps } from "../type"; | ||
|
||
type SwipeCellProps = componentBaseInterface & | ||
ReactifyProps<Props, CustomEvent>; | ||
|
||
type SwipeCellType = FC<SwipeCellProps>; | ||
|
||
interface Ref { | ||
open(side: SwipeCellPosition): void; | ||
close(position: SwipeCellPosition): void; | ||
setBeforeClose(fn: SwipeCellBeforeClose): void; | ||
} | ||
|
||
type SwipeCellRef = Ref & HTMLElement; | ||
|
||
const SwipeCell = reactify("quark-swipe-cell") as SwipeCellType; | ||
export default SwipeCell; | ||
export { | ||
SwipeCellRef, | ||
SwipeCellSide, | ||
SwipeCellPosition, | ||
SwipeCellBeforeClose, | ||
SwipeCellProps, | ||
SwipeCellType, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.