@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
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
.arco-input {
|
|
2
|
+
&.arco-input-borderless {
|
|
3
|
+
border: none;
|
|
4
|
+
box-shadow: none;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
&.arco-input-warning {
|
|
8
|
+
background-color: transparent;
|
|
9
|
+
border: 1px solid rgb(var(--warning-6));
|
|
10
|
+
|
|
11
|
+
&:focus {
|
|
12
|
+
box-shadow: 0 0 0 2px rgb(var(--warning-1));
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.arco-input-group {
|
|
18
|
+
.arco-input-group-addafter {
|
|
19
|
+
border-left: none;
|
|
20
|
+
|
|
21
|
+
.arco-select {
|
|
22
|
+
.arco-select-view {
|
|
23
|
+
border-top-left-radius: 0;
|
|
24
|
+
border-bottom-left-radius: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.arco-input-group-addbefore {
|
|
30
|
+
border-right: none;
|
|
31
|
+
|
|
32
|
+
.arco-select {
|
|
33
|
+
.arco-select-view {
|
|
34
|
+
border-top-left-radius: 0;
|
|
35
|
+
border-bottom-left-radius: 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
& > :first-child:is(.arco-input-inner-wrapper-focus):not(:only-child) {
|
|
41
|
+
border-top-right-radius: 0;
|
|
42
|
+
border-bottom-right-radius: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
& > :last-child:is(.arco-input-inner-wrapper-focus):not(:only-child) {
|
|
46
|
+
border-top-left-radius: 0;
|
|
47
|
+
border-bottom-left-radius: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
& > :nth-child(2):is(.arco-input-inner-wrapper-focus):not(:last-child) {
|
|
51
|
+
border-radius: 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&.arco-input-group-compact > .arco-select .arco-select-view:first-child {
|
|
55
|
+
border-top-left-radius: var(--border-radius-medium);
|
|
56
|
+
border-bottom-left-radius: var(--border-radius-medium);
|
|
57
|
+
border-right-color: transparent;
|
|
58
|
+
|
|
59
|
+
&:hover {
|
|
60
|
+
border-color: rgb(var(--primary-6));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InputProps } from '@arco-design/web-react';
|
|
2
|
+
import type { InputSearchProps, RefInputType } from '@arco-design/web-react/es/Input';
|
|
3
|
+
interface XInputProps extends InputProps {
|
|
4
|
+
bordered?: boolean;
|
|
5
|
+
}
|
|
6
|
+
interface XInputSearchProps extends InputSearchProps {
|
|
7
|
+
bordered?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export type { XInputProps as InputProps, XInputSearchProps as InputSearchProps, RefInputType, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { InputNumberProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { InputTagProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
.layout-basic-demo .arco-layout-header,
|
|
2
|
+
.layout-basic-demo .arco-layout-footer,
|
|
3
|
+
.layout-basic-demo .arco-layout-sider,
|
|
4
|
+
.layout-basic-demo .arco-layout-sider-children,
|
|
5
|
+
.layout-basic-demo .arco-layout-content {
|
|
6
|
+
color: var(--color-white);
|
|
7
|
+
text-align: center;
|
|
8
|
+
font-stretch: condensed;
|
|
9
|
+
font-size: 16px;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.layout-basic-demo .arco-layout-header,
|
|
16
|
+
.layout-basic-demo .arco-layout-footer {
|
|
17
|
+
height: 64px;
|
|
18
|
+
background-color: var(--color-primary-light-4);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.layout-basic-demo .arco-layout-sider {
|
|
22
|
+
width: 206px;
|
|
23
|
+
background-color: var(--color-primary-light-3);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.layout-basic-demo .arco-layout-content {
|
|
27
|
+
background-color: var(--color-primary-light-2);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* ------- */
|
|
31
|
+
|
|
32
|
+
.layout-collapse-demo {
|
|
33
|
+
height: 500px;
|
|
34
|
+
border: 1px solid var(--color-border);
|
|
35
|
+
background: var(--color-fill-2);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.layout-collapse-demo .arco-layout-sider .logo {
|
|
39
|
+
height: 32px;
|
|
40
|
+
margin: 12px 8px;
|
|
41
|
+
background: rgba(255, 255, 255, 20%);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.layout-collapse-demo .arco-layout-sider-light .logo {
|
|
45
|
+
background: var(--color-fill-2);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.layout-collapse-demo .arco-layout-footer,
|
|
49
|
+
.layout-collapse-demo .arco-layout-content {
|
|
50
|
+
color: var(--color-white);
|
|
51
|
+
text-align: center;
|
|
52
|
+
font-stretch: condensed;
|
|
53
|
+
font-size: 16px;
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.layout-collapse-demo .arco-layout-footer {
|
|
60
|
+
color: var(--color-text-2);
|
|
61
|
+
height: 48px;
|
|
62
|
+
line-height: 48px;
|
|
63
|
+
font-weight: 400;
|
|
64
|
+
font-size: 14px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.layout-collapse-demo .arco-layout-content {
|
|
68
|
+
background: var(--color-bg-3);
|
|
69
|
+
color: var(--color-text-2);
|
|
70
|
+
font-weight: 400;
|
|
71
|
+
font-size: 14px;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.layout-collapse-demo .arco-layout-header {
|
|
75
|
+
height: 64px;
|
|
76
|
+
line-height: 64px;
|
|
77
|
+
background: var(--color-bg-3);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.layout-collapse-demo .arco-layout-header .trigger {
|
|
81
|
+
margin-left: 20px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* -------- */
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { LayoutProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { LinkProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.list-demo-actions-icon {
|
|
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
|
+
.list-demo-actions-icon:hover {
|
|
12
|
+
background-color: var(--color-fill-3);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.list-demo-actions-button[tabindex]:focus-visible {
|
|
16
|
+
box-shadow: 0 0 0 2px var(--color-primary-light-3);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.list-demo-actions-button {
|
|
20
|
+
position: relative;
|
|
21
|
+
padding: 0 4px;
|
|
22
|
+
border-radius: 2px;
|
|
23
|
+
color: rgb(var(--arcoblue-6));
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
transition: all 0.1s;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.list-demo-actions-button:hover {
|
|
29
|
+
background-color: var(--color-fill-3);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.list-demo-actions
|
|
33
|
+
.arco-list-item-action
|
|
34
|
+
li:not(:last-child)
|
|
35
|
+
.list-demo-actions-button::after {
|
|
36
|
+
content: '';
|
|
37
|
+
position: absolute;
|
|
38
|
+
top: 3px;
|
|
39
|
+
right: -10px;
|
|
40
|
+
width: 1px;
|
|
41
|
+
height: 12px;
|
|
42
|
+
background-color: var(--color-fill-3);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.list-demo-action-layout .image-area {
|
|
46
|
+
width: 183px;
|
|
47
|
+
height: 119px;
|
|
48
|
+
border-radius: 2px;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.list-demo-action-layout .image-area img {
|
|
53
|
+
width: 100%;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.list-demo-action-layout .arco-list-item-action .arco-icon {
|
|
57
|
+
margin: 0 4px;
|
|
58
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { ListProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { MentionsProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
.menu-demo {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
width: 100%;
|
|
4
|
+
padding: 40px;
|
|
5
|
+
background-color: var(--color-neutral-2);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.menu-demo .arco-menu-inner {
|
|
9
|
+
overflow-y: auto;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.menu-demo-round {
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
width: 100%;
|
|
15
|
+
padding: 40px;
|
|
16
|
+
background-color: var(--color-neutral-2);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.menu-demo-round .arco-menu-inner {
|
|
20
|
+
overflow-y: auto;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.menu-demo-round .arco-menu {
|
|
24
|
+
height: 100%;
|
|
25
|
+
box-shadow: 0 0 1px rgba(0, 0, 0, 30%);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.menu-demo-round
|
|
29
|
+
.arco-menu:not(.arco-menu-collapse)
|
|
30
|
+
.arco-menu-collapse-button {
|
|
31
|
+
right: 0;
|
|
32
|
+
bottom: 8px;
|
|
33
|
+
transform: translateX(50%);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.menu-demo-round .arco-menu:not(.arco-menu-collapse)::before {
|
|
37
|
+
content: '';
|
|
38
|
+
position: absolute;
|
|
39
|
+
width: 48px;
|
|
40
|
+
height: 48px;
|
|
41
|
+
right: 0;
|
|
42
|
+
bottom: 0;
|
|
43
|
+
border-radius: 50%;
|
|
44
|
+
background-color: inherit;
|
|
45
|
+
box-shadow: -4px 0 2px var(--color-bg-2), 0 0 1px rgba(0, 0, 0, 30%);
|
|
46
|
+
transform: translateX(50%);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.menu-demo-round .arco-menu-collapse {
|
|
50
|
+
height: auto;
|
|
51
|
+
padding-top: 24px;
|
|
52
|
+
padding-bottom: 138px;
|
|
53
|
+
border-radius: 22px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.menu-demo-round .arco-menu-collapse-button {
|
|
57
|
+
right: 8px;
|
|
58
|
+
bottom: 8px;
|
|
59
|
+
width: 32px;
|
|
60
|
+
height: 32px;
|
|
61
|
+
border-radius: 50%;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.menu-demo-button {
|
|
65
|
+
position: relative;
|
|
66
|
+
width: 660px;
|
|
67
|
+
height: 300px;
|
|
68
|
+
background-color: var(--color-fill-2);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.button-trigger {
|
|
72
|
+
display: flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
justify-content: center;
|
|
75
|
+
position: absolute;
|
|
76
|
+
bottom: 80px;
|
|
77
|
+
width: 40px;
|
|
78
|
+
height: 40px;
|
|
79
|
+
border-radius: 50%;
|
|
80
|
+
font-size: 14px;
|
|
81
|
+
color: var(--color-white);
|
|
82
|
+
cursor: pointer;
|
|
83
|
+
transition: all 0.1s;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.button-trigger:nth-child(1) {
|
|
87
|
+
left: 150px;
|
|
88
|
+
background-color: var(--color-neutral-5);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.button-trigger:nth-child(1).button-trigger-active {
|
|
92
|
+
background-color: var(--color-neutral-4);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.button-trigger:nth-child(2) {
|
|
96
|
+
left: 372px;
|
|
97
|
+
background-color: rgb(var(--arcoblue-6));
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.button-trigger:nth-child(2).button-trigger-active {
|
|
101
|
+
background-color: var(--color-primary-light-4);
|
|
102
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { MenuProps } from './interface';
|
|
3
|
+
import './index.less';
|
|
4
|
+
declare const XMenu: React.ForwardRefExoticComponent<MenuProps & React.RefAttributes<unknown>> & {
|
|
5
|
+
Item: React.ForwardRefExoticComponent<import("@arco-design/web-react").MenuItemProps & React.RefAttributes<unknown>> & {
|
|
6
|
+
menuType: string;
|
|
7
|
+
};
|
|
8
|
+
ItemGroup: React.ForwardRefExoticComponent<import("@arco-design/web-react").MenuItemGroupProps & React.RefAttributes<unknown>> & {
|
|
9
|
+
menuType: string;
|
|
10
|
+
};
|
|
11
|
+
SubMenu: React.ForwardRefExoticComponent<import("@arco-design/web-react").MenuSubMenuProps & React.RefAttributes<unknown>> & {
|
|
12
|
+
menuType: string;
|
|
13
|
+
};
|
|
14
|
+
__ARCO_MENU__: boolean;
|
|
15
|
+
};
|
|
16
|
+
export default XMenu;
|
|
17
|
+
export { MenuProps };
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
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; }
|
|
3
|
+
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; }
|
|
4
|
+
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; }
|
|
5
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
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); }
|
|
7
|
+
import React, { forwardRef } from 'react';
|
|
8
|
+
import { Menu } from '@arco-design/web-react';
|
|
9
|
+
import { DownOutlined, RightOutlined } from '@easyv/react-icons';
|
|
10
|
+
import "./index.less";
|
|
11
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
+
var XMenu = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
13
|
+
return /*#__PURE__*/_jsx(Menu, _objectSpread(_objectSpread({
|
|
14
|
+
ref: ref
|
|
15
|
+
}, props), {}, {
|
|
16
|
+
icons: {
|
|
17
|
+
horizontalArrowDown: /*#__PURE__*/_jsx(DownOutlined, {
|
|
18
|
+
style: {
|
|
19
|
+
verticalAlign: -2
|
|
20
|
+
}
|
|
21
|
+
}),
|
|
22
|
+
popArrowRight: /*#__PURE__*/_jsx(RightOutlined, {
|
|
23
|
+
style: {
|
|
24
|
+
verticalAlign: -2
|
|
25
|
+
}
|
|
26
|
+
})
|
|
27
|
+
}
|
|
28
|
+
}));
|
|
29
|
+
});
|
|
30
|
+
XMenu.Item = Menu.Item;
|
|
31
|
+
XMenu.SubMenu = Menu.SubMenu;
|
|
32
|
+
XMenu.ItemGroup = Menu.ItemGroup;
|
|
33
|
+
XMenu.__ARCO_MENU__ = Menu.__ARCO_MENU__;
|
|
34
|
+
export default XMenu;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { MenuProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.my-animation-enter {
|
|
2
|
+
opacity: 0;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.my-animation-enter-active {
|
|
6
|
+
opacity: 1;
|
|
7
|
+
transition: opacity 1s linear;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.my-animation-exit {
|
|
11
|
+
opacity: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.my-animation-exit-active {
|
|
15
|
+
opacity: 0;
|
|
16
|
+
height: 0;
|
|
17
|
+
transition: all 0.5s linear;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.demo-holder-wrapper .arco-message-wrapper {
|
|
21
|
+
left: 0;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { MessageProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { ModalProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { NotificationProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { PageHeaderProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { PaginationProps } from '@arco-design/web-react';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|