@easyv/react-components 0.0.1
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/LICENSE +21 -0
- package/README.md +48 -0
- package/dist/Affix/index.d.ts +4 -0
- package/dist/Affix/index.js +3 -0
- package/dist/Affix/index.less +0 -0
- package/dist/Affix/interface.d.ts +1 -0
- package/dist/Affix/interface.js +1 -0
- package/dist/Alert/index.d.ts +4 -0
- package/dist/Alert/index.js +3 -0
- package/dist/Alert/index.less +0 -0
- package/dist/Alert/interface.d.ts +1 -0
- package/dist/Alert/interface.js +1 -0
- package/dist/Anchor/index.d.ts +4 -0
- package/dist/Anchor/index.js +3 -0
- package/dist/Anchor/index.less +0 -0
- package/dist/Anchor/interface.d.ts +1 -0
- package/dist/Anchor/interface.js +1 -0
- package/dist/AutoComplete/index.d.ts +4 -0
- package/dist/AutoComplete/index.js +3 -0
- package/dist/AutoComplete/index.less +0 -0
- package/dist/AutoComplete/interface.d.ts +1 -0
- package/dist/AutoComplete/interface.js +1 -0
- package/dist/Avatar/index.d.ts +4 -0
- package/dist/Avatar/index.js +3 -0
- package/dist/Avatar/index.less +0 -0
- package/dist/Avatar/interface.d.ts +1 -0
- package/dist/Avatar/interface.js +1 -0
- package/dist/BackTop/demo.css +22 -0
- package/dist/BackTop/index.d.ts +4 -0
- package/dist/BackTop/index.js +3 -0
- package/dist/BackTop/index.less +0 -0
- package/dist/BackTop/interface.d.ts +1 -0
- package/dist/BackTop/interface.js +1 -0
- package/dist/Badge/index.d.ts +4 -0
- package/dist/Badge/index.js +3 -0
- package/dist/Badge/index.less +0 -0
- package/dist/Badge/interface.d.ts +1 -0
- package/dist/Badge/interface.js +1 -0
- package/dist/Breadcrumb/index.d.ts +4 -0
- package/dist/Breadcrumb/index.js +3 -0
- package/dist/Breadcrumb/index.less +0 -0
- package/dist/Breadcrumb/interface.d.ts +1 -0
- package/dist/Breadcrumb/interface.js +1 -0
- package/dist/Button/index.d.ts +12 -0
- package/dist/Button/index.js +27 -0
- package/dist/Button/index.less +33 -0
- package/dist/Button/interface.d.ts +1 -0
- package/dist/Button/interface.js +1 -0
- package/dist/Calendar/index.d.ts +4 -0
- package/dist/Calendar/index.js +3 -0
- package/dist/Calendar/index.less +0 -0
- package/dist/Calendar/interface.d.ts +1 -0
- package/dist/Calendar/interface.js +1 -0
- package/dist/Card/demo.css +25 -0
- package/dist/Card/index.d.ts +4 -0
- package/dist/Card/index.js +3 -0
- package/dist/Card/index.less +0 -0
- package/dist/Card/interface.d.ts +1 -0
- package/dist/Card/interface.js +1 -0
- package/dist/Carousel/index.d.ts +4 -0
- package/dist/Carousel/index.js +3 -0
- package/dist/Carousel/index.less +0 -0
- package/dist/Carousel/interface.d.ts +1 -0
- package/dist/Carousel/interface.js +1 -0
- package/dist/Cascader/demo.css +8 -0
- package/dist/Cascader/index.d.ts +4 -0
- package/dist/Cascader/index.js +3 -0
- package/dist/Cascader/index.less +0 -0
- package/dist/Cascader/interface.d.ts +1 -0
- package/dist/Cascader/interface.js +1 -0
- package/dist/Checkbox/demo.css +59 -0
- package/dist/Checkbox/index.d.ts +4 -0
- package/dist/Checkbox/index.js +3 -0
- package/dist/Checkbox/index.less +0 -0
- package/dist/Checkbox/interface.d.ts +1 -0
- package/dist/Checkbox/interface.js +1 -0
- package/dist/Collapse/index.d.ts +4 -0
- package/dist/Collapse/index.js +3 -0
- package/dist/Collapse/index.less +0 -0
- package/dist/Collapse/interface.d.ts +1 -0
- package/dist/Collapse/interface.js +1 -0
- package/dist/Comment/demo.css +19 -0
- package/dist/Comment/index.d.ts +4 -0
- package/dist/Comment/index.js +3 -0
- package/dist/Comment/index.less +0 -0
- package/dist/Comment/interface.d.ts +1 -0
- package/dist/Comment/interface.js +1 -0
- package/dist/ConfigProvider/demo.css +3 -0
- package/dist/ConfigProvider/index.d.ts +4 -0
- package/dist/ConfigProvider/index.js +3 -0
- package/dist/ConfigProvider/index.less +0 -0
- package/dist/ConfigProvider/interface.d.ts +1 -0
- package/dist/ConfigProvider/interface.js +1 -0
- package/dist/DatePicker/index.d.ts +17 -0
- package/dist/DatePicker/index.js +95 -0
- package/dist/DatePicker/index.less +4 -0
- package/dist/DatePicker/interface.d.ts +17 -0
- package/dist/DatePicker/interface.js +1 -0
- package/dist/Descriptions/index.d.ts +4 -0
- package/dist/Descriptions/index.js +3 -0
- package/dist/Descriptions/index.less +0 -0
- package/dist/Descriptions/interface.d.ts +1 -0
- package/dist/Descriptions/interface.js +1 -0
- package/dist/Divider/index.d.ts +4 -0
- package/dist/Divider/index.js +23 -0
- package/dist/Divider/index.less +5 -0
- package/dist/Divider/interface.d.ts +5 -0
- package/dist/Divider/interface.js +1 -0
- package/dist/Drawer/index.d.ts +4 -0
- package/dist/Drawer/index.js +3 -0
- package/dist/Drawer/index.less +0 -0
- package/dist/Drawer/interface.d.ts +1 -0
- package/dist/Drawer/interface.js +1 -0
- package/dist/Dropdown/demo.css +8 -0
- package/dist/Dropdown/index.d.ts +4 -0
- package/dist/Dropdown/index.js +3 -0
- package/dist/Dropdown/index.less +4 -0
- package/dist/Dropdown/interface.d.ts +1 -0
- package/dist/Dropdown/interface.js +1 -0
- package/dist/Empty/index.d.ts +4 -0
- package/dist/Empty/index.js +3 -0
- package/dist/Empty/index.less +0 -0
- package/dist/Empty/interface.d.ts +1 -0
- package/dist/Empty/interface.js +1 -0
- package/dist/Form/index.d.ts +4 -0
- package/dist/Form/index.js +3 -0
- package/dist/Form/index.less +0 -0
- package/dist/Form/interface.d.ts +1 -0
- package/dist/Form/interface.js +1 -0
- package/dist/Grid/demo.css +122 -0
- package/dist/Grid/index.d.ts +4 -0
- package/dist/Grid/index.js +3 -0
- package/dist/Grid/index.less +0 -0
- package/dist/Grid/interface.d.ts +1 -0
- package/dist/Grid/interface.js +1 -0
- package/dist/Image/demo.css +53 -0
- package/dist/Image/index.d.ts +4 -0
- package/dist/Image/index.js +3 -0
- package/dist/Image/index.less +0 -0
- package/dist/Image/interface.d.ts +1 -0
- package/dist/Image/interface.js +1 -0
- package/dist/Input/index.d.ts +15 -0
- package/dist/Input/index.js +53 -0
- package/dist/Input/index.less +63 -0
- package/dist/Input/interface.d.ts +9 -0
- package/dist/Input/interface.js +1 -0
- package/dist/InputNumber/index.d.ts +4 -0
- package/dist/InputNumber/index.js +3 -0
- package/dist/InputNumber/index.less +0 -0
- package/dist/InputNumber/interface.d.ts +1 -0
- package/dist/InputNumber/interface.js +1 -0
- package/dist/InputTag/index.d.ts +4 -0
- package/dist/InputTag/index.js +3 -0
- package/dist/InputTag/index.less +0 -0
- package/dist/InputTag/interface.d.ts +1 -0
- package/dist/InputTag/interface.js +1 -0
- package/dist/Layout/demo.css +84 -0
- package/dist/Layout/index.d.ts +4 -0
- package/dist/Layout/index.js +4 -0
- package/dist/Layout/index.less +0 -0
- package/dist/Layout/interface.d.ts +1 -0
- package/dist/Layout/interface.js +1 -0
- package/dist/Link/index.d.ts +4 -0
- package/dist/Link/index.js +3 -0
- package/dist/Link/index.less +0 -0
- package/dist/Link/interface.d.ts +1 -0
- package/dist/Link/interface.js +1 -0
- package/dist/List/demo.css +58 -0
- package/dist/List/index.d.ts +4 -0
- package/dist/List/index.js +3 -0
- package/dist/List/index.less +0 -0
- package/dist/List/interface.d.ts +1 -0
- package/dist/List/interface.js +1 -0
- package/dist/Mentions/index.d.ts +4 -0
- package/dist/Mentions/index.js +3 -0
- package/dist/Mentions/index.less +0 -0
- package/dist/Mentions/interface.d.ts +1 -0
- package/dist/Mentions/interface.js +1 -0
- package/dist/Menu/demo.css +102 -0
- package/dist/Menu/index.d.ts +17 -0
- package/dist/Menu/index.js +34 -0
- package/dist/Menu/index.less +0 -0
- package/dist/Menu/interface.d.ts +1 -0
- package/dist/Menu/interface.js +1 -0
- package/dist/Message/demo.css +22 -0
- package/dist/Message/index.d.ts +5 -0
- package/dist/Message/index.js +3 -0
- package/dist/Message/index.less +3 -0
- package/dist/Message/interface.d.ts +1 -0
- package/dist/Message/interface.js +1 -0
- package/dist/Modal/demo.css +3 -0
- package/dist/Modal/index.d.ts +5 -0
- package/dist/Modal/index.js +3 -0
- package/dist/Modal/index.less +7 -0
- package/dist/Modal/interface.d.ts +1 -0
- package/dist/Modal/interface.js +1 -0
- package/dist/Notification/index.d.ts +4 -0
- package/dist/Notification/index.js +3 -0
- package/dist/Notification/index.less +0 -0
- package/dist/Notification/interface.d.ts +1 -0
- package/dist/Notification/interface.js +1 -0
- package/dist/PageHeader/index.d.ts +4 -0
- package/dist/PageHeader/index.js +3 -0
- package/dist/PageHeader/index.less +0 -0
- package/dist/PageHeader/interface.d.ts +1 -0
- package/dist/PageHeader/interface.js +1 -0
- package/dist/Pagination/index.d.ts +4 -0
- package/dist/Pagination/index.js +3 -0
- package/dist/Pagination/index.less +0 -0
- package/dist/Pagination/interface.d.ts +1 -0
- package/dist/Pagination/interface.js +1 -0
- package/dist/Popconfirm/index.d.ts +4 -0
- package/dist/Popconfirm/index.js +3 -0
- package/dist/Popconfirm/index.less +0 -0
- package/dist/Popconfirm/interface.d.ts +1 -0
- package/dist/Popconfirm/interface.js +1 -0
- package/dist/Popover/index.d.ts +4 -0
- package/dist/Popover/index.js +3 -0
- package/dist/Popover/index.less +0 -0
- package/dist/Popover/interface.d.ts +1 -0
- package/dist/Popover/interface.js +1 -0
- package/dist/Progress/index.d.ts +4 -0
- package/dist/Progress/index.js +3 -0
- package/dist/Progress/index.less +0 -0
- package/dist/Progress/interface.d.ts +1 -0
- package/dist/Progress/interface.js +1 -0
- package/dist/Radio/demo.css +59 -0
- package/dist/Radio/index.d.ts +9 -0
- package/dist/Radio/index.js +26 -0
- package/dist/Radio/index.less +103 -0
- package/dist/Radio/interface.d.ts +6 -0
- package/dist/Radio/interface.js +1 -0
- package/dist/Rate/index.d.ts +4 -0
- package/dist/Rate/index.js +3 -0
- package/dist/Rate/index.less +0 -0
- package/dist/Rate/interface.d.ts +1 -0
- package/dist/Rate/interface.js +1 -0
- package/dist/ResizeBox/demo.css +69 -0
- package/dist/ResizeBox/index.d.ts +4 -0
- package/dist/ResizeBox/index.js +3 -0
- package/dist/ResizeBox/index.less +0 -0
- package/dist/ResizeBox/interface.d.ts +1 -0
- package/dist/ResizeBox/interface.js +1 -0
- package/dist/Result/index.d.ts +4 -0
- package/dist/Result/index.js +3 -0
- package/dist/Result/index.less +0 -0
- package/dist/Result/interface.d.ts +1 -0
- package/dist/Result/interface.js +1 -0
- package/dist/Select/demo.css +16 -0
- package/dist/Select/index.d.ts +4 -0
- package/dist/Select/index.js +3 -0
- package/dist/Select/index.less +72 -0
- package/dist/Select/interface.d.ts +2 -0
- package/dist/Select/interface.js +1 -0
- package/dist/Skeleton/index.d.ts +4 -0
- package/dist/Skeleton/index.js +3 -0
- package/dist/Skeleton/index.less +0 -0
- package/dist/Skeleton/interface.d.ts +1 -0
- package/dist/Skeleton/interface.js +1 -0
- package/dist/Slider/index.d.ts +4 -0
- package/dist/Slider/index.js +3 -0
- package/dist/Slider/index.less +0 -0
- package/dist/Slider/interface.d.ts +1 -0
- package/dist/Slider/interface.js +1 -0
- package/dist/Space/index.d.ts +4 -0
- package/dist/Space/index.js +3 -0
- package/dist/Space/index.less +0 -0
- package/dist/Space/interface.d.ts +1 -0
- package/dist/Space/interface.js +1 -0
- package/dist/Spin/index.d.ts +4 -0
- package/dist/Spin/index.js +3 -0
- package/dist/Spin/index.less +0 -0
- package/dist/Spin/interface.d.ts +1 -0
- package/dist/Spin/interface.js +1 -0
- package/dist/Statistic/index.d.ts +4 -0
- package/dist/Statistic/index.js +3 -0
- package/dist/Statistic/index.less +0 -0
- package/dist/Statistic/interface.d.ts +1 -0
- package/dist/Statistic/interface.js +1 -0
- package/dist/Steps/index.d.ts +4 -0
- package/dist/Steps/index.js +3 -0
- package/dist/Steps/index.less +0 -0
- package/dist/Steps/interface.d.ts +1 -0
- package/dist/Steps/interface.js +1 -0
- package/dist/Switch/index.d.ts +4 -0
- package/dist/Switch/index.js +3 -0
- package/dist/Switch/index.less +11 -0
- package/dist/Switch/interface.d.ts +1 -0
- package/dist/Switch/interface.js +1 -0
- package/dist/Table/demo.css +31 -0
- package/dist/Table/index.d.ts +4 -0
- package/dist/Table/index.js +3 -0
- package/dist/Table/index.less +0 -0
- package/dist/Table/interface.d.ts +1 -0
- package/dist/Table/interface.js +1 -0
- package/dist/Tabs/index.d.ts +4 -0
- package/dist/Tabs/index.js +3 -0
- package/dist/Tabs/index.less +0 -0
- package/dist/Tabs/interface.d.ts +1 -0
- package/dist/Tabs/interface.js +1 -0
- package/dist/Tag/demo.css +3 -0
- package/dist/Tag/index.d.ts +4 -0
- package/dist/Tag/index.js +3 -0
- package/dist/Tag/index.less +17 -0
- package/dist/Tag/interface.d.ts +1 -0
- package/dist/Tag/interface.js +1 -0
- package/dist/TimePicker/index.d.ts +4 -0
- package/dist/TimePicker/index.js +3 -0
- package/dist/TimePicker/index.less +0 -0
- package/dist/TimePicker/interface.d.ts +1 -0
- package/dist/TimePicker/interface.js +1 -0
- package/dist/Timeline/index.d.ts +4 -0
- package/dist/Timeline/index.js +3 -0
- package/dist/Timeline/index.less +0 -0
- package/dist/Timeline/interface.d.ts +1 -0
- package/dist/Timeline/interface.js +1 -0
- package/dist/Tooltip/index.d.ts +4 -0
- package/dist/Tooltip/index.js +3 -0
- package/dist/Tooltip/index.less +0 -0
- package/dist/Tooltip/interface.d.ts +1 -0
- package/dist/Tooltip/interface.js +1 -0
- package/dist/Transfer/demo.css +8 -0
- package/dist/Transfer/index.d.ts +4 -0
- package/dist/Transfer/index.js +3 -0
- package/dist/Transfer/index.less +0 -0
- package/dist/Transfer/interface.d.ts +1 -0
- package/dist/Transfer/interface.js +1 -0
- package/dist/Tree/demo.css +14 -0
- package/dist/Tree/index.d.ts +4 -0
- package/dist/Tree/index.js +3 -0
- package/dist/Tree/index.less +0 -0
- package/dist/Tree/interface.d.ts +1 -0
- package/dist/Tree/interface.js +1 -0
- package/dist/TreeSelect/index.d.ts +4 -0
- package/dist/TreeSelect/index.js +3 -0
- package/dist/TreeSelect/index.less +0 -0
- package/dist/TreeSelect/interface.d.ts +1 -0
- package/dist/TreeSelect/interface.js +1 -0
- package/dist/Trigger/demo.css +16 -0
- package/dist/Trigger/index.d.ts +4 -0
- package/dist/Trigger/index.js +3 -0
- package/dist/Trigger/index.less +0 -0
- package/dist/Trigger/interface.d.ts +1 -0
- package/dist/Trigger/interface.js +1 -0
- package/dist/Typography/index.d.ts +4 -0
- package/dist/Typography/index.js +3 -0
- package/dist/Typography/index.less +0 -0
- package/dist/Typography/interface.d.ts +1 -0
- package/dist/Typography/interface.js +1 -0
- package/dist/Upload/demo.css +116 -0
- package/dist/Upload/index.d.ts +4 -0
- package/dist/Upload/index.js +3 -0
- package/dist/Upload/index.less +0 -0
- package/dist/Upload/interface.d.ts +2 -0
- package/dist/Upload/interface.js +1 -0
- package/dist/index.css +4 -0
- package/dist/index.d.ts +133 -0
- package/dist/index.js +67 -0
- package/package.json +100 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) xiaoyaoliu@dtstack.com
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# @easyv/react-components
|
|
2
|
+
|
|
3
|
+
[](https://npmjs.org/package/@easyv/react-components)
|
|
4
|
+
[](https://npmjs.org/package/@easyv/react-components)
|
|
5
|
+
|
|
6
|
+
a react component library base on arco design
|
|
7
|
+
|
|
8
|
+
## Usage
|
|
9
|
+
|
|
10
|
+
TODO
|
|
11
|
+
|
|
12
|
+
## Options
|
|
13
|
+
|
|
14
|
+
TODO
|
|
15
|
+
|
|
16
|
+
## Development
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
# install dependencies
|
|
20
|
+
$ pnpm install
|
|
21
|
+
|
|
22
|
+
# develop library by docs demo
|
|
23
|
+
$ pnpm start
|
|
24
|
+
|
|
25
|
+
# build library source code
|
|
26
|
+
$ pnpm run build
|
|
27
|
+
|
|
28
|
+
# build library source code in watch mode
|
|
29
|
+
$ pnpm run build:watch
|
|
30
|
+
|
|
31
|
+
# build docs
|
|
32
|
+
$ pnpm run docs:build
|
|
33
|
+
|
|
34
|
+
# check your project for potential problems
|
|
35
|
+
$ pnpm run doctor
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Buglist
|
|
39
|
+
|
|
40
|
+
- radius 没有应用四种尺寸
|
|
41
|
+
- select 下的 tag 颜色没有应用对
|
|
42
|
+
- input disabled background-color 优先级问题
|
|
43
|
+
- radio 中心点的样式 为 color-white 暗色模式下 为透明色,应该为白色,文档中为 hsla(0,0%,100%,0.9),实际配置 rgba(255,255,255,0)
|
|
44
|
+
- input 聚焦的输入框圆角问题
|
|
45
|
+
|
|
46
|
+
## LICENSE
|
|
47
|
+
|
|
48
|
+
MIT
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { AffixProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { AlertProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { AnchorProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { AutoCompleteProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { AvatarProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.custom-backtop {
|
|
2
|
+
position: absolute;
|
|
3
|
+
width: 40px;
|
|
4
|
+
height: 40px;
|
|
5
|
+
background: var(--color-fill-2);
|
|
6
|
+
border: 1px solid var(--color-border);
|
|
7
|
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
8
|
+
border-radius: 2px;
|
|
9
|
+
text-align: center;
|
|
10
|
+
font-weight: 800;
|
|
11
|
+
font-size: 12px;
|
|
12
|
+
color: #86909c;
|
|
13
|
+
transition: all 0.1s ease;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.custom-backtop:hover {
|
|
17
|
+
background: var(--color-fill-3);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.custom-backtop:focus-visible {
|
|
21
|
+
box-shadow: 0 0 0 2px var(--color-primary-light-3);
|
|
22
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { BackTopProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { BadgeProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { BreadcrumbProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ButtonProps, ButtonGroupProps } from './interface';
|
|
3
|
+
import './index.less';
|
|
4
|
+
interface XButtonProps extends Omit<ButtonProps, 'type'> {
|
|
5
|
+
type?: 'link' | ButtonProps['type'];
|
|
6
|
+
}
|
|
7
|
+
declare function XButton({ type, className, ...restProps }: XButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare namespace XButton {
|
|
9
|
+
var Group: import("react").ForwardRefExoticComponent<ButtonGroupProps & import("react").RefAttributes<unknown>>;
|
|
10
|
+
}
|
|
11
|
+
export { XButtonProps as ButtonProps, ButtonGroupProps };
|
|
12
|
+
export default XButton;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
var _excluded = ["type", "className"];
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
9
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
10
|
+
import { Button } from '@arco-design/web-react';
|
|
11
|
+
import classNames from 'classnames';
|
|
12
|
+
import "./index.less";
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
function XButton(_ref) {
|
|
15
|
+
var type = _ref.type,
|
|
16
|
+
className = _ref.className,
|
|
17
|
+
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
18
|
+
var isLink = type === 'link';
|
|
19
|
+
return /*#__PURE__*/_jsx(Button, _objectSpread({
|
|
20
|
+
className: classNames(className, {
|
|
21
|
+
'arco-btn-link': isLink
|
|
22
|
+
}),
|
|
23
|
+
type: isLink ? 'text' : type
|
|
24
|
+
}, restProps));
|
|
25
|
+
}
|
|
26
|
+
XButton.Group = Button.Group;
|
|
27
|
+
export default XButton;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.arco-btn {
|
|
2
|
+
&.arco-btn-link {
|
|
3
|
+
color: rgb(var(--primary-6));
|
|
4
|
+
|
|
5
|
+
&:not(.arco-btn-disabled):not(.arco-btn-loading):hover {
|
|
6
|
+
color: rgb(var(--primary-5));
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&:not(.arco-btn-disabled):not(.arco-btn-loading):active {
|
|
10
|
+
color: rgb(var(--primary-7));
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.arco-btn-disabled {
|
|
14
|
+
color: rgb(var(--primary-3));
|
|
15
|
+
|
|
16
|
+
&:hover {
|
|
17
|
+
color: rgb(var(--primary-3));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&:active {
|
|
21
|
+
color: rgb(var(--primary-3));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
span:has(svg) {
|
|
27
|
+
vertical-align: -2px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
span:has(svg) + span {
|
|
31
|
+
margin-left: 8px;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { ButtonProps, ButtonGroupProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { CalendarProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
.card-with-icon-hover .icon-hover {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
width: 24px;
|
|
6
|
+
height: 24px;
|
|
7
|
+
border-radius: 50%;
|
|
8
|
+
transition: all 0.1s;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.card-with-icon-hover .icon-hover:hover {
|
|
12
|
+
background-color: rgb(var(--gray-2));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.card-demo-in-grid .arco-card-header {
|
|
16
|
+
border: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.card-custom-hover-style {
|
|
20
|
+
transition-property: all;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.card-custom-hover-style:hover {
|
|
24
|
+
transform: translateY(-4px);
|
|
25
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { CardProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { CarouselProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { CascaderProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
input[type='checkbox']:focus-visible + .arco-tag {
|
|
2
|
+
box-shadow: 0 0 0 2px var(--color-primary-light-3);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
input[type='checkbox']:focus-visible + .custom-checkbox-card {
|
|
6
|
+
box-shadow: 0 0 0 2px var(--color-primary-light-3);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.custom-checkbox-card {
|
|
10
|
+
padding: 10px 16px;
|
|
11
|
+
border: 1px solid var(--color-border-2);
|
|
12
|
+
border-radius: 4px;
|
|
13
|
+
width: 250px;
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.custom-checkbox-card-mask {
|
|
18
|
+
height: 14px;
|
|
19
|
+
width: 14px;
|
|
20
|
+
display: inline-flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
border-radius: 2px;
|
|
24
|
+
border: 1px solid var(--color-border-2);
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.custom-checkbox-card-mask-dot {
|
|
29
|
+
width: 8px;
|
|
30
|
+
height: 8px;
|
|
31
|
+
border-radius: 2px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.custom-checkbox-card-title {
|
|
35
|
+
color: var(--color-text-1);
|
|
36
|
+
font-size: 14px;
|
|
37
|
+
font-weight: bold;
|
|
38
|
+
margin-bottom: 8px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.custom-checkbox-card:hover,
|
|
42
|
+
.custom-checkbox-card-checked,
|
|
43
|
+
.custom-checkbox-card:hover .custom-checkbox-card-mask,
|
|
44
|
+
.custom-checkbox-card-checked .custom-checkbox-card-mask {
|
|
45
|
+
border-color: rgb(var(--primary-6));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.custom-checkbox-card-checked {
|
|
49
|
+
background-color: var(--color-primary-light-1);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.custom-checkbox-card:hover .custom-checkbox-card-title,
|
|
53
|
+
.custom-checkbox-card-checked .custom-checkbox-card-title {
|
|
54
|
+
color: rgb(var(--primary-6));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.custom-checkbox-card-checked .custom-checkbox-card-mask-dot {
|
|
58
|
+
background-color: rgb(var(--primary-6));
|
|
59
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { CheckboxProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { CollapseProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.custom-comment-action {
|
|
2
|
+
padding: 0 4px;
|
|
3
|
+
line-height: 24px;
|
|
4
|
+
border-radius: 2px;
|
|
5
|
+
background: transparent;
|
|
6
|
+
transition: all 0.1s ease;
|
|
7
|
+
color: var(--color-text-1);
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
display: inline-block;
|
|
10
|
+
border: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.custom-comment-action:focus-visible {
|
|
14
|
+
box-shadow: inset 0 0 0 2px var(--color-primary-light-3);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.custom-comment-action:hover {
|
|
18
|
+
background: var(--color-fill-3);
|
|
19
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { CommentProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { ConfigProviderProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|