@react-hive/honey-layout 8.0.0 → 9.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.
@@ -61,7 +61,7 @@ export type HoneyCSSPropertyValue<CSSProperty extends keyof CSS.Properties> = Ho
61
61
  *
62
62
  * @template CSSProperty - The string type representing a CSS property name.
63
63
  */
64
- export type HoneyPrefixedCSSProperty<CSSProperty extends keyof CSS.Properties = keyof CSS.Properties> = `$${CSSProperty}`;
64
+ export type Honey$PrefixedCSSProperty<CSSProperty extends keyof CSS.Properties = keyof CSS.Properties> = `$${CSSProperty}`;
65
65
  /**
66
66
  * Represents an object where each key is a prefixed CSS property (with a `$` prefix).
67
67
  *
@@ -73,7 +73,7 @@ export type HoneyPrefixedCSSProperty<CSSProperty extends keyof CSS.Properties =
73
73
  * };
74
74
  * ```
75
75
  */
76
- export type HoneyPrefixedCSSProperties = {
77
- [CSSProperty in keyof CSS.Properties as HoneyPrefixedCSSProperty<CSSProperty>]?: HoneyCSSPropertyValue<CSSProperty>;
76
+ export type Honey$PrefixedCSSProperties = {
77
+ [CSSProperty in keyof CSS.Properties as Honey$PrefixedCSSProperty<CSSProperty>]?: HoneyCSSPropertyValue<CSSProperty>;
78
78
  };
79
79
  export {};
@@ -1,2 +1 @@
1
- export * from './utils';
2
1
  export * from './data-utils';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-hive/honey-layout",
3
- "version": "8.0.0",
3
+ "version": "9.0.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "react",
@@ -33,22 +33,23 @@
33
33
  "dist"
34
34
  ],
35
35
  "peerDependencies": {
36
- "@react-hive/honey-style": "^2.2.0",
36
+ "@react-hive/honey-style": "^2.7.0",
37
37
  "react": "^19.0.0",
38
38
  "react-dom": "^19.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@floating-ui/dom": "1.7.1",
42
- "@floating-ui/react": "0.27.12",
41
+ "@floating-ui/dom": "1.7.2",
42
+ "@floating-ui/react": "0.27.13",
43
43
  "@mdx-js/react": "3.1.0",
44
+ "@react-hive/honey-utils": "1.7.0",
44
45
  "csstype": "3.1.3",
45
46
  "highlight.js": "11.11.1",
46
47
  "lodash.merge": "4.6.2",
47
48
  "lodash.throttle": "4.1.1",
48
- "react-router-dom": "6.30.0"
49
+ "react-router-dom": "6.30.1"
49
50
  },
50
51
  "devDependencies": {
51
- "@eslint/js": "9.29.0",
52
+ "@eslint/js": "9.31.0",
52
53
  "@mdx-js/rollup": "3.1.0",
53
54
  "@testing-library/jest-dom": "6.6.3",
54
55
  "@testing-library/react": "16.3.0",
@@ -56,11 +57,11 @@
56
57
  "@types/lodash.merge": "4.6.9",
57
58
  "@types/lodash.throttle": "4.1.9",
58
59
  "@types/mdx": "2.0.13",
59
- "@types/node": "22.15.33",
60
+ "@types/node": "22.16.4",
60
61
  "@types/react": "^19.1.8",
61
62
  "@types/react-dom": "^19.1.6",
62
63
  "@vitejs/plugin-react": "4.6.0",
63
- "eslint": "9.29.0",
64
+ "eslint": "9.31.0",
64
65
  "eslint-plugin-react": "7.37.5",
65
66
  "husky": "9.1.7",
66
67
  "jest": "29.7.0",
@@ -69,9 +70,9 @@
69
70
  "ts-jest": "29.4.0",
70
71
  "tsx": "4.20.3",
71
72
  "typescript": "5.8.3",
72
- "typescript-eslint": "8.35.0",
73
- "vite": "7.0.0",
74
- "vite-plugin-checker": "0.9.3",
73
+ "typescript-eslint": "8.37.0",
74
+ "vite": "7.0.5",
75
+ "vite-plugin-checker": "0.10.0",
75
76
  "vite-plugin-dts": "4.5.4"
76
77
  },
77
78
  "jest": {
@@ -1,51 +0,0 @@
1
- export declare const camelToDashCase: (inputString: string) => string;
2
- /**
3
- * Splits a string into an array of filtered from redundant spaces words.
4
- *
5
- * @param inputString - The input string to be split.
6
- *
7
- * @returns An array of words from the input string.
8
- */
9
- export declare const splitStringIntoWords: (inputString: string) => string[];
10
- /**
11
- * Calculates the Euclidean distance between two points in 2D space.
12
- *
13
- * @param startX - The X coordinate of the starting point.
14
- * @param startY - The Y coordinate of the starting point.
15
- * @param endX - The X coordinate of the ending point.
16
- * @param endY - The Y coordinate of the ending point.
17
- *
18
- * @returns The Euclidean distance between the two points.
19
- */
20
- export declare const calculateEuclideanDistance: (startX: number, startY: number, endX: number, endY: number) => number;
21
- /**
22
- * Calculates the moving speed.
23
- *
24
- * @param delta - The change in position (distance).
25
- * @param elapsedTime - The time taken to move the distance.
26
- *
27
- * @returns The calculated speed, which is the absolute value of delta divided by elapsed time.
28
- */
29
- export declare const calculateMovingSpeed: (delta: number, elapsedTime: number) => number;
30
- /**
31
- * Calculates the specified percentage of a given value.
32
- *
33
- * @param value - The value to calculate the percentage of.
34
- * @param percentage - The percentage to calculate.
35
- *
36
- * @returns The calculated percentage of the value.
37
- */
38
- export declare const calculatePercentage: (value: number, percentage: number) => number;
39
- interface HTMLElementTransformationValues {
40
- translateX: number;
41
- translateY: number;
42
- }
43
- /**
44
- * Get various transformation values from the transformation matrix of an element.
45
- *
46
- * @param element - The element with a transformation applied.
47
- *
48
- * @returns An object containing transformation values.
49
- */
50
- export declare const getTransformationValues: (element: HTMLElement) => HTMLElementTransformationValues;
51
- export {};