@oliasoft-open-source/react-ui-library 5.23.0-beta-14 → 5.23.0-beta-16

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.
Files changed (25) hide show
  1. package/dist/components/menu/menu.d.ts.map +1 -1
  2. package/dist/components/popover/popover.d.ts.map +1 -1
  3. package/dist/components/select/custom-select/hooks/use-custom-select-logic.d.ts +9 -4
  4. package/dist/components/select/custom-select/hooks/use-custom-select-logic.d.ts.map +1 -1
  5. package/dist/components/tooltip/tooltip-layer.d.ts.map +1 -1
  6. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  7. package/dist/global.css +1 -1
  8. package/dist/helpers/floating-layer/hooks/use-client-point-trigger.d.ts +11 -0
  9. package/dist/helpers/floating-layer/hooks/use-client-point-trigger.d.ts.map +1 -0
  10. package/dist/helpers/floating-layer/hooks/use-floating-layer.d.ts +18 -2
  11. package/dist/helpers/floating-layer/hooks/use-floating-layer.d.ts.map +1 -1
  12. package/dist/helpers/floating-layer/index.d.ts +1 -3
  13. package/dist/helpers/floating-layer/index.d.ts.map +1 -1
  14. package/dist/helpers/floating-layer/types.d.ts +20 -9
  15. package/dist/helpers/floating-layer/types.d.ts.map +1 -1
  16. package/dist/index.js +2103 -2197
  17. package/package.json +1 -1
  18. package/dist/helpers/floating-layer/components/arrow.d.ts +0 -11
  19. package/dist/helpers/floating-layer/components/arrow.d.ts.map +0 -1
  20. package/dist/helpers/floating-layer/hooks/use-hover.d.ts +0 -6
  21. package/dist/helpers/floating-layer/hooks/use-hover.d.ts.map +0 -1
  22. package/dist/helpers/floating-layer/hooks/use-mouse-position-as-trigger.d.ts +0 -10
  23. package/dist/helpers/floating-layer/hooks/use-mouse-position-as-trigger.d.ts.map +0 -1
  24. package/dist/helpers/floating-layer/utils/geometry.d.ts +0 -27
  25. package/dist/helpers/floating-layer/utils/geometry.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "5.23.0-beta-14",
3
+ "version": "5.23.0-beta-16",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "homepage": "https://oliasoft-open-source.gitlab.io/react-ui-library",
6
6
  "bugs": {
@@ -1,11 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ArrowProps } from '../types';
3
- type FloatingArrowProps = ArrowProps & {
4
- size?: number;
5
- backgroundColor?: string;
6
- borderColor?: string;
7
- borderWidth?: number;
8
- };
9
- export declare const Arrow: React.ForwardRefExoticComponent<Omit<FloatingArrowProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
10
- export {};
11
- //# sourceMappingURL=arrow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"arrow.d.ts","sourceRoot":"","sources":["../../../../src/helpers/floating-layer/components/arrow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGtC,KAAK,kBAAkB,GAAG,UAAU,GAAG;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,KAAK,uGAqDjB,CAAC"}
@@ -1,6 +0,0 @@
1
- export declare const useHover: ({ delayEnter, delayLeave, hideOnScroll, }: {
2
- delayEnter?: number;
3
- delayLeave?: number;
4
- hideOnScroll?: boolean;
5
- }) => [boolean, Record<string, unknown>, () => void];
6
- //# sourceMappingURL=use-hover.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-hover.d.ts","sourceRoot":"","sources":["../../../../src/helpers/floating-layer/hooks/use-hover.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,GAAI,2CAItB;IACD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,KAAG,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,IAAI,CAwDhD,CAAC"}
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- export declare const useMousePositionAsTrigger: () => {
3
- handleMouseEvent: (evt: React.MouseEvent<HTMLDivElement>) => void;
4
- hasMousePosition: boolean;
5
- resetMousePosition: () => void;
6
- trigger: {
7
- getBoundingClientRect: () => DOMRect;
8
- } | null;
9
- };
10
- //# sourceMappingURL=use-mouse-position-as-trigger.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-mouse-position-as-trigger.d.ts","sourceRoot":"","sources":["../../../../src/helpers/floating-layer/hooks/use-mouse-position-as-trigger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,eAAO,MAAM,yBAAyB;4BAML,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC;;;;;;CAuBhE,CAAC"}
@@ -1,27 +0,0 @@
1
- import { CSSProperties } from 'react';
2
- import { FloatingPlacement, FloatingSide } from '../types';
3
- type ArrowCoordinates = {
4
- x?: number;
5
- y?: number;
6
- };
7
- export type ArrowGeometry = {
8
- width: number;
9
- height: number;
10
- edgeStyle: CSSProperties;
11
- path: string;
12
- borderPath: string;
13
- };
14
- export declare const toFloatingPlacement: (placement?: "center" | string) => FloatingPlacement;
15
- export declare const getPlacementSide: (placement?: string) => FloatingSide | undefined;
16
- export declare const getArrowSide: ({ placement, style, }: {
17
- placement?: string;
18
- style?: CSSProperties;
19
- }) => FloatingSide;
20
- export declare const getArrowStyle: (placement: FloatingPlacement, coordinates?: ArrowCoordinates, arrowOffset?: number) => CSSProperties;
21
- export declare const getArrowGeometry: ({ side, size, borderWidth, }: {
22
- side: FloatingSide;
23
- size: number;
24
- borderWidth: number;
25
- }) => ArrowGeometry;
26
- export {};
27
- //# sourceMappingURL=geometry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"geometry.d.ts","sourceRoot":"","sources":["../../../../src/helpers/floating-layer/utils/geometry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE3D,KAAK,gBAAgB,GAAG;IACtB,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,aAAa,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,YAAW,QAAQ,GAAG,MAAuB,KAC5C,iBAMF,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAC3B,YAAY,MAAM,KACjB,YAAY,GAAG,SAajB,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,uBAG1B;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,KAAG,YAEH,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,WAAW,iBAAiB,EAC5B,cAAc,gBAAgB,EAC9B,oBAAe,KACd,aAoBF,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,8BAI9B;IACD,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB,KAAG,aAaH,CAAC"}