npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@johannes-z/office-ui-fabric-vue

v0.3.6

Published

> Office UI Fabric (https://github.com/OfficeDev/office-ui-fabric) > implementation for Vue.js

Downloads

46

Readme

office-ui-fabric-vue

Office UI Fabric (https://github.com/OfficeDev/office-ui-fabric) implementation for Vue.js

This is a WIP!

Browser support

Fabric Vue supports all evergreen browsers, with IE 11 as the min-bar version of Internet Explorer.

Fabric Vue supports many commonly used web browsers such as Internet Explorer, Google Chrome, Mozilla Firefox, Apple Safari, and Microsoft Edge. For browsers outside of this matrix, proper behavior of the components may be good but is not guaranteed.

| Browser | Supported | Not supported | |-------------------------------------|:---------:|:-------------:| | Microsoft Edge | X | | | Internet Explorer 11 | X | | | Internet Explorer 10 | | X | | Internet Explorer 9 | | X | | Google Chrome (latest 2 versions) | X | | | Mozilla Firefox (latest 2 versions) | X | | | Apple Safari (latest 2 versions) | X | |

Requirements

Office UI Fabric Core

The components provided by this library require the official CSS files. See Get started with Fabric Core.

Installation

npm install --save-dev @johannes-z/office-ui-fabric-vue
yarn add -D @johannes-z/office-ui-fabric-vue

Getting Started

Prepare HTML

Office UI Fabric styles require two things:

  1. The dir attribute on the container has to be set for some icons and styles, e.g. dir="ltr".
  2. The class ms-Fabric has to be set on the container, e.g. <body class="ms-Fabric"></body>

The template for the docs looks as follows:

<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title></title>
  </head>
  <body class="ms-Fabric">
    <div id="app"></div>
  </body>
</html>

Install Plugin

After this step all components will be registered globally. You can use any of the currently available components in your application (see docs for a list of available components).

import Vue from 'vue'
import Fabric from '@johannes-z/office-ui-fabric-vue'

import '@johannes-z/office-ui-fabric-vue/dist/office-ui-fabric-vue.css'

Vue.use(Fabric)

Showcase

Showcasing components is done using https://github.com/vuejs/vuepress.

See ./docs for an example how to add new pages.

Components

This is a list to keep track of the progress of the components:

  • Basic inputs
    • [ ] Button
    • [ ] Checkbox
    • [ ] ChoiceGroup
    • [x] Label
    • [X] Link
    • [ ] Slider
    • [ ] SpinButton
    • [x] Tag*
    • [ ] TextField
    • [x] Toggle
  • Navigation
    • [ ] SearchBox
  • Content
    • [ ] ActivityItem
    • [ ] Icon
    • [ ] Persona
  • Pickers
  • Progress & Validation
    • [ ] MessageBar
    • [x] ProgressIndicator
    • [ ] Shimmer
    • [x] Spinner
  • Surfaces
  • Utilities

Contributing

Any contributions are welcome, as long as they follow the project's file/folder structure and styles provided by the .editorconfig file and eslint.

Important: Keep dependencies of external libraries to a minimum.

Compatibility

All components should be compatible with at least IE11.

License

All files on the Office UI Fabric Vue GitHub repository are subject to the MIT license, unless otherwise noted. Please read the License file at the root of the project.

Usage of the fonts and icons referenced in Office UI Fabric is subject to the terms of the assets license agreement.