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

2193 Коммитов

Автор SHA1 Сообщение Дата
Sophia Lee 1766700b5c
Fixing view cutoff in iPad when showing DrawerController (#1893) 2023-09-19 09:00:16 -07:00
Lamine Male bbf19592be
Fix NavigationBar's title view constraints (#1891)
* Update titleView constraints to fit the nav bar

* Rewrite the logic

* Always update the title view contraints to fit

* Rename titleview constraints function

* Address comments

* Silence constraints warning
2023-09-18 15:10:15 -07:00
huwilkes e524f32340
Latest localized resource files from Touchdown Build (#1890) 2023-09-11 17:32:45 +00:00
huwilkes 9ad628639e
Latest localized resource files from Touchdown Build (#1888) 2023-09-08 23:45:05 +00:00
Alexander Boswell 7946699fa1
[ListItem] Fix static method for getting background color (#1889)
* fix static method for getting background color
2023-09-08 09:26:28 -07:00
huwilkes c339784575
Latest localized resource files from Touchdown Build (#1886) 2023-09-07 22:52:19 +00:00
Alexander Boswell 4e01344822
Change alpha of ListItem when disabled (#1887) 2023-09-07 20:40:01 +00:00
huwilkes 0401e1f214
Latest localized resource files from Touchdown Build (#1884) 2023-09-07 11:07:06 -07:00
Lamine Male 67a7993395
Add accessibility label to navigation bar's back button (#1869)
* Add nav bar bar button accessibility label

* Rearrange strings alphabetically
2023-09-06 21:09:41 +00:00
Des Marks f58e3e993d
Enable list item cell swipe actions inside bottom sheet component (#1881)
* [BottomSheetController] - Enable list item cell swipe actions to occur inside bottom sheet component

* Cleanup new demo list

* Add comment
2023-09-06 18:39:12 +00:00
Harrie Shin b960cddcca
add xcbeautify for our ci results (#1882)
To make the build errors and test results little bit more human readable lets start using xcbeautfiy in our ci.
lets remove CI checks for couple of branches we don't have any more like fluent-token.
Our CI runs lot of different flavors but i don't think it is all necessary. We can't build and test the demo app without the fluent library builds. Most of the time we just need to ensure our release iOS device builds correctly which isn't as common for normal development cycle.
2023-09-01 16:00:10 -07:00
Mike Schreiber 31505d0a1d
Require admin approval for `Package.swift` (#1880)
* Require admin approval for Package.swift

* Require admin approval for CODEOWNERS as well
2023-08-30 09:41:43 -07:00
Alexander Boswell 4b1f195417
Version bump to 0.22.0 (#1879) 2023-08-28 14:10:47 -07:00
Alexander Boswell c2a053a4a9
ListItem and ListActionItem (#1871)
* ListItem initial MVP (#1845)

Setup new control for ListItem that is a SwiftUI version of MSFTableViewCell

* List Item Demo Setup (#1853)

Setup demo app to show List Item.

* [ListItem] Add support for leading content size in tokens (#1855)

* support custom view size
* fix list item modifiers to not use an @ObservedObject
* rename file

* XCTests for ListItem (#1858)

* update test app to have controls to change swiftui view
* setup all XCTests

* MVP of List Action Item (#1857)

* add List Action Item

* ListActionItem XCTests and demo (#1861)

* add demo and XC tests for listactionitem

* [ListItem] Support VoiceOver (#1864)

* support VoiceOver

* add modifier for handling accessibility element of trailing content

* [ListItem] fix spacing and provide background color API (#1876)

* [ListItem] fix horizontal spacing

* Add static func for getting the list background color
2023-08-25 22:42:05 +00:00
huwilkes 2fad5507b0
Update Mac legacy Avatar color lookup (#1873)
- Move mod in abs
2023-08-25 16:45:58 +00:00
Harrie Shin 01ac785127
respect default render mode for main icon of cardnudge (#1874) 2023-08-24 21:41:22 +00:00
Des Marks f06f46dd74
Bottom Commanding more button is showing up unexpectedly & Overflowed HeroItems appear squashed in some cases (#1872)
* Bottom Commanding more button is showing up unexpectedly

* Set preferredContentSize after constraining tableview to ensure correct tableHeaderView layout
2023-08-23 22:24:50 -07:00
Des Marks 7b05348104
Version bump to 0.21.0 (#1870) 2023-08-21 22:18:29 +00:00
huwilkes 9e0beeac20
Add an unread dot to the AvatarGroup (#1866)
* Add isUnread var

* Update a11y label for unread

* Fix padding bug

* Add unread dot

* Update demo
2023-08-21 21:14:46 +00:00
huwilkes de4316f323
Latest localized resource files from Touchdown Build (#1868) 2023-08-21 19:28:31 +00:00
huwilkes d4bcbd01cb
[Localization] Localized Resource Files (#1865)
* Latest localized resource files from Touchdown Build

* Revert English regressions
2023-08-21 16:51:48 +00:00
Des Marks a2cd31ea35
Add isHidden property to CommandingItem (#1862)
Add isHidden property to CommandingItem and updated related controller.
2023-08-18 21:08:17 -07:00
huwilkes 798b7f3d48
Update the AvatarGroup's accessibility label (#1863)
* Move avatarsToDisplay to computed var

* Add new strings

* Combine children

* Build label

* Set label

* Fix whitespace

* Add comment for localization context

* Use cached var for count
2023-08-17 13:19:31 -07:00
Lamine Male 6eb216a2fa
Fix memory leaks in Button, PillButton and SegmentPillButton (#1856) 2023-08-02 19:01:56 -07:00
Harrie Shin 25f66880b9
update appcenter dependency (#1854) 2023-08-01 09:53:31 -07:00
Joanna Qu 0ce0dfc94c
Tokenize PeoplePicker (#1850)
* tokenize people picker

* add updateBackgroundColor

* Delete PersonaListViewTokenSet.swift

* address comments

* make peoplePickerTokenSet private

* update BadgeField

* move backgroundColor update
2023-07-31 11:25:24 -07:00
Joanna Qu 8049862afe
Call updateAppearance in BadgeField (#1852) 2023-07-31 08:58:32 -07:00
huwilkes 5a04fc6e9a
Update CardNudge to allow multi-line title and message action (#1851)
* Remove title line limit

* Fix dismiss button spacing

* Add message action

* Add more hover effects

* Update demo
2023-07-28 09:01:22 -07:00
Lamine Male 92e5bb7357
Cleanup Separator tokenization (#1846) 2023-07-26 12:36:44 -07:00
Joanna Qu 461c0e861b
Tokenize BadgeField (#1843)
* tokenize badgeField

* update name

* add back observer

* address comments
2023-07-25 14:40:38 -04:00
Lamine Male 429238537d
Disable scrolling from PopupMenu when content fits the table view (#1840) 2023-07-22 01:44:06 +00:00
huwilkes 8536566727
Tokenize the BottomCommandingController (#1841)
* Add token set

* Conform to TokenizedControlInternal

* Replace constants

* Fix header height

* Fix tvc image color not being used

* the rest of the owl

* Fix background token

* Fix bottom bar top spacing

* Move demo

* Move updat to viewWillAppear
2023-07-21 17:09:23 -07:00
Alexander Boswell 79c82a0e5c
Fix bug in which showProfileButton was being reset to true for AvatarTitleView (#1842)
Fix bug in which showProfileButton was being reset to true for AvatarTitleView
2023-07-21 22:38:05 +00:00
Harrie Shin 75f0626d8d
footerview wasn't showing in demoapp. lets fix it (#1839) 2023-07-21 00:06:33 +00:00
Joanna Qu cb973e3daa
Fix pod publish to use macOS 13 (#1836) 2023-07-20 17:26:13 -04:00
Harrie Shin 025b00e19b
adjust header color for popup menu (#1833) 2023-07-19 18:57:13 -07:00
Joanna Qu 01aacfc8bc
Remove dynamicColor from remaining demo controllers (#1832)
* update remaining demo controllers

* update ReadmeViewController
2023-07-19 15:43:25 -04:00
Lamine Male ec596923da
Add script to bump version strings (#1830)
* Script to update podspec

* Check input version is correct

* Fix up regex

* Add plists bump + warnings
2023-07-19 18:10:26 +00:00
Des Marks 5f629b8f4e
Buttons in scrollable CommandBar are filling containing view equally, creating undesirable layout (#1826)
* Buttons in scrollable CommandBar are using .fillEqually distribution

* Updates

* Update

* Remove duplicate constraint
2023-07-19 15:52:35 +00:00
Joanna Qu 493aaa55d5
Update ControlHostingView's hostingController to wrap subview (#1831) 2023-07-18 14:39:48 -07:00
huwilkes 2f04446f7c
Add overflow support for the hero items in the BottomCommandingController (#1829)
* Restore missing images

* Remove hero item limit

* Increase hero count in demo

* Add overflow stack

* Adjust tableHeaderView height

* Adjust heroCommandStack width

* Adjust demo defaults

* Adjust hero button width constraint logic

* Add isViewLoaded check
2023-07-14 23:36:37 +00:00
Lamine Male b535c55316
Bump version (#1828) 2023-07-14 16:14:51 -07:00
Lamine Male 61dd64abf8
Support leading image for both title and subtitle in TwoLineTitleView (#1825)
* Implement leading image for both title and subtitle

* Add check to UINavigationItem + hide avatar

* Use showsProfileButton to hide avatar

* Add preconditionFailure

* Include title image in the preconditionFailure

* Cleanup

* Add demo

* Set maximumContentSizeCategory

* Cleanup containingStackView setup

* Add comments
2023-07-14 18:43:31 +00:00
Amogh Vinod Aralimatti d435930d86
[Fluent Button] Added Border Shadows (#1827)
* Added border shadows for Primary and Secondary style Fluent buttons

* Extended the button border shadows to also include the previously left out button styles - acrylic and borderless

* Revert "Extended the button border shadows to also include the previously left out button styles - acrylic and borderless"

This reverts commit 2872699a72.

* added comments

* whitespace sanitization + converted colorset from decimal to hex to match figma
2023-07-14 10:23:31 -07:00
Joanna Qu 69628b8cf9
Support multiple leading images in TableViewHeaderFooterView (#1824) 2023-07-12 11:05:46 -07:00
Lamine Male 8a3ce8e374
Add support for custom trailing image of TwoLineTitleView's subtitle (#1823) 2023-07-10 14:32:41 -04:00
huwilkes 5cd36711ad
Add tappableSize to Button (#1821)
* Add tappableSize

* Expose tappableSize in objc
2023-07-07 20:51:57 +00:00
Joanna Qu 2fb6c59809
Update ci.sh to match ci.yml (#1822) 2023-07-07 12:51:53 -07:00
huwilkes 740960363d
Update Textfield tokens (#1820)
* Add dangerStroke2

* Update Textfield tokens
2023-07-07 18:51:49 +00:00
Joanna Qu 936a0f1ffd
Bump Xcode version to fix locally failing XCUITests (#1819)
* Fix failing XCUITests on tokens branch (#1642)

* attempt to fix tests

* add newlines to dismiss keyboard

* fix toggle taps

* update xcode version

* update to macos 13

* update ci.yml

* update xcconfig files

* remove update to macos 13

* add back removeUnusedResourcesFromAssets.swift
2023-07-07 11:21:36 -07:00