@trackunit/react-components 0.1.156 → 0.1.158
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/index.cjs.js +1353 -1281
- package/index.esm.js +1351 -1283
- package/package.json +3 -3
- package/src/components/Icon/Icon.d.ts +251 -3
- package/src/components/Popover/Popover.d.ts +23 -18
- package/src/components/Popover/usePopover.d.ts +25 -20
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.158",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=18.x"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@floating-ui/react": "0.
|
|
10
|
+
"@floating-ui/react": "0.25.4",
|
|
11
11
|
"@trackunit/css-class-variance-utilities": "0.0.14",
|
|
12
12
|
"@trackunit/css-core": "0.0.95",
|
|
13
13
|
"@trackunit/ui-design-tokens": "0.0.77",
|
|
14
|
-
"@trackunit/ui-icons": "0.0.
|
|
14
|
+
"@trackunit/ui-icons": "0.0.76",
|
|
15
15
|
"date-fns": "2.29.3",
|
|
16
16
|
"lodash": "4.17.21",
|
|
17
17
|
"react": "18.2.0",
|
|
@@ -1,14 +1,262 @@
|
|
|
1
1
|
import { ActivityColors, CriticalityColors, GeneralColors, IntentColors, RentalStatusColors, SitesColors, UtilizationColors } from "@trackunit/ui-design-tokens";
|
|
2
|
-
import {
|
|
2
|
+
import { IconName } from "@trackunit/ui-icons";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { CommonProps, Size } from "../../common/CommonProps";
|
|
5
5
|
export type IconColors = IntentColors | GeneralColors | CriticalityColors | ActivityColors | UtilizationColors | SitesColors | RentalStatusColors;
|
|
6
|
+
export declare const iconPalette: {
|
|
7
|
+
ON_RENT: {
|
|
8
|
+
readonly 100: "223 244 254";
|
|
9
|
+
readonly 600: "90 200 250";
|
|
10
|
+
};
|
|
11
|
+
RETURNED: {
|
|
12
|
+
readonly 100: "230 202 255";
|
|
13
|
+
readonly 600: "176 90 255";
|
|
14
|
+
};
|
|
15
|
+
AVAILABLE: {
|
|
16
|
+
readonly 100: "206 255 232";
|
|
17
|
+
readonly 600: "0 166 88";
|
|
18
|
+
};
|
|
19
|
+
PICKUP_READY: {
|
|
20
|
+
readonly 100: "255 236 209";
|
|
21
|
+
readonly 600: "255 149 0";
|
|
22
|
+
};
|
|
23
|
+
TRANSFER: {
|
|
24
|
+
readonly 100: "255 248 217";
|
|
25
|
+
readonly 600: "253 208 8";
|
|
26
|
+
};
|
|
27
|
+
IN_REPAIR: {
|
|
28
|
+
readonly 100: "255 233 233";
|
|
29
|
+
readonly 600: "255 90 90";
|
|
30
|
+
};
|
|
31
|
+
OTHER_RENTAL_STATUS: {
|
|
32
|
+
readonly 100: "238 239 239";
|
|
33
|
+
readonly 600: "151 154 154";
|
|
34
|
+
};
|
|
35
|
+
SITE: {
|
|
36
|
+
readonly AREA: "37 99 235";
|
|
37
|
+
readonly CLASSIC_POI: "115 115 115";
|
|
38
|
+
readonly CLASSIC_ZONE: "115 115 115";
|
|
39
|
+
readonly DEPOT: "16 185 129";
|
|
40
|
+
readonly WORK_PLACE: "124 58 237";
|
|
41
|
+
readonly CONSTRUCTION_SITE: "245 158 11";
|
|
42
|
+
readonly UNKNOWN: "115 115 115";
|
|
43
|
+
};
|
|
44
|
+
UNUSED: {
|
|
45
|
+
readonly 300: "252 165 165";
|
|
46
|
+
readonly 400: "248 113 113";
|
|
47
|
+
};
|
|
48
|
+
UTILIZED: {
|
|
49
|
+
readonly 400: "96 165 250";
|
|
50
|
+
readonly 600: "37 99 235";
|
|
51
|
+
};
|
|
52
|
+
HEAVILY_UTILIZED: {
|
|
53
|
+
readonly 300: "252 211 77";
|
|
54
|
+
readonly 500: "245 158 11";
|
|
55
|
+
};
|
|
56
|
+
UNKNOWN_UTILIZATION: {
|
|
57
|
+
readonly 300: "212 212 212";
|
|
58
|
+
readonly 600: "82 82 82";
|
|
59
|
+
};
|
|
60
|
+
WORKING: {
|
|
61
|
+
readonly 50: "239 246 255";
|
|
62
|
+
readonly 100: "219 234 254";
|
|
63
|
+
readonly 200: "191 219 254";
|
|
64
|
+
readonly 300: "147 197 253";
|
|
65
|
+
readonly 400: "96 165 250";
|
|
66
|
+
readonly 500: "59 130 246";
|
|
67
|
+
readonly 600: "37 99 235";
|
|
68
|
+
readonly 700: "29 78 216";
|
|
69
|
+
readonly 800: "30 64 175";
|
|
70
|
+
readonly 900: "30 58 138";
|
|
71
|
+
};
|
|
72
|
+
IDLE: {
|
|
73
|
+
readonly 50: "255 247 237";
|
|
74
|
+
readonly 100: "255 237 213";
|
|
75
|
+
readonly 200: "254 215 170";
|
|
76
|
+
readonly 300: "253 186 116";
|
|
77
|
+
readonly 400: "251 146 60";
|
|
78
|
+
readonly 500: "249 115 22";
|
|
79
|
+
readonly 600: "234 88 12";
|
|
80
|
+
readonly 700: "194 65 12";
|
|
81
|
+
readonly 800: "154 52 18";
|
|
82
|
+
readonly 900: "124 45 18";
|
|
83
|
+
};
|
|
84
|
+
STOPPED: {
|
|
85
|
+
readonly 50: "245 243 255";
|
|
86
|
+
readonly 100: "237 233 254";
|
|
87
|
+
readonly 200: "221 214 254";
|
|
88
|
+
readonly 300: "196 181 253";
|
|
89
|
+
readonly 400: "167 139 250";
|
|
90
|
+
readonly 500: "139 92 246";
|
|
91
|
+
readonly 600: "124 58 237";
|
|
92
|
+
readonly 700: "109 40 217";
|
|
93
|
+
readonly 800: "91 33 182";
|
|
94
|
+
readonly 900: "76 29 149";
|
|
95
|
+
};
|
|
96
|
+
UNKNOWN: {
|
|
97
|
+
readonly 50: "250 250 250";
|
|
98
|
+
readonly 100: "245 245 245";
|
|
99
|
+
readonly 200: "229 229 229";
|
|
100
|
+
readonly 300: "212 212 212";
|
|
101
|
+
readonly 400: "163 163 163";
|
|
102
|
+
readonly 500: "115 115 115";
|
|
103
|
+
readonly 600: "82 82 82";
|
|
104
|
+
readonly 700: "64 64 64";
|
|
105
|
+
readonly 800: "38 38 38";
|
|
106
|
+
readonly 900: "23 23 23";
|
|
107
|
+
};
|
|
108
|
+
MOVING: {
|
|
109
|
+
readonly DEFAULT: "230 144 177";
|
|
110
|
+
};
|
|
111
|
+
ACTIVE: {
|
|
112
|
+
readonly DEFAULT: "63 219 147";
|
|
113
|
+
};
|
|
114
|
+
GOOD: {
|
|
115
|
+
readonly 50: "236 253 245";
|
|
116
|
+
readonly 100: "209 250 229";
|
|
117
|
+
readonly 200: "167 243 208";
|
|
118
|
+
readonly 300: "110 231 183";
|
|
119
|
+
readonly 400: "52 211 153";
|
|
120
|
+
readonly 500: "16 185 129";
|
|
121
|
+
readonly 600: "5 150 105";
|
|
122
|
+
readonly 700: "4 120 87";
|
|
123
|
+
readonly 800: "6 95 70";
|
|
124
|
+
readonly 900: "6 78 59";
|
|
125
|
+
};
|
|
126
|
+
LOW: {
|
|
127
|
+
readonly 50: "255 251 235";
|
|
128
|
+
readonly 100: "254 243 199";
|
|
129
|
+
readonly 200: "253 230 138";
|
|
130
|
+
readonly 300: "252 211 77";
|
|
131
|
+
readonly 400: "251 191 36";
|
|
132
|
+
readonly 500: "245 158 11";
|
|
133
|
+
readonly 600: "217 119 6";
|
|
134
|
+
readonly 700: "180 83 9";
|
|
135
|
+
readonly 800: "146 64 14";
|
|
136
|
+
readonly 900: "120 53 15";
|
|
137
|
+
};
|
|
138
|
+
CRITICAL: {
|
|
139
|
+
readonly 50: "254 242 242";
|
|
140
|
+
readonly 100: "254 226 226";
|
|
141
|
+
readonly 200: "254 202 202";
|
|
142
|
+
readonly 300: "252 165 165";
|
|
143
|
+
readonly 400: "248 113 113";
|
|
144
|
+
readonly 500: "239 68 68";
|
|
145
|
+
readonly 600: "220 38 38";
|
|
146
|
+
readonly 700: "185 28 28";
|
|
147
|
+
readonly 800: "153 27 27";
|
|
148
|
+
readonly 900: "127 29 29";
|
|
149
|
+
};
|
|
150
|
+
PRIMARY: {
|
|
151
|
+
readonly 50: "239 246 255";
|
|
152
|
+
readonly 100: "219 234 254";
|
|
153
|
+
readonly 200: "191 219 254";
|
|
154
|
+
readonly 300: "147 197 253";
|
|
155
|
+
readonly 400: "96 165 250";
|
|
156
|
+
readonly 500: "59 130 246";
|
|
157
|
+
readonly 600: "37 99 235";
|
|
158
|
+
readonly 700: "29 78 216";
|
|
159
|
+
readonly 800: "30 64 175";
|
|
160
|
+
readonly 900: "30 58 138";
|
|
161
|
+
};
|
|
162
|
+
SECONDARY: {
|
|
163
|
+
readonly 50: "248 250 252";
|
|
164
|
+
readonly 100: "241 245 249";
|
|
165
|
+
readonly 200: "226 232 240";
|
|
166
|
+
readonly 300: "203 213 225";
|
|
167
|
+
readonly 400: "148 163 184";
|
|
168
|
+
readonly 500: "100 116 139";
|
|
169
|
+
readonly 600: "71 85 105";
|
|
170
|
+
readonly 700: "51 65 85";
|
|
171
|
+
readonly 800: "30 41 59";
|
|
172
|
+
readonly 900: "15 23 42";
|
|
173
|
+
};
|
|
174
|
+
ACCENT: {
|
|
175
|
+
readonly 50: "236 254 255";
|
|
176
|
+
readonly 100: "207 250 254";
|
|
177
|
+
readonly 200: "165 243 252";
|
|
178
|
+
readonly 300: "103 232 249";
|
|
179
|
+
readonly 400: "34 211 238";
|
|
180
|
+
readonly 500: "6 182 212";
|
|
181
|
+
readonly 600: "8 145 178";
|
|
182
|
+
readonly 700: "14 116 144";
|
|
183
|
+
readonly 800: "21 94 117";
|
|
184
|
+
readonly 900: "22 78 99";
|
|
185
|
+
};
|
|
186
|
+
NEUTRAL: {
|
|
187
|
+
readonly 50: "250 250 250";
|
|
188
|
+
readonly 100: "245 245 245";
|
|
189
|
+
readonly 200: "229 229 229";
|
|
190
|
+
readonly 300: "212 212 212";
|
|
191
|
+
readonly 400: "163 163 163";
|
|
192
|
+
readonly 500: "115 115 115";
|
|
193
|
+
readonly 600: "82 82 82";
|
|
194
|
+
readonly 700: "64 64 64";
|
|
195
|
+
readonly 800: "38 38 38";
|
|
196
|
+
readonly 900: "23 23 23";
|
|
197
|
+
};
|
|
198
|
+
BLACK: {
|
|
199
|
+
readonly DEFAULT: "26 27 28";
|
|
200
|
+
};
|
|
201
|
+
WHITE: {
|
|
202
|
+
readonly DEFAULT: "255 255 255";
|
|
203
|
+
};
|
|
204
|
+
INFO: {
|
|
205
|
+
readonly 50: "239 246 255";
|
|
206
|
+
readonly 100: "219 234 254";
|
|
207
|
+
readonly 200: "191 219 254";
|
|
208
|
+
readonly 300: "147 197 253";
|
|
209
|
+
readonly 400: "96 165 250";
|
|
210
|
+
readonly 500: "59 130 246";
|
|
211
|
+
readonly 600: "37 99 235";
|
|
212
|
+
readonly 700: "29 78 216";
|
|
213
|
+
readonly 800: "30 64 175";
|
|
214
|
+
readonly 900: "30 58 138";
|
|
215
|
+
};
|
|
216
|
+
SUCCESS: {
|
|
217
|
+
readonly 50: "240 253 244";
|
|
218
|
+
readonly 100: "220 252 231";
|
|
219
|
+
readonly 200: "187 247 208";
|
|
220
|
+
readonly 300: "134 239 172";
|
|
221
|
+
readonly 400: "74 222 128";
|
|
222
|
+
readonly 500: "34 197 94";
|
|
223
|
+
readonly 600: "22 163 74";
|
|
224
|
+
readonly 700: "21 128 61";
|
|
225
|
+
readonly 800: "22 101 52";
|
|
226
|
+
readonly 900: "20 83 45";
|
|
227
|
+
};
|
|
228
|
+
WARNING: {
|
|
229
|
+
readonly 50: "255 251 235";
|
|
230
|
+
readonly 100: "254 243 199";
|
|
231
|
+
readonly 200: "253 230 138";
|
|
232
|
+
readonly 300: "252 211 77";
|
|
233
|
+
readonly 400: "251 191 36";
|
|
234
|
+
readonly 500: "245 158 11";
|
|
235
|
+
readonly 600: "217 119 6";
|
|
236
|
+
readonly 700: "180 83 9";
|
|
237
|
+
readonly 800: "146 64 14";
|
|
238
|
+
readonly 900: "120 53 15";
|
|
239
|
+
};
|
|
240
|
+
DANGER: {
|
|
241
|
+
readonly 50: "254 242 242";
|
|
242
|
+
readonly 100: "254 226 226";
|
|
243
|
+
readonly 200: "254 202 202";
|
|
244
|
+
readonly 300: "252 165 165";
|
|
245
|
+
readonly 400: "248 113 113";
|
|
246
|
+
readonly 500: "239 68 68";
|
|
247
|
+
readonly 600: "220 38 38";
|
|
248
|
+
readonly 700: "185 28 28";
|
|
249
|
+
readonly 800: "153 27 27";
|
|
250
|
+
readonly 900: "127 29 29";
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
export declare const iconColorNames: ("info" | "success" | "warning" | "danger" | "primary" | "secondary" | "accent" | "neutral" | "black" | "white" | "good" | "low" | "critical" | "working" | "idle" | "stopped" | "unknown" | "moving" | "active" | "unused" | "utilized" | "heavily_utilized" | "unknown_utilization" | "site" | "on_rent" | "returned" | "available" | "pickup_ready" | "transfer" | "in_repair" | "other_rental_status")[];
|
|
6
254
|
export interface IconProps extends CommonProps {
|
|
7
255
|
/**
|
|
8
256
|
* The name of the icon to be rendered.
|
|
9
257
|
* HeroIconName and TrackunitIconName are supported.
|
|
10
258
|
*/
|
|
11
|
-
name:
|
|
259
|
+
name: IconName;
|
|
12
260
|
/**
|
|
13
261
|
* The color of the icon.
|
|
14
262
|
* Supports any colors from the theme.
|
|
@@ -44,7 +292,7 @@ export interface IconProps extends CommonProps {
|
|
|
44
292
|
/**
|
|
45
293
|
* - The Icon component is used to display an Icon.
|
|
46
294
|
* - Icons are semantic vector graphics that adds character and improves the visual appeal of elements when combined with.
|
|
47
|
-
* - All the [HeroIcons](https://heroicons.dev/) as well as custom
|
|
295
|
+
* - All the [HeroIcons](https://heroicons.dev/) as well as custom Trackunit icons are available.
|
|
48
296
|
*
|
|
49
297
|
* @param {IconProps} props - The props for the Icon component
|
|
50
298
|
* @returns {JSX.Element} Icon component
|
|
@@ -16,27 +16,35 @@ export declare const usePopoverContext: () => {
|
|
|
16
16
|
className?: string | undefined;
|
|
17
17
|
dataTestId?: string | undefined;
|
|
18
18
|
};
|
|
19
|
-
placement: import("@floating-ui/
|
|
20
|
-
strategy: import("@floating-ui/
|
|
19
|
+
placement: import("@floating-ui/utils").Placement;
|
|
20
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
21
21
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
22
|
-
x: number
|
|
23
|
-
y: number
|
|
22
|
+
x: number;
|
|
23
|
+
y: number;
|
|
24
|
+
isPositioned: boolean;
|
|
24
25
|
update: () => void;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
floatingStyles: import("react").CSSProperties;
|
|
27
|
+
refs: {
|
|
28
|
+
reference: import("react").MutableRefObject<import("@floating-ui/react-dom").ReferenceType | null>;
|
|
29
|
+
floating: import("react").MutableRefObject<HTMLElement | null>;
|
|
30
|
+
setReference: (node: import("@floating-ui/react-dom").ReferenceType | null) => void;
|
|
31
|
+
setFloating: (node: HTMLElement | null) => void;
|
|
32
|
+
} & import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
33
|
+
elements: {
|
|
34
|
+
reference: import("@floating-ui/react-dom").ReferenceType | null;
|
|
35
|
+
floating: HTMLElement | null;
|
|
36
|
+
} & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
28
37
|
context: {
|
|
29
|
-
placement: import("@floating-ui/
|
|
30
|
-
strategy: import("@floating-ui/
|
|
31
|
-
x: number
|
|
32
|
-
y: number
|
|
38
|
+
placement: import("@floating-ui/utils").Placement;
|
|
39
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
40
|
+
x: number;
|
|
41
|
+
y: number;
|
|
33
42
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
34
|
-
update: () => void;
|
|
35
|
-
reference: (node: import("@floating-ui/react").ReferenceType | null) => void;
|
|
36
|
-
floating: (node: HTMLElement | null) => void;
|
|
37
43
|
isPositioned: boolean;
|
|
44
|
+
update: () => void;
|
|
45
|
+
floatingStyles: import("react").CSSProperties;
|
|
38
46
|
open: boolean;
|
|
39
|
-
onOpenChange: (open: boolean) => void;
|
|
47
|
+
onOpenChange: (open: boolean, event?: Event | undefined) => void;
|
|
40
48
|
events: import("@floating-ui/react").FloatingEvents;
|
|
41
49
|
dataRef: import("react").MutableRefObject<import("@floating-ui/react").ContextData>;
|
|
42
50
|
nodeId: string | undefined;
|
|
@@ -44,9 +52,6 @@ export declare const usePopoverContext: () => {
|
|
|
44
52
|
refs: import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
45
53
|
elements: import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
46
54
|
};
|
|
47
|
-
refs: import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
48
|
-
elements: import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
49
|
-
isPositioned: boolean;
|
|
50
55
|
getReferenceProps: (userProps?: import("react").HTMLProps<Element> | undefined) => Record<string, unknown>;
|
|
51
56
|
getFloatingProps: (userProps?: import("react").HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;
|
|
52
57
|
getItemProps: (userProps?: import("react").HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;
|
|
@@ -17,27 +17,35 @@ export declare const usePopover: ({ initialOpen, placement, isModal, isOpen: con
|
|
|
17
17
|
className?: string | undefined;
|
|
18
18
|
dataTestId?: string | undefined;
|
|
19
19
|
};
|
|
20
|
-
placement: import("@floating-ui/
|
|
21
|
-
strategy: import("@floating-ui/
|
|
22
|
-
middlewareData: import("@floating-ui/
|
|
23
|
-
x: number
|
|
24
|
-
y: number
|
|
20
|
+
placement: import("@floating-ui/utils").Placement;
|
|
21
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
22
|
+
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
23
|
+
x: number;
|
|
24
|
+
y: number;
|
|
25
|
+
isPositioned: boolean;
|
|
25
26
|
update: () => void;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
floatingStyles: import("react").CSSProperties;
|
|
28
|
+
refs: {
|
|
29
|
+
reference: import("react").MutableRefObject<import("@floating-ui/react-dom").ReferenceType | null>;
|
|
30
|
+
floating: import("react").MutableRefObject<HTMLElement | null>;
|
|
31
|
+
setReference: (node: import("@floating-ui/react-dom").ReferenceType | null) => void;
|
|
32
|
+
setFloating: (node: HTMLElement | null) => void;
|
|
33
|
+
} & import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
34
|
+
elements: {
|
|
35
|
+
reference: import("@floating-ui/react-dom").ReferenceType | null;
|
|
36
|
+
floating: HTMLElement | null;
|
|
37
|
+
} & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
29
38
|
context: {
|
|
30
|
-
placement: import("@floating-ui/
|
|
31
|
-
strategy: import("@floating-ui/
|
|
32
|
-
x: number
|
|
33
|
-
y: number
|
|
34
|
-
middlewareData: import("@floating-ui/
|
|
35
|
-
update: () => void;
|
|
36
|
-
reference: (node: import("@floating-ui/react").ReferenceType | null) => void;
|
|
37
|
-
floating: (node: HTMLElement | null) => void;
|
|
39
|
+
placement: import("@floating-ui/utils").Placement;
|
|
40
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
41
|
+
x: number;
|
|
42
|
+
y: number;
|
|
43
|
+
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
38
44
|
isPositioned: boolean;
|
|
45
|
+
update: () => void;
|
|
46
|
+
floatingStyles: import("react").CSSProperties;
|
|
39
47
|
open: boolean;
|
|
40
|
-
onOpenChange: (open: boolean) => void;
|
|
48
|
+
onOpenChange: (open: boolean, event?: Event | undefined) => void;
|
|
41
49
|
events: import("@floating-ui/react").FloatingEvents;
|
|
42
50
|
dataRef: import("react").MutableRefObject<import("@floating-ui/react").ContextData>;
|
|
43
51
|
nodeId: string | undefined;
|
|
@@ -45,9 +53,6 @@ export declare const usePopover: ({ initialOpen, placement, isModal, isOpen: con
|
|
|
45
53
|
refs: import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
46
54
|
elements: import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
47
55
|
};
|
|
48
|
-
refs: import("@floating-ui/react").ExtendedRefs<import("@floating-ui/react").ReferenceType>;
|
|
49
|
-
elements: import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
50
|
-
isPositioned: boolean;
|
|
51
56
|
getReferenceProps: (userProps?: import("react").HTMLProps<Element> | undefined) => Record<string, unknown>;
|
|
52
57
|
getFloatingProps: (userProps?: import("react").HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;
|
|
53
58
|
getItemProps: (userProps?: import("react").HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;
|