beesoft-components 0.10.4 → 0.11.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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beesoft-components",
3
- "version": "0.10.4",
3
+ "version": "0.11.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "author": {
@@ -34,15 +34,15 @@
34
34
  "chromatic": "chromatic --project-token $CHROMATIC_PROJECT_TOKEN"
35
35
  },
36
36
  "dependencies": {
37
- "@beesoft/common": "^0.1.17",
38
- "@beesoft/headless-ui": "^0.0.19",
39
- "@preact/signals": "^1.2.3",
37
+ "@beesoft/common": "^0.2.0",
38
+ "@beesoft/headless-ui": "^0.1.0",
39
+ "@preact/signals": "^2.5.1",
40
40
  "@react-hook/media-query": "^1.1.1",
41
- "date-fns": "^3.3.1",
42
41
  "classnames": "^2.3.2",
42
+ "date-fns": "^3.3.1",
43
43
  "dot-object": "^2.1.4",
44
44
  "lodash": "^4.17.21",
45
- "react-transition-group": "^4.4.5",
45
+ "motion": "^12.24.10",
46
46
  "uuid": "^9.0.1"
47
47
  },
48
48
  "devDependencies": {
@@ -63,15 +63,15 @@
63
63
  "@testing-library/jest-dom": "^6.1.4",
64
64
  "@testing-library/react": "^14.1.0",
65
65
  "@testing-library/user-event": "^14.5.1",
66
- "@types/bun": "^1.2.15",
66
+ "@types/bun": "^1.3.5",
67
67
  "@types/dot-object": "^2.1.6",
68
68
  "@types/lodash-es": "^4.17.11",
69
- "@types/react": "^18.3.0",
70
- "@types/react-dom": "^18.3.0",
69
+ "@types/react": "^19.2.7",
70
+ "@types/react-dom": "^19.2.3",
71
71
  "@types/react-transition-group": "^4.4.9",
72
72
  "@types/uuid": "^9.0.7",
73
73
  "@typescript-eslint/parser": "^8.31.1",
74
- "@vitejs/plugin-react-swc": "^3.10.0",
74
+ "@vitejs/plugin-react-swc": "^4.2.2",
75
75
  "ajv": "^8.17.1",
76
76
  "caniuse-lite": "^1.0.30001718",
77
77
  "chromatic": "^11.3.0",
@@ -81,23 +81,23 @@
81
81
  "eslint-plugin-react-refresh": "^0.4.20",
82
82
  "eslint-plugin-storybook": "^9.0.9",
83
83
  "globals": "^16.2.0",
84
- "react": "^18.3.0",
85
- "react-dom": "^18.3.0",
84
+ "react": "^19.2.3",
85
+ "react-dom": "^19.2.3",
86
86
  "release-it": "^19.0.3",
87
87
  "rimraf": "^6.0.1",
88
88
  "storybook": "^9.0.9",
89
89
  "tailwindcss": "^4.1.8",
90
90
  "typescript": "^5.8.3",
91
91
  "typescript-eslint": "^8.34.0",
92
- "vite": "^6.3.5",
92
+ "vite": "^7.3.0",
93
93
  "vite-plugin-compression": "^0.5.1",
94
94
  "vite-plugin-dts": "^4.5.4",
95
95
  "vite-tsconfig-paths": "^5.1.4"
96
96
  },
97
97
  "peerDependencies": {
98
98
  "@beesoft/locale": "^0.0.3",
99
- "react": "^18.3.0",
100
- "react-dom": "^18.3.0"
99
+ "react": "^19.2.3",
100
+ "react-dom": "^19.2.3"
101
101
  },
102
102
  "publishConfig": {
103
103
  "access": "public",
package/types/index.d.ts CHANGED
@@ -12,6 +12,7 @@ import { JSXElementConstructor } from 'react';
12
12
  import { Locale } from 'date-fns';
13
13
  import { MakeRequired } from '@beesoft/common';
14
14
  import { MemoExoticComponent } from 'react';
15
+ import { NamedExoticComponent } from 'react';
15
16
  import { PropsWithChildren } from 'react';
16
17
  import { RadioChangeEvent } from '@beesoft/headless-ui';
17
18
  import { ReactElement } from 'react';
@@ -86,7 +87,7 @@ declare enum CalendarSelectionMode {
86
87
  Range = 1
87
88
  }
88
89
 
89
- export declare const Checkbox: MemoExoticComponent<ForwardRefExoticComponent<CheckboxProps & RefAttributes<CheckboxRef>>>;
90
+ export declare const Checkbox: NamedExoticComponent<CheckboxProps & RefAttributes<CheckboxRef>>;
90
91
 
91
92
  export { CheckboxChangeEvent }
92
93
 
@@ -184,7 +185,7 @@ export declare enum DateSelectorType {
184
185
  DateRangeSelector = 4
185
186
  }
186
187
 
187
- export declare const DateTime: ({ value, readOnly, label, useDefaultDateValue, useFormattedInput, allowClear, closeSelector, locale, className, dateSelection, dateFormat, timeConstraints, icon, iconPosition, inputElement, selectableDate, isValidDate, onChange, calendarTemplate, dateScrollerTemplate, inputTemplate, wrapperTemplate, }: DateTimeProps) => JSX_2.Element;
188
+ export declare const DateTime: ({ value, readOnly, label, useDefaultDateValue, useFormattedInput, allowClear, closeSelector, locale, className, dateSelection, dateFormat, timeConstraints, icon, iconPosition, inputElement, selectableDate, isValidDate, onChange, onError, calendarTemplate, dateScrollerTemplate, inputTemplate, wrapperTemplate, }: DateTimeProps) => JSX_2.Element;
188
189
 
189
190
  declare interface DateTimeBaseTemplateProps {
190
191
  incrementViewMonths?: (months: number) => void;
@@ -426,7 +427,7 @@ declare interface MarkupEvents {
426
427
  markupCreated?: (element: Element) => void;
427
428
  }
428
429
 
429
- export declare const MediaQuery: ({ mobileQuery, tabletQuery, desktopQuery, mobileMarkup, aboveMobileMarkup, tabletMarkup, desktopMarkup, }: MediaQueryProps) => string | number | true | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null;
430
+ 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
431
 
431
432
  declare interface MediaQueryProps {
432
433
  /**