Alexander Boswell
d421f0c1e7
[main_0.27] Add localized strings to expose accessibility string ( #2009 )
...
* Add localized strings to expose accessibility string (#2005 )
2024-04-25 16:46:56 +00:00
Joanna Qu
650561377f
Place notification on glass on visionOS ( #2002 ) ( #2004 )
2024-04-24 21:16:39 -04:00
Des Marks
4259888d15
Extend FluentButtonToggleStyle to support overrideTokens(_:) ( #1996 ) ( #2003 )
...
* Extend FluentButtonToggleStyle to support overrideTokens(_:) and add functionality to the SwiftUI button demo.
2024-04-24 13:15:57 -07:00
Mike Schreiber
281aaee558
Adding `minimumScaleFactor` to HUD rendering ( #1997 ) ( #2001 )
...
* Adding `minimumScaleFactor` to HUD rendering
* Move minimumScaleFactor constant to HeadsUpDisplayTokenSet
2024-04-23 16:28:05 -07:00
Alexander Boswell
d5495759c4
bump version ( #1995 )
2024-04-09 13:54:59 -07:00
Alexander Boswell
07cd71869d
make modifiers optional ( #1994 )
2024-04-08 23:42:01 +00:00
Glen Huang
3da41ed12d
Bumping to 0.27.0 ( #1991 )
...
* bump version
* Revert "bump version"
This reverts commit b155eb338f
.
* use script to bump version
2024-04-04 13:44:32 -07:00
Michael Chong
b50b2f4077
Fix Mac Catalyst support of SPM ( #1989 )
...
* fix
* Update Package.swift
* Update Package.swift
2024-04-04 08:16:39 -07:00
Mike Schreiber
585aa32eb6
New `FluentButtonToggleStyle` ( #1993 )
...
* Creating new `FluentButtonToggleStyle`
* Simplify corner radius calculation for buttons
* Typos, GlobalTokens, and renaming Presssed -> On
2024-04-03 21:10:52 +00:00
Lamine Male
e7dd82fb83
Publicly expose applyShadow function for SwiftUI ( #1992 )
...
* Move applyFluentShadow to public extension in ShadowInfo
* Add documentation for UIKit shadows
* Cleanup
2024-04-02 16:04:34 -07:00
Mike Schreiber
7775a9f50c
[SwiftUI] FluentButtonStyle ( #1986 )
...
* WIP: FluentButtonStyle
* Fix floating buttons and add hover effect
* Update demo to use Form
* Update FluentTheme defaults
* Refactor ControlHostingView and FluentUIHostingController
* Fix ordering in project, and remove unneeded vars in ButtonTokenSet
* Fix logic for FluentTheme default
* Renamed `FluentThemedHostingController` and updated documentation
* Remove stored tokenSet property, update demo button title
* Switching to use SwiftUI.ControlSize for control sizing
* Fix outline based on `isFloatingStyle`
* New demo view that shows all buttons
2024-03-29 22:05:37 +00:00
Glen Huang
e488bdecaa
Add keyboard type to search bar ( #1990 )
...
* add keyboard type to search bar
* revert version updates
* capitalize demo placeholders
2024-03-29 13:20:17 -07:00
Sophia Lee
d5b527b024
Bumping to 0.26.0 ( #1988 )
2024-03-14 22:10:12 +00:00
Sophia Lee
53ddee69dc
Adding keyboard type to text field ( #1987 )
2024-03-13 17:47:24 -07:00
Mike Schreiber
120798e3d9
Fix a crash in visionOS when nesting `.onChange` inside `#available` ( #1984 )
2024-03-06 16:56:13 -08:00
Mike Schreiber
e4fa6fa4b5
Updating version number to 0.25.0 ( #1983 )
2024-03-06 10:29:59 -08:00
cbowdoin
90c9d01f65
Allow Bottom Sheets to go Directly from Hidden to Expanded ( #1978 )
2024-03-06 08:57:21 -08:00
Joanna Qu
a635921149
Update primary text color style to be foreground1 ( #1982 )
2024-03-01 11:10:04 -08:00
Joanna Qu
d1eb74873c
Update TableViewCell backgroundConfiguration to reflect style ( #1981 )
2024-02-29 17:02:13 -08:00
Mike Schreiber
158cee5c14
Move visionOS token overrides to separate function and file ( #1980 )
2024-02-28 15:32:20 -08:00
Mike Schreiber
1ec3c51de5
Cleaning up warnings in Demo app ( #1979 )
2024-02-23 15:17:32 -08:00
cbowdoin
7a1bc97581
Cbowdoin/bottom sheet supports x axis constraints ( #1951 )
...
* Add in the ability specify preferredWidth can control contraints
* Cleaned up anchor description and simplified logic
* Cleaned up whitespace and paranthesis
* Fixed bug for leading and trailing edge not support rtl languanges. Also fixed minor formatting issuees
* fixed up minor formatting issues
* Adding padding to the bottom sheet constants
* Changed anchoredEdge logic to use a switch
* Replaced magic number with global spacing token
* Avoided setting public properties internally
* Swapped sheet width logic from using a closure to use a method
* Fixed naming on anchored edge objective-c consumption and removed early return
2024-02-20 18:21:47 +00:00
Mike Schreiber
30393f0549
Optimize `FluentTheme` updating ( #1976 )
...
* New API, `isApplicableThemeChange(_:for:)`
* Update views to use new API for FluentTheme updates
* Fix bug in theme setting for `DemoListViewController`
* Updating visibility and comment for `FluentTheme.shared`
2024-02-17 01:14:06 +00:00
Alexander Boswell
1d84a47339
set default line limit to nil so it is not restricted for accessibility ( #1975 )
2024-02-15 21:34:26 -08:00
Joanna Qu
7c15b9fc3f
Update dangerForeground2 to use light mode variant on visionOS ( #1973 )
2024-02-15 09:21:04 -08:00
Mike Schreiber
ec74c093d5
Fix layout for custom views in `BadgeView` ( #1971 )
2024-02-14 21:02:54 +00:00
Joanna Qu
744b550c43
Add visionOS to pr template ( #1970 )
2024-02-14 19:24:38 +00:00
Joanna Qu
b580bc98c6
Set header font to match headerPrimary on visionOS ( #1972 )
2024-02-14 10:31:24 -08:00
Joanna Qu
6512ad43b0
Update PopupMenuItemCell to be white when selected on visionOS ( #1969 )
2024-02-13 14:48:43 -08:00
Mike Schreiber
65a2c714eb
Restore iOS AvatarTests ( #1964 )
...
* Restore AvatarTests and enable for SPM
* Simplify imports for tests
* Remove SPM test target for the moment
2024-02-09 00:16:24 +00:00
Mike Schreiber
99d6ede71e
Bump CI to macOS 14 and build visionOS debug simulator ( #1966 )
2024-02-08 15:29:26 -08:00
Joanna Qu
08de668449
Update onChange to use onChange_iOS17 ( #1965 )
2024-02-08 14:44:44 -05:00
Joanna Qu
12c93a3e6b
Set segment pill button corner radius ( #1963 )
...
* set corner radius
* move const to SegmentedControlTokenSet.swift
2024-02-03 09:38:20 -05:00
Mike Schreiber
839b04603a
Adding permissions for loc pipeline to use GITHUB_TOKEN ( #1962 )
2024-02-02 13:41:26 -08:00
Mohammed Imthathullah
46694127e0
Activity Indicator: Remove branching views to improve performance ( #1957 )
2024-02-01 15:04:54 -08:00
Mike Schreiber
ae6228ef70
Initial visionOS integration ( #1956 )
...
* Merge in minimal visionOS changes to library
* Update demo app to build for visionOS
* Update Package.swift for visionOS support
* Limit demos to only "supported" controls
* Switch to disabling unsupported controls
* Simplify branding assignment for visionOS
2024-01-31 23:57:10 +00:00
Mohammed Imthathullah
adfc8982b0
Fix typo ( #1959 )
2024-01-30 22:43:38 -08:00
Mike Schreiber
5e902abba3
Bump Xcode version to 15.2 ( #1953 )
2024-01-25 08:42:58 -08:00
Daniel Morales
882746f62e
Respecting avatarOverrideStyle when setting TitleView style ( #1949 )
...
Respecting avatarOverrideStyle when setting TitleView style
2024-01-24 15:40:24 -08:00
Joanna Qu
3053e63049
Add transparent neutral button ( #1944 )
...
* add subtle neutral button
* rename to transparentNeutral
2023-12-20 02:46:28 -05:00
Joanna Qu
22f70c504b
Revert "TableViewHeaderFooterView should not override any font or color provided as part of the AttributedString ( #1929 )" ( #1945 )
...
This reverts commit 559db7111c
.
2023-12-19 17:57:09 -08:00
Mike Schreiber
2170a5b2d0
Update all macOS targets to 12.0 ( #1946 )
2023-12-19 09:02:11 -08:00
Joanna Qu
f505a428c6
Add ability to customize SideTabBar's background and separator color ( #1943 )
...
* add sidetabbar tokens
* fix whitespace
2023-12-13 11:05:24 -08:00
Sophia Lee
8fd371881f
Fixing keyboard support in drawers ( #1938 )
2023-12-05 13:10:36 -08:00
Sophia Lee
5b5ca0a405
Fix popupmenu colors ( #1937 )
2023-12-04 16:27:04 -08:00
Mike Schreiber
d41a66cae6
Make FluentUI be iOS 17 safe ( #1935 )
...
* Make FluentUI be iOS 17 safe
* Fix whitespace
2023-11-22 13:50:35 -08:00
Mike Schreiber
a5c2d0d02c
Updating version number to 0.24.0 ( #1934 )
2023-11-17 13:21:58 -08:00
Mike Schreiber
40b7aedb93
New API: `setSharedThemeColorProvider(_:)` ( #1933 )
...
* Add `setSharedThemeColorProvider` API
* Fix logic to reset default shared theme
* Overhaul demo themes, add new Purple theme
* Update UI when app-wide theme changes
2023-11-15 16:12:15 -08:00
owenconnolly
559db7111c
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
2023-11-15 12:49:31 +00:00
Lamine Male
4746aeb8f2
Truncate navigation bar title if too long ( #1932 )
2023-11-14 17:31:02 -08:00