@sellgar/kit 0.0.53 → 0.0.55

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sellgar/kit",
3
3
  "type": "module",
4
- "version": "0.0.53",
4
+ "version": "0.0.55",
5
5
  "description": "Storybook",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
@@ -41,6 +41,7 @@
41
41
  "date-fns": "4.1.0",
42
42
  "moment": "2.30.1",
43
43
  "overlayscrollbars": "2.11.1",
44
+ "overlayscrollbars-react": "0.5.6",
44
45
  "react-baron": "3.0.0",
45
46
  "react-slider": "2.0.6"
46
47
  },
@@ -32,13 +32,13 @@ declare const useDropdown: ({ placement, ...options }: IOptions) => {
32
32
  floating: HTMLElement | null;
33
33
  } & import('@floating-ui/react').ExtendedElements<ReferenceType>;
34
34
  context: {
35
- update: () => void;
36
35
  placement: Placement;
37
36
  strategy: import('@floating-ui/utils').Strategy;
38
37
  x: number;
39
38
  y: number;
40
39
  middlewareData: import('@floating-ui/core').MiddlewareData;
41
40
  isPositioned: boolean;
41
+ update: () => void;
42
42
  floatingStyles: React.CSSProperties;
43
43
  open: boolean;
44
44
  onOpenChange: (open: boolean, event?: Event, reason?: import('@floating-ui/react').OpenChangeReason) => void;
@@ -79,13 +79,13 @@ export declare const useDropdownContext: () => {
79
79
  floating: HTMLElement | null;
80
80
  } & import('@floating-ui/react').ExtendedElements<ReferenceType>;
81
81
  context: {
82
- update: () => void;
83
82
  placement: Placement;
84
83
  strategy: import('@floating-ui/utils').Strategy;
85
84
  x: number;
86
85
  y: number;
87
86
  middlewareData: import('@floating-ui/core').MiddlewareData;
88
87
  isPositioned: boolean;
88
+ update: () => void;
89
89
  floatingStyles: React.CSSProperties;
90
90
  open: boolean;
91
91
  onOpenChange: (open: boolean, event?: Event, reason?: import('@floating-ui/react').OpenChangeReason) => void;
@@ -39,13 +39,13 @@ declare const useSelect: (options: IOptions) => {
39
39
  floating: HTMLElement | null;
40
40
  } & import('@floating-ui/react').ExtendedElements<ReferenceType>;
41
41
  context: {
42
- update: () => void;
43
42
  placement: import('@floating-ui/utils').Placement;
44
43
  strategy: import('@floating-ui/utils').Strategy;
45
44
  x: number;
46
45
  y: number;
47
46
  middlewareData: import('@floating-ui/core').MiddlewareData;
48
47
  isPositioned: boolean;
48
+ update: () => void;
49
49
  floatingStyles: React.CSSProperties;
50
50
  open: boolean;
51
51
  onOpenChange: (open: boolean, event?: Event, reason?: import('@floating-ui/react').OpenChangeReason) => void;
@@ -93,13 +93,13 @@ export declare const useSelectContext: () => {
93
93
  floating: HTMLElement | null;
94
94
  } & import('@floating-ui/react').ExtendedElements<ReferenceType>;
95
95
  context: {
96
- update: () => void;
97
96
  placement: import('@floating-ui/utils').Placement;
98
97
  strategy: import('@floating-ui/utils').Strategy;
99
98
  x: number;
100
99
  y: number;
101
100
  middlewareData: import('@floating-ui/core').MiddlewareData;
102
101
  isPositioned: boolean;
102
+ update: () => void;
103
103
  floatingStyles: React.CSSProperties;
104
104
  open: boolean;
105
105
  onOpenChange: (open: boolean, event?: Event, reason?: import('@floating-ui/react').OpenChangeReason) => void;
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  export interface IProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'className'> {
3
- ref?: React.RefObject<HTMLInputElement>;
3
+ ref?: React.RefObject<HTMLInputElement> | React.RefCallback<HTMLInputElement>;
4
4
  leadIcon?: React.ReactNode;
5
5
  tailIcon?: React.ReactNode;
6
6
  badge?: string | number;
@@ -25,13 +25,13 @@ export declare function useDialog({ initialOpen, open: controlledOpen, onOpen, o
25
25
  floating: HTMLElement | null;
26
26
  } & import('@floating-ui/react').ExtendedElements<import('@floating-ui/react').ReferenceType>;
27
27
  context: {
28
- update: () => void;
29
28
  placement: import('@floating-ui/utils').Placement;
30
29
  strategy: import('@floating-ui/utils').Strategy;
31
30
  x: number;
32
31
  y: number;
33
32
  middlewareData: import('@floating-ui/core').MiddlewareData;
34
33
  isPositioned: boolean;
34
+ update: () => void;
35
35
  floatingStyles: React.CSSProperties;
36
36
  open: boolean;
37
37
  onOpenChange: (open: boolean, event?: Event, reason?: import('@floating-ui/react').OpenChangeReason) => void;
@@ -72,13 +72,13 @@ export declare const useModalContext: () => {
72
72
  floating: HTMLElement | null;
73
73
  } & import('@floating-ui/react').ExtendedElements<import('@floating-ui/react').ReferenceType>;
74
74
  context: {
75
- update: () => void;
76
75
  placement: import('@floating-ui/utils').Placement;
77
76
  strategy: import('@floating-ui/utils').Strategy;
78
77
  x: number;
79
78
  y: number;
80
79
  middlewareData: import('@floating-ui/core').MiddlewareData;
81
80
  isPositioned: boolean;
81
+ update: () => void;
82
82
  floatingStyles: React.CSSProperties;
83
83
  open: boolean;
84
84
  onOpenChange: (open: boolean, event?: Event, reason?: import('@floating-ui/react').OpenChangeReason) => void;
@@ -27,13 +27,13 @@ export declare function useTooltip({ size, initialOpen, placement, open: control
27
27
  floating: HTMLElement | null;
28
28
  } & import('@floating-ui/react').ExtendedElements<import('@floating-ui/react').ReferenceType>;
29
29
  context: {
30
- update: () => void;
31
30
  placement: Placement;
32
31
  strategy: import('@floating-ui/utils').Strategy;
33
32
  x: number;
34
33
  y: number;
35
34
  middlewareData: import('@floating-ui/core').MiddlewareData;
36
35
  isPositioned: boolean;
36
+ update: () => void;
37
37
  floatingStyles: React.CSSProperties;
38
38
  open: boolean;
39
39
  onOpenChange: (open: boolean, event?: Event, reason?: import('@floating-ui/react').OpenChangeReason) => void;
@@ -75,13 +75,13 @@ export declare const useTooltipContext: () => {
75
75
  floating: HTMLElement | null;
76
76
  } & import('@floating-ui/react').ExtendedElements<import('@floating-ui/react').ReferenceType>;
77
77
  context: {
78
- update: () => void;
79
78
  placement: Placement;
80
79
  strategy: import('@floating-ui/utils').Strategy;
81
80
  x: number;
82
81
  y: number;
83
82
  middlewareData: import('@floating-ui/core').MiddlewareData;
84
83
  isPositioned: boolean;
84
+ update: () => void;
85
85
  floatingStyles: React.CSSProperties;
86
86
  open: boolean;
87
87
  onOpenChange: (open: boolean, event?: Event, reason?: import('@floating-ui/react').OpenChangeReason) => void;
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
- interface IProps extends React.HTMLAttributes<HTMLDivElement> {
2
+ import { UseOverlayScrollbarsParams } from 'overlayscrollbars-react';
3
+ interface IProps extends React.HTMLAttributes<HTMLDivElement>, UseOverlayScrollbarsParams {
3
4
  ref?: React.RefCallback<HTMLDivElement>;
4
5
  }
5
6
  export declare const Scrollbar: React.FC<React.PropsWithChildren<IProps>>;