Skip to content

Commit 329cbc8

Browse files
authored
Merge pull request #335 from SharePoint/dev
Merge for 1.14.0
2 parents 31bb2a0 + 985e50f commit 329cbc8

File tree

25 files changed

+731
-242
lines changed

25 files changed

+731
-242
lines changed

CHANGELOG.JSON

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
{
22
"versions": [
3+
{
4+
"version": "1.14.0",
5+
"changes": {
6+
"new": [],
7+
"enhancements": [
8+
"German translations added for attachment and RichText controls [#333](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/333)",
9+
"`SecurityTrimmedControl`: Added a wrapper `className` property for the parent element [#325](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/325)",
10+
"`ListPicker`: Add ability to filter the control via OData [#319](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/319)",
11+
"`IFrameDialog`: closing dialog on commit [#313](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/313)",
12+
"`WebPartTitle` add support for section background color [#258](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/258)"
13+
],
14+
"fixes": [
15+
"Fix in return type of onClick and onDoubleClick events [#321](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/321)",
16+
"`ListPicker`: Fix for available dropdown selection after selection was done [#315](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/315)",
17+
"Fixes to French translations [#312](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/312)",
18+
"`RichText`: Issue on rendering the control in view mode [#287](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/287)"
19+
]
20+
},
21+
"contributions": [
22+
"[Amr Fouad](https://github.com/ministainer)",
23+
"[Joel Jeffery](https://github.com/joeljeffery)",
24+
"[Mark Powney](https://github.com/mpowney)",
25+
"[Dominik Schmieder](https://github.com/DominikSchmieder)",
26+
"[Alex Terentiev](https://github.com/AJIXuMuK)",
27+
"[Zhephyr](https://github.com/Zhephyr54)"
28+
]
29+
},
330
{
431
"version": "1.13.2",
532
"changes": {

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Releases
22

3+
## 1.14.0
4+
5+
### Enhancements
6+
7+
- German translations added for attachment and RichText controls [#333](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/333)
8+
- `SecurityTrimmedControl`: Added a wrapper `className` property for the parent element [#325](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/325)
9+
- `ListPicker`: Add ability to filter the control via OData [#319](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/319)
10+
- `IFrameDialog`: closing dialog on commit [#313](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/313)
11+
- `WebPartTitle` add support for section background color [#258](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/258)
12+
13+
### Fixes
14+
15+
- Fix in return type of onClick and onDoubleClick events [#321](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/321)
16+
- `ListPicker`: Fix for available dropdown selection after selection was done [#315](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/315)
17+
- Fixes to French translations [#312](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/312)
18+
- `RichText`: Issue on rendering the control in view mode [#287](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/287)
19+
20+
### Contributors
21+
22+
Special thanks to our contributors (in alphabetical order): [Amr Fouad](https://github.com/ministainer), [Joel Jeffery](https://github.com/joeljeffery), [Mark Powney](https://github.com/mpowney), [Dominik Schmieder](https://github.com/DominikSchmieder), [Alex Terentiev](https://github.com/AJIXuMuK), [Zhephyr](https://github.com/Zhephyr54).
23+
324
## 1.13.2
425

526
### Enhancements

de-de.ts

Lines changed: 214 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,214 @@
1+
declare var define: any;
2+
3+
define([], () => {
4+
return {
5+
'SiteBreadcrumbLabel': 'Website Brotkrume',
6+
7+
'ListViewGroupEmptyLabel': 'Leer',
8+
9+
'WebPartTitlePlaceholder': 'Webpart Titel',
10+
'WebPartTitleLabel': 'Titel hinzufügen',
11+
12+
'DateTime': {
13+
'L_RelativeDateTime_AFewSecondsFuture': 'In wenigen Sekunden',
14+
'L_RelativeDateTime_AFewSeconds': 'Vor wenigen Sekunden',
15+
'L_RelativeDateTime_AboutAMinuteFuture': 'In ungefähr einer Minute',
16+
'L_RelativeDateTime_AboutAMinute': 'Vor ungefähr einer Minute',
17+
'L_RelativeDateTime_XMinutesFuture': 'In {0} Minute||In {0} Minuten',
18+
'L_RelativeDateTime_XMinutes': 'Vor {0} Minute||Vor {0} Minuten',
19+
'L_RelativeDateTime_XMinutesFutureIntervals': '1||2-',
20+
'L_RelativeDateTime_XMinutesIntervals': '1||2-',
21+
'L_RelativeDateTime_AboutAnHourFuture': 'In ungefähr einer Stunde',
22+
'L_RelativeDateTime_AboutAnHour': 'Vor ungefähr einer Stunde',
23+
'L_RelativeDateTime_Tomorrow': 'Morgen',
24+
'L_RelativeDateTime_Yesterday': 'Gestern',
25+
'L_RelativeDateTime_TomorrowAndTime': 'Morgen um {0}',
26+
'L_RelativeDateTime_YesterdayAndTime': 'Gestern um {0}',
27+
'L_RelativeDateTime_XHoursFuture': 'In {0} Stunde||In {0} Stunden',
28+
'L_RelativeDateTime_XHours': 'Vor {0} Stunde||Vor {0} Stunden',
29+
'L_RelativeDateTime_XHoursFutureIntervals': '1||2-',
30+
'L_RelativeDateTime_XHoursIntervals': '1||2-',
31+
'L_RelativeDateTime_DayAndTime': '{0} at {1}',
32+
'L_RelativeDateTime_XDaysFuture': '{0} Tag ab jetzt||{0} Tage ab jetzt',
33+
'L_RelativeDateTime_XDays': 'Vor {0} Tag||Vor {0} Tagen',
34+
'L_RelativeDateTime_XDaysFutureIntervals': '1||2-',
35+
'L_RelativeDateTime_XDaysIntervals': '1||2-',
36+
'L_RelativeDateTime_Today': 'Heute'
37+
},
38+
'SendEmailTo': 'Email senden an {0}',
39+
'StartChatWith': 'Chat starten mit {0}',
40+
'Contact': 'Kontakt',
41+
'UpdateProfile': 'Aktualisiere Dein Profil',
42+
43+
'TaxonomyPickerNoTerms': 'Ausdruckssatz enthält keine Ausdrücke',
44+
'TaxonomyPickerExpandTitle': 'Ausdruckssatz erweitern',
45+
'TaxonomyPickerMenuTermSet': 'Ausdruckssatz Menü',
46+
'TaxonomyPickerInLabel': 'in',
47+
'TaxonomyPickerTermSetLabel': 'Ausdruckssatz',
48+
49+
peoplePickerComponentTooltipMessage: 'People Picker',
50+
peoplePickerComponentErrorMessage: 'Benutzerauswahl ist ein Pflichtfeld',
51+
peoplePickerSuggestionsHeaderText: 'Vorgeschlagene Benutzer',
52+
peoplePickerLoadingText: 'Laden',
53+
PeoplePickerSearchText: 'Fetching users',
54+
PeoplePickerGroupNotFound: 'Gruppe konnte nicht gefunden werden.',
55+
ListItemPickerSelectValue: 'Wähle Wert',
56+
57+
mapsErrorMessage: 'Beim Laden von Karten ist ein Fehler aufgetreten',
58+
mapsLoadingText: 'Laden',
59+
mapsSearchButtonText: 'Suche',
60+
mapsTitlePrefix: 'Karte von',
61+
62+
genericNoResultsFoundText: 'Kein Ergebnis gefunden',
63+
64+
ListViewFilterLabel: 'Filter',
65+
66+
ListItemAttachmentsActionDeleteIconTitle: 'Löschen',
67+
ListItemAttachmentsactionDeleteTitle: 'Löschen',
68+
ListItemAttachmentsfileDeletedMsg: 'Datei {0} gelöscht',
69+
ListItemAttachmentsfileDeleteError: 'Fehler beim Löschen der Datei: {0}, Grund: {1}',
70+
ListItemAttachmentserrorLoadAttachments: 'Fehler beim Laden der Anhänge, Grund: {0}',
71+
ListItemAttachmentsconfirmDelete: 'Sind Sie sich sicher, dass Sie die Anlage {0} in den Papierkorb verschieben möchten ?',
72+
ListItemAttachmentsdialogTitle: 'Listenelement-Anhang',
73+
ListItemAttachmentsdialogOKbuttonLabel: 'Ok',
74+
ListItemAttachmentsdialogCancelButtonLabel: 'Abbrechen',
75+
ListItemAttachmentsdialogOKbuttonLabelOnDelete: 'Löschen',
76+
ListItemAttachmentsuploadAttachmentDialogTitle: 'Anlage hinzufügen',
77+
ListItemAttachmentsuploadAttachmentButtonLabel: 'Anlage hinzufügen',
78+
ListItemAttachmentsuploadAttachmentErrorMsg: 'Die Datei {0} wurde nicht hinzugefügt, Grund: {1}',
79+
ListItemAttachmentsCommandBarAddAttachmentLabel: 'Anlage hinzufügen',
80+
ListItemAttachmentsloadingMessage: 'Datei wird hochgeladen ...',
81+
ListItemAttachmentslPlaceHolderIconText: 'Listenelement-Anhang',
82+
ListItemAttachmentslPlaceHolderDescription: 'Bitte Anlage hinzufügen',
83+
ListItemAttachmentslPlaceHolderButtonLabel: 'Hinzufügen',
84+
85+
DatePickerMonthLongJanuary: 'Januar',
86+
DatePickerMonthShortJanuary: 'Jan',
87+
DatePickerMonthLongFebruary: 'Februar',
88+
DatePickerMonthShortFebruary: 'Feb',
89+
DatePickerMonthLongMarch: 'März',
90+
DatePickerMonthShortMarch: 'Mar',
91+
DatePickerMonthLongApril: 'April',
92+
DatePickerMonthShortApril: 'Apr',
93+
DatePickerMonthLongMay: 'Mai',
94+
DatePickerMonthShortMay: 'Mai',
95+
DatePickerMonthLongJune: 'Juni',
96+
DatePickerMonthShortJune: 'Jun',
97+
DatePickerMonthLongJuly: 'Juli',
98+
DatePickerMonthShortJuly: 'Jul',
99+
DatePickerMonthLongAugust: 'August',
100+
DatePickerMonthShortAugust: 'Aug',
101+
DatePickerMonthLongSeptember: 'September',
102+
DatePickerMonthShortSeptember: 'Sept',
103+
DatePickerMonthLongOctober: 'Oktober',
104+
DatePickerMonthShortOctober: 'Okt',
105+
DatePickerMonthLongNovember: 'November',
106+
DatePickerMonthShortNovember: 'Nov',
107+
DatePickerMonthLongDecember: 'Dezember',
108+
DatePickerMonthShortDecember: 'Dez',
109+
DatePickerDayLongSunday: 'Sonntag',
110+
DatePickerDayShortSunday: 'So.',
111+
DatePickerDayLongMonday: 'Montag',
112+
DatePickerDayShortMonday: 'Mo.',
113+
DatePickerDayLongTuesday: 'Dienstag',
114+
DatePickerDayShortTuesday: 'Di.',
115+
DatePickerDayLongWednesday: 'Mittwoch',
116+
DatePickerDayShortWednesday: 'Mi.',
117+
DatePickerDayLongThursday: 'Donnerstag',
118+
DatePickerDayShortThursday: 'Do.',
119+
DatePickerDayLongFriday: 'Freitag',
120+
DatePickerDayShortFriday: 'Fr.',
121+
DatePickerDayLongSaturday: 'Samstag',
122+
DatePickerDayShortSaturday: 'Sa.',
123+
DatePickerGoToToday: 'Heute',
124+
DatePickerIsRequiredErrorMessage: '',
125+
DatePickerInvalidInputErrorMessage: '',
126+
DatePickerIsOutOfBoundsErrorMessage: '',
127+
DateTimePickerDate: 'Datum',
128+
DateTimePickerTime: 'Uhrzeit',
129+
DateTimePickerTimeSeparator: ':',
130+
DateTimePickerHourValueInvalid: 'Falscher Stundenwert',
131+
132+
HeaderNormalText: 'Normaler Text',
133+
HeaderH2: 'Überschrift 1',
134+
HeaderH3: 'Überschrift 2',
135+
HeaderH4: 'Überschrift 3',
136+
HeaderBlockQuote: 'Zitat',
137+
AlignLeft: 'linksbündig',
138+
AlignCenter: 'zentriert',
139+
AlignRight: 'rechtsbündig',
140+
AlignJustify: 'Blocksatz',
141+
ListBullet: 'Aufzählungszeichen',
142+
ListNumbered: 'Nummerierung',
143+
StyleTitle: 'Schriftart',
144+
BoldTitle: 'Fett (Strg+B)',
145+
ItalicTitle: 'Kursiv (Strg+I)',
146+
UnderlineTitle: 'Unterstrichen(Strg+U)',
147+
AlignTitle: 'Ausrichtung',
148+
ListTitle: 'Liste',
149+
LinkTitle: 'Hyperlink',
150+
MoreTitle: 'Mehr',
151+
FormattingPaneTitle: 'Text Formattierung',
152+
CloseButton: 'Schließen',
153+
InsertLinkTitle: 'Link einfügen',
154+
AddressFieldLabel: 'Adresse',
155+
TextToDisplayLabel: 'Anzeigetext',
156+
SaveButtonLabel: 'Speichern',
157+
CancelButtonLabel: 'Abbrechen',
158+
RemoveLinkLabel: 'Link entfernen',
159+
ParagraphSectionTitle: 'Absatz',
160+
HyperlinkSectionTitle: 'Hyperlink',
161+
UndoTitle: 'Rückgängig',
162+
RedoTitle: 'Wiederholen',
163+
ClearFormattingTitle: 'Löschen',
164+
FontStyleTitle: 'Schriftart',
165+
FontSizeTitle: 'Schriftgröße',
166+
StrikethroughTitle: 'durchgestrichen',
167+
SuperscriptTitle: 'hochgestellt',
168+
SubscriptTitle: 'tiefgestellt',
169+
FontColorLabel: 'Schriftfarbe',
170+
AutomaticFontColor: 'Automatisch',
171+
HighlightColorLabel: 'Texthervorhebungsfarbe',
172+
NoColorHighlightColor: 'Keine Farbe',
173+
IncreaseIndentTitle: 'Einzug vergrößern',
174+
DecreaseIndentTitle: 'Einzug verkleinern',
175+
ThemeColorsGroupName: 'Themenfarbe',
176+
HighlightColorsGroupName: 'Highlightfarben',
177+
StandardColorsGroupName: 'Standardfarben',
178+
ThemeColorDarker: 'Thema dunkler',
179+
ThemeColorDark: 'Thema dunkel',
180+
ThemeColorDarkAlt: 'Thema dunkler alternativ',
181+
ThemeColorPrimary: 'Primäre Themafarbe',
182+
ThemeColorSecondary: 'Sekundäre Themafarbe',
183+
ThemeColorTertiary: 'Tertiäre Themafarbe',
184+
ThemeColorNeutralSecondary: 'Sekundäre neutrale Themafarbe',
185+
ThemeColorNeutralPrimaryAlt: 'Primäre alternative neutrale Themafarbe',
186+
ThemeColorNeutralPrimary: 'Primäre neutrale Themafarbe',
187+
ThemeColorNeutralDark: 'Neutrale dunkle Themafarbe',
188+
HighlightColorYellow: 'Gelb',
189+
HighlightColorGreen: 'Grün',
190+
HighlightColorAqua: 'Aqua',
191+
HighlightColorMagenta: 'Magenta',
192+
HighlightColorBlue: 'Blau',
193+
HighlightColorRed: 'Rot',
194+
HighlightColorDarkblue: 'Dunkelblau',
195+
HighlightColorTeal: 'Blaugrün',
196+
HighlightColorDarkgreen: 'Dunkelgrün',
197+
HighlightColorPurple: 'Lila',
198+
HighlightColorMaroon: 'Braun',
199+
HighlightColorGold: 'Gold',
200+
HighlightColorDarkgrey: 'Dunkelgrau',
201+
HighlightColorGrey: 'Grau',
202+
HighlightColorBlack: 'Schwarz',
203+
StandardColorDarkred: 'Dunkelrot',
204+
StandardColorRed: 'Rot',
205+
StandardColorOrange: 'Orange',
206+
StandardColorYellow: 'Gelb',
207+
StandardColorLightgreen: 'Hellgrün',
208+
StandardColorGreen: 'Grün',
209+
StandardColorLightblue: 'Hellblau',
210+
StandardColorBlue: 'Blau',
211+
StandardColorDarkblue: 'Dunkelblau',
212+
StandardColorPurple: 'Lila'
213+
};
214+
});

docs/documentation/docs/about/release-notes.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Releases
22

3+
## 1.14.0
4+
5+
### Enhancements
6+
7+
- German translations added for attachment and RichText controls [#333](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/333)
8+
- `SecurityTrimmedControl`: Added a wrapper `className` property for the parent element [#325](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/325)
9+
- `ListPicker`: Add ability to filter the control via OData [#319](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/319)
10+
- `IFrameDialog`: closing dialog on commit [#313](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/313)
11+
- `WebPartTitle` add support for section background color [#258](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/258)
12+
13+
### Fixes
14+
15+
- Fix in return type of onClick and onDoubleClick events [#321](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/321)
16+
- `ListPicker`: Fix for available dropdown selection after selection was done [#315](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/315)
17+
- Fixes to French translations [#312](https://github.com/SharePoint/sp-dev-fx-controls-react/pull/312)
18+
- `RichText`: Issue on rendering the control in view mode [#287](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/287)
19+
20+
### Contributors
21+
22+
Special thanks to our contributors (in alphabetical order): [Amr Fouad](https://github.com/ministainer), [Joel Jeffery](https://github.com/joeljeffery), [Mark Powney](https://github.com/mpowney), [Dominik Schmieder](https://github.com/DominikSchmieder), [Alex Terentiev](https://github.com/AJIXuMuK), [Zhephyr](https://github.com/Zhephyr54).
23+
324
## 1.13.2
425

526
### Enhancements

docs/documentation/docs/controls/ListPicker.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ The `ListPicker` control can be configured with the following properties:
5353
| className | string | no | If provided, additional class name to provide on the dropdown element. |
5454
| disabled | boolean | no | Whether or not the control is disabled. |
5555
| baseTemplate | number | no | The SharePoint BaseTemplate ID to filter the list options by. |
56+
| filter | string | no | Filter list from OData query (takes precendents over Hidden and BaseTemplate Filters). |
5657
| includeHidden | boolean | no | Whether or not to include hidden lists. Default is `true`. |
5758
| orderBy | LibsOrderBy | no | How to order the lists retrieved from SharePoint. |
5859
| selectedList | string OR string[] | no | Keys of the selected item(s). If you provide this, you must maintain selection state by observing onSelectionChanged events and passing a new value in when changed. |

docs/documentation/docs/controls/SecurityTrimmedControl.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ The `SecurityTrimmedControl` can be configured with the following properties:
6767
| level | PermissionLevel | yes | Specify where to check the user permissions: current site or list / remote site or list. |
6868
| remoteSiteUrl | string | no | The URL of the remote site. Required when you want to check permissions on remote site or list. |
6969
| relativeLibOrListUrl | string | no | The relative URL of the list or library. Required when you want to check permissions on remote list. |
70+
| folderPath | string | no | Specify the name of a folder to check the user permissions against. Will be overridden if itemId is present. |
71+
| itemId | number | no | Specify the ID of the item to check the user permissions against. Takes precedence over folder. |
72+
| className | string | no | Specify the className to be used on the parent element. |
7073

7174
The `PermissionLevel` enum has the following values:
7275

docs/documentation/docs/controls/WebPartTitle.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ The WebPartTitle control can be configured with the following properties:
9393
| updateProperty | Function | yes | Function that you can pass to update the title in the root web part. |
9494
| className | string | no | Optional property to specify a custom class that allows you to change the web part title style. |
9595
| placeholder | string | no | Optional property to specify a custom placeholder to display when the title is editable. |
96-
| moreLink | Function \| JSX.Element | no | Optional property to render a _See all_ link in the web part title. |
96+
| themeVariant | IReadonlyTheme | no | The current loaded SharePoint theme/section background (More info: [Supporting section backgrounds](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/supporting-section-backgrounds)). |
97+
| moreLink | Function \| JSX.Element | no | Optional property to render a _See all_ link in the web part title. |
9798

9899
![](https://telemetry.sharepointpnp.com/sp-dev-fx-controls-react/wiki/controls/WebPartTitle)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@pnp/spfx-controls-react",
33
"description": "Reusable React controls for SharePoint Framework solutions",
4-
"version": "1.13.2",
4+
"version": "1.14.0",
55
"engines": {
66
"node": ">=0.10.0"
77
},

src/common/telemetry/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version: string = "1.13.2";
1+
export const version: string = "1.14.0";

src/controls/fields/fieldLookupRenderer/FieldLookupRenderer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface IFieldLookupRendererProps extends IFieldRendererProps {
3333
/**
3434
* custom event handler of lookup item click. If not set the dialog with Display Form will be shown
3535
*/
36-
onClick?: (args: IFieldLookupClickEventArgs) => {};
36+
onClick?: (args: IFieldLookupClickEventArgs) => void;
3737
/**
3838
* Field's id.
3939
*/

0 commit comments

Comments
 (0)