@mirohq/design-system-popover 4.1.3

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.
@@ -0,0 +1,1231 @@
1
+ import * as react from 'react';
2
+ import react__default, { DOMAttributes } from 'react';
3
+ import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
4
+ import { StrictComponentProps } from '@mirohq/design-system-stitches';
5
+ import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
6
+ import * as _radix_ui_react_popover from '@radix-ui/react-popover';
7
+ import { PopoverPortalProps } from '@radix-ui/react-popover';
8
+ import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
9
+
10
+ declare const StyledTrigger: react.ForwardRefExoticComponent<Pick<Omit<{}, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
11
+ 'border-widths': {
12
+ readonly none: 0;
13
+ readonly sm: "1px";
14
+ readonly md: "2px";
15
+ readonly lg: "4px";
16
+ };
17
+ colors: {
18
+ readonly black: any;
19
+ readonly 'blue-10': any;
20
+ readonly 'blue-20': any;
21
+ readonly 'blue-50': any;
22
+ readonly 'blue-60': any;
23
+ readonly 'blue-70': any;
24
+ readonly 'blue-80': any;
25
+ readonly 'gray-20': any;
26
+ readonly 'gray-30': any;
27
+ readonly 'green-70': any;
28
+ readonly 'indigo-20': any;
29
+ readonly 'indigo-30': any;
30
+ readonly 'indigo-50': any;
31
+ readonly 'indigo-70': any;
32
+ readonly 'indigo-90': any;
33
+ readonly 'pink-20': any;
34
+ readonly 'pink-50': any;
35
+ readonly 'red-10': any;
36
+ readonly 'red-20': any;
37
+ readonly 'red-30': any;
38
+ readonly 'red-50': any;
39
+ readonly 'red-60': any;
40
+ readonly transparent: any;
41
+ readonly white: any;
42
+ readonly 'yellow-20': any;
43
+ readonly 'yellow-60': any;
44
+ readonly 'background-cta-active'?: any;
45
+ readonly 'background-cta-disabled'?: any;
46
+ readonly 'background-cta-hover'?: any;
47
+ readonly 'background-cta-idle'?: any;
48
+ readonly 'background-danger-active'?: any;
49
+ readonly 'background-danger-hover'?: any;
50
+ readonly 'background-danger-idle'?: any;
51
+ readonly 'background-default-active'?: any;
52
+ readonly 'background-default-disabled'?: any;
53
+ readonly 'background-default-hover'?: any;
54
+ readonly 'background-default-idle'?: any;
55
+ readonly 'background-default-selected'?: any;
56
+ readonly 'background-default-selected-active'?: any;
57
+ readonly 'background-info-idle'?: any;
58
+ readonly 'background-primary'?: any;
59
+ readonly 'background-secondary'?: any;
60
+ readonly 'background-success-idle'?: any;
61
+ readonly 'background-warning-idle'?: any;
62
+ readonly 'border-cta-idle'?: any;
63
+ readonly 'border-default-active'?: any;
64
+ readonly 'border-default-error'?: any;
65
+ readonly 'border-default-hover'?: any;
66
+ readonly 'border-default-idle'?: any;
67
+ readonly 'border-default-selected'?: any;
68
+ readonly 'canvas-primary'?: any;
69
+ readonly 'divider-default'?: any;
70
+ readonly 'focus-ring-default'?: any;
71
+ readonly 'font-cta-idle'?: any;
72
+ readonly 'font-default-active'?: any;
73
+ readonly 'font-default-disabled'?: any;
74
+ readonly 'font-default-error'?: any;
75
+ readonly 'font-default-hover'?: any;
76
+ readonly 'font-default-idle'?: any;
77
+ readonly 'font-default-selected'?: any;
78
+ readonly 'font-default-visited'?: any;
79
+ readonly 'font-primary'?: any;
80
+ readonly 'font-secondary'?: any;
81
+ readonly 'font-tertiary'?: any;
82
+ readonly 'icon-cta-idle'?: any;
83
+ readonly 'icon-default'?: any;
84
+ readonly 'icon-default-active'?: any;
85
+ readonly 'icon-default-disabled'?: any;
86
+ readonly 'icon-default-error'?: any;
87
+ readonly 'icon-default-hover'?: any;
88
+ readonly 'icon-default-idle'?: any;
89
+ readonly 'icon-default-selected'?: any;
90
+ };
91
+ 'font-sizes': {
92
+ readonly 150: "0.75rem";
93
+ readonly 175: "0.875rem";
94
+ readonly 200: "1rem";
95
+ readonly 225: "1.125rem";
96
+ readonly 250: "1.25rem";
97
+ readonly 300: "1.5rem";
98
+ readonly 400: "2rem";
99
+ readonly 500: "2.5rem";
100
+ readonly 600: "3rem";
101
+ readonly 800: "4rem";
102
+ readonly 900: "4.5rem";
103
+ };
104
+ radii: {
105
+ readonly none: 0;
106
+ readonly half: "999em";
107
+ readonly 25: "2px";
108
+ readonly 50: "4px";
109
+ readonly 75: "6px";
110
+ readonly 100: "8px";
111
+ readonly 200: "16px";
112
+ };
113
+ shadows: {
114
+ readonly 50: "0 4px 16px #05003812";
115
+ readonly 100: "0 8px 32px #05003808";
116
+ };
117
+ sizes: {
118
+ readonly number: string;
119
+ readonly 'icon-200': "16px";
120
+ readonly 'icon-300': "24px";
121
+ readonly 'icon-400': "32px";
122
+ };
123
+ space: {
124
+ readonly none: 0;
125
+ readonly 50: "4px";
126
+ readonly 100: "8px";
127
+ readonly 150: "12px";
128
+ readonly 200: "16px";
129
+ readonly 300: "24px";
130
+ readonly 400: "32px";
131
+ readonly 500: "64px";
132
+ readonly 600: "48px";
133
+ readonly 800: "64px";
134
+ readonly 1200: "96px";
135
+ readonly 1600: "128px";
136
+ };
137
+ 'space-gap': {
138
+ readonly none: any;
139
+ readonly 50: any;
140
+ readonly 100: any;
141
+ readonly 200: any;
142
+ readonly 300: any;
143
+ };
144
+ 'space-inset': {
145
+ readonly none: any;
146
+ readonly 50: any;
147
+ readonly 100: any;
148
+ readonly 150: any;
149
+ readonly 200: any;
150
+ readonly 300: any;
151
+ readonly 400: any;
152
+ readonly 600: any;
153
+ readonly 800: any;
154
+ readonly 1200: any;
155
+ readonly 1600: any;
156
+ };
157
+ 'space-offset': {
158
+ readonly none: any;
159
+ readonly 50: any;
160
+ readonly 100: any;
161
+ readonly 150: any;
162
+ readonly 200: any;
163
+ readonly 300: any;
164
+ readonly 400: any;
165
+ readonly 600: any;
166
+ readonly 800: any;
167
+ readonly 1200: any;
168
+ readonly 1600: any;
169
+ readonly 'stacking-none': any;
170
+ readonly 'stacking-100': any;
171
+ readonly 'stacking-200': any;
172
+ readonly 'stacking-300': any;
173
+ readonly 'stacking-400': any;
174
+ readonly 'stacking-500': any;
175
+ readonly 'stacking-800': any;
176
+ };
177
+ 'z-indices': {
178
+ readonly dropdownMenu: 100;
179
+ readonly popover: 200;
180
+ readonly tooltip: 300;
181
+ };
182
+ }, {
183
+ readonly background: "colors";
184
+ readonly backgroundColor: "colors";
185
+ readonly backgroundImage: "colors";
186
+ readonly blockSize: "sizes";
187
+ readonly border: "colors";
188
+ readonly borderBlock: "colors";
189
+ readonly borderBlockEnd: "colors";
190
+ readonly borderBlockStart: "colors";
191
+ readonly borderBottom: "colors";
192
+ readonly borderBottomColor: "colors";
193
+ readonly borderBottomLeftRadius: "radii";
194
+ readonly borderBottomRightRadius: "radii";
195
+ readonly borderBottomStyle: "border-styles";
196
+ readonly borderBottomWidth: "border-widths";
197
+ readonly borderColor: "colors";
198
+ readonly borderImage: "colors";
199
+ readonly borderInline: "colors";
200
+ readonly borderInlineEnd: "colors";
201
+ readonly borderInlineStart: "colors";
202
+ readonly borderLeft: "colors";
203
+ readonly borderLeftColor: "colors";
204
+ readonly borderLeftStyle: "border-styles";
205
+ readonly borderLeftWidth: "border-widths";
206
+ readonly borderRadius: "radii";
207
+ readonly borderRight: "colors";
208
+ readonly borderRightColor: "colors";
209
+ readonly borderRightStyle: "border-styles";
210
+ readonly borderRightWidth: "border-widths";
211
+ readonly borderStyle: "border-styles";
212
+ readonly borderTop: "colors";
213
+ readonly borderTopColor: "colors";
214
+ readonly borderTopLeftRadius: "radii";
215
+ readonly borderTopRightRadius: "radii";
216
+ readonly borderTopStyle: "border-styles";
217
+ readonly borderTopWidth: "border-widths";
218
+ readonly borderWidth: "border-widths";
219
+ readonly bottom: "space";
220
+ readonly boxShadow: "shadows";
221
+ readonly caretColor: "colors";
222
+ readonly color: "colors";
223
+ readonly columnGap: "space-gap";
224
+ readonly columnRuleColor: "colors";
225
+ readonly fill: "colors";
226
+ readonly flexBasis: "sizes";
227
+ readonly fontFamily: "fonts";
228
+ readonly fontSize: "font-sizes";
229
+ readonly fontWeight: "font-weights";
230
+ readonly gap: "space-gap";
231
+ readonly gridColumnGap: "space-gap";
232
+ readonly gridGap: "space-gap";
233
+ readonly gridRowGap: "space-gap";
234
+ readonly gridTemplateColumns: "sizes";
235
+ readonly gridTemplateRows: "sizes";
236
+ readonly height: "sizes";
237
+ readonly inlineSize: "sizes";
238
+ readonly inset: "space-inset";
239
+ readonly insetBlock: "space-inset";
240
+ readonly insetBlockEnd: "space-inset";
241
+ readonly insetBlockStart: "space-inset";
242
+ readonly insetInline: "space-inset";
243
+ readonly insetInlineEnd: "space-inset";
244
+ readonly insetInlineStart: "space-inset";
245
+ readonly left: "space";
246
+ readonly letterSpacing: "letter-spacings";
247
+ readonly lineHeight: "line-heights";
248
+ readonly margin: "space-offset";
249
+ readonly marginBlock: "space-offset";
250
+ readonly marginBlockEnd: "space-offset";
251
+ readonly marginBlockStart: "space-offset";
252
+ readonly marginBottom: "space-offset";
253
+ readonly marginInline: "space-offset";
254
+ readonly marginInlineEnd: "space-offset";
255
+ readonly marginInlineStart: "space-offset";
256
+ readonly marginLeft: "space-offset";
257
+ readonly marginRight: "space-offset";
258
+ readonly marginTop: "space-offset";
259
+ readonly maxBlockSize: "sizes";
260
+ readonly maxHeight: "sizes";
261
+ readonly maxInlineSize: "sizes";
262
+ readonly maxWidth: "sizes";
263
+ readonly minBlockSize: "sizes";
264
+ readonly minHeight: "sizes";
265
+ readonly minInlineSize: "sizes";
266
+ readonly minWidth: "sizes";
267
+ readonly outline: "colors";
268
+ readonly outlineColor: "colors";
269
+ readonly padding: "space-inset";
270
+ readonly paddingBlock: "space-inset";
271
+ readonly paddingBlockEnd: "space-inset";
272
+ readonly paddingBlockStart: "space-inset";
273
+ readonly paddingBottom: "space-inset";
274
+ readonly paddingInline: "space-inset";
275
+ readonly paddingInlineEnd: "space-inset";
276
+ readonly paddingInlineStart: "space-inset";
277
+ readonly paddingLeft: "space-inset";
278
+ readonly paddingRight: "space-inset";
279
+ readonly paddingTop: "space-inset";
280
+ readonly right: "space";
281
+ readonly rowGap: "space-gap";
282
+ readonly scrollMargin: "space-offset";
283
+ readonly scrollMarginBlock: "space-offset";
284
+ readonly scrollMarginBlockEnd: "space-offset";
285
+ readonly scrollMarginBlockStart: "space-offset";
286
+ readonly scrollMarginBottom: "space-offset";
287
+ readonly scrollMarginInline: "space-offset";
288
+ readonly scrollMarginInlineEnd: "space-offset";
289
+ readonly scrollMarginInlineStart: "space-offset";
290
+ readonly scrollMarginLeft: "space-offset";
291
+ readonly scrollMarginRight: "space-offset";
292
+ readonly scrollMarginTop: "space-offset";
293
+ readonly scrollPadding: "space-inset";
294
+ readonly scrollPaddingBlock: "space-inset";
295
+ readonly scrollPaddingBlockEnd: "space-inset";
296
+ readonly scrollPaddingBlockStart: "space-inset";
297
+ readonly scrollPaddingBottom: "space-inset";
298
+ readonly scrollPaddingInline: "space-inset";
299
+ readonly scrollPaddingInlineEnd: "space-inset";
300
+ readonly scrollPaddingInlineStart: "space-inset";
301
+ readonly scrollPaddingLeft: "space-inset";
302
+ readonly scrollPaddingRight: "space-inset";
303
+ readonly scrollPaddingTop: "space-inset";
304
+ readonly stroke: "colors";
305
+ readonly textDecorationColor: "colors";
306
+ readonly textShadow: "shadows";
307
+ readonly top: "space";
308
+ readonly transition: "transitions";
309
+ readonly width: "sizes";
310
+ readonly zIndex: "z-indices";
311
+ }, {
312
+ paddingX: (value: {
313
+ readonly [$$PropertyValue]: "padding";
314
+ }) => {
315
+ paddingLeft: {
316
+ readonly [$$PropertyValue]: "padding";
317
+ };
318
+ paddingRight: {
319
+ readonly [$$PropertyValue]: "padding";
320
+ };
321
+ };
322
+ paddingY: (value: {
323
+ readonly [$$PropertyValue]: "padding";
324
+ }) => {
325
+ paddingTop: {
326
+ readonly [$$PropertyValue]: "padding";
327
+ };
328
+ paddingBottom: {
329
+ readonly [$$PropertyValue]: "padding";
330
+ };
331
+ };
332
+ marginX: (value: {
333
+ readonly [$$PropertyValue]: "margin";
334
+ }) => {
335
+ marginLeft: {
336
+ readonly [$$PropertyValue]: "margin";
337
+ };
338
+ marginRight: {
339
+ readonly [$$PropertyValue]: "margin";
340
+ };
341
+ };
342
+ marginY: (value: {
343
+ readonly [$$PropertyValue]: "margin";
344
+ }) => {
345
+ marginTop: {
346
+ readonly [$$PropertyValue]: "margin";
347
+ };
348
+ marginBottom: {
349
+ readonly [$$PropertyValue]: "margin";
350
+ };
351
+ };
352
+ }>>> & _mirohq_design_system_stitches.CustomStylesProps, "color" | "translate" | "prefix" | "asChild" | "form" | "slot" | "title" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "placeholder" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | keyof _mirohq_design_system_stitches.CustomStylesProps> & react.RefAttributes<HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>>, {}, {}>;
353
+ declare type StyledTriggerProps = StrictComponentProps<typeof StyledTrigger>;
354
+
355
+ interface TriggerProps extends StyledTriggerProps {
356
+ /**
357
+ * temporary the same as onClick, later will be added touch events support
358
+ */
359
+ onPress?: DOMAttributes<HTMLElement>['onClick'];
360
+ }
361
+ /**
362
+ * The trigger component is used to render the trigger element for the popover.
363
+ */
364
+ declare const Trigger: react__default.ForwardRefExoticComponent<Pick<TriggerProps, "color" | "translate" | "css" | "prefix" | "asChild" | "UNSAFE_style" | "form" | "slot" | "title" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "placeholder" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "onPress"> & react__default.RefAttributes<HTMLButtonElement>>;
365
+
366
+ declare const StyledContent: react.ForwardRefExoticComponent<Pick<Omit<{
367
+ variant?: "dark" | "light" | undefined;
368
+ }, "variant"> & _stitches_react_types_styled_component.TransformProps<{
369
+ variant?: "dark" | "light" | undefined;
370
+ }, {}> & _mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverContentProps & react.RefAttributes<HTMLDivElement>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
371
+ 'border-widths': {
372
+ readonly none: 0;
373
+ readonly sm: "1px";
374
+ readonly md: "2px";
375
+ readonly lg: "4px";
376
+ };
377
+ colors: {
378
+ readonly black: any;
379
+ readonly 'blue-10': any;
380
+ readonly 'blue-20': any;
381
+ readonly 'blue-50': any;
382
+ readonly 'blue-60': any;
383
+ readonly 'blue-70': any;
384
+ readonly 'blue-80': any;
385
+ readonly 'gray-20': any;
386
+ readonly 'gray-30': any;
387
+ readonly 'green-70': any;
388
+ readonly 'indigo-20': any;
389
+ readonly 'indigo-30': any;
390
+ readonly 'indigo-50': any;
391
+ readonly 'indigo-70': any;
392
+ readonly 'indigo-90': any;
393
+ readonly 'pink-20': any;
394
+ readonly 'pink-50': any;
395
+ readonly 'red-10': any;
396
+ readonly 'red-20': any;
397
+ readonly 'red-30': any;
398
+ readonly 'red-50': any;
399
+ readonly 'red-60': any;
400
+ readonly transparent: any;
401
+ readonly white: any;
402
+ readonly 'yellow-20': any;
403
+ readonly 'yellow-60': any;
404
+ readonly 'background-cta-active'?: any;
405
+ readonly 'background-cta-disabled'?: any;
406
+ readonly 'background-cta-hover'?: any;
407
+ readonly 'background-cta-idle'?: any;
408
+ readonly 'background-danger-active'?: any;
409
+ readonly 'background-danger-hover'?: any;
410
+ readonly 'background-danger-idle'?: any;
411
+ readonly 'background-default-active'?: any;
412
+ readonly 'background-default-disabled'?: any;
413
+ readonly 'background-default-hover'?: any;
414
+ readonly 'background-default-idle'?: any;
415
+ readonly 'background-default-selected'?: any;
416
+ readonly 'background-default-selected-active'?: any;
417
+ readonly 'background-info-idle'?: any;
418
+ readonly 'background-primary'?: any;
419
+ readonly 'background-secondary'?: any;
420
+ readonly 'background-success-idle'?: any;
421
+ readonly 'background-warning-idle'?: any;
422
+ readonly 'border-cta-idle'?: any;
423
+ readonly 'border-default-active'?: any;
424
+ readonly 'border-default-error'?: any;
425
+ readonly 'border-default-hover'?: any;
426
+ readonly 'border-default-idle'?: any;
427
+ readonly 'border-default-selected'?: any;
428
+ readonly 'canvas-primary'?: any;
429
+ readonly 'divider-default'?: any;
430
+ readonly 'focus-ring-default'?: any;
431
+ readonly 'font-cta-idle'?: any;
432
+ readonly 'font-default-active'?: any;
433
+ readonly 'font-default-disabled'?: any;
434
+ readonly 'font-default-error'?: any;
435
+ readonly 'font-default-hover'?: any;
436
+ readonly 'font-default-idle'?: any;
437
+ readonly 'font-default-selected'?: any;
438
+ readonly 'font-default-visited'?: any;
439
+ readonly 'font-primary'?: any;
440
+ readonly 'font-secondary'?: any;
441
+ readonly 'font-tertiary'?: any;
442
+ readonly 'icon-cta-idle'?: any;
443
+ readonly 'icon-default'?: any;
444
+ readonly 'icon-default-active'?: any;
445
+ readonly 'icon-default-disabled'?: any;
446
+ readonly 'icon-default-error'?: any;
447
+ readonly 'icon-default-hover'?: any;
448
+ readonly 'icon-default-idle'?: any;
449
+ readonly 'icon-default-selected'?: any;
450
+ };
451
+ 'font-sizes': {
452
+ readonly 150: "0.75rem";
453
+ readonly 175: "0.875rem";
454
+ readonly 200: "1rem";
455
+ readonly 225: "1.125rem";
456
+ readonly 250: "1.25rem";
457
+ readonly 300: "1.5rem";
458
+ readonly 400: "2rem";
459
+ readonly 500: "2.5rem";
460
+ readonly 600: "3rem";
461
+ readonly 800: "4rem";
462
+ readonly 900: "4.5rem";
463
+ };
464
+ radii: {
465
+ readonly none: 0;
466
+ readonly half: "999em";
467
+ readonly 25: "2px";
468
+ readonly 50: "4px";
469
+ readonly 75: "6px";
470
+ readonly 100: "8px";
471
+ readonly 200: "16px";
472
+ };
473
+ shadows: {
474
+ readonly 50: "0 4px 16px #05003812";
475
+ readonly 100: "0 8px 32px #05003808";
476
+ };
477
+ sizes: {
478
+ readonly number: string;
479
+ readonly 'icon-200': "16px";
480
+ readonly 'icon-300': "24px";
481
+ readonly 'icon-400': "32px";
482
+ };
483
+ space: {
484
+ readonly none: 0;
485
+ readonly 50: "4px";
486
+ readonly 100: "8px";
487
+ readonly 150: "12px";
488
+ readonly 200: "16px";
489
+ readonly 300: "24px";
490
+ readonly 400: "32px";
491
+ readonly 500: "64px";
492
+ readonly 600: "48px";
493
+ readonly 800: "64px";
494
+ readonly 1200: "96px";
495
+ readonly 1600: "128px";
496
+ };
497
+ 'space-gap': {
498
+ readonly none: any;
499
+ readonly 50: any;
500
+ readonly 100: any;
501
+ readonly 200: any;
502
+ readonly 300: any;
503
+ };
504
+ 'space-inset': {
505
+ readonly none: any;
506
+ readonly 50: any;
507
+ readonly 100: any;
508
+ readonly 150: any;
509
+ readonly 200: any;
510
+ readonly 300: any;
511
+ readonly 400: any;
512
+ readonly 600: any;
513
+ readonly 800: any;
514
+ readonly 1200: any;
515
+ readonly 1600: any;
516
+ };
517
+ 'space-offset': {
518
+ readonly none: any;
519
+ readonly 50: any;
520
+ readonly 100: any;
521
+ readonly 150: any;
522
+ readonly 200: any;
523
+ readonly 300: any;
524
+ readonly 400: any;
525
+ readonly 600: any;
526
+ readonly 800: any;
527
+ readonly 1200: any;
528
+ readonly 1600: any;
529
+ readonly 'stacking-none': any;
530
+ readonly 'stacking-100': any;
531
+ readonly 'stacking-200': any;
532
+ readonly 'stacking-300': any;
533
+ readonly 'stacking-400': any;
534
+ readonly 'stacking-500': any;
535
+ readonly 'stacking-800': any;
536
+ };
537
+ 'z-indices': {
538
+ readonly dropdownMenu: 100;
539
+ readonly popover: 200;
540
+ readonly tooltip: 300;
541
+ };
542
+ }, {
543
+ readonly background: "colors";
544
+ readonly backgroundColor: "colors";
545
+ readonly backgroundImage: "colors";
546
+ readonly blockSize: "sizes";
547
+ readonly border: "colors";
548
+ readonly borderBlock: "colors";
549
+ readonly borderBlockEnd: "colors";
550
+ readonly borderBlockStart: "colors";
551
+ readonly borderBottom: "colors";
552
+ readonly borderBottomColor: "colors";
553
+ readonly borderBottomLeftRadius: "radii";
554
+ readonly borderBottomRightRadius: "radii";
555
+ readonly borderBottomStyle: "border-styles";
556
+ readonly borderBottomWidth: "border-widths";
557
+ readonly borderColor: "colors";
558
+ readonly borderImage: "colors";
559
+ readonly borderInline: "colors";
560
+ readonly borderInlineEnd: "colors";
561
+ readonly borderInlineStart: "colors";
562
+ readonly borderLeft: "colors";
563
+ readonly borderLeftColor: "colors";
564
+ readonly borderLeftStyle: "border-styles";
565
+ readonly borderLeftWidth: "border-widths";
566
+ readonly borderRadius: "radii";
567
+ readonly borderRight: "colors";
568
+ readonly borderRightColor: "colors";
569
+ readonly borderRightStyle: "border-styles";
570
+ readonly borderRightWidth: "border-widths";
571
+ readonly borderStyle: "border-styles";
572
+ readonly borderTop: "colors";
573
+ readonly borderTopColor: "colors";
574
+ readonly borderTopLeftRadius: "radii";
575
+ readonly borderTopRightRadius: "radii";
576
+ readonly borderTopStyle: "border-styles";
577
+ readonly borderTopWidth: "border-widths";
578
+ readonly borderWidth: "border-widths";
579
+ readonly bottom: "space";
580
+ readonly boxShadow: "shadows";
581
+ readonly caretColor: "colors";
582
+ readonly color: "colors";
583
+ readonly columnGap: "space-gap";
584
+ readonly columnRuleColor: "colors";
585
+ readonly fill: "colors";
586
+ readonly flexBasis: "sizes";
587
+ readonly fontFamily: "fonts";
588
+ readonly fontSize: "font-sizes";
589
+ readonly fontWeight: "font-weights";
590
+ readonly gap: "space-gap";
591
+ readonly gridColumnGap: "space-gap";
592
+ readonly gridGap: "space-gap";
593
+ readonly gridRowGap: "space-gap";
594
+ readonly gridTemplateColumns: "sizes";
595
+ readonly gridTemplateRows: "sizes";
596
+ readonly height: "sizes";
597
+ readonly inlineSize: "sizes";
598
+ readonly inset: "space-inset";
599
+ readonly insetBlock: "space-inset";
600
+ readonly insetBlockEnd: "space-inset";
601
+ readonly insetBlockStart: "space-inset";
602
+ readonly insetInline: "space-inset";
603
+ readonly insetInlineEnd: "space-inset";
604
+ readonly insetInlineStart: "space-inset";
605
+ readonly left: "space";
606
+ readonly letterSpacing: "letter-spacings";
607
+ readonly lineHeight: "line-heights";
608
+ readonly margin: "space-offset";
609
+ readonly marginBlock: "space-offset";
610
+ readonly marginBlockEnd: "space-offset";
611
+ readonly marginBlockStart: "space-offset";
612
+ readonly marginBottom: "space-offset";
613
+ readonly marginInline: "space-offset";
614
+ readonly marginInlineEnd: "space-offset";
615
+ readonly marginInlineStart: "space-offset";
616
+ readonly marginLeft: "space-offset";
617
+ readonly marginRight: "space-offset";
618
+ readonly marginTop: "space-offset";
619
+ readonly maxBlockSize: "sizes";
620
+ readonly maxHeight: "sizes";
621
+ readonly maxInlineSize: "sizes";
622
+ readonly maxWidth: "sizes";
623
+ readonly minBlockSize: "sizes";
624
+ readonly minHeight: "sizes";
625
+ readonly minInlineSize: "sizes";
626
+ readonly minWidth: "sizes";
627
+ readonly outline: "colors";
628
+ readonly outlineColor: "colors";
629
+ readonly padding: "space-inset";
630
+ readonly paddingBlock: "space-inset";
631
+ readonly paddingBlockEnd: "space-inset";
632
+ readonly paddingBlockStart: "space-inset";
633
+ readonly paddingBottom: "space-inset";
634
+ readonly paddingInline: "space-inset";
635
+ readonly paddingInlineEnd: "space-inset";
636
+ readonly paddingInlineStart: "space-inset";
637
+ readonly paddingLeft: "space-inset";
638
+ readonly paddingRight: "space-inset";
639
+ readonly paddingTop: "space-inset";
640
+ readonly right: "space";
641
+ readonly rowGap: "space-gap";
642
+ readonly scrollMargin: "space-offset";
643
+ readonly scrollMarginBlock: "space-offset";
644
+ readonly scrollMarginBlockEnd: "space-offset";
645
+ readonly scrollMarginBlockStart: "space-offset";
646
+ readonly scrollMarginBottom: "space-offset";
647
+ readonly scrollMarginInline: "space-offset";
648
+ readonly scrollMarginInlineEnd: "space-offset";
649
+ readonly scrollMarginInlineStart: "space-offset";
650
+ readonly scrollMarginLeft: "space-offset";
651
+ readonly scrollMarginRight: "space-offset";
652
+ readonly scrollMarginTop: "space-offset";
653
+ readonly scrollPadding: "space-inset";
654
+ readonly scrollPaddingBlock: "space-inset";
655
+ readonly scrollPaddingBlockEnd: "space-inset";
656
+ readonly scrollPaddingBlockStart: "space-inset";
657
+ readonly scrollPaddingBottom: "space-inset";
658
+ readonly scrollPaddingInline: "space-inset";
659
+ readonly scrollPaddingInlineEnd: "space-inset";
660
+ readonly scrollPaddingInlineStart: "space-inset";
661
+ readonly scrollPaddingLeft: "space-inset";
662
+ readonly scrollPaddingRight: "space-inset";
663
+ readonly scrollPaddingTop: "space-inset";
664
+ readonly stroke: "colors";
665
+ readonly textDecorationColor: "colors";
666
+ readonly textShadow: "shadows";
667
+ readonly top: "space";
668
+ readonly transition: "transitions";
669
+ readonly width: "sizes";
670
+ readonly zIndex: "z-indices";
671
+ }, {
672
+ paddingX: (value: {
673
+ readonly [$$PropertyValue]: "padding";
674
+ }) => {
675
+ paddingLeft: {
676
+ readonly [$$PropertyValue]: "padding";
677
+ };
678
+ paddingRight: {
679
+ readonly [$$PropertyValue]: "padding";
680
+ };
681
+ };
682
+ paddingY: (value: {
683
+ readonly [$$PropertyValue]: "padding";
684
+ }) => {
685
+ paddingTop: {
686
+ readonly [$$PropertyValue]: "padding";
687
+ };
688
+ paddingBottom: {
689
+ readonly [$$PropertyValue]: "padding";
690
+ };
691
+ };
692
+ marginX: (value: {
693
+ readonly [$$PropertyValue]: "margin";
694
+ }) => {
695
+ marginLeft: {
696
+ readonly [$$PropertyValue]: "margin";
697
+ };
698
+ marginRight: {
699
+ readonly [$$PropertyValue]: "margin";
700
+ };
701
+ };
702
+ marginY: (value: {
703
+ readonly [$$PropertyValue]: "margin";
704
+ }) => {
705
+ marginTop: {
706
+ readonly [$$PropertyValue]: "margin";
707
+ };
708
+ marginBottom: {
709
+ readonly [$$PropertyValue]: "margin";
710
+ };
711
+ };
712
+ }>>> & _mirohq_design_system_stitches.CustomStylesProps, "color" | "translate" | "prefix" | "asChild" | "slot" | "title" | "placeholder" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "sticky" | "align" | keyof _mirohq_design_system_stitches.CustomStylesProps | "variant" | "side" | "sideOffset" | "alignOffset" | "arrowPadding" | "collisionBoundary" | "collisionPadding" | "hideWhenDetached" | "avoidCollisions" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "onOpenAutoFocus" | "onCloseAutoFocus" | "forceMount"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverContentProps & react.RefAttributes<HTMLDivElement>>, {
713
+ variant?: "dark" | "light" | undefined;
714
+ }, {}>;
715
+ declare type StyledContentProps = StrictComponentProps<typeof StyledContent>;
716
+
717
+ declare type AnchorType = 'line' | 'arrow';
718
+ declare type Side = 'top' | 'right' | 'bottom' | 'left';
719
+ declare type Align = 'start' | 'center' | 'end';
720
+ declare type TriggersOn = 'press' | 'hover';
721
+ declare type Variant = 'light' | 'dark';
722
+ declare type PointerDownOutsideEvent = CustomEvent<{
723
+ originalEvent: PointerEvent;
724
+ }>;
725
+ declare type FocusOutsideEvent = CustomEvent<{
726
+ originalEvent: FocusEvent;
727
+ }>;
728
+
729
+ type types_AnchorType = AnchorType;
730
+ type types_Side = Side;
731
+ type types_Align = Align;
732
+ type types_TriggersOn = TriggersOn;
733
+ type types_Variant = Variant;
734
+ type types_PointerDownOutsideEvent = PointerDownOutsideEvent;
735
+ type types_FocusOutsideEvent = FocusOutsideEvent;
736
+ declare namespace types {
737
+ export {
738
+ types_AnchorType as AnchorType,
739
+ types_Side as Side,
740
+ types_Align as Align,
741
+ types_TriggersOn as TriggersOn,
742
+ types_Variant as Variant,
743
+ types_PointerDownOutsideEvent as PointerDownOutsideEvent,
744
+ types_FocusOutsideEvent as FocusOutsideEvent,
745
+ };
746
+ }
747
+
748
+ interface ContentProps extends StyledContentProps {
749
+ /**
750
+ * When true, overrides the side and align preferences to prevent collisions
751
+ * with window edges.
752
+ */
753
+ avoidCollisions?: boolean;
754
+ /**
755
+ * The preferred alignment against the trigger. May change when collisions occur.
756
+ */
757
+ align?: Align;
758
+ /**
759
+ * An offset in pixels from the "start" or "end" alignment option.
760
+ */
761
+ alignOffset?: number;
762
+ /**
763
+ * The preferred side of the trigger to render against when open.
764
+ * Will be reversed when collisions occur and avoidCollisions is enabled.
765
+ */
766
+ side?: Side;
767
+ /**
768
+ * The distance in pixels from the boundary edges where collision detection
769
+ * should occur. Accepts a number (same for all sides).
770
+ */
771
+ collisionPadding?: number;
772
+ /**
773
+ * The type of anchor to render.
774
+ */
775
+ anchor?: AnchorType;
776
+ /**
777
+ * Whether to render in a Portal when open.
778
+ */
779
+ portalled?: boolean;
780
+ /**
781
+ * Used to force mounting when more control is needed. Useful when controlling
782
+ * animation with React animation libraries.
783
+ */
784
+ forceMount?: true;
785
+ /**
786
+ * The element used as the collision boundary. By default this is the
787
+ * viewport, though you can provide additional element(s) to be included in
788
+ * this check.
789
+ */
790
+ collisionBoundary?: Element | null;
791
+ /**
792
+ * The sticky behavior on the align axis. "partial" will keep the content in
793
+ * the boundary as long as the trigger is at least partially in the boundary
794
+ * whilst "always" will keep the content in the boundary regardless.
795
+ */
796
+ sticky?: 'partial' | 'always';
797
+ /**
798
+ * Whether to hide the content when the trigger becomes fully occluded.
799
+ */
800
+ hideWhenDetached?: boolean;
801
+ /**
802
+ * Event handler called when a pointer event occurs outside the bounds of the
803
+ * component. It can be prevented by calling event.preventDefault.
804
+ */
805
+ onPointerDownOutside?: (event: PointerDownOutsideEvent) => void;
806
+ /**
807
+ * Event handler called when focus moves outside the bounds of the component.
808
+ * It can be prevented by calling event.preventDefault.
809
+ */
810
+ onFocusOutside?: (event: FocusOutsideEvent) => void;
811
+ /**
812
+ * Event handler called when the escape key is down. It can be prevented by
813
+ * calling event.preventDefault.
814
+ */
815
+ onEscapeKeyDown?: (event: KeyboardEvent) => void;
816
+ /**
817
+ * Event handler called when an interaction (pointer or focus event) happens
818
+ * outside the bounds of the component. It can be prevented by calling
819
+ * event.preventDefault.
820
+ */
821
+ onInteractOutside?: (event: PointerDownOutsideEvent | FocusOutsideEvent) => void;
822
+ }
823
+ /**
824
+ * The content component is used to render rich content elements for the popover.
825
+ */
826
+ declare const Content: react__default.ForwardRefExoticComponent<Pick<ContentProps, "anchor" | "color" | "translate" | "css" | "prefix" | "asChild" | "UNSAFE_style" | "slot" | "title" | "placeholder" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "sticky" | "align" | "side" | "alignOffset" | "collisionBoundary" | "collisionPadding" | "hideWhenDetached" | "avoidCollisions" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "forceMount" | "portalled"> & react__default.RefAttributes<HTMLDivElement>>;
827
+
828
+ declare const StyledClose: react.ForwardRefExoticComponent<Pick<Omit<{
829
+ variant?: "dark" | "light" | undefined;
830
+ }, "variant"> & _stitches_react_types_styled_component.TransformProps<{
831
+ variant?: "dark" | "light" | undefined;
832
+ }, {}> & _mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverCloseProps & react.RefAttributes<HTMLButtonElement>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
833
+ 'border-widths': {
834
+ readonly none: 0;
835
+ readonly sm: "1px";
836
+ readonly md: "2px";
837
+ readonly lg: "4px";
838
+ };
839
+ colors: {
840
+ readonly black: any;
841
+ readonly 'blue-10': any;
842
+ readonly 'blue-20': any;
843
+ readonly 'blue-50': any;
844
+ readonly 'blue-60': any;
845
+ readonly 'blue-70': any;
846
+ readonly 'blue-80': any;
847
+ readonly 'gray-20': any;
848
+ readonly 'gray-30': any;
849
+ readonly 'green-70': any;
850
+ readonly 'indigo-20': any;
851
+ readonly 'indigo-30': any;
852
+ readonly 'indigo-50': any;
853
+ readonly 'indigo-70': any;
854
+ readonly 'indigo-90': any;
855
+ readonly 'pink-20': any;
856
+ readonly 'pink-50': any;
857
+ readonly 'red-10': any;
858
+ readonly 'red-20': any;
859
+ readonly 'red-30': any;
860
+ readonly 'red-50': any;
861
+ readonly 'red-60': any;
862
+ readonly transparent: any;
863
+ readonly white: any;
864
+ readonly 'yellow-20': any;
865
+ readonly 'yellow-60': any;
866
+ readonly 'background-cta-active'?: any;
867
+ readonly 'background-cta-disabled'?: any;
868
+ readonly 'background-cta-hover'?: any;
869
+ readonly 'background-cta-idle'?: any;
870
+ readonly 'background-danger-active'?: any;
871
+ readonly 'background-danger-hover'?: any;
872
+ readonly 'background-danger-idle'?: any;
873
+ readonly 'background-default-active'?: any;
874
+ readonly 'background-default-disabled'?: any;
875
+ readonly 'background-default-hover'?: any;
876
+ readonly 'background-default-idle'?: any;
877
+ readonly 'background-default-selected'?: any;
878
+ readonly 'background-default-selected-active'?: any;
879
+ readonly 'background-info-idle'?: any;
880
+ readonly 'background-primary'?: any;
881
+ readonly 'background-secondary'?: any;
882
+ readonly 'background-success-idle'?: any;
883
+ readonly 'background-warning-idle'?: any;
884
+ readonly 'border-cta-idle'?: any;
885
+ readonly 'border-default-active'?: any;
886
+ readonly 'border-default-error'?: any;
887
+ readonly 'border-default-hover'?: any;
888
+ readonly 'border-default-idle'?: any;
889
+ readonly 'border-default-selected'?: any;
890
+ readonly 'canvas-primary'?: any;
891
+ readonly 'divider-default'?: any;
892
+ readonly 'focus-ring-default'?: any;
893
+ readonly 'font-cta-idle'?: any;
894
+ readonly 'font-default-active'?: any;
895
+ readonly 'font-default-disabled'?: any;
896
+ readonly 'font-default-error'?: any;
897
+ readonly 'font-default-hover'?: any;
898
+ readonly 'font-default-idle'?: any;
899
+ readonly 'font-default-selected'?: any;
900
+ readonly 'font-default-visited'?: any;
901
+ readonly 'font-primary'?: any;
902
+ readonly 'font-secondary'?: any;
903
+ readonly 'font-tertiary'?: any;
904
+ readonly 'icon-cta-idle'?: any;
905
+ readonly 'icon-default'?: any;
906
+ readonly 'icon-default-active'?: any;
907
+ readonly 'icon-default-disabled'?: any;
908
+ readonly 'icon-default-error'?: any;
909
+ readonly 'icon-default-hover'?: any;
910
+ readonly 'icon-default-idle'?: any;
911
+ readonly 'icon-default-selected'?: any;
912
+ };
913
+ 'font-sizes': {
914
+ readonly 150: "0.75rem";
915
+ readonly 175: "0.875rem";
916
+ readonly 200: "1rem";
917
+ readonly 225: "1.125rem";
918
+ readonly 250: "1.25rem";
919
+ readonly 300: "1.5rem";
920
+ readonly 400: "2rem";
921
+ readonly 500: "2.5rem";
922
+ readonly 600: "3rem";
923
+ readonly 800: "4rem";
924
+ readonly 900: "4.5rem";
925
+ };
926
+ radii: {
927
+ readonly none: 0;
928
+ readonly half: "999em";
929
+ readonly 25: "2px";
930
+ readonly 50: "4px";
931
+ readonly 75: "6px";
932
+ readonly 100: "8px";
933
+ readonly 200: "16px";
934
+ };
935
+ shadows: {
936
+ readonly 50: "0 4px 16px #05003812";
937
+ readonly 100: "0 8px 32px #05003808";
938
+ };
939
+ sizes: {
940
+ readonly number: string;
941
+ readonly 'icon-200': "16px";
942
+ readonly 'icon-300': "24px";
943
+ readonly 'icon-400': "32px";
944
+ };
945
+ space: {
946
+ readonly none: 0;
947
+ readonly 50: "4px";
948
+ readonly 100: "8px";
949
+ readonly 150: "12px";
950
+ readonly 200: "16px";
951
+ readonly 300: "24px";
952
+ readonly 400: "32px";
953
+ readonly 500: "64px";
954
+ readonly 600: "48px";
955
+ readonly 800: "64px";
956
+ readonly 1200: "96px";
957
+ readonly 1600: "128px";
958
+ };
959
+ 'space-gap': {
960
+ readonly none: any;
961
+ readonly 50: any;
962
+ readonly 100: any;
963
+ readonly 200: any;
964
+ readonly 300: any;
965
+ };
966
+ 'space-inset': {
967
+ readonly none: any;
968
+ readonly 50: any;
969
+ readonly 100: any;
970
+ readonly 150: any;
971
+ readonly 200: any;
972
+ readonly 300: any;
973
+ readonly 400: any;
974
+ readonly 600: any;
975
+ readonly 800: any;
976
+ readonly 1200: any;
977
+ readonly 1600: any;
978
+ };
979
+ 'space-offset': {
980
+ readonly none: any;
981
+ readonly 50: any;
982
+ readonly 100: any;
983
+ readonly 150: any;
984
+ readonly 200: any;
985
+ readonly 300: any;
986
+ readonly 400: any;
987
+ readonly 600: any;
988
+ readonly 800: any;
989
+ readonly 1200: any;
990
+ readonly 1600: any;
991
+ readonly 'stacking-none': any;
992
+ readonly 'stacking-100': any;
993
+ readonly 'stacking-200': any;
994
+ readonly 'stacking-300': any;
995
+ readonly 'stacking-400': any;
996
+ readonly 'stacking-500': any;
997
+ readonly 'stacking-800': any;
998
+ };
999
+ 'z-indices': {
1000
+ readonly dropdownMenu: 100;
1001
+ readonly popover: 200;
1002
+ readonly tooltip: 300;
1003
+ };
1004
+ }, {
1005
+ readonly background: "colors";
1006
+ readonly backgroundColor: "colors";
1007
+ readonly backgroundImage: "colors";
1008
+ readonly blockSize: "sizes";
1009
+ readonly border: "colors";
1010
+ readonly borderBlock: "colors";
1011
+ readonly borderBlockEnd: "colors";
1012
+ readonly borderBlockStart: "colors";
1013
+ readonly borderBottom: "colors";
1014
+ readonly borderBottomColor: "colors";
1015
+ readonly borderBottomLeftRadius: "radii";
1016
+ readonly borderBottomRightRadius: "radii";
1017
+ readonly borderBottomStyle: "border-styles";
1018
+ readonly borderBottomWidth: "border-widths";
1019
+ readonly borderColor: "colors";
1020
+ readonly borderImage: "colors";
1021
+ readonly borderInline: "colors";
1022
+ readonly borderInlineEnd: "colors";
1023
+ readonly borderInlineStart: "colors";
1024
+ readonly borderLeft: "colors";
1025
+ readonly borderLeftColor: "colors";
1026
+ readonly borderLeftStyle: "border-styles";
1027
+ readonly borderLeftWidth: "border-widths";
1028
+ readonly borderRadius: "radii";
1029
+ readonly borderRight: "colors";
1030
+ readonly borderRightColor: "colors";
1031
+ readonly borderRightStyle: "border-styles";
1032
+ readonly borderRightWidth: "border-widths";
1033
+ readonly borderStyle: "border-styles";
1034
+ readonly borderTop: "colors";
1035
+ readonly borderTopColor: "colors";
1036
+ readonly borderTopLeftRadius: "radii";
1037
+ readonly borderTopRightRadius: "radii";
1038
+ readonly borderTopStyle: "border-styles";
1039
+ readonly borderTopWidth: "border-widths";
1040
+ readonly borderWidth: "border-widths";
1041
+ readonly bottom: "space";
1042
+ readonly boxShadow: "shadows";
1043
+ readonly caretColor: "colors";
1044
+ readonly color: "colors";
1045
+ readonly columnGap: "space-gap";
1046
+ readonly columnRuleColor: "colors";
1047
+ readonly fill: "colors";
1048
+ readonly flexBasis: "sizes";
1049
+ readonly fontFamily: "fonts";
1050
+ readonly fontSize: "font-sizes";
1051
+ readonly fontWeight: "font-weights";
1052
+ readonly gap: "space-gap";
1053
+ readonly gridColumnGap: "space-gap";
1054
+ readonly gridGap: "space-gap";
1055
+ readonly gridRowGap: "space-gap";
1056
+ readonly gridTemplateColumns: "sizes";
1057
+ readonly gridTemplateRows: "sizes";
1058
+ readonly height: "sizes";
1059
+ readonly inlineSize: "sizes";
1060
+ readonly inset: "space-inset";
1061
+ readonly insetBlock: "space-inset";
1062
+ readonly insetBlockEnd: "space-inset";
1063
+ readonly insetBlockStart: "space-inset";
1064
+ readonly insetInline: "space-inset";
1065
+ readonly insetInlineEnd: "space-inset";
1066
+ readonly insetInlineStart: "space-inset";
1067
+ readonly left: "space";
1068
+ readonly letterSpacing: "letter-spacings";
1069
+ readonly lineHeight: "line-heights";
1070
+ readonly margin: "space-offset";
1071
+ readonly marginBlock: "space-offset";
1072
+ readonly marginBlockEnd: "space-offset";
1073
+ readonly marginBlockStart: "space-offset";
1074
+ readonly marginBottom: "space-offset";
1075
+ readonly marginInline: "space-offset";
1076
+ readonly marginInlineEnd: "space-offset";
1077
+ readonly marginInlineStart: "space-offset";
1078
+ readonly marginLeft: "space-offset";
1079
+ readonly marginRight: "space-offset";
1080
+ readonly marginTop: "space-offset";
1081
+ readonly maxBlockSize: "sizes";
1082
+ readonly maxHeight: "sizes";
1083
+ readonly maxInlineSize: "sizes";
1084
+ readonly maxWidth: "sizes";
1085
+ readonly minBlockSize: "sizes";
1086
+ readonly minHeight: "sizes";
1087
+ readonly minInlineSize: "sizes";
1088
+ readonly minWidth: "sizes";
1089
+ readonly outline: "colors";
1090
+ readonly outlineColor: "colors";
1091
+ readonly padding: "space-inset";
1092
+ readonly paddingBlock: "space-inset";
1093
+ readonly paddingBlockEnd: "space-inset";
1094
+ readonly paddingBlockStart: "space-inset";
1095
+ readonly paddingBottom: "space-inset";
1096
+ readonly paddingInline: "space-inset";
1097
+ readonly paddingInlineEnd: "space-inset";
1098
+ readonly paddingInlineStart: "space-inset";
1099
+ readonly paddingLeft: "space-inset";
1100
+ readonly paddingRight: "space-inset";
1101
+ readonly paddingTop: "space-inset";
1102
+ readonly right: "space";
1103
+ readonly rowGap: "space-gap";
1104
+ readonly scrollMargin: "space-offset";
1105
+ readonly scrollMarginBlock: "space-offset";
1106
+ readonly scrollMarginBlockEnd: "space-offset";
1107
+ readonly scrollMarginBlockStart: "space-offset";
1108
+ readonly scrollMarginBottom: "space-offset";
1109
+ readonly scrollMarginInline: "space-offset";
1110
+ readonly scrollMarginInlineEnd: "space-offset";
1111
+ readonly scrollMarginInlineStart: "space-offset";
1112
+ readonly scrollMarginLeft: "space-offset";
1113
+ readonly scrollMarginRight: "space-offset";
1114
+ readonly scrollMarginTop: "space-offset";
1115
+ readonly scrollPadding: "space-inset";
1116
+ readonly scrollPaddingBlock: "space-inset";
1117
+ readonly scrollPaddingBlockEnd: "space-inset";
1118
+ readonly scrollPaddingBlockStart: "space-inset";
1119
+ readonly scrollPaddingBottom: "space-inset";
1120
+ readonly scrollPaddingInline: "space-inset";
1121
+ readonly scrollPaddingInlineEnd: "space-inset";
1122
+ readonly scrollPaddingInlineStart: "space-inset";
1123
+ readonly scrollPaddingLeft: "space-inset";
1124
+ readonly scrollPaddingRight: "space-inset";
1125
+ readonly scrollPaddingTop: "space-inset";
1126
+ readonly stroke: "colors";
1127
+ readonly textDecorationColor: "colors";
1128
+ readonly textShadow: "shadows";
1129
+ readonly top: "space";
1130
+ readonly transition: "transitions";
1131
+ readonly width: "sizes";
1132
+ readonly zIndex: "z-indices";
1133
+ }, {
1134
+ paddingX: (value: {
1135
+ readonly [$$PropertyValue]: "padding";
1136
+ }) => {
1137
+ paddingLeft: {
1138
+ readonly [$$PropertyValue]: "padding";
1139
+ };
1140
+ paddingRight: {
1141
+ readonly [$$PropertyValue]: "padding";
1142
+ };
1143
+ };
1144
+ paddingY: (value: {
1145
+ readonly [$$PropertyValue]: "padding";
1146
+ }) => {
1147
+ paddingTop: {
1148
+ readonly [$$PropertyValue]: "padding";
1149
+ };
1150
+ paddingBottom: {
1151
+ readonly [$$PropertyValue]: "padding";
1152
+ };
1153
+ };
1154
+ marginX: (value: {
1155
+ readonly [$$PropertyValue]: "margin";
1156
+ }) => {
1157
+ marginLeft: {
1158
+ readonly [$$PropertyValue]: "margin";
1159
+ };
1160
+ marginRight: {
1161
+ readonly [$$PropertyValue]: "margin";
1162
+ };
1163
+ };
1164
+ marginY: (value: {
1165
+ readonly [$$PropertyValue]: "margin";
1166
+ }) => {
1167
+ marginTop: {
1168
+ readonly [$$PropertyValue]: "margin";
1169
+ };
1170
+ marginBottom: {
1171
+ readonly [$$PropertyValue]: "margin";
1172
+ };
1173
+ };
1174
+ }>>> & _mirohq_design_system_stitches.CustomStylesProps, "color" | "translate" | "prefix" | "asChild" | "form" | "slot" | "title" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "placeholder" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | keyof _mirohq_design_system_stitches.CustomStylesProps | "variant"> & react.RefAttributes<HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverCloseProps & react.RefAttributes<HTMLButtonElement>>, {
1175
+ variant?: "dark" | "light" | undefined;
1176
+ }, {}>;
1177
+ declare type StyledCloseProps = StrictComponentProps<typeof StyledClose>;
1178
+
1179
+ interface CloseProps extends StyledCloseProps {
1180
+ }
1181
+ declare const Close: react__default.ForwardRefExoticComponent<Pick<CloseProps, "color" | "translate" | "css" | "prefix" | "asChild" | "UNSAFE_style" | "form" | "slot" | "title" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "placeholder" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key"> & react__default.RefAttributes<HTMLButtonElement>>;
1182
+
1183
+ interface PortalProps extends PopoverPortalProps {
1184
+ /**
1185
+ * Used to force mounting when more control is needed. Useful when
1186
+ * controlling animation with React animation libraries. If used on this part,
1187
+ * it will be inherited by Popover.Content.
1188
+ */
1189
+ forceMount?: true;
1190
+ /**
1191
+ * Specify a container element to portal the content into.
1192
+ */
1193
+ container?: HTMLElement | null;
1194
+ }
1195
+ declare const Portal: react__default.FC<PortalProps>;
1196
+
1197
+ interface PopoverProps {
1198
+ /**
1199
+ * The current controlled state of the popover.
1200
+ */
1201
+ open?: boolean;
1202
+ /**
1203
+ * Event handler called when the popover opens.
1204
+ */
1205
+ onOpen?: () => void;
1206
+ /**
1207
+ * Event handler called when the popover closes.
1208
+ */
1209
+ onClose?: () => void;
1210
+ /**
1211
+ * Defines whether the interaction with outside elements will be enabled.
1212
+ */
1213
+ interactOutside?: boolean;
1214
+ /**
1215
+ * The event that will trigger the popover to open.
1216
+ */
1217
+ triggersOn?: TriggersOn;
1218
+ /**
1219
+ * Change the popover's appearance
1220
+ */
1221
+ variant?: Variant;
1222
+ }
1223
+ declare const Popover: react__default.FC<PopoverProps> & Partials;
1224
+ interface Partials {
1225
+ Trigger: typeof Trigger;
1226
+ Content: typeof Content;
1227
+ Close: typeof Close;
1228
+ Portal: typeof Portal;
1229
+ }
1230
+
1231
+ export { Popover, ContentProps as PopoverContentProps, PortalProps as PopoverPortalProps, PopoverProps, TriggerProps as PopoverTriggerProps, types as PopoverTypes };