vxui-re 1.0.2 → 1.0.3
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 +1 -3
- package/README.zh.md +1 -3
- package/package.json +1 -1
- package/dist/.assetsignore +0 -2
- package/dist/404.html +0 -18
- package/dist/colorful_flat_icon.ico +0 -0
- package/dist/colorful_flat_icon.svg +0 -46
- package/dist/index.cjs +0 -144
- package/dist/index.css +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -13289
- package/dist/src/components/Accordion.d.ts +0 -14
- package/dist/src/components/Alert.d.ts +0 -10
- package/dist/src/components/AppShell.d.ts +0 -33
- package/dist/src/components/Article.d.ts +0 -72
- package/dist/src/components/Avatar.d.ts +0 -12
- package/dist/src/components/Badge.d.ts +0 -7
- package/dist/src/components/Breadcrumb.d.ts +0 -12
- package/dist/src/components/Button.d.ts +0 -18
- package/dist/src/components/Calendar.d.ts +0 -10
- package/dist/src/components/Card.d.ts +0 -17
- package/dist/src/components/Carousel.d.ts +0 -15
- package/dist/src/components/Checkbox.d.ts +0 -7
- package/dist/src/components/CodeBlock.d.ts +0 -9
- package/dist/src/components/ColorPicker.d.ts +0 -13
- package/dist/src/components/CommandPalette.d.ts +0 -22
- package/dist/src/components/ContextMenu.d.ts +0 -20
- package/dist/src/components/DatePicker.d.ts +0 -15
- package/dist/src/components/Descriptions.d.ts +0 -29
- package/dist/src/components/Dialog.d.ts +0 -49
- package/dist/src/components/DropdownMenu.d.ts +0 -55
- package/dist/src/components/EmptyState.d.ts +0 -9
- package/dist/src/components/FileUpload.d.ts +0 -17
- package/dist/src/components/Form.d.ts +0 -28
- package/dist/src/components/Heading.d.ts +0 -13
- package/dist/src/components/HoverCard.d.ts +0 -11
- package/dist/src/components/Image.d.ts +0 -30
- package/dist/src/components/Input.d.ts +0 -18
- package/dist/src/components/Label.d.ts +0 -5
- package/dist/src/components/LanguageSwitcher.d.ts +0 -9
- package/dist/src/components/Menubar.d.ts +0 -24
- package/dist/src/components/MultiSelect.d.ts +0 -27
- package/dist/src/components/NavigationMenu.d.ts +0 -20
- package/dist/src/components/Notification.d.ts +0 -30
- package/dist/src/components/NumberInput.d.ts +0 -12
- package/dist/src/components/Pagination.d.ts +0 -9
- package/dist/src/components/PinInput.d.ts +0 -37
- package/dist/src/components/Popover.d.ts +0 -13
- package/dist/src/components/Progress.d.ts +0 -11
- package/dist/src/components/Radio.d.ts +0 -12
- package/dist/src/components/Rating.d.ts +0 -14
- package/dist/src/components/Resizable.d.ts +0 -35
- package/dist/src/components/Responsive.d.ts +0 -25
- package/dist/src/components/Result.d.ts +0 -18
- package/dist/src/components/ScrollArea.d.ts +0 -21
- package/dist/src/components/SegmentedControl.d.ts +0 -16
- package/dist/src/components/Select.d.ts +0 -31
- package/dist/src/components/Separator.d.ts +0 -6
- package/dist/src/components/Sheet/Sheet.d.ts +0 -30
- package/dist/src/components/Sheet/SheetPanel.d.ts +0 -44
- package/dist/src/components/Sheet/index.d.ts +0 -2
- package/dist/src/components/Sheet/useSheetState.d.ts +0 -34
- package/dist/src/components/Shell.d.ts +0 -88
- package/dist/src/components/Skeleton.d.ts +0 -8
- package/dist/src/components/Slider.d.ts +0 -7
- package/dist/src/components/Spinner.d.ts +0 -8
- package/dist/src/components/Stepper.d.ts +0 -14
- package/dist/src/components/Switch.d.ts +0 -7
- package/dist/src/components/Table.d.ts +0 -90
- package/dist/src/components/Tabs.d.ts +0 -5
- package/dist/src/components/TagInput.d.ts +0 -18
- package/dist/src/components/Text.d.ts +0 -14
- package/dist/src/components/Textarea.d.ts +0 -7
- package/dist/src/components/ThemeProvider.d.ts +0 -51
- package/dist/src/components/TimePicker.d.ts +0 -14
- package/dist/src/components/Timeline.d.ts +0 -14
- package/dist/src/components/Toast.d.ts +0 -15
- package/dist/src/components/Toggle.d.ts +0 -24
- package/dist/src/components/Tooltip.d.ts +0 -11
- package/dist/src/components/TreeView.d.ts +0 -20
- package/dist/src/components/__tests__/Accordion.test.d.ts +0 -1
- package/dist/src/components/__tests__/ActionSheet.test.d.ts +0 -1
- package/dist/src/components/__tests__/Alert.test.d.ts +0 -1
- package/dist/src/components/__tests__/AlertDialog.test.d.ts +0 -1
- package/dist/src/components/__tests__/AppShell.test.d.ts +0 -1
- package/dist/src/components/__tests__/Avatar.test.d.ts +0 -1
- package/dist/src/components/__tests__/Badge.test.d.ts +0 -1
- package/dist/src/components/__tests__/BottomNav.test.d.ts +0 -1
- package/dist/src/components/__tests__/Breadcrumb.test.d.ts +0 -1
- package/dist/src/components/__tests__/Button.test.d.ts +0 -1
- package/dist/src/components/__tests__/Calendar.test.d.ts +0 -1
- package/dist/src/components/__tests__/Card.test.d.ts +0 -1
- package/dist/src/components/__tests__/Carousel.test.d.ts +0 -1
- package/dist/src/components/__tests__/Checkbox.test.d.ts +0 -1
- package/dist/src/components/__tests__/CodeBlock.test.d.ts +0 -1
- package/dist/src/components/__tests__/ColorPicker.test.d.ts +0 -1
- package/dist/src/components/__tests__/CommandPalette.test.d.ts +0 -1
- package/dist/src/components/__tests__/ContextMenu.test.d.ts +0 -1
- package/dist/src/components/__tests__/DatePicker.test.d.ts +0 -1
- package/dist/src/components/__tests__/Dialog.test.d.ts +0 -1
- package/dist/src/components/__tests__/DialogFormControls.test.d.ts +0 -1
- package/dist/src/components/__tests__/DropdownMenu.test.d.ts +0 -1
- package/dist/src/components/__tests__/EmptyState.test.d.ts +0 -1
- package/dist/src/components/__tests__/FileUpload.test.d.ts +0 -1
- package/dist/src/components/__tests__/Form.test.d.ts +0 -1
- package/dist/src/components/__tests__/Heading.test.d.ts +0 -1
- package/dist/src/components/__tests__/HoverCard.test.d.ts +0 -1
- package/dist/src/components/__tests__/Input.test.d.ts +0 -1
- package/dist/src/components/__tests__/Label.test.d.ts +0 -1
- package/dist/src/components/__tests__/LanguageSwitcher.test.d.ts +0 -1
- package/dist/src/components/__tests__/Menubar.test.d.ts +0 -1
- package/dist/src/components/__tests__/MobileDrawer.test.d.ts +0 -1
- package/dist/src/components/__tests__/MobileList.test.d.ts +0 -1
- package/dist/src/components/__tests__/MultiSelect.test.d.ts +0 -1
- package/dist/src/components/__tests__/NavigationMenu.test.d.ts +0 -1
- package/dist/src/components/__tests__/NumberInput.test.d.ts +0 -1
- package/dist/src/components/__tests__/Pagination.test.d.ts +0 -1
- package/dist/src/components/__tests__/Popover.test.d.ts +0 -1
- package/dist/src/components/__tests__/Progress.test.d.ts +0 -1
- package/dist/src/components/__tests__/Radio.test.d.ts +0 -1
- package/dist/src/components/__tests__/Rating.test.d.ts +0 -1
- package/dist/src/components/__tests__/Resizable.test.d.ts +0 -1
- package/dist/src/components/__tests__/Responsive.test.d.ts +0 -1
- package/dist/src/components/__tests__/ScrollArea.test.d.ts +0 -1
- package/dist/src/components/__tests__/SegmentedControl.test.d.ts +0 -1
- package/dist/src/components/__tests__/Select.test.d.ts +0 -1
- package/dist/src/components/__tests__/Separator.test.d.ts +0 -1
- package/dist/src/components/__tests__/Sheet.test.d.ts +0 -1
- package/dist/src/components/__tests__/Shell.test.d.ts +0 -1
- package/dist/src/components/__tests__/Skeleton.test.d.ts +0 -1
- package/dist/src/components/__tests__/Slider.test.d.ts +0 -1
- package/dist/src/components/__tests__/Spinner.test.d.ts +0 -1
- package/dist/src/components/__tests__/Stepper.test.d.ts +0 -1
- package/dist/src/components/__tests__/Switch.test.d.ts +0 -1
- package/dist/src/components/__tests__/Table.test.d.ts +0 -1
- package/dist/src/components/__tests__/Tabs.test.d.ts +0 -1
- package/dist/src/components/__tests__/TagInput.test.d.ts +0 -1
- package/dist/src/components/__tests__/Text.test.d.ts +0 -1
- package/dist/src/components/__tests__/Textarea.test.d.ts +0 -1
- package/dist/src/components/__tests__/ThemeProvider.test.d.ts +0 -1
- package/dist/src/components/__tests__/TimePicker.test.d.ts +0 -1
- package/dist/src/components/__tests__/Timeline.test.d.ts +0 -1
- package/dist/src/components/__tests__/Toast.test.d.ts +0 -1
- package/dist/src/components/__tests__/Toggle.test.d.ts +0 -1
- package/dist/src/components/__tests__/Tooltip.test.d.ts +0 -1
- package/dist/src/components/__tests__/TreeView.test.d.ts +0 -1
- package/dist/src/components/mobile/ActionSheet.d.ts +0 -15
- package/dist/src/components/mobile/BottomNav.d.ts +0 -23
- package/dist/src/components/mobile/MobileApp.d.ts +0 -1
- package/dist/src/components/mobile/MobileDrawer.d.ts +0 -31
- package/dist/src/components/mobile/MobileList.d.ts +0 -24
- package/dist/src/components/mobile/MobilePreviewPage.d.ts +0 -5
- package/dist/src/components/mobile/MobileShell.d.ts +0 -24
- package/dist/src/components/pages/ErrorPage.d.ts +0 -9
- package/dist/src/components/pages/HomePage.d.ts +0 -10
- package/dist/src/components/pages/LoginPage.d.ts +0 -12
- package/dist/src/components/pages/PrivacyPolicyPage.d.ts +0 -5
- package/dist/src/components/pages/RegisterPage.d.ts +0 -14
- package/dist/src/components/pages/TermsOfServicePage.d.ts +0 -5
- package/dist/src/components/pages/homePageContent.d.ts +0 -25
- package/dist/src/components/pages/legalPageContent.d.ts +0 -15
- package/dist/src/lib/VXUIProvider.d.ts +0 -29
- package/dist/src/lib/__tests__/cx.test.d.ts +0 -1
- package/dist/src/lib/__tests__/viewport.test.d.ts +0 -1
- package/dist/src/lib/breakpoints.d.ts +0 -63
- package/dist/src/lib/cx.d.ts +0 -1
- package/dist/src/lib/dialogPopover.d.ts +0 -30
- package/dist/src/lib/index.d.ts +0 -152
- package/dist/src/lib/version.d.ts +0 -1
- package/dist/src/lib/viewport.d.ts +0 -21
- package/dist/wrangler.json +0 -1
package/README.md
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**Website**: [ui.vx.link](https://ui.vx.link) | **GitHub**: [tmplink/vxui_react](https://github.com/tmplink/vxui_react) | [中文文档](README.zh.md)
|
|
4
4
|
|
|
5
|
-
A general-purpose React UI component library for admin panels, ops dashboards, internal tools, and data-heavy interfaces. Built on CSS custom properties (design tokens) for theming and Radix UI primitives for accessibility.
|
|
6
|
-
|
|
7
|
-
> **Security Notice**: 1.0.0 is a clean-slate release following the removal of a supply-chain attack vector discovered in the git history. The malicious `postinstall` script (commits `9c15fc0` / `fd8700d`) and self-referencing dependency (`c2bc8b9`) have been neutralized. This version also renames the package from `vxui-re` to `vxui-re`. See [CHANGELOG.md](CHANGELOG.md) for details.
|
|
5
|
+
A general-purpose React UI component library for admin panels, ops dashboards, internal tools, and data-heavy interfaces. Built on CSS custom properties (design tokens) for theming and Radix UI primitives for accessibility.
|
|
8
6
|
|
|
9
7
|
## Installation
|
|
10
8
|
|
package/README.zh.md
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**官网**:[ui.vx.link](https://ui.vx.link) | **GitHub**:[tmplink/vxui_react](https://github.com/tmplink/vxui_react) | [English Version](README.md)
|
|
4
4
|
|
|
5
|
-
一套适用于后台、运营台、仪表盘和内部工具的通用 React UI 组件库。基于 CSS 自定义属性(设计令牌)做主题化,基于 Radix UI
|
|
6
|
-
|
|
7
|
-
> **安全公告**:1.0.0 是彻底清除供应链攻击痕迹后的安全版本。git 历史中发现的恶意 `postinstall` 脚本(提交 `9c15fc0` / `fd8700d`)和自引用依赖(`c2bc8b9`)均已清除。本版本同时将包名从 `vxui-re` 更名为 `vxui-re`。详见 [CHANGELOG.md](CHANGELOG.md)。
|
|
5
|
+
一套适用于后台、运营台、仪表盘和内部工具的通用 React UI 组件库。基于 CSS 自定义属性(设计令牌)做主题化,基于 Radix UI 基元做无障碍支持。
|
|
8
6
|
|
|
9
7
|
## 安装
|
|
10
8
|
|
package/package.json
CHANGED
package/dist/.assetsignore
DELETED
package/dist/404.html
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<title>VXUI React</title>
|
|
6
|
-
<script>
|
|
7
|
-
// GitHub Pages SPA redirect hack.
|
|
8
|
-
// Redirects all 404s back to index.html, preserving the full path as a
|
|
9
|
-
// query-string so the SPA router can restore it client-side.
|
|
10
|
-
var l = window.location;
|
|
11
|
-
l.replace(
|
|
12
|
-
l.protocol + '//' + l.host + '/?p=' +
|
|
13
|
-
encodeURIComponent(l.pathname + l.search) + l.hash
|
|
14
|
-
);
|
|
15
|
-
</script>
|
|
16
|
-
</head>
|
|
17
|
-
<body></body>
|
|
18
|
-
</html>
|
|
Binary file
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" id="层_1" data-name="层 1" viewBox="0 0 192 192">
|
|
2
|
-
<defs>
|
|
3
|
-
<!-- 日落橙金渐变背景 -->
|
|
4
|
-
<linearGradient id="bgGradient" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
5
|
-
<stop offset="0%" stop-color="#C0392B"/>
|
|
6
|
-
<stop offset="30%" stop-color="#E8541A"/>
|
|
7
|
-
<stop offset="65%" stop-color="#F39C12"/>
|
|
8
|
-
<stop offset="100%" stop-color="#F1C40F"/>
|
|
9
|
-
</linearGradient>
|
|
10
|
-
<!-- 左侧形状:白色微暖 -->
|
|
11
|
-
<linearGradient id="shapeGrad1" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
12
|
-
<stop offset="0%" stop-color="#FFFFFF" stop-opacity="1"/>
|
|
13
|
-
<stop offset="100%" stop-color="#FFF5E0" stop-opacity="0.93"/>
|
|
14
|
-
</linearGradient>
|
|
15
|
-
<!-- 右侧形状:白色微暖 -->
|
|
16
|
-
<linearGradient id="shapeGrad2" x1="100%" y1="0%" x2="0%" y2="100%">
|
|
17
|
-
<stop offset="0%" stop-color="#FFFFFF" stop-opacity="1"/>
|
|
18
|
-
<stop offset="100%" stop-color="#FFF8E7" stop-opacity="0.93"/>
|
|
19
|
-
</linearGradient>
|
|
20
|
-
</defs>
|
|
21
|
-
|
|
22
|
-
<!-- 圆角矩形背景:炫彩渐变 -->
|
|
23
|
-
<rect width="192" height="192" rx="22.88" fill="url(#bgGradient)"/>
|
|
24
|
-
|
|
25
|
-
<!-- 左侧 X 字形 -->
|
|
26
|
-
<polygon
|
|
27
|
-
points="45 36.75 28.5 36.75 61.5 90.75 26.25 144 42.75 144 79.5 91.5 45 36.75"
|
|
28
|
-
fill="url(#shapeGrad1)"/>
|
|
29
|
-
|
|
30
|
-
<!-- 右侧 XX 字形 -->
|
|
31
|
-
<polygon
|
|
32
|
-
points="162.75 36.75 141 36.75 115.5 81 91.5 37.5 68.25 37.5 102.75 91.5 66 144 88.5 144 114 102.75 138.75 144.75 161.25 144.75 126.75 90.75 162.75 36.75"
|
|
33
|
-
fill="url(#shapeGrad2)"/>
|
|
34
|
-
|
|
35
|
-
<!-- 底部装饰:暖色圆点 -->
|
|
36
|
-
<circle cx="31.5" cy="170.63" r="3.75" fill="#FF4D4D"/>
|
|
37
|
-
<circle cx="42.75" cy="170.63" r="3.75" fill="#FF8C00"/>
|
|
38
|
-
<circle cx="54" cy="170.63" r="3.75" fill="#FFC300"/>
|
|
39
|
-
<circle cx="131.25" cy="170.63" r="3.75" fill="#FF6B35"/>
|
|
40
|
-
<circle cx="142.5" cy="170.63" r="3.75" fill="#FFD700"/>
|
|
41
|
-
|
|
42
|
-
<!-- 底部装饰:短横条(暖色) -->
|
|
43
|
-
<rect x="60.75" y="166.88" width="18.75" height="7.5" rx="3.75" fill="#E74C3C"/>
|
|
44
|
-
<rect x="105" y="166.88" width="18.75" height="7.5" rx="3.75" fill="#F39C12"/>
|
|
45
|
-
<rect x="149.25" y="166.88" width="18.75" height="7.5" rx="3.75" fill="#FFEAA7"/>
|
|
46
|
-
</svg>
|