@majoo-ui/react 1.61.0 → 1.61.1-6.rc-6

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.
Files changed (29) hide show
  1. package/components/accordion/Accordion.d.ts +5 -7
  2. package/components/button/Button.d.ts +1 -0
  3. package/components/card/Card.d.ts +5 -0
  4. package/components/contextMenu/ContextMenu.d.ts +4 -0
  5. package/components/datePicker/InputDatePicker.d.ts +5 -1
  6. package/components/datePicker/components/Calendar.d.ts +6 -1
  7. package/components/datePicker/components/CalendarTimePicker.d.ts +2 -1
  8. package/components/datePicker/components/DateNumber.d.ts +1 -0
  9. package/components/datePicker/components/MobileCalendar.d.ts +1 -1
  10. package/components/datePicker/state/reducer.d.ts +1 -0
  11. package/components/devicePreview/DevicePreview.d.ts +4 -4
  12. package/components/dialog/Dialog.d.ts +4 -0
  13. package/components/editableTable/EditableTable.d.ts +36 -3
  14. package/components/form/components/InputResourceList/InputResourceList.d.ts +8 -7
  15. package/components/form/components/InputSelect/InputSelect.d.ts +7 -0
  16. package/components/form/components/index.d.ts +1 -1
  17. package/components/heading/Heading.d.ts +1 -0
  18. package/components/link/Link.d.ts +1 -0
  19. package/components/modalDialog/ModalDialog.d.ts +10 -3
  20. package/components/pageDialog/PageDialog.d.ts +24 -12
  21. package/components/table/Table.d.ts +127 -1
  22. package/config/stitches.config.d.ts +20 -0
  23. package/foundations/typography/Typography.d.ts +4 -0
  24. package/index.esm.js +3805 -3129
  25. package/package.json +68 -57
  26. package/components/form/components/InputResourceList/ResourceList.d.ts +0 -4
  27. package/components/form/components/InputSelect/InputSelect.backup.d.ts +0 -713
  28. package/index.umd.css +0 -1296
  29. package/index.umd.js +0 -58064
@@ -1,17 +1,15 @@
1
- import * as React from 'react';
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
2
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
3
- import { PrimitiveButtonProps } from '@radix-ui/react-popover';
4
3
  import { BaseRadixNoCss, BaseRadixProps } from '../../type/base.types';
5
- declare type AccordionPrimitiveProps = Omit<AccordionPrimitive.AccordionSingleProps, keyof Omit<AccordionPrimitive.PrimitiveDivProps, 'defaultValue'>> | Omit<AccordionPrimitive.AccordionMultipleProps, keyof Omit<AccordionPrimitive.PrimitiveDivProps, 'defaultValue'>>;
4
+ declare type AccordionPrimitiveProps = AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps;
6
5
  declare type AccordionProps = {
7
6
  /**
8
7
  * Determines whether one or multiple items can be opened at the same time.
9
8
  */
10
- type: string;
11
9
  children: React.ReactNode;
12
10
  } & AccordionPrimitiveProps & BaseRadixProps;
13
11
  export declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
14
- declare type AccordionTriggerPrimitiveProps = Omit<AccordionPrimitive.AccordionTriggerProps, keyof PrimitiveButtonProps>;
12
+ declare type AccordionTriggerPrimitiveProps = Omit<AccordionPrimitive.AccordionTriggerProps, keyof ComponentPropsWithoutRef<'button'>>;
15
13
  interface AccordionTriggerProps extends AccordionTriggerPrimitiveProps, BaseRadixProps {
16
14
  /**
17
15
  * If the value is 'false' then it will hide the arrow icon.
@@ -32,6 +30,6 @@ interface AccordionTriggerProps extends AccordionTriggerPrimitiveProps, BaseRadi
32
30
  children: React.ReactNode;
33
31
  }
34
32
  export declare const AccordionTrigger: React.ForwardRefExoticComponent<AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>;
35
- export declare const AccordionItem: React.FC<Omit<AccordionPrimitive.AccordionItemProps, keyof AccordionPrimitive.PrimitiveDivProps> & BaseRadixNoCss>;
36
- export declare const AccordionContent: React.FC<Omit<AccordionPrimitive.AccordionContentProps, keyof AccordionPrimitive.PrimitiveDivProps> & BaseRadixNoCss>;
33
+ export declare const AccordionItem: React.FC<AccordionPrimitive.AccordionItemProps & BaseRadixNoCss>;
34
+ export declare const AccordionContent: React.FC<AccordionPrimitive.AccordionContentProps & BaseRadixNoCss>;
37
35
  export {};
@@ -34,6 +34,7 @@ export declare const ButtonPrimitive: import("@stitches/react/types/styled-compo
34
34
  radii: unknown;
35
35
  sizes: unknown;
36
36
  zIndices: unknown;
37
+ toastPosition: unknown;
37
38
  }, import("@stitches/react/types/config").DefaultThemeMap, {
38
39
  m: (value: {
39
40
  readonly [Stitches.$$ScaleValue]: "space";
@@ -54,6 +54,7 @@ export declare const CardComponent: import("@stitches/react/types/styled-compone
54
54
  radii: unknown;
55
55
  sizes: unknown;
56
56
  zIndices: unknown;
57
+ toastPosition: unknown;
57
58
  }, import("@stitches/react/types/config").DefaultThemeMap, {
58
59
  m: (value: {
59
60
  readonly [$$ScaleValue]: "space";
@@ -152,6 +153,7 @@ export declare const CardLineColor: import("@stitches/react/types/styled-compone
152
153
  radii: unknown;
153
154
  sizes: unknown;
154
155
  zIndices: unknown;
156
+ toastPosition: unknown;
155
157
  }, import("@stitches/react/types/config").DefaultThemeMap, {
156
158
  m: (value: {
157
159
  readonly [$$ScaleValue]: "space";
@@ -248,6 +250,7 @@ export declare const StyledTitle: import("@stitches/react/types/styled-component
248
250
  radii: unknown;
249
251
  sizes: unknown;
250
252
  zIndices: unknown;
253
+ toastPosition: unknown;
251
254
  }, import("@stitches/react/types/config").DefaultThemeMap, {
252
255
  m: (value: {
253
256
  readonly [$$ScaleValue]: "space";
@@ -355,6 +358,7 @@ export declare const Card: {
355
358
  radii: unknown;
356
359
  sizes: unknown;
357
360
  zIndices: unknown;
361
+ toastPosition: unknown;
358
362
  }, import("@stitches/react/types/config").DefaultThemeMap, {
359
363
  m: (value: {
360
364
  readonly [$$ScaleValue]: "space";
@@ -451,6 +455,7 @@ export declare const Card: {
451
455
  radii: unknown;
452
456
  sizes: unknown;
453
457
  zIndices: unknown;
458
+ toastPosition: unknown;
454
459
  }, import("@stitches/react/types/config").DefaultThemeMap, {
455
460
  m: (value: {
456
461
  readonly [$$ScaleValue]: "space";
@@ -38,6 +38,7 @@ export declare const ContextMenuTrigger: import("@stitches/react/types/styled-co
38
38
  radii: unknown;
39
39
  sizes: unknown;
40
40
  zIndices: unknown;
41
+ toastPosition: unknown;
41
42
  }, import("@stitches/react/types/config").DefaultThemeMap, {
42
43
  m: (value: {
43
44
  readonly [$$ScaleValue]: "space";
@@ -134,6 +135,7 @@ export declare const ContextMenu: import("@stitches/react/types/styled-component
134
135
  radii: unknown;
135
136
  sizes: unknown;
136
137
  zIndices: unknown;
138
+ toastPosition: unknown;
137
139
  }, import("@stitches/react/types/config").DefaultThemeMap, {
138
140
  m: (value: {
139
141
  readonly [$$ScaleValue]: "space";
@@ -230,6 +232,7 @@ export declare const ContextMenuItem: import("@stitches/react/types/styled-compo
230
232
  radii: unknown;
231
233
  sizes: unknown;
232
234
  zIndices: unknown;
235
+ toastPosition: unknown;
233
236
  }, import("@stitches/react/types/config").DefaultThemeMap, {
234
237
  m: (value: {
235
238
  readonly [$$ScaleValue]: "space";
@@ -326,6 +329,7 @@ export declare const ContextMenuSeparator: import("@stitches/react/types/styled-
326
329
  radii: unknown;
327
330
  sizes: unknown;
328
331
  zIndices: unknown;
332
+ toastPosition: unknown;
329
333
  }, import("@stitches/react/types/config").DefaultThemeMap, {
330
334
  m: (value: {
331
335
  readonly [$$ScaleValue]: "space";
@@ -161,6 +161,10 @@ export interface InputDatePickerProps {
161
161
  * If true, the component will be shown as mobile layout
162
162
  */
163
163
  isMobile?: boolean;
164
+ /**
165
+ * Max range date picker in days
166
+ */
167
+ maxRange?: number;
164
168
  }
165
- export declare function InputDatePicker({ type, showRangeControl, rangePickerType, placeholder, size, disabled, onChange, onDateSelected, defaultValue: defaultDateValue, value: dateValue, defaultDate, date, advanceView, placement, css, showTimePicker, timePickerProps, minDate, maxDate, readOnly, isInvalid, allowReset, portalled, portalledMobile, onClose, mobileOnly, desktopOnly, drawerCss, drawerContentCss, isMobile, }: InputDatePickerProps): JSX.Element;
169
+ export declare function InputDatePicker({ type, showRangeControl, rangePickerType, placeholder, size, disabled, onChange, onDateSelected, defaultValue: defaultDateValue, value: dateValue, defaultDate, date, advanceView, placement, css, showTimePicker, timePickerProps, minDate, maxDate, readOnly, isInvalid, allowReset, portalled, portalledMobile, onClose, mobileOnly, desktopOnly, drawerCss, drawerContentCss, isMobile, maxRange, }: InputDatePickerProps): JSX.Element;
166
170
  export {};
@@ -22,6 +22,11 @@ export interface CalendarProps extends RenderProps {
22
22
  maxDate?: Date;
23
23
  allowReset?: boolean;
24
24
  onSetDateValue?: Dispatch<SetStateAction<Date[]>>;
25
+ maxRange?: number;
26
+ overMaxRange?: boolean;
27
+ timePickerProps?: {
28
+ minDate?: Date;
29
+ };
25
30
  }
26
- declare const CalendarBox: ({ calendars, getDateProps, advanceView, onCalendarDateChange, onIsMultiDateChange, onUpdate, onCancel, onReset, selected, containerStyle, disabled, showTimePicker, renderTimePicker, minDate, maxDate, allowReset, onSetDateValue, }: CalendarProps) => JSX.Element | null;
31
+ declare const CalendarBox: ({ calendars, getDateProps, advanceView, onCalendarDateChange, onIsMultiDateChange, onUpdate, onCancel, onReset, selected, containerStyle, disabled, showTimePicker, renderTimePicker, minDate, maxDate, allowReset, onSetDateValue, maxRange, overMaxRange, timePickerProps, }: CalendarProps) => JSX.Element | null;
27
32
  export default CalendarBox;
@@ -5,6 +5,7 @@ interface CalendarProps {
5
5
  language?: string;
6
6
  onSetDateValue?: Dispatch<SetStateAction<Date[]>>;
7
7
  isSingle?: boolean;
8
+ timePickerProps?: object;
8
9
  }
9
- declare const CalendarTimePicker: ({ selected, disabled, language, onSetDateValue, isSingle }: CalendarProps) => JSX.Element;
10
+ declare const CalendarTimePicker: ({ selected, disabled, language, onSetDateValue, isSingle, timePickerProps }: CalendarProps) => JSX.Element;
10
11
  export default CalendarTimePicker;
@@ -28,6 +28,7 @@ declare const DateNumber: import("@stitches/react/types/styled-component").Style
28
28
  radii: unknown;
29
29
  sizes: unknown;
30
30
  zIndices: unknown;
31
+ toastPosition: unknown;
31
32
  }, import("@stitches/react/types/config").DefaultThemeMap, {
32
33
  m: (value: {
33
34
  readonly [Stitches.$$ScaleValue]: "space";
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { CalendarProps } from './Calendar';
3
- declare const MobileCalendarBox: ({ calendars, getDateProps, advanceView, onCalendarDateChange, onIsMultiDateChange, onUpdate, onCancel, onReset, selected, containerStyle, disabled, minDate, maxDate, allowReset, }: CalendarProps) => JSX.Element | null;
3
+ declare const MobileCalendarBox: ({ calendars, getDateProps, advanceView, onCalendarDateChange, onIsMultiDateChange, onUpdate, onCancel, onReset, selected, containerStyle, disabled, minDate, maxDate, allowReset, maxRange, overMaxRange, }: CalendarProps) => JSX.Element | null;
4
4
  export default MobileCalendarBox;
@@ -10,6 +10,7 @@ export declare const PREV_MONTH = "PREV_MONTH";
10
10
  export declare const RANGE_MONTH = "RANGE_MONTH";
11
11
  export declare const NEXT_MONTH = "NEXT_MONTH";
12
12
  export declare const THIS_WEEK = "THIS_WEEK";
13
+ export declare const LAST_30_DAYS = "LAST_30_DAYS";
13
14
  export declare const LAST_MONTH = "LAST_MONTH";
14
15
  export declare const LAST_TWO_MONTHS = "LAST_TWO_MONTH";
15
16
  export declare const THIS_MONTH = "THIS_MONTH";
@@ -82,6 +82,7 @@ export declare const ImageDevicePreview: import("@stitches/react/types/styled-co
82
82
  radii: unknown;
83
83
  sizes: unknown;
84
84
  zIndices: unknown;
85
+ toastPosition: unknown;
85
86
  }, import("@stitches/react/types/config").DefaultThemeMap, {
86
87
  m: (value: {
87
88
  readonly [Stitches.$$ScaleValue]: "space";
@@ -131,12 +132,11 @@ export declare const ImageDevicePreview: import("@stitches/react/types/styled-co
131
132
  my: (value: {
132
133
  readonly [Stitches.$$ScaleValue]: "space";
133
134
  }) => {
134
- /**
135
- * alt prop when url image not found or invalid
136
- */
137
135
  marginTop: {
138
136
  readonly [Stitches.$$ScaleValue]: "space";
139
- };
137
+ }; /**
138
+ * alt prop when url image not found or invalid
139
+ */
140
140
  marginBottom: {
141
141
  readonly [Stitches.$$ScaleValue]: "space";
142
142
  };
@@ -27,6 +27,7 @@ declare const StyledContent: import("@stitches/react/types/styled-component").St
27
27
  radii: unknown;
28
28
  sizes: unknown;
29
29
  zIndices: unknown;
30
+ toastPosition: unknown;
30
31
  }, import("@stitches/react/types/config").DefaultThemeMap, {
31
32
  m: (value: {
32
33
  readonly [$$ScaleValue]: "space";
@@ -131,6 +132,7 @@ export declare const DialogTitle: import("@stitches/react/types/styled-component
131
132
  radii: unknown;
132
133
  sizes: unknown;
133
134
  zIndices: unknown;
135
+ toastPosition: unknown;
134
136
  }, import("@stitches/react/types/config").DefaultThemeMap, {
135
137
  m: (value: {
136
138
  readonly [$$ScaleValue]: "space";
@@ -227,6 +229,7 @@ export declare const DialogDescription: import("@stitches/react/types/styled-com
227
229
  radii: unknown;
228
230
  sizes: unknown;
229
231
  zIndices: unknown;
232
+ toastPosition: unknown;
230
233
  }, import("@stitches/react/types/config").DefaultThemeMap, {
231
234
  m: (value: {
232
235
  readonly [$$ScaleValue]: "space";
@@ -324,6 +327,7 @@ export declare const DialogOverlay: import("@stitches/react/types/styled-compone
324
327
  radii: unknown;
325
328
  sizes: unknown;
326
329
  zIndices: unknown;
330
+ toastPosition: unknown;
327
331
  }, import("@stitches/react/types/config").DefaultThemeMap, {
328
332
  m: (value: {
329
333
  readonly [$$ScaleValue]: "space";
@@ -125,6 +125,7 @@ declare namespace EditableTable {
125
125
  radii: unknown;
126
126
  sizes: unknown;
127
127
  zIndices: unknown;
128
+ toastPosition: unknown;
128
129
  }, import("@stitches/react/types/config").DefaultThemeMap, {
129
130
  m: (value: {
130
131
  readonly [$$ScaleValue]: "space";
@@ -138,7 +139,17 @@ declare namespace EditableTable {
138
139
  }) => {
139
140
  marginTop: {
140
141
  readonly [$$ScaleValue]: "space";
141
- };
142
+ }; /**
143
+ * Define custom empty data props.<br/>
144
+ * interface EmptyDataProps { <br/>
145
+ * &nbsp;&nbsp;&nbsp;&nbsp;(define the doodle image component)<br/>
146
+ * &nbsp;&nbsp;&nbsp;&nbsp;doodleImage?: React.ReactNode;<br/>
147
+ * &nbsp;&nbsp;&nbsp;&nbsp;(define the title)<br/>
148
+ * &nbsp;&nbsp;&nbsp;&nbsp;title?: string | React.ReactNode;<br/>
149
+ * &nbsp;&nbsp;&nbsp;&nbsp;(define the description)<br/>
150
+ * &nbsp;&nbsp;&nbsp;&nbsp;description?: string | React.ReactNode;<br/>
151
+ * }
152
+ */
142
153
  };
143
154
  mr: (value: {
144
155
  readonly [$$ScaleValue]: "space";
@@ -225,6 +236,7 @@ declare namespace EditableTable {
225
236
  radii: unknown;
226
237
  sizes: unknown;
227
238
  zIndices: unknown;
239
+ toastPosition: unknown;
228
240
  }, import("@stitches/react/types/config").DefaultThemeMap, {
229
241
  m: (value: {
230
242
  readonly [$$ScaleValue]: "space";
@@ -238,7 +250,17 @@ declare namespace EditableTable {
238
250
  }) => {
239
251
  marginTop: {
240
252
  readonly [$$ScaleValue]: "space";
241
- };
253
+ }; /**
254
+ * Define custom empty data props.<br/>
255
+ * interface EmptyDataProps { <br/>
256
+ * &nbsp;&nbsp;&nbsp;&nbsp;(define the doodle image component)<br/>
257
+ * &nbsp;&nbsp;&nbsp;&nbsp;doodleImage?: React.ReactNode;<br/>
258
+ * &nbsp;&nbsp;&nbsp;&nbsp;(define the title)<br/>
259
+ * &nbsp;&nbsp;&nbsp;&nbsp;title?: string | React.ReactNode;<br/>
260
+ * &nbsp;&nbsp;&nbsp;&nbsp;(define the description)<br/>
261
+ * &nbsp;&nbsp;&nbsp;&nbsp;description?: string | React.ReactNode;<br/>
262
+ * }
263
+ */
242
264
  };
243
265
  mr: (value: {
244
266
  readonly [$$ScaleValue]: "space";
@@ -323,6 +345,7 @@ declare namespace EditableTable {
323
345
  radii: unknown;
324
346
  sizes: unknown;
325
347
  zIndices: unknown;
348
+ toastPosition: unknown;
326
349
  }, import("@stitches/react/types/config").DefaultThemeMap, {
327
350
  m: (value: {
328
351
  readonly [$$ScaleValue]: "space";
@@ -336,7 +359,17 @@ declare namespace EditableTable {
336
359
  }) => {
337
360
  marginTop: {
338
361
  readonly [$$ScaleValue]: "space";
339
- };
362
+ }; /**
363
+ * Define custom empty data props.<br/>
364
+ * interface EmptyDataProps { <br/>
365
+ * &nbsp;&nbsp;&nbsp;&nbsp;(define the doodle image component)<br/>
366
+ * &nbsp;&nbsp;&nbsp;&nbsp;doodleImage?: React.ReactNode;<br/>
367
+ * &nbsp;&nbsp;&nbsp;&nbsp;(define the title)<br/>
368
+ * &nbsp;&nbsp;&nbsp;&nbsp;title?: string | React.ReactNode;<br/>
369
+ * &nbsp;&nbsp;&nbsp;&nbsp;(define the description)<br/>
370
+ * &nbsp;&nbsp;&nbsp;&nbsp;description?: string | React.ReactNode;<br/>
371
+ * }
372
+ */
340
373
  };
341
374
  mr: (value: {
342
375
  readonly [$$ScaleValue]: "space";
@@ -5,20 +5,21 @@ export interface IResource {
5
5
  label: string;
6
6
  variants?: string[];
7
7
  description?: string;
8
+ subLabel?: string;
8
9
  icon?: () => JSX.Element;
10
+ disabled?: boolean;
9
11
  }
10
- export interface IInputResourceListProps {
12
+ export interface InputResourceListProps {
11
13
  data: IResource[];
12
14
  disabled: boolean;
13
- onItemCheck(checkedItem: IResource): void;
14
- onItemUncheck(checkedItem: IResource): void;
15
+ onChange(checkedItems: (string | IResource)[]): void;
15
16
  searchPlaceholder?: string;
16
17
  counterFooter?: boolean;
17
18
  counterFooterText?: string;
18
19
  isLoading: boolean;
19
- enabledItems?: string[];
20
+ disabledItems?: string[];
20
21
  emptyDataMessage?: string;
21
- value?: IResource[];
22
+ value?: (string | IResource)[];
22
23
  fetchData?(props: {
23
24
  query?: string;
24
25
  pageIndex?: number;
@@ -32,7 +33,7 @@ export interface IInputResourceListProps {
32
33
  renderSelectAll?: JSX.Element;
33
34
  customHeader?: JSX.Element;
34
35
  expandable?: boolean;
35
- checkDisableItems?: boolean;
36
+ searchable?: boolean;
36
37
  }
37
- declare function InputResourceList({ data: dataProp, disabled, onItemCheck, onItemUncheck, searchPlaceholder, counterFooter, counterFooterText, isLoading, enabledItems, emptyDataMessage, value, fetchData, onQueryChange, css, wrapperCss, defaultSort, title, hideSelectAll, customHeader, checkDisableItems }: IInputResourceListProps): JSX.Element;
38
+ declare function InputResourceList({ data: dataProp, disabled, onChange, searchPlaceholder, counterFooter, counterFooterText, isLoading, disabledItems, emptyDataMessage, value, fetchData, onQueryChange, css, wrapperCss, defaultSort, title, hideSelectAll, renderSelectAll, customHeader, expandable, searchable, }: InputResourceListProps): JSX.Element;
38
39
  export default InputResourceList;
@@ -29,6 +29,7 @@ export declare const SelectContainer: import("@stitches/react/types/styled-compo
29
29
  radii: unknown;
30
30
  sizes: unknown;
31
31
  zIndices: unknown;
32
+ toastPosition: unknown;
32
33
  }, import("@stitches/react/types/config").DefaultThemeMap, {
33
34
  m: (value: {
34
35
  readonly [$$ScaleValue]: "space";
@@ -130,6 +131,7 @@ export declare const SelectBox: import("@stitches/react/types/styled-component")
130
131
  radii: unknown;
131
132
  sizes: unknown;
132
133
  zIndices: unknown;
134
+ toastPosition: unknown;
133
135
  }, import("@stitches/react/types/config").DefaultThemeMap, {
134
136
  m: (value: {
135
137
  readonly [$$ScaleValue]: "space";
@@ -228,6 +230,7 @@ export declare const Input: import("@stitches/react/types/styled-component").Sty
228
230
  radii: unknown;
229
231
  sizes: unknown;
230
232
  zIndices: unknown;
233
+ toastPosition: unknown;
231
234
  }, import("@stitches/react/types/config").DefaultThemeMap, {
232
235
  m: (value: {
233
236
  readonly [$$ScaleValue]: "space";
@@ -326,6 +329,7 @@ export declare const IconContainer: import("@stitches/react/types/styled-compone
326
329
  radii: unknown;
327
330
  sizes: unknown;
328
331
  zIndices: unknown;
332
+ toastPosition: unknown;
329
333
  }, import("@stitches/react/types/config").DefaultThemeMap, {
330
334
  m: (value: {
331
335
  readonly [$$ScaleValue]: "space";
@@ -426,6 +430,7 @@ export declare const OptionWrapper: import("@stitches/react/types/styled-compone
426
430
  radii: unknown;
427
431
  sizes: unknown;
428
432
  zIndices: unknown;
433
+ toastPosition: unknown;
429
434
  }, import("@stitches/react/types/config").DefaultThemeMap, {
430
435
  m: (value: {
431
436
  readonly [$$ScaleValue]: "space";
@@ -522,6 +527,7 @@ export declare const SelectOption: import("@stitches/react/types/styled-componen
522
527
  radii: unknown;
523
528
  sizes: unknown;
524
529
  zIndices: unknown;
530
+ toastPosition: unknown;
525
531
  }, import("@stitches/react/types/config").DefaultThemeMap, {
526
532
  m: (value: {
527
533
  readonly [$$ScaleValue]: "space";
@@ -621,6 +627,7 @@ export declare const SelectItem: import("@stitches/react/types/styled-component"
621
627
  radii: unknown;
622
628
  sizes: unknown;
623
629
  zIndices: unknown;
630
+ toastPosition: unknown;
624
631
  }, import("@stitches/react/types/config").DefaultThemeMap, {
625
632
  m: (value: {
626
633
  readonly [$$ScaleValue]: "space";
@@ -18,7 +18,7 @@ export * from './InputSelect';
18
18
  export { default as InputSelectCheck } from './InputSelectCheck/InputSelectCheck';
19
19
  export { default as InputSelectTag } from './InputSelectTag/InputSelectTag';
20
20
  export { default as InputCreatable } from './InputCreatable/InputCreatable';
21
- export { default as InputResourceList } from './InputResourceList/ResourceList';
21
+ export { default as InputResourceList } from './InputResourceList/InputResourceList';
22
22
  export * from './InputCombobox';
23
23
  export * from './InputOTP';
24
24
  export * from './InputCounter';
@@ -25,6 +25,7 @@ declare const Heading: import("@stitches/react/types/styled-component").StyledCo
25
25
  radii: unknown;
26
26
  sizes: unknown;
27
27
  zIndices: unknown;
28
+ toastPosition: unknown;
28
29
  }, import("@stitches/react/types/config").DefaultThemeMap, {
29
30
  m: (value: {
30
31
  readonly [$$ScaleValue]: "space";
@@ -28,6 +28,7 @@ declare const StyledLink: import("@stitches/react/types/styled-component").Style
28
28
  radii: unknown;
29
29
  sizes: unknown;
30
30
  zIndices: unknown;
31
+ toastPosition: unknown;
31
32
  }, import("@stitches/react/types/config").DefaultThemeMap, {
32
33
  m: (value: {
33
34
  readonly [Stitches.$$ScaleValue]: "space";
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { Dialog } from '../../';
3
- import { FocusScopeProps } from '@radix-ui/react-dialog';
4
3
  import type { DialogContentProps } from '..';
5
4
  export declare const ModalDialogFooter: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
6
5
  sm: "(min-width: 359px)";
@@ -27,6 +26,7 @@ export declare const ModalDialogFooter: import("@stitches/react/types/styled-com
27
26
  radii: unknown;
28
27
  sizes: unknown;
29
28
  zIndices: unknown;
29
+ toastPosition: unknown;
30
30
  }, import("@stitches/react/types/config").DefaultThemeMap, {
31
31
  m: (value: {
32
32
  readonly [$$ScaleValue]: "space";
@@ -123,6 +123,7 @@ export declare const ModalDialogTitle: import("@stitches/react/types/styled-comp
123
123
  radii: unknown;
124
124
  sizes: unknown;
125
125
  zIndices: unknown;
126
+ toastPosition: unknown;
126
127
  }, import("@stitches/react/types/config").DefaultThemeMap, {
127
128
  m: (value: {
128
129
  readonly [$$ScaleValue]: "space";
@@ -219,6 +220,7 @@ export declare const ModalDialogContent: import("@stitches/react/types/styled-co
219
220
  radii: unknown;
220
221
  sizes: unknown;
221
222
  zIndices: unknown;
223
+ toastPosition: unknown;
222
224
  }, import("@stitches/react/types/config").DefaultThemeMap, {
223
225
  m: (value: {
224
226
  readonly [$$ScaleValue]: "space";
@@ -315,6 +317,7 @@ export declare const ModalDialogTrigger: import("@stitches/react/types/styled-co
315
317
  radii: unknown;
316
318
  sizes: unknown;
317
319
  zIndices: unknown;
320
+ toastPosition: unknown;
318
321
  }, import("@stitches/react/types/config").DefaultThemeMap, {
319
322
  m: (value: {
320
323
  readonly [$$ScaleValue]: "space";
@@ -397,9 +400,9 @@ interface ModalDialogProps extends Omit<IDialog, 'children'>, DialogContentProps
397
400
  */
398
401
  width?: string | number;
399
402
  /** Set default behavior when opening dialog with form. Usually used with prevent default*/
400
- onOpenAutoFocus?: FocusScopeProps['onMountAutoFocus'];
403
+ onOpenAutoFocus?: (event: Event) => void;
401
404
  /** Event handler called when a pointer event occurs outside the bounds of the component. It can be prevented by calling event.preventDefault.*/
402
- onPointerDownOutside?: (e: any) => void;
405
+ onPointerDownOutside?: (event: Event) => void;
403
406
  /**
404
407
  * If true, the close icon button is hidden
405
408
  */
@@ -458,6 +461,7 @@ declare const ModalDialog: {
458
461
  radii: unknown;
459
462
  sizes: unknown;
460
463
  zIndices: unknown;
464
+ toastPosition: unknown;
461
465
  }, import("@stitches/react/types/config").DefaultThemeMap, {
462
466
  m: (value: {
463
467
  readonly [$$ScaleValue]: "space";
@@ -554,6 +558,7 @@ declare const ModalDialog: {
554
558
  radii: unknown;
555
559
  sizes: unknown;
556
560
  zIndices: unknown;
561
+ toastPosition: unknown;
557
562
  }, import("@stitches/react/types/config").DefaultThemeMap, {
558
563
  m: (value: {
559
564
  readonly [$$ScaleValue]: "space";
@@ -650,6 +655,7 @@ declare const ModalDialog: {
650
655
  radii: unknown;
651
656
  sizes: unknown;
652
657
  zIndices: unknown;
658
+ toastPosition: unknown;
653
659
  }, import("@stitches/react/types/config").DefaultThemeMap, {
654
660
  m: (value: {
655
661
  readonly [$$ScaleValue]: "space";
@@ -746,6 +752,7 @@ declare const ModalDialog: {
746
752
  radii: unknown;
747
753
  sizes: unknown;
748
754
  zIndices: unknown;
755
+ toastPosition: unknown;
749
756
  }, import("@stitches/react/types/config").DefaultThemeMap, {
750
757
  m: (value: {
751
758
  readonly [$$ScaleValue]: "space";