distinctui-uni 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -62
- package/{packages/distinctui-uni/src/components → components}/distinctui/d-button/d-button.vue +385 -385
- package/{packages/distinctui-uni/src/components → components}/distinctui/d-dialog/d-dialog.vue +269 -242
- package/components/distinctui/d-popup/d-popup.vue +360 -0
- package/{packages/distinctui-uni/src/components → components}/distinctui/d-tabs/d-tabs.vue +429 -429
- package/{packages/distinctui-uni/src/main.js → main.js} +12 -12
- package/package.json +19 -23
- package/.eslintrc.js +0 -19
- package/.prettierrc +0 -10
- package/lerna.json +0 -12
- package/packages/distinctui-docs/README.md +0 -11
- package/packages/distinctui-docs/__tests__/distinct-ui-docs.test.js +0 -7
- package/packages/distinctui-docs/babel.config.js +0 -3
- package/packages/distinctui-docs/docs/component-basics/_category_.json +0 -7
- package/packages/distinctui-docs/docs/component-basics/button.md +0 -62
- package/packages/distinctui-docs/docs/component-form/_category_.json +0 -7
- package/packages/distinctui-docs/docs/component-form/textarea.md +0 -5
- package/packages/distinctui-docs/docs/component-intro/_category_.json +0 -8
- package/packages/distinctui-docs/docs/component-intro/get-started.md +0 -33
- package/packages/distinctui-docs/docs/component-intro/img/previewQRCode.png +0 -0
- package/packages/distinctui-docs/docs/component-intro/intro.md +0 -11
- package/packages/distinctui-docs/docs/component-layout/_category_.json +0 -7
- package/packages/distinctui-docs/docs/component-layout/flex.md +0 -5
- package/packages/distinctui-docs/docs/component-nav/_category_.json +0 -7
- package/packages/distinctui-docs/docs/component-nav/nav-bar.md +0 -5
- package/packages/distinctui-docs/docs/component-nav/tabs.md +0 -55
- package/packages/distinctui-docs/docs/component-operate/_category_.json +0 -7
- package/packages/distinctui-docs/docs/component-operate/dialog.md +0 -45
- package/packages/distinctui-docs/docs/component-operate/popup.md +0 -36
- package/packages/distinctui-docs/docs/component-others/_category_.json +0 -7
- package/packages/distinctui-docs/docs/component-others/ellipsis.md +0 -5
- package/packages/distinctui-docs/docs/component-views/_category_.json +0 -7
- package/packages/distinctui-docs/docusaurus.config.js +0 -119
- package/packages/distinctui-docs/lib/distinct-ui-docs.js +0 -7
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/0.pack +0 -0
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/1.pack +0 -0
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/10.pack +0 -0
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/11.pack +0 -0
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/12.pack +0 -0
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/13.pack +0 -0
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/14.pack +0 -0
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/2.pack +0 -0
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/3.pack +0 -0
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/4.pack +0 -0
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/5.pack +0 -0
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/6.pack +0 -0
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/7.pack +0 -0
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/8.pack +0 -0
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/9.pack +0 -0
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/index.pack +0 -0
- package/packages/distinctui-docs/node_modules/.cache/webpack/client-development-en/index.pack.old +0 -0
- package/packages/distinctui-docs/package.json +0 -59
- package/packages/distinctui-docs/sidebars.js +0 -33
- package/packages/distinctui-docs/src/components/HomepageFeatures/index.js +0 -49
- package/packages/distinctui-docs/src/components/HomepageFeatures/styles.module.css +0 -11
- package/packages/distinctui-docs/src/css/custom.css +0 -30
- package/packages/distinctui-docs/src/pages/index.js +0 -37
- package/packages/distinctui-docs/src/pages/index.module.css +0 -23
- package/packages/distinctui-docs/src/pages/markdown-page.md +0 -7
- package/packages/distinctui-docs/static/.nojekyll +0 -0
- package/packages/distinctui-docs/static/img/docusaurus-social-card.jpg +0 -0
- package/packages/distinctui-docs/static/img/docusaurus.png +0 -0
- package/packages/distinctui-docs/static/img/favicon.ico +0 -0
- package/packages/distinctui-docs/static/img/logo.png +0 -0
- package/packages/distinctui-docs/static/img/logo.svg +0 -1
- package/packages/distinctui-docs/static/img/undraw_docusaurus_mountain.svg +0 -171
- package/packages/distinctui-docs/static/img/undraw_docusaurus_react.svg +0 -170
- package/packages/distinctui-docs/static/img/undraw_docusaurus_tree.svg +0 -40
- package/packages/distinctui-uni/__tests__/distinct-ui.test.js +0 -7
- package/packages/distinctui-uni/babel.config.js +0 -81
- package/packages/distinctui-uni/jsconfig.json +0 -9
- package/packages/distinctui-uni/lib/distinct-ui.js +0 -7
- package/packages/distinctui-uni/package.json +0 -88
- package/packages/distinctui-uni/postcss.config.js +0 -27
- package/packages/distinctui-uni/public/index.html +0 -25
- package/packages/distinctui-uni/src/App.vue +0 -61
- package/packages/distinctui-uni/src/README.md +0 -22
- package/packages/distinctui-uni/src/components/distinctui/d-popup/d-popup.vue +0 -108
- package/packages/distinctui-uni/src/manifest.json +0 -75
- package/packages/distinctui-uni/src/package.json +0 -19
- package/packages/distinctui-uni/src/pages/action/dialog.vue +0 -102
- package/packages/distinctui-uni/src/pages/action/popup.vue +0 -51
- package/packages/distinctui-uni/src/pages/basic/button.vue +0 -79
- package/packages/distinctui-uni/src/pages/components/DocHeader.vue +0 -50
- package/packages/distinctui-uni/src/pages/navigation/tabs.vue +0 -49
- package/packages/distinctui-uni/src/pages/panel/index.vue +0 -316
- package/packages/distinctui-uni/src/pages/tabbar/index.vue +0 -149
- package/packages/distinctui-uni/src/pages.json +0 -37
- package/packages/distinctui-uni/src/static/logo.png +0 -0
- package/packages/distinctui-uni/src/uni.promisify.adaptor.js +0 -10
- package/packages/distinctui-uni/src/uni.scss +0 -76
- package/packages/distinctui-uni/tsconfig.json +0 -9
- package/packages/distinctui-uni/yarn.lock +0 -11300
package/README.md
CHANGED
|
@@ -1,62 +1,22 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
lerna create
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## 给所有包下增加公共依赖
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
yarn workspace add lodash
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## 给所有包下删除公共依赖
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
yarn workspace remove lodash
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## 给某个包单独安装指定依赖
|
|
40
|
-
|
|
41
|
-
```
|
|
42
|
-
yarn workspace <workspace_name> add lodash
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
## 给某个包删除指定依赖
|
|
46
|
-
|
|
47
|
-
```
|
|
48
|
-
yarn workspace <workspace_name> remove lodash
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
## 运行某个执行 package 下的某个 script 命令
|
|
52
|
-
|
|
53
|
-
```
|
|
54
|
-
yarn workspace <workspace_name> <command>
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
## 发布
|
|
58
|
-
|
|
59
|
-
```
|
|
60
|
-
// 注意发布前记得先提交你的代码
|
|
61
|
-
lerna publish
|
|
62
|
-
```
|
|
1
|
+
# `distinct-ui`
|
|
2
|
+
|
|
3
|
+
> 卓正医疗小程序 UI 组件库
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```shell
|
|
8
|
+
npm install distinctui-uni
|
|
9
|
+
// or
|
|
10
|
+
yarn add distinctui-uni
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
uni-app 项目 pages.json 配置
|
|
14
|
+
|
|
15
|
+
```js
|
|
16
|
+
"easycom": {
|
|
17
|
+
"autoscan": true,
|
|
18
|
+
"custom": {
|
|
19
|
+
"^d-(.*)": "distinctui-uni/components/distinctui/d-$1/d-$1.vue"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
```
|