@sellgar/kit 0.0.108 → 0.0.110
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 +5348 -5333
- package/package.json +7 -7
- package/types/components/helpers/dropdown/dropdown.d.ts +4 -4
- package/types/components/helpers/select/select.d.ts +4 -4
- package/types/components/modal/modal.d.ts +4 -4
- package/types/components/symbols/select/select.d.ts +1 -1
- 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.110",
|
|
5
5
|
"description": "Storybook",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
"./theme.desktop.css": "./dist/theme.desktop.css"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@floating-ui/dom": "1.
|
|
38
|
-
"@floating-ui/react": "0.27.
|
|
37
|
+
"@floating-ui/dom": "1.7.0",
|
|
38
|
+
"@floating-ui/react": "0.27.8",
|
|
39
39
|
"@react-input/mask": "2.0.4",
|
|
40
40
|
"@react-input/number-format": "2.0.3",
|
|
41
41
|
"@types/react-slider": "1.3.6",
|
|
42
42
|
"classnames": "2.5.1",
|
|
43
43
|
"date-fns": "4.1.0",
|
|
44
44
|
"moment": "2.30.1",
|
|
45
|
-
"overlayscrollbars": "2.11.
|
|
45
|
+
"overlayscrollbars": "2.11.3",
|
|
46
46
|
"overlayscrollbars-react": "0.5.6",
|
|
47
47
|
"react-baron": "3.0.0",
|
|
48
48
|
"react-slider": "2.0.6"
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@vitejs/plugin-react": "4.
|
|
63
|
+
"@vitejs/plugin-react": "4.5.0",
|
|
64
64
|
"typescript": "5.8.3",
|
|
65
|
-
"vite": "6.
|
|
66
|
-
"vite-plugin-dts": "4.5.
|
|
65
|
+
"vite": "6.3.5",
|
|
66
|
+
"vite-plugin-dts": "4.5.4",
|
|
67
67
|
"vite-plugin-lib-inject-css": "2.2.2",
|
|
68
68
|
"vite-plugin-webfont-dl": "3.10.4"
|
|
69
69
|
},
|
|
@@ -15,7 +15,7 @@ declare const useDropdown: ({ placement, ...options }: IOptions) => {
|
|
|
15
15
|
floating: {
|
|
16
16
|
placement: Placement;
|
|
17
17
|
strategy: import('@floating-ui/utils').Strategy;
|
|
18
|
-
middlewareData: import('@floating-ui/
|
|
18
|
+
middlewareData: import('@floating-ui/react').MiddlewareData;
|
|
19
19
|
x: number;
|
|
20
20
|
y: number;
|
|
21
21
|
isPositioned: boolean;
|
|
@@ -37,7 +37,7 @@ declare const useDropdown: ({ placement, ...options }: IOptions) => {
|
|
|
37
37
|
strategy: import('@floating-ui/utils').Strategy;
|
|
38
38
|
x: number;
|
|
39
39
|
y: number;
|
|
40
|
-
middlewareData: import('@floating-ui/
|
|
40
|
+
middlewareData: import('@floating-ui/react').MiddlewareData;
|
|
41
41
|
isPositioned: boolean;
|
|
42
42
|
floatingStyles: React.CSSProperties;
|
|
43
43
|
open: boolean;
|
|
@@ -62,7 +62,7 @@ export declare const useDropdownContext: () => {
|
|
|
62
62
|
floating: {
|
|
63
63
|
placement: Placement;
|
|
64
64
|
strategy: import('@floating-ui/utils').Strategy;
|
|
65
|
-
middlewareData: import('@floating-ui/
|
|
65
|
+
middlewareData: import('@floating-ui/react').MiddlewareData;
|
|
66
66
|
x: number;
|
|
67
67
|
y: number;
|
|
68
68
|
isPositioned: boolean;
|
|
@@ -84,7 +84,7 @@ export declare const useDropdownContext: () => {
|
|
|
84
84
|
strategy: import('@floating-ui/utils').Strategy;
|
|
85
85
|
x: number;
|
|
86
86
|
y: number;
|
|
87
|
-
middlewareData: import('@floating-ui/
|
|
87
|
+
middlewareData: import('@floating-ui/react').MiddlewareData;
|
|
88
88
|
isPositioned: boolean;
|
|
89
89
|
floatingStyles: React.CSSProperties;
|
|
90
90
|
open: boolean;
|
|
@@ -25,7 +25,7 @@ declare const useSelect: (options: IOptions) => {
|
|
|
25
25
|
floating: {
|
|
26
26
|
placement: import('@floating-ui/utils').Placement;
|
|
27
27
|
strategy: import('@floating-ui/utils').Strategy;
|
|
28
|
-
middlewareData: import('@floating-ui/
|
|
28
|
+
middlewareData: import('@floating-ui/react').MiddlewareData;
|
|
29
29
|
x: number;
|
|
30
30
|
y: number;
|
|
31
31
|
isPositioned: boolean;
|
|
@@ -47,7 +47,7 @@ declare const useSelect: (options: IOptions) => {
|
|
|
47
47
|
strategy: import('@floating-ui/utils').Strategy;
|
|
48
48
|
x: number;
|
|
49
49
|
y: number;
|
|
50
|
-
middlewareData: import('@floating-ui/
|
|
50
|
+
middlewareData: import('@floating-ui/react').MiddlewareData;
|
|
51
51
|
isPositioned: boolean;
|
|
52
52
|
floatingStyles: React.CSSProperties;
|
|
53
53
|
open: boolean;
|
|
@@ -81,7 +81,7 @@ export declare const useSelectContext: () => {
|
|
|
81
81
|
floating: {
|
|
82
82
|
placement: import('@floating-ui/utils').Placement;
|
|
83
83
|
strategy: import('@floating-ui/utils').Strategy;
|
|
84
|
-
middlewareData: import('@floating-ui/
|
|
84
|
+
middlewareData: import('@floating-ui/react').MiddlewareData;
|
|
85
85
|
x: number;
|
|
86
86
|
y: number;
|
|
87
87
|
isPositioned: boolean;
|
|
@@ -103,7 +103,7 @@ export declare const useSelectContext: () => {
|
|
|
103
103
|
strategy: import('@floating-ui/utils').Strategy;
|
|
104
104
|
x: number;
|
|
105
105
|
y: number;
|
|
106
|
-
middlewareData: import('@floating-ui/
|
|
106
|
+
middlewareData: import('@floating-ui/react').MiddlewareData;
|
|
107
107
|
isPositioned: boolean;
|
|
108
108
|
floatingStyles: React.CSSProperties;
|
|
109
109
|
open: boolean;
|
|
@@ -8,7 +8,7 @@ interface IProps {
|
|
|
8
8
|
export declare function useDialog({ initialOpen, open: controlledOpen, onOpen, onClose }?: IProps): {
|
|
9
9
|
placement: import('@floating-ui/utils').Placement;
|
|
10
10
|
strategy: import('@floating-ui/utils').Strategy;
|
|
11
|
-
middlewareData: import('@floating-ui/
|
|
11
|
+
middlewareData: import('@floating-ui/react').MiddlewareData;
|
|
12
12
|
x: number;
|
|
13
13
|
y: number;
|
|
14
14
|
isPositioned: boolean;
|
|
@@ -30,7 +30,7 @@ export declare function useDialog({ initialOpen, open: controlledOpen, onOpen, o
|
|
|
30
30
|
strategy: import('@floating-ui/utils').Strategy;
|
|
31
31
|
x: number;
|
|
32
32
|
y: number;
|
|
33
|
-
middlewareData: import('@floating-ui/
|
|
33
|
+
middlewareData: import('@floating-ui/react').MiddlewareData;
|
|
34
34
|
isPositioned: boolean;
|
|
35
35
|
floatingStyles: React.CSSProperties;
|
|
36
36
|
open: boolean;
|
|
@@ -55,7 +55,7 @@ export declare function useDialog({ initialOpen, open: controlledOpen, onOpen, o
|
|
|
55
55
|
export declare const useModalContext: () => {
|
|
56
56
|
placement: import('@floating-ui/utils').Placement;
|
|
57
57
|
strategy: import('@floating-ui/utils').Strategy;
|
|
58
|
-
middlewareData: import('@floating-ui/
|
|
58
|
+
middlewareData: import('@floating-ui/react').MiddlewareData;
|
|
59
59
|
x: number;
|
|
60
60
|
y: number;
|
|
61
61
|
isPositioned: boolean;
|
|
@@ -77,7 +77,7 @@ export declare const useModalContext: () => {
|
|
|
77
77
|
strategy: import('@floating-ui/utils').Strategy;
|
|
78
78
|
x: number;
|
|
79
79
|
y: number;
|
|
80
|
-
middlewareData: import('@floating-ui/
|
|
80
|
+
middlewareData: import('@floating-ui/react').MiddlewareData;
|
|
81
81
|
isPositioned: boolean;
|
|
82
82
|
floatingStyles: React.CSSProperties;
|
|
83
83
|
open: boolean;
|
|
@@ -20,4 +20,4 @@ export interface IProps<T extends Record<string, any>, K extends keyof T> {
|
|
|
20
20
|
onFocus?: () => void;
|
|
21
21
|
onBlur?: () => void;
|
|
22
22
|
}
|
|
23
|
-
export declare const Select: <T extends Record<string, any>, K extends keyof T>({ value, placeholder,
|
|
23
|
+
export declare const Select: <T extends Record<string, any>, K extends keyof T>({ value, placeholder, tabIndex, options, optionKey, optionValue, templateValue, templateOption, onBlur, onFocus, onChange, disabled, isClearable, ...props }: IProps<T, K>) => React.JSX.Element;
|
|
@@ -10,7 +10,7 @@ export interface IProps {
|
|
|
10
10
|
export declare function useTooltip({ size, initialOpen, placement, open: controlledOpen, onOpenChange: setControlledOpen, }: IProps): {
|
|
11
11
|
placement: Placement;
|
|
12
12
|
strategy: import('@floating-ui/utils').Strategy;
|
|
13
|
-
middlewareData: import('@floating-ui/
|
|
13
|
+
middlewareData: import('@floating-ui/react').MiddlewareData;
|
|
14
14
|
x: number;
|
|
15
15
|
y: number;
|
|
16
16
|
isPositioned: boolean;
|
|
@@ -32,7 +32,7 @@ export declare function useTooltip({ size, initialOpen, placement, open: control
|
|
|
32
32
|
strategy: import('@floating-ui/utils').Strategy;
|
|
33
33
|
x: number;
|
|
34
34
|
y: number;
|
|
35
|
-
middlewareData: import('@floating-ui/
|
|
35
|
+
middlewareData: import('@floating-ui/react').MiddlewareData;
|
|
36
36
|
isPositioned: boolean;
|
|
37
37
|
floatingStyles: React.CSSProperties;
|
|
38
38
|
open: boolean;
|
|
@@ -58,7 +58,7 @@ export declare function useTooltip({ size, initialOpen, placement, open: control
|
|
|
58
58
|
export declare const useTooltipContext: () => {
|
|
59
59
|
placement: Placement;
|
|
60
60
|
strategy: import('@floating-ui/utils').Strategy;
|
|
61
|
-
middlewareData: import('@floating-ui/
|
|
61
|
+
middlewareData: import('@floating-ui/react').MiddlewareData;
|
|
62
62
|
x: number;
|
|
63
63
|
y: number;
|
|
64
64
|
isPositioned: boolean;
|
|
@@ -80,7 +80,7 @@ export declare const useTooltipContext: () => {
|
|
|
80
80
|
strategy: import('@floating-ui/utils').Strategy;
|
|
81
81
|
x: number;
|
|
82
82
|
y: number;
|
|
83
|
-
middlewareData: import('@floating-ui/
|
|
83
|
+
middlewareData: import('@floating-ui/react').MiddlewareData;
|
|
84
84
|
isPositioned: boolean;
|
|
85
85
|
floatingStyles: React.CSSProperties;
|
|
86
86
|
open: boolean;
|