@majoo-ui/react 1.61.12-rc.17 → 1.61.12-rc.19
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.
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import * as React 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 =
|
|
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 =
|
|
12
|
+
declare type AccordionTriggerPrimitiveProps = AccordionPrimitive.AccordionTriggerProps & React.HTMLAttributes<HTMLButtonElement>;
|
|
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<
|
|
36
|
-
export declare const AccordionContent: React.FC<
|
|
33
|
+
export declare const AccordionItem: React.FC<AccordionPrimitive.AccordionItemProps & BaseRadixNoCss>;
|
|
34
|
+
export declare const AccordionContent: React.FC<AccordionPrimitive.AccordionContentProps & BaseRadixNoCss>;
|
|
37
35
|
export {};
|
|
@@ -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)";
|
|
@@ -397,9 +396,9 @@ interface ModalDialogProps extends Omit<IDialog, 'children'>, DialogContentProps
|
|
|
397
396
|
*/
|
|
398
397
|
width?: string | number;
|
|
399
398
|
/** Set default behavior when opening dialog with form. Usually used with prevent default*/
|
|
400
|
-
onOpenAutoFocus?:
|
|
399
|
+
onOpenAutoFocus?: (event: Event) => void;
|
|
401
400
|
/** Event handler called when a pointer event occurs outside the bounds of the component. It can be prevented by calling event.preventDefault.*/
|
|
402
|
-
onPointerDownOutside?: (
|
|
401
|
+
onPointerDownOutside?: (event: Event) => void;
|
|
403
402
|
/**
|
|
404
403
|
* If true, the close icon button is hidden
|
|
405
404
|
*/
|
|
@@ -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 { PointerDownOutsideEvent, FocusOutsideEvent } from '@radix-ui/react-dismissable-layer';
|
|
5
4
|
import type { DialogContentProps } from '..';
|
|
6
5
|
export declare const PageDialogFooter: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
|
|
@@ -92,7 +91,7 @@ export declare const PageDialogFooter: import("@stitches/react/types/styled-comp
|
|
|
92
91
|
};
|
|
93
92
|
height: {
|
|
94
93
|
readonly [$$PropertyValue]: "width";
|
|
95
|
-
};
|
|
94
|
+
};
|
|
96
95
|
};
|
|
97
96
|
subtleColor: (value: string) => {
|
|
98
97
|
color: string;
|
|
@@ -188,7 +187,7 @@ export declare const PageDialogTitle: import("@stitches/react/types/styled-compo
|
|
|
188
187
|
};
|
|
189
188
|
height: {
|
|
190
189
|
readonly [$$PropertyValue]: "width";
|
|
191
|
-
};
|
|
190
|
+
};
|
|
192
191
|
};
|
|
193
192
|
subtleColor: (value: string) => {
|
|
194
193
|
color: string;
|
|
@@ -284,7 +283,7 @@ export declare const PageDialogContent: import("@stitches/react/types/styled-com
|
|
|
284
283
|
};
|
|
285
284
|
height: {
|
|
286
285
|
readonly [$$PropertyValue]: "width";
|
|
287
|
-
};
|
|
286
|
+
};
|
|
288
287
|
};
|
|
289
288
|
subtleColor: (value: string) => {
|
|
290
289
|
color: string;
|
|
@@ -380,7 +379,7 @@ export declare const PageDialogTrigger: import("@stitches/react/types/styled-com
|
|
|
380
379
|
};
|
|
381
380
|
height: {
|
|
382
381
|
readonly [$$PropertyValue]: "width";
|
|
383
|
-
};
|
|
382
|
+
};
|
|
384
383
|
};
|
|
385
384
|
subtleColor: (value: string) => {
|
|
386
385
|
color: string;
|
|
@@ -394,8 +393,8 @@ interface PageDialogProps extends Omit<IDialog, 'children'>, DialogContentProps
|
|
|
394
393
|
/** Force to mobile view or desktop view, if undefined PageDialog will be responsive according to current screen size */
|
|
395
394
|
isMobile?: boolean | undefined;
|
|
396
395
|
/** Set default behavior when opening dialog with form. Usually used with prevent default*/
|
|
397
|
-
onOpenAutoFocus?:
|
|
398
|
-
onCloseAutoFocus?:
|
|
396
|
+
onOpenAutoFocus?: (event: Event) => void;
|
|
397
|
+
onCloseAutoFocus?: (event: Event) => void;
|
|
399
398
|
onPointerDownOutside?: (event: PointerDownOutsideEvent) => void;
|
|
400
399
|
onInteractOutside?: (event: PointerDownOutsideEvent | FocusOutsideEvent) => void;
|
|
401
400
|
/**
|
|
@@ -495,7 +494,7 @@ export declare const PageDialog: {
|
|
|
495
494
|
};
|
|
496
495
|
height: {
|
|
497
496
|
readonly [$$PropertyValue]: "width";
|
|
498
|
-
};
|
|
497
|
+
};
|
|
499
498
|
};
|
|
500
499
|
subtleColor: (value: string) => {
|
|
501
500
|
color: string;
|
|
@@ -591,7 +590,7 @@ export declare const PageDialog: {
|
|
|
591
590
|
};
|
|
592
591
|
height: {
|
|
593
592
|
readonly [$$PropertyValue]: "width";
|
|
594
|
-
};
|
|
593
|
+
};
|
|
595
594
|
};
|
|
596
595
|
subtleColor: (value: string) => {
|
|
597
596
|
color: string;
|
|
@@ -687,7 +686,7 @@ export declare const PageDialog: {
|
|
|
687
686
|
};
|
|
688
687
|
height: {
|
|
689
688
|
readonly [$$PropertyValue]: "width";
|
|
690
|
-
};
|
|
689
|
+
};
|
|
691
690
|
};
|
|
692
691
|
subtleColor: (value: string) => {
|
|
693
692
|
color: string;
|
|
@@ -783,7 +782,7 @@ export declare const PageDialog: {
|
|
|
783
782
|
};
|
|
784
783
|
height: {
|
|
785
784
|
readonly [$$PropertyValue]: "width";
|
|
786
|
-
};
|
|
785
|
+
};
|
|
787
786
|
};
|
|
788
787
|
subtleColor: (value: string) => {
|
|
789
788
|
color: string;
|
package/index.esm.js
CHANGED
|
@@ -397,10 +397,10 @@ var SHARED = '__core-js_shared__';
|
|
|
397
397
|
var store$3 = sharedStore.exports = globalThis$p[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
398
398
|
|
|
399
399
|
(store$3.versions || (store$3.versions = [])).push({
|
|
400
|
-
version: '3.
|
|
400
|
+
version: '3.44.0',
|
|
401
401
|
mode: 'global',
|
|
402
402
|
copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
|
|
403
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
403
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
|
|
404
404
|
source: 'https://github.com/zloirock/core-js'
|
|
405
405
|
});
|
|
406
406
|
|
package/index.umd.js
CHANGED
|
@@ -398,10 +398,10 @@
|
|
|
398
398
|
var store$3 = sharedStore.exports = globalThis$p[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
399
399
|
|
|
400
400
|
(store$3.versions || (store$3.versions = [])).push({
|
|
401
|
-
version: '3.
|
|
401
|
+
version: '3.44.0',
|
|
402
402
|
mode: 'global',
|
|
403
403
|
copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
|
|
404
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
404
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
|
|
405
405
|
source: 'https://github.com/zloirock/core-js'
|
|
406
406
|
});
|
|
407
407
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@majoo-ui/react",
|
|
3
|
-
"version": "1.61.12-rc.
|
|
3
|
+
"version": "1.61.12-rc.19",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": "17.0.2",
|
|
6
6
|
"react-dom": "17.0.2",
|
|
@@ -14,25 +14,25 @@
|
|
|
14
14
|
"@majoo-ui/helpers": "1.30.6",
|
|
15
15
|
"@majoo-ui/icons": "1.38.38",
|
|
16
16
|
"@monsonjeremy/react-leaflet": "^3.2.2",
|
|
17
|
-
"@radix-ui/react-accordion": "1.0.0",
|
|
18
|
-
"@radix-ui/react-alert-dialog": "1.0.3",
|
|
19
|
-
"@radix-ui/react-aspect-ratio": "1.0.0",
|
|
20
|
-
"@radix-ui/react-avatar": "1.0.0",
|
|
21
|
-
"@radix-ui/react-checkbox": "1.0.0",
|
|
22
|
-
"@radix-ui/react-dialog": "1.0.0",
|
|
17
|
+
"@radix-ui/react-accordion": "^1.0.0",
|
|
18
|
+
"@radix-ui/react-alert-dialog": "^1.0.3",
|
|
19
|
+
"@radix-ui/react-aspect-ratio": "^1.0.0",
|
|
20
|
+
"@radix-ui/react-avatar": "^1.0.0",
|
|
21
|
+
"@radix-ui/react-checkbox": "^1.0.0",
|
|
22
|
+
"@radix-ui/react-dialog": "^1.0.0",
|
|
23
23
|
"@radix-ui/react-dismissable-layer": "1.0.3",
|
|
24
|
-
"@radix-ui/react-dropdown-menu": "1.0.0",
|
|
25
|
-
"@radix-ui/react-label": "1.0.0",
|
|
26
|
-
"@radix-ui/react-popover": "1.0.0",
|
|
27
|
-
"@radix-ui/react-portal": "1.0.0",
|
|
28
|
-
"@radix-ui/react-progress": "1.0.0",
|
|
29
|
-
"@radix-ui/react-radio-group": "1.0.0",
|
|
30
|
-
"@radix-ui/react-separator": "1.0.0",
|
|
31
|
-
"@radix-ui/react-slider": "1.0.0",
|
|
32
|
-
"@radix-ui/react-switch": "1.0.0",
|
|
33
|
-
"@radix-ui/react-tabs": "1.0.0",
|
|
34
|
-
"@radix-ui/react-toggle-group": "1.0.0",
|
|
35
|
-
"@radix-ui/react-tooltip": "1.0.0",
|
|
24
|
+
"@radix-ui/react-dropdown-menu": "^1.0.0",
|
|
25
|
+
"@radix-ui/react-label": "^1.0.0",
|
|
26
|
+
"@radix-ui/react-popover": "^1.0.0",
|
|
27
|
+
"@radix-ui/react-portal": "^1.0.0",
|
|
28
|
+
"@radix-ui/react-progress": "^1.0.0",
|
|
29
|
+
"@radix-ui/react-radio-group": "^1.0.0",
|
|
30
|
+
"@radix-ui/react-separator": "^1.0.0",
|
|
31
|
+
"@radix-ui/react-slider": "^1.0.0",
|
|
32
|
+
"@radix-ui/react-switch": "^1.0.0",
|
|
33
|
+
"@radix-ui/react-tabs": "^1.0.0",
|
|
34
|
+
"@radix-ui/react-toggle-group": "^1.0.0",
|
|
35
|
+
"@radix-ui/react-tooltip": "^1.0.0",
|
|
36
36
|
"@radix-ui/react-visually-hidden": "1.0.0",
|
|
37
37
|
"@react-google-maps/api": "^2.12.1",
|
|
38
38
|
"@stitches/react": "^1.2.8",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"draft-js": "^0.11.7",
|
|
45
45
|
"draftjs-to-html": "^0.9.1",
|
|
46
46
|
"html-to-draftjs": "^1.5.0",
|
|
47
|
-
"i18next": "22.0.
|
|
47
|
+
"i18next": "22.0.8",
|
|
48
48
|
"i18next-browser-languagedetector": "^7.0.1",
|
|
49
49
|
"leaflet": "1.9.3",
|
|
50
50
|
"leaflet-defaulticon-compatibility": "^0.1.2",
|
|
@@ -71,6 +71,12 @@
|
|
|
71
71
|
"recharts": "^2.1.9",
|
|
72
72
|
"yup": "^0.32.11"
|
|
73
73
|
},
|
|
74
|
+
"overrides": {
|
|
75
|
+
"react-contextmenu": {
|
|
76
|
+
"react": "17.0.2",
|
|
77
|
+
"react-dom": "17.0.2"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
74
80
|
"main": "./index.umd.js",
|
|
75
81
|
"module": "./index.esm.js",
|
|
76
82
|
"typings": "./index.d.ts"
|