@scm-manager/ui-extensions 4.0.0-REACT19-20251102-220352 → 4.0.0-REACT19-20251104-141645
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/build/index.d.ts +9 -141
- package/build/index.js +1 -1
- package/build/index.mjs +1 -1
- package/package.json +2 -2
package/build/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { PropsWithChildren, JSX,
|
|
2
|
+
import React__default, { PropsWithChildren, JSX, ComponentProps, ReactNode, ComponentType } from 'react';
|
|
3
3
|
import { RouteObject } from 'react-router-dom';
|
|
4
4
|
import { NamespaceStrategies, RepositoryTypeCollection, IndexResources, Repository, Branch, File, Links, Changeset, Group, Plugin, Me, RepositoryRole, HalRepresentation, RepositoryRoleBase, User, Person, Namespace, Tag, Hit, ContentType, RepositoryCreation, BranchDetails } from '@scm-manager/ui-types';
|
|
5
5
|
|
|
@@ -145,15 +145,10 @@ type Props<E extends RenderableExtensionPointDefinition> = BaseProps<E> & (E["pr
|
|
|
145
145
|
*/
|
|
146
146
|
declare function ExtensionPoint<E extends RenderableExtensionPointDefinition<string, any> = RenderableExtensionPointDefinition<string, any>>({ name, propTransformer, props, renderAll, wrapper, children }: PropsWithChildren<Props<E>>): JSX.Element | null;
|
|
147
147
|
|
|
148
|
-
|
|
149
|
-
* @deprecated Use {@link ComponentProps} directly instead
|
|
150
|
-
*/
|
|
151
|
-
type ExtractProps<T extends keyof JSX.IntrinsicElements | JSXElementConstructor<any>> = ComponentProps<T>;
|
|
152
|
-
|
|
153
|
-
type RouteExtensionPointDefinition<Name extends string, P> = ExtensionPointDefinition<Name, (props: P) => RouteObject | RouteObject[] | null, P>;
|
|
148
|
+
type RouteExtensionPointDefinition<Name extends string, P = void> = ExtensionPointDefinition<Name, (props: P) => RouteObject | RouteObject[] | null, P>;
|
|
154
149
|
interface UseRouteExtensionsProps<E extends RouteExtensionPointDefinition<string, any>> {
|
|
155
150
|
name: E["name"];
|
|
156
|
-
props
|
|
151
|
+
props?: E["props"];
|
|
157
152
|
}
|
|
158
153
|
declare function useRouteExtensions<E extends RouteExtensionPointDefinition<string, any>>({ name, props, }: UseRouteExtensionsProps<E>): RouteObject[];
|
|
159
154
|
|
|
@@ -164,10 +159,6 @@ type RepositoryCreatorSubFormProps = {
|
|
|
164
159
|
disabled?: boolean;
|
|
165
160
|
};
|
|
166
161
|
type RepositoryCreatorComponentProps = ComponentProps<RepositoryCreator["type"]["component"]>;
|
|
167
|
-
/**
|
|
168
|
-
* @deprecated use {@link RepositoryCreator}`["type"]` instead
|
|
169
|
-
*/
|
|
170
|
-
type RepositoryCreatorExtension = RepositoryCreator["type"];
|
|
171
162
|
type RepositoryCreator = ExtensionPointDefinition<"repos.creator", {
|
|
172
163
|
subtitle: string;
|
|
173
164
|
path: string;
|
|
@@ -185,14 +176,6 @@ type RepositoryFlags = RenderableExtensionPointDefinition<"repository.flags", {
|
|
|
185
176
|
repository: Repository;
|
|
186
177
|
tooltipLocation?: "bottom" | "right" | "top" | "left";
|
|
187
178
|
}>;
|
|
188
|
-
/**
|
|
189
|
-
* @deprecated use {@link ReposSourcesActionbar}`["props"]` instead
|
|
190
|
-
*/
|
|
191
|
-
type ReposSourcesActionbarExtensionProps = ReposSourcesActionbar["props"];
|
|
192
|
-
/**
|
|
193
|
-
* @deprecated use {@link ReposSourcesActionbar} instead
|
|
194
|
-
*/
|
|
195
|
-
type ReposSourcesActionbarExtension = ReposSourcesActionbar;
|
|
196
179
|
type ReposSourcesActionbar = RenderableExtensionPointDefinition<"repos.sources.actionbar", {
|
|
197
180
|
baseUrl: string;
|
|
198
181
|
revision: string;
|
|
@@ -201,26 +184,10 @@ type ReposSourcesActionbar = RenderableExtensionPointDefinition<"repos.sources.a
|
|
|
201
184
|
sources: File;
|
|
202
185
|
repository: Repository;
|
|
203
186
|
}>;
|
|
204
|
-
/**
|
|
205
|
-
* @deprecated use {@link ReposSourcesEmptyActionbar}`["props"]` instead
|
|
206
|
-
*/
|
|
207
|
-
type ReposSourcesEmptyActionbarExtensionProps = ReposSourcesEmptyActionbar["props"];
|
|
208
|
-
/**
|
|
209
|
-
* @deprecated use {@link ReposSourcesEmptyActionbar} instead
|
|
210
|
-
*/
|
|
211
|
-
type ReposSourcesEmptyActionbarExtension = ReposSourcesEmptyActionbar;
|
|
212
187
|
type ReposSourcesEmptyActionbar = RenderableExtensionPointDefinition<"repos.sources.empty.actionbar", {
|
|
213
188
|
sources: File;
|
|
214
189
|
repository: Repository;
|
|
215
190
|
}>;
|
|
216
|
-
/**
|
|
217
|
-
* @deprecated use {@link ReposSourcesTreeWrapper}`["props"]` instead
|
|
218
|
-
*/
|
|
219
|
-
type ReposSourcesTreeWrapperProps = ReposSourcesTreeWrapper["props"];
|
|
220
|
-
/**
|
|
221
|
-
* @deprecated use {@link ReposSourcesTreeWrapper} instead
|
|
222
|
-
*/
|
|
223
|
-
type ReposSourcesTreeWrapperExtension = ReposSourcesTreeWrapper;
|
|
224
191
|
type ReposSourcesTreeWrapper = RenderableExtensionPointDefinition<"repos.source.tree.wrapper", {
|
|
225
192
|
repository: Repository;
|
|
226
193
|
directory: File;
|
|
@@ -231,24 +198,8 @@ type ReposSourcesTreeRowProps = {
|
|
|
231
198
|
repository: Repository;
|
|
232
199
|
file: File;
|
|
233
200
|
};
|
|
234
|
-
/**
|
|
235
|
-
* @deprecated use {@link ReposSourcesTreeRowRight} instead
|
|
236
|
-
*/
|
|
237
|
-
type ReposSourcesTreeRowRightExtension = ReposSourcesTreeRowRight;
|
|
238
201
|
type ReposSourcesTreeRowRight = RenderableExtensionPointDefinition<"repos.sources.tree.row.right", ReposSourcesTreeRowProps>;
|
|
239
|
-
/**
|
|
240
|
-
* @deprecated use {@link ReposSourcesTreeRowAfter} instead
|
|
241
|
-
*/
|
|
242
|
-
type ReposSourcesTreeRowAfterExtension = ReposSourcesTreeRowAfter;
|
|
243
202
|
type ReposSourcesTreeRowAfter = RenderableExtensionPointDefinition<"repos.sources.tree.row.after", ReposSourcesTreeRowProps>;
|
|
244
|
-
/**
|
|
245
|
-
* @deprecated use {@link PrimaryNavigationLoginButton}`["props"]` instead
|
|
246
|
-
*/
|
|
247
|
-
type PrimaryNavigationLoginButtonProps = PrimaryNavigationLoginButton["props"];
|
|
248
|
-
/**
|
|
249
|
-
* use {@link PrimaryNavigationLoginButton} instead
|
|
250
|
-
*/
|
|
251
|
-
type PrimaryNavigationLoginButtonExtension = PrimaryNavigationLoginButton;
|
|
252
203
|
type PrimaryNavigationLoginButton = RenderableExtensionPointDefinition<"primary-navigation.login", {
|
|
253
204
|
links: Links;
|
|
254
205
|
label: string;
|
|
@@ -258,24 +209,12 @@ type PrimaryNavigationLoginButton = RenderableExtensionPointDefinition<"primary-
|
|
|
258
209
|
className: string;
|
|
259
210
|
content: React__default.ReactNode;
|
|
260
211
|
}>;
|
|
261
|
-
/**
|
|
262
|
-
* @deprecated use {@link PrimaryNavigationLogoutButtonExtension}`["props"]` instead
|
|
263
|
-
*/
|
|
264
|
-
type PrimaryNavigationLogoutButtonProps = PrimaryNavigationLogoutButton["props"];
|
|
265
|
-
/**
|
|
266
|
-
* @deprecated use {@link PrimaryNavigationLogoutButton} instead
|
|
267
|
-
*/
|
|
268
|
-
type PrimaryNavigationLogoutButtonExtension = PrimaryNavigationLogoutButton;
|
|
269
212
|
type PrimaryNavigationLogoutButton = RenderableExtensionPointDefinition<"primary-navigation.logout", {
|
|
270
213
|
links: Links;
|
|
271
214
|
label: string;
|
|
272
215
|
className: string;
|
|
273
216
|
content: React__default.ReactNode;
|
|
274
217
|
}>;
|
|
275
|
-
/**
|
|
276
|
-
* @deprecated use {@link SourceExtension}`["props"]` instead
|
|
277
|
-
*/
|
|
278
|
-
type SourceExtensionProps = SourceExtension["props"];
|
|
279
218
|
type SourceExtension = RenderableExtensionPointDefinition<"repos.sources.extensions", {
|
|
280
219
|
repository: Repository;
|
|
281
220
|
baseUrl: string;
|
|
@@ -284,33 +223,13 @@ type SourceExtension = RenderableExtensionPointDefinition<"repos.sources.extensi
|
|
|
284
223
|
sources: File | undefined;
|
|
285
224
|
path: string;
|
|
286
225
|
}>;
|
|
287
|
-
/**
|
|
288
|
-
* @deprecated use {@link RepositoryOverviewTop}`["props"]` instead
|
|
289
|
-
*/
|
|
290
|
-
type RepositoryOverviewTopExtensionProps = RepositoryOverviewTop["props"];
|
|
291
|
-
/**
|
|
292
|
-
* @deprecated use {@link RepositoryOverviewTop} instead
|
|
293
|
-
*/
|
|
294
|
-
type RepositoryOverviewTopExtension = RepositoryOverviewTop;
|
|
295
226
|
type RepositoryOverviewTop = RenderableExtensionPointDefinition<"repository.overview.top", {
|
|
296
227
|
page: number;
|
|
297
228
|
search?: string;
|
|
298
229
|
namespace?: string;
|
|
299
230
|
}>;
|
|
300
|
-
/**
|
|
301
|
-
* @deprecated use {@link RepositoryOverviewLeft} instead
|
|
302
|
-
*/
|
|
303
|
-
type RepositoryOverviewLeftExtension = RepositoryOverviewLeft;
|
|
304
231
|
type RepositoryOverviewLeft = ExtensionPointDefinition<"repository.overview.left", React__default.ComponentType>;
|
|
305
|
-
/**
|
|
306
|
-
* @deprecated use {@link RepositoryOverviewTitle} instead
|
|
307
|
-
*/
|
|
308
|
-
type RepositoryOverviewTitleExtension = RepositoryOverviewTitle;
|
|
309
232
|
type RepositoryOverviewTitle = RenderableExtensionPointDefinition<"repository.overview.title">;
|
|
310
|
-
/**
|
|
311
|
-
* @deprecated use {@link RepositoryOverviewSubtitle} instead
|
|
312
|
-
*/
|
|
313
|
-
type RepositoryOverviewSubtitleExtension = RepositoryOverviewSubtitle;
|
|
314
233
|
type RepositoryOverviewSubtitle = RenderableExtensionPointDefinition<"repository.overview.subtitle">;
|
|
315
234
|
/**
|
|
316
235
|
* Specify options for the repository overview like the page size
|
|
@@ -325,9 +244,7 @@ type DocumentTitleExtensionPoint = ExtensionPointDefinition<"document.title", {
|
|
|
325
244
|
type AdminNavigation = RenderableExtensionPointDefinition<"admin.navigation", {
|
|
326
245
|
links: Links;
|
|
327
246
|
}>;
|
|
328
|
-
type AdminRoute = RouteExtensionPointDefinition<"admin.route"
|
|
329
|
-
links?: Links;
|
|
330
|
-
}>;
|
|
247
|
+
type AdminRoute = RouteExtensionPointDefinition<"admin.route">;
|
|
331
248
|
type AdminSetting = RenderableExtensionPointDefinition<"admin.setting", {
|
|
332
249
|
links?: Links;
|
|
333
250
|
}>;
|
|
@@ -378,9 +295,7 @@ type GroupSetting = RenderableExtensionPointDefinition<"group.setting", {
|
|
|
378
295
|
* - Add a new Route to the main Route (scm/)
|
|
379
296
|
* - Props: authenticated?: boolean, links: Links
|
|
380
297
|
*/
|
|
381
|
-
type MainRoute = RouteExtensionPointDefinition<"main.route"
|
|
382
|
-
authenticated?: boolean;
|
|
383
|
-
}>;
|
|
298
|
+
type MainRoute = RouteExtensionPointDefinition<"main.route">;
|
|
384
299
|
type PluginAvatar = RenderableExtensionPointDefinition<"plugins.plugin-avatar", {
|
|
385
300
|
plugin: Plugin;
|
|
386
301
|
}>;
|
|
@@ -396,16 +311,12 @@ type PrimaryNavigationFirstMenu = RenderableExtensionPointDefinition<"primary-na
|
|
|
396
311
|
links: Links;
|
|
397
312
|
label: string;
|
|
398
313
|
}>;
|
|
399
|
-
type ProfileRoute = RouteExtensionPointDefinition<"profile.route"
|
|
400
|
-
me: Me;
|
|
401
|
-
}>;
|
|
314
|
+
type ProfileRoute = RouteExtensionPointDefinition<"profile.route">;
|
|
402
315
|
type ProfileSetting = RenderableExtensionPointDefinition<"profile.setting", {
|
|
403
316
|
me?: Me;
|
|
404
317
|
links: Links;
|
|
405
318
|
}>;
|
|
406
|
-
type RepoConfigRoute = RouteExtensionPointDefinition<"repo-config.route"
|
|
407
|
-
repository?: Repository;
|
|
408
|
-
}>;
|
|
319
|
+
type RepoConfigRoute = RouteExtensionPointDefinition<"repo-config.route">;
|
|
409
320
|
type RepoConfigDetails = RenderableExtensionPointDefinition<"repo-config.details", {
|
|
410
321
|
repository?: Repository;
|
|
411
322
|
}>;
|
|
@@ -585,10 +496,7 @@ type RepositorySourcesContentDownloadButton = RenderableExtensionPointDefinition
|
|
|
585
496
|
repository: Repository;
|
|
586
497
|
file: File;
|
|
587
498
|
}>;
|
|
588
|
-
type RepositoryRoute = RouteExtensionPointDefinition<"repository.route"
|
|
589
|
-
repository?: Repository;
|
|
590
|
-
indexLinks?: Links;
|
|
591
|
-
}>;
|
|
499
|
+
type RepositoryRoute = RouteExtensionPointDefinition<"repository.route">;
|
|
592
500
|
type RepositoryRedirectProps = {
|
|
593
501
|
namespace: string;
|
|
594
502
|
name: string;
|
|
@@ -660,7 +568,6 @@ type BranchMenuDetailProps = {
|
|
|
660
568
|
branch: Branch;
|
|
661
569
|
};
|
|
662
570
|
/**
|
|
663
|
-
* @beta
|
|
664
571
|
* @since 2.46.0
|
|
665
572
|
* @example
|
|
666
573
|
* ```typescript
|
|
@@ -682,7 +589,6 @@ type BranchListDetailProps = {
|
|
|
682
589
|
branchDetails?: BranchDetails;
|
|
683
590
|
};
|
|
684
591
|
/**
|
|
685
|
-
* @beta
|
|
686
592
|
* @since 2.46.0
|
|
687
593
|
* @example
|
|
688
594
|
* ```typescript
|
|
@@ -701,39 +607,20 @@ type BranchListDetailProps = {
|
|
|
701
607
|
type BranchListDetail = RenderableExtensionPointDefinition<"branches.list.detail", BranchListDetailProps>;
|
|
702
608
|
|
|
703
609
|
type extensionPoints_RepositoryCreatorComponentProps = RepositoryCreatorComponentProps;
|
|
704
|
-
type extensionPoints_RepositoryCreatorExtension = RepositoryCreatorExtension;
|
|
705
610
|
type extensionPoints_RepositoryCreator = RepositoryCreator;
|
|
706
611
|
type extensionPoints_RepositoryFlags = RepositoryFlags;
|
|
707
|
-
type extensionPoints_ReposSourcesActionbarExtensionProps = ReposSourcesActionbarExtensionProps;
|
|
708
|
-
type extensionPoints_ReposSourcesActionbarExtension = ReposSourcesActionbarExtension;
|
|
709
612
|
type extensionPoints_ReposSourcesActionbar = ReposSourcesActionbar;
|
|
710
|
-
type extensionPoints_ReposSourcesEmptyActionbarExtensionProps = ReposSourcesEmptyActionbarExtensionProps;
|
|
711
|
-
type extensionPoints_ReposSourcesEmptyActionbarExtension = ReposSourcesEmptyActionbarExtension;
|
|
712
613
|
type extensionPoints_ReposSourcesEmptyActionbar = ReposSourcesEmptyActionbar;
|
|
713
|
-
type extensionPoints_ReposSourcesTreeWrapperProps = ReposSourcesTreeWrapperProps;
|
|
714
|
-
type extensionPoints_ReposSourcesTreeWrapperExtension = ReposSourcesTreeWrapperExtension;
|
|
715
614
|
type extensionPoints_ReposSourcesTreeWrapper = ReposSourcesTreeWrapper;
|
|
716
615
|
type extensionPoints_ReposSourcesTreeRowProps = ReposSourcesTreeRowProps;
|
|
717
|
-
type extensionPoints_ReposSourcesTreeRowRightExtension = ReposSourcesTreeRowRightExtension;
|
|
718
616
|
type extensionPoints_ReposSourcesTreeRowRight = ReposSourcesTreeRowRight;
|
|
719
|
-
type extensionPoints_ReposSourcesTreeRowAfterExtension = ReposSourcesTreeRowAfterExtension;
|
|
720
617
|
type extensionPoints_ReposSourcesTreeRowAfter = ReposSourcesTreeRowAfter;
|
|
721
|
-
type extensionPoints_PrimaryNavigationLoginButtonProps = PrimaryNavigationLoginButtonProps;
|
|
722
|
-
type extensionPoints_PrimaryNavigationLoginButtonExtension = PrimaryNavigationLoginButtonExtension;
|
|
723
618
|
type extensionPoints_PrimaryNavigationLoginButton = PrimaryNavigationLoginButton;
|
|
724
|
-
type extensionPoints_PrimaryNavigationLogoutButtonProps = PrimaryNavigationLogoutButtonProps;
|
|
725
|
-
type extensionPoints_PrimaryNavigationLogoutButtonExtension = PrimaryNavigationLogoutButtonExtension;
|
|
726
619
|
type extensionPoints_PrimaryNavigationLogoutButton = PrimaryNavigationLogoutButton;
|
|
727
|
-
type extensionPoints_SourceExtensionProps = SourceExtensionProps;
|
|
728
620
|
type extensionPoints_SourceExtension = SourceExtension;
|
|
729
|
-
type extensionPoints_RepositoryOverviewTopExtensionProps = RepositoryOverviewTopExtensionProps;
|
|
730
|
-
type extensionPoints_RepositoryOverviewTopExtension = RepositoryOverviewTopExtension;
|
|
731
621
|
type extensionPoints_RepositoryOverviewTop = RepositoryOverviewTop;
|
|
732
|
-
type extensionPoints_RepositoryOverviewLeftExtension = RepositoryOverviewLeftExtension;
|
|
733
622
|
type extensionPoints_RepositoryOverviewLeft = RepositoryOverviewLeft;
|
|
734
|
-
type extensionPoints_RepositoryOverviewTitleExtension = RepositoryOverviewTitleExtension;
|
|
735
623
|
type extensionPoints_RepositoryOverviewTitle = RepositoryOverviewTitle;
|
|
736
|
-
type extensionPoints_RepositoryOverviewSubtitleExtension = RepositoryOverviewSubtitleExtension;
|
|
737
624
|
type extensionPoints_RepositoryOverviewSubtitle = RepositoryOverviewSubtitle;
|
|
738
625
|
type extensionPoints_RepositoryOverviewListOptionsExtensionPoint = RepositoryOverviewListOptionsExtensionPoint;
|
|
739
626
|
type extensionPoints_DocumentTitleExtensionPoint = DocumentTitleExtensionPoint;
|
|
@@ -806,39 +693,20 @@ type extensionPoints_BranchListDetail = BranchListDetail;
|
|
|
806
693
|
declare namespace extensionPoints {
|
|
807
694
|
export {
|
|
808
695
|
extensionPoints_RepositoryCreatorComponentProps as RepositoryCreatorComponentProps,
|
|
809
|
-
extensionPoints_RepositoryCreatorExtension as RepositoryCreatorExtension,
|
|
810
696
|
extensionPoints_RepositoryCreator as RepositoryCreator,
|
|
811
697
|
extensionPoints_RepositoryFlags as RepositoryFlags,
|
|
812
|
-
extensionPoints_ReposSourcesActionbarExtensionProps as ReposSourcesActionbarExtensionProps,
|
|
813
|
-
extensionPoints_ReposSourcesActionbarExtension as ReposSourcesActionbarExtension,
|
|
814
698
|
extensionPoints_ReposSourcesActionbar as ReposSourcesActionbar,
|
|
815
|
-
extensionPoints_ReposSourcesEmptyActionbarExtensionProps as ReposSourcesEmptyActionbarExtensionProps,
|
|
816
|
-
extensionPoints_ReposSourcesEmptyActionbarExtension as ReposSourcesEmptyActionbarExtension,
|
|
817
699
|
extensionPoints_ReposSourcesEmptyActionbar as ReposSourcesEmptyActionbar,
|
|
818
|
-
extensionPoints_ReposSourcesTreeWrapperProps as ReposSourcesTreeWrapperProps,
|
|
819
|
-
extensionPoints_ReposSourcesTreeWrapperExtension as ReposSourcesTreeWrapperExtension,
|
|
820
700
|
extensionPoints_ReposSourcesTreeWrapper as ReposSourcesTreeWrapper,
|
|
821
701
|
extensionPoints_ReposSourcesTreeRowProps as ReposSourcesTreeRowProps,
|
|
822
|
-
extensionPoints_ReposSourcesTreeRowRightExtension as ReposSourcesTreeRowRightExtension,
|
|
823
702
|
extensionPoints_ReposSourcesTreeRowRight as ReposSourcesTreeRowRight,
|
|
824
|
-
extensionPoints_ReposSourcesTreeRowAfterExtension as ReposSourcesTreeRowAfterExtension,
|
|
825
703
|
extensionPoints_ReposSourcesTreeRowAfter as ReposSourcesTreeRowAfter,
|
|
826
|
-
extensionPoints_PrimaryNavigationLoginButtonProps as PrimaryNavigationLoginButtonProps,
|
|
827
|
-
extensionPoints_PrimaryNavigationLoginButtonExtension as PrimaryNavigationLoginButtonExtension,
|
|
828
704
|
extensionPoints_PrimaryNavigationLoginButton as PrimaryNavigationLoginButton,
|
|
829
|
-
extensionPoints_PrimaryNavigationLogoutButtonProps as PrimaryNavigationLogoutButtonProps,
|
|
830
|
-
extensionPoints_PrimaryNavigationLogoutButtonExtension as PrimaryNavigationLogoutButtonExtension,
|
|
831
705
|
extensionPoints_PrimaryNavigationLogoutButton as PrimaryNavigationLogoutButton,
|
|
832
|
-
extensionPoints_SourceExtensionProps as SourceExtensionProps,
|
|
833
706
|
extensionPoints_SourceExtension as SourceExtension,
|
|
834
|
-
extensionPoints_RepositoryOverviewTopExtensionProps as RepositoryOverviewTopExtensionProps,
|
|
835
|
-
extensionPoints_RepositoryOverviewTopExtension as RepositoryOverviewTopExtension,
|
|
836
707
|
extensionPoints_RepositoryOverviewTop as RepositoryOverviewTop,
|
|
837
|
-
extensionPoints_RepositoryOverviewLeftExtension as RepositoryOverviewLeftExtension,
|
|
838
708
|
extensionPoints_RepositoryOverviewLeft as RepositoryOverviewLeft,
|
|
839
|
-
extensionPoints_RepositoryOverviewTitleExtension as RepositoryOverviewTitleExtension,
|
|
840
709
|
extensionPoints_RepositoryOverviewTitle as RepositoryOverviewTitle,
|
|
841
|
-
extensionPoints_RepositoryOverviewSubtitleExtension as RepositoryOverviewSubtitleExtension,
|
|
842
710
|
extensionPoints_RepositoryOverviewSubtitle as RepositoryOverviewSubtitle,
|
|
843
711
|
extensionPoints_RepositoryOverviewListOptionsExtensionPoint as RepositoryOverviewListOptionsExtensionPoint,
|
|
844
712
|
extensionPoints_DocumentTitleExtensionPoint as DocumentTitleExtensionPoint,
|
|
@@ -911,4 +779,4 @@ declare namespace extensionPoints {
|
|
|
911
779
|
};
|
|
912
780
|
}
|
|
913
781
|
|
|
914
|
-
export { Binder, BinderContext, ExtensionPoint, ExtensionPointDefinition,
|
|
782
|
+
export { Binder, BinderContext, ExtensionPoint, ExtensionPointDefinition, RenderableExtensionPointDefinition, SimpleRenderableDynamicExtensionPointDefinition, binder, extensionPoints, useBinder, useRouteExtensions };
|
package/build/index.js
CHANGED
|
@@ -198,7 +198,7 @@ function ExtensionPoint({ name, propTransformer, props, renderAll, wrapper, chil
|
|
|
198
198
|
return renderSingleExtension(binder2, name, renderProps);
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
// src/
|
|
201
|
+
// src/useRouteExtensions.ts
|
|
202
202
|
function useRouteExtensions({
|
|
203
203
|
name,
|
|
204
204
|
props
|
package/build/index.mjs
CHANGED
|
@@ -160,7 +160,7 @@ function ExtensionPoint({ name, propTransformer, props, renderAll, wrapper, chil
|
|
|
160
160
|
return renderSingleExtension(binder2, name, renderProps);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
// src/
|
|
163
|
+
// src/useRouteExtensions.ts
|
|
164
164
|
function useRouteExtensions({
|
|
165
165
|
name,
|
|
166
166
|
props
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scm-manager/ui-extensions",
|
|
3
|
-
"version": "4.0.0-REACT19-
|
|
3
|
+
"version": "4.0.0-REACT19-20251104-141645",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Sebastian Sdorra <sebastian.sdorra@cloudogu.com>",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@scm-manager/eslint-config": "^2.18.2",
|
|
29
29
|
"@scm-manager/prettier-config": "^2.12.0",
|
|
30
30
|
"@scm-manager/tsconfig": "^2.13.0",
|
|
31
|
-
"@scm-manager/ui-types": "4.0.0-REACT19-
|
|
31
|
+
"@scm-manager/ui-types": "4.0.0-REACT19-20251104-141645",
|
|
32
32
|
"@vitest/coverage-v8": "^3.2.4",
|
|
33
33
|
"@testing-library/react": "16.3.0",
|
|
34
34
|
"@types/react": "^19.1.1",
|