beesoft-components 0.10.5 → 0.12.0-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/beesoft-components.css +1 -1
- package/dist/beesoft-components.css.gz +0 -0
- package/dist/index.es.js +9209 -6767
- package/dist/index.es.js.gz +0 -0
- package/dist/index.umd.js +2 -98
- package/dist/index.umd.js.gz +0 -0
- package/package.json +16 -14
- package/types/index.d.ts +8 -6
package/dist/index.umd.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beesoft-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0-0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
@@ -34,15 +34,17 @@
|
|
|
34
34
|
"chromatic": "chromatic --project-token $CHROMATIC_PROJECT_TOKEN"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@beesoft/common": "^0.1
|
|
38
|
-
"@beesoft/headless-ui": "^0.0
|
|
39
|
-
"@preact/signals": "^
|
|
37
|
+
"@beesoft/common": "^0.2.1",
|
|
38
|
+
"@beesoft/headless-ui": "^0.1.0",
|
|
39
|
+
"@preact/signals": "^2.5.1",
|
|
40
40
|
"@react-hook/media-query": "^1.1.1",
|
|
41
41
|
"classnames": "^2.3.2",
|
|
42
42
|
"date-fns": "^3.3.1",
|
|
43
43
|
"dot-object": "^2.1.4",
|
|
44
|
+
"konva": "^10.0.12",
|
|
44
45
|
"lodash": "^4.17.21",
|
|
45
|
-
"
|
|
46
|
+
"motion": "^12.24.10",
|
|
47
|
+
"react-konva": "^19.2.1",
|
|
46
48
|
"uuid": "^9.0.1"
|
|
47
49
|
},
|
|
48
50
|
"devDependencies": {
|
|
@@ -63,15 +65,15 @@
|
|
|
63
65
|
"@testing-library/jest-dom": "^6.1.4",
|
|
64
66
|
"@testing-library/react": "^14.1.0",
|
|
65
67
|
"@testing-library/user-event": "^14.5.1",
|
|
66
|
-
"@types/bun": "^1.
|
|
68
|
+
"@types/bun": "^1.3.5",
|
|
67
69
|
"@types/dot-object": "^2.1.6",
|
|
68
70
|
"@types/lodash-es": "^4.17.11",
|
|
69
|
-
"@types/react": "^
|
|
70
|
-
"@types/react-dom": "^
|
|
71
|
+
"@types/react": "^19.2.7",
|
|
72
|
+
"@types/react-dom": "^19.2.3",
|
|
71
73
|
"@types/react-transition-group": "^4.4.9",
|
|
72
74
|
"@types/uuid": "^9.0.7",
|
|
73
75
|
"@typescript-eslint/parser": "^8.31.1",
|
|
74
|
-
"@vitejs/plugin-react-swc": "^
|
|
76
|
+
"@vitejs/plugin-react-swc": "^4.2.2",
|
|
75
77
|
"ajv": "^8.17.1",
|
|
76
78
|
"caniuse-lite": "^1.0.30001718",
|
|
77
79
|
"chromatic": "^11.3.0",
|
|
@@ -81,23 +83,23 @@
|
|
|
81
83
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
82
84
|
"eslint-plugin-storybook": "^9.0.9",
|
|
83
85
|
"globals": "^16.2.0",
|
|
84
|
-
"react": "^
|
|
85
|
-
"react-dom": "^
|
|
86
|
+
"react": "^19.2.3",
|
|
87
|
+
"react-dom": "^19.2.3",
|
|
86
88
|
"release-it": "^19.0.3",
|
|
87
89
|
"rimraf": "^6.0.1",
|
|
88
90
|
"storybook": "^9.0.9",
|
|
89
91
|
"tailwindcss": "^4.1.8",
|
|
90
92
|
"typescript": "^5.8.3",
|
|
91
93
|
"typescript-eslint": "^8.34.0",
|
|
92
|
-
"vite": "^
|
|
94
|
+
"vite": "^7.3.0",
|
|
93
95
|
"vite-plugin-compression": "^0.5.1",
|
|
94
96
|
"vite-plugin-dts": "^4.5.4",
|
|
95
97
|
"vite-tsconfig-paths": "^5.1.4"
|
|
96
98
|
},
|
|
97
99
|
"peerDependencies": {
|
|
98
100
|
"@beesoft/locale": "^0.0.3",
|
|
99
|
-
"react": "^
|
|
100
|
-
"react-dom": "^
|
|
101
|
+
"react": "^19.2.3",
|
|
102
|
+
"react-dom": "^19.2.3"
|
|
101
103
|
},
|
|
102
104
|
"publishConfig": {
|
|
103
105
|
"access": "public",
|
package/types/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { CheckboxChangeEvent } from '@beesoft/headless-ui';
|
|
|
3
3
|
import { CheckboxProps as CheckboxProps_2 } from '@beesoft/headless-ui';
|
|
4
4
|
import { ComponentAnimationProps } from '@beesoft/headless-ui';
|
|
5
5
|
import { default as default_2 } from 'react';
|
|
6
|
+
import { Easing } from 'motion';
|
|
6
7
|
import { FormInputControl } from '@beesoft/common';
|
|
7
8
|
import { FormInputControlData } from '@beesoft/common';
|
|
8
9
|
import { ForwardRefExoticComponent } from 'react';
|
|
@@ -12,6 +13,7 @@ import { JSXElementConstructor } from 'react';
|
|
|
12
13
|
import { Locale } from 'date-fns';
|
|
13
14
|
import { MakeRequired } from '@beesoft/common';
|
|
14
15
|
import { MemoExoticComponent } from 'react';
|
|
16
|
+
import { NamedExoticComponent } from 'react';
|
|
15
17
|
import { PropsWithChildren } from 'react';
|
|
16
18
|
import { RadioChangeEvent } from '@beesoft/headless-ui';
|
|
17
19
|
import { ReactElement } from 'react';
|
|
@@ -86,7 +88,7 @@ declare enum CalendarSelectionMode {
|
|
|
86
88
|
Range = 1
|
|
87
89
|
}
|
|
88
90
|
|
|
89
|
-
export declare const Checkbox:
|
|
91
|
+
export declare const Checkbox: NamedExoticComponent<CheckboxProps & RefAttributes<CheckboxRef>>;
|
|
90
92
|
|
|
91
93
|
export { CheckboxChangeEvent }
|
|
92
94
|
|
|
@@ -426,7 +428,7 @@ declare interface MarkupEvents {
|
|
|
426
428
|
markupCreated?: (element: Element) => void;
|
|
427
429
|
}
|
|
428
430
|
|
|
429
|
-
export declare const MediaQuery: ({ mobileQuery, tabletQuery, desktopQuery, mobileMarkup, aboveMobileMarkup, tabletMarkup, desktopMarkup, }: MediaQueryProps) => string | number | true | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null;
|
|
431
|
+
export declare const MediaQuery: ({ mobileQuery, tabletQuery, desktopQuery, mobileMarkup, aboveMobileMarkup, tabletMarkup, desktopMarkup, }: MediaQueryProps) => string | number | bigint | true | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | Promise<string | number | bigint | boolean | ReactPortal | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null;
|
|
430
432
|
|
|
431
433
|
declare interface MediaQueryProps {
|
|
432
434
|
/**
|
|
@@ -465,7 +467,7 @@ declare interface MediaQueryProps {
|
|
|
465
467
|
desktopMarkup?: TypeOrArray<ReactNode>;
|
|
466
468
|
}
|
|
467
469
|
|
|
468
|
-
export declare const MobileOverlayPanel: ({ visible, target, appendTo, unmountWhenHidden, transitionDuration, showTransitionOptions, hideTransitionOptions, approveText, shown, hidden, isClickedWithin, children, }: MobileOverlayPanelProps) => ReactPortal;
|
|
470
|
+
export declare const MobileOverlayPanel: ({ visible, target, appendTo, unmountWhenHidden, transitionDuration, showTransitionOptions, hideTransitionOptions, approveText, shown, hidden, isClickedWithin, children, }: MobileOverlayPanelProps) => default_2.ReactPortal | null;
|
|
469
471
|
|
|
470
472
|
declare interface MobileOverlayPanelProps {
|
|
471
473
|
visible: boolean;
|
|
@@ -473,8 +475,8 @@ declare interface MobileOverlayPanelProps {
|
|
|
473
475
|
appendTo?: HTMLElement;
|
|
474
476
|
unmountWhenHidden?: boolean;
|
|
475
477
|
transitionDuration?: number;
|
|
476
|
-
showTransitionOptions?:
|
|
477
|
-
hideTransitionOptions?:
|
|
478
|
+
showTransitionOptions?: Easing;
|
|
479
|
+
hideTransitionOptions?: Easing;
|
|
478
480
|
approveText?: string;
|
|
479
481
|
shown?: () => void;
|
|
480
482
|
hidden?: () => void;
|
|
@@ -482,7 +484,7 @@ declare interface MobileOverlayPanelProps {
|
|
|
482
484
|
children: TypeOrArray<ReactNode>;
|
|
483
485
|
}
|
|
484
486
|
|
|
485
|
-
export declare const OverlayPanel: ({ visible, target, targetPosition, elementAlignment, shouldTargetCloseOverlay, shouldMatchTargetWidth, shouldScrollCloseOverlay, shouldCheckZIndex, shouldRemainOnScreen, unmountWhenHidden, transitionDuration, showTransitionOptions, hideTransitionOptions, shown, hidden, isClickedWithin, markupCreated, children, }: OverlayPanelProps & MarkupEvents) => JSX_2.Element;
|
|
487
|
+
export declare const OverlayPanel: ({ visible, target, targetPosition, elementAlignment, shouldTargetCloseOverlay, shouldMatchTargetWidth, shouldScrollCloseOverlay, shouldCheckZIndex, shouldRemainOnScreen, unmountWhenHidden, transitionDuration, showTransitionOptions, hideTransitionOptions, shown, hidden, isClickedWithin, markupCreated, children, }: OverlayPanelProps & MarkupEvents) => JSX_2.Element | null;
|
|
486
488
|
|
|
487
489
|
declare interface OverlayPanelProps {
|
|
488
490
|
visible: boolean;
|