@react-hive/honey-layout 3.4.0 → 3.6.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.
@@ -1,4 +1,4 @@
1
- import { ElementType, MutableRefObject } from 'react';
1
+ import { MutableRefObject } from 'react';
2
2
  import { ExecutionContext, StyleFunction } from 'styled-components';
3
3
  import { DataType } from 'csstype';
4
4
  import { HoneyCSSColorProperty, HoneyCSSDimensionNumericValue, HoneyCSSDimensionValue } from './css.types';
@@ -253,9 +253,6 @@ export interface HoneyDimensions {
253
253
  [key: string]: HoneyCSSDimensionValue;
254
254
  }
255
255
  export type HoneyDimensionName = keyof HoneyDimensions;
256
- export type ComponentWithAs<T, P = object> = {
257
- as?: ElementType<P>;
258
- } & T;
259
256
  export type HoneyEffectResultFn<Props extends object> = StyleFunction<Props>;
260
257
  export type HoneyEffect<Config = unknown, Props extends object = object> = (config: Config) => HoneyEffectResultFn<Props>;
261
258
  export type HoneyOverlayId = string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-hive/honey-layout",
3
- "version": "3.4.0",
3
+ "version": "3.6.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "react",
@@ -55,14 +55,14 @@
55
55
  "@types/react": "^18.0.0",
56
56
  "@types/react-dom": "^18.0.0",
57
57
  "@vitejs/plugin-react": "4.3.4",
58
- "eslint": "9.17.0",
58
+ "eslint": "9.18.0",
59
59
  "eslint-plugin-react": "7.37.3",
60
60
  "jest": "29.7.0",
61
61
  "jest-environment-jsdom": "29.7.0",
62
62
  "prettier": "3.4.2",
63
63
  "ts-jest": "29.2.5",
64
64
  "typescript": "5.7.3",
65
- "typescript-eslint": "8.19.1",
65
+ "typescript-eslint": "8.20.0",
66
66
  "vite": "6.0.7",
67
67
  "vite-plugin-checker": "0.8.0",
68
68
  "vite-plugin-dts": "4.5.0"