Fixed icons and minor types

This commit is contained in:
Hugo Bernier 2020-10-02 02:15:00 -04:00
parent ddc50bc68a
commit 91320950b2
11 changed files with 65469 additions and 65471 deletions

View File

@ -5,8 +5,8 @@
- This sample is extension of the single World time clock sample that was provided in SP Starter Kit.
- This web part use SharePoint List to Show multiple Clocks.
- Each clock item can have Name, Timezone and status (Active, Yes/No).
- The webpart properties will allow you to enter Web Part Title and select a List.
- The webpart properties will allow you to show or hide time.
- The web part properties will allow you to enter Web Part Title and select a List.
- The web part properties will allow you to show or hide time.
- You can show or hide clocks by setting the status to active or inactive.
- The web part does not update automatically. [Someone need to make the React Tick :)]
@ -24,14 +24,14 @@
![Create list for use with the World Clocks](./assets/WorldClockList.png)
- ![World Clocks list Template for use with the Web Part](./assets/WorldClock.stp)
- ![World Clocks Site Script use with the Web Part](./assets/WorldClock.json)
- [World Clocks list Template for use with the Web Part](./assets/WorldClock.stp)
- [World Clocks Site Script use with the Web Part](./assets/WorldClock.json)
**2) Add the World Clocks web part to your page & Enter Title, Select List. You can also enable the other required settings.**
## Used SharePoint Framework Version
![1.11.0](https://img.shields.io/badge/version-1.11.0-green.svg)
![SPFx 1.11.0](https://img.shields.io/badge/version-1.11.0-green.svg)
## Applies to
@ -42,8 +42,6 @@
- A package is available for direct download.
## Prerequisites
Please create the list as described above
## Solution

View File

@ -15,14 +15,14 @@
"default": "Other"
},
"title": {
"default": "WorldClockWebPart"
"default": "World Clocks"
},
"description": {
"default": "World Clock Web Part"
"default": "World Clocks Web Part"
},
"officeFabricIconFontName": "Page",
"officeFabricIconFontName": "Clock",
"properties": {
"description": "World Clock WebPart"
"description": "World Clocks WebPart"
}
}
],
@ -63,13 +63,13 @@
"type": "component",
"version": "16.8.5",
"id": "0d910c1c-13b9-4e1c-9aa4-b008c5e42d7d",
"failoverPath": "node_modules/react/dist/react.js"
"failoverPath": "../../../../users/hugoa/onedrive/github/sp-dev-fx-webparts/samples/react-world-clocks/node_modules/react/dist/react.js"
},
"react-dom": {
"type": "component",
"version": "16.8.5",
"id": "aa0a46ec-1505-43cd-a44a-93f3a5aa460a",
"failoverPath": "node_modules/react-dom/dist/react-dom.js"
"failoverPath": "../../../../users/hugoa/onedrive/github/sp-dev-fx-webparts/samples/react-world-clocks/node_modules/react-dom/dist/react-dom.js"
},
"@microsoft/sp-http": {
"type": "component",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -16,14 +16,14 @@
"default": "Other"
},
"title": {
"default": "WorldClockWebPart"
"default": "World Clocks"
},
"description": {
"default": "World Clock Web Part"
"default": "World Clocks Web Part"
},
"officeFabricIconFontName": "Page",
"officeFabricIconFontName": "Clock",
"properties": {
"description": "World Clock WebPart"
"description": "World Clocks WebPart"
}
}]
}

View File

@ -127,7 +127,7 @@ var WorldClockWebPart = /** @class */ (function (_super) {
var listSelected = typeof this.props.selectedList !== "undefined" &&
this.props.selectedList.length > 0;
return (React.createElement("div", { className: styles.worldClockWebPart },
!listSelected && (React.createElement(Placeholder, { iconName: "MusicInCollectionFill", iconText: "Configure your web part", description: "Select the already imported Clocks list and choose other settings.", buttonLabel: "Choose a List", onConfigure: this.props.onConfigure })),
!listSelected && (React.createElement(Placeholder, { iconName: "Clock", iconText: "Configure your web part", description: "Select the already imported Clocks list and choose other settings.", buttonLabel: "Choose a List", onConfigure: this.props.onConfigure })),
showTitle && (React.createElement(WebPartTitle, { title: this.props.description, displayMode: this.props.displayMode, updateProperty: this.props.updateProperty })),
React.createElement("div", { className: styles.container }, this.clocks)));
};

View File

@ -1 +1 @@
{"version":3,"file":"WorldClockWebPart.js","sourceRoot":"","sources":["../../../../src/webparts/worldClockWebPart/components/WorldClockWebPart.tsx"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,MAAM,MAAM,iCAAiC,CAAC;AAOrD,OAAO,WAAuB,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OA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,IAAM,YAAY,GAChB,OAAO,IAAI,CAAC,KAAK,CAAC,YAAY,KAAK,WAAW;YAC9C,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC;QAErC,OAAO,CACL,6BAAK,SAAS,EAAE,MAAM,CAAC,iBAAiB;YACrC,CAAC,YAAY,IAAI,CAChB,oBAAC,WAAW,IACV,QAAQ,EAAC,uBAAuB,EAChC,QAAQ,EAAC,yBAAyB,EAClC,WAAW,EAAC,oEAAoE,EAChF,WAAW,EAAC,eAAe,EAC3B,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,GACnC,CACH;YACA,SAAS,IAAI,CACZ,oBAAC,YAAY,IACX,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,EAC7B,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,EACnC,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,GACzC,CACH;YACD,6BAAK,SAAS,EAAE,MAAM,CAAC,SAAS,IAAG,IAAI,CAAC,MAAM,CAAO,CACjD,CACP,CAAC;IACJ,CAAC;IACH,wBAAC;AAAD,CAAC,AAhKD,CAA+C,KAAK,CAAC,SAAS,GAgK7D"}
{"version":3,"file":"WorldClockWebPart.js","sourceRoot":"","sources":["../../../../src/webparts/worldClockWebPart/components/WorldClockWebPart.tsx"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,MAAM,MAAM,iCAAiC,CAAC;AAOrD,OAAO,WAAuB,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,MAAM,kBAAkB,CAAC;AACrC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,2CAA2C,CAAC;AAIzE;IAA+C,qCAG9C;IAGC,2BAAY,KAA8B,EAAE,KAA8B;QA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;YACrC,CAAC,YAAY,IAAI,CAChB,oBAAC,WAAW,IACV,QAAQ,EAAC,OAAO,EAChB,QAAQ,EAAC,yBAAyB,EAClC,WAAW,EAAC,oEAAoE,EAChF,WAAW,EAAC,eAAe,EAC3B,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,GACnC,CACH;YACA,SAAS,IAAI,CACZ,oBAAC,YAAY,IACX,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,EAC7B,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,EACnC,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,GACzC,CACH;YACD,6BAAK,SAAS,EAAE,MAAM,CAAC,SAAS,IAAG,IAAI,CAAC,MAAM,CAAO,CACjD,CACP,CAAC;IACJ,CAAC;IACH,wBAAC;AAAD,CAAC,AAhKD,CAA+C,KAAK,CAAC,SAAS,GAgK7D"}

View File

@ -1,2 +1,2 @@
.worldClockWebPart_5c7ebacf .container_5c7ebacf{margin:0 auto;padding:10px;display:table}.worldClockWebPart_5c7ebacf .Clock_5c7ebacf{float:left;margin-left:10px;margin-right:10px}.worldClockWebPart_5c7ebacf .Clock_5c7ebacf>div{-webkit-box-sizing:unset;box-sizing:unset}.worldClockWebPart_5c7ebacf .ClockTitle_5c7ebacf{text-align:center;margin:5px;font-size:13px;font-weight:700;font-family:"Segoe UI Web (West European)",Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif}.worldClockWebPart_5c7ebacf .row_5c7ebacf{margin:0 -8px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;background-color:#005a9e;padding:20px}.worldClockWebPart_5c7ebacf .row_5c7ebacf::after,.worldClockWebPart_5c7ebacf .row_5c7ebacf::before{display:table;content:'';line-height:0}.worldClockWebPart_5c7ebacf .row_5c7ebacf::after{clear:both}.worldClockWebPart_5c7ebacf .column_5c7ebacf{position:relative;min-height:1px;padding-left:8px;padding-right:8px;-webkit-box-sizing:border-box;box-sizing:border-box}[dir=ltr] .worldClockWebPart_5c7ebacf .column_5c7ebacf{float:left}[dir=rtl] .worldClockWebPart_5c7ebacf .column_5c7ebacf{float:right}.worldClockWebPart_5c7ebacf .column_5c7ebacf .ms-Grid_5c7ebacf{padding:0}@media (min-width:640px){.worldClockWebPart_5c7ebacf .column_5c7ebacf{width:83.33333333333334%}}@media (min-width:1024px){.worldClockWebPart_5c7ebacf .column_5c7ebacf{width:66.66666666666666%}}@media (min-width:1024px){[dir=ltr] .worldClockWebPart_5c7ebacf .column_5c7ebacf{left:16.66667%}[dir=rtl] .worldClockWebPart_5c7ebacf .column_5c7ebacf{right:16.66667%}}@media (min-width:640px){[dir=ltr] .worldClockWebPart_5c7ebacf .column_5c7ebacf{left:8.33333%}[dir=rtl] .worldClockWebPart_5c7ebacf .column_5c7ebacf{right:8.33333%}}.worldClockWebPart_5c7ebacf .title_5c7ebacf{font-size:21px;font-weight:100;color:#fff}.worldClockWebPart_5c7ebacf .subTitle_5c7ebacf{font-size:17px;font-weight:300;color:#fff}.worldClockWebPart_5c7ebacf .description_5c7ebacf{font-size:17px;font-weight:300;color:#fff}.worldClockWebPart_5c7ebacf .button_5c7ebacf{text-decoration:none;height:32px;min-width:80px;background-color:#0078d4;border-color:#0078d4;color:#fff;outline:transparent;position:relative;font-family:"Segoe UI WestEuropean","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;font-size:14px;font-weight:400;border-width:0;text-align:center;cursor:pointer;display:inline-block;padding:0 16px}.worldClockWebPart_5c7ebacf .button_5c7ebacf .label_5c7ebacf{font-weight:600;font-size:14px;height:32px;line-height:32px;margin:0 4px;vertical-align:top;display:inline-block}
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyY1xcd2VicGFydHNcXHdvcmxkQ2xvY2tXZWJQYXJ0XFxjb21wb25lbnRzXFxXb3JsZENsb2NrV2ViUGF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UFBQSxJQUNBLGVBQUEsSUFDQSxRQUFBIn0= */
.worldClockWebPart_4593dcaa .container_4593dcaa{margin:0 auto;padding:10px;display:table}.worldClockWebPart_4593dcaa .Clock_4593dcaa{float:left;margin-left:10px;margin-right:10px}.worldClockWebPart_4593dcaa .Clock_4593dcaa>div{-webkit-box-sizing:unset;box-sizing:unset}.worldClockWebPart_4593dcaa .ClockTitle_4593dcaa{text-align:center;margin:5px;font-size:13px;font-weight:700;font-family:"Segoe UI Web (West European)",Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif}.worldClockWebPart_4593dcaa .row_4593dcaa{margin:0 -8px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;background-color:#005a9e;padding:20px}.worldClockWebPart_4593dcaa .row_4593dcaa::after,.worldClockWebPart_4593dcaa .row_4593dcaa::before{display:table;content:'';line-height:0}.worldClockWebPart_4593dcaa .row_4593dcaa::after{clear:both}.worldClockWebPart_4593dcaa .column_4593dcaa{position:relative;min-height:1px;padding-left:8px;padding-right:8px;-webkit-box-sizing:border-box;box-sizing:border-box}[dir=ltr] .worldClockWebPart_4593dcaa .column_4593dcaa{float:left}[dir=rtl] .worldClockWebPart_4593dcaa .column_4593dcaa{float:right}.worldClockWebPart_4593dcaa .column_4593dcaa .ms-Grid_4593dcaa{padding:0}@media (min-width:640px){.worldClockWebPart_4593dcaa .column_4593dcaa{width:83.33333333333334%}}@media (min-width:1024px){.worldClockWebPart_4593dcaa .column_4593dcaa{width:66.66666666666666%}}@media (min-width:1024px){[dir=ltr] .worldClockWebPart_4593dcaa .column_4593dcaa{left:16.66667%}[dir=rtl] .worldClockWebPart_4593dcaa .column_4593dcaa{right:16.66667%}}@media (min-width:640px){[dir=ltr] .worldClockWebPart_4593dcaa .column_4593dcaa{left:8.33333%}[dir=rtl] .worldClockWebPart_4593dcaa .column_4593dcaa{right:8.33333%}}.worldClockWebPart_4593dcaa .title_4593dcaa{font-size:21px;font-weight:100;color:#fff}.worldClockWebPart_4593dcaa .subTitle_4593dcaa{font-size:17px;font-weight:300;color:#fff}.worldClockWebPart_4593dcaa .description_4593dcaa{font-size:17px;font-weight:300;color:#fff}.worldClockWebPart_4593dcaa .button_4593dcaa{text-decoration:none;height:32px;min-width:80px;background-color:#0078d4;border-color:#0078d4;color:#fff;outline:transparent;position:relative;font-family:"Segoe UI WestEuropean","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;font-size:14px;font-weight:400;border-width:0;text-align:center;cursor:pointer;display:inline-block;padding:0 16px}.worldClockWebPart_4593dcaa .button_4593dcaa .label_4593dcaa{font-weight:600;font-size:14px;height:32px;line-height:32px;margin:0 4px;vertical-align:top;display:inline-block}
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyY1xcd2VicGFydHNcXHdvcmxkQ2xvY2tXZWJQYXJ0XFxjb21wb25lbnRzXFxXb3JsZENsb2NrV2ViUGFydC5tb2R1bGUuc2NzcyIsIiRzdGRpbiIsIm5vZGVfbW9kdWxlc1xcb2ZmaWNlLXVpLWZhYnJpYy1yZWFjdFxcZGlzdFxcc2Fzc1xcbWl4aW5zXFxfR2VuZXJhbC5NaXhpbnMuc2NzcyIsIm5vZGVfbW9kdWxlc1xcb2ZmaWNlLXVpLWZhYnJpYy1yZWFjdFxcZGlzdFxcc2Fzc1xcdmFyaWFibGVzXFxfQ29sb3IuVmFyaWFibGVzLnNjc3MiLCJub2RlX21vZHVsZXNcXG9mZmljZS11aS1mYWJyaWMtcmVhY3RcXGRpc3RcXHNhc3NcXG1peGluc1xcX0dyaWQuTWl4aW5zLnNjc3MiLCJub2RlX21vZHVsZXNcXG9mZmljZS11aS1mYWJyaWMtcmVhY3RcXGRpc3RcXHNhc3NcXG1peGluc1xcX1Jlc3BvbnNpdmUuTWl4aW5zLnNjc3MiLCJub2RlX21vZHVsZXNcXG9mZmljZS11aS1mYWJyaWMtc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ksS0FBQSxTQUNzQix1RENDcEIsTUFBTyxVSzlDaUIsNENDeVE1QixVQUFBLEtQdk5BLFlBQWUsSUNDZixNQUFPLEtLbERxQiwrQ0N3UTVCLFVBQUEsS1BsTkEsWUFBZSxJQ0NmLE1BQU8sS0t2RHFCLGtEQ3dRNUIsVUFBQSxLUDdNQSxZQUFlLElDQ2YsTUFBTyxLRHBCTyw2Q0FHRCxnQkFBQSxLQUNYLE9BQUEsS0FDQSxVQUFBLEtBQ0EsaUJHOUNvQyxRSGlEcEMsYUFBUyxRQUNULE1BQUEsS0FDQSxRQUFhLFlBRWIsU0FBQSxTQUVBLFlBQUEsdUJDZ0JrQyxDS3RFUixVTHNFb0IsQ0t0RXBCLGFMc0VtQyxDRGY5QyxrQkNnQkEsQ0RoQkEsTUNnQlEsQ0RoQlIsZ0JDZ0IwQixDRGhCMUIsV0FDSCx1QkFBQSxZQUNaLFVBQUEsS0FDQSxZQUFBLElBQ0EsYUFBQSxFQXJGSixXQUFBLE9Bd0dFLE9BQUEsUUFDQSxRQUFBLGFBZkksUUFBQSxFQUFBLEtBQ2EsNkRBQ2IsWUFBYSxJQUNiLFVBQUEsS0FDQSxPQUFBLEtBaUJGLFlBQUEsS0FDQSxPQUFBLEVBQUEsSUNBQSxlQUFnQixJQUNoQixRQUFTIn0= */

View File

@ -1,18 +1,18 @@
/* tslint:disable */
require("./WorldClockWebPart.module.css");
var styles = {
worldClockWebPart: 'worldClockWebPart_5c7ebacf',
container: 'container_5c7ebacf',
Clock: 'Clock_5c7ebacf',
ClockTitle: 'ClockTitle_5c7ebacf',
row: 'row_5c7ebacf',
column: 'column_5c7ebacf',
'ms-Grid': 'ms-Grid_5c7ebacf',
title: 'title_5c7ebacf',
subTitle: 'subTitle_5c7ebacf',
description: 'description_5c7ebacf',
button: 'button_5c7ebacf',
label: 'label_5c7ebacf'
worldClockWebPart: 'worldClockWebPart_4593dcaa',
container: 'container_4593dcaa',
Clock: 'Clock_4593dcaa',
ClockTitle: 'ClockTitle_4593dcaa',
row: 'row_4593dcaa',
column: 'column_4593dcaa',
'ms-Grid': 'ms-Grid_4593dcaa',
title: 'title_4593dcaa',
subTitle: 'subTitle_4593dcaa',
description: 'description_4593dcaa',
button: 'button_4593dcaa',
label: 'label_4593dcaa'
};
export default styles;
/* tslint:enable */

View File

@ -16,12 +16,12 @@
"default": "Other"
},
"title": {
"default": "WorldClocksWebPart"
"default": "World Clocks"
},
"description": {
"default": "World Clocks Web Part"
},
"officeFabricIconFontName": "Page",
"officeFabricIconFontName": "Clock",
"properties": {
"description": "World Clocks WebPart"
}

View File

@ -158,7 +158,7 @@ export default class WorldClockWebPart extends React.Component<
<div className={styles.worldClockWebPart}>
{!listSelected && (
<Placeholder
iconName="MusicInCollectionFill"
iconName="Clock"
iconText="Configure your web part"
description="Select the already imported Clocks list and choose other settings."
buttonLabel="Choose a List"