Skip to content

Commit

Permalink
v1.0.1: 3 languages added
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier.carpentier@gmail.com committed Mar 6, 2017
1 parent c4495a9 commit 9a4c78f
Show file tree
Hide file tree
Showing 160 changed files with 2,613 additions and 565 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPFx 40 Fantastics Web Parts
# SPFx Fantastic 40 Web Parts

![release](https://img.shields.io/badge/release-v1.0.0.0-blue.svg)
![release](https://img.shields.io/badge/release-v1.0.1-blue.svg)
![status](https://img.shields.io/badge/status-stable-green.svg)
![mit](https://img.shields.io/badge/license-MIT-yellow.svg)

Expand All @@ -9,7 +9,11 @@ You can find here different kind of high visual web parts as carousel, images ga
These WebParts are mainly based on best-class jQuery, React or Angular plugins and use the [sp-client-custom-fields library](https://github.com/OlivierCC/sp-client-custom-fields) to optimize the edit experience.
And Yes, these web parts are free and open source, so have fun well to build effective SharePoint site.

**Current Version**: v1.0.0 - [Click here to download and install](https://github.com/OlivierCC/spfx-40-fantastics/wiki/Installation-process)
These webparts are available: **English, French, Spanish, German**.

**IMPORTANT NOTE: These web parts are not officially supported by Microsoft. Please use the "Issues" tab on this site to report bug or requests for development.**

**Current Version**: v1.0.1 - [Click here to download and install](https://github.com/OlivierCC/spfx-40-fantastics/wiki/Installation-process)

**Current SPFx Release support** - ![GA](https://img.shields.io/badge/SPFx-General%20Availability-red.svg) - [Release Note](https://github.com/SharePoint/sp-dev-docs/wiki/Release-Notes-GA)

Expand Down
10 changes: 5 additions & 5 deletions config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@
"globalName": "jQuery",
"globalDependencies": [ "jquery" ]
},
"letterfx": {
"path": "src/javascripts/letterfx/letterfx.js",
"globalName": "jQuery",
"globalDependencies": [ "jquery" ]
},
"jigsaw": {
"path": "src/javascripts/imagePuzzle/jquery.image-jigsaw.min.js",
"globalName": "jQuery",
Expand Down Expand Up @@ -281,11 +286,6 @@
"path": "src/javascripts/showdown/showdown.min.js",
"globalName": "showdown"
},
"letterfx": {
"path": "src/javascripts/letterfx/letterfx.js",
"globalName": "jQuery",
"globalDependencies": [ "jquery" ]
},
"coverflow": {
"path": "src/javascripts/coverflow/jquery.coverflow.js",
"globalName": "jQuery",
Expand Down
6 changes: 3 additions & 3 deletions config/package-solution.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"solution": {
"name": "SPFx 40 Fantastics WebParts",
"name": "SPFx Fantastic 40 WebParts",
"id": "425c9654-a3f8-427e-827f-033979560b6b",
"version": "1.0.0.0"
"version": "1.0.1.0"
},
"paths": {
"zippedPackage": "solution/spfx-40-fantastics.sppkg"
"zippedPackage": "solution/spfx-fantastic-40.sppkg"
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spfx-40-fantastics",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"engines": {
"node": ">=0.10.0"
Expand All @@ -18,12 +18,12 @@
"@types/react-dom": "0.14.18",
"@types/webpack-env": ">=1.12.1 <1.14.0",
"office-ui-fabric-react": "0.83.0",
"jquery": "^3.1.1",
"jquery": "2.2.4",
"jqueryui": "^1.11.1",
"react": "15.4.2",
"react-dom": "15.4.2",
"orchestrator": "^0.3.8",
"sp-client-custom-fields": "^1.1.5",
"sp-client-custom-fields": "^1.1.7",
"through2": "^2.0.3",
"typewriting": "^1.2.2"
},
Expand Down
3 changes: 1 addition & 2 deletions src/javascripts/arcText/jquery.arctext.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
*
* Date: Mon Jan 23 2012
*/

(function( $, undefined ) {

/*!
Expand Down Expand Up @@ -378,4 +377,4 @@

};

})( jQuery );
})(jQuery);
4 changes: 3 additions & 1 deletion src/javascripts/photopile/photopile.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ define([], function() {
var thumbBorderWidth = 2; // border width (px)
var thumbBorderColor = 'white'; // border color
var thumbBorderHover = '#EAEAEA'; // border hover color
var draggable = true; // enable draggable thumbnails
var draggable = false; // enable draggable thumbnails

// Photo container
var fadeDuration = 200; // speed at which photo fades (ms)
Expand Down Expand Up @@ -176,6 +176,7 @@ define([], function() {
self.setRandomZ(thumb);

// make draggable
/*
if (draggable) {
var x = 0;
Expand Down Expand Up @@ -211,6 +212,7 @@ define([], function() {
}
});
}
*/
thumb.css('background', thumbBorderColor );
},

Expand Down
18 changes: 18 additions & 0 deletions src/webparts/accordion/loc/de-de.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
define([], function() {
return {
"PropertyPaneDescription": "Passen Sie Ihre webpart",
"BasicGroupName": "Tabs",
"TextEditorGroupName": "Text-Editor",
"LayoutGroupName": "Layout",
"DescriptionFieldLabel": "Beschreibung Feld",
"Inline": "In der Reihe",
"ManageAccordion": "Verwalten von Tabs",
"Tabs": "Tabs",
"DisableColor": "Inaktive Tab-Farbe",
"SelectedColor": "Ausgewählte Tabrandfarbe",
"Collapsible": "Zusammenklappbar",
"Animate": "Animieren",
"Speed": "Geschwindigkeit (Millisekunden)",
"HeightStyle": "Höhe Stil"
}
});
2 changes: 0 additions & 2 deletions src/webparts/accordion/loc/en-us.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ define([], function() {
"LayoutGroupName": "Layout",
"DescriptionFieldLabel": "Description Field",
"Inline": "Inline",
"Mode": "Toolbar (must refresh page)",
"Theme": "Theme (must refresh page)",
"ManageAccordion": "Manage Tabs",
"Tabs": "Tabs",
"DisableColor": "Inactive Tab Color",
Expand Down
18 changes: 18 additions & 0 deletions src/webparts/accordion/loc/es-es.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
define([], function() {
return {
"PropertyPaneDescription": "Personaliza tu WebPart",
"BasicGroupName": "Pestañas",
"TextEditorGroupName": "Editor de texto",
"LayoutGroupName": "Diseño",
"DescriptionFieldLabel": "Descripción",
"Inline": "En línea",
"ManageAccordion": "Administrar pestañas",
"Tabs": "Pestañas",
"DisableColor": "Color de la pestaña inactiva",
"SelectedColor": "Color del borde de la ficha seleccionada",
"Collapsible": "Plegable",
"Animate": "Animar",
"Speed": "Velocidad (milisegundo)",
"HeightStyle": "Estilo de altura"
}
});
18 changes: 18 additions & 0 deletions src/webparts/accordion/loc/fr-fr.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
define([], function() {
return {
"PropertyPaneDescription": "Personnalisez votre web part",
"BasicGroupName": "Onglets",
"TextEditorGroupName": "Editeur de texte",
"LayoutGroupName": "Aspect",
"DescriptionFieldLabel": "Description",
"Inline": "Inline",
"ManageAccordion": "Gérer les onglets",
"Tabs": "Onglets",
"DisableColor": "Couleur des onglets inactifs",
"SelectedColor": "Couleur de l'onglet sélectionné",
"Collapsible": "Rétractable",
"Animate": "Animation",
"Speed": "Vitesse (ms)",
"HeightStyle": "Hauteur"
}
});
2 changes: 0 additions & 2 deletions src/webparts/accordion/loc/mystrings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ declare interface IAccordionStrings {
LayoutGroupName: string;
DescriptionFieldLabel: string;
Inline: string;
Mode: string;
Theme: string;
ManageAccordion: string;
Accordion: string;
DisableColor: string;
Expand Down
19 changes: 19 additions & 0 deletions src/webparts/animatedText/loc/de-de.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
define([], function() {
return {
"PropertyPaneDescription": "Passen Sie Ihre webpart",
"BasicGroupName": "General",
"LayoutGroupName": "Layout",
"Text": "Text",
"Font": "Schriftart",
"FontSize": "Schriftgröße",
"FontColor": "Schriftfarbe",
"BackgroundColor": "Hintergrundfarbe",
"Effet": "Bewirken",
"Direction": "Richtung",
"Timing": "Zeitliche Koordinierung (Millisekunden)",
"Duration": "Dauer (Millisekunden)",
"LetterEnd": "Buchstabenende",
"ElementEnd": "Element Ende",
"Align": "Ausrichten"
}
});
2 changes: 1 addition & 1 deletion src/webparts/animatedText/loc/en-us.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ define([], function() {
"FontSize": "Font Size",
"FontColor": "Font Color",
"BackgroundColor": "Background Color",
"Effet": "Effet",
"Effet": "Effect",
"Direction": "Direction",
"Timing": "Timing (ms)",
"Duration": "Duration (ms)",
Expand Down
19 changes: 19 additions & 0 deletions src/webparts/animatedText/loc/es-es.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
define([], function() {
return {
"PropertyPaneDescription": "Personaliza tu WebPart",
"BasicGroupName": "General",
"LayoutGroupName": "Diseño",
"Text": "Texto",
"Font": "Fuente",
"FontSize": "Tamaño de fuente",
"FontColor": "Color de fuente",
"BackgroundColor": "Color de fondo",
"Effet": "Efecto",
"Direction": "Dirección",
"Timing": "Sincronización (milisegundo)",
"Duration": "Duración (milisegundo)",
"LetterEnd": "Final de la carta",
"ElementEnd": "Elemento",
"Align": "Alinear"
}
});
19 changes: 19 additions & 0 deletions src/webparts/animatedText/loc/fr-fr.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
define([], function() {
return {
"PropertyPaneDescription": "Personnalisez votre web part",
"BasicGroupName": "Général",
"LayoutGroupName": "Aspect",
"Text": "Texte",
"Font": "Police",
"FontSize": "Taille du texte",
"FontColor": "Couleur du texte",
"BackgroundColor": "Couleur de fond",
"Effet": "Effet",
"Direction": "Direction",
"Timing": "Vitesse (ms)",
"Duration": "Durée (ms)",
"LetterEnd": "Animation de fin par lettre",
"ElementEnd": "Animation de fin",
"Align": "Alignement"
}
});
14 changes: 6 additions & 8 deletions src/webparts/arcText/ArcTextWebPart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export default class ArcTextWebPart extends BaseClientSideWebPart<IArcTextWebPar
//Hack: to invoke correctly the onPropertyChange function outside this class
//we need to bind this object on it first
this.onPropertyPaneFieldChanged = this.onPropertyPaneFieldChanged.bind(this);
this.renderContents = this.renderContents.bind(this);
}

/**
Expand All @@ -74,14 +75,11 @@ export default class ArcTextWebPart extends BaseClientSideWebPart<IArcTextWebPar
* Renders JavaScript JQuery calls
*/
private renderContents(): void {
if (($ as any)('#' + this.guid + '-arc') != null) {
//Calls the arctext plugin init method
($ as any)('#' + this.guid + '-arc').arctext({
radius: this.properties.radius,
rotate: this.properties.rotateLetters,
dir: this.properties.reverse === true ? -1 : 1
});
}
($ as any)('#' + this.guid + '-arc').arctext({
radius: this.properties.radius,
rotate: this.properties.rotateLetters,
dir: this.properties.reverse === true ? -1 : 1
});
}

/**
Expand Down
19 changes: 19 additions & 0 deletions src/webparts/arcText/loc/de-de.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
define([], function() {
return {
"PropertyPaneDescription": "Passen Sie Ihre webpart",
"BasicGroupName": "Layout",
"DescriptionFieldLabel": "Beschreibung",
"TextFieldLabel": "Text",
"FontFieldLabel": "Schriftart",
"FontSizeFieldLabel": "Schriftgröße",
"ColorFieldLabel": "Schriftfarbe",
"EffectGroupName": "Bewirken",
"RadiusFieldLabel": "Radius",
"DirectionFieldLabel": "Umkehren",
"RotateLetterFieldLabel": "Briefe drehen",
"AlignFieldLabel": "Ausrichten",
"AlignLeft": "Links",
"AlignCenter": "Center",
"AlignRight": "Recht"
}
});
19 changes: 19 additions & 0 deletions src/webparts/arcText/loc/es-es.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
define([], function() {
return {
"PropertyPaneDescription": "Personaliza tu WebPart",
"BasicGroupName": "Diseño",
"DescriptionFieldLabel": "Descripción",
"TextFieldLabel": "Texto",
"FontFieldLabel": "Fuente",
"FontSizeFieldLabel": "Tamaño de fuente",
"ColorFieldLabel": "Color de fuente",
"EffectGroupName": "Efecto",
"RadiusFieldLabel": "Radio",
"DirectionFieldLabel": "Inverso",
"RotateLetterFieldLabel": "Rotar letras",
"AlignFieldLabel": "Alinear",
"AlignLeft": "Izquierda",
"AlignCenter": "Centrar",
"AlignRight": "Derecha"
}
});
19 changes: 19 additions & 0 deletions src/webparts/arcText/loc/fr-fr.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
define([], function() {
return {
"PropertyPaneDescription": "Personnalisez votre web part",
"BasicGroupName": "Aspect",
"DescriptionFieldLabel": "Description",
"TextFieldLabel": "Texte",
"FontFieldLabel": "Police",
"FontSizeFieldLabel": "Taille",
"ColorFieldLabel": "Couleur",
"EffectGroupName": "Effet",
"RadiusFieldLabel": "Rayon",
"DirectionFieldLabel": "Inverser",
"RotateLetterFieldLabel": "Rotation des lettres",
"AlignFieldLabel": "Alignement",
"AlignLeft": "Gauche",
"AlignCenter": "Centre",
"AlignRight": "Droite"
}
});
18 changes: 18 additions & 0 deletions src/webparts/audioEqualizer/loc/de-de.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
define([], function() {
return {
"PropertyPaneDescription": "Passen Sie Ihre webpart",
"BasicGroupName": "Einstellungen",
"audio": "Audiodatei URL",
"audioType": "Audio-Typ",
"dimension": "Größe",
"color": "Farbe",
"color1": "Farbe1",
"color2": "Farbe2",
"bars": "Barren",
"barMargin": "Marge",
"components": "Komponenten",
"componentMargin": "Komponenten-Marge",
"frequency": "Frequenz",
"refreshTime": "Erfrischen Zeit"
}
});
Loading

0 comments on commit 9a4c78f

Please sign in to comment.