@sellgar/kit 0.0.60 → 0.0.61
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/dist/index.css +1 -1
- package/dist/index.js +4763 -5210
- package/package.json +3 -2
- package/types/components/helpers/dropdown/dropdown.d.ts +4 -4
- package/types/components/helpers/select/select.d.ts +8 -8
- package/types/components/symbols/modal/modal.d.ts +4 -4
- package/types/components/symbols/select/empty/empty.d.ts +6 -0
- package/types/components/symbols/select/empty/index.d.ts +1 -0
- package/types/components/symbols/tooltip/tooltip.d.ts +4 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellgar/kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.61",
|
|
5
5
|
"description": "Storybook",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -35,12 +35,13 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@floating-ui/dom": "1.6.13",
|
|
37
37
|
"@floating-ui/react": "0.27.5",
|
|
38
|
-
"@library/overlayscrollbars-react": "0.0.1",
|
|
39
38
|
"@react-input/mask": "2.0.4",
|
|
40
39
|
"@types/react-slider": "1.3.6",
|
|
41
40
|
"classnames": "2.5.1",
|
|
42
41
|
"date-fns": "4.1.0",
|
|
43
42
|
"moment": "2.30.1",
|
|
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,11 +32,11 @@ declare const useDropdown: ({ placement, ...options }: IOptions) => {
|
|
|
32
32
|
floating: HTMLElement | null;
|
|
33
33
|
} & import('@floating-ui/react').ExtendedElements<ReferenceType>;
|
|
34
34
|
context: {
|
|
35
|
-
x: number;
|
|
36
|
-
y: number;
|
|
37
35
|
update: () => void;
|
|
38
36
|
placement: Placement;
|
|
39
37
|
strategy: import('@floating-ui/utils').Strategy;
|
|
38
|
+
x: number;
|
|
39
|
+
y: number;
|
|
40
40
|
middlewareData: import('@floating-ui/core').MiddlewareData;
|
|
41
41
|
isPositioned: boolean;
|
|
42
42
|
floatingStyles: React.CSSProperties;
|
|
@@ -79,11 +79,11 @@ export declare const useDropdownContext: () => {
|
|
|
79
79
|
floating: HTMLElement | null;
|
|
80
80
|
} & import('@floating-ui/react').ExtendedElements<ReferenceType>;
|
|
81
81
|
context: {
|
|
82
|
-
x: number;
|
|
83
|
-
y: number;
|
|
84
82
|
update: () => void;
|
|
85
83
|
placement: Placement;
|
|
86
84
|
strategy: import('@floating-ui/utils').Strategy;
|
|
85
|
+
x: number;
|
|
86
|
+
y: number;
|
|
87
87
|
middlewareData: import('@floating-ui/core').MiddlewareData;
|
|
88
88
|
isPositioned: boolean;
|
|
89
89
|
floatingStyles: React.CSSProperties;
|
|
@@ -18,8 +18,8 @@ declare const useSelect: (options: IOptions) => {
|
|
|
18
18
|
listRef: React.RefObject<(HTMLElement | null)[]>;
|
|
19
19
|
activeIndex: number | null;
|
|
20
20
|
setActiveIndex: React.Dispatch<React.SetStateAction<number | null>>;
|
|
21
|
-
selectedIndex: number | null;
|
|
22
|
-
setSelectedIndex: React.Dispatch<React.SetStateAction<number | null>>;
|
|
21
|
+
selectedIndex: number | null | undefined;
|
|
22
|
+
setSelectedIndex: React.Dispatch<React.SetStateAction<number | null | undefined>>;
|
|
23
23
|
floating: {
|
|
24
24
|
placement: import('@floating-ui/utils').Placement;
|
|
25
25
|
strategy: import('@floating-ui/utils').Strategy;
|
|
@@ -40,11 +40,11 @@ declare const useSelect: (options: IOptions) => {
|
|
|
40
40
|
floating: HTMLElement | null;
|
|
41
41
|
} & import('@floating-ui/react').ExtendedElements<ReferenceType>;
|
|
42
42
|
context: {
|
|
43
|
-
x: number;
|
|
44
|
-
y: number;
|
|
45
43
|
update: () => void;
|
|
46
44
|
placement: import('@floating-ui/utils').Placement;
|
|
47
45
|
strategy: import('@floating-ui/utils').Strategy;
|
|
46
|
+
x: number;
|
|
47
|
+
y: number;
|
|
48
48
|
middlewareData: import('@floating-ui/core').MiddlewareData;
|
|
49
49
|
isPositioned: boolean;
|
|
50
50
|
floatingStyles: React.CSSProperties;
|
|
@@ -72,8 +72,8 @@ export declare const useSelectContext: () => {
|
|
|
72
72
|
listRef: React.RefObject<(HTMLElement | null)[]>;
|
|
73
73
|
activeIndex: number | null;
|
|
74
74
|
setActiveIndex: React.Dispatch<React.SetStateAction<number | null>>;
|
|
75
|
-
selectedIndex: number | null;
|
|
76
|
-
setSelectedIndex: React.Dispatch<React.SetStateAction<number | null>>;
|
|
75
|
+
selectedIndex: number | null | undefined;
|
|
76
|
+
setSelectedIndex: React.Dispatch<React.SetStateAction<number | null | undefined>>;
|
|
77
77
|
floating: {
|
|
78
78
|
placement: import('@floating-ui/utils').Placement;
|
|
79
79
|
strategy: import('@floating-ui/utils').Strategy;
|
|
@@ -94,11 +94,11 @@ export declare const useSelectContext: () => {
|
|
|
94
94
|
floating: HTMLElement | null;
|
|
95
95
|
} & import('@floating-ui/react').ExtendedElements<ReferenceType>;
|
|
96
96
|
context: {
|
|
97
|
-
x: number;
|
|
98
|
-
y: number;
|
|
99
97
|
update: () => void;
|
|
100
98
|
placement: import('@floating-ui/utils').Placement;
|
|
101
99
|
strategy: import('@floating-ui/utils').Strategy;
|
|
100
|
+
x: number;
|
|
101
|
+
y: number;
|
|
102
102
|
middlewareData: import('@floating-ui/core').MiddlewareData;
|
|
103
103
|
isPositioned: boolean;
|
|
104
104
|
floatingStyles: React.CSSProperties;
|
|
@@ -25,11 +25,11 @@ 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
|
-
x: number;
|
|
29
|
-
y: number;
|
|
30
28
|
update: () => void;
|
|
31
29
|
placement: import('@floating-ui/utils').Placement;
|
|
32
30
|
strategy: import('@floating-ui/utils').Strategy;
|
|
31
|
+
x: number;
|
|
32
|
+
y: number;
|
|
33
33
|
middlewareData: import('@floating-ui/core').MiddlewareData;
|
|
34
34
|
isPositioned: boolean;
|
|
35
35
|
floatingStyles: React.CSSProperties;
|
|
@@ -72,11 +72,11 @@ 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
|
-
x: number;
|
|
76
|
-
y: number;
|
|
77
75
|
update: () => void;
|
|
78
76
|
placement: import('@floating-ui/utils').Placement;
|
|
79
77
|
strategy: import('@floating-ui/utils').Strategy;
|
|
78
|
+
x: number;
|
|
79
|
+
y: number;
|
|
80
80
|
middlewareData: import('@floating-ui/core').MiddlewareData;
|
|
81
81
|
isPositioned: boolean;
|
|
82
82
|
floatingStyles: React.CSSProperties;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Empty } from './empty.tsx';
|
|
@@ -27,11 +27,11 @@ 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
|
-
x: number;
|
|
31
|
-
y: number;
|
|
32
30
|
update: () => void;
|
|
33
31
|
placement: Placement;
|
|
34
32
|
strategy: import('@floating-ui/utils').Strategy;
|
|
33
|
+
x: number;
|
|
34
|
+
y: number;
|
|
35
35
|
middlewareData: import('@floating-ui/core').MiddlewareData;
|
|
36
36
|
isPositioned: boolean;
|
|
37
37
|
floatingStyles: React.CSSProperties;
|
|
@@ -75,11 +75,11 @@ 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
|
-
x: number;
|
|
79
|
-
y: number;
|
|
80
78
|
update: () => void;
|
|
81
79
|
placement: Placement;
|
|
82
80
|
strategy: import('@floating-ui/utils').Strategy;
|
|
81
|
+
x: number;
|
|
82
|
+
y: number;
|
|
83
83
|
middlewareData: import('@floating-ui/core').MiddlewareData;
|
|
84
84
|
isPositioned: boolean;
|
|
85
85
|
floatingStyles: React.CSSProperties;
|