OfficeDev / office-ui-fabric-core

The front-end CSS framework for building experiences for Office and Microsoft 365.
https://developer.microsoft.com/en-us/fabric
Other
3.77k stars 466 forks source link

Why are all the code samples only in react? #1200

Open IsaacSomething opened 4 years ago

IsaacSomething commented 4 years ago

Hi Just wondering why all the code samples for the controls, in the documentation are only in react? Would be kinda nice to have the fabric core UI styles as well.

michaelmaillot commented 4 years ago

Hi,

Same question, as I wanted to retrieve examples for animation classes (like "ms-slideLeftIn20" or else), the OUIF site doesn't display anymore samples related to the Core.

Jahnp commented 4 years ago

Sorry folks—this is a gap in the documentation we're aware of, and would like to fix, but don't have immediate plans for. I'll leave this open and update if the funding situation changes. Apologies for the inconvenience.

michaelmaillot commented 4 years ago

Thx @Jahnp !

FYI, I've found out that it's working when referencing AnimationClassNames from OUIFR (which references IRawStyle animation properties).

Can someone else try out like this and let us know here ? I'm in version 6.189.2 for Fabric React and 1.9.1 for Fabric Core.

sven5 commented 4 years ago

You should port the OfficeUi Fabric to Blazor widgets.

Eweol commented 4 years ago

@sven5 it's still in progress but maybe BlazorFabric is something for you!

LoveSponge commented 4 years ago

This is a massive hole in the documentation - you are targeting only users of react framework before users of no framework? I'm building an OFFICE ADD-IN and it does not come bundled with react (which Is a good thing) but how am I supposed to style my add-in with fabric if there is no reference to what the classes are or how they are supposed to be used?! I don't know how anyone else is even using fabric core? This may sound like I'm just being a critic, but it's a cry for help. Anyone who knows where to find the classes or how to use them, please help.

IsaacSomething commented 4 years ago

After searching for a while it seems like there is some better documentation here:

https://developer.microsoft.com/en-us/fabric-js/components/breadcrumb/breadcrumb

wimagee commented 4 years ago

It seems all documentation paths lead to React - with absolutely nothing for anyone else. Very poor. "Support for Fabric JS has ended. We recommend that you use Office UI Fabric React." Sorry, no!

0xLeeHar commented 4 years ago

I was looking forward to using this in my ng2+ app but it looks like I’m going to have to theme roll bootstrap to try and match it.

kalaschnik commented 4 years ago

After searching for a while it seems like there is some better documentation here:

https://developer.microsoft.com/en-us/fabric-js/components/breadcrumb/breadcrumb

Fabric JS seems to be deprecated...