diff --git a/Breadcrumb/Breadcrumb/components/CanvasBreadcrumb.tsx b/Breadcrumb/Breadcrumb/components/CanvasBreadcrumb.tsx index d86a6448..ed0d568f 100644 --- a/Breadcrumb/Breadcrumb/components/CanvasBreadcrumb.tsx +++ b/Breadcrumb/Breadcrumb/components/CanvasBreadcrumb.tsx @@ -51,6 +51,10 @@ export const CanvasBreadcrumb = React.memo((props: IBreadcrumbProps): React.Reac const breadcrumbItems: IBreadcrumbItem[] = getBreadcrumbItems(items, onClick); + // onReduceData is required to prevent breadcrumb from shrinking + // when item changes dynamically + const returnUndefined = () => undefined; + return ( ); diff --git a/Breadcrumb/package-lock.json b/Breadcrumb/package-lock.json index e1955369..3c81301b 100644 --- a/Breadcrumb/package-lock.json +++ b/Breadcrumb/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "dependencies": { "@fluentui/react": "8.29.0", - "@fluentui/react-hooks": "^8.5.4", + "@fluentui/react-hooks": "8.5.4", "react": "16.8.6", "react-dom": "16.8.6" }, diff --git a/Breadcrumb/package.json b/Breadcrumb/package.json index c7f9d8a9..220f63d3 100644 --- a/Breadcrumb/package.json +++ b/Breadcrumb/package.json @@ -14,7 +14,7 @@ }, "dependencies": { "@fluentui/react": "8.29.0", - "@fluentui/react-hooks": "^8.5.4", + "@fluentui/react-hooks": "8.5.4", "react": "16.8.6", "react-dom": "16.8.6" }, diff --git a/Calendar/Calendar/loc/Readme.md b/Calendar/Calendar/loc/Readme.md index 6ce75844..590077eb 100644 --- a/Calendar/Calendar/loc/Readme.md +++ b/Calendar/Calendar/loc/Readme.md @@ -6,7 +6,6 @@ All the translation files are borrowed from contributions(Link at the bottom) an - Galician(gl-ES) - Hindi (hi-IN) - Croatian(hr-HR) - - Hungarian(hu-HU) - Indonesian(id-ID) - Latvian(lv-LV) - Korean(ko-KR) @@ -23,4 +22,6 @@ Inorder to include the above mentioned language file(s), headover to [loc folder Note: Only languages which are supported by [Language function](https://docs.microsoft.com/en-us/power-platform/power-fx/reference/function-language) in PowerApps are considered, i.e. [IETF BCP-47 language tag](https://tools.ietf.org/html/bcp47) format. -Reference : https://github.com/pnp/sp-dev-fx-controls-react/tree/master/src/loc \ No newline at end of file +Important : Please submit a Pull Reuqest pointing to beta branch. + +Reference : https://github.com/pnp/sp-dev-fx-controls-react/tree/master/src/loc \ No newline at end of file diff --git a/Calendar/Calendar/loc/da-dk.ts b/Calendar/Calendar/loc/da-dk.ts index fc1b4e5f..c6efdeac 100644 --- a/Calendar/Calendar/loc/da-dk.ts +++ b/Calendar/Calendar/loc/da-dk.ts @@ -3,33 +3,33 @@ define([], () => { DatePickerMonthLongJanuary: 'Januar', DatePickerMonthShortJanuary: 'Jan', DatePickerMonthLongFebruary: 'Februar', - DatePickerMonthShortFebruary: 'Februar', + DatePickerMonthShortFebruary: 'Feb', DatePickerMonthLongMarch: 'Marts', DatePickerMonthShortMarch: 'Mar', DatePickerMonthLongApril: 'April', DatePickerMonthShortApril: 'Apr', - DatePickerMonthLongMay: 'Kan', - DatePickerMonthShortMay: 'Kan', + DatePickerMonthLongMay: 'Maj', + DatePickerMonthShortMay: 'Maj', DatePickerMonthLongJune: 'Juni', - DatePickerMonthShortJune: 'Juni', + DatePickerMonthShortJune: 'Jun', DatePickerMonthLongJuly: 'Juli', DatePickerMonthShortJuly: 'Jul', DatePickerMonthLongAugust: 'August', - DatePickerMonthShortAugust: 'August', + DatePickerMonthShortAugust: 'Aug', DatePickerMonthLongSeptember: 'September', - DatePickerMonthShortSeptember: 'Syv', + DatePickerMonthShortSeptember: 'Sep', DatePickerMonthLongOctober: 'Oktober', - DatePickerMonthShortOctober: 'Oktober', + DatePickerMonthShortOctober: 'Okt', DatePickerMonthLongNovember: 'November', - DatePickerMonthShortNovember: 'November', + DatePickerMonthShortNovember: 'Nov', DatePickerMonthLongDecember: 'December', - DatePickerMonthShortDecember: 'December', + DatePickerMonthShortDecember: 'Dec', DatePickerDayLongSunday: 'Søndag', - DatePickerDayShortSunday: 'Sun', + DatePickerDayShortSunday: 'Søn', DatePickerDayLongMonday: 'Mandag', - DatePickerDayShortMonday: 'Min', + DatePickerDayShortMonday: 'Man', DatePickerDayLongTuesday: 'Tirsdag', - DatePickerDayShortTuesday: 'Tue', + DatePickerDayShortTuesday: 'Tir', DatePickerDayLongWednesday: 'Onsdag', DatePickerDayShortWednesday: 'Ons', DatePickerDayLongThursday: 'Torsdag', diff --git a/Calendar/Calendar/loc/hu-hu.ts b/Calendar/Calendar/loc/hu-hu.ts new file mode 100644 index 00000000..6267b76a --- /dev/null +++ b/Calendar/Calendar/loc/hu-hu.ts @@ -0,0 +1,53 @@ +define([], () => { + return { + DatePickerMonthLongJanuary: 'Január', + DatePickerMonthShortJanuary: 'Jan', + DatePickerMonthLongFebruary: 'Február', + DatePickerMonthShortFebruary: 'Feb', + DatePickerMonthLongMarch: 'Március', + DatePickerMonthShortMarch: 'Már', + DatePickerMonthLongApril: 'Április', + DatePickerMonthShortApril: 'Ápr', + DatePickerMonthLongMay: 'Május', + DatePickerMonthShortMay: 'Máj', + DatePickerMonthLongJune: 'Június', + DatePickerMonthShortJune: 'Jún', + DatePickerMonthLongJuly: 'Július', + DatePickerMonthShortJuly: 'Júl', + DatePickerMonthLongAugust: 'Augusztus', + DatePickerMonthShortAugust: 'Aug', + DatePickerMonthLongSeptember: 'Szeptember', + DatePickerMonthShortSeptember: 'Szept', + DatePickerMonthLongOctober: 'Október', + DatePickerMonthShortOctober: 'Okt', + DatePickerMonthLongNovember: 'November', + DatePickerMonthShortNovember: 'Nov', + DatePickerMonthLongDecember: 'December', + DatePickerMonthShortDecember: 'Dec', + DatePickerDayLongSunday: 'Vasárnap', + DatePickerDayShortSunday: 'Vas', + DatePickerDayLongMonday: 'Hétfő', + DatePickerDayShortMonday: 'Hé', + DatePickerDayLongTuesday: 'Kedd', + DatePickerDayShortTuesday: 'Ke', + DatePickerDayLongWednesday: 'Szerda', + DatePickerDayShortWednesday: 'Sze', + DatePickerDayLongThursday: 'Csütörtök', + DatePickerDayShortThursday: 'Csü', + DatePickerDayLongFriday: 'Péntek', + DatePickerDayShortFriday: 'Pé', + DatePickerDayLongSaturday: 'Szombat', + DatePickerDayShortSaturday: 'Szo', + DatePickerGoToToday: 'Ma', + DatePickerIsRequiredErrorMessage: '', + DatePickerInvalidInputErrorMessage: '', + DatePickerIsOutOfBoundsErrorMessage: '', + DateTimePickerDate: 'Dátum', + DateTimePickerTime: 'Idő', + DateTimePickerTimeSeparator: ':', + DateTimePickerHourValueInvalid: 'Helytelen óra érték', + DateTimePickerMinuteValueInvalid: 'Helytelen perc érték', + DateTimePickerSecondValueInvalid: 'Helytelen másodperc érték', + DateTimePickerTextErrorMessage: 'Helyes dátum értéket adjon meg', + }; +}); \ No newline at end of file diff --git a/DetailsList/DetailsList/index.ts b/DetailsList/DetailsList/index.ts index f0e78a48..e254181a 100644 --- a/DetailsList/DetailsList/index.ts +++ b/DetailsList/DetailsList/index.ts @@ -12,6 +12,7 @@ const SelectionTypes: Record<'0' | '1' | '2', SelectionMode> = { }; export class FluentDetailsList implements ComponentFramework.ReactControl { + private static readonly COLUMN_LIMIT: number = 125; notifyOutputChanged: () => void; container: HTMLDivElement; context: ComponentFramework.Context; @@ -51,6 +52,12 @@ export class FluentDetailsList implements ComponentFramework.ReactControl): React.ReactElement { @@ -167,12 +174,12 @@ export class FluentDetailsList implements ComponentFramework.ReactControl -