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

2193 Коммитов

Автор SHA1 Сообщение Дата
Joanna Qu d7f954bca7
Bump version to 0.32.0 (#2109) 2024-11-21 12:53:18 -08:00
Lamine Male 29d8c312c4
Don't recreate pill buttons when the pill button bar's bounds change (#2108) 2024-11-20 14:43:52 -08:00
Mike Schreiber 8b6ed6d8d5
[iOS] Support gradient colors for selected item in `TabBarView` (#2107)
* Adding an API for gradient highlights on `TabBar`

* Adding additional comments

* Delete old commented test code
2024-11-14 14:45:36 -08:00
Mike Schreiber 0e6e9a1a6e
Fix dark mode issues with new color system (#2105) 2024-11-08 13:38:04 -08:00
Des Marks a4abfdb616
[A11y][VoiceOver] Set accessibility value for the sheet expansion state (#2101)
* Set accessibility value for the sheet expansion state.

* PR Cleanup

---------

Co-authored-by: Des Marks <desmarks@Dess-Mac-mini.local>
2024-11-05 15:18:01 -08:00
Daniel Morales 71df35b0da
Fixing function call (#2104) 2024-11-04 20:13:21 +00:00
Joanna Qu dbc5609759
Fix swift 6 error (#2103) 2024-11-02 00:50:52 +00:00
Daniel Morales 7b48bf195d
Fix (#2102) 2024-11-01 13:09:18 -07:00
Mike Schreiber c89102c8ee
Fix Dogfood CODE_SIGN_IDENTITY (#2100) 2024-10-24 22:55:20 +00:00
Mike Schreiber bd274ff960
Create `FluentUI_common` module, part 1 (#2094)
* Update common files to build in a separate module

* Moving FluentTheme back to original location to help with diff

* Make DynamicColor internal again

* Remove `_DEPRECATED`

* Fix whitespace issues
2024-10-21 19:42:01 +00:00
Lukas Capkovic f1ebf878f2
Ensure MSFNotification doesn't internally handle safe areas (#2099) 2024-10-21 10:16:27 -07:00
Mike Schreiber 38954a21e9
Bump version to 0.31.0 (#2097) 2024-10-17 15:53:36 -07:00
T.J. Ross 5fe0c3740d
Fix SPM support for visionOS (#2098) 2024-10-17 20:27:22 +00:00
Mike Schreiber 1ef7f33359
Updating `Version.plist` keys to match other plists (#2096) 2024-10-16 23:32:32 +00:00
Joanna Qu f8d3094a8f
Cleanup code (#2095) 2024-10-14 14:44:30 -07:00
Mike Schreiber 308f8b7771
Fixing swiftlint for new folder config (#2093) 2024-10-02 12:33:35 -07:00
Joanna Qu 9e9db43e3f
Fix links (#2091) 2024-09-30 20:18:47 +00:00
Lamine Male 56619e44b4
Change max allowed tabs from 5 to 6 in TabBarView (#2092) 2024-09-27 14:31:07 -07:00
Mike Schreiber 2e35533d99
[iOS][macOS] Rework top-level file management (#2090)
* Reorganize all files to align with SPM standards

* Update scripts for new locations

* Restore podspec

* Fix SwiftUI demo app

* Updating docs, loc script, and readme

* Correct demos path for iOS
2024-09-25 16:50:54 -07:00
Mike Schreiber 2db2f49132
[iOS][macOS] Remove iOS Xcode Project (#2082)
* Delete project/workspace for iOS, and update macOS

* Update package for version and tests on iOS

* Fix demo imports

* Update build script and docs

* Invoke xcodebuild as projects

* Update macOS targets to build properly

* Delete unused files

* Update version numbering script
2024-09-17 20:02:37 -07:00
Mike Schreiber 0fadbee237
Handle deprecated API in DatePickerController (#2089) 2024-09-11 00:30:11 +00:00
Mike Schreiber f7b1b2eb5b
Properly deprecate `UITextItemInteraction` for iOS 17 (#2086)
* Properly deprecate `UITextItemInteraction`

* Include legacy implementation for iOS 16
2024-09-01 05:11:21 +00:00
Harry 35c81c1fef
[iOS] Add `sourceItem` as the anchor option to Drawer for the popover presenting style (#2084)
* update

* Refine

---------

Co-authored-by: Harry Qian <heqia@microsoft.com>
2024-08-22 06:13:46 -07:00
Harrie Shin 9aac0a6c36
update to 0.30.0 fluent version (#2085) 2024-08-16 21:55:22 +00:00
Harrie Shin 1c237e3257
add objc initialization support for dynamic color (#2083) 2024-08-12 21:48:21 +00:00
huanluu d22f6c209a
Add wide accessory view to ShyHeaderView (#2080)
* Add wide accessory view to ShyHeaderView

* change some text

* minor change

* PR feedback

* Rename wideAccessoryView to secondaryAccessoryView

* Rename wideContentStackView to secondaryContentStackView

---------

Co-authored-by: Huan Lu <huanlu@microsoft.com>
2024-08-08 15:20:08 -07:00
Mike Schreiber 2421cf4920
New Avatar API: `hasBackgroundOutline` (#2081)
* New Avatar API: `hasBackgroundOutline`

* Use outer ring instead of inner
2024-08-03 01:21:30 +00:00
Joanna Qu 224dab9f3b
Add disabled trait to tab bar item view (#2079)
* add tab bar item disabled trait

* check if isEnabled changed
2024-07-30 13:14:31 -07:00
Mike Schreiber 6360f50260
Fix anchor and index path of ObjC popup demo (#2078) 2024-07-29 12:36:08 -07:00
Joanna Qu 2d3a03baee
Fix bottom commanding bug where dimming view is still accessible when collapsed (#2072)
* Revert "Calculate Bottom Commanding header height instead of using constant (#2041)"

This reverts commit d298dacb9d.

* change headerTopMargin

* set alpha explicitly if not transitioning
2024-07-27 10:50:48 -07:00
cbowdoin 411c8c5ec0
Added delegate method to allow consumers to preform an action when the user starts panning the sheet (#2077) 2024-07-26 14:56:52 -07:00
Mike Schreiber 1d6be3a8eb
Create a SwiftUI demo app, and consume Fluent via Swift Package (#2075) 2024-07-25 15:57:27 -07:00
Des Marks 584aeed1dd
Ensure TableViewHeaderFooterView has a themed default text color and font style (#2076)
* Ensure that TableViewHeaderFooterView has a themed default text color for attributedStrings

* Updates to apply default fluent style

* Remove unneeded cast
2024-07-25 09:53:16 -07:00
Lukas Capkovic 30b8885f5d
New method for separator hiding (#2068) 2024-07-17 11:31:48 -07:00
Mike Schreiber 7d00d6a760
Add accessibility for MultilineCommandBarDemo (#2058) 2024-07-10 17:48:13 +00:00
Lukas Capkovic f4d271bf7a
Various a11y fixes for SearchBar and BadgeView (#2054) 2024-07-09 18:38:59 +00:00
Harrie Shin 69da0ecb72
use ios 17 api (#2057)
iOS 17 added new accessibility trait which custom control that now notify to users it is a toggle. BooleanCell is a custom UITableViewCell which we had our own accessibility strings to mimic OS behavior. We can eventually remove this custom string if all of our cells with uiswitch contains .toggleButton trait.
2024-07-08 19:06:40 -07:00
Mike Schreiber 42744b2383
Switch to using Toggle in ActivityIndicatorDemoController (#2055) 2024-07-03 23:47:23 +00:00
Lukas Capkovic 0b1431c6db
Fix Xcode crash by not creating infinitely large views (#2056) 2024-07-03 15:30:16 -07:00
cbowdoin cb39b2a0e8
Add a willMove method to bottom sheet delegate (#2052)
* Add a will move method to bottom sheet delegate

* Fixed comments

* Addressed PR feedback

* Trigger Build
2024-07-01 13:52:52 -07:00
Joanna Qu a36cd3c458
Extend ListItem to support overrideTokens (#2047)
* tokenize listitem

* add state so tokens update when size changes

* untokenize + add overrideTokens instead

* reverts

* allow chaining

* cleanup code
2024-06-26 15:56:54 -07:00
Joanna Qu e728a4ad4d
Fix ListItem padding bug on visionOS (#2049) 2024-06-24 17:48:55 -07:00
Mike Schreiber d5a0dd29ee
Updating version to 0.29.0 (#2051) 2024-06-24 13:52:25 -07:00
Lynn Zhang 2d1071a4a3
Add ListItem to podspec (#2048)
* Add ListItem to podspec, move table view/list item shared resources into a separate folder/subspec

* Update dependency

* Alphabetize folders
2024-06-21 13:10:22 -07:00
Des Marks 744a205cd0
Reapply #1929 and fix issue where header title uses incorrect font (#2040)
* TableViewHeaderFooterView should not override any font or color provided as part of the AttributedString (#1929)

* Update CommandBarButton.swift

* Update CommandBarButton.swift

* Command handled event should pass the event source in the handler

* Fix spacing

* Fix lint errors and make updates for some review comments

* Do not override font or color provided in the attributed string

* Fix spacing

* Fix update of titleView font

* Updates for PR feedback

* Only use attributed color and font when non-nil, otherwise use tokenset value

* Cleanup setup methods. Move all setup to setupBase(...) to ensure views are correctly recycled when reused.

* More cleanup

* fixups

* PR Updates

---------

Co-authored-by: owenconnolly <52223389+owenconnolly@users.noreply.github.com>
2024-06-21 15:47:45 +00:00
Mike Schreiber a7c83b5618
Adding `verticalOffset` property to FluentNotification (#2045) 2024-06-19 05:07:45 +00:00
Alexander Boswell fe0730c427
[List Item] Add animation when adding or removing subtitle/footer (#2046)
* fix animation for list item

* clean up code

* update per comments
2024-06-17 22:36:29 +00:00
Mike Schreiber 96fa7eecfc
Remove space after @objc (#2043) 2024-06-10 22:13:16 +00:00
Mike Schreiber 10f944b961
Remove iOS 15 support (#2042)
* Remove iOS 15 support

* Specify list style

* Update `Package.swift`
2024-06-07 15:19:40 -07:00
Joanna Qu d298dacb9d
Calculate Bottom Commanding header height instead of using constant (#2041)
* calculate header height instead of using constant

* remove headerHeight var

* update comment
2024-06-07 10:52:43 -07:00