Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Aug 10, 2024
1 parent c94a0be commit e14cd45
Show file tree
Hide file tree
Showing 36 changed files with 7,976 additions and 7,709 deletions.
2 changes: 0 additions & 2 deletions 626.c03971eb.iframe.bundle.js

This file was deleted.

2 changes: 2 additions & 0 deletions 73.cf04fb26.iframe.bundle.js

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions Header/Header.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,5 @@ export type HeaderQuickAccessItemProps = {
quickAccessItem: HeaderProps.QuickAccessItem;
id?: string;
};
/** NOTE: If you wrap this component you should forward the id */
export declare function HeaderQuickAccessItem(props: HeaderQuickAccessItemProps): JSX.Element;
1 change: 1 addition & 0 deletions Header/Header.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Header/Header.js.map

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions LanguageSelect.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import "./assets/language-select.css";
/** NOTE: Can be used as quick access item in the Header */
export declare function LanguageSelect<Language extends string>(props: {
id?: string;
supportedLangs: readonly Language[];
fullNameByLang: Record<Language, string>;
lang: Language;
setLang: (lang: Language) => void;
}): JSX.Element;
export declare const useTranslation: () => {
t: (<K extends "select language">(messageKey: K) => {
"select language": string;
}[K] extends (params: any) => infer R ? R : {
"select language": string;
}[K]) & (<K_1 extends never>(messageKey: K_1, params: {
"select language": string;
}[K_1] extends infer T ? T extends {
"select language": string;
}[K_1] ? T extends (params: any) => any ? Parameters<T>[0] : never : never : never) => {
"select language": string;
}[K_1] extends (params: any) => infer R_1 ? R_1 : {
"select language": string;
}[K_1]);
}, addLanguageSelectTranslations: (params: {
lang: string;
messages: Partial<{
"select language": string;
}>;
}) => void;
60 changes: 60 additions & 0 deletions LanguageSelect.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions LanguageSelect.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions assets/language-select.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@



.language-select .short-label {
text-transform: uppercase
}
.language-select .fr-menu {
right: 0;
}

.language-select .fr-translate {
display: inline-flex;;
}
2 changes: 2 additions & 0 deletions dsfr/dsfr/dsfr.module.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dsfr/icons/remixicon/id-card-line.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dsfr/icons/remixicon/logout-box-line.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e14cd45

Please sign in to comment.