idea-react 3.0.0-alpha.1 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +11 -2
- package/ReadMe.md +86 -46
- package/dist/DatePickerPlugin-CpGuQRsi.js +1 -0
- package/dist/DatePickerPlugin-DB3nnslN.mjs +1 -0
- package/dist/index.d.mts +1069 -245
- package/dist/index.d.ts +1069 -245
- package/dist/index.js +16 -16
- package/dist/index.mjs +15 -15
- package/dist/rolldown-runtime-5iZMYShA.js +1 -0
- package/dist/style.css +69 -66
- package/package.json +4 -2
- package/source/Accordion.tsx +137 -0
- package/source/Alert.tsx +138 -0
- package/source/Avatar.tsx +7 -1
- package/source/Badge.tsx +2 -0
- package/source/Breadcrumb.tsx +36 -0
- package/source/Button.tsx +40 -5
- package/source/ButtonGroup.tsx +10 -1
- package/source/Card.tsx +73 -4
- package/source/Carousel/index.tsx +391 -0
- package/source/Carousel/model.ts +113 -0
- package/source/Carousel/scroll.ts +79 -0
- package/source/Collapse.tsx +178 -0
- package/source/Drawer.tsx +127 -30
- package/source/{CodeBlock.tsx → Extension/CodeBlock/index.tsx} +23 -5
- package/source/Extension/CodeBlock/style.module.css +3 -0
- package/source/{Dialog.tsx → Extension/Dialog.tsx} +10 -6
- package/source/{EditorHTML.tsx → Extension/EditorHTML.tsx} +1 -1
- package/source/{HorizontalMarquee → Extension/HorizontalMarquee}/index.module.less +1 -3
- package/source/{Icon.tsx → Extension/Icon.tsx} +1 -7
- package/source/{Loading.tsx → Extension/Loading.tsx} +8 -3
- package/source/{MonthCalendar.tsx → Extension/MonthCalendar.tsx} +3 -3
- package/source/{Nameplate.tsx → Extension/Nameplate.tsx} +1 -1
- package/source/Extension/OverlayBox.tsx +280 -0
- package/source/{PageNav.tsx → Extension/PageNav.tsx} +27 -9
- package/source/{ScrollNav → Extension/ScrollNav}/index.tsx +1 -1
- package/source/Extension/Select.tsx +127 -0
- package/source/{ShareBox.tsx → Extension/ShareBox.tsx} +1 -1
- package/source/{SpinnerButton.tsx → Extension/SpinnerButton.tsx} +2 -2
- package/source/{TableSpinner.tsx → Extension/TableSpinner.tsx} +1 -1
- package/source/{Timeline → Extension/Timeline}/index.tsx +1 -1
- package/source/{UserRank → Extension/UserRank}/index.tsx +4 -4
- package/source/Extension/index.ts +27 -0
- package/source/Form/Adorn.tsx +59 -0
- package/source/Form/Checkbox.tsx +78 -0
- package/source/Form/ChipInput.tsx +125 -0
- package/source/Form/Chips.tsx +69 -0
- package/source/Form/Combobox.tsx +374 -0
- package/source/Form/Control.tsx +94 -0
- package/source/Form/DatePicker.tsx +280 -0
- package/source/Form/DatePickerPlugin.ts +37 -0
- package/source/Form/Feedback.tsx +35 -0
- package/source/Form/FloatingLabel.tsx +32 -0
- package/source/Form/InputGroup.tsx +173 -0
- package/source/Form/OTP.tsx +141 -0
- package/source/Form/PasswordStrength.tsx +183 -0
- package/source/Form/Plugin.tsx +53 -0
- package/source/Form/Primitives.tsx +88 -0
- package/source/Form/Radio.tsx +43 -0
- package/source/Form/Range.tsx +116 -0
- package/source/Form/Switch.tsx +58 -0
- package/source/Form/index.ts +16 -0
- package/source/Grid.tsx +4 -0
- package/source/ListGroup.tsx +28 -15
- package/source/Menu.tsx +226 -17
- package/source/NativeDialog/index.tsx +109 -5
- package/source/Nav.tsx +18 -2
- package/source/NavOverflow/index.tsx +307 -0
- package/source/NavOverflow/model.ts +21 -0
- package/source/Navbar.tsx +31 -6
- package/source/Overlay.ts +163 -1
- package/source/Pagination.tsx +92 -0
- package/source/Placeholder.tsx +66 -0
- package/source/Popover.tsx +7 -2
- package/source/Progress/index.tsx +76 -0
- package/source/Progress/style.module.css +15 -0
- package/source/ScrollSpy/index.tsx +365 -0
- package/source/ScrollSpy/model.ts +17 -0
- package/source/Spinner.tsx +10 -0
- package/source/Stepper.tsx +85 -0
- package/source/Tab.tsx +248 -0
- package/source/Toast.tsx +65 -27
- package/source/ToggleButton.tsx +21 -7
- package/source/Toggler.tsx +108 -0
- package/source/Tooltip.tsx +6 -1
- package/source/index.ts +16 -27
- package/source/OverlayBox.tsx +0 -208
- package/source/Select.tsx +0 -95
- /package/source/{ClickBoundary.tsx → Extension/ClickBoundary.tsx} +0 -0
- /package/source/{Countdown.tsx → Extension/Countdown.tsx} +0 -0
- /package/source/{Editor.tsx → Extension/Editor.tsx} +0 -0
- /package/source/{HorizontalMarquee → Extension/HorizontalMarquee}/index.tsx +0 -0
- /package/source/{LiveTSX.tsx → Extension/LiveTSX.tsx} +0 -0
- /package/source/{ScrollNav → Extension/ScrollNav}/Scroller.tsx +0 -0
- /package/source/{ScrollNav → Extension/ScrollNav}/index.module.less +0 -0
- /package/source/{TextTruncate → Extension/TextTruncate}/Content.tsx +0 -0
- /package/source/{TextTruncate → Extension/TextTruncate}/index.tsx +0 -0
- /package/source/{Time.tsx → Extension/Time.tsx} +0 -0
- /package/source/{TimeDistance.tsx → Extension/TimeDistance.tsx} +0 -0
- /package/source/{Timeline → Extension/Timeline}/index.module.less +0 -0
- /package/source/{TypeEcho → Extension/TypeEcho}/Content.tsx +0 -0
- /package/source/{TypeEcho → Extension/TypeEcho}/index.tsx +0 -0
- /package/source/{UserRank → Extension/UserRank}/Address.tsx +0 -0
- /package/source/{UserRank → Extension/UserRank}/index.module.less +0 -0
- /package/source/{VerticalMarquee → Extension/VerticalMarquee}/index.module.less +0 -0
- /package/source/{VerticalMarquee → Extension/VerticalMarquee}/index.tsx +0 -0
- /package/source/{ZodiacBar.tsx → Extension/ZodiacBar.tsx} +0 -0
package/source/index.ts
CHANGED
|
@@ -1,49 +1,38 @@
|
|
|
1
|
+
export * from './Accordion';
|
|
2
|
+
export * from './Alert';
|
|
1
3
|
export * from './animate';
|
|
2
4
|
export * from './Avatar';
|
|
3
5
|
export * from './Badge';
|
|
6
|
+
export * from './Breadcrumb';
|
|
4
7
|
export * from './Button';
|
|
5
8
|
export * from './ButtonGroup';
|
|
6
9
|
export * from './Card';
|
|
7
|
-
export * from './
|
|
10
|
+
export * from './Carousel';
|
|
8
11
|
export * from './CloseButton';
|
|
9
|
-
export * from './
|
|
12
|
+
export * from './Collapse';
|
|
10
13
|
export * from './color';
|
|
11
|
-
export * from './Countdown';
|
|
12
|
-
export * from './Dialog';
|
|
13
14
|
export * from './Drawer';
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
15
|
+
export * from './Extension';
|
|
16
|
+
export * from './Form';
|
|
16
17
|
export * from './Grid';
|
|
17
|
-
export * from './HorizontalMarquee';
|
|
18
|
-
export * from './Icon';
|
|
19
18
|
export * from './Image';
|
|
20
19
|
export * from './ListGroup';
|
|
21
|
-
export * from './LiveTSX';
|
|
22
|
-
export * from './Loading';
|
|
23
20
|
export * from './Menu';
|
|
24
|
-
export * from './MonthCalendar';
|
|
25
|
-
export * from './Nameplate';
|
|
26
21
|
export * from './NativeDialog';
|
|
27
22
|
export * from './Nav';
|
|
28
23
|
export * from './Navbar';
|
|
29
|
-
export * from './
|
|
30
|
-
export * from './
|
|
24
|
+
export * from './NavOverflow';
|
|
25
|
+
export * from './Overlay';
|
|
26
|
+
export * from './Pagination';
|
|
27
|
+
export * from './Placeholder';
|
|
31
28
|
export * from './Popover';
|
|
32
|
-
export * from './
|
|
33
|
-
export * from './
|
|
34
|
-
export * from './ShareBox';
|
|
29
|
+
export * from './Progress';
|
|
30
|
+
export * from './ScrollSpy';
|
|
35
31
|
export * from './Spinner';
|
|
36
|
-
export * from './
|
|
32
|
+
export * from './Stepper';
|
|
33
|
+
export * from './Tab';
|
|
37
34
|
export * from './Table';
|
|
38
|
-
export * from './TableSpinner';
|
|
39
|
-
export * from './TextTruncate';
|
|
40
|
-
export * from './Time';
|
|
41
|
-
export * from './TimeDistance';
|
|
42
|
-
export * from './Timeline';
|
|
43
35
|
export * from './Toast';
|
|
44
36
|
export * from './ToggleButton';
|
|
37
|
+
export * from './Toggler';
|
|
45
38
|
export * from './Tooltip';
|
|
46
|
-
export * from './TypeEcho';
|
|
47
|
-
export * from './UserRank';
|
|
48
|
-
export * from './VerticalMarquee';
|
|
49
|
-
export * from './ZodiacBar';
|
package/source/OverlayBox.tsx
DELETED
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import classNames from 'classnames';
|
|
4
|
-
import { action, observable } from 'mobx';
|
|
5
|
-
import { observer } from 'mobx-react';
|
|
6
|
-
import {
|
|
7
|
-
cloneElement,
|
|
8
|
-
Component,
|
|
9
|
-
createRef,
|
|
10
|
-
FocusEvent,
|
|
11
|
-
HTMLAttributes,
|
|
12
|
-
isValidElement,
|
|
13
|
-
KeyboardEvent,
|
|
14
|
-
MouseEvent,
|
|
15
|
-
ReactElement,
|
|
16
|
-
ReactNode
|
|
17
|
-
} from 'react';
|
|
18
|
-
import { uniqueID } from 'web-utility';
|
|
19
|
-
|
|
20
|
-
import { OverlayPlacement } from './Overlay';
|
|
21
|
-
import { Popover } from './Popover';
|
|
22
|
-
import { Tooltip } from './Tooltip';
|
|
23
|
-
|
|
24
|
-
export type OverlayTrigger = 'click' | 'focus' | 'hover';
|
|
25
|
-
|
|
26
|
-
export interface OverlayBoxProps extends Omit<
|
|
27
|
-
HTMLAttributes<HTMLSpanElement>,
|
|
28
|
-
'children' | 'title'
|
|
29
|
-
> {
|
|
30
|
-
title: ReactNode;
|
|
31
|
-
detail?: ReactNode;
|
|
32
|
-
placement?: OverlayPlacement;
|
|
33
|
-
trigger?: OverlayTrigger | OverlayTrigger[];
|
|
34
|
-
delay?: number | { show: number; hide: number };
|
|
35
|
-
overlayClassName?: string;
|
|
36
|
-
children: ReactElement<{ 'aria-describedby'?: string }>;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
const PLACEMENT_CLASSES: Record<OverlayPlacement, string> = {
|
|
40
|
-
top: 'bottom-100 start-50 translate-middle-x',
|
|
41
|
-
right: 'top-50 start-100 translate-middle-y',
|
|
42
|
-
bottom: 'top-100 start-50 translate-middle-x',
|
|
43
|
-
left: 'top-50 end-100 translate-middle-y'
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
const OVERLAY_GAPS: Record<OverlayPlacement, Record<'popover' | 'tooltip', string>> = {
|
|
47
|
-
top: { popover: 'mb-3', tooltip: 'mb-2' },
|
|
48
|
-
right: { popover: 'ms-3', tooltip: 'ms-2' },
|
|
49
|
-
bottom: { popover: 'mt-3', tooltip: 'mt-2' },
|
|
50
|
-
left: { popover: 'me-3', tooltip: 'me-2' }
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
@observer
|
|
54
|
-
export class OverlayBox extends Component<OverlayBoxProps> {
|
|
55
|
-
static displayName = 'OverlayBox';
|
|
56
|
-
|
|
57
|
-
@observable accessor open = false;
|
|
58
|
-
|
|
59
|
-
id = uniqueID();
|
|
60
|
-
root = createRef<HTMLSpanElement>();
|
|
61
|
-
timer?: ReturnType<typeof setTimeout>;
|
|
62
|
-
|
|
63
|
-
@action
|
|
64
|
-
setOpen = (open: boolean) => (this.open = open);
|
|
65
|
-
|
|
66
|
-
hide = () => {
|
|
67
|
-
clearTimeout(this.timer);
|
|
68
|
-
this.setOpen(false);
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
setOpenAfterDelay = (open: boolean) => {
|
|
72
|
-
clearTimeout(this.timer);
|
|
73
|
-
|
|
74
|
-
const { delay } = this.props;
|
|
75
|
-
const timeout = typeof delay === 'number' ? delay : delay?.[open ? 'show' : 'hide'];
|
|
76
|
-
|
|
77
|
-
if (!timeout) return this.setOpen(open);
|
|
78
|
-
|
|
79
|
-
this.timer = setTimeout(() => this.setOpen(open), timeout);
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
componentWillUnmount() {
|
|
83
|
-
document.removeEventListener('pointerdown', this.handleOutside);
|
|
84
|
-
clearTimeout(this.timer);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
componentDidMount() {
|
|
88
|
-
document.addEventListener('pointerdown', this.handleOutside);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
hasTrigger = (trigger: OverlayTrigger) => {
|
|
92
|
-
const triggers: OverlayTrigger[] = this.props.trigger
|
|
93
|
-
? Array.isArray(this.props.trigger)
|
|
94
|
-
? this.props.trigger
|
|
95
|
-
: [this.props.trigger]
|
|
96
|
-
: ['hover', 'focus'];
|
|
97
|
-
|
|
98
|
-
return triggers.includes(trigger);
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
handleMouseEnter = (event: MouseEvent<HTMLSpanElement>) => {
|
|
102
|
-
this.props.onMouseEnter?.(event);
|
|
103
|
-
|
|
104
|
-
if (this.hasTrigger('hover')) this.setOpenAfterDelay(true);
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
handleMouseLeave = (event: MouseEvent<HTMLSpanElement>) => {
|
|
108
|
-
this.props.onMouseLeave?.(event);
|
|
109
|
-
|
|
110
|
-
if (this.hasTrigger('hover') && !this.root.current?.contains(document.activeElement))
|
|
111
|
-
this.setOpenAfterDelay(false);
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
handleFocus = (event: FocusEvent<HTMLSpanElement>) => {
|
|
115
|
-
this.props.onFocus?.(event);
|
|
116
|
-
|
|
117
|
-
if (this.hasTrigger('focus')) this.setOpenAfterDelay(true);
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
handleBlur = (event: FocusEvent<HTMLSpanElement>) => {
|
|
121
|
-
this.props.onBlur?.(event);
|
|
122
|
-
|
|
123
|
-
if (this.hasTrigger('focus') && !event.currentTarget.contains(event.relatedTarget))
|
|
124
|
-
this.setOpenAfterDelay(false);
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
handleClick = (event: MouseEvent<HTMLSpanElement>) => {
|
|
128
|
-
this.props.onClick?.(event);
|
|
129
|
-
|
|
130
|
-
if (!event.defaultPrevented && this.hasTrigger('click')) this.setOpenAfterDelay(!this.open);
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
handleOutside = ({ target }: PointerEvent) => {
|
|
134
|
-
if (target instanceof Node && !this.root.current?.contains(target)) this.hide();
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
handleKeyDown = (event: KeyboardEvent<HTMLSpanElement>) => {
|
|
138
|
-
this.props.onKeyDown?.(event);
|
|
139
|
-
|
|
140
|
-
if (event.key === 'Escape' && this.open) {
|
|
141
|
-
event.preventDefault();
|
|
142
|
-
this.hide();
|
|
143
|
-
}
|
|
144
|
-
};
|
|
145
|
-
|
|
146
|
-
render() {
|
|
147
|
-
const {
|
|
148
|
-
title,
|
|
149
|
-
detail,
|
|
150
|
-
placement = 'top',
|
|
151
|
-
trigger: _trigger,
|
|
152
|
-
delay: _delay,
|
|
153
|
-
overlayClassName,
|
|
154
|
-
children,
|
|
155
|
-
className = '',
|
|
156
|
-
onMouseEnter: _onMouseEnter,
|
|
157
|
-
onMouseLeave: _onMouseLeave,
|
|
158
|
-
onFocus: _onFocus,
|
|
159
|
-
onBlur: _onBlur,
|
|
160
|
-
onClick: _onClick,
|
|
161
|
-
onKeyDown: _onKeyDown,
|
|
162
|
-
...props
|
|
163
|
-
} = this.props;
|
|
164
|
-
const id = this.open ? this.id : undefined;
|
|
165
|
-
const position = PLACEMENT_CLASSES[placement];
|
|
166
|
-
const gap = OVERLAY_GAPS[placement][detail ? 'popover' : 'tooltip'];
|
|
167
|
-
const overlayClass = classNames('position-absolute w-max', position, gap, overlayClassName);
|
|
168
|
-
const trigger = isValidElement(children)
|
|
169
|
-
? cloneElement(children, {
|
|
170
|
-
'aria-describedby':
|
|
171
|
-
[children.props['aria-describedby'], id].filter(Boolean).join(' ') ||
|
|
172
|
-
undefined
|
|
173
|
-
})
|
|
174
|
-
: children;
|
|
175
|
-
|
|
176
|
-
return (
|
|
177
|
-
<span
|
|
178
|
-
{...props}
|
|
179
|
-
ref={this.root}
|
|
180
|
-
className={`position-relative d-inline-block ${className}`}
|
|
181
|
-
onMouseEnter={this.handleMouseEnter}
|
|
182
|
-
onMouseLeave={this.handleMouseLeave}
|
|
183
|
-
onFocus={this.handleFocus}
|
|
184
|
-
onBlur={this.handleBlur}
|
|
185
|
-
onClick={this.handleClick}
|
|
186
|
-
onKeyDown={this.handleKeyDown}
|
|
187
|
-
>
|
|
188
|
-
{trigger}
|
|
189
|
-
|
|
190
|
-
{this.open &&
|
|
191
|
-
(detail ? (
|
|
192
|
-
<Popover
|
|
193
|
-
id={id}
|
|
194
|
-
className={overlayClass}
|
|
195
|
-
title={title}
|
|
196
|
-
placement={placement}
|
|
197
|
-
>
|
|
198
|
-
{detail}
|
|
199
|
-
</Popover>
|
|
200
|
-
) : (
|
|
201
|
-
<Tooltip id={id} className={overlayClass} placement={placement}>
|
|
202
|
-
{title}
|
|
203
|
-
</Tooltip>
|
|
204
|
-
))}
|
|
205
|
-
</span>
|
|
206
|
-
);
|
|
207
|
-
}
|
|
208
|
-
}
|
package/source/Select.tsx
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import classNames from 'classnames';
|
|
4
|
-
import {
|
|
5
|
-
ButtonHTMLAttributes,
|
|
6
|
-
Children,
|
|
7
|
-
FC,
|
|
8
|
-
isValidElement,
|
|
9
|
-
MouseEvent,
|
|
10
|
-
ReactElement,
|
|
11
|
-
ReactNode
|
|
12
|
-
} from 'react';
|
|
13
|
-
|
|
14
|
-
import { ButtonProps } from './Button';
|
|
15
|
-
import { Menu } from './Menu';
|
|
16
|
-
|
|
17
|
-
export interface OptionProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
18
|
-
value?: string;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export const Option: FC<OptionProps> = ({ value, className, children, ...props }) => (
|
|
22
|
-
<button
|
|
23
|
-
{...props}
|
|
24
|
-
type="button"
|
|
25
|
-
className={classNames('menu-item', className)}
|
|
26
|
-
data-value={value}
|
|
27
|
-
>
|
|
28
|
-
{children}
|
|
29
|
-
</button>
|
|
30
|
-
);
|
|
31
|
-
|
|
32
|
-
Option.displayName = 'Option';
|
|
33
|
-
|
|
34
|
-
export type SelectProps = Pick<
|
|
35
|
-
ButtonProps,
|
|
36
|
-
'className' | 'style' | 'size' | 'theme' | 'variant' | 'disabled' | 'children'
|
|
37
|
-
> & {
|
|
38
|
-
align?: 'start' | 'end';
|
|
39
|
-
menuClassName?: string;
|
|
40
|
-
value?: string;
|
|
41
|
-
onChange?: (value: string) => void;
|
|
42
|
-
valueRender?: (value: string) => ReactNode;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export const Select: FC<SelectProps> = ({
|
|
46
|
-
align,
|
|
47
|
-
className,
|
|
48
|
-
menuClassName,
|
|
49
|
-
children,
|
|
50
|
-
theme = 'primary',
|
|
51
|
-
variant = 'solid',
|
|
52
|
-
size,
|
|
53
|
-
disabled,
|
|
54
|
-
style,
|
|
55
|
-
value,
|
|
56
|
-
onChange,
|
|
57
|
-
valueRender
|
|
58
|
-
}) => {
|
|
59
|
-
const current = Children.toArray(children).find(
|
|
60
|
-
node =>
|
|
61
|
-
isValidElement<OptionProps>(node) && node.type === Option && node.props.value === value
|
|
62
|
-
) as ReactElement<OptionProps> | undefined;
|
|
63
|
-
|
|
64
|
-
const handleSelect = ({ target }: MouseEvent<HTMLDivElement>) => {
|
|
65
|
-
if (!(target instanceof Element)) return;
|
|
66
|
-
|
|
67
|
-
const option = target.closest<HTMLButtonElement>('[data-value]');
|
|
68
|
-
if (option) onChange?.(option.dataset.value || '');
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
return (
|
|
72
|
-
<Menu
|
|
73
|
-
align={align}
|
|
74
|
-
className="w-100"
|
|
75
|
-
menuClassName={menuClassName}
|
|
76
|
-
label={valueRender?.(value ?? '') ?? current?.props.children}
|
|
77
|
-
toggleProps={{
|
|
78
|
-
className: classNames(
|
|
79
|
-
'w-100 d-flex justify-content-between align-items-center',
|
|
80
|
-
className
|
|
81
|
-
),
|
|
82
|
-
theme,
|
|
83
|
-
variant,
|
|
84
|
-
size,
|
|
85
|
-
disabled,
|
|
86
|
-
style
|
|
87
|
-
}}
|
|
88
|
-
onClick={handleSelect}
|
|
89
|
-
>
|
|
90
|
-
{children}
|
|
91
|
-
</Menu>
|
|
92
|
-
);
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
Select.displayName = 'Select';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|