mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-12 04:13:13 +08:00
chore: next merge master
This commit is contained in:
commit
4607346d3c
@ -1,15 +1,15 @@
|
|||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import DownOutlined from '@ant-design/icons/DownOutlined';
|
import DownOutlined from '@ant-design/icons/DownOutlined';
|
||||||
|
|
||||||
import DropDown, { DropDownProps } from '../dropdown/dropdown';
|
import Dropdown, { DropdownProps } from '../dropdown/dropdown';
|
||||||
import { ConfigContext } from '../config-provider';
|
import { ConfigContext } from '../config-provider';
|
||||||
|
|
||||||
export interface BreadcrumbItemProps {
|
export interface BreadcrumbItemProps {
|
||||||
prefixCls?: string;
|
prefixCls?: string;
|
||||||
separator?: React.ReactNode;
|
separator?: React.ReactNode;
|
||||||
href?: string;
|
href?: string;
|
||||||
overlay?: DropDownProps['overlay'];
|
overlay?: DropdownProps['overlay'];
|
||||||
dropdownProps?: DropDownProps;
|
dropdownProps?: DropdownProps;
|
||||||
onClick?: React.MouseEventHandler<HTMLAnchorElement | HTMLSpanElement>;
|
onClick?: React.MouseEventHandler<HTMLAnchorElement | HTMLSpanElement>;
|
||||||
className?: string;
|
className?: string;
|
||||||
children?: React.ReactNode;
|
children?: React.ReactNode;
|
||||||
@ -27,16 +27,16 @@ const BreadcrumbItem: BreadcrumbItemInterface = ({
|
|||||||
}) => {
|
}) => {
|
||||||
const { getPrefixCls } = React.useContext(ConfigContext);
|
const { getPrefixCls } = React.useContext(ConfigContext);
|
||||||
const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);
|
const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls);
|
||||||
/** If overlay is have Wrap a DropDown */
|
/** If overlay is have Wrap a Dropdown */
|
||||||
const renderBreadcrumbNode = (breadcrumbItem: React.ReactNode) => {
|
const renderBreadcrumbNode = (breadcrumbItem: React.ReactNode) => {
|
||||||
if (overlay) {
|
if (overlay) {
|
||||||
return (
|
return (
|
||||||
<DropDown overlay={overlay} placement="bottomCenter" {...dropdownProps}>
|
<Dropdown overlay={overlay} placement="bottom" {...dropdownProps}>
|
||||||
<span className={`${prefixCls}-overlay-link`}>
|
<span className={`${prefixCls}-overlay-link`}>
|
||||||
{breadcrumbItem}
|
{breadcrumbItem}
|
||||||
<DownOutlined />
|
<DownOutlined />
|
||||||
</span>
|
</span>
|
||||||
</DropDown>
|
</Dropdown>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return breadcrumbItem;
|
return breadcrumbItem;
|
||||||
|
@ -323,8 +323,11 @@ const FormSizeDemo = () => {
|
|||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<a className="ant-dropdown-link" onClick={e => e.preventDefault()}>
|
<a onClick={e => e.preventDefault()}>
|
||||||
Hover me <DownOutlined />
|
<Space>
|
||||||
|
Hover me
|
||||||
|
<DownOutlined />
|
||||||
|
</Space>
|
||||||
</a>
|
</a>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
|
|
||||||
|
@ -2583,28 +2583,41 @@ Array [
|
|||||||
exports[`renders ./components/dropdown/demo/basic.md extend context correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/basic.md extend context correctly 1`] = `
|
||||||
Array [
|
Array [
|
||||||
<a
|
<a
|
||||||
class="ant-dropdown-trigger ant-dropdown-link"
|
class="ant-dropdown-trigger"
|
||||||
>
|
>
|
||||||
Hover me
|
<div
|
||||||
<span
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
Hover me
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>,
|
</a>,
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
@ -4529,28 +4542,41 @@ exports[`renders ./components/dropdown/demo/dropdown-button.md extend context co
|
|||||||
exports[`renders ./components/dropdown/demo/event.md extend context correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/event.md extend context correctly 1`] = `
|
||||||
Array [
|
Array [
|
||||||
<a
|
<a
|
||||||
class="ant-dropdown-trigger ant-dropdown-link"
|
class="ant-dropdown-trigger"
|
||||||
>
|
>
|
||||||
Hover me, Click menu item
|
<div
|
||||||
<span
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
Hover me, Click menu item
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>,
|
</a>,
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
@ -4743,28 +4769,41 @@ Array [
|
|||||||
exports[`renders ./components/dropdown/demo/item.md extend context correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/item.md extend context correctly 1`] = `
|
||||||
Array [
|
Array [
|
||||||
<a
|
<a
|
||||||
class="ant-dropdown-trigger ant-dropdown-link"
|
class="ant-dropdown-trigger"
|
||||||
>
|
>
|
||||||
Hover me
|
<div
|
||||||
<span
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
Hover me
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>,
|
</a>,
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
@ -5488,28 +5527,41 @@ exports[`renders ./components/dropdown/demo/loading.md extend context correctly
|
|||||||
exports[`renders ./components/dropdown/demo/menu-full.md extend context correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/menu-full.md extend context correctly 1`] = `
|
||||||
Array [
|
Array [
|
||||||
<a
|
<a
|
||||||
class="ant-dropdown-trigger ant-dropdown-link"
|
class="ant-dropdown-trigger"
|
||||||
>
|
>
|
||||||
Hover to check menu style
|
<div
|
||||||
<span
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
Hover to check menu style
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>,
|
</a>,
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
@ -6618,28 +6670,41 @@ Array [
|
|||||||
exports[`renders ./components/dropdown/demo/overlay-visible.md extend context correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/overlay-visible.md extend context correctly 1`] = `
|
||||||
Array [
|
Array [
|
||||||
<a
|
<a
|
||||||
class="ant-dropdown-trigger ant-dropdown-link"
|
class="ant-dropdown-trigger"
|
||||||
>
|
>
|
||||||
Hover me
|
<div
|
||||||
<span
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
Hover me
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>,
|
</a>,
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
@ -8154,28 +8219,41 @@ exports[`renders ./components/dropdown/demo/placement.md extend context correctl
|
|||||||
exports[`renders ./components/dropdown/demo/sub-menu.md extend context correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/sub-menu.md extend context correctly 1`] = `
|
||||||
Array [
|
Array [
|
||||||
<a
|
<a
|
||||||
class="ant-dropdown-trigger ant-dropdown-link"
|
class="ant-dropdown-trigger"
|
||||||
>
|
>
|
||||||
Cascading menu
|
<div
|
||||||
<span
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
Cascading menu
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>,
|
</a>,
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
@ -8653,28 +8731,41 @@ Array [
|
|||||||
exports[`renders ./components/dropdown/demo/trigger.md extend context correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/trigger.md extend context correctly 1`] = `
|
||||||
Array [
|
Array [
|
||||||
<a
|
<a
|
||||||
class="ant-dropdown-trigger ant-dropdown-link"
|
class="ant-dropdown-trigger"
|
||||||
>
|
>
|
||||||
Click me
|
<div
|
||||||
<span
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
Click me
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>,
|
</a>,
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
|
@ -110,28 +110,41 @@ Array [
|
|||||||
|
|
||||||
exports[`renders ./components/dropdown/demo/basic.md correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/basic.md correctly 1`] = `
|
||||||
<a
|
<a
|
||||||
class="ant-dropdown-trigger ant-dropdown-link"
|
class="ant-dropdown-trigger"
|
||||||
>
|
>
|
||||||
Hover me
|
<div
|
||||||
<span
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
Hover me
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
@ -356,55 +369,81 @@ exports[`renders ./components/dropdown/demo/dropdown-button.md correctly 1`] = `
|
|||||||
|
|
||||||
exports[`renders ./components/dropdown/demo/event.md correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/event.md correctly 1`] = `
|
||||||
<a
|
<a
|
||||||
class="ant-dropdown-trigger ant-dropdown-link"
|
class="ant-dropdown-trigger"
|
||||||
>
|
>
|
||||||
Hover me, Click menu item
|
<div
|
||||||
<span
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
Hover me, Click menu item
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/dropdown/demo/item.md correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/item.md correctly 1`] = `
|
||||||
<a
|
<a
|
||||||
class="ant-dropdown-trigger ant-dropdown-link"
|
class="ant-dropdown-trigger"
|
||||||
>
|
>
|
||||||
Hover me
|
<div
|
||||||
<span
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
Hover me
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
@ -626,55 +665,81 @@ exports[`renders ./components/dropdown/demo/loading.md correctly 1`] = `
|
|||||||
|
|
||||||
exports[`renders ./components/dropdown/demo/menu-full.md correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/menu-full.md correctly 1`] = `
|
||||||
<a
|
<a
|
||||||
class="ant-dropdown-trigger ant-dropdown-link"
|
class="ant-dropdown-trigger"
|
||||||
>
|
>
|
||||||
Hover to check menu style
|
<div
|
||||||
<span
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
Hover to check menu style
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/dropdown/demo/overlay-visible.md correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/overlay-visible.md correctly 1`] = `
|
||||||
<a
|
<a
|
||||||
class="ant-dropdown-trigger ant-dropdown-link"
|
class="ant-dropdown-trigger"
|
||||||
>
|
>
|
||||||
Hover me
|
<div
|
||||||
<span
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
Hover me
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
@ -784,54 +849,80 @@ exports[`renders ./components/dropdown/demo/placement.md correctly 1`] = `
|
|||||||
|
|
||||||
exports[`renders ./components/dropdown/demo/sub-menu.md correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/sub-menu.md correctly 1`] = `
|
||||||
<a
|
<a
|
||||||
class="ant-dropdown-trigger ant-dropdown-link"
|
class="ant-dropdown-trigger"
|
||||||
>
|
>
|
||||||
Cascading menu
|
<div
|
||||||
<span
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
Cascading menu
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/dropdown/demo/trigger.md correctly 1`] = `
|
exports[`renders ./components/dropdown/demo/trigger.md correctly 1`] = `
|
||||||
<a
|
<a
|
||||||
class="ant-dropdown-trigger ant-dropdown-link"
|
class="ant-dropdown-trigger"
|
||||||
>
|
>
|
||||||
Click me
|
<div
|
||||||
<span
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
Click me
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
`;
|
`;
|
||||||
|
@ -14,7 +14,7 @@ title:
|
|||||||
The most basic dropdown menu.
|
The most basic dropdown menu.
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
import { Menu, Dropdown } from 'antd';
|
import { Menu, Dropdown, Space } from 'antd';
|
||||||
import { DownOutlined, SmileOutlined } from '@ant-design/icons';
|
import { DownOutlined, SmileOutlined } from '@ant-design/icons';
|
||||||
|
|
||||||
const menu = (
|
const menu = (
|
||||||
@ -54,8 +54,11 @@ const menu = (
|
|||||||
|
|
||||||
export default () => (
|
export default () => (
|
||||||
<Dropdown overlay={menu}>
|
<Dropdown overlay={menu}>
|
||||||
<a className="ant-dropdown-link" onClick={e => e.preventDefault()}>
|
<a onClick={e => e.preventDefault()}>
|
||||||
Hover me <DownOutlined />
|
<Space>
|
||||||
|
Hover me
|
||||||
|
<DownOutlined />
|
||||||
|
</Space>
|
||||||
</a>
|
</a>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
);
|
);
|
||||||
|
@ -14,7 +14,7 @@ title:
|
|||||||
An event will be triggered when you click menu items, in which you can make different operations according to item's key.
|
An event will be triggered when you click menu items, in which you can make different operations according to item's key.
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
import { Menu, Dropdown, message } from 'antd';
|
import { Menu, Dropdown, message, Space } from 'antd';
|
||||||
import { DownOutlined } from '@ant-design/icons';
|
import { DownOutlined } from '@ant-design/icons';
|
||||||
|
|
||||||
const onClick = ({ key }) => {
|
const onClick = ({ key }) => {
|
||||||
@ -43,8 +43,11 @@ const menu = (
|
|||||||
|
|
||||||
export default () => (
|
export default () => (
|
||||||
<Dropdown overlay={menu}>
|
<Dropdown overlay={menu}>
|
||||||
<a className="ant-dropdown-link" onClick={e => e.preventDefault()}>
|
<a onClick={e => e.preventDefault()}>
|
||||||
Hover me, Click menu item <DownOutlined />
|
<Space>
|
||||||
|
Hover me, Click menu item
|
||||||
|
<DownOutlined />
|
||||||
|
</Space>
|
||||||
</a>
|
</a>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
);
|
);
|
||||||
|
@ -14,7 +14,7 @@ title:
|
|||||||
Divider and disabled menu item.
|
Divider and disabled menu item.
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
import { Menu, Dropdown } from 'antd';
|
import { Menu, Dropdown, Space } from 'antd';
|
||||||
import { DownOutlined } from '@ant-design/icons';
|
import { DownOutlined } from '@ant-design/icons';
|
||||||
|
|
||||||
const menu = (
|
const menu = (
|
||||||
@ -50,8 +50,11 @@ const menu = (
|
|||||||
|
|
||||||
export default () => (
|
export default () => (
|
||||||
<Dropdown overlay={menu}>
|
<Dropdown overlay={menu}>
|
||||||
<a className="ant-dropdown-link" onClick={e => e.preventDefault()}>
|
<a onClick={e => e.preventDefault()}>
|
||||||
Hover me <DownOutlined />
|
<Space>
|
||||||
|
Hover me
|
||||||
|
<DownOutlined />
|
||||||
|
</Space>
|
||||||
</a>
|
</a>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
);
|
);
|
||||||
|
@ -19,7 +19,7 @@ This demo was created for debugging Menu styles inside Dropdown.
|
|||||||
[#19150](https://github.com/ant-design/ant-design/pull/19150)
|
[#19150](https://github.com/ant-design/ant-design/pull/19150)
|
||||||
|
|
||||||
```tsx
|
```tsx
|
||||||
import { Menu, Dropdown, MenuProps } from 'antd';
|
import { Menu, Dropdown, MenuProps, Space } from 'antd';
|
||||||
import { MailOutlined, AppstoreOutlined, SettingOutlined, DownOutlined } from '@ant-design/icons';
|
import { MailOutlined, AppstoreOutlined, SettingOutlined, DownOutlined } from '@ant-design/icons';
|
||||||
|
|
||||||
type MenuItem = Required<MenuProps>['items'][number];
|
type MenuItem = Required<MenuProps>['items'][number];
|
||||||
@ -71,8 +71,11 @@ const menu = <Menu selectedKeys={['1']} openKeys={['sub1']} items={items} />;
|
|||||||
|
|
||||||
export default () => (
|
export default () => (
|
||||||
<Dropdown overlay={menu}>
|
<Dropdown overlay={menu}>
|
||||||
<a className="ant-dropdown-link" onClick={e => e.preventDefault()}>
|
<a onClick={e => e.preventDefault()}>
|
||||||
Hover to check menu style <DownOutlined />
|
<Space>
|
||||||
|
Hover to check menu style
|
||||||
|
<DownOutlined />
|
||||||
|
</Space>
|
||||||
</a>
|
</a>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
);
|
);
|
||||||
|
@ -14,7 +14,7 @@ title:
|
|||||||
The default is to close the menu when you click on menu items, this feature can be turned off.
|
The default is to close the menu when you click on menu items, this feature can be turned off.
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
import { Menu, Dropdown } from 'antd';
|
import { Menu, Dropdown, Space } from 'antd';
|
||||||
import { DownOutlined } from '@ant-design/icons';
|
import { DownOutlined } from '@ant-design/icons';
|
||||||
|
|
||||||
class OverlayVisible extends React.Component {
|
class OverlayVisible extends React.Component {
|
||||||
@ -58,8 +58,11 @@ class OverlayVisible extends React.Component {
|
|||||||
onVisibleChange={this.handleVisibleChange}
|
onVisibleChange={this.handleVisibleChange}
|
||||||
visible={this.state.visible}
|
visible={this.state.visible}
|
||||||
>
|
>
|
||||||
<a className="ant-dropdown-link" onClick={e => e.preventDefault()}>
|
<a onClick={e => e.preventDefault()}>
|
||||||
Hover me <DownOutlined />
|
<Space>
|
||||||
|
Hover me
|
||||||
|
<DownOutlined />
|
||||||
|
</Space>
|
||||||
</a>
|
</a>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
);
|
);
|
||||||
|
@ -14,7 +14,7 @@ title:
|
|||||||
The menu has multiple levels.
|
The menu has multiple levels.
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
import { Menu, Dropdown } from 'antd';
|
import { Menu, Dropdown, Space } from 'antd';
|
||||||
import { DownOutlined } from '@ant-design/icons';
|
import { DownOutlined } from '@ant-design/icons';
|
||||||
|
|
||||||
const { SubMenu } = Menu;
|
const { SubMenu } = Menu;
|
||||||
@ -71,8 +71,11 @@ const menu = (
|
|||||||
|
|
||||||
export default () => (
|
export default () => (
|
||||||
<Dropdown overlay={menu}>
|
<Dropdown overlay={menu}>
|
||||||
<a className="ant-dropdown-link" onClick={e => e.preventDefault()}>
|
<a onClick={e => e.preventDefault()}>
|
||||||
Cascading menu <DownOutlined />
|
<Space>
|
||||||
|
Cascading menu
|
||||||
|
<DownOutlined />
|
||||||
|
</Space>
|
||||||
</a>
|
</a>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
);
|
);
|
||||||
|
@ -14,7 +14,7 @@ title:
|
|||||||
The default trigger mode is `hover`, you can change it to `click`.
|
The default trigger mode is `hover`, you can change it to `click`.
|
||||||
|
|
||||||
```tsx
|
```tsx
|
||||||
import { Menu, Dropdown } from 'antd';
|
import { Menu, Dropdown, Space } from 'antd';
|
||||||
import { DownOutlined } from '@ant-design/icons';
|
import { DownOutlined } from '@ant-design/icons';
|
||||||
|
|
||||||
const menu = (
|
const menu = (
|
||||||
@ -41,8 +41,11 @@ const menu = (
|
|||||||
|
|
||||||
export default () => (
|
export default () => (
|
||||||
<Dropdown overlay={menu} trigger={['click']}>
|
<Dropdown overlay={menu} trigger={['click']}>
|
||||||
<a className="ant-dropdown-link" onClick={e => e.preventDefault()}>
|
<a onClick={e => e.preventDefault()}>
|
||||||
Click me <DownOutlined />
|
<Space>
|
||||||
|
Click me
|
||||||
|
<DownOutlined />
|
||||||
|
</Space>
|
||||||
</a>
|
</a>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
);
|
);
|
||||||
|
@ -5,13 +5,13 @@ import Button, { ButtonProps } from '../button';
|
|||||||
import { ButtonHTMLType } from '../button/button';
|
import { ButtonHTMLType } from '../button/button';
|
||||||
import { ButtonGroupProps } from '../button/button-group';
|
import { ButtonGroupProps } from '../button/button-group';
|
||||||
import { ConfigContext } from '../config-provider';
|
import { ConfigContext } from '../config-provider';
|
||||||
import Dropdown, { DropDownProps } from './dropdown';
|
import Dropdown, { DropdownProps } from './dropdown';
|
||||||
|
|
||||||
const ButtonGroup = Button.Group;
|
const ButtonGroup = Button.Group;
|
||||||
|
|
||||||
export type DropdownButtonType = 'default' | 'primary' | 'ghost' | 'dashed' | 'link' | 'text';
|
export type DropdownButtonType = 'default' | 'primary' | 'ghost' | 'dashed' | 'link' | 'text';
|
||||||
|
|
||||||
export interface DropdownButtonProps extends ButtonGroupProps, DropDownProps {
|
export interface DropdownButtonProps extends ButtonGroupProps, DropdownProps {
|
||||||
type?: DropdownButtonType;
|
type?: DropdownButtonType;
|
||||||
htmlType?: ButtonHTMLType;
|
htmlType?: ButtonHTMLType;
|
||||||
disabled?: boolean;
|
disabled?: boolean;
|
||||||
@ -76,7 +76,7 @@ const DropdownButton: DropdownButtonInterface = props => {
|
|||||||
overlayClassName,
|
overlayClassName,
|
||||||
overlayStyle,
|
overlayStyle,
|
||||||
destroyPopupOnHide,
|
destroyPopupOnHide,
|
||||||
} as DropDownProps;
|
} as DropdownProps;
|
||||||
|
|
||||||
if ('visible' in props) {
|
if ('visible' in props) {
|
||||||
dropdownProps.visible = visible;
|
dropdownProps.visible = visible;
|
||||||
|
@ -41,7 +41,7 @@ export type DropdownArrowOptions = {
|
|||||||
pointAtCenter?: boolean;
|
pointAtCenter?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export interface DropDownProps {
|
export interface DropdownProps {
|
||||||
arrow?: boolean | DropdownArrowOptions;
|
arrow?: boolean | DropdownArrowOptions;
|
||||||
trigger?: ('click' | 'hover' | 'contextMenu')[];
|
trigger?: ('click' | 'hover' | 'contextMenu')[];
|
||||||
overlay: React.ReactElement | OverlayFunc;
|
overlay: React.ReactElement | OverlayFunc;
|
||||||
@ -64,7 +64,7 @@ export interface DropDownProps {
|
|||||||
children?: React.ReactNode;
|
children?: React.ReactNode;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface DropdownInterface extends React.FC<DropDownProps> {
|
interface DropdownInterface extends React.FC<DropdownProps> {
|
||||||
Button: typeof DropdownButton;
|
Button: typeof DropdownButton;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
import Dropdown from './dropdown';
|
import Dropdown from './dropdown';
|
||||||
|
|
||||||
export { DropDownProps } from './dropdown';
|
export type {
|
||||||
export { DropdownButtonProps, DropdownButtonType } from './dropdown-button';
|
DropdownProps,
|
||||||
|
// typo, but we need to support it for backwards compatibility
|
||||||
|
// https://github.com/ant-design/ant-design/pull/35161
|
||||||
|
DropdownProps as DropDownProps,
|
||||||
|
} from './dropdown';
|
||||||
|
export type { DropdownButtonProps, DropdownButtonType } from './dropdown-button';
|
||||||
export default Dropdown;
|
export default Dropdown;
|
||||||
|
@ -78,7 +78,12 @@ export { default as Descriptions } from './descriptions';
|
|||||||
export type { DividerProps } from './divider';
|
export type { DividerProps } from './divider';
|
||||||
export { default as Divider } from './divider';
|
export { default as Divider } from './divider';
|
||||||
|
|
||||||
export type { DropDownProps } from './dropdown';
|
export type {
|
||||||
|
DropdownProps,
|
||||||
|
// typo, but we need to support it for backwards compatibility
|
||||||
|
// https://github.com/ant-design/ant-design/pull/35161
|
||||||
|
DropdownProps as DropDownProps,
|
||||||
|
} from './dropdown';
|
||||||
export { default as Dropdown } from './dropdown';
|
export { default as Dropdown } from './dropdown';
|
||||||
|
|
||||||
export type { DrawerProps } from './drawer';
|
export type { DrawerProps } from './drawer';
|
||||||
|
@ -16,10 +16,7 @@ The most basic usage.
|
|||||||
```jsx
|
```jsx
|
||||||
import { Segmented } from 'antd';
|
import { Segmented } from 'antd';
|
||||||
|
|
||||||
ReactDOM.render(
|
export default () => <Segmented options={['Daily', 'Weekly', 'Monthly', 'Quarterly', 'Yearly']} />;
|
||||||
<Segmented options={['Daily', 'Weekly', 'Monthly', 'Quarterly', 'Yearly']} />,
|
|
||||||
mountNode,
|
|
||||||
);
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```css
|
```css
|
||||||
|
@ -16,8 +16,7 @@ title:
|
|||||||
```jsx
|
```jsx
|
||||||
import { Segmented } from 'antd';
|
import { Segmented } from 'antd';
|
||||||
|
|
||||||
ReactDOM.render(
|
export default () => (
|
||||||
<Segmented block options={[123, 456, 'longtext-longtext-longtext-longtext']} />,
|
<Segmented block options={[123, 456, 'longtext-longtext-longtext-longtext']} />
|
||||||
mountNode,
|
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
@ -13,12 +13,12 @@ title:
|
|||||||
|
|
||||||
Controlled Segmented.
|
Controlled Segmented.
|
||||||
|
|
||||||
```jsx
|
```tsx
|
||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { Segmented } from 'antd';
|
import { Segmented } from 'antd';
|
||||||
|
|
||||||
const Demo: React.FC = () => {
|
const Demo: React.FC = () => {
|
||||||
const [value, setValue] = useState('Map');
|
const [value, setValue] = useState<string | number>('Map');
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Segmented
|
<Segmented
|
||||||
@ -29,5 +29,5 @@ const Demo: React.FC = () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
ReactDOM.render(<Demo />, mountNode);
|
export default Demo;
|
||||||
```
|
```
|
||||||
|
@ -17,7 +17,7 @@ Custom each Segmented Item by ReactNode.
|
|||||||
import { Avatar, Segmented } from 'antd';
|
import { Avatar, Segmented } from 'antd';
|
||||||
import { UserOutlined } from '@ant-design/icons';
|
import { UserOutlined } from '@ant-design/icons';
|
||||||
|
|
||||||
ReactDOM.render(
|
export default () => (
|
||||||
<>
|
<>
|
||||||
<Segmented
|
<Segmented
|
||||||
options={[
|
options={[
|
||||||
@ -91,7 +91,6 @@ ReactDOM.render(
|
|||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</>,
|
</>
|
||||||
mountNode,
|
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
@ -16,7 +16,7 @@ Disabled Segmented.
|
|||||||
```jsx
|
```jsx
|
||||||
import { Segmented } from 'antd';
|
import { Segmented } from 'antd';
|
||||||
|
|
||||||
ReactDOM.render(
|
export default () => (
|
||||||
<>
|
<>
|
||||||
<Segmented options={['Map', 'Transit', 'Satellite']} disabled />
|
<Segmented options={['Map', 'Transit', 'Satellite']} disabled />
|
||||||
<br />
|
<br />
|
||||||
@ -29,7 +29,6 @@ ReactDOM.render(
|
|||||||
'Yearly',
|
'Yearly',
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</>,
|
</>
|
||||||
mountNode,
|
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
@ -16,14 +16,13 @@ There are three sizes of an Segmented: `large` (40px), `default` (32px) and `sma
|
|||||||
```jsx
|
```jsx
|
||||||
import { Segmented } from 'antd';
|
import { Segmented } from 'antd';
|
||||||
|
|
||||||
ReactDOM.render(
|
export default () => (
|
||||||
<>
|
<>
|
||||||
<Segmented size="large" options={['Daily', 'Weekly', 'Monthly', 'Quarterly', 'Yearly']} />
|
<Segmented size="large" options={['Daily', 'Weekly', 'Monthly', 'Quarterly', 'Yearly']} />
|
||||||
<br />
|
<br />
|
||||||
<Segmented options={['Daily', 'Weekly', 'Monthly', 'Quarterly', 'Yearly']} />
|
<Segmented options={['Daily', 'Weekly', 'Monthly', 'Quarterly', 'Yearly']} />
|
||||||
<br />
|
<br />
|
||||||
<Segmented size="small" options={['Daily', 'Weekly', 'Monthly', 'Quarterly', 'Yearly']} />
|
<Segmented size="small" options={['Daily', 'Weekly', 'Monthly', 'Quarterly', 'Yearly']} />
|
||||||
</>,
|
</>
|
||||||
mountNode,
|
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
@ -17,7 +17,7 @@ Set `icon` for Segmented Item.
|
|||||||
import { Segmented } from 'antd';
|
import { Segmented } from 'antd';
|
||||||
import { AppstoreOutlined, BarsOutlined } from '@ant-design/icons';
|
import { AppstoreOutlined, BarsOutlined } from '@ant-design/icons';
|
||||||
|
|
||||||
ReactDOM.render(
|
export default () => (
|
||||||
<Segmented
|
<Segmented
|
||||||
options={[
|
options={[
|
||||||
{
|
{
|
||||||
@ -31,7 +31,6 @@ ReactDOM.render(
|
|||||||
icon: <AppstoreOutlined />,
|
icon: <AppstoreOutlined />,
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
/>,
|
/>
|
||||||
mountNode,
|
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
@ -134,7 +134,7 @@ const InternalSelect = <OptionType extends BaseOptionType | DefaultOptionType =
|
|||||||
|
|
||||||
const selectProps = omit(props as typeof props & { itemIcon: any }, ['suffixIcon', 'itemIcon']);
|
const selectProps = omit(props as typeof props & { itemIcon: any }, ['suffixIcon', 'itemIcon']);
|
||||||
|
|
||||||
const rcSelectRtlDropDownClassName = classNames(
|
const rcSelectRtlDropdownClassName = classNames(
|
||||||
dropdownClassName,
|
dropdownClassName,
|
||||||
{
|
{
|
||||||
[`${prefixCls}-dropdown-${direction}`]: direction === 'rtl',
|
[`${prefixCls}-dropdown-${direction}`]: direction === 'rtl',
|
||||||
@ -190,7 +190,7 @@ const InternalSelect = <OptionType extends BaseOptionType | DefaultOptionType =
|
|||||||
notFoundContent={mergedNotFound}
|
notFoundContent={mergedNotFound}
|
||||||
className={mergedClassName}
|
className={mergedClassName}
|
||||||
getPopupContainer={getPopupContainer || getContextPopupContainer}
|
getPopupContainer={getPopupContainer || getContextPopupContainer}
|
||||||
dropdownClassName={rcSelectRtlDropDownClassName}
|
dropdownClassName={rcSelectRtlDropdownClassName}
|
||||||
showArrow={hasFeedback || showArrow}
|
showArrow={hasFeedback || showArrow}
|
||||||
/>,
|
/>,
|
||||||
);
|
);
|
||||||
|
@ -2198,7 +2198,7 @@ describe('Table.filter', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('filterDropDown should support filterResetToDefaultFilteredValue', () => {
|
it('filterDropdown should support filterResetToDefaultFilteredValue', () => {
|
||||||
jest.useFakeTimers();
|
jest.useFakeTimers();
|
||||||
jest.spyOn(console, 'error').mockImplementation(() => undefined);
|
jest.spyOn(console, 'error').mockImplementation(() => undefined);
|
||||||
|
|
||||||
|
@ -3664,29 +3664,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -3756,29 +3767,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -3848,29 +3870,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -3940,29 +3973,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -4032,29 +4076,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -4124,29 +4179,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -4216,29 +4282,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -4308,29 +4385,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -4400,29 +4488,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -4492,29 +4591,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2937,29 +2937,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -3029,29 +3040,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -3121,29 +3143,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -3213,29 +3246,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -3305,29 +3349,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -3397,29 +3452,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -3489,29 +3555,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -3581,29 +3658,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -3673,29 +3761,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -3765,29 +3864,40 @@ Array [
|
|||||||
<div
|
<div
|
||||||
class="ant-space-item"
|
class="ant-space-item"
|
||||||
>
|
>
|
||||||
<a
|
<a>
|
||||||
class="ant-dropdown-link"
|
<div
|
||||||
>
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||||||
More actions
|
|
||||||
<span
|
|
||||||
aria-label="down"
|
|
||||||
class="anticon anticon-down"
|
|
||||||
role="img"
|
|
||||||
>
|
>
|
||||||
<svg
|
<div
|
||||||
aria-hidden="true"
|
class="ant-space-item"
|
||||||
data-icon="down"
|
style="margin-right:8px"
|
||||||
fill="currentColor"
|
|
||||||
focusable="false"
|
|
||||||
height="1em"
|
|
||||||
viewBox="64 64 896 896"
|
|
||||||
width="1em"
|
|
||||||
>
|
>
|
||||||
<path
|
More actions
|
||||||
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
</div>
|
||||||
/>
|
<div
|
||||||
</svg>
|
class="ant-space-item"
|
||||||
</span>
|
>
|
||||||
|
<span
|
||||||
|
aria-label="down"
|
||||||
|
class="anticon anticon-down"
|
||||||
|
role="img"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
aria-hidden="true"
|
||||||
|
data-icon="down"
|
||||||
|
fill="currentColor"
|
||||||
|
focusable="false"
|
||||||
|
height="1em"
|
||||||
|
viewBox="64 64 896 896"
|
||||||
|
width="1em"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -49,8 +49,11 @@ const columns = [
|
|||||||
render: () => (
|
render: () => (
|
||||||
<Space size="middle">
|
<Space size="middle">
|
||||||
<a>Delete</a>
|
<a>Delete</a>
|
||||||
<a className="ant-dropdown-link">
|
<a>
|
||||||
More actions <DownOutlined />
|
<Space>
|
||||||
|
More actions
|
||||||
|
<DownOutlined />
|
||||||
|
</Space>
|
||||||
</a>
|
</a>
|
||||||
</Space>
|
</Space>
|
||||||
),
|
),
|
||||||
|
@ -40,6 +40,7 @@ title: Third-Party Libraries
|
|||||||
| Page Footer | [rc-footer](https://github.com/react-component/footer) |
|
| Page Footer | [rc-footer](https://github.com/react-component/footer) |
|
||||||
| Water Mark | [WaterMark](https://procomponents.ant.design/components/water-mark) |
|
| Water Mark | [WaterMark](https://procomponents.ant.design/components/water-mark) |
|
||||||
| Currency | [react-number-format](https://github.com/s-yadav/react-number-format) [react-currency-input-fiel](https://github.com/cchanxzy/react-currency-input-field) |
|
| Currency | [react-number-format](https://github.com/s-yadav/react-number-format) [react-currency-input-fiel](https://github.com/cchanxzy/react-currency-input-field) |
|
||||||
|
| Application Frameworks | [refine](https://github.com/pankod/refine) |
|
||||||
|
|
||||||
## Products we are using ✨
|
## Products we are using ✨
|
||||||
|
|
||||||
|
@ -40,6 +40,7 @@ title: 社区精选组件
|
|||||||
| 页脚 | [rc-footer](https://github.com/react-component/footer) |
|
| 页脚 | [rc-footer](https://github.com/react-component/footer) |
|
||||||
| 水印 | [WaterMark](https://procomponents.ant.design/components/water-mark) |
|
| 水印 | [WaterMark](https://procomponents.ant.design/components/water-mark) |
|
||||||
| 金额格式化 | [react-number-format](https://github.com/s-yadav/react-number-format) [react-currency-input-fiel](https://github.com/cchanxzy/react-currency-input-field) |
|
| 金额格式化 | [react-number-format](https://github.com/s-yadav/react-number-format) [react-currency-input-fiel](https://github.com/cchanxzy/react-currency-input-field) |
|
||||||
|
| 应用程序框架 | [refine](https://github.com/pankod/refine) |
|
||||||
|
|
||||||
## 推荐产品 ✨
|
## 推荐产品 ✨
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user