@lobehub/ui 2.13.8 → 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Accordion/Accordion.d.ts +4 -0
- package/es/Accordion/Accordion.js +125 -0
- package/es/Accordion/AccordionItem.d.ts +4 -0
- package/es/Accordion/AccordionItem.js +274 -0
- package/es/Accordion/ArrowIcon.d.ts +3 -0
- package/es/Accordion/ArrowIcon.js +36 -0
- package/es/Accordion/context.d.ts +16 -0
- package/es/Accordion/context.js +9 -0
- package/es/Accordion/index.d.ts +3 -0
- package/es/Accordion/index.js +3 -0
- package/es/Accordion/style.d.ts +12 -0
- package/es/Accordion/style.js +19 -0
- package/es/Accordion/type.d.ts +131 -0
- package/es/Accordion/type.js +1 -0
- package/es/Avatar/style.js +1 -1
- package/es/DraggablePanel/DraggablePanel.js +7 -2
- package/es/DraggablePanel/style.d.ts +2 -0
- package/es/DraggablePanel/style.js +25 -21
- package/es/DraggablePanel/type.d.ts +6 -0
- package/es/DraggableSideNav/DraggableSideNav.d.ts +4 -0
- package/es/DraggableSideNav/DraggableSideNav.js +420 -0
- package/es/DraggableSideNav/index.d.ts +2 -0
- package/es/DraggableSideNav/index.js +1 -0
- package/es/DraggableSideNav/style.d.ts +18 -0
- package/es/DraggableSideNav/style.js +33 -0
- package/es/DraggableSideNav/type.d.ts +141 -0
- package/es/DraggableSideNav/type.js +1 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +2 -0
- package/es/styles/theme/customStylish.js +11 -11
- package/package.json +1 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14;
|
|
2
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
3
|
+
import { createStyles } from 'antd-style';
|
|
4
|
+
|
|
5
|
+
// Layout constants (aligned with DraggablePanel)
|
|
6
|
+
var LAYOUT = {
|
|
7
|
+
offset: 16,
|
|
8
|
+
toggleLength: 40,
|
|
9
|
+
toggleShort: 16
|
|
10
|
+
};
|
|
11
|
+
export var useStyles = createStyles(function (_ref, _ref2) {
|
|
12
|
+
var css = _ref.css,
|
|
13
|
+
token = _ref.token,
|
|
14
|
+
stylish = _ref.stylish,
|
|
15
|
+
prefixCls = _ref.prefixCls;
|
|
16
|
+
var showBorder = _ref2.showBorder;
|
|
17
|
+
return {
|
|
18
|
+
body: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\n /* Smooth scroll behavior */\n scroll-behavior: smooth;\n overflow: hidden auto;\n flex: 1;\n\n /* Better scrollbar styling */\n &::-webkit-scrollbar {\n width: 6px;\n }\n\n &::-webkit-scrollbar-track {\n background: transparent;\n }\n\n &::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n }\n "])), token.colorBorderSecondary, token.colorBorder),
|
|
19
|
+
container: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n\n /* Width transition controlled by inline style */\n\n /* Ensure smooth animations */\n will-change: width;\n\n position: relative;\n\n display: flex;\n flex-direction: column;\n\n height: 100%;\n "]))),
|
|
20
|
+
contentContainer: css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n overflow: hidden;\n display: flex;\n flex-direction: column;\n\n height: 100%;\n border-inline-end: ", " solid ", ";\n\n background: ", ";\n "])), showBorder ? '1px' : '0', token.colorBorderSecondary, token.colorBgLayout),
|
|
21
|
+
footer: css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n flex-shrink: 0;\n "]))),
|
|
22
|
+
handlerIcon: css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n /* Icon transitions are now handled by framer-motion */\n display: flex;\n align-items: center;\n justify-content: center;\n "]))),
|
|
23
|
+
header: css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n flex-shrink: 0;\n "]))),
|
|
24
|
+
menuOverride: css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n .", "-menu {\n .", "-menu-item {\n display: flex;\n gap: 8px;\n align-items: center;\n justify-content: center;\n\n height: unset;\n min-height: 36px;\n padding-block: 4px;\n padding-inline: 8px !important;\n }\n\n .", "-menu-item-group-title {\n overflow: hidden;\n padding-inline: 8px;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .", "-menu-item-icon {\n position: absolute;\n inset-inline-start: 0;\n\n display: flex !important;\n flex: none;\n align-items: center;\n justify-content: center;\n\n width: 36px;\n height: 36px;\n }\n\n .", "-menu-title-content {\n overflow: hidden;\n flex: 1;\n\n margin: 0 !important;\n padding-inline-start: 36px;\n\n line-height: 1.5;\n }\n\n &.", "-menu-inline-collapsed {\n .ant-menu-title-content {\n display: none;\n width: 0;\n opacity: 0;\n }\n\n .", "-menu-item {\n display: flex;\n align-items: center;\n justify-content: center;\n\n width: 36px !important;\n height: 36px !important;\n }\n }\n }\n "])), prefixCls, prefixCls, prefixCls, prefixCls, prefixCls, prefixCls, prefixCls),
|
|
25
|
+
resizeHandle: css(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n cursor: col-resize;\n\n position: absolute;\n z-index: 1;\n inset-block: 0 0;\n\n width: 8px;\n\n transition: background-color 0.2s ease;\n\n &::after {\n content: '';\n\n position: absolute;\n inset-block: 0;\n inset-inline-start: 50%;\n transform: translateX(-50%);\n\n width: 2px;\n\n background: transparent;\n\n transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);\n }\n "]))),
|
|
26
|
+
resizeHandleHighlight: css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n &:hover {\n &::after {\n width: 3px;\n background: ", ";\n box-shadow: 0 0 8px ", "40;\n }\n }\n\n &:active {\n &::after {\n background: ", ";\n }\n }\n "])), token.colorPrimary, token.colorPrimary, token.colorPrimaryActive),
|
|
27
|
+
resizeHandleLeft: css(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n inset-inline-end: -4px;\n "]))),
|
|
28
|
+
resizeHandleRight: css(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n inset-inline-start: -4px;\n "]))),
|
|
29
|
+
toggleLeft: css(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n inset-inline-end: -", "px;\n width: ", "px;\n height: 100%;\n\n > div {\n inset-block-start: 50%;\n\n width: ", "px;\n height: ", "px;\n margin-block-start: -", "px;\n border-radius: 0 4px 4px 0; /* \u5DE6\u4FA7\u9762\u677F\uFF0Chandle \u5728\u53F3\u8FB9\uFF0C\u53F3\u4FA7\u5706\u89D2 */\n }\n "])), LAYOUT.offset, LAYOUT.toggleShort, LAYOUT.toggleShort, LAYOUT.toggleLength, LAYOUT.toggleLength / 2),
|
|
30
|
+
toggleRight: css(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n inset-inline-start: -", "px;\n width: ", "px;\n height: 100%;\n\n > div {\n inset-block-start: 50%;\n\n width: ", "px;\n height: ", "px;\n margin-block-start: -", "px;\n border-radius: 4px 0 0 4px; /* \u53F3\u4FA7\u9762\u677F\uFF0Chandle \u5728\u5DE6\u8FB9\uFF0C\u5DE6\u4FA7\u5706\u89D2 */\n }\n "])), LAYOUT.offset, LAYOUT.toggleShort, LAYOUT.toggleShort, LAYOUT.toggleLength, LAYOUT.toggleLength / 2),
|
|
31
|
+
toggleRoot: css(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n pointer-events: none;\n position: absolute;\n\n /* Smooth transitions for all states */\n transition: opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1);\n\n &:has(> div) {\n pointer-events: all;\n }\n\n > div {\n ", ";\n pointer-events: all;\n cursor: pointer;\n\n position: absolute;\n\n color: ", ";\n\n /* Enhanced transitions with backdrop blur */\n transition:\n color 0.2s ", ",\n transform 0.2s ", ",\n box-shadow 0.2s ", ";\n\n backdrop-filter: blur(8px);\n\n &:hover {\n color: ", ";\n box-shadow:\n 0 2px 8px rgba(0, 0, 0, 8%),\n 0 0 0 1px ", ";\n }\n\n &:active {\n transform: scale(0.95);\n color: ", ";\n }\n }\n "])), stylish.variantFilled, token.colorTextTertiary, token.motionEaseOut, token.motionEaseOut, token.motionEaseOut, token.colorTextSecondary, token.colorBorderSecondary, token.colorText)
|
|
32
|
+
};
|
|
33
|
+
});
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import type { NumberSize, Size } from 're-resizable';
|
|
2
|
+
import type { CSSProperties, ReactNode } from 'react';
|
|
3
|
+
import type { DivProps } from "../types";
|
|
4
|
+
export interface DraggableSideNavProps extends Omit<DivProps, 'children' | 'onSelect'> {
|
|
5
|
+
/**
|
|
6
|
+
* Animation configuration for content transitions
|
|
7
|
+
* @default { fade: true, blur: false, header: false, body: false, footer: false }
|
|
8
|
+
*/
|
|
9
|
+
animation?: {
|
|
10
|
+
/**
|
|
11
|
+
* Enable blur effect during transitions
|
|
12
|
+
* @default false
|
|
13
|
+
*/
|
|
14
|
+
blur?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Enable animation for body section
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
body?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Enable fade effect during transitions
|
|
22
|
+
* @default true
|
|
23
|
+
*/
|
|
24
|
+
fade?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Enable animation for footer section
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
footer?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Enable animation for header section
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
header?: boolean;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Body content (main content area)
|
|
38
|
+
* Can be a static element or a function that receives collapsed state
|
|
39
|
+
*/
|
|
40
|
+
children: ReactNode | ((collapsed: boolean) => ReactNode);
|
|
41
|
+
/**
|
|
42
|
+
* Classnames for internal components
|
|
43
|
+
*/
|
|
44
|
+
classNames?: {
|
|
45
|
+
body?: string;
|
|
46
|
+
container?: string;
|
|
47
|
+
content?: string;
|
|
48
|
+
footer?: string;
|
|
49
|
+
handle?: string;
|
|
50
|
+
header?: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Whether the panel is collapsed (controlled)
|
|
54
|
+
*/
|
|
55
|
+
collapsed?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Whether the panel is collapsed by default
|
|
58
|
+
* @default false
|
|
59
|
+
*/
|
|
60
|
+
defaultCollapsed?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Default width when expanded
|
|
63
|
+
*/
|
|
64
|
+
defaultSize?: Partial<Size>;
|
|
65
|
+
/**
|
|
66
|
+
* Footer content
|
|
67
|
+
* Can be a static element or a function that receives collapsed state
|
|
68
|
+
*/
|
|
69
|
+
footer?: ReactNode | ((collapsed: boolean) => ReactNode);
|
|
70
|
+
/**
|
|
71
|
+
* Header content
|
|
72
|
+
* Can be a static element or a function that receives collapsed state
|
|
73
|
+
*/
|
|
74
|
+
header?: ReactNode | ((collapsed: boolean) => ReactNode);
|
|
75
|
+
/**
|
|
76
|
+
* Maximum width
|
|
77
|
+
*/
|
|
78
|
+
maxWidth?: number;
|
|
79
|
+
/**
|
|
80
|
+
* Minimum width (also the collapsed width)
|
|
81
|
+
* @default 64
|
|
82
|
+
*/
|
|
83
|
+
minWidth?: number;
|
|
84
|
+
/**
|
|
85
|
+
* Callback when collapse state changes
|
|
86
|
+
*/
|
|
87
|
+
onCollapsedChange?: (collapsed: boolean) => void;
|
|
88
|
+
/**
|
|
89
|
+
* Callback when menu item is selected
|
|
90
|
+
*/
|
|
91
|
+
onSelect?: (key: string) => void;
|
|
92
|
+
/**
|
|
93
|
+
* Callback when size changes
|
|
94
|
+
*/
|
|
95
|
+
onSizeChange?: (delta: NumberSize, size?: Size) => void;
|
|
96
|
+
/**
|
|
97
|
+
* Callback when actively resizing
|
|
98
|
+
*/
|
|
99
|
+
onSizeDragging?: (delta: NumberSize, size?: Size) => void;
|
|
100
|
+
/**
|
|
101
|
+
* Placement of the side nav
|
|
102
|
+
* @default 'left'
|
|
103
|
+
*/
|
|
104
|
+
placement?: 'left' | 'right';
|
|
105
|
+
/**
|
|
106
|
+
* Whether to enable resizing
|
|
107
|
+
* @default true
|
|
108
|
+
*/
|
|
109
|
+
resizable?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Whether to show border
|
|
112
|
+
* @default true
|
|
113
|
+
*/
|
|
114
|
+
showBorder?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Whether to show handle for toggling
|
|
117
|
+
* @default true
|
|
118
|
+
*/
|
|
119
|
+
showHandle?: boolean;
|
|
120
|
+
showHandleHighlight?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Whether to show handle when collapsed
|
|
123
|
+
* @default false
|
|
124
|
+
*/
|
|
125
|
+
showHandleWhenCollapsed?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Current size (controlled)
|
|
128
|
+
*/
|
|
129
|
+
size?: Partial<Size>;
|
|
130
|
+
/**
|
|
131
|
+
* Custom styles
|
|
132
|
+
*/
|
|
133
|
+
styles?: {
|
|
134
|
+
body?: CSSProperties;
|
|
135
|
+
container?: CSSProperties;
|
|
136
|
+
content?: CSSProperties;
|
|
137
|
+
footer?: CSSProperties;
|
|
138
|
+
handle?: CSSProperties;
|
|
139
|
+
header?: CSSProperties;
|
|
140
|
+
};
|
|
141
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/es/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, } from './Accordion';
|
|
1
2
|
export { default as ActionIcon, type ActionIconProps, type ActionIconSize } from './ActionIcon';
|
|
2
3
|
export { default as ActionIconGroup, type ActionIconGroupEvent, type ActionIconGroupItemType, type ActionIconGroupProps, } from './ActionIconGroup';
|
|
3
4
|
export { default as Alert, type AlertProps } from './Alert';
|
|
@@ -14,6 +15,7 @@ export { default as CopyButton, type CopyButtonProps } from './CopyButton';
|
|
|
14
15
|
export { default as DatePicker, type DatePickerProps } from './DatePicker';
|
|
15
16
|
export { default as DownloadButton, type DownloadButtonProps } from './DownloadButton';
|
|
16
17
|
export { default as DraggablePanel, DraggablePanelBody, type DraggablePanelBodyProps, DraggablePanelContainer, type DraggablePanelContainerProps, DraggablePanelFooter, type DraggablePanelFooterProps, DraggablePanelHeader, type DraggablePanelHeaderProps, type DraggablePanelProps, } from './DraggablePanel';
|
|
18
|
+
export { default as DraggableSideNav, type DraggableSideNavProps } from './DraggableSideNav';
|
|
17
19
|
export { default as Drawer, type DrawerProps } from './Drawer';
|
|
18
20
|
export { default as Dropdown, type DropdownMenuItemType, type DropdownProps } from './Dropdown';
|
|
19
21
|
export { default as EditableText, type EditableTextProps } from './EditableText';
|
package/es/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { Accordion, AccordionItem } from "./Accordion";
|
|
1
2
|
export { default as ActionIcon } from "./ActionIcon";
|
|
2
3
|
export { default as ActionIconGroup } from "./ActionIconGroup";
|
|
3
4
|
export { default as Alert } from "./Alert";
|
|
@@ -14,6 +15,7 @@ export { default as CopyButton } from "./CopyButton";
|
|
|
14
15
|
export { default as DatePicker } from "./DatePicker";
|
|
15
16
|
export { default as DownloadButton } from "./DownloadButton";
|
|
16
17
|
export { default as DraggablePanel, DraggablePanelBody, DraggablePanelContainer, DraggablePanelFooter, DraggablePanelHeader } from "./DraggablePanel";
|
|
18
|
+
export { default as DraggableSideNav } from "./DraggableSideNav";
|
|
17
19
|
export { default as Drawer } from "./Drawer";
|
|
18
20
|
export { default as Dropdown } from "./Dropdown";
|
|
19
21
|
export { default as EditableText } from "./EditableText";
|
|
@@ -7,23 +7,23 @@ export var generateCustomStylish = function generateCustomStylish(_ref) {
|
|
|
7
7
|
isDarkMode = _ref.isDarkMode;
|
|
8
8
|
var gradient = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n 0% {\n background-position: 0% 50%;\n }\n 50% {\n background-position: 100% 50%;\n }\n 100% {\n background-position: 0% 50%;\n }\n "])));
|
|
9
9
|
return {
|
|
10
|
-
active: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n color: ", ";\n background: ", ";\n\n &:hover {\n color: ", ";\n background: ", ";\n }\n
|
|
10
|
+
active: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n color: ", ";\n background: ", ";\n\n &:hover {\n color: ", ";\n background: ", ";\n }\n "])), token.colorText, token.colorFillSecondary, token.colorText, token.colorFill),
|
|
11
11
|
blur: css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n backdrop-filter: saturate(150%) blur(10px);\n "]))),
|
|
12
12
|
blurStrong: css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n backdrop-filter: saturate(150%) blur(36px);\n "]))),
|
|
13
|
-
bottomScrollbar: css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n ::-webkit-scrollbar {\n width: 0;\n height: 4px;\n background-color: transparent;\n\n &-thumb {\n background-color: ", ";\n
|
|
13
|
+
bottomScrollbar: css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n ::-webkit-scrollbar {\n width: 0;\n height: 4px;\n background-color: transparent;\n\n &-thumb {\n border-radius: 4px;\n background-color: ", ";\n transition: background-color 500ms ", ";\n }\n\n &-corner {\n display: none;\n width: 0;\n height: 0;\n }\n }\n "])), token.colorFill, token.motionEaseOut),
|
|
14
14
|
disabled: css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n cursor: not-allowed;\n opacity: 0.5;\n "]))),
|
|
15
|
-
gradientAnimation: css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n background-image: linear-gradient(\n -45deg,\n ", ",\n ", ",\n ", ",\n ", "\n );\n background-size: 400% 400%;\n
|
|
15
|
+
gradientAnimation: css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n border-radius: inherit;\n background-image: linear-gradient(\n -45deg,\n ", ",\n ", ",\n ", ",\n ", "\n );\n background-size: 400% 400%;\n animation: 5s ", " 5s ease infinite;\n "])), token.gold, token.magenta, token.geekblue, token.cyan, gradient),
|
|
16
16
|
noScrollbar: css(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n ::-webkit-scrollbar {\n display: none;\n width: 0;\n height: 0;\n background-color: transparent;\n }\n "]))),
|
|
17
17
|
resetLinkColor: css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n cursor: pointer;\n color: ", ";\n\n &:hover {\n color: ", ";\n }\n "])), token.colorTextSecondary, token.colorText),
|
|
18
18
|
shadow: css(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n box-shadow:\n 0 1px 0 -1px ", ",\n 0 1px 2px -0.5px ", ",\n 0 2px 2px -1px ", ",\n 0 3px 6px -4px ", ";\n "])), isDarkMode ? token.colorBgLayout : token.colorBorder, isDarkMode ? token.colorBgLayout : token.colorBorder, isDarkMode ? token.colorBgLayout : token.colorBorderSecondary, isDarkMode ? token.colorBgLayout : token.colorBorderSecondary),
|
|
19
|
-
variantBorderless: css(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n
|
|
20
|
-
variantBorderlessDanger: css(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n
|
|
21
|
-
variantBorderlessWithoutHover: css(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n
|
|
22
|
-
variantFilled: css(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n
|
|
23
|
-
variantFilledDanger: css(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n
|
|
19
|
+
variantBorderless: css(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n border: none;\n background: none;\n box-shadow: none;\n\n &:hover {\n background: ", ";\n }\n "])), token.colorFillTertiary),
|
|
20
|
+
variantBorderlessDanger: css(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n border: none;\n background: none;\n box-shadow: none;\n\n &:hover {\n background: ", ";\n box-shadow: inset 0 0 0 1px ", ";\n }\n "])), token.colorErrorFillTertiary, token.colorErrorFillTertiary),
|
|
21
|
+
variantBorderlessWithoutHover: css(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n border: none;\n background: none;\n box-shadow: none;\n "]))),
|
|
22
|
+
variantFilled: css(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n "])), token.colorFillTertiary, token.colorFillSecondary),
|
|
23
|
+
variantFilledDanger: css(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n background: ", ";\n\n &:hover {\n background: ", ";\n }\n "])), token.colorErrorFillTertiary, token.colorErrorFillSecondary),
|
|
24
24
|
variantFilledWithoutHover: css(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n background: ", ";\n "])), token.colorFillTertiary),
|
|
25
|
-
variantOutlined: css(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n
|
|
26
|
-
variantOutlinedDanger: css(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n\n &:hover {\n border: 1px solid ", ";\n }\n
|
|
27
|
-
variantOutlinedWithoutHover: css(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n
|
|
25
|
+
variantOutlined: css(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n background: ", ";\n\n &:hover {\n border: 1px solid ", ";\n background: ", ";\n }\n "])), token.colorBorderSecondary, token.colorBgContainer, token.colorBorder, token.colorBgContainer),
|
|
26
|
+
variantOutlinedDanger: css(_templateObject18 || (_templateObject18 = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n\n &:hover {\n border: 1px solid ", ";\n }\n "])), token.colorErrorBorder, token.colorErrorBorder),
|
|
27
|
+
variantOutlinedWithoutHover: css(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n background: ", ";\n "])), token.colorBorderSecondary, token.colorBgContainer)
|
|
28
28
|
};
|
|
29
29
|
};
|