@xsolla/xui-b2b-sidebar 0.188.0 → 0.188.2
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/native/index.d.mts +0 -9
- package/native/index.d.ts +0 -9
- package/native/index.js.map +1 -1
- package/native/index.mjs.map +1 -1
- package/package.json +6 -6
- package/web/index.d.mts +0 -9
- package/web/index.d.ts +0 -9
- package/web/index.js.map +1 -1
- package/web/index.mjs.map +1 -1
package/native/index.d.mts
CHANGED
|
@@ -18,7 +18,6 @@ interface SidebarLinkProps {
|
|
|
18
18
|
dataId?: string;
|
|
19
19
|
"aria-label"?: string;
|
|
20
20
|
children: ReactNode;
|
|
21
|
-
/** Test ID for testing frameworks */
|
|
22
21
|
testID?: string;
|
|
23
22
|
}
|
|
24
23
|
interface SidebarContextValue {
|
|
@@ -35,7 +34,6 @@ interface SidebarProviderProps {
|
|
|
35
34
|
pathname?: string;
|
|
36
35
|
linkComponent?: React.ComponentType<SidebarLinkProps>;
|
|
37
36
|
children: ReactNode;
|
|
38
|
-
/** Test ID for testing frameworks */
|
|
39
37
|
testID?: string;
|
|
40
38
|
}
|
|
41
39
|
declare const SidebarProvider: React.FC<SidebarProviderProps>;
|
|
@@ -109,7 +107,6 @@ interface SidebarProps {
|
|
|
109
107
|
/** Whether the chat button shows a notification badge */
|
|
110
108
|
chatBadge?: boolean;
|
|
111
109
|
children: ReactNode;
|
|
112
|
-
/** Test ID for testing frameworks */
|
|
113
110
|
testID?: string;
|
|
114
111
|
}
|
|
115
112
|
declare const Sidebar: React.FC<SidebarProps>;
|
|
@@ -130,7 +127,6 @@ interface SidebarGroupProps {
|
|
|
130
127
|
/** Docks this group to the bottom of the expanded sidebar (e.g. Settings, Billing). */
|
|
131
128
|
pinnedToBottom?: boolean;
|
|
132
129
|
children: ReactNode;
|
|
133
|
-
/** Test ID for testing frameworks */
|
|
134
130
|
testID?: string;
|
|
135
131
|
}
|
|
136
132
|
declare const SidebarGroup: React.FC<SidebarGroupProps>;
|
|
@@ -162,7 +158,6 @@ interface SidebarMenuItemProps {
|
|
|
162
158
|
extra?: ReactNode;
|
|
163
159
|
/** Whether this item is inside a SidebarMenuSub (parent collapsible sets nested styling) */
|
|
164
160
|
isNested?: boolean;
|
|
165
|
-
/** Test ID for testing frameworks */
|
|
166
161
|
testID?: string;
|
|
167
162
|
}
|
|
168
163
|
declare const SidebarMenuItem: React.FC<SidebarMenuItemProps>;
|
|
@@ -174,7 +169,6 @@ interface SidebarMenuCollapsibleProps {
|
|
|
174
169
|
/** Route prefixes that should auto-expand this collapsible */
|
|
175
170
|
matchPaths?: string[];
|
|
176
171
|
children: ReactNode;
|
|
177
|
-
/** Test ID for testing frameworks */
|
|
178
172
|
testID?: string;
|
|
179
173
|
}
|
|
180
174
|
declare const SidebarMenuCollapsible: React.FC<SidebarMenuCollapsibleProps>;
|
|
@@ -191,7 +185,6 @@ declare const SidebarMenuSub: React.FC<{
|
|
|
191
185
|
interface SidebarChatButtonProps {
|
|
192
186
|
onClick?: () => void;
|
|
193
187
|
badge?: boolean;
|
|
194
|
-
/** Test ID for testing frameworks */
|
|
195
188
|
testID?: string;
|
|
196
189
|
}
|
|
197
190
|
declare const SidebarChatButton: React.FC<SidebarChatButtonProps>;
|
|
@@ -204,7 +197,6 @@ interface SidebarCollapsedProps {
|
|
|
204
197
|
onChatClick?: () => void;
|
|
205
198
|
showChat?: boolean;
|
|
206
199
|
chatBadge?: boolean;
|
|
207
|
-
/** Test ID for testing frameworks */
|
|
208
200
|
testID?: string;
|
|
209
201
|
}
|
|
210
202
|
declare const SidebarCollapsed: React.FC<SidebarCollapsedProps>;
|
|
@@ -227,7 +219,6 @@ interface SidebarPinnedListProps {
|
|
|
227
219
|
onReorder?: (fromKey: string, toKey: string) => void;
|
|
228
220
|
/** Render 8px top/bottom spacers when items are present. Default true. */
|
|
229
221
|
spacers?: boolean;
|
|
230
|
-
/** Test ID for testing frameworks */
|
|
231
222
|
testID?: string;
|
|
232
223
|
}
|
|
233
224
|
/**
|
package/native/index.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ interface SidebarLinkProps {
|
|
|
18
18
|
dataId?: string;
|
|
19
19
|
"aria-label"?: string;
|
|
20
20
|
children: ReactNode;
|
|
21
|
-
/** Test ID for testing frameworks */
|
|
22
21
|
testID?: string;
|
|
23
22
|
}
|
|
24
23
|
interface SidebarContextValue {
|
|
@@ -35,7 +34,6 @@ interface SidebarProviderProps {
|
|
|
35
34
|
pathname?: string;
|
|
36
35
|
linkComponent?: React.ComponentType<SidebarLinkProps>;
|
|
37
36
|
children: ReactNode;
|
|
38
|
-
/** Test ID for testing frameworks */
|
|
39
37
|
testID?: string;
|
|
40
38
|
}
|
|
41
39
|
declare const SidebarProvider: React.FC<SidebarProviderProps>;
|
|
@@ -109,7 +107,6 @@ interface SidebarProps {
|
|
|
109
107
|
/** Whether the chat button shows a notification badge */
|
|
110
108
|
chatBadge?: boolean;
|
|
111
109
|
children: ReactNode;
|
|
112
|
-
/** Test ID for testing frameworks */
|
|
113
110
|
testID?: string;
|
|
114
111
|
}
|
|
115
112
|
declare const Sidebar: React.FC<SidebarProps>;
|
|
@@ -130,7 +127,6 @@ interface SidebarGroupProps {
|
|
|
130
127
|
/** Docks this group to the bottom of the expanded sidebar (e.g. Settings, Billing). */
|
|
131
128
|
pinnedToBottom?: boolean;
|
|
132
129
|
children: ReactNode;
|
|
133
|
-
/** Test ID for testing frameworks */
|
|
134
130
|
testID?: string;
|
|
135
131
|
}
|
|
136
132
|
declare const SidebarGroup: React.FC<SidebarGroupProps>;
|
|
@@ -162,7 +158,6 @@ interface SidebarMenuItemProps {
|
|
|
162
158
|
extra?: ReactNode;
|
|
163
159
|
/** Whether this item is inside a SidebarMenuSub (parent collapsible sets nested styling) */
|
|
164
160
|
isNested?: boolean;
|
|
165
|
-
/** Test ID for testing frameworks */
|
|
166
161
|
testID?: string;
|
|
167
162
|
}
|
|
168
163
|
declare const SidebarMenuItem: React.FC<SidebarMenuItemProps>;
|
|
@@ -174,7 +169,6 @@ interface SidebarMenuCollapsibleProps {
|
|
|
174
169
|
/** Route prefixes that should auto-expand this collapsible */
|
|
175
170
|
matchPaths?: string[];
|
|
176
171
|
children: ReactNode;
|
|
177
|
-
/** Test ID for testing frameworks */
|
|
178
172
|
testID?: string;
|
|
179
173
|
}
|
|
180
174
|
declare const SidebarMenuCollapsible: React.FC<SidebarMenuCollapsibleProps>;
|
|
@@ -191,7 +185,6 @@ declare const SidebarMenuSub: React.FC<{
|
|
|
191
185
|
interface SidebarChatButtonProps {
|
|
192
186
|
onClick?: () => void;
|
|
193
187
|
badge?: boolean;
|
|
194
|
-
/** Test ID for testing frameworks */
|
|
195
188
|
testID?: string;
|
|
196
189
|
}
|
|
197
190
|
declare const SidebarChatButton: React.FC<SidebarChatButtonProps>;
|
|
@@ -204,7 +197,6 @@ interface SidebarCollapsedProps {
|
|
|
204
197
|
onChatClick?: () => void;
|
|
205
198
|
showChat?: boolean;
|
|
206
199
|
chatBadge?: boolean;
|
|
207
|
-
/** Test ID for testing frameworks */
|
|
208
200
|
testID?: string;
|
|
209
201
|
}
|
|
210
202
|
declare const SidebarCollapsed: React.FC<SidebarCollapsedProps>;
|
|
@@ -227,7 +219,6 @@ interface SidebarPinnedListProps {
|
|
|
227
219
|
onReorder?: (fromKey: string, toKey: string) => void;
|
|
228
220
|
/** Render 8px top/bottom spacers when items are present. Default true. */
|
|
229
221
|
spacers?: boolean;
|
|
230
|
-
/** Test ID for testing frameworks */
|
|
231
222
|
testID?: string;
|
|
232
223
|
}
|
|
233
224
|
/**
|