Граф коммитов

142 Коммитов

Автор SHA1 Сообщение Дата
Vladislav Filyakov 5080a634fa Changed version to 0.2.2 2019-05-03 16:52:35 -07:00
Will Richman ea6b5773a9 Merged PR 260439: Fix DatePickerController dismiss bug
Added a new optional delegate method to `MSDateTimePickerDelegate` that allows a consumer to turn off modal auto-dismiss when the done button is pressed. This allows the user to validate or do asynchronous work before either dismissing themselves via `MSDateTimePicker.dismiss()`, or not dismiss altogether, effectively canceling a dismiss. If the delegate method is not implemented, auto-dismiss when done is pressed defaults to on.

Also added an example of this to the demo with a switch to turn on said validation.
2019-04-25 21:17:26 +00:00
Joel Klabo 0287fbb3e2
Make size and font public on MSAvatarSize (#2)
These are not usable currently from outside
the module. This allows consumers of OfficeUIFabric
SDK to use MSAvatarSize options with other services
that require CGSize or UIFont.
2019-04-24 15:56:37 -07:00
Project Collection Build Service (onedrive) 2695b9365b Merged PR 260771: Touchdown Build - Localized Resource Files
Latest localized resource files from Touchdown Build
2019-04-24 19:41:20 +00:00
Vladislav Filyakov 15a8923a82 Changed version to 0.2.1 and updated INT podspec to use resource bundle 2019-04-24 10:42:32 -07:00
Vlad Filyakov 071314f573 Merged PR 260419: Resources in resource bundle
Now all resource files (strings, images) will be collected in OfficeUIFabricResource.bundle instead of hanging in OfficeUIFabric.framework by themselves. This was mainly done to support usage of OfficeUIFabric pod as a static library, which is needed for FilePicker in Outlook. Without this change all resource files were dumped in the root of consuming app package overwriting app's resources.

- New OfficeUIFabricResources target that generates a resource bundle
- Podspec: uses resource bundle instead of resources
- OfficeUIFabricFramework: new resourceBundle
- String: extension resourceBundle uses resourceBundle
- UIImage: extension staticImageNamed uses resourceBundle

Related work items: #712692
2019-04-24 01:27:20 +00:00
Will Richman d20c292585 Merged PR 260175: Segmented Control and DateTimePicker size updates
Change the default height of MSSegmentedControl and MSDateTimePickerController to match the sizes in the external toolkit.
2019-04-23 21:35:37 +00:00
Tom Underhill 7d61eea061 Merged PR 260115: Update "@office-iss/sdx-build-tools" to "0.5.124" so that nuspecs are marked with git commit
The latest "@office-iss/sdx-build-tools" now will write the git remote url and git commit used to build the NuGet artifacts directly into the nuspec metadata.   This meta data is extremely useful when a branch needs to be created for an older build for making patches.
2019-04-23 18:02:20 +00:00
Vlad Filyakov c2671046c4 Merged PR 259776: Demo: UI Fabric version is shown as toolbar's subtitle on the main screen
- Demo: now shows UI Fabric version as toolbar's subtitle on the main screen

Related work items: #713615
2019-04-22 23:53:02 +00:00
Tom Underhill be3f1c4517 Merged PR 259095: Preparation for build and release definitions that publish a fabric-ios NuGet package to the Office feed.
These changes are for a new build definition that builds the frameworks, packs them as NuGet packages, and copies the nupkg to the artifact staging server.

The [fabric-ios-publish-nuget](https://onedrive.visualstudio.com/Design/_build?definitionId=3020) Build uses the yml files in this branch.   Once the nupkg is copied, the [fabric-ios NuGet push to OfficeInternal](https://onedrive.visualstudio.com/Design/_release?definitionId=6) Release pushes the nupkg to the feed.
2019-04-20 18:14:48 +00:00
Project Collection Build Service (onedrive) f02c603152 Merged PR 258832: Touchdown Build - Localized Resource Files
Latest localized resource files from Touchdown Build
2019-04-19 17:41:19 +00:00
Vlad Filyakov 5bbd6a43ee Updated Localizable.stringsdict 2019-04-19 17:22:27 +00:00
Vlad Filyakov 2c7ed30fa0
Update README.md 2019-04-18 14:27:43 -07:00
Vladislav Filyakov 99200ff284 Changed version to 0.2.0 2019-04-18 11:18:39 -07:00
Project Collection Build Service (onedrive) 00a29ce333 Merged PR 258171: Touchdown Build - Localized Resource Files
Latest localized resource files from Touchdown Build
2019-04-18 17:01:13 +00:00
Vladislav Filyakov c8d168b20d Changed version to 0.1.16 2019-04-17 17:29:21 -07:00
Vladislav Filyakov 00c752e71f Added sanitized project.pbxproj back 2019-04-17 16:56:58 -07:00
Vlad Filyakov 6b94fab8f2 Updated Localizable.stringsdict 2019-04-17 23:32:52 +00:00
Vlad Filyakov 1078a78dcd Updated Localizable.stringsdict 2019-04-17 23:25:47 +00:00
Will Richman 630558d7bb Merged PR 224715: MSDatePicker Range Support
Adds support for picking a range of dates or times with `MSDatePicker`. When presenting a picker with `MSDatePicker`, calling `present(from presentingController:with:for:endDate:)` with an `endDate` included will set the picker to duration mode.

Also includes some miscellaneous bug fixes for `MSDatePickerController` and `MSDateTimePickerController`.

![Screen Shot 1.png](https://onedrive.visualstudio.com/4dcbf0bc-c3cd-49c8-a7c3-ec1924691d9b/_apis/git/repositories/93ac71ee-b53a-4fc6-a8c4-d46a80d4ca39/pullRequests/224715/attachments/Screen%20Shot%201.png)
![Screen Shot 2.png](https://onedrive.visualstudio.com/4dcbf0bc-c3cd-49c8-a7c3-ec1924691d9b/_apis/git/repositories/93ac71ee-b53a-4fc6-a8c4-d46a80d4ca39/pullRequests/224715/attachments/Screen%20Shot%202.png)

Related work items: #659380, #678429
2019-04-17 22:29:13 +00:00
Vlad Filyakov bd7c6308a6 Merged PR 257808: Writable MSColors and fixes
- MSColors: made all colors writable
- MSColors: added disabled, foregroundRegular, foregroundSecondary generic semantic colors and used them where appropriate
- MSColors: removed unused Persona colors
- MSLabelDemoController: updated code for white-style label's background

Related work items: #710317
2019-04-17 21:05:43 +00:00
Vlad Filyakov 3aaa8cdb6b Updated README.md 2019-04-17 01:57:14 +00:00
Phil Worthington e08c37d60e Merged PR 257300: Update README
Prepare public README for github.

Related work items: #711214
2019-04-17 00:21:16 +00:00
Will Richman cb6c02b197 Merged PR 257338: Remove MSCalendarView separator
Remove separator between weeks from MSCalendarView.

Corner radius was already correct, so that part of the attached work item can be ignored.

Related work items: #710322
2019-04-16 23:48:33 +00:00
Vladislav Filyakov 8bbf1d1aa6 - MSAvatarView: added @objc (Thanks Tom Underhill) 2019-04-15 11:14:37 -07:00
Phil Worthington 2eaeed8efb Merged PR 256089: Make MSAvatarView style property open and writable
Makes the style property open and writable.

Related work items: #709815
2019-04-12 22:25:44 +00:00
Phil Worthington 97d9f6dc05 Merged PR 254373: MSButton V1: Primary and secondary buttons with demo
Adds primary and secondary MSButton types with a demo showing both types and styles.

Related work items: #708724
2019-04-12 00:53:36 +00:00
Will Richman 61d7ba9506 Merged PR 255597: DatePicker Demo Cleanup
Fix DatePicker demo text to match rest of demo app
2019-04-12 00:33:44 +00:00
Vladislav Filyakov b5055f18a2 - Demo: removed App Center secret from target settings 2019-04-11 12:28:19 -07:00
Vlad Filyakov 4f71d1d4ef Merged PR 255157: Updated folder structure and removed unused file
- Demo: moved resources (images, storyboards) into new Resources folder
- Moved OfficeUIFabric.swift to Core group
- Renamed "Supporting Files" group to "Configuration" to match demo
- Demo: moved "Configuration" group to the end of the list
- Demo: removed Dogfood.entitlements and turned off remote notifications (both were needed for App Center Push which we don't use anymore)
2019-04-11 01:39:29 +00:00
Vladislav Filyakov b696bc0088 Updated avatar background colors according to the most recent Design Toolkit 2019-04-10 15:40:03 -07:00
Phil Worthington f20cf0b4a2 Merged PR 254591: Use MSTableViewCell in demo list
Uses MSTableViewCell in Main.storyboard and MasterViewController to display demo list. Updated init?(coder:) in cell so cell can be initialized from storyboard.

Related work items: #708731
2019-04-10 22:18:29 +00:00
Vlad Filyakov a10d4a01c0 Merged PR 254355: Updated demo appearance according to Design Toolkit
- OfficeUIFabricFramework: new initializeAppearance
- Demo: uses new initializeAppearance from Fabric
- Demo: removed "back item" title for list screen

Related work items: #709293
2019-04-09 21:14:24 +00:00
Vlad Filyakov 27b337da0c Merged PR 253913: Updated launch screen for demo per Toolkit design
- Demo: updated launch screen to show Fabric and MS logos
- Demo: status bar is hidden now during startup
- Demo: removed localized strings for launch screen
- Removed MSButtonTests.swift

Related work items: #701129
2019-04-09 01:07:34 +00:00
Phil Worthington 5dd0a583e4 Merged PR 253071: MSActivityIndicatorView demo and updated activity view sizes
Adds a demo for MSActivityIndicatorView and updates MSActivityIndicatorViewSize to include the sizes included in toolkit. Small refactor of MSAvatarView demo due to reused code.

Related work items: #705398
2019-04-09 01:01:37 +00:00
Vlad Filyakov c7f63a4587 Merged PR 253045: Demo - better support for RTL
- UIView extension: fitIntoSuperview(...) supports usingLeadingTrailing = false (left/right-based constraints instead of leading/trailing)
- DemoController: demo container is inserted into UIScrollView using left/right constraints, not leading/trailing due to bad support of RTL from UIScrollView
- Demo list: added disclosure indicator

Related work items: #708163
2019-04-06 00:27:02 +00:00
Project Collection Build Service (onedrive) 8bab56ee83 Merged PR 252744: Touchdown Build - Localized Resource Files
Latest localized resource files from Touchdown Build
2019-04-06 00:17:41 +00:00
Vladislav Filyakov 7f87fcb042 Changed version to 0.1.15 2019-04-04 14:47:59 -07:00
Will Richman 78f4f2c85a Merged PR 252376: Fix localization integration
This PR creates a strings file for every supported language in the demo.

The previous localization PR only worked during testing because of caching in the build folder, and would stop supporting the expected languages when the build folder was cleaned. Supporting a language requires at least one localized file, so we are adding a LaunchScreen.strings for every language.

Related work items: #678557
2019-04-04 21:16:37 +00:00
Project Collection Build Service (onedrive) efecb7acb2 Merged PR 252374: Touchdown Build - Localized Resource Files
Latest localized resource files from Touchdown Build
2019-04-04 18:12:54 +00:00
Project Collection Build Service (onedrive) 0c3c3565a5 Merged PR 252208: Touchdown Build - Localized Resource Files
Latest localized resource files from Touchdown Build
2019-04-04 18:03:56 +00:00
Project Collection Build Service (onedrive) a053302598 Merged PR 252029: Touchdown Build - Localized Resource Files
Latest localized resource files from Touchdown Build
2019-04-04 00:33:01 +00:00
Will Richman ac725f4738 Merged PR 251976: Integrate localized files into framework and demo
This PR integrates our localized languages into the Xcode project files for both the framework and the demo.

Every language should now be showing in the demo where appropriate, but we will not be adding localized files for demo-only strings. Localization will show up for any strings that are included in the framework.

This includes fixes for plist syntax errors that were introduced in previous Touchdown PRs.

Related work items: #678557
2019-04-04 00:10:57 +00:00
Project Collection Build Service (onedrive) b99bc1f803 Merged PR 251307: Touchdown Build - Localized Resource Files
Latest localized resource files from Touchdown Build
2019-04-02 22:42:32 +00:00
Vlad Filyakov dd22f4b821 Merged PR 251300: Made MSColors and MSFonts classes instead of structs and added attributes to support Objective-C
Made MSColors and MSFonts classes instead of structs and added attributes to support Objective-C

Related work items: #705414
2019-04-02 22:34:30 +00:00
Phil Worthington 72af60ce3d Merged PR 245329: Layout for accessory view in MSTableViewCell
Adds layout and cell height calculation logic for when an accessory view is set on MSTableViewCell.

Related work items: #687935
2019-04-01 21:44:19 +00:00
Project Collection Build Service (onedrive) 92f250b8e0 Merged PR 250452: Touchdown Build - Localized Resource Files
Latest localized resource files from Touchdown Build
2019-04-01 17:48:11 +00:00
Vlad Filyakov 7af77fae53 Update README.md 2019-03-29 14:30:50 -07:00
Vlad Filyakov 14d493be54 Update README.md 2019-03-29 14:16:18 -07:00
Vlad Filyakov f51b3cc641 Update README.md 2019-03-29 14:09:46 -07:00