@gouvfr-lasuite/ui-kit 0.18.1 → 0.18.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/dist/index.cjs +20 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +37 -0
- package/dist/index.js +1013 -932
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -691,6 +691,24 @@ export declare const Label: ({ children, text, ...props }: LabelHTMLAttributes<H
|
|
|
691
691
|
|
|
692
692
|
export declare const LaGaufre: () => JSX.Element;
|
|
693
693
|
|
|
694
|
+
export declare const LaGaufreV2: ({ apiUrl, data, ...props }: LaGaufreV2Props) => JSX.Element;
|
|
695
|
+
|
|
696
|
+
export declare type LaGaufreV2Props = {
|
|
697
|
+
widgetPath: string;
|
|
698
|
+
apiUrl: string;
|
|
699
|
+
data?: ServicesResponse;
|
|
700
|
+
fontFamily?: string;
|
|
701
|
+
background?: string;
|
|
702
|
+
headerLogo?: string;
|
|
703
|
+
headerUrl?: string;
|
|
704
|
+
label?: string;
|
|
705
|
+
closeLabel?: string;
|
|
706
|
+
headerLabel?: string;
|
|
707
|
+
loadingText?: string;
|
|
708
|
+
newWindowLabelSuffix?: string;
|
|
709
|
+
showMoreLimit?: number;
|
|
710
|
+
};
|
|
711
|
+
|
|
694
712
|
/**
|
|
695
713
|
* A DropdownMenu specific to languages.
|
|
696
714
|
*
|
|
@@ -1079,6 +1097,12 @@ export declare type OpenMap = {
|
|
|
1079
1097
|
[id: string]: boolean;
|
|
1080
1098
|
};
|
|
1081
1099
|
|
|
1100
|
+
declare type Organization = {
|
|
1101
|
+
name: string;
|
|
1102
|
+
type: string;
|
|
1103
|
+
siret: string;
|
|
1104
|
+
};
|
|
1105
|
+
|
|
1082
1106
|
export declare type PaginatedChildrenResult<T> = {
|
|
1083
1107
|
children?: TreeViewDataType<T>[];
|
|
1084
1108
|
pagination?: BaseTreeViewData<T>["pagination"];
|
|
@@ -1168,6 +1192,19 @@ declare type SearchUserItemProps<UserType> = {
|
|
|
1168
1192
|
user: UserData<UserType>;
|
|
1169
1193
|
};
|
|
1170
1194
|
|
|
1195
|
+
export declare type Service = {
|
|
1196
|
+
name: string;
|
|
1197
|
+
url: string;
|
|
1198
|
+
maturity?: string;
|
|
1199
|
+
logo?: string;
|
|
1200
|
+
};
|
|
1201
|
+
|
|
1202
|
+
declare type ServicesResponse = {
|
|
1203
|
+
organization?: Organization;
|
|
1204
|
+
services: Service[];
|
|
1205
|
+
error?: unknown;
|
|
1206
|
+
};
|
|
1207
|
+
|
|
1171
1208
|
export declare const ShareInvitationItem: <UserType, InvitationType>({ invitation, roles, updateRole, deleteInvitation, canUpdate, showMoreActionsButton, roleTopMessage, }: ShareInvitationItemProps<UserType, InvitationType>) => JSX.Element;
|
|
1172
1209
|
|
|
1173
1210
|
export declare type ShareInvitationItemProps<UserType, InvitationType> = {
|