Feliz-style Fable bindings for Material-UI.
https://cmeeren.github.io/Feliz.MaterialUI/
This project uses fake
, paket
, and femto
as .NET Core 3 local tools. Therefore, run dotnet tool restore
to restore the necessary CLI tools before doing anything else.
To run targets using Fake: dotnet fake build -t TargetName
- Run the
RegularMaintenance
target, which will update all packages as well as the Femto metadata inFeliz.MaterialUI.fsproj
, and regenerate the bindings based on the live MUI docs - Check all changes to Feliz.MaterialUI and adjust the generator’s API parser as needed. Remember to check all doc comment updates too, since changes there may indicate that something must be changed elsewhere. Run the
RegenerateFromCache
target (or run the generator project in VS) to re-generate based on the recently downloaded HTML pages. - Update
Feliz.MaterialUI.fsproj
with a new version number and release notes - Update the changelog
- Update relevant docs/samples (typically in
docs-app/public/pages
, potentially also by adding menu items inApp.fs
) - Run the
CiBuild
target to check that everything compiles - Run the
Docs:Run
target to verify that the docs are still working - Commit and tag the commit (this is what triggers deployment from AppVeyor). For consistency, the tag should be identical to the version (e.g.
1.2.3
). - Push the changes and the tag to the repo. If AppVeyor build succeeds, the package is automatically published to NuGet.
- Publish the docs by running the
Docs:Publish
target
- Loosened FSharp.Core version requirements
- Updated for Feliz 1.1, @material-ui/core 4.9.14, and @material-ui/lab 4.0.0-alpha.53
- Updated from fixed MUI docs and for @material-ui/lab 4.0.0-alpha.49
- Breaking:
timeout
andtransitionDuration
props have had their optional argument list extended at the beginning. If you have used positional arguments instead of named arguments, you must change your code to use named arguments.
- Updated for @material-ui/lab 4.0.0-alpha.46
- Add support for localization
- Update from MUI docs
- Flattened the
classes
props, see updated docs
- Updated for @material-ui/core 4.9 and @material-ui/lab 4.0.0-alpha.41
- Add missing theme DSL props
shape
,transitions
, andzIndex
- Fix name collisions in theme DSL
- Removed invalid
theme.typography.srOnly
from theme DSL
- Switched to custom unflatten implementation to avoid problems (see #39 and hughsk/flat#94)
- As a consequence of the above, removed (the read-only)
Theme.props
andTheme.overrides
- Fixed higher-arity
theme.spacing
overloads
- Breaking: New DSL for creating themes; properties on the
Theme
type and related types are now read-only. See the updated theme docs for details. - Breaking: Slight change to
makeStyles
. The required signature for your style function is nowfun styles theme -> {| ... |}
and you use the passed-instyles.create
instead of the staticStyles.create
, which has been removed. This improves type safety for interpolated styles. See the updated makeStyles docs for details.
- Breaking:
snackbarContent.role
is now a normalstring
property (not enum property) as per updated MUI docs - Updated for @material-ui/lab 4.0.0-alpha.39
- Updated doc comments from MUI docs
- Added
float
overloads to relevantrating
props
- Updated for @material-ui/core 4.8 and @material-ui/lab 4.0.0-alpha.36
- Update for @material-ui/lab 4.0.0-alpha.32
- Regenerated based on MUI API docs
- Fixed
themeProvider
import
- Regenerated based on MUI API docs
- Breaking:
buttonRef
props removed (no longer exist in MUI API docs) - Breaking:
muiThemeProvider
is nowthemeProvider
(#27) - Updated for @material-ui/core 4.6
- Updated for @material-ui/lab 4.0.0-alpha.30 (new autocomplete component)
- Added warning to
@material-ui/lab
component docs
- Updated Feliz dependency
- Regenerated based on updated MUI docs
- Changed some
slider.marks
signatures - Allow any sequence for props, not just
list
- Some internal optimizations
- Disabled Feliz native DOM prop inheritance (seemingly broken due to F# compiler limitations, see #20 (comment)). Inheritance within MUI props are now based on simply duplicating inherited props for child components, and Feliz’s
prop
must be used for non-MUI props. - Improved
popover.anchorOrigin
andpopover.transformOrigin
- Added
seq<ReactElement>
overload to all components that support it
- Added prop inheritance
- Updated Feliz dependency to 0.57
- Updated Feliz dependency and pinned the version to avoid breaking 0.x changes
- Support for Material-UI 4.5
- Regenerated bindings based on updated MUI docs
- Initial alpha release