@stack-spot/portal-layout 0.0.37 → 0.0.38
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/dist/components/menu/MenuContent.d.ts +545 -2
- package/dist/components/menu/MenuContent.d.ts.map +1 -1
- package/dist/components/menu/MenuContent.js +7 -3
- package/dist/components/menu/MenuContent.js.map +1 -1
- package/dist/components/menu/MenuSections.d.ts.map +1 -1
- package/dist/components/menu/MenuSections.js +1 -1
- package/dist/components/menu/MenuSections.js.map +1 -1
- package/dist/layout.css +4 -0
- package/package.json +1 -1
- package/src/components/menu/MenuContent.tsx +12 -4
- package/src/components/menu/MenuSections.tsx +5 -7
- package/src/layout.css +4 -0
|
@@ -1,7 +1,550 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
2
3
|
import { MenuAction, MenuSectionContent } from './types.js';
|
|
3
|
-
export declare const MenuGroup: import("styled-components").IStyledComponent<"web",
|
|
4
|
-
|
|
4
|
+
export declare const MenuGroup: import("styled-components").IStyledComponent<"web", {
|
|
5
|
+
ref?: import("react").LegacyRef<HTMLUListElement> | undefined;
|
|
6
|
+
key?: import("react").Key | null | undefined;
|
|
7
|
+
defaultChecked?: boolean | undefined;
|
|
8
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
9
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
10
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
11
|
+
accessKey?: string | undefined;
|
|
12
|
+
autoFocus?: boolean | undefined;
|
|
13
|
+
className?: string | undefined;
|
|
14
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
15
|
+
contextMenu?: string | undefined;
|
|
16
|
+
dir?: string | undefined;
|
|
17
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
18
|
+
hidden?: boolean | undefined;
|
|
19
|
+
id?: string | undefined;
|
|
20
|
+
lang?: string | undefined;
|
|
21
|
+
nonce?: string | undefined;
|
|
22
|
+
placeholder?: string | undefined;
|
|
23
|
+
slot?: string | undefined;
|
|
24
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
25
|
+
style?: import("react").CSSProperties | undefined;
|
|
26
|
+
tabIndex?: number | undefined;
|
|
27
|
+
title?: string | undefined;
|
|
28
|
+
translate?: "yes" | "no" | undefined;
|
|
29
|
+
radioGroup?: string | undefined;
|
|
30
|
+
role?: import("react").AriaRole | undefined;
|
|
31
|
+
about?: string | undefined;
|
|
32
|
+
content?: string | undefined;
|
|
33
|
+
datatype?: string | undefined;
|
|
34
|
+
inlist?: any;
|
|
35
|
+
prefix?: string | undefined;
|
|
36
|
+
property?: string | undefined;
|
|
37
|
+
rel?: string | undefined;
|
|
38
|
+
resource?: string | undefined;
|
|
39
|
+
rev?: string | undefined;
|
|
40
|
+
typeof?: string | undefined;
|
|
41
|
+
vocab?: string | undefined;
|
|
42
|
+
autoCapitalize?: string | undefined;
|
|
43
|
+
autoCorrect?: string | undefined;
|
|
44
|
+
autoSave?: string | undefined;
|
|
45
|
+
color?: string | undefined;
|
|
46
|
+
itemProp?: string | undefined;
|
|
47
|
+
itemScope?: boolean | undefined;
|
|
48
|
+
itemType?: string | undefined;
|
|
49
|
+
itemID?: string | undefined;
|
|
50
|
+
itemRef?: string | undefined;
|
|
51
|
+
results?: number | undefined;
|
|
52
|
+
security?: string | undefined;
|
|
53
|
+
unselectable?: "on" | "off" | undefined;
|
|
54
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
55
|
+
is?: string | undefined;
|
|
56
|
+
"aria-activedescendant"?: string | undefined;
|
|
57
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
58
|
+
"aria-autocomplete"?: "none" | "inline" | "both" | "list" | undefined;
|
|
59
|
+
"aria-braillelabel"?: string | undefined;
|
|
60
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
61
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
62
|
+
"aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
63
|
+
"aria-colcount"?: number | undefined;
|
|
64
|
+
"aria-colindex"?: number | undefined;
|
|
65
|
+
"aria-colindextext"?: string | undefined;
|
|
66
|
+
"aria-colspan"?: number | undefined;
|
|
67
|
+
"aria-controls"?: string | undefined;
|
|
68
|
+
"aria-current"?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
|
|
69
|
+
"aria-describedby"?: string | undefined;
|
|
70
|
+
"aria-description"?: string | undefined;
|
|
71
|
+
"aria-details"?: string | undefined;
|
|
72
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
73
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
74
|
+
"aria-errormessage"?: string | undefined;
|
|
75
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
76
|
+
"aria-flowto"?: string | undefined;
|
|
77
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
78
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree" | undefined;
|
|
79
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
80
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
81
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
82
|
+
"aria-label"?: string | undefined;
|
|
83
|
+
"aria-labelledby"?: string | undefined;
|
|
84
|
+
"aria-level"?: number | undefined;
|
|
85
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
86
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
87
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
88
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
89
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
90
|
+
"aria-owns"?: string | undefined;
|
|
91
|
+
"aria-placeholder"?: string | undefined;
|
|
92
|
+
"aria-posinset"?: number | undefined;
|
|
93
|
+
"aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
94
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
95
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
96
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
97
|
+
"aria-roledescription"?: string | undefined;
|
|
98
|
+
"aria-rowcount"?: number | undefined;
|
|
99
|
+
"aria-rowindex"?: number | undefined;
|
|
100
|
+
"aria-rowindextext"?: string | undefined;
|
|
101
|
+
"aria-rowspan"?: number | undefined;
|
|
102
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
103
|
+
"aria-setsize"?: number | undefined;
|
|
104
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
105
|
+
"aria-valuemax"?: number | undefined;
|
|
106
|
+
"aria-valuemin"?: number | undefined;
|
|
107
|
+
"aria-valuenow"?: number | undefined;
|
|
108
|
+
"aria-valuetext"?: string | undefined;
|
|
109
|
+
children?: import("react").ReactNode;
|
|
110
|
+
dangerouslySetInnerHTML?: {
|
|
111
|
+
__html: string | TrustedHTML;
|
|
112
|
+
} | undefined;
|
|
113
|
+
onCopy?: import("react").ClipboardEventHandler<HTMLUListElement> | undefined;
|
|
114
|
+
onCopyCapture?: import("react").ClipboardEventHandler<HTMLUListElement> | undefined;
|
|
115
|
+
onCut?: import("react").ClipboardEventHandler<HTMLUListElement> | undefined;
|
|
116
|
+
onCutCapture?: import("react").ClipboardEventHandler<HTMLUListElement> | undefined;
|
|
117
|
+
onPaste?: import("react").ClipboardEventHandler<HTMLUListElement> | undefined;
|
|
118
|
+
onPasteCapture?: import("react").ClipboardEventHandler<HTMLUListElement> | undefined;
|
|
119
|
+
onCompositionEnd?: import("react").CompositionEventHandler<HTMLUListElement> | undefined;
|
|
120
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLUListElement> | undefined;
|
|
121
|
+
onCompositionStart?: import("react").CompositionEventHandler<HTMLUListElement> | undefined;
|
|
122
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLUListElement> | undefined;
|
|
123
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLUListElement> | undefined;
|
|
124
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLUListElement> | undefined;
|
|
125
|
+
onFocus?: import("react").FocusEventHandler<HTMLUListElement> | undefined;
|
|
126
|
+
onFocusCapture?: import("react").FocusEventHandler<HTMLUListElement> | undefined;
|
|
127
|
+
onBlur?: import("react").FocusEventHandler<HTMLUListElement> | undefined;
|
|
128
|
+
onBlurCapture?: import("react").FocusEventHandler<HTMLUListElement> | undefined;
|
|
129
|
+
onChange?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
130
|
+
onChangeCapture?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
131
|
+
onBeforeInput?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
132
|
+
onBeforeInputCapture?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
133
|
+
onInput?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
134
|
+
onInputCapture?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
135
|
+
onReset?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
136
|
+
onResetCapture?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
137
|
+
onSubmit?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
138
|
+
onSubmitCapture?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
139
|
+
onInvalid?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
140
|
+
onInvalidCapture?: import("react").FormEventHandler<HTMLUListElement> | undefined;
|
|
141
|
+
onLoad?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
142
|
+
onLoadCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
143
|
+
onError?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
144
|
+
onErrorCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
145
|
+
onKeyDown?: import("react").KeyboardEventHandler<HTMLUListElement> | undefined;
|
|
146
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLUListElement> | undefined;
|
|
147
|
+
onKeyPress?: import("react").KeyboardEventHandler<HTMLUListElement> | undefined;
|
|
148
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLUListElement> | undefined;
|
|
149
|
+
onKeyUp?: import("react").KeyboardEventHandler<HTMLUListElement> | undefined;
|
|
150
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLUListElement> | undefined;
|
|
151
|
+
onAbort?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
152
|
+
onAbortCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
153
|
+
onCanPlay?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
154
|
+
onCanPlayCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
155
|
+
onCanPlayThrough?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
156
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
157
|
+
onDurationChange?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
158
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
159
|
+
onEmptied?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
160
|
+
onEmptiedCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
161
|
+
onEncrypted?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
162
|
+
onEncryptedCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
163
|
+
onEnded?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
164
|
+
onEndedCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
165
|
+
onLoadedData?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
166
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
167
|
+
onLoadedMetadata?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
168
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
169
|
+
onLoadStart?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
170
|
+
onLoadStartCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
171
|
+
onPause?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
172
|
+
onPauseCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
173
|
+
onPlay?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
174
|
+
onPlayCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
175
|
+
onPlaying?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
176
|
+
onPlayingCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
177
|
+
onProgress?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
178
|
+
onProgressCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
179
|
+
onRateChange?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
180
|
+
onRateChangeCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
181
|
+
onResize?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
182
|
+
onResizeCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
183
|
+
onSeeked?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
184
|
+
onSeekedCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
185
|
+
onSeeking?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
186
|
+
onSeekingCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
187
|
+
onStalled?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
188
|
+
onStalledCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
189
|
+
onSuspend?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
190
|
+
onSuspendCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
191
|
+
onTimeUpdate?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
192
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
193
|
+
onVolumeChange?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
194
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
195
|
+
onWaiting?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
196
|
+
onWaitingCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
197
|
+
onAuxClick?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
198
|
+
onAuxClickCapture?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
199
|
+
onClick?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
200
|
+
onClickCapture?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
201
|
+
onContextMenu?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
202
|
+
onContextMenuCapture?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
203
|
+
onDoubleClick?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
204
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
205
|
+
onDrag?: import("react").DragEventHandler<HTMLUListElement> | undefined;
|
|
206
|
+
onDragCapture?: import("react").DragEventHandler<HTMLUListElement> | undefined;
|
|
207
|
+
onDragEnd?: import("react").DragEventHandler<HTMLUListElement> | undefined;
|
|
208
|
+
onDragEndCapture?: import("react").DragEventHandler<HTMLUListElement> | undefined;
|
|
209
|
+
onDragEnter?: import("react").DragEventHandler<HTMLUListElement> | undefined;
|
|
210
|
+
onDragEnterCapture?: import("react").DragEventHandler<HTMLUListElement> | undefined;
|
|
211
|
+
onDragExit?: import("react").DragEventHandler<HTMLUListElement> | undefined;
|
|
212
|
+
onDragExitCapture?: import("react").DragEventHandler<HTMLUListElement> | undefined;
|
|
213
|
+
onDragLeave?: import("react").DragEventHandler<HTMLUListElement> | undefined;
|
|
214
|
+
onDragLeaveCapture?: import("react").DragEventHandler<HTMLUListElement> | undefined;
|
|
215
|
+
onDragOver?: import("react").DragEventHandler<HTMLUListElement> | undefined;
|
|
216
|
+
onDragOverCapture?: import("react").DragEventHandler<HTMLUListElement> | undefined;
|
|
217
|
+
onDragStart?: import("react").DragEventHandler<HTMLUListElement> | undefined;
|
|
218
|
+
onDragStartCapture?: import("react").DragEventHandler<HTMLUListElement> | undefined;
|
|
219
|
+
onDrop?: import("react").DragEventHandler<HTMLUListElement> | undefined;
|
|
220
|
+
onDropCapture?: import("react").DragEventHandler<HTMLUListElement> | undefined;
|
|
221
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
222
|
+
onMouseDownCapture?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
223
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
224
|
+
onMouseLeave?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
225
|
+
onMouseMove?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
226
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
227
|
+
onMouseOut?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
228
|
+
onMouseOutCapture?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
229
|
+
onMouseOver?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
230
|
+
onMouseOverCapture?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
231
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
232
|
+
onMouseUpCapture?: import("react").MouseEventHandler<HTMLUListElement> | undefined;
|
|
233
|
+
onSelect?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
234
|
+
onSelectCapture?: import("react").ReactEventHandler<HTMLUListElement> | undefined;
|
|
235
|
+
onTouchCancel?: import("react").TouchEventHandler<HTMLUListElement> | undefined;
|
|
236
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLUListElement> | undefined;
|
|
237
|
+
onTouchEnd?: import("react").TouchEventHandler<HTMLUListElement> | undefined;
|
|
238
|
+
onTouchEndCapture?: import("react").TouchEventHandler<HTMLUListElement> | undefined;
|
|
239
|
+
onTouchMove?: import("react").TouchEventHandler<HTMLUListElement> | undefined;
|
|
240
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLUListElement> | undefined;
|
|
241
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLUListElement> | undefined;
|
|
242
|
+
onTouchStartCapture?: import("react").TouchEventHandler<HTMLUListElement> | undefined;
|
|
243
|
+
onPointerDown?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
244
|
+
onPointerDownCapture?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
245
|
+
onPointerMove?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
246
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
247
|
+
onPointerUp?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
248
|
+
onPointerUpCapture?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
249
|
+
onPointerCancel?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
250
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
251
|
+
onPointerEnter?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
252
|
+
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
253
|
+
onPointerLeave?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
254
|
+
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
255
|
+
onPointerOver?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
256
|
+
onPointerOverCapture?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
257
|
+
onPointerOut?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
258
|
+
onPointerOutCapture?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
259
|
+
onGotPointerCapture?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
260
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
261
|
+
onLostPointerCapture?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
262
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLUListElement> | undefined;
|
|
263
|
+
onScroll?: import("react").UIEventHandler<HTMLUListElement> | undefined;
|
|
264
|
+
onScrollCapture?: import("react").UIEventHandler<HTMLUListElement> | undefined;
|
|
265
|
+
onWheel?: import("react").WheelEventHandler<HTMLUListElement> | undefined;
|
|
266
|
+
onWheelCapture?: import("react").WheelEventHandler<HTMLUListElement> | undefined;
|
|
267
|
+
onAnimationStart?: import("react").AnimationEventHandler<HTMLUListElement> | undefined;
|
|
268
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLUListElement> | undefined;
|
|
269
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLUListElement> | undefined;
|
|
270
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLUListElement> | undefined;
|
|
271
|
+
onAnimationIteration?: import("react").AnimationEventHandler<HTMLUListElement> | undefined;
|
|
272
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLUListElement> | undefined;
|
|
273
|
+
onTransitionEnd?: import("react").TransitionEventHandler<HTMLUListElement> | undefined;
|
|
274
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLUListElement> | undefined;
|
|
275
|
+
}>;
|
|
276
|
+
export declare const Title: import("styled-components").IStyledComponent<"web", {
|
|
277
|
+
ref?: import("react").LegacyRef<HTMLElement> | undefined;
|
|
278
|
+
key?: import("react").Key | null | undefined;
|
|
279
|
+
defaultChecked?: boolean | undefined;
|
|
280
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
281
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
282
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
283
|
+
accessKey?: string | undefined;
|
|
284
|
+
autoFocus?: boolean | undefined;
|
|
285
|
+
className?: string | undefined;
|
|
286
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
287
|
+
contextMenu?: string | undefined;
|
|
288
|
+
dir?: string | undefined;
|
|
289
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
290
|
+
hidden?: boolean | undefined;
|
|
291
|
+
id?: string | undefined;
|
|
292
|
+
lang?: string | undefined;
|
|
293
|
+
nonce?: string | undefined;
|
|
294
|
+
placeholder?: string | undefined;
|
|
295
|
+
slot?: string | undefined;
|
|
296
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
297
|
+
style?: import("react").CSSProperties | undefined;
|
|
298
|
+
tabIndex?: number | undefined;
|
|
299
|
+
title?: string | undefined;
|
|
300
|
+
translate?: "yes" | "no" | undefined;
|
|
301
|
+
radioGroup?: string | undefined;
|
|
302
|
+
role?: import("react").AriaRole | undefined;
|
|
303
|
+
about?: string | undefined;
|
|
304
|
+
content?: string | undefined;
|
|
305
|
+
datatype?: string | undefined;
|
|
306
|
+
inlist?: any;
|
|
307
|
+
prefix?: string | undefined;
|
|
308
|
+
property?: string | undefined;
|
|
309
|
+
rel?: string | undefined;
|
|
310
|
+
resource?: string | undefined;
|
|
311
|
+
rev?: string | undefined;
|
|
312
|
+
typeof?: string | undefined;
|
|
313
|
+
vocab?: string | undefined;
|
|
314
|
+
autoCapitalize?: string | undefined;
|
|
315
|
+
autoCorrect?: string | undefined;
|
|
316
|
+
autoSave?: string | undefined;
|
|
317
|
+
color?: string | undefined;
|
|
318
|
+
itemProp?: string | undefined;
|
|
319
|
+
itemScope?: boolean | undefined;
|
|
320
|
+
itemType?: string | undefined;
|
|
321
|
+
itemID?: string | undefined;
|
|
322
|
+
itemRef?: string | undefined;
|
|
323
|
+
results?: number | undefined;
|
|
324
|
+
security?: string | undefined;
|
|
325
|
+
unselectable?: "on" | "off" | undefined;
|
|
326
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
327
|
+
is?: string | undefined;
|
|
328
|
+
"aria-activedescendant"?: string | undefined;
|
|
329
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
330
|
+
"aria-autocomplete"?: "none" | "inline" | "both" | "list" | undefined;
|
|
331
|
+
"aria-braillelabel"?: string | undefined;
|
|
332
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
333
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
334
|
+
"aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
335
|
+
"aria-colcount"?: number | undefined;
|
|
336
|
+
"aria-colindex"?: number | undefined;
|
|
337
|
+
"aria-colindextext"?: string | undefined;
|
|
338
|
+
"aria-colspan"?: number | undefined;
|
|
339
|
+
"aria-controls"?: string | undefined;
|
|
340
|
+
"aria-current"?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
|
|
341
|
+
"aria-describedby"?: string | undefined;
|
|
342
|
+
"aria-description"?: string | undefined;
|
|
343
|
+
"aria-details"?: string | undefined;
|
|
344
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
345
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
346
|
+
"aria-errormessage"?: string | undefined;
|
|
347
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
348
|
+
"aria-flowto"?: string | undefined;
|
|
349
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
350
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree" | undefined;
|
|
351
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
352
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
353
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
354
|
+
"aria-label"?: string | undefined;
|
|
355
|
+
"aria-labelledby"?: string | undefined;
|
|
356
|
+
"aria-level"?: number | undefined;
|
|
357
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
358
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
359
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
360
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
361
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
362
|
+
"aria-owns"?: string | undefined;
|
|
363
|
+
"aria-placeholder"?: string | undefined;
|
|
364
|
+
"aria-posinset"?: number | undefined;
|
|
365
|
+
"aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
366
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
367
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
368
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
369
|
+
"aria-roledescription"?: string | undefined;
|
|
370
|
+
"aria-rowcount"?: number | undefined;
|
|
371
|
+
"aria-rowindex"?: number | undefined;
|
|
372
|
+
"aria-rowindextext"?: string | undefined;
|
|
373
|
+
"aria-rowspan"?: number | undefined;
|
|
374
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
375
|
+
"aria-setsize"?: number | undefined;
|
|
376
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
377
|
+
"aria-valuemax"?: number | undefined;
|
|
378
|
+
"aria-valuemin"?: number | undefined;
|
|
379
|
+
"aria-valuenow"?: number | undefined;
|
|
380
|
+
"aria-valuetext"?: string | undefined;
|
|
381
|
+
children?: import("react").ReactNode;
|
|
382
|
+
dangerouslySetInnerHTML?: {
|
|
383
|
+
__html: string | TrustedHTML;
|
|
384
|
+
} | undefined;
|
|
385
|
+
onCopy?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
386
|
+
onCopyCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
387
|
+
onCut?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
388
|
+
onCutCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
389
|
+
onPaste?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
390
|
+
onPasteCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
|
|
391
|
+
onCompositionEnd?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
392
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
393
|
+
onCompositionStart?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
394
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
395
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
396
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
|
|
397
|
+
onFocus?: import("react").FocusEventHandler<HTMLElement> | undefined;
|
|
398
|
+
onFocusCapture?: import("react").FocusEventHandler<HTMLElement> | undefined;
|
|
399
|
+
onBlur?: import("react").FocusEventHandler<HTMLElement> | undefined;
|
|
400
|
+
onBlurCapture?: import("react").FocusEventHandler<HTMLElement> | undefined;
|
|
401
|
+
onChange?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
402
|
+
onChangeCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
403
|
+
onBeforeInput?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
404
|
+
onBeforeInputCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
405
|
+
onInput?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
406
|
+
onInputCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
407
|
+
onReset?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
408
|
+
onResetCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
409
|
+
onSubmit?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
410
|
+
onSubmitCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
411
|
+
onInvalid?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
412
|
+
onInvalidCapture?: import("react").FormEventHandler<HTMLElement> | undefined;
|
|
413
|
+
onLoad?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
414
|
+
onLoadCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
415
|
+
onError?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
416
|
+
onErrorCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
417
|
+
onKeyDown?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
418
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
419
|
+
onKeyPress?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
420
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
421
|
+
onKeyUp?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
422
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
|
|
423
|
+
onAbort?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
424
|
+
onAbortCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
425
|
+
onCanPlay?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
426
|
+
onCanPlayCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
427
|
+
onCanPlayThrough?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
428
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
429
|
+
onDurationChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
430
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
431
|
+
onEmptied?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
432
|
+
onEmptiedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
433
|
+
onEncrypted?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
434
|
+
onEncryptedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
435
|
+
onEnded?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
436
|
+
onEndedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
437
|
+
onLoadedData?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
438
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
439
|
+
onLoadedMetadata?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
440
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
441
|
+
onLoadStart?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
442
|
+
onLoadStartCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
443
|
+
onPause?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
444
|
+
onPauseCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
445
|
+
onPlay?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
446
|
+
onPlayCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
447
|
+
onPlaying?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
448
|
+
onPlayingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
449
|
+
onProgress?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
450
|
+
onProgressCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
451
|
+
onRateChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
452
|
+
onRateChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
453
|
+
onResize?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
454
|
+
onResizeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
455
|
+
onSeeked?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
456
|
+
onSeekedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
457
|
+
onSeeking?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
458
|
+
onSeekingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
459
|
+
onStalled?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
460
|
+
onStalledCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
461
|
+
onSuspend?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
462
|
+
onSuspendCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
463
|
+
onTimeUpdate?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
464
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
465
|
+
onVolumeChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
466
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
467
|
+
onWaiting?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
468
|
+
onWaitingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
469
|
+
onAuxClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
470
|
+
onAuxClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
471
|
+
onClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
472
|
+
onClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
473
|
+
onContextMenu?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
474
|
+
onContextMenuCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
475
|
+
onDoubleClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
476
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
477
|
+
onDrag?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
478
|
+
onDragCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
479
|
+
onDragEnd?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
480
|
+
onDragEndCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
481
|
+
onDragEnter?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
482
|
+
onDragEnterCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
483
|
+
onDragExit?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
484
|
+
onDragExitCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
485
|
+
onDragLeave?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
486
|
+
onDragLeaveCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
487
|
+
onDragOver?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
488
|
+
onDragOverCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
489
|
+
onDragStart?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
490
|
+
onDragStartCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
491
|
+
onDrop?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
492
|
+
onDropCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
|
|
493
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
494
|
+
onMouseDownCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
495
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
496
|
+
onMouseLeave?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
497
|
+
onMouseMove?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
498
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
499
|
+
onMouseOut?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
500
|
+
onMouseOutCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
501
|
+
onMouseOver?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
502
|
+
onMouseOverCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
503
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
504
|
+
onMouseUpCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
|
|
505
|
+
onSelect?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
506
|
+
onSelectCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
|
|
507
|
+
onTouchCancel?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
508
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
509
|
+
onTouchEnd?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
510
|
+
onTouchEndCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
511
|
+
onTouchMove?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
512
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
513
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
514
|
+
onTouchStartCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
|
|
515
|
+
onPointerDown?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
516
|
+
onPointerDownCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
517
|
+
onPointerMove?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
518
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
519
|
+
onPointerUp?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
520
|
+
onPointerUpCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
521
|
+
onPointerCancel?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
522
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
523
|
+
onPointerEnter?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
524
|
+
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
525
|
+
onPointerLeave?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
526
|
+
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
527
|
+
onPointerOver?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
528
|
+
onPointerOverCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
529
|
+
onPointerOut?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
530
|
+
onPointerOutCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
531
|
+
onGotPointerCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
532
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
533
|
+
onLostPointerCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
534
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
|
|
535
|
+
onScroll?: import("react").UIEventHandler<HTMLElement> | undefined;
|
|
536
|
+
onScrollCapture?: import("react").UIEventHandler<HTMLElement> | undefined;
|
|
537
|
+
onWheel?: import("react").WheelEventHandler<HTMLElement> | undefined;
|
|
538
|
+
onWheelCapture?: import("react").WheelEventHandler<HTMLElement> | undefined;
|
|
539
|
+
onAnimationStart?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
540
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
541
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
542
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
543
|
+
onAnimationIteration?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
544
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
|
|
545
|
+
onTransitionEnd?: import("react").TransitionEventHandler<HTMLElement> | undefined;
|
|
546
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
|
|
547
|
+
}>;
|
|
5
548
|
export declare const ActionItem: ({ label, onClick, href, active, icon, badge, overflow }: MenuAction) => import("react/jsx-runtime").JSX.Element;
|
|
6
549
|
export declare const MenuContent: ({ pageSelector, goBack, title, subtitle, afterTitle, options, loading, error }: MenuSectionContent) => import("react/jsx-runtime").JSX.Element;
|
|
7
550
|
//# sourceMappingURL=MenuContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuContent.d.ts","sourceRoot":"","sources":["../../../src/components/menu/MenuContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MenuContent.d.ts","sourceRoot":"","sources":["../../../src/components/menu/MenuContent.tsx"],"names":[],"mappings":";;AAUA,OAAO,EAAa,UAAU,EAAY,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAY7E,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqIrB,CAAA;AAED,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIjB,CAAA;AAED,eAAO,MAAM,UAAU,4DAAsE,UAAU,4CAsBtG,CAAA;AA2DD,eAAO,MAAM,WAAW,mFAAyF,kBAAkB,4CAsClI,CAAA"}
|
|
@@ -64,6 +64,10 @@ export const MenuGroup = styled.ul `
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
+
|
|
68
|
+
.item-row-title {
|
|
69
|
+
margin-top: 16px;
|
|
70
|
+
}
|
|
67
71
|
|
|
68
72
|
li a {
|
|
69
73
|
position: relative;
|
|
@@ -166,15 +170,15 @@ export const ActionItem = ({ label, onClick, href, active, icon, badge, overflow
|
|
|
166
170
|
_jsx(Text, { ref: ref, appearance: "body2", className: `label ${overflow}`, title: textOverflow ? label : '', children: label }) :
|
|
167
171
|
label.element, badge] }));
|
|
168
172
|
};
|
|
169
|
-
const CollapsibleGroupItem = ({ label, open: initiallyOpened, children, icon, badge, overflow = 'wrap' }) => {
|
|
173
|
+
const CollapsibleGroupItem = ({ label, open: initiallyOpened, children, icon, badge, root, overflow = 'wrap' }) => {
|
|
170
174
|
const [open, setOpen] = useState(initiallyOpened ?? children?.some(c => 'active' in c && c.active) ?? false);
|
|
171
175
|
const items = useMemo(() => children?.filter(i => !i.hidden).map(renderOption), [children]);
|
|
172
176
|
const id = `menuGroup${label}`;
|
|
173
|
-
return (_jsxs(_Fragment, { children: [_jsxs("a", { onClick: () => setOpen(!open), onKeyDown: e => e.key === 'Enter' && setOpen(!open), className: "item-row", tabIndex: 0, "aria-controls": id, "aria-expanded": open, children: [icon, _jsx(Text, { appearance:
|
|
177
|
+
return (_jsxs(_Fragment, { children: [_jsxs("a", { onClick: () => setOpen(!open), onKeyDown: e => e.key === 'Enter' && setOpen(!open), className: "item-row", tabIndex: 0, "aria-controls": id, "aria-expanded": open, children: [icon, _jsx(Text, { appearance: root ? 'overheader2' : 'body2', colorScheme: root ? 'light.700' : 'light.contrastText', className: `label ${overflow}`, children: label }), badge, _jsx(IconBox, { colorScheme: root ? 'light.700' : 'light.contrastText', children: _jsx(ChevronDown, { className: listToClass(['chevron', open ? 'open' : '']) }) })] }), _jsx(MenuGroup, { id: id, className: open ? 'open' : undefined, "aria-hidden": !open, children: items })] }));
|
|
174
178
|
};
|
|
175
179
|
const RootGroupItem = (props) => {
|
|
176
180
|
const items = useMemo(() => props.children?.filter(i => !i.hidden).map(renderOption), [props.children]);
|
|
177
|
-
return _jsx(_Fragment, { children: items.length ? _jsx("div", { className: "item-row-title", children: _jsx(CollapsibleGroupItem, { ...props, open: true }) }) :
|
|
181
|
+
return _jsx(_Fragment, { children: items.length ? _jsx("div", { className: "item-row-title", children: _jsx(CollapsibleGroupItem, { ...props, open: true, root: true }) }) :
|
|
178
182
|
_jsxs(_Fragment, { children: [_jsxs("div", { className: "item-row", children: [props.icon, _jsx(Text, { appearance: "overheader2", colorScheme: "light.700", className: `group-title label ${props.overflow}`, children: props.label }), props.badge] }), _jsx(MenuGroup, { className: "open no-indentation", children: items })] }) });
|
|
179
183
|
};
|
|
180
184
|
const GroupItem = ({ root, ...item }) => (root ? _jsx(RootGroupItem, { ...item }) : _jsx(CollapsibleGroupItem, { ...item }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuContent.js","sourceRoot":"","sources":["../../../src/components/menu/MenuContent.tsx"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAC5C,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAC7D,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,yBAAyB,IAAI,YAAY,EAAE,oBAAoB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA;AAExG,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAEhE,MAAM,QAAQ,GAAG,MAAM,CAAC,CAAC,CAAA;;;;YAIb,OAAO;;;CAGlB,CAAA;AAED,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,EAAE,CAAA
|
|
1
|
+
{"version":3,"file":"MenuContent.js","sourceRoot":"","sources":["../../../src/components/menu/MenuContent.tsx"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM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I,EAAE,MAAM,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,aAClD,KAAC,OAAO,IAAC,WAAW,EAAC,SAAS,EAAC,IAAI,EAAC,IAAI,YACtC,KAAC,SAAS,KAAG,GACL,EACT,OAAO,MAAM,EAAE,KAAK,KAAK,QAAQ,CAAC,CAAC;wBAClC,KAAC,IAAI,IAAC,UAAU,EAAC,OAAO,EAAC,cAAc,kBAAE,MAAM,CAAC,KAAK,GAAQ,CAAC,CAAC;wBAC/D,MAAM,CAAC,KAAK,CAAC,OAAO,IACb,CACZ,EACA,KAAK,IAAI,CACR,MAAC,KAAK,eACJ,KAAC,IAAI,IAAC,UAAU,EAAC,aAAa,EAAC,WAAW,EAAC,SAAS,EAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,YAAG,KAAK,GAAQ,EAC7G,QAAQ,IAAI,KAAC,IAAI,IAAC,UAAU,EAAC,IAAI,YAAE,QAAQ,GAAQ,IAC9C,CACT,EACA,UAAU,EACV,YAAY,IAAI,KAAC,YAAY,OAAK,YAAY,GAAI,EAClD,aAAa,EAAE,IACf,CACJ,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuSections.d.ts","sourceRoot":"","sources":["../../../src/components/menu/MenuSections.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAe,MAAM,SAAS,CAAA;AAsBhD,wBAAgB,sBAAsB,SAOrC;AAoHD,eAAO,MAAM,YAAY,2BAAiC,SAAS,
|
|
1
|
+
{"version":3,"file":"MenuSections.d.ts","sourceRoot":"","sources":["../../../src/components/menu/MenuSections.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAe,MAAM,SAAS,CAAA;AAsBhD,wBAAgB,sBAAsB,SAOrC;AAoHD,eAAO,MAAM,YAAY,2BAAiC,SAAS,4CA6FlE,CAAA"}
|
|
@@ -143,7 +143,7 @@ export const MenuSections = ({ sections = [], ...props }) => {
|
|
|
143
143
|
: _jsx(OverlayRenderer, { content: sections[currentOverlay].content, customContent: sections[currentOverlay].customContent }, currentOverlay);
|
|
144
144
|
}
|
|
145
145
|
return (_jsxs(_Fragment, { children: [_jsx("ul", { children: sectionItems }), _jsxs(Flex, { mb: 7, alignItems: "center", children: [_jsxs("button", { className: "toggle sections-footer", onClick: () => toggleMenu(!!props.content || !!props.customContent), title: t.toggle, tabIndex: -1, children: [_jsxs(IconBox, { children: [_jsx(Expand, { className: "expand" }), _jsx(Collapse, { className: "collapse" })] }), _jsx(Text, { appearance: "microtext1", ml: 8, className: "collapse", colorScheme: "light.contrastText", children: t.hide })] }), (props.settings?.show) &&
|
|
146
|
-
|
|
146
|
+
_jsxs("a", { href: props.settings?.href, onClick: props.settings?.onClick, className: "sections-footer toggle", ...(props.settings.active ? { 'aria-current': 'page' } : undefined), children: [_jsx(IconBox, { "aria-label": t.settingsIcon, children: _jsx(Cog, {}) }), _jsx(Text, { appearance: "microtext1", ml: 8, className: "collapse", children: t.settings })] })] }), _jsxs("div", { id: MENU_OVERLAY_ID, onMouseEnter: showOverlay, onMouseLeave: hideOverlay, ref: overlayRef, children: [renderMenuOverlay(), _jsx("div", { className: "arrow" })] })] }));
|
|
147
147
|
};
|
|
148
148
|
const dictionary = {
|
|
149
149
|
en: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuSections.js","sourceRoot":"","sources":["../../../src/components/menu/MenuSections.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AACnE,OAAO,EAAc,WAAW,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AACpF,OAAO,EAAE,WAAW,EAAE,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6 +66,10 @@ export const MenuGroup = styled.ul`
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
+
|
|
70
|
+
.item-row-title {
|
|
71
|
+
margin-top: 16px;
|
|
72
|
+
}
|
|
69
73
|
|
|
70
74
|
li a {
|
|
71
75
|
position: relative;
|
|
@@ -181,7 +185,8 @@ export const ActionItem = ({ label, onClick, href, active, icon, badge, overflow
|
|
|
181
185
|
)
|
|
182
186
|
}
|
|
183
187
|
|
|
184
|
-
const CollapsibleGroupItem = ({ label, open: initiallyOpened, children, icon, badge, overflow = 'wrap' }:
|
|
188
|
+
const CollapsibleGroupItem = ({ label, open: initiallyOpened, children, icon, badge, root, overflow = 'wrap' }:
|
|
189
|
+
ItemGroup & { root?: boolean }) => {
|
|
185
190
|
const [open, setOpen] = useState(initiallyOpened ?? children?.some(c => 'active' in c && c.active) ?? false)
|
|
186
191
|
const items = useMemo(() => children?.filter(i => !i.hidden).map(renderOption), [children])
|
|
187
192
|
const id = `menuGroup${label}`
|
|
@@ -197,9 +202,12 @@ const CollapsibleGroupItem = ({ label, open: initiallyOpened, children, icon, ba
|
|
|
197
202
|
aria-expanded={open}
|
|
198
203
|
>
|
|
199
204
|
{icon}
|
|
200
|
-
<Text appearance=
|
|
205
|
+
<Text appearance={root ? 'overheader2' : 'body2'}
|
|
206
|
+
colorScheme={root ? 'light.700': 'light.contrastText'} className={`label ${overflow}`}>{label}</Text>
|
|
201
207
|
{badge}
|
|
202
|
-
<IconBox
|
|
208
|
+
<IconBox colorScheme={root ? 'light.700': 'light.contrastText'}>
|
|
209
|
+
<ChevronDown className={listToClass(['chevron', open ? 'open' : ''])} />
|
|
210
|
+
</IconBox>
|
|
203
211
|
</a>
|
|
204
212
|
<MenuGroup id={id} className={open ? 'open' : undefined} aria-hidden={!open}>{items}</MenuGroup>
|
|
205
213
|
</>
|
|
@@ -211,7 +219,7 @@ const RootGroupItem = (props: ItemGroup) => {
|
|
|
211
219
|
|
|
212
220
|
return <>
|
|
213
221
|
{items.length ? <div className="item-row-title">
|
|
214
|
-
<CollapsibleGroupItem {...props} open={true} />
|
|
222
|
+
<CollapsibleGroupItem {...props} open={true} root={true}/>
|
|
215
223
|
</div> :
|
|
216
224
|
<>
|
|
217
225
|
<div className="item-row">
|
|
@@ -227,14 +227,12 @@ export const MenuSections = ({ sections = [], ...props }: MenuProps) => {
|
|
|
227
227
|
</button>
|
|
228
228
|
{(props.settings?.show) &&
|
|
229
229
|
<a href={props.settings?.href} onClick={props.settings?.onClick}
|
|
230
|
-
className="sections-footer"
|
|
230
|
+
className="sections-footer toggle"
|
|
231
231
|
{...(props.settings.active ? { 'aria-current': 'page' } : undefined)}>
|
|
232
|
-
<
|
|
233
|
-
<
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
<Text appearance="microtext1" ml={2}>{t.settings}</Text>
|
|
237
|
-
</Flex>
|
|
232
|
+
<IconBox aria-label={t.settingsIcon}>
|
|
233
|
+
<Cog />
|
|
234
|
+
</IconBox>
|
|
235
|
+
<Text appearance="microtext1" ml={8} className="collapse">{t.settings}</Text>
|
|
238
236
|
</a>
|
|
239
237
|
}
|
|
240
238
|
</Flex>
|