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

142 Коммитов

Автор SHA1 Сообщение Дата
Vlad Filyakov 7075838345 Merged PR 213666: MSPopupMenuController: support for header
- `MSPopupMenuController`: new `showsFirstItemAsHeader` property
- Demo: added an example of a popup menu with a header

Related work items: #668421
2018-12-19 22:54:12 +00:00
Phil Worthington cf209f65e4 Merged PR 208193: MSBadgeListField for People Picker
This PR introduces the view that contains a list of badges and a textfield that will be used in People Picker named `MSBadgeListField`. The text entered into the field creates a badge that gets appended to a list of badges shown before the view's textfield.

The user can:
- enter text to create badges
- select badges
- drag and drop badges to other badge list fields
- delete badges using the keyboard's delete key
- set a max number of lines for the text field which will append a 'moreBadge' indicating the number of badges not shown if the badges cannot fit within the max number of lines (e.g. "+5")

The next step in the People Picker process will include integration with MSPersonaListView and functionality for this field's entered text to search and view search results in MSPersonaListView where MSPersonaCells can be selected and added to the MSBadgeListView as badges.

![Screen Shot 2018-12-17 at 10.43.46 AM.png](https://onedrive.visualstudio.com/4dcbf0bc-c3cd-49c8-a7c3-ec1924691d9b/_apis/git/repositories/93ac71ee-b53a-4fc6-a8c4-d46a80d4ca39/pullRequests/208193/attachments/Screen%20Shot%202018-12-17%20at%2010.43.46%20AM.png)

Related work items: #627344
2018-12-17 21:27:26 +00:00
Will Richman 198f12b1cb Merged PR 210708: MSDateTimePicker Presentation API with DateTime support
Introduces a new `MSDateTimePicker` class to manage and handle presenting multiple Date or Time related pickers and coordinating between them.

Includes a refactor of `MSDatePicker` into `MSDatePickerController`, leaving one Controller class for each type of picker.

Also includes some miscellaneous SwiftLint update fixes.

![Screen Shot 2018-12-07 at 4.27.44 PM.png](https://onedrive.visualstudio.com/4dcbf0bc-c3cd-49c8-a7c3-ec1924691d9b/_apis/git/repositories/93ac71ee-b53a-4fc6-a8c4-d46a80d4ca39/pullRequests/210708/attachments/Screen%20Shot%202018-12-07%20at%204.27.44%20PM.png) ![Screen Shot 2018-12-07 at 4.27.48 PM.png](https://onedrive.visualstudio.com/4dcbf0bc-c3cd-49c8-a7c3-ec1924691d9b/_apis/git/repositories/93ac71ee-b53a-4fc6-a8c4-d46a80d4ca39/pullRequests/210708/attachments/Screen%20Shot%202018-12-07%20at%204.27.48%20PM.png)

Related work items: #665501
2018-12-14 00:35:42 +00:00
Will Richman 522ae9c053 Merged PR 202609: MSDateTimePicker with MSDatePicker integration
This PR adds a public `MSDateTimePicker` class to display and select a date (with optional time) from a `UIPickerView` style view. It has public APIs to programmatically change the selected date, present the modal, and set a delegate that will be notified when the user has confirmed a date.

It can be presented directly, but is also used as a replacement for `MSDatePicker` when Voiceover is turned on, so that the user can interact with the various date components.

![Screen Shot 2018-11-13 at 6.39.11 PM.png](https://onedrive.visualstudio.com/4dcbf0bc-c3cd-49c8-a7c3-ec1924691d9b/_apis/git/repositories/93ac71ee-b53a-4fc6-a8c4-d46a80d4ca39/pullRequests/202609/attachments/Screen%20Shot%202018-11-13%20at%206.39.11%20PM.png)

Related work items: #655982
2018-11-20 21:29:02 +00:00
Phil Worthington 515a798eb5 Merged PR 203007: MSBadgeView with MSBadgeBaseView
This PR introduces MSBadgeView with MSBadgeBaseView to represent a "badge". This badge will be used in an upcoming field to represent selected personas from the MSPersonaListView. The badge can be selected with a tap and then tapped again once in a selected state to reveal more details about the selected person. It includes 3 styles: default, error, and warning with a disabled state as well.

Also included in this PR:
-  A small update to the accessibility for MSAvatarView to become an accessibility element so details about the avatar can be used in VoiceOver when the avatar view is used outside of a MSPersonaCell.
- An update to Physical colors in MSColors to include dark yellow colors for 'warning' and 'light warning'. The previous red colors used for 'warning' and 'light warning' are now named 'error' and 'lightError' respectively.

![Screen Shot 2018-11-14 at 3.56.30 PM.png](https://onedrive.visualstudio.com/4dcbf0bc-c3cd-49c8-a7c3-ec1924691d9b/_apis/git/repositories/93ac71ee-b53a-4fc6-a8c4-d46a80d4ca39/pullRequests/203007/attachments/Screen%20Shot%202018-11-14%20at%203.56.30%20PM.png)

Related work items: #627343
2018-11-20 21:10:21 +00:00
Vlad Filyakov a7c3bdb2db Merged PR 203918: Ability to define image primary colors for Darker System Colors mode
Also:
- Added darker primary colors for images in Fabric and demo app.
- Removed demo for Button to not confuse the users :-)

Related work items: #658039
2018-11-19 19:39:43 +00:00
Vlad Filyakov f2ae3e64a9 Merged PR 200304: Updated version to 0.1.4
Updated version to 0.1.4
2018-11-07 22:06:35 +00:00
Vlad Filyakov 322db14984 Merged PR 200173: Popup Menu implementation based on Drawer
I used our Drawer controller to implement Popup Menu. In Outlook presentation and content are coupled together for each of Popup Menu and Action Sheet. We separated presentation (Drawer) from content. This work builds on existing presentation code (Drawer) and adds content as Popup Menu. Public API is very similar to Outlook with some cleaning done. This was my FHL project :-)

Related work items: #653496
2018-11-07 21:58:53 +00:00
Will Richman 4646de3cb8 Merged PR 197584: SwiftLint Integration
- Adds a config file for running SwiftLint with explicitly whitelisted rules.
- Adds a run script build phase to run SwiftLint every time we build the OfficeUIFabric framework.
- Fixes warnings that were showing from implementing these linting rules.

You can find a description of all rules on the [SwiftLint github repo](https://github.com/realm/SwiftLint/blob/master/Rules.md).
2018-10-31 20:23:38 +00:00
Vlad Filyakov b21862b29b Merged PR 196514: Changed version to 0.1.3
Changed version to 0.1.3
2018-10-26 23:45:49 +00:00
Will Richman 5ddd281c23 Merged PR 189673: MSDatePicker with modal support
This PR adds a public `MSDatePicker` class to display and select a date from a calendar style view. It has public APIs to programmatically change the selected date, present the modal, and set a delegate that will be notified when the user has confirmed a date.

It includes additions and changes in support classes for:
* A paged card modal presenter (`MSPageCardPresenterViewController` and supporting classes)
* Multiple styles of obscured backgrounds (`Obscurable`, `MSDimmingView`, and `MSBlurringView`)
* Accessibility navigation support (`AccessibleViewDelegate`)
* A simple dot view to show events on a day (`MSDotView`, unimplemented)
* A number of convenience extensions to help with navigation stacks, date handling, view centering, and more![Screen Shot 2018-10-09 at 6.03.49 PM.png](https://onedrive.visualstudio.com/4dcbf0bc-c3cd-49c8-a7c3-ec1924691d9b/_apis/git/repositories/93ac71ee-b53a-4fc6-a8c4-d46a80d4ca39/pullRequests/189673/attachments/Screen%20Shot%202018-10-09%20at%206.03.49%20PM.png)

Related work items: #640099, #640121, #640470
2018-10-26 23:37:20 +00:00
Phil Worthington cd95f37e33 Merged PR 194458: MSPersonaListView - Add support for Search Directory button
This PR adds a "Search Directory" button to the MSPersonaListView. This button is used to get more results from the directory after the initial display of personas in the list view. When new results are provided the current set of displayed personas are replaced with the new results in the list view.
- Includes 3 new table view cell classes to support this button:
     - MSActionsCell - the "Search Directory" button itself.
     - MSActivityIndicatorCell (with MSActivityIndicatorView) - an activity spinner that shows during a search after the "Search Directory" button is tapped.
     - MSCenteredLabelCell - a centered label with text that describes the number of search results returned after the search has been completed.

![Screen Shot 2018-10-22 at 1.04.44 PM.png](https://onedrive.visualstudio.com/4dcbf0bc-c3cd-49c8-a7c3-ec1924691d9b/_apis/git/repositories/93ac71ee-b53a-4fc6-a8c4-d46a80d4ca39/pullRequests/194458/attachments/Screen%20Shot%202018-10-22%20at%201.04.44%20PM.png) ![Screen Shot 2018-10-22 at 1.04.54 PM.png](https://onedrive.visualstudio.com/4dcbf0bc-c3cd-49c8-a7c3-ec1924691d9b/_apis/git/repositories/93ac71ee-b53a-4fc6-a8c4-d46a80d4ca39/pullRequests/194458/attachments/Screen%20Shot%202018-10-22%20at%201.04.54%20PM.png) ![Screen Shot 2018-10-22 at 1.04.59 PM.png](https://onedrive.visualstudio.com/4dcbf0bc-c3cd-49c8-a7c3-ec1924691d9b/_apis/git/repositories/93ac71ee-b53a-4fc6-a8c4-d46a80d4ca39/pullRequests/194458/attachments/Screen%20Shot%202018-10-22%20at%201.04.59%20PM.png)

Related work items: #645243
2018-10-26 18:58:31 +00:00
Vlad Filyakov 91675233b3 Merged PR 194446: MSDrawerController - Ability to expand/restore with animation
- `isExpanded` property maximizes/restores drawer's content
- Animation for `contentSize` change when drawer is visible

Related work items: #619247, #645234
2018-10-24 22:23:12 +00:00
Phil Worthington 0a21eb0ed0 Merged PR 189085: MSPersonaCell and MSPersonaListView
This PR introduces MSPersonaListView to display a list of personas. The MSPersonaListView displays a MSPersonaCell for each MSPersona in an array used as the data source to populate the list view.
- Fixes an issue where the MSAvatarView initials view background color would change on selection of the cell to the selection state background color (backgroundGray).
- Includes MSPersona protocol with properties needed to set up the MSPeopleCell and MSAvatarView to display a persona.
- Includes a personaSelected callback for when a cell is selected. This will be used to add tokens to the tokenizable textfield in the upcoming people picker control.
- Includes keyboard shortcut support to use a keyboard to navigate the table view which will be implemented in the upcoming people picker view controller.
- Demo included that shows an alert demonstrating the selection behavior of the cell.

![Screen Shot 2018-10-15 at 2.57.34 PM.png](https://onedrive.visualstudio.com/4dcbf0bc-c3cd-49c8-a7c3-ec1924691d9b/_apis/git/repositories/93ac71ee-b53a-4fc6-a8c4-d46a80d4ca39/pullRequests/189085/attachments/Screen%20Shot%202018-10-15%20at%202.57.34%20PM.png)

Related work items: #627341
2018-10-18 23:27:49 +00:00
Phil Worthington 4b7d6e1618 Merged PR 179918: MSAvatarView with MSInitialsView
- MSAvatarView is used to present an imageView representing an entity such as a person. Initials generated from the entity's name or email address used to initialize the MSAvatarView are presented by MSInitialsView as fallback for when an image is not available.
- Colors added to be used as background colors on the MSAvatarView for when initials are shown.
- Extensions for String and NSString used to assist with providing initials used in the MSInitialsView.
- Demo added to show MSAvatarView with an image and MSAvatarView using MSInitialsView to display initials.

![Screen Shot 2018-09-14 at 5.35.34 PM.png](https://onedrive.visualstudio.com/4dcbf0bc-c3cd-49c8-a7c3-ec1924691d9b/_apis/git/repositories/93ac71ee-b53a-4fc6-a8c4-d46a80d4ca39/pullRequests/179918/attachments/Screen%20Shot%202018-09-14%20at%205.35.34%20PM.png)

Related work items: #627339, #627340
2018-09-21 23:27:31 +00:00
Vlad Filyakov d534f3b659 Merged PR 182791: Updated repo.json
Updated repo.json
2018-09-21 21:40:06 +00:00
Vlad Filyakov ce4f7a679e Merged PR 174267: Added support for App Center and required provisioning files for internal distribution to demo app
- Added support for CocoaPods to demo app
- Added AppCenter pod to demo app
- Added Dogfood configuration/scheme to demo app
- Added certificates and provisioning profile required for Enterprise (dogfood) distribution of the demo

Related work items: #600575
2018-09-01 00:10:43 +00:00
Vlad Filyakov 698bc6ebe4 Merged PR 170842: Demo app icons
Added demo app icons
2018-08-24 00:32:58 +00:00
Vlad Filyakov 5e43719cf6 Merged PR 169311: Drawer Controller with support for down/up presentation
- MSDrawerController supports any content/subclassing and can slide down or up from any position on screen. It shows as a popover on iPad.
- New MSDimmingView and MSSeparator and extensions.
- New DemoController. Better support for device rotation in the demo. Better support for navigation item for demo controllers (they are now inserted directly into navigation controller and not some intermediate controller).

Related work items: #615745
2018-08-24 00:01:12 +00:00
Vladislav Filyakov 9b3270648a - MSFont: fixed title1 and title2
- New extensions for UIFont and UIFontDescriptor
2018-08-08 19:00:15 -07:00
Vladislav Filyakov 7bd692522b - New MSLabel
- Colors => MSColors
- MSColors: new lightPrimary, warning, lightWarning; fixed black
- New MSTextColorStyle
- Fonts => MSFonts
- New MSTextStyle
- New demo MSLabelController
2018-08-08 17:48:28 -07:00
Vladislav Filyakov 272e9cc137 - Fixed "black" color 2018-08-02 16:15:55 -07:00
Vladislav Filyakov 883e4c988a - Added standard colors and fonts 2018-08-02 14:50:30 -07:00
Vladislav Filyakov b23b51d672 Updated CocoaPod spec version to 0.1.2 2018-07-26 12:19:34 -07:00
Vladislav Filyakov 41a65dc76c Added metadata for repo scanner 2018-07-13 15:11:10 -07:00
Vladislav Filyakov 79391f83b7 - MSButton: support for design-time 2018-07-12 14:12:01 -07:00
Vladislav Filyakov f9207b91bb - Extracted demo list into a separate file
- Project structure clean up
2018-07-09 17:02:36 -07:00
Vladislav Filyakov f8cdfaf9d8 - MSButton: added initial test file
- Clean up
2018-06-29 10:46:20 -07:00
Vladislav Filyakov 58a5eeafdc - Added MSButton
- Demo: added MSButtonController
- Demo: shows a list of available demos and a specified demo controller on tap
- Demo: clean up
2018-06-27 17:30:30 -07:00
Vladislav Filyakov dc244851c2 Added demo project 2018-06-27 14:26:09 -07:00
Vladislav Filyakov 8b2a799153 Test CI build 2018-06-20 17:31:05 -07:00
Vladislav Filyakov 629ce0783b Added schema back 2018-06-20 15:57:53 -07:00
Vlad Filyakov 5be00f5356 Updated project.pbxproj 2018-06-20 22:46:24 +00:00
Vladislav Filyakov 0ffc06bef1 CocoaPod spec v0.1.1 2018-06-19 17:13:44 -07:00
Vladislav Filyakov 7a71384e38 Added LICENSE 2018-06-19 13:16:54 -07:00
Vladislav Filyakov 0624309a6c Added Localizable.strings 2018-06-19 13:00:20 -07:00
Vladislav Filyakov 599b1bf8d0 - Defined Swift version in pod spec
- Added assets
2018-06-19 12:53:02 -07:00
Vladislav Filyakov fa094d8814 Fixed pod spec 2018-06-19 12:43:42 -07:00
Vladislav Filyakov 053351a4d5 Added pod spec 2018-06-19 12:39:32 -07:00
Vladislav Filyakov bcfd299805 Removed user data 2018-06-19 11:36:54 -07:00
Vladislav Filyakov 17d6771122 Updated project structure 2018-06-19 11:27:04 -07:00
Vladislav Filyakov 1b67475b5f Initial Commit 2018-06-19 11:19:32 -07:00