@didaoktv/didaoui-uniapp 2.13.0 → 2.14.0
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 +6 -6
- package/components/dd-album/dd-album.vue +280 -228
- package/components/dd-avatar/dd-avatar.vue +132 -75
- package/components/dd-avatar-group/dd-avatar-group.vue +52 -30
- package/components/dd-barcode/dd-barcode.vue +884 -947
- package/components/dd-button/dd-button.vue +47 -21
- package/components/dd-canvas/dd-canvas.vue +1156 -985
- package/components/dd-car-keyboard/dd-car-keyboard.vue +12 -12
- package/components/dd-champion-card/dd-champion-card.vue +49 -21
- package/components/dd-checkbox-group/dd-checkbox-group.vue +2 -0
- package/components/dd-copy/dd-copy.vue +51 -56
- package/components/dd-cropper/dd-cropper.vue +1224 -1135
- package/components/dd-divider/dd-divider.vue +9 -2
- package/components/dd-form/dd-form.vue +2 -0
- package/components/dd-icon/dd-icon.vue +1 -1
- package/components/dd-keyboard/dd-keyboard.vue +95 -46
- package/components/dd-link/dd-link.vue +72 -49
- package/components/dd-markdown/dd-markdown.vue +154 -154
- package/components/dd-number-keyboard/dd-number-keyboard.vue +109 -94
- package/components/dd-parse/dd-parse.vue +473 -442
- package/components/dd-poster/dd-poster.vue +579 -567
- package/components/dd-pull-refresh/dd-pull-refresh.vue +1 -9
- package/components/dd-qrcode/dd-qrcode.vue +431 -405
- package/components/dd-radio-group/dd-radio-group.vue +1 -1
- package/components/dd-segmented-tab/dd-segmented-tab.vue +22 -14
- package/components/dd-signature/dd-signature.vue +377 -357
- package/components/dd-step/dd-step.vue +1 -1
- package/components/dd-sticky/dd-sticky.vue +5 -10
- package/components/dd-swipe-action/dd-swipe-action.vue +1 -9
- package/components/dd-swipe-item/dd-swipe-item.vue +2 -0
- package/components/dd-swipeable-tab/dd-swipeable-tab.vue +1 -5
- package/components/dd-switch/dd-switch.vue +1 -1
- package/components/dd-text/dd-text.vue +304 -82
- package/components/dd-waterfall/dd-waterfall.vue +89 -0
- package/index.ts +4 -3
- package/libs/function/index.d.ts +88 -0
- package/libs/function/index.js +14 -0
- package/libs/function/test.d.ts +65 -0
- package/package.json +1 -1
- package/scss/_mixins.scss +8 -0
- package/scss/_theme-tokens.scss +7 -0
- package/scss/_variables.scss +283 -156
- package/components/dd-album/album.js +0 -19
- package/components/dd-album/props.js +0 -89
- package/components/dd-avatar/avatar.js +0 -19
- package/components/dd-avatar/props.js +0 -84
- package/components/dd-avatar-group/avatarGroup.js +0 -14
- package/components/dd-avatar-group/props.js +0 -57
- package/components/dd-keyboard/keyboard.js +0 -19
- package/components/dd-keyboard/props.js +0 -79
- package/components/dd-link/link.js +0 -17
- package/components/dd-link/props.js +0 -44
- package/components/dd-number-keyboard/numberKeyboard.js +0 -8
- package/components/dd-number-keyboard/props.js +0 -24
- package/components/dd-parse/props.js +0 -57
- package/components/dd-text/props.js +0 -120
- package/components/dd-text/text.js +0 -30
- package/components/dd-text/value.js +0 -87
- package/scss/_dd-shared.scss +0 -40
package/scss/_dd-shared.scss
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// 通过scss的mixin功能,把原来需要写4行的css,变成一行
|
|
2
|
-
// 目的是保持代码干净整洁,不至于在nvue下,到处都要写display:flex的条件编译
|
|
3
|
-
@mixin flex($direction: row) {
|
|
4
|
-
/* #ifndef APP-NVUE */
|
|
5
|
-
display: flex;
|
|
6
|
-
/* #endif */
|
|
7
|
-
flex-direction: $direction;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// —— 以下为移植组件引用的工具类(就地生成,避免全局注入) ——
|
|
11
|
-
// 按钮重置
|
|
12
|
-
.dd-reset-button {
|
|
13
|
-
padding: 0;
|
|
14
|
-
background-color: transparent;
|
|
15
|
-
font-size: inherit;
|
|
16
|
-
line-height: inherit;
|
|
17
|
-
color: inherit;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.dd-reset-button::after {
|
|
21
|
-
border: none;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// 超出行数省略号(dd-line-N)
|
|
25
|
-
@for $i from 1 through 10 {
|
|
26
|
-
.dd-line-#{$i} {
|
|
27
|
-
/* #ifdef APP-NVUE */
|
|
28
|
-
lines: $i;
|
|
29
|
-
text-overflow: ellipsis;
|
|
30
|
-
overflow: hidden;
|
|
31
|
-
flex: 1;
|
|
32
|
-
/* #endif */
|
|
33
|
-
/* #ifndef APP-NVUE */
|
|
34
|
-
display: -webkit-box;
|
|
35
|
-
-webkit-box-orient: vertical;
|
|
36
|
-
-webkit-line-clamp: $i;
|
|
37
|
-
overflow: hidden;
|
|
38
|
-
/* #endif */
|
|
39
|
-
}
|
|
40
|
-
}
|