Git Product home page Git Product logo

winstrap's Introduction

Windows Library for JavaScript (WinJS)

Join the chat at https://gitter.im/winjs/winjs Build Status

Status

Microsoft is committed to making sure that WinJS continues to run for existing customers. At this time we don't have plans to invest in new features or feature requests. Bug fixes will be limited to correcting substantial issues that are blocking customer deployments. We may also consider bug fixes to help our customers maintain their existing WinJS-based apps.

Intro

WinJS is a set of JavaScript toolkits that allow developers to build applications using HTML/JS/CSS technology forged with the following principles in mind:

  • Provide developers with a distinctive set of UI controls with high polish and performance with fundamental support for touch, mouse, keyboard and accessibility
  • Provide developers with a cohesive set of components and utilities to build the scaffolding and infrastructure of their applications

This is a first step for the WinJS project and there is still a lot of work that needs to be done. Feel free to participate by contributing along the way.

Contribute

There are many ways to contribute to the project.

You can contribute by reviewing and sending feedback on code checkins, suggesting and trying out new features as they are implemented, submitting bugs and helping us verify fixes as they are checked in, as well as submitting code fixes or code contributions of your own.

Note that all code submissions will be rigorously reviewed and tested by the team, and only those that meet an extremely high bar for both quality and design appropriateness will be merged into the source.

Build WinJS

In order to build WinJS, ensure that you have git and Node.js installed.

Clone a copy of the master WinJS git repo:

git clone https://github.com/winjs/winjs.git

Change to the winjs directory:

cd winjs

Install the grunt command-line interface globally:

npm install -g grunt-cli

Grunt dependencies are installed separately in each cloned git repo. Install the dependencies with:

npm install

Run the following and the WinJS JavaScript and CSS files will be put in the bin directory:

grunt

Note: You may need to use sudo (for OSX, *nix, BSD etc) or run your command shell as Administrator (for Windows) to install Grunt globally.

Tests status

Refer to http://winjs.azurewebsites.net/#status for the current status of the unit tests and the list of known issues.

Try WinJS

Check out our online playground at http://winjsdevelop.azurewebsites.net/

Follow Us

Twitter https://twitter.com/BuildWinJS
Facebook https://www.facebook.com/buildwinjs

winstrap's People

Contributors

ajsb85 avatar andyseres avatar blustemy avatar cassieapril avatar codefactorymx avatar eonasdan avatar hezedu avatar jarrod-microsoft avatar jmldev avatar joeday avatar joetheday avatar lbmict avatar mlijanto avatar phosphoer avatar rachelnizh avatar v-jekaye avatar v-nichor avatar v-resund avatar wgroenestein avatar xtoolkit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

winstrap's Issues

I can't build it

Hi!

I'm trying to build bootstrap-winjs, but I've got some issues on my way. I'm not grunt/node expert. I'm using OS X on MacBook Pro

My process is:

I've installed fresh nodejs

I've installed grunt cli with npm install -g grunt-cli

I've cloned from git with git clone https://github.com/winjs/bootstrap-winjs.git

I've entered created dir with cd bootstrap-winsj

I've used sudo npm install

Then I've used sudo grunt, I've got info about builded 8 pages

I run grunt server

Then I go to localhost:9001/

What I see is some page, but without any CSS, Times New Roman and Bootstrap WinJs image in the top.

In my console I get 2 errors (Chrome 41)

GET http://localhost:9001/css/app.css?0.2.0 jquery.min.map:1 GET http://localhost:9001/js/vendor/jquery.min.map 404 (Not Found)

In my my dist folder I've got 8 html files, js, images, fonts folder. No even css folder. Any idea what am I doing wrong?

No matter what solution is - it would be great to have online demo of this project.

Font file updates

The Selawik font file permissions are not set to installable. See #17.

WOFF and EOT references should be removed until those file formats are included in the project.

Class name prefixes

Today we use win- prefixed CSS class names, which might cause issues when the library is used in conjunction with WinJS since it has the same prefix. We should consider changing our prefix to something more unique to the project.

Winstrap support for IE8

I was looking at the winstrap site on ie8 and things don't look right. Stuff is broken. Colours and backgrounds are off, among other things.

Is there a shim or build step or something that I need to add to my site to make these things ie8 friendly? A few examples of things that I've seen in the css would be the usage of rgba() which isn't supported by ie8 and is ignored, or the use of before:: instead of before: with one : will break glyphs.

Bootstrap wells

It looks like:
@import "../../../bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/wells";
is commented out in override/_bootstrap.scss. It seems to work after un-commenting it. Is there a reason this is commented out?

build task updates

  1. add clean task to grunt
  2. add post-assembly check that the files that were supposed to have been built were built. apparently grunt-sass doesn't consider a missing src file an error.

Dropdown fixes

For JS dropdown:
Links inside dropdown should have text decoration none and the background color of the button should NOT change when dropdown is opened. Currently it becomes blue.
bootstrapwinjsdropdown2

dark theme?

Is there a dark theme available? If not, where is the best place to change the colors?

Progress Bar and Progress Ring

I have two issues with progress indicators.

I like loading indicator in Windows Phone's interface. But in winstrap, there's big ugly black bar above progress bar. Yes, I can remove it with CSS tricks, but why it is there in first place? This one is much better than current implementation. Also you can't apply text-center to winstrap's progress bar.

Other thing is about progress ring. If you apply text-center with a div to progress rings, they don't move to horizontally center and they look ugly.

app.scss renamed to bootstrap-winjs.scss

Grunt file needs to be updated from this

 'dist/css/app.css': 'src/scss/app.scss'

to this

'dist/css/bootstrap-winjs.css': 'src/scss/bootstrap-winjs.scss'

While you're at it, @import "win/panels"; needs to be @import "override/panels"; in bootstrap-winjs.scss too.

Bower package should come pre-built

Running bower install bootstrap-winjs should not only pull the development files but also build them.

Alternatively, a pre-built package could be pulled down with the development files.

Grid Columns Variable

In _variables.scss, $grid-columns is set to 24 in bootstrap-winjs. In regular bootstrap it's set to 12.

We should consider not modifying the original bootstrap value. That way if someone were to add bootstrap-winjs into an existing project with bootstrap, they wouldn't need to readjust their grids.

Input group height

The input group is not aligned to the input control

<label for="DateIssued">Date Issued</label>
<div class="input-group datepicker col-sm-6 col-md-6" id="DateIssued-datepicker">
    <input class="form-control" id="DateIssued" name="DateIssued" type="datetime" value="">
    <div class="input-group-addon">
        <span class="win-icon-calendar"></span>
    </div>
</div>

image

Intrinsic dropdown fixes

For intrinsic drop downs:
Make the background color of the entry point the same as the flyout so we avoid this color problem we often run in to.
Current:
selecttouchcolorlight

Expected:
selecttouchcolorlightproposed

Border-Width differs from WinJS

Hello,

I noticed that the border-width for all components have been set to 1px to satisfy the "Basel" guidelines. The only official Guidlines I've found for MDL are always using a border greater then 1 for textbox and other fields giving them a "solid" look. WinJS itself is using a bigger border, that means the look of projects made with WinJS differ from projects made with Winstrap. What's the reason for that inconsistency?

What is this Basel style guide?
Where can I find it?

WinJS "Controls" in WinStrap?

Hi
I just discovered this project. The idea of using Bootstrap as the underlying "Theme" is great, because it is well known. Currently there are many "Metro"-bootstrap Themes out there, but they all have more or less the same style and target: Web Applications.

If I look at the current Win10 apps like Groove Music or the Xbox App they make heavily use of the http://try.buildwinjs.com/#splitview (at the first glance... of course there are many controls used... )

So my question is: Are you trying to build a real bootstrap theme targeting for the Windows Universal World where a "SplitView" is just a couple of HTML elements away, because the "default" style and behaviour is baked into your template?
Or do you just try to make a Modern-Design-Language Theme for Bootstrap, without touching the WinJS controls?

I know I could mix "WinStrap" and the WinJS Stuff, but the beauty of Bootstrap is that a couple of default styles are shipped with the bootstrap.css.

International Type Ramp

  1. How do we want to approach international fonts?
  2. How does falling back to Selawik work internationally? Does it work?

Need Basel Symbols Font

Our current font is Metro. Both Checkbox and Radio button need these updated symbols to be design complete.

Color variable swap

$color-chrome-20 and $color-chrome-30 need to be swapped throughout this project so the darkness of grey increases as the variable number increases

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.