antd-mini
Advanced tools
Comparing version 0.0.2 to 0.0.3-beta.1
@@ -43,1 +43,32 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
export declare type IconType = string; | ||
export interface IBoundingClientRect { | ||
/** | ||
* @summary 上边界 | ||
*/ | ||
top: number; | ||
/** | ||
* @summary 右边界 | ||
*/ | ||
right: number; | ||
/** | ||
* @summary 下边界 | ||
*/ | ||
bottom: number; | ||
/** | ||
* @summary 左边界 | ||
*/ | ||
left: number; | ||
/** | ||
* @summary 宽度 | ||
*/ | ||
width: number; | ||
/** | ||
* @summary 高度 | ||
*/ | ||
height: number; | ||
} | ||
export interface IScrollOffset { | ||
scrollTop: number | ||
} |
import { IBaseProps } from '../_base'; | ||
/** | ||
* @description 手风琴,内部由多个 CollapseItem 组成。 | ||
*/ | ||
export interface ICollapseProps extends IBaseProps { | ||
uid?: string; | ||
/** | ||
@@ -8,0 +9,0 @@ * @description 当前激活的索引 |
import { NoticeBarDefaultProps } from './props'; | ||
import { log } from '../_util/console'; // eslint-disable-next-line @typescript-eslint/no-empty-function | ||
import { log } from '../_util/console'; | ||
// eslint-disable-next-line @typescript-eslint/no-empty-function | ||
var noop = function noop() {}; | ||
@@ -5,0 +6,0 @@ |
{ | ||
"name": "antd-mini", | ||
"version": "0.0.2", | ||
"version": "0.0.3-beta.1", | ||
"scripts": { | ||
@@ -10,7 +10,11 @@ "dev": "minidev dev --less --typescript --no-source-map", | ||
"build:demo": "minidev build --output=$PWD/dist --typescript --less --no-source-map", | ||
"deploy:docs": "gh-pages -d docs-dist", | ||
"deploy:docs": "echo 'mini.ant.design' > ./docs-dist/CNAME && gh-pages -d docs-dist", | ||
"lint:code": "eslint \"demo/pages/**/*.js\" \"scripts/*.js\" \"src/**/*.ts\"", | ||
"lint:code:fix": "eslint \"demo/pages/**/*.js\" \"scripts/*.js\" \"src/**/*.ts\" --fix", | ||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", | ||
"prepublishOnly": "npm run build:component" | ||
"prepublishOnly": "npm run build:component", | ||
"test:less": "jest __tests__/less.spec.ts", | ||
"test:markdown": "jest __tests__/markdowns.spec.ts", | ||
"test:axml": "jest __tests__/axml.spec.ts", | ||
"test:ts": "jest __tests__/ts.spec.ts" | ||
}, | ||
@@ -35,3 +39,6 @@ "gitHooks": { | ||
"devDependencies": { | ||
"@babel/code-frame": "^7.0.0", | ||
"@babel/core": "^7.6.4", | ||
"@babel/generator": "^7.0.0", | ||
"@babel/parser": "^7.0.0", | ||
"@babel/plugin-syntax-dynamic-import": "^7.0.0", | ||
@@ -41,5 +48,18 @@ "@babel/plugin-transform-runtime": "^7.11.5", | ||
"@babel/preset-typescript": "^7.6.0", | ||
"@mini-types/alipay": "^1.0.2", | ||
"@babel/traverse": "^7.0.0", | ||
"@babel/types": "^7.0.0", | ||
"@types/acorn": "^4.0.6", | ||
"@types/babel__code-frame": "^7.0.0", | ||
"@types/babel__core": "^7.0.0", | ||
"@types/babel__generator": "^7.0.0", | ||
"@types/babel__parser": "^7.0.0", | ||
"@types/babel__traverse": "^7.0.0", | ||
"@types/css-tree": "^1.0.7", | ||
"@types/jest": "^27.4.0", | ||
"@types/less": "^3.0.3", | ||
"@types/marked": "^4.0.2", | ||
"@mini-types/alipay": "^1.0.8", | ||
"@typescript-eslint/eslint-plugin": "^5.6.0", | ||
"@typescript-eslint/parser": "^5.6.0", | ||
"acorn": "^8.7.0", | ||
"alipay-style": "^0.1.0", | ||
@@ -49,2 +69,3 @@ "axios": "^0.24.0", | ||
"conventional-changelog-cli": "^2.1.1", | ||
"css-tree": "^2.0.4", | ||
"detect-port": "1.3.0", | ||
@@ -65,5 +86,8 @@ "dingtalk-design-cli": "^0.20.2", | ||
"gulp-inject-envs": "^1.0.0", | ||
"gulp-less": "^4.0.1", | ||
"gulp-less": "^5.0.0", | ||
"gulp-rename": "^1.2.3", | ||
"jest": "^27.5.1", | ||
"less": "^4.1.2", | ||
"lint-staged": "^10.0.7", | ||
"marked": "^4.0.12", | ||
"minidev": "^1.0.7", | ||
@@ -78,2 +102,3 @@ "path": "^0.12.7", | ||
"stylelint-config-standard": "^24.0.0", | ||
"ts-jest": "^27.1.3", | ||
"typescript": "^4.0.0", | ||
@@ -103,2 +128,2 @@ "yorkie": "^2.0.0" | ||
"homepage": "https://github.com/ant-design/ant-design-mini" | ||
} | ||
} |
@@ -20,3 +20,3 @@ <img src="https://gw.alipayobjects.com/zos/bmw-prod/0350261f-bac2-443d-9580-d25f3365a26e.svg" alt="logo" width="100%" /> | ||
如果你发现了 bug 或者是希望 antd-mini 增加一些特性,可以[提交 issue](https://github.com/ant-design/ant-design-mini/issues)。也欢迎参与共建,这里有一份[贡献指南](https://github.com/ant-design/ant-design-mini/blob/main/docs/guide/contribute.md)。 | ||
如果你发现了 bug 或者是希望 antd-mini 增加一些特性,可以[提交 issue](https://github.com/ant-design/ant-design-mini/issues)。也欢迎参与共建,这里有一份[贡献指南](/CONTRIBUTE.md)。 | ||
@@ -23,0 +23,0 @@ 如果你想深入参与讨论,可以加入我们的社区钉钉群:35097715 |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
316725
5913
62