@w-run/wdesign-ui 1.0.0 → 1.1.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 +208 -127
- package/dist/index.d.ts +1010 -80
- package/dist/parts/WdAffix.js +159 -0
- package/dist/parts/WdAiMessage.js +277 -0
- package/dist/parts/WdAlert.js +92 -0
- package/dist/parts/WdAnchor.js +159 -0
- package/dist/parts/WdAudioPlayer.js +1024 -0
- package/dist/parts/WdAvatar.js +6 -0
- package/dist/parts/WdAvatarGroup.js +46 -0
- package/dist/parts/WdBacktop.js +120 -0
- package/dist/parts/WdBadge.js +61 -0
- package/dist/parts/WdBento.js +40 -0
- package/dist/parts/WdBentoItem.js +43 -0
- package/dist/parts/WdBottomSheet.js +263 -0
- package/dist/parts/WdBreadcrumb.js +64 -0
- package/dist/parts/WdButton.js +94 -0
- package/dist/parts/WdCalendar.js +11 -0
- package/dist/parts/WdCard.js +113 -0
- package/dist/parts/WdCarousel.js +365 -0
- package/dist/parts/WdCascader.js +386 -0
- package/dist/parts/WdCheckbox.js +81 -0
- package/dist/parts/WdCollapse.js +135 -0
- package/dist/parts/WdColorPicker.js +592 -0
- package/dist/parts/WdCommand.js +357 -0
- package/dist/parts/WdContainer.js +37 -0
- package/dist/parts/WdCountdown.js +163 -0
- package/dist/parts/WdDanmaku.js +6 -0
- package/dist/parts/WdDatePicker.js +169 -0
- package/dist/parts/WdDateTimePicker.js +162 -0
- package/dist/parts/WdDescriptions.js +146 -0
- package/dist/parts/WdDivider.js +64 -0
- package/dist/parts/WdDrawer.js +176 -0
- package/dist/parts/WdDropdown.js +140 -0
- package/dist/parts/WdEmpty.js +79 -0
- package/dist/parts/WdExplorer.js +336 -0
- package/dist/parts/WdFileList.js +177 -0
- package/dist/parts/WdForm.js +111 -0
- package/dist/parts/WdFormItem.js +156 -0
- package/dist/parts/WdGrid.js +40 -0
- package/dist/parts/WdGroup.js +68 -0
- package/dist/parts/WdImagePreview.js +274 -0
- package/dist/parts/WdInput.js +10 -0
- package/dist/parts/WdInputNumber.js +253 -0
- package/dist/parts/WdListItem.js +60 -0
- package/dist/parts/WdLoading.js +128 -0
- package/dist/parts/WdMarkdown.js +172 -0
- package/dist/parts/WdMarquee.js +80 -0
- package/dist/parts/WdMasonry.js +40 -0
- package/dist/parts/WdMediaCard.js +302 -0
- package/dist/parts/WdMentions.js +277 -0
- package/dist/parts/WdModal.js +149 -0
- package/dist/parts/WdNav.js +311 -0
- package/dist/parts/WdNotification.js +112 -0
- package/dist/parts/WdOtp.js +107 -0
- package/dist/parts/WdPagination.js +252 -0
- package/dist/parts/WdPopconfirm.js +214 -0
- package/dist/parts/WdPopover.js +203 -0
- package/dist/parts/WdPostItem.js +84 -0
- package/dist/parts/WdProgress.js +48 -0
- package/dist/parts/WdProgressRing.js +101 -0
- package/dist/parts/WdPullRefresh.js +167 -0
- package/dist/parts/WdQRCode.js +1909 -0
- package/dist/parts/WdRadioGroup.js +95 -0
- package/dist/parts/WdRate.js +128 -0
- package/dist/parts/WdResult.js +86 -0
- package/dist/parts/WdScrollbar.js +186 -0
- package/dist/parts/WdSegmented.js +11 -0
- package/dist/parts/WdSelect.js +465 -0
- package/dist/parts/WdSkeleton.js +69 -0
- package/dist/parts/WdSlider.js +100 -0
- package/dist/parts/WdSortableList.js +291 -0
- package/dist/parts/WdSpace.js +46 -0
- package/dist/parts/WdSparkline.js +148 -0
- package/dist/parts/WdSpinner.js +6 -0
- package/dist/parts/WdSplitter.js +183 -0
- package/dist/parts/WdStatBar.js +202 -0
- package/dist/parts/WdStatistic.js +131 -0
- package/dist/parts/WdSteps.js +110 -0
- package/dist/parts/WdSwitch.js +63 -0
- package/dist/parts/WdTabBar.js +84 -0
- package/dist/parts/WdTable.js +589 -0
- package/dist/parts/WdTabs.js +219 -0
- package/dist/parts/WdTag.js +6 -0
- package/dist/parts/WdTagInput.js +181 -0
- package/dist/parts/WdTimePicker.js +12 -0
- package/dist/parts/WdTimeline.js +145 -0
- package/dist/parts/WdTooltip.js +108 -0
- package/dist/parts/WdTour.js +264 -0
- package/dist/parts/WdTransfer.js +446 -0
- package/dist/parts/WdTree.js +322 -0
- package/dist/parts/WdUpload.js +309 -0
- package/dist/parts/WdVideoPlayer.js +1006 -0
- package/dist/parts/WdVirtualList.js +169 -0
- package/dist/parts/WdWatermark.js +150 -0
- package/dist/parts/chunk-3LVE72ZK.js +361 -0
- package/dist/parts/chunk-5HYOQ52I.js +101 -0
- package/dist/parts/chunk-7M3MUL3B.js +275 -0
- package/dist/parts/chunk-AOTJ63HN.js +15 -0
- package/dist/parts/chunk-AXEF2U2A.js +41 -0
- package/dist/parts/chunk-CY3QOSFP.js +645 -0
- package/dist/parts/chunk-G7NN4A6J.js +40 -0
- package/dist/parts/chunk-HAKYCUAR.js +9 -0
- package/dist/parts/chunk-JDE4AHBR.js +160 -0
- package/dist/parts/chunk-LT3NTWIT.js +117 -0
- package/dist/parts/chunk-OGHYFT7B.js +387 -0
- package/dist/parts/chunk-Q34U2HES.js +261 -0
- package/dist/parts/chunk-RLSVPJHM.js +10 -0
- package/dist/parts/chunk-U2CDKD2T.js +30 -0
- package/dist/parts/chunk-UYUNYHZD.js +40 -0
- package/dist/parts/chunk-VUJL2HGD.js +23 -0
- package/dist/parts/chunk-WCFG5KNT.js +51 -0
- package/dist/parts/chunk-WDDAALPI.js +42 -0
- package/dist/parts/chunk-WFXLDBP2.js +149 -0
- package/dist/style/affix.css +566 -0
- package/dist/style/ai-msg.css +572 -13
- package/dist/style/alert.css +577 -5
- package/dist/style/anchor.css +630 -0
- package/dist/style/audio.css +658 -67
- package/dist/style/avatar.css +575 -12
- package/dist/style/backtop.css +625 -0
- package/dist/style/badge.css +595 -11
- package/dist/style/bento.css +763 -0
- package/dist/style/bottom-sheet.css +776 -0
- package/dist/style/breadcrumb.css +579 -4
- package/dist/style/button.css +631 -36
- package/dist/style/calendar.css +1512 -0
- package/dist/style/card.css +683 -6
- package/dist/style/carousel.css +573 -4
- package/dist/style/cascader.css +862 -0
- package/dist/style/checkbox.css +584 -7
- package/dist/style/chevron.css +543 -1
- package/dist/style/collapse.css +586 -7
- package/dist/style/colorpicker.css +876 -0
- package/dist/style/command.css +572 -13
- package/dist/style/container.css +543 -0
- package/dist/style/countdown.css +722 -0
- package/dist/style/danmaku.css +644 -0
- package/dist/style/datepicker.css +606 -128
- package/dist/style/datetime-picker.css +714 -0
- package/dist/style/descriptions.css +604 -11
- package/dist/style/divider.css +544 -2
- package/dist/style/dot.css +556 -1
- package/dist/style/drawer.css +609 -11
- package/dist/style/dropdown.css +565 -3
- package/dist/style/empty.css +624 -3
- package/dist/style/explorer.css +632 -24
- package/dist/style/file-list.css +577 -5
- package/dist/style/flip.css +600 -0
- package/dist/style/form.css +550 -8
- package/dist/style/grid.css +614 -0
- package/dist/style/group.css +560 -16
- package/dist/style/icon-btn.css +570 -4
- package/dist/style/image-preview.css +652 -8
- package/dist/style/input-number.css +680 -0
- package/dist/style/input.css +571 -8
- package/dist/style/list.css +553 -4
- package/dist/style/loading.css +667 -0
- package/dist/style/markdown.css +592 -20
- package/dist/style/marquee.css +678 -0
- package/dist/style/masonry.css +614 -0
- package/dist/style/media-card.css +1229 -0
- package/dist/style/mentions.css +690 -0
- package/dist/style/modal.css +626 -15
- package/dist/style/nav.css +1046 -0
- package/dist/style/notification.css +556 -7
- package/dist/style/otp.css +567 -7
- package/dist/style/pagination.css +571 -11
- package/dist/style/popconfirm.css +568 -10
- package/dist/style/popover.css +645 -15
- package/dist/style/post-item.css +548 -6
- package/dist/style/progress-ring.css +640 -0
- package/dist/style/progress.css +543 -1
- package/dist/style/pull-refresh.css +637 -0
- package/dist/style/qrcode.css +613 -0
- package/dist/style/radio.css +584 -5
- package/dist/style/rate.css +594 -1
- package/dist/style/result.css +546 -3
- package/dist/style/scroll-reveal.css +613 -0
- package/dist/style/scrollbar.css +644 -0
- package/dist/style/segmented-picker.css +573 -14
- package/dist/style/segmented.css +711 -7
- package/dist/style/select.css +682 -26
- package/dist/style/skeleton.css +559 -0
- package/dist/style/slider.css +565 -4
- package/dist/style/sortable.css +593 -7
- package/dist/style/space.css +543 -0
- package/dist/style/sparkline.css +606 -0
- package/dist/style/spinner.css +559 -0
- package/dist/style/splitter.css +711 -0
- package/dist/style/stat-bar.css +767 -0
- package/dist/style/statistic.css +552 -7
- package/dist/style/steps.css +633 -9
- package/dist/style/switch.css +585 -4
- package/dist/style/tab-bar.css +647 -0
- package/dist/style/table.css +886 -36
- package/dist/style/tabs.css +599 -10
- package/dist/style/tag-input.css +710 -0
- package/dist/style/tag.css +603 -18
- package/dist/style/time-picker.css +749 -0
- package/dist/style/timeline.css +575 -14
- package/dist/style/toast.css +567 -6
- package/dist/style/tooltip.css +564 -5
- package/dist/style/tour.css +683 -0
- package/dist/style/transfer.css +858 -0
- package/dist/style/tree.css +613 -16
- package/dist/style/typography.css +884 -3
- package/dist/style/upload.css +602 -13
- package/dist/style/vlist.css +543 -1
- package/dist/style/vplayer.css +799 -57
- package/dist/style/watermark.css +570 -0
- package/dist/wdesign-ui.css +18055 -7262
- package/dist/wdesign-ui.esm.js +8976 -5044
- package/package.json +99 -13
package/package.json
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w-run/wdesign-ui",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "WDesign UI —
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "WDesign UI — 自用组件库(92 个组件 · 令牌驱动 · 全量 SCSS)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/wdesign-ui.esm.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/wdesign-ui.esm.js"
|
|
11
|
+
"import": "./dist/wdesign-ui.esm.js",
|
|
12
|
+
"default": "./dist/wdesign-ui.esm.js"
|
|
12
13
|
},
|
|
13
14
|
"./style": "./dist/wdesign-ui.css",
|
|
14
15
|
"./style/*": "./dist/style/*.css",
|
|
15
|
-
"./
|
|
16
|
-
"./
|
|
16
|
+
"./tokens.json": "./tokens.json",
|
|
17
|
+
"./parts/*": "./dist/parts/*"
|
|
17
18
|
},
|
|
18
19
|
"files": [
|
|
19
20
|
"dist",
|
|
@@ -30,11 +31,90 @@
|
|
|
30
31
|
"audit": "python3 tools/design-audit.py",
|
|
31
32
|
"audit:strict": "python3 tools/design-audit.py --strict",
|
|
32
33
|
"hover:check": "python3 tools/hover-js.py --check",
|
|
33
|
-
"verify": "npm run check:tokens && npm run check:icons && npm run typecheck && npm run test",
|
|
34
|
-
"prepublishOnly": "npm run verify && npm run build"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
34
|
+
"verify": "pnpm --filter @w-run/wdesign-demo check:routes && npm run check:entry-exports && npm run check:pipe-exit && npm run check:flip && npm run check:verify-chain && npm run check:tokens && npm run check:token-dup && npm run check:icons && npm run check:circle && npm run check:blind-paint && npm run check:input-modality && npm run check:table-ellipsis && npm run check:api-rail && npm run check:icon-pixel && npm run check:safe-area && npm run check:anchor-clamp && npm run check:controllable && npm run check:template-refs && npm run check:sizing && npm run check:hover && npm run check:audit && npm run check:type-scale && npm run check:type-ratio && npm run check:fs-role && npm run check:fw-role && npm run check:demo-type && npm run check:page-layout && npm run check:cross-page && npm run check:docs && npm run check:token-docs && npm run check:readme-components && npm run check:stats && npm run check:copy-sizes && npm run check:nav && npm run check:dead-tokens && npm run check:ink && npm run check:ink-roles && npm run check:semantic-color && npm run check:page-counts && npm run check:loading-jump && npm run selftest:pages && npm run check:demo-pages && npm run check:props && npm run check:prop-values && npm run check:slots && npm run check:ios && npm run check:ios-zoom && npm run check:responsive && npm run check:scenario-cov && npm run check:doc-facts && npm run check:selection && npm run check:entry-tokens && npm run check:dts && npm run check:package && npm run check:safe-area-bottom && npm run check:font-alias && npm run check:emits && npm run check:dead-expr && npm run check:attrs && npm run check:dark-pairs && npm run check:z-layers && npm run check:stat-bar-align && npm run check:covers && npm run check:demo-props && npm run check:style-entries && npm run check:form-a11y && npm run check:keyboard-parity && npm run check:slot-guards && npm run check:line-height && npm run check:dialog-name && npm run check:touch-target && npm run typecheck && npm run build && npm run check:meta && npm run check:state-class && npm run check:self && npm run check:self-extra && npm run check:dist-entries && npm run check:ondemand-parts && npm run check:dist-render && npm run check:reveal-js && npm run check:motion && npm run check:reduced-motion && npm run check:hover-motion && npm run test && npm run selftest:guards",
|
|
35
|
+
"prepublishOnly": "npm run verify && npm run build",
|
|
36
|
+
"check:template-refs": "python3 tools/check-template-refs.py",
|
|
37
|
+
"check:sizing": "python3 tools/check-sizing.py --strict",
|
|
38
|
+
"check:hover": "python3 tools/hover-guard.py --check",
|
|
39
|
+
"check:audit": "python3 tools/design-audit.py --strict",
|
|
40
|
+
"check:form-a11y": "python3 tools/check-form-a11y.py",
|
|
41
|
+
"check:type-scale": "python3 tools/check-type-scale.py --strict",
|
|
42
|
+
"check:type-ratio": "python3 tools/check-type-ratio.py --strict",
|
|
43
|
+
"check:demo-type": "python3 tools/check-demo-type-scale.py --strict",
|
|
44
|
+
"check:page-layout": "python3 tools/check-page-layout.py",
|
|
45
|
+
"check:cross-page": "python3 tools/check-cross-page.py",
|
|
46
|
+
"check:docs": "python3 tools/check-docs.py",
|
|
47
|
+
"check:readme-components": "python3 tools/check-readme-components.py",
|
|
48
|
+
"check:ink-roles": "python3 tools/check-ink-roles.py",
|
|
49
|
+
"check:line-height": "python3 tools/check-line-height.py --strict",
|
|
50
|
+
"check:controllable": "python3 tools/check-controllable.py",
|
|
51
|
+
"check:self": "node tools/verify-checkers.mjs",
|
|
52
|
+
"check:self-extra": "node tools/verify-checkers-extra.mjs",
|
|
53
|
+
"check:icon-pixel": "python3 ../icons/tools/check-icon-pixel.py",
|
|
54
|
+
"check:safe-area": "python3 tools/check-safe-area.py",
|
|
55
|
+
"check:meta": "python3 tools/meta-check.py",
|
|
56
|
+
"check:stats": "python3 tools/sync-stats.py",
|
|
57
|
+
"check:nav": "python3 tools/check-nav-meta.py",
|
|
58
|
+
"sync:stats": "python3 tools/sync-stats.py --write",
|
|
59
|
+
"check:anchor-clamp": "python3 tools/check-anchor-clamp.py",
|
|
60
|
+
"check:dialog-name": "python3 tools/check-dialog-name.py",
|
|
61
|
+
"check:dead-tokens": "python3 tools/check-dead-tokens.py",
|
|
62
|
+
"check:touch-target": "python3 tools/check-touch-target.py",
|
|
63
|
+
"check:dist-entries": "python3 tools/check-dist-entries.py",
|
|
64
|
+
"check:entry-exports": "python3 tools/check-entry-exports.py",
|
|
65
|
+
"check:pipe-exit": "python3 tools/check-pipe-exit.py",
|
|
66
|
+
"check:flip": "python3 tools/check-flip.py",
|
|
67
|
+
"check:verify-chain": "python3 tools/check-verify-chain.py",
|
|
68
|
+
"check:semantic-color": "python3 tools/check-semantic-color.py",
|
|
69
|
+
"check:page-counts": "python3 tools/check-page-counts.py",
|
|
70
|
+
"check:loading-jump": "python3 tools/check-loading-jump.py",
|
|
71
|
+
"check:demo-pages": "node ../wdesign-demo/tools/check-pages.mjs",
|
|
72
|
+
"check:ios": "python3 tools/check-ios.py",
|
|
73
|
+
"check:emits": "node tools/check-emits.mjs",
|
|
74
|
+
"check:dead-expr": "python3 tools/check-dead-expr.py",
|
|
75
|
+
"check:dark-pairs": "python3 tools/check-dark-pairs.py",
|
|
76
|
+
"check:z-layers": "python3 tools/check-z-layers.py",
|
|
77
|
+
"check:stat-bar-align": "python3 tools/check-stat-bar-align.py",
|
|
78
|
+
"check:covers": "python3 tools/check-covers.py",
|
|
79
|
+
"check:demo-props": "python3 tools/check-demo-props.py",
|
|
80
|
+
"check:style-entries": "python3 tools/check-style-entries.py",
|
|
81
|
+
"check:dist-render": "node tools/check-dist-render.mjs",
|
|
82
|
+
"check:motion": "python3 tools/check-motion.py",
|
|
83
|
+
"check:slot-guards": "python3 tools/check-slot-guards.py",
|
|
84
|
+
"check:state-class": "python3 tools/check-state-class.py",
|
|
85
|
+
"check:copy-sizes": "python3 tools/check-copy-sizes.py",
|
|
86
|
+
"check:fs-role": "python3 tools/check-fs-role.py",
|
|
87
|
+
"check:fw-role": "python3 tools/check-fw-role.py",
|
|
88
|
+
"check:hover-motion": "python3 tools/check-hover-motion.py",
|
|
89
|
+
"check:token-dup": "python3 tools/check-token-dup.py",
|
|
90
|
+
"check:props": "node tools/check-props.mjs",
|
|
91
|
+
"check:slots": "node tools/check-slots.mjs",
|
|
92
|
+
"check:attrs": "node tools/check-attrs.mjs",
|
|
93
|
+
"check:api-rail": "node tools/check-api-rail.mjs",
|
|
94
|
+
"check:ink": "node tools/check-ink-tokens.mjs",
|
|
95
|
+
"check:reveal-js": "node tools/check-reveal-js.mjs",
|
|
96
|
+
"check:responsive": "node tools/check-responsive.mjs",
|
|
97
|
+
"check:scenario-cov": "python3 tools/check-scenario-coverage.py",
|
|
98
|
+
"check:doc-facts": "python3 tools/check-doc-facts.py",
|
|
99
|
+
"check:entry-tokens": "python3 tools/check-entry-tokens.py",
|
|
100
|
+
"check:dts": "python3 tools/check-dts.py",
|
|
101
|
+
"check:package": "python3 tools/check-package.py",
|
|
102
|
+
"check:safe-area-bottom": "python3 tools/check-safe-area-bottom.py",
|
|
103
|
+
"check:font-alias": "python3 tools/check-font-size-alias.py",
|
|
104
|
+
"check:ios-zoom": "python3 tools/check-ios-input-zoom.py",
|
|
105
|
+
"check:ondemand-parts": "python3 tools/check-ondemand-parts.py",
|
|
106
|
+
"check:selection": "python3 tools/check-selection-coverage.py",
|
|
107
|
+
"selftest:pages": "pnpm --filter @w-run/wdesign-demo selftest:pages",
|
|
108
|
+
"check:keyboard-parity": "python3 tools/check-keyboard-parity.py",
|
|
109
|
+
"check:reduced-motion": "python3 tools/check-reduced-motion.py",
|
|
110
|
+
"check:prop-values": "python3 tools/check-prop-values.py",
|
|
111
|
+
"selftest:guards": "python3 tools/selftest-guards.py",
|
|
112
|
+
"check:circle": "python3 tools/check-circle.py --strict",
|
|
113
|
+
"gen:tokens": "python3 tools/gen-token-docs.py",
|
|
114
|
+
"check:token-docs": "python3 tools/gen-token-docs.py --check",
|
|
115
|
+
"check:blind-paint": "python3 tools/check-blind-first-paint.py --strict",
|
|
116
|
+
"check:input-modality": "python3 tools/check-input-modality.py --strict",
|
|
117
|
+
"check:table-ellipsis": "python3 tools/check-table-ellipsis.py --strict"
|
|
38
118
|
},
|
|
39
119
|
"peerDependencies": {
|
|
40
120
|
"vue": "^3.3.0"
|
|
@@ -45,6 +125,12 @@
|
|
|
45
125
|
"sass": "^1.77.0",
|
|
46
126
|
"typescript": "^7.0.2",
|
|
47
127
|
"vue": "^3.5.44",
|
|
48
|
-
"vue-tsc": "^3.3.13"
|
|
49
|
-
|
|
50
|
-
}
|
|
128
|
+
"vue-tsc": "^3.3.13",
|
|
129
|
+
"@w-run/wdesign-icons": "^1.0.0"
|
|
130
|
+
},
|
|
131
|
+
"sideEffects": [
|
|
132
|
+
"*.css",
|
|
133
|
+
"./dist/style/*",
|
|
134
|
+
"./dist/wdesign-ui.css"
|
|
135
|
+
]
|
|
136
|
+
}
|