Typo fixes

This commit is contained in:
Milan Holemans 2022-04-06 01:19:04 +02:00
parent 63403451ea
commit 6c73fc148b
9 changed files with 12 additions and 12 deletions

View File

@ -1,7 +1,7 @@
{
"@microsoft/generator-sharepoint": {
"version": "1.14.0",
"libraryName": "happy-birdthay",
"libraryName": "happy-birthday",
"libraryId": "57890dd1-b655-4ec8-85ec-e47a9b696e7c",
"environment": "spo",
"packageManager": "npm",

View File

@ -2,7 +2,7 @@
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/config.2.0.schema.json",
"version": "2.0",
"bundles": {
"happy-birdthay-web-part": {
"happy-birthday-web-part": {
"components": [
{
"entrypoint": "./lib/webparts/Birthdays/BirthdaysWebPart.js",

View File

@ -2,6 +2,6 @@
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/deploy-azure-storage.schema.json",
"workingDir": "./release/assets/",
"account": "<!-- STORAGE ACCOUNT NAME -->",
"container": "happy-birdthay",
"container": "happy-birthday",
"accessKey": "<!-- ACCESS KEY -->"
}

View File

@ -1,6 +1,6 @@
@import '~office-ui-fabric-react/dist/sass/References.scss';
.happyBirdthay {
.happyBirthday {
.documentCard {
-webkit-font-smoothing: antialiased;
background-color: #ffffff;

View File

@ -111,7 +111,7 @@ export class HappyBirthdayCard extends React.Component<IHappyBirthdayCardProps,
this._birthdayMsg = this.state.isBirthdayToday ? (this.props.anniversary? strings.HappyAnniversaryMsg: strings.HappyBirthdayMsg) : (this.props.anniversary? strings.NextAnniversaryMsg: strings.NextBirthdayMsg);
return (
<div className={styles.happyBirdthay}>
<div className={styles.happyBirthday}>
<div className={styles.documentCardWrapper}>
<div className={styles.documentCard}>
<Image

View File

@ -1,6 +1,6 @@
define([], function() {
return {
"BirdthayControlDefaultDay": "Today",
"BirthdayControlDefaultDay": "Today",
"HappyBirthdayMsg": "Happy Birthday!",
"NextBirthdayMsg": "Next Birthday",
"HappyAnniversaryMsg": "Happy Anniversary!",

View File

@ -1,5 +1,5 @@
declare interface IControlStrings {
BirdthayControlDefaultDay: string,
BirthdayControlDefaultDay: string,
HappyBirthdayMsg: string,
NextBirthdayMsg: string,
HappyAnniversaryMsg: string,

View File

@ -3,7 +3,7 @@ import styles from './HappyBirthday.module.scss';
import { IHappyBirthdayProps } from './IHappyBirthdayProps';
import { IHappbirthdayState } from './IHappybirthdayState';
import { IUser } from './IUser';
import HappyBirdthayCard from '../../controls/happyBirthdayCard/HappyBirthdayCard';
import HappyBirthdayCard from '../../controls/happyBirthdayCard/HappyBirthdayCard';
import * as moment from 'moment';
export class HappyBirthday extends React.Component<IHappyBirthdayProps, IHappbirthdayState> {
@ -15,7 +15,7 @@ export class HappyBirthday extends React.Component<IHappyBirthdayProps, IHappbir
this.props.users.map((user: IUser) => {
return (
<div className={styles.container}>
<HappyBirdthayCard userName={user.userName}
<HappyBirthdayCard userName={user.userName}
jobDescription={user.jobDescription}
birthday={moment(user.birthday, ["MM-DD-YYYY", "YYYY-MM-DD", "DD/MM/YYYY", "MM/DD/YYYY"]).format('Do MMMM')}
anniversary={user.anniversary}

View File

@ -1,7 +1,7 @@
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.2/MicrosoftTeams.schema.json",
"manifestVersion": "1.2",
"packageName": "HappyBirdthayAnniversary",
"packageName": "HappyBirthdayAnniversary",
"id": "b0069b7e-8ec8-4e14-a76c-0c8bcb33993e",
"version": "0.1",
"developer": {
@ -14,8 +14,8 @@
"short": "HappyBirthdayAnniversary"
},
"description": {
"short": "HappyBirdthay & anniversary description",
"full": "HappyBirdthay & anniversary description"
"short": "HappyBirthday & anniversary description",
"full": "HappyBirthday & anniversary description"
},
"icons": {
"outline": "tab20x20.png",