Started working on Gluon core
Core module has been initialized, as well as a default flavor. Minor changes (read DEVLOG), moved things around, cleaned up some things and built some of the basic features.
2344
dist/mini-default.css
vendored
2
dist/mini-default.min.css
vendored
265
docs/build-docs.js
Normal file
|
@ -0,0 +1,265 @@
|
|||
var fs = require('fs');
|
||||
var version = require('./vinf'); // Gets version info.
|
||||
var frameworkUrl = `"https://cdnjs.cloudflare.com/ajax/libs/mini.css/${version.version.slice(1)}/mini-default.css"`;
|
||||
// INDEX
|
||||
|
||||
var indexHtml = `<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link href="https://fonts.googleapis.com/css?family=Inconsolata:400,700|Poppins:400,400i,500,700,700i&subset=latin-ext" rel="stylesheet">
|
||||
<link rel="stylesheet" href="./style.min.css">
|
||||
<title>mini.css - Minimal, responsive, style-agnostic CSS framework</title>
|
||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="mini.css is a tiny CSS framework designed to build quick, modern and responsive websites.">
|
||||
<meta name="keywords" content="mini, mini.css, CSS, framework, minimal, responsive, style-agnostic, front-end, frontend, Sass, toolkit">
|
||||
<meta name="author" content="Angelos Chalaris (chalarangelo)">
|
||||
<meta property="og:title" content="mini.css - Minimal, responsive, style-agnostic CSS framework">
|
||||
<meta property="og:description" content="mini.css is a tiny CSS framework designed to build quick, modern and responsive websites."/>
|
||||
<meta property="og:type" content="website"/><meta property="og:image" content="page_thumb.png">
|
||||
<meta property="og:url" content="https://chalarangelo.github.io/mini.css/"><link rel="icon" type="image/png" href="favicon.png">
|
||||
</head>
|
||||
<body>
|
||||
<div class="index-splash">
|
||||
<div class="index-splash-image no-filter"></div>
|
||||
<div class="index-splash-image"></div>
|
||||
<h1 class="splash">mini<small>.css</small></h1>
|
||||
<p class="splash">minimal, responsive, style-agnostic <br>CSS framework</p>
|
||||
<p id="version-info">${version.version}</p>
|
||||
<a class="button splash" href="docs">Get started</a>
|
||||
</div>
|
||||
<header class="row sticky">
|
||||
<span class="col-md-1 col-lg-2"></span>
|
||||
<span class="logo col-sm-3 col-md">mini.css</span>
|
||||
<a class="button col-sm col-md" href="docs">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="height: 20px; vertical-align: text-top;"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg>
|
||||
<span> Docs</span></a>
|
||||
<a class="button col-sm col-md" href="https://github.com/Chalarangelo/mini.css" target="_blank">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="height: 20px; vertical-align: text-top;"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg>
|
||||
<span> Github</span></a>
|
||||
<a class="button col-sm col-md" href="flavors">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="height: 20px; vertical-align: text-top;"><path d="M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34"></path><polygon points="18 2 22 6 12 16 8 16 8 12 18 2"></polygon></svg>
|
||||
<span> Flavors</span></a>
|
||||
<span class="col-md-1 col-lg-2"></span>
|
||||
</header>
|
||||
<div class="row padded">
|
||||
<div class="col-sm-12 col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
|
||||
<img src="./responsive.svg" class="feature-image">
|
||||
<h2 class="feature-header">Fast and Responsive</h2><br>
|
||||
<p>Want to build websites that look beautiful on any and all devices, but also load fast on mobile connections? Then <strong>mini.css</strong> is the right tool for you! Its tiny size (under 10KB gzipped), along with its <strong>responsive grid</strong> and modern components ensures that all your users are satisfied and can access your website anytime, anywhere. Bridging the gap between fully-featured frameworks (e.g. Bootstrap and Semantic UI) and micro frameworks (e.g. Milligram and Pure.CSS), <strong>mini.css</strong> packs a lot of features in a small package, while it relies solely on CSS, meaning you do not have to worry about any conflicts with other Javascript libraries you might be using.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row padded alt-back">
|
||||
<div class="col-sm-12 col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
|
||||
<img src="./tailored.svg" class="feature-image">
|
||||
<h2 class="feature-header">Tailored to Your Needs</h2><br>
|
||||
<p>Creating a CSS framework that caters to everyone's needs is no easy task, but <strong>mini.css</strong> manages to rise to the occasion by providing extensive and coherent documentation in combination with templates, examples and semantic HTML5 markup. Modern UX patterns and accessibility guidelines are well-documented and can be used out of the box, using one of the unique <strong>flavors</strong> that the framework provides. If you still want more, you can create your own custom flavor or tweak an existing one just by opening its CSS file and changing a few custom properties. It's that simple! </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row padded primary-section">
|
||||
<div class="col-sm-12 col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
|
||||
<h2 class="feature-header">Get started now!</h2><br>
|
||||
<p>Head over to the <a href="docs">documentation</a> to learn how to get started using <strong>mini.css</strong>, as well as what flavors and components are availble and how to use them to create the website or web app you've always wanted. If you like the framework and want to support it, remember to to star it on Github. It means a lot to us and it only takes a couple of seconds!</p>
|
||||
<p style="text-align:center;"><a href="docs" class="button">Get started</a></p>
|
||||
<a href="https://github.com/Chalarangelo/mini.css" target="_blank" class="centered">mini.css on Github</a>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="row"><div class="col-sm-12 col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"><p style="text-align: justify;"><strong>mini.css</strong> was designed and built by <a href="https://github.com/Chalarangelo" target="_blank">@Chalarangelo</a>. Source code licensed under the <a href="https://github.com/Chalarangelo/mini.css/blob/master/LICENSE">MIT License</a>.</p><p>Icons provided by <a href="https://feathericons.com/" target="_blank">Feather</a>. Photo by <a href="https://unsplash.com/photos/vjMgqUkS8q8" target="_blank">Christopher Gower</a> on <a href="https://unsplash.com" target="_blank">Unsplash</a>.</p></div></footer>
|
||||
</body>
|
||||
</html>`;
|
||||
|
||||
var indexOutputPath = './docs/index.html'; // This path is relative to package.json.
|
||||
|
||||
fs.writeFile(indexOutputPath,
|
||||
`${indexHtml}`,
|
||||
function(err) { if(err) return console.log(err); console.log("Index file generated!"); }
|
||||
);
|
||||
|
||||
// DOCUMENTATION
|
||||
var docFragments = require('./doc-fragments/docFragments'); // Gets all document fragments as a list.
|
||||
var docOutputPath = './docs/docs.html'; // This path is relative to package.json.
|
||||
|
||||
const FEATHER_BANNER = `<a href="https://feathericons.com/" class="section double-padded" id="feather-banner" target="_blank" rel="noopener"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#f8f8f8" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20.24 12.24a6 6 0 0 0-8.49-8.49L5 10.5V19h8.5z"></path><line x1="16" y1="8" x2="2" y2="22"></line><line x1="17" y1="15" x2="9" y2="15"></line></svg> Powered by Feather</a>`;
|
||||
|
||||
var documentStart = `<!DOCTYPE html><html lang="en"><head>
|
||||
<link href="https://fonts.googleapis.com/css?family=Inconsolata:400,700|Poppins:400,400i,500,700,700i&subset=latin-ext" rel="stylesheet">
|
||||
<link rel="stylesheet" href="./style.min.css">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/3.0.4/fuse.min.js"></script>
|
||||
<title>mini.css - Docs</title>
|
||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="mini.css is a tiny CSS framework designed to build quick, modern and responsive websites.">
|
||||
<meta name="keywords" content="mini, mini.css, CSS, framework, minimal, responsive, style-agnostic, front-end, frontend, Sass, toolkit">
|
||||
<meta name="author" content="Angelos Chalaris (chalarangelo)">
|
||||
<meta property="og:title" content="mini.css - Minimal, responsive, style-agnostic CSS framework">
|
||||
<meta property="og:description" content="mini.css is a tiny CSS framework designed to build quick, modern and responsive websites."/>
|
||||
<meta property="og:type" content="website"/><meta property="og:image" content="page_thumb.png">
|
||||
<meta property="og:url" content="https://chalarangelo.github.io/mini.css/"><link rel="icon" type="image/png" href="favicon.png">
|
||||
</head><body>`;
|
||||
var documentEnd = `</body></html>`;
|
||||
|
||||
var appShellStart = `<div id="root"><header class="row">
|
||||
<span class="logo col-sm-3 col-md">mini.css</span>
|
||||
<a class="button col-sm col-md" href="https://github.com/Chalarangelo/mini.css" target="_blank">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="height: 20px; vertical-align: text-top;"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg>
|
||||
<span> Github</span></a>
|
||||
<a class="button col-sm col-md" href="flavors">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="height: 20px; vertical-align: text-top;"><path d="M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34"></path><polygon points="18 2 22 6 12 16 8 16 8 12 18 2"></polygon></svg>
|
||||
<span> Flavors</span></a>
|
||||
<label for="doc-drawer-checkbox" class="button drawer-toggle col-sm"></label>
|
||||
</header>
|
||||
<div class="row" id="doc-wrapper">`;
|
||||
var appShellEnd = `</div></div>`;
|
||||
|
||||
var appSidebarStart = `<input id="doc-drawer-checkbox" class="drawer" value="on" type="checkbox">
|
||||
<nav class="col-md-4 col-lg-3" id="nav-drawer"><h3>Menu</h3><label for="doc-drawer-checkbox" class="button drawer-close"></label><div><input style="width: 100%; margin: 0px;" placeholder="Search..." type="search" id="search-bar" oninput="search()"></div>`;
|
||||
var appSidebarEnd = `<span id="no-results">No results found</span></nav>`;
|
||||
|
||||
var mainStart = `<main class="col-sm-12 col-md-8 col-lg-9" id="doc-content">`;
|
||||
var mainEnd = `<footer><p><strong>mini.css</strong> was designed and built by <a href="https://github.com/Chalarangelo" target="_blank">@Chalarangelo</a>. Source code licensed under the <a href="https://github.com/Chalarangelo/mini.css/blob/master/LICENSE">MIT License</a>.</p><p>Icons provided by <a href="https://feathericons.com/" target="_blank">Feather</a>. Search powered by <a href="http://fusejs.io/" target="_blank">Fuse.js</a>.</p></footer></main>`;
|
||||
|
||||
var documentationFragments = docFragments.map(f => buildFragment(f)).join('<br/>');
|
||||
var documentationLinks = docFragments.map(f => buildLink(f)).join('');
|
||||
var documentationSearch = `<script>
|
||||
// Search script
|
||||
var docs= [${docFragments.map(f => stripData(f))}];
|
||||
var options = {threshold:0.4, keys:["keys"]};
|
||||
var fuse = new Fuse(docs,options);
|
||||
function search(){
|
||||
var query = document.getElementById('search-bar').value;
|
||||
if(query.length){
|
||||
var result = fuse.search(query);
|
||||
if(result.length){
|
||||
var resIds = result.map(function(item){
|
||||
return ':not(#link-to-'+item.id+')';
|
||||
}).join('');
|
||||
document.getElementById('search-style').innerHTML = '#no-results{display:none;}#nav-drawer a'+resIds+'{display:none;}';
|
||||
}
|
||||
else {
|
||||
document.getElementById('search-style').innerHTML = '#nav-drawer a{display:none;}#no-results{display:block;}';
|
||||
}
|
||||
}
|
||||
else{
|
||||
document.getElementById('search-style').innerHTML = '#no-results{display:none;}';
|
||||
}
|
||||
}
|
||||
// Codepen prefill script
|
||||
var el = document.querySelectorAll('.prefiller-example > pre');
|
||||
el.forEach(e => e.innerHTML = '<form action="https://codepen.io/pen/define" method="POST" target="_blank" class="codepen-form">' +
|
||||
'<input type="hidden" name="data" value=\\\'' + JSON.stringify({
|
||||
html : e.innerText,
|
||||
css_external : ${frameworkUrl}
|
||||
}).replace(/"/g, """)
|
||||
.replace(/'/g, "'") + '\\\'>' +
|
||||
'<input type="image" class="codepen-link" src="data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23424242%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolygon%20points%3D%2212%202%2022%208.5%2022%2015.5%2012%2022%202%2015.5%202%208.5%2012%202%22%3E%3C%2Fpolygon%3E%3Cline%20x1%3D%2212%22%20y1%3D%2222%22%20x2%3D%2212%22%20y2%3D%2215.5%22%3E%3C%2Fline%3E%3Cpolyline%20points%3D%2222%208.5%2012%2015.5%202%208.5%22%3E%3C%2Fpolyline%3E%3Cpolyline%20points%3D%222%2015.5%2012%208.5%2022%2015.5%22%3E%3C%2Fpolyline%3E%3Cline%20x1%3D%2212%22%20y1%3D%222%22%20x2%3D%2212%22%20y2%3D%228.5%22%3E%3C%2Fline%3E%3C%2Fsvg%3E" width="40" height="40" value="Open in Codepen">' +
|
||||
'</form>' + e.innerHTML);
|
||||
</script>
|
||||
<style id="search-style">#no-results{display:none;}</style>`;
|
||||
|
||||
function buildFragment(fragment){
|
||||
var fragmentHtml = `<div id="${fragment.id}" class="card fluid">
|
||||
<h2 class="section double-padded">${fragment.title}</h2>
|
||||
${fragment.id === 'icons'?FEATHER_BANNER:''}
|
||||
<div class="section">${fragment.description}</div>
|
||||
${fragment.example?`<div class="section"><h3>Example</h3>${fragment.example}</div>`:''}
|
||||
${fragment.samples.length?`<div class="section double-padded prefiller-example"><h3>Sample code</h3>${fragment.samples.join('')}</div>`:''}
|
||||
${fragment.modifiers.length?
|
||||
`<div class="section double-padded prefiller-example"><h3>Modifiers</h3>
|
||||
${fragment.modifiers.map(m => `<h4>${m.title}</h4>${m.description}${m.example?`<h5>Example</h5>${m.example}`:''}${m.samples.length?`<h5>Sample code</h5>${m.samples.join('')}`:''}`).join('<br/>')}</div>`:''}
|
||||
${fragment.dos.length||fragment.donts.length?
|
||||
`<div class="section double-padded"><h3>Best practices</h3>${[fragment.dos.map(d => `<div class="row dodos"><div class="col-sm-12 col-md-6">${d.sample}</div><div class="col-sm-12 col-md-6"><p><mark class="do">Do:</mark> ${d.description}</p></div></div>`).join('<br/>'),fragment.donts.map(d => `<div class="row dodos"><div class="col-sm-12 col-md-6">${d.sample}</div><div class="col-sm-12 col-md-6"><p><mark class="dont">Don't:</mark> ${d.description}</p></div></div>`).join('<br/>')].join('')}</div>`
|
||||
:''}
|
||||
${fragment.notes.length?`<div class="section double-padded"><h3>Notes</h3><ul>${fragment.notes.map(n => `<li>${n}</li>`).join('')}</ul></div>`:''}
|
||||
${fragment.customization.length?`<div class="section double-padded"><h3>Customization</h3><ul>${fragment.customization.map(s => `<li>${s}</li>`).join('')}</ul></div>`:''}
|
||||
</div>`;
|
||||
return fragmentHtml;
|
||||
}
|
||||
|
||||
function buildLink(fragment){
|
||||
return `<a href="#${fragment.id}" id="link-to-${fragment.id}">${fragment.title}</a>`;
|
||||
}
|
||||
|
||||
function stripData(fragment){
|
||||
return `{id: "${fragment.id}", keys: [${fragment.keywords.map(k=>`"${k}"`)}] }`;
|
||||
}
|
||||
|
||||
fs.writeFile(docOutputPath,
|
||||
`${documentStart}${appShellStart}
|
||||
${appSidebarStart}${documentationLinks}${appSidebarEnd}
|
||||
${mainStart}${documentationFragments}${mainEnd}
|
||||
${appShellEnd}
|
||||
${documentationSearch}
|
||||
${documentEnd}`,
|
||||
function(err) { if(err) return console.log(err); console.log("Documentation file generated!"); }
|
||||
);
|
||||
|
||||
// CUSTOMIZATION
|
||||
var custFragments = require('./doc-fragments/customizationFragments'); // Gets all customization fragments as a list.
|
||||
var custOutputPath = './docs/flavors.html'; // This path is relative to package.json.
|
||||
|
||||
var customizationStart = `<!DOCTYPE html><html lang="en"><head>
|
||||
<link href="https://fonts.googleapis.com/css?family=Inconsolata:400,700|Poppins:400,400i,500,700,700i&subset=latin-ext" rel="stylesheet">
|
||||
<link rel="stylesheet" href="./style.min.css">
|
||||
<title>mini.css - Flavors</title>
|
||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="mini.css is a tiny CSS framework designed to build quick, modern and responsive websites.">
|
||||
<meta name="keywords" content="mini, mini.css, CSS, framework, minimal, responsive, style-agnostic, front-end, frontend, Sass, toolkit">
|
||||
<meta name="author" content="Angelos Chalaris (chalarangelo)">
|
||||
<meta property="og:title" content="mini.css - Minimal, responsive, style-agnostic CSS framework">
|
||||
<meta property="og:description" content="mini.css is a tiny CSS framework designed to build quick, modern and responsive websites."/>
|
||||
<meta property="og:type" content="website"/><meta property="og:image" content="page_thumb.png">
|
||||
<meta property="og:url" content="https://chalarangelo.github.io/mini.css/"><link rel="icon" type="image/png" href="favicon.png">
|
||||
<script src="./jszip.min.js"></script>
|
||||
<script src="./FileSaver.min.js"></script>
|
||||
<script src="./sass.js"></script>
|
||||
</head><body>`;
|
||||
var customizationEnd = `</body></html>`;
|
||||
|
||||
var customizationAppShellStart = `<div id="root"><header class="row">
|
||||
<span class="logo col-sm-3 col-md">mini.css</span>
|
||||
<a class="button col-sm col-md" href="https://github.com/Chalarangelo/mini.css" target="_blank">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="height: 20px; vertical-align: text-top;"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg>
|
||||
<span> Github</span></a>
|
||||
<a class="button col-sm col-md" href="docs">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="height: 20px; vertical-align: text-top;"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg>
|
||||
<span> Docs</span></a>
|
||||
<label for="doc-drawer-checkbox" class="button drawer-toggle col-sm"></label>
|
||||
</header>
|
||||
<div class="row" id="doc-wrapper">`;
|
||||
var customizationAppShellEnd = `</div></div>`;
|
||||
|
||||
var customizationAppSidebarStart = `<input id="doc-drawer-checkbox" class="drawer" value="on" type="checkbox">
|
||||
<nav class="col-md-4 col-lg-3" id="nav-drawer"><h3>Menu</h3><label for="doc-drawer-checkbox" class="button drawer-close"></label>`;
|
||||
var customizationAppSidebarEnd = `</nav>`;
|
||||
|
||||
var customizationMainStart = `<main class="col-sm-12 col-md-8 col-lg-9" id="doc-content">`;
|
||||
var customizationMainEnd = `<footer><p><strong>mini.css</strong> was designed and built by <a href="https://github.com/Chalarangelo" target="_blank">@Chalarangelo</a>. Source code licensed under the <a href="https://github.com/Chalarangelo/mini.css/blob/master/LICENSE">MIT License</a>.</p><p>Icons provided by <a href="https://feathericons.com/" target="_blank">Feather</a>. Flavor generation powered by <a href="http://sass.js.org/" target="_blank">Sass.js</a> and <a href="https://stuk.github.io/jszip/" target="_blank">JSZip</a>.</p></footer></main>`;
|
||||
|
||||
var customizationFragments = custFragments.map(f => buildCustomizationFragment(f)).join('<br/>');
|
||||
var customizationLinks = [buildLink(custFragments[0]), buildLink(custFragments[1]), '<hr style="padding:0;"/>', ...custFragments[2].sections.map(f => buildLink(f))].join('');
|
||||
|
||||
function buildCustomizationFragment(fragment){
|
||||
var fragmentHtml = `<div id="${fragment.id}" class="card fluid">
|
||||
<h2 class="section double-padded">${fragment.title}</h2>${fragment.content}
|
||||
</div>`;
|
||||
return fragmentHtml;
|
||||
}
|
||||
|
||||
fs.writeFile(custOutputPath,
|
||||
`${customizationStart}${customizationAppShellStart}
|
||||
${customizationAppSidebarStart}${customizationLinks}${customizationAppSidebarEnd}
|
||||
${customizationMainStart}${customizationFragments}${customizationMainEnd}
|
||||
${customizationAppShellEnd}
|
||||
${customizationEnd}`,
|
||||
function(err) { if(err) return console.log(err); console.log("Flavors file generated!"); }
|
||||
);
|
||||
|
||||
var miniSassFiles = ['_contextual_mixins', '_contextual', '_core', '_icon', '_input_control_mixins', '_input_control', '_layout_mixins', '_layout', '_navigation', '_progress_mixins', '_progress', '_table', '_utility'];
|
||||
|
||||
miniSassFiles.forEach(f => fs.createReadStream(`./src/mini/${f}.scss`).pipe(fs.createWriteStream(`./docs/mini/${f}.scss`)));
|
||||
|
||||
var flavorFiles = ['mini-default', 'mini-dark', 'mini-nord'];
|
||||
|
||||
flavorFiles.forEach(f => {
|
||||
fs.createReadStream(`./src/flavors/${f}.scss`).pipe(fs.createWriteStream(`./docs/flavorFiles/${f}.scss`));
|
||||
fs.createReadStream(`./dist/${f}.css`).pipe(fs.createWriteStream(`./docs/flavorFiles/${f}.css`));
|
||||
fs.createReadStream(`./dist/${f}.min.css`).pipe(fs.createWriteStream(`./docs/flavorFiles/${f}.min.css`));
|
||||
});
|
11
docs/doc-fragments/premadeFlavors.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
var version = require('../vinf').version;
|
||||
module.exports = {
|
||||
id: 'prebuilt-flavors',
|
||||
title: 'Prebuilt flavors',
|
||||
content: `<div class="section"><p><strong>mini.css</strong> comes with a few prebuild flavors out of the box, so you can get started without having to finetune every little aspect of your CSS framework:</p>
|
||||
<ul>
|
||||
<li>Default: <a href="flavorFiles/mini-default.scss" download>SCSS file</a> - <a href="flavorFiles/mini-default.css" download>CSS file</a> - <a href="flavorFiles/mini-default.min.css" download>CSS file (minified)</a></li>
|
||||
<li>Dark: <a href="flavorFiles/mini-dark.scss" download>SCSS file</a> - <a href="flavorFiles/mini-dark.css" download>CSS file</a> - <a href="flavorFiles/mini-dark.min.css" download>CSS file (minified)</a></li>
|
||||
<li>Nord: <a href="flavorFiles/mini-nord.scss" download>SCSS file</a> - <a href="flavorFiles/mini-nord.css" download>CSS file</a> - <a href="flavorFiles/mini-nord.min.css" download>CSS file (minified)</a></li>
|
||||
</ul></div>`
|
||||
}
|
189
docs/index.html
|
@ -1,6 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- TODO: Add missing favicon and page_thumb images when about to release -->
|
||||
<!-- TODO: Update meta information when about to release -->
|
||||
<link rel="stylesheet" href="mini-default.min.css">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<title>mini.css - Minimal, responsive, style-agnostic CSS framework</title>
|
||||
|
@ -12,194 +14,7 @@
|
|||
<meta property="og:description" content="mini.css is a tiny CSS framework designed to build quick, modern and responsive websites."/>
|
||||
<meta property="og:type" content="website"/><meta property="og:image" content="page_thumb.png">
|
||||
<meta property="og:url" content="https://chalarangelo.github.io/mini.css/"><link rel="icon" type="image/png" href="favicon.png">
|
||||
<style>
|
||||
@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 400; src: local('Noto Sans'), local('NotoSans'), url(https://fonts.gstatic.com/s/notosans/v6/erE3KsIWUumgD1j_Ca-V-xJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
|
||||
@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 400; src: local('Noto Sans'), local('NotoSans'), url(https://fonts.gstatic.com/s/notosans/v6/LeFlHvsZjXu2c3ZRgBq9nFtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; }
|
||||
#logo-body { position: relative; background: -webkit-linear-gradient(#07020d 25%, #150627 45%, #220a40 75%, #300d5a); background: linear-gradient(#07020d 25%, #150627 45%, #220a40 75%, #300d5a); height: -webkit-calc(100vh - 48px); height: calc(100vh - 48px); overflow: hidden; text-align: center; }
|
||||
#description { color: #f5f5f5; font-family: 'Noto Sans', sans-serif; position: absolute; top: 49vh; width: 100%; margin: 0; }
|
||||
#top-heading { color: #f5f5f5; font-size: 2.8em; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); position: absolute; margin: 0; top: 35vh; width: 100%; height: 20vh; min-height: 42px; font-family: 'Noto Sans', sans-serif; }
|
||||
#top-vtag-cont { width: 100%; text-align: center; }
|
||||
#top-version-tag { padding: 8px 8px; font-size: 1.2em; font-weight: 700; font-family: 'Noto Sans', sans-serif; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); position: absolute; top: 55vh; width: 40px; background: #4527a0; border-radius: 6px; margin: 0; margin-left: -30px; }
|
||||
@media screen and (max-height:480px), screen and (max-width: 480px) { #top-version-tag { display: none; } #description { top: 60vh;}}
|
||||
#mt1 { position: absolute; bottom: 0; left: -7vw; width: 0; height: 0; border-left: 12vw solid transparent; border-right: 11vw solid transparent; border-bottom: 8.5vw solid #07020d; }
|
||||
#mt1:after { content: ""; position: absolute; left: -1.4vw; border-left: 1.4vw solid transparent; border-right: 11vw solid transparent; border-bottom: 8.5vw solid #150627; z-index: 2; }
|
||||
#mt2 { position: absolute; bottom: -0.4vw; left: 10vw; width: 0; height: 0; border-left: 7vw solid transparent; border-right: 10vw solid transparent; border-bottom: 7vw solid #120520; z-index: 3; }
|
||||
#mt2:after { content: ""; position: absolute; left: -1.3vw; border-left: 1.3vw solid transparent; border-right: 10vw solid transparent; border-bottom: 7vw solid #1b0833; z-index: 4; }
|
||||
#mt3 { position: absolute; bottom: 0; right: 17.75vw; width: 0; height: 0; border-left: 8vw solid transparent; border-right: 7vw solid transparent; border-bottom: 6vw solid #1b0833; z-index: 5; }
|
||||
#mt3:after { content: ""; position: absolute; left: -8vw; border-left: 8vw solid transparent; border-right: 1.4vw solid transparent; border-bottom: 6vw solid #220a40; z-index: 6; }
|
||||
#mt4 { position: absolute; bottom: -0.25vw; right: 8vw; width: 0; height: 0; border-left: 7.5vw solid transparent; border-right: 7.25vw solid transparent; border-bottom: 6.5vw solid #150627; z-index: 3;}
|
||||
#mt4:after { content: ""; position: absolute; left: -7.5vw; border-left: 7.5vw solid transparent; border-right: 1.7vw solid transparent; border-bottom: 6.5vw solid #1f0a3b; z-index: 2;}
|
||||
#mt5 { position: absolute; bottom: 0; right: -6.5vw; width: 0; height: 0; border-left: 9vw solid transparent; border-right: 10.5vw solid transparent; border-bottom: 8vw solid #0e041a; }
|
||||
#mt5:after { content: ""; position: absolute; left: -9vw; border-left: 9vw solid transparent; border-right: 2vw solid transparent; border-bottom: 8vw solid #1b0833; z-index: 2; }
|
||||
@media screen and (max-width: 767px) {
|
||||
#mt1 { left: -10.5vw; border-left: 18vw solid transparent; border-right: 16.5vw solid transparent; border-bottom: 12.75vw solid #07020d; }
|
||||
#mt1:after { left: -2.1vw; border-left: 2.1vw solid transparent; border-right: 16.5vw solid transparent; border-bottom: 12.75vw solid #150627; }
|
||||
#mt2 { bottom: -0.6vw; left: 15vw; border-left: 10.5vw solid transparent; border-right: 15vw solid transparent; border-bottom: 10.5vw solid #120520; }
|
||||
#mt2:after { left: -1.95vw; border-left: 1.95vw solid transparent; border-right: 15vw solid transparent; border-bottom: 10.5vw solid #1b0833; }
|
||||
#mt3 { right: 26.625vw; border-left: 12vw solid transparent; border-right: 10.5vw solid transparent; border-bottom: 9vw solid #1b0833; }
|
||||
#mt3:after { left: -12vw; border-left: 12vw solid transparent; border-right: 2.1vw solid transparent; border-bottom: 9vw solid #220a40; }
|
||||
#mt4 { bottom: -0.375vw; right: 12vw; border-left: 11.25vw solid transparent; border-right: 10.875vw solid transparent; border-bottom: 9.75vw solid #150627; }
|
||||
#mt4:after { left: -11.25vw; border-left: 11.25vw solid transparent; border-right: 2.55vw solid transparent; border-bottom: 9.75vw solid #1f0a3b; }
|
||||
#mt5 { right: -9.75vw; border-left: 13.5vw solid transparent; border-right: 15.75vw solid transparent; border-bottom: 12vw solid #0e041a; }
|
||||
#mt5:after { left: -13.5vw; border-left: 13.5vw solid transparent; border-right: 3vw solid transparent; border-bottom: 12vw solid #1b0833;}
|
||||
}
|
||||
#codename { position: absolute; bottom: 2px; right: 3px; color: #616161; z-index: 5; font-size: 0.55em; font-family: 'Noto Sans', sans-serif; }
|
||||
#header-logo { background: -webkit-linear-gradient(#07020d 20%, #150627 45%, #220a40 70%, #300d5a); background: linear-gradient(#07020d 20%, #150627 45%, #220a40 70%, #300d5a); line-height:1; font-size: 39px; width: 48px; height: 48px; padding: 8px; margin-left: -9px; }
|
||||
.box-colored { background: #0277bd; border-radius: 2px; padding: 14px; margin-bottom: 8px; min-height: 14px;}
|
||||
.box-colored.red { background: #e53935; } .box-centered { text-align: center; }
|
||||
.box-centered > .card.fluid { -webkit-box-pack: start; -webkit-box-align: start; -webkit-justify-content: flex-start;
|
||||
justify-content: flex-start; -webkit-align-self: auto; align-self: auto;}
|
||||
[class^='col-'] .card.fluid { margin: 2px 0 20px; } [class^='fore-'] { font-family: monospace, monospace;}
|
||||
.fore-primary { color: #0d47a1;} .fore-secondary { color: #b71c1c;} .fore-tertiary { color: #1b5e20;} li a { text-decoration: none;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="logo-body">
|
||||
<p id="description">minimal, responsive, style-agnostic CSS framework</p>
|
||||
<h1 id="top-heading"><span style="font-size: 1.45em; font-family: 'Noto Sans', sans-serif;">m</span>ini<span style="font-size:0.65em; color: #4527a0; font-family: 'Noto Sans', sans-serif;">.css</span></h1>
|
||||
<p id="top-vtag-cont"><mark id="top-version-tag">v2.3</mark></p>
|
||||
<div id="mt1"></div><div id="mt2"></div><div id="mt3"></div><div id="mt4"></div><div id="mt5"></div>
|
||||
<small id="codename">Fermion</small>
|
||||
</div>
|
||||
<header class="sticky">
|
||||
<a href="index" class="logo"><span id="header-logo">m</span></a> <label class="drawer-toggle button" for="navigation-toggle"></label>
|
||||
<a href="index" class="button hidden-sm">Introduction</a> <a href="modules" class="button hidden-sm">Modules</a>
|
||||
<a href="flavors" class="button hidden-sm">Flavors</a> <a href="templates" class="button hidden-sm">Templates</a>
|
||||
<a href="customization" class="button hidden-sm">Customization</a> <a href="quick_reference" class="button hidden-sm">Quick Reference</a>
|
||||
<a href="https://github.com/Chalarangelo/mini.css" class="button"><i class="fa fa-github" aria-hidden="true" style="font-size: 1.3em; position: relative; bottom: -2px; margin-right: 2px;"></i> GitHub</a>
|
||||
</header>
|
||||
<input type="checkbox" id="navigation-toggle"> <nav class="drawer hidden-md hidden-lg">
|
||||
<label class="close" for="navigation-toggle"></label>
|
||||
<a href="index"><h4 style="margin-left: 0;">Introduction</h4></a> <a href="modules"><h4 style="margin-left: 0;">Modules</h4></a>
|
||||
<a href="flavors"><h4 style="margin-left: 0;">Flavors</h4></a> <a href="templates"><h4 style="margin-left: 0;">Templates</h4></a>
|
||||
<a href="customization"><h4 style="margin-left: 0;">Customization</h4></a> <a href="quick_reference"><h4 style="margin-left: 0;">Quick Reference</h4></a>
|
||||
</nav>
|
||||
<!-- Insert your page content here-->
|
||||
<main><div class="container responsive-padding">
|
||||
<div class="row" style="padding-top: 60px; padding-bottom: 20px;">
|
||||
<div class="col-sm-12 col-lg-10 col-lg-offset-1 row">
|
||||
<div class="col-sm-12 col-md-8 col-md-offset-2 col-lg col-lg col-lg-offset-0 box-centered row">
|
||||
<div class="card fluid">
|
||||
<div class="section">
|
||||
<h2>Minimal<small>Size matters!</small></h2><br/>
|
||||
<img src="icons/wings.svg" width="96px" height="96px"/><br/><br/>
|
||||
<p><strong>mini.css</strong> aims to provide as much functionality as possible in less than 7KB gzipped. This very small footprint means that your websites and web applications will load faster, while still looking great utilising the modern components we provide!</p><br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-8 col-md-offset-2 col-lg col-lg col-lg-offset-0 box-centered row">
|
||||
<div class="card fluid">
|
||||
<div class="section">
|
||||
<h2>Responsive<small>Think mobile!</small></h2><br/>
|
||||
<img src="icons/bacteria.svg" width="96px" height="96px"/><br/><br/>
|
||||
<p><strong>mini.css</strong> is crafted with both desktops and mobile devices in mind. All of its components are well-tested on different devices and will respond to any changes in the viewport, allowing for an experience tailored to each user's device!</p><br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-8 col-md-offset-2 col-lg col-lg-offset-0 box-centered row">
|
||||
<div class="card fluid">
|
||||
<div class="section">
|
||||
<h2>Style-agnostic<small>Infinitely customizable!</small></h2><br/>
|
||||
<img src="icons/meteor.svg" width="96px" height="96px"/><br/><br/>
|
||||
<p><strong>mini.css</strong> provides you with a customizable flavor system, allowing you to be a designer without all the hard work. This way you can create your own custom design and personalize your websites any way you want!</p><br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm col-lg-10 col-lg-offset-1">
|
||||
<h2>Setup & usage</h2>
|
||||
<p style="text-align:justify"><strong>mini.css</strong> is published in <strong>npm</strong>, <strong>yarn</strong> and <strong>bower</strong>, so you can easily download it, using your preferred package manager:</p>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-12 col-lg-4"><pre><span class="fore-tertiary">npm install</span> <span class="fore-primary">mini.css</span></pre></div>
|
||||
<div class="col-sm-12 col-md-6 col-lg-4"><pre><span class="fore-tertiary">yarn add</span> <span class="fore-primary">mini.css</span></pre></div>
|
||||
<div class="col-sm-12 col-md-6 col-lg-4"><pre><span class="fore-tertiary">bower install</span> <span class="fore-primary">mini.css</span></pre></div>
|
||||
</div>
|
||||
<p>After downloading <strong>mini.css</strong>, pick a <a href="flavors">Flavor</a> and use it for your project.</p>
|
||||
<br/>
|
||||
<p style="text-align:justify">Alternatively, you can use either <strong>GitCDN</strong> or <strong>RawGit</strong> to import the default flavor of <strong>mini.css</strong>. Simply add one of the following references inside your HTML page's <code><head></code> tag:</p>
|
||||
<pre><<span class="fore-tertiary">link</span> <span class="fore-secondary">rel</span>=<span class="fore-primary">"stylesheet"</span> <span class="fore-secondary">href</span>=<span class="fore-primary">"https://gitcdn.link/repo/Chalarangelo/mini.css/master/dist/mini-default.min.css"</span>></pre>
|
||||
<pre><<span class="fore-tertiary">link</span> <span class="fore-secondary">rel</span>=<span class="fore-primary">"stylesheet"</span> <span class="fore-secondary">href</span>=<span class="fore-primary">"https://cdn.rawgit.com/Chalarangelo/mini.css/v2.3.7/dist/mini-default.min.css"</span>></pre><br/>
|
||||
<p style="text-align:justify">Finally, you can find <strong>mini.css</strong> on <a href="https://cdnjs.com/libraries/mini.css">cdnjs</a>, which you can use to include it in your projects.</p><br/>
|
||||
<hr>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-lg-10 col-lg-offset-1">
|
||||
<h2>Browser support</h2>
|
||||
<div class="row" style="padding: 0.5rem;">
|
||||
<div class="col-sm" style="text-align:center; background: #35BCE6; padding: 1rem;"><img src="browser-logos/edge_128x128.png" alt="edge"><br/><h3><small> Edge<sup style="-0.675em"><i class="fa fa-lg fa-exclamation" aria-hidden="true" style="font-size: 80%;"></i></sup></small>12</h3></div>
|
||||
<div class="col-sm" style="text-align:center; background: #FF742E; padding: 1rem;"><img src="browser-logos/firefox_128x128.png" alt="firefox"><br/><h3><small> Firefox</small>28</h3></div>
|
||||
<div class="col-sm" style="text-align:center; background: #FFE270; padding: 1rem;"><img src="browser-logos/chrome_128x128.png" alt="chrome"><br/><h3><small> Chrome</small>26</h3></div>
|
||||
<div class="col-sm" style="text-align:center; background: #00D0FF; padding: 1rem;"><img src="browser-logos/safari_128x128.png" alt="safari"><br/><h3><small> Safari</small>7.1</h3></div>
|
||||
<div class="col-sm" style="text-align:center; background: #FF6E6E; padding: 1rem;"><img src="browser-logos/opera_128x128.png" alt="opera"><br/><h3><small> Opera</small>17</h3></div>
|
||||
<div class="col-sm" style="text-align:center; background: #0F98E0; padding: 1rem;"><img src="browser-logos/android_128x128.png" alt="android"><br/><h3><small> Android</small>4.4</h3></div>
|
||||
</div></div> <div class="col-sm-12 col-lg-10 col-lg-offset-1">
|
||||
<p style="padding-top: 1rem; padding-bottom: 1rem; text-align: justify"><mark class="secondary" style="padding: 3px 6px;"><i class="fa fa-lg fa-exclamation" aria-hidden="true"></i></mark> Due to the way <strong>mini.css</strong> is designed, some legacy browsers are not supported anymore and some others are partially supported. This could be a dealbreaker for some developers, however most legacy browsers such as Internet Explorer will display a less feature-rich and modern website. On a side note, remember that some mobile browsers like Opera Mini, IE Mobile and UC Browser for Android are officially supported, but some features may not be displayed properly or behave as expected due to the browsers themselves.</p><hr>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-lg-10 col-lg-offset-1">
|
||||
<h2>Quick overview</h2>
|
||||
<p>Take a couple of minutes to explore what makes <strong>mini.css</strong> different from all those other CSS frameworks and UI toolkits.</p>
|
||||
<br/>
|
||||
<h3>Why should I use mini.css?</h3>
|
||||
<p style="text-align: justify;"><strong>mini.css</strong> is a lot lighter than a lot of other full-featured CSS frameworks (e.g. Bootstrap, Semantic UI), but it is not a micro framework (e.g. Milligram, Pure.CSS). Instead, <strong>mini.css</strong> blurs the line between full-featured and micro frameworks by providing lots of modules and components in a very small file. All the things you expect to find in a CSS framework, such as grids, styling for common elements and typography, along with some more complex components such as tabs or cards are all present in <strong>mini.css</strong>.</p>
|
||||
<p>Not convinced yet? Maybe you should read these <a href="https://hackernoon.com/5-reasons-to-try-out-mini-css-62ddb47b9370">5 reasons</a> to try out <strong>mini.css</strong>.</p>
|
||||
<br/>
|
||||
<h3>What exactly does mini.css provide?</h3>
|
||||
<p style="text-align: justify;">Many CSS frameworks utilize modules to deliver more components and features, without making it necessary for all developers to include them. <strong>mini.css</strong> provides a handful of very powerful <a href="modules">modules</a> that can do many different things. This way, developers only have to learn a few different HTML structures and patterns, while having the ability to build a lot of interesting things with them. You can see an overview of the modules below:</p>
|
||||
<ul>
|
||||
<li><a href="core">Core</a> - Basic reset and fix rules, based on <a href="http://necolas.github.io/normalize.css/">Normalize.css</a> v5.0.0, typography and common textual element styling</li>
|
||||
<li><a href="grid">Grid</a> - Powerful, responsive grid system based on the Flexible Layout Module (commonly known as <em>flexbox</em>)</li>
|
||||
<li><a href="navigation">Navigation</a> - Common navigational elements such as headers, footers and navigation bars</li>
|
||||
<li><a href="input_control">Input Control</a> - Form, input element, checkbox, radio button and button styling</li>
|
||||
<li><a href="table">Table</a> - Modern table styling, horizontal and preset tables, table responsiveness for mobile devices</li>
|
||||
<li><a href="card">Card</a> - Sleek, modern general-purpose content containers, media embedding</li>
|
||||
<li><a href="tab">Tab</a> - Modern, responsive tabs, accordions and collapses</li>
|
||||
<li><a href="contextual">Contextual</a> - Content highlight element styling, elegant alerts and accessible tooltips</li>
|
||||
<li><a href="progress">Progress</a> - Modern progress bar styling and spinning progress indicators</li>
|
||||
<li><a href="utility">Utility</a> - Utilities, visibility helper classes, responsive sizing and breadcrumbs</li>
|
||||
</ul>
|
||||
<p style="text-align: justify;">While not strictly part of the framework, we have also created component libraries for React and Preact, which will make your development faster and easier, especially if you are developing progressive web apps. You can get started with one of our Javascript libraries <a href="https://chalarangelo.github.io/react-mini.css/">here</a>!</p>
|
||||
<br/>
|
||||
<h3>How do I customize mini.css?</h3>
|
||||
<p style="text-align: justify;"><strong>mini.css</strong> allows you to easily customize your designs, using <a href="flavors">Flavors</a>, pre-built color and style variants of the framework. The functionality is the same, but many things like color palettes, spacing and fonts can be easily changed by the community. Apart from that, you can easily build your own flavor by tweaking variables and using mixins, as explained in depth in the <a href="customization">customization</a> section.</p><br/>
|
||||
</div>
|
||||
<div class="col-sm col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3 row">
|
||||
<div class="card fluid" style=" width: 100%;">
|
||||
<h3 class="section double-padded" style="text-align: center;">Support mini.css!</h3>
|
||||
<p class="section double-padded" style="text-align: center;">If you like <strong>mini.css</strong>, remember that you can show your support by starring it on GitHub.<br/> It means a lot to us and it only takes a couple of seconds!</p>
|
||||
<a href="https://github.com/Chalarangelo/mini.css" target="_blank" class="section button primary large" style="text-align: center;"><i class="fa fa-star-o fa-fw" aria-hidden="true"></i> Star mini.css</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" style="padding-bottom: 60px;">
|
||||
<div class="col-sm col-lg-10 col-lg-offset-1">
|
||||
<h2>Getting started</h2>
|
||||
<p>If you are still here after reading this far, we will assume you are interested or at least curious. Based on that assumption, here are a few links to help get you started:</p>
|
||||
<ul>
|
||||
<li>For a quick guide on getting started, you might want to take a look at the available <a href="modules">modules</a> list and the tutorials provided for each one!</li>
|
||||
<li>To get you started even faster, we have created a handful of <a href="templates">templates</a> that might fit your needs!</li>
|
||||
<li>If you want a step-by-step guide on how to utilize the most commonly used modules, be sure to check out these articles on Medium:
|
||||
<ol>
|
||||
<li><a href="https://hackernoon.com/designing-a-simple-web-page-with-mini-css-f455e9f6403b">Designing a simple web page with <strong>mini.css</strong></a></li>
|
||||
<li><a href="https://hackernoon.com/using-the-mini-css-card-module-and-media-object-3c5b5829d19c">Using the <strong>mini.css</strong> card module and media object</a></li>
|
||||
<li><a href="https://hackernoon.com/creating-a-mobile-friendly-navigation-using-mini-css-8cea580c51ed">Creating a mobile-friendly navigation using <strong>mini.css</strong></a></li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>If you are familiar with <strong>mini.css</strong> and want a cheat sheet or quick reference guide, check the <a href="quick_reference">quick reference</a> page!</li>
|
||||
<li>If you want to develop a progressive web app or just utilize a virtual DOM, you should check out our <a href="https://github.com/Chalarangelo/react-mini.css">React & Preact Libraries</a>, which will help you get started creating all kinds of custom components based on <strong>mini.css</strong>.
|
||||
<li><strong>mini.css</strong> comes with a few nice pre-built customizable <a href="flavors">flavors</a>. See which one of them better suits your needs!</li>
|
||||
<li>If you are more experienced or demanding, you can always take a look at the <a href="customization">customization</a> section to cook up a flavor of your own custom-tailored to your needs!</li>
|
||||
<li>Finally, if you want to contribute to the framework's development in any way or have an interest in what happens behind the scenes, visit the <a href="https://github.com/Chalarangelo/mini.css">GitHub repository</a> to find out more.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div></main>
|
||||
<!-- End of page content-->
|
||||
<footer style="text-align: justify;"><strong>mini.css</strong> was designed and built with <i class="fa fa-heart-o" aria-hidden="true"></i> by <a href="https://github.com/Chalarangelo">@Chalarangelo</a>. It is licensed under the <a href="https://github.com/Chalarangelo/mini.css/blob/master/LICENSE">MIT License</a>. You can view the project's source code on <a href="https://github.com/Chalarangelo/mini.css">GitHub</a>.<br/>
|
||||
<small>Icons made by <a href="http://www.freepik.com" title="Freepik"><small>Freepik</small></a> from <a href="http://www.flaticon.com" title="Flaticon"><small>www.flaticon.com</small></a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank"><small>CC 3.0 BY</small></a></small></footer>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<a href="index" class="button hidden-sm">Introduction</a> <a href="modules" class="button hidden-sm">Modules</a>
|
||||
<a href="flavors" class="button hidden-sm">Flavors</a> <a href="templates" class="button hidden-sm">Templates</a>
|
||||
<a href="customization" class="button hidden-sm">Customization</a> <a href="quick_reference" class="button hidden-sm">Quick Reference</a>
|
||||
<a href="https://github.com/Chalarangelo/mini.css" class="button"><i class="fa fa-github" aria-hidden="true" style="font-size: 1.3em; position: relative; bottom: -2px; margin-right: 2px;"></i> GitHub</a>
|
||||
<a href="https://github.com/Chalarangelo/mini.css" class="button"><i class="fa fa-github" aria-hidden="true" style="font-size: 1.3em; position: relative; bottom: -2px; margin-right: 2px;"></i> Github</a>
|
||||
</header>
|
||||
<div class="container" style="padding-left: 0.25rem;">
|
||||
<div class="row"> <input type="checkbox" id="navigation-toggle"> <nav class="drawer col-md-4 col-lg-2">
|
||||
|
@ -384,6 +384,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</main></div></div></div>
|
||||
<footer style="text-align: justify;"><strong>mini.css</strong> was designed and built with <i class="fa fa-heart-o" aria-hidden="true"></i> by <a href="https://github.com/Chalarangelo">@Chalarangelo</a>. It is licensed under the <a href="https://github.com/Chalarangelo/mini.css/blob/master/LICENSE">MIT License</a>. You can view the project's source code on <a href="https://github.com/Chalarangelo/mini.css">GitHub</a>.</footer>
|
||||
<footer style="text-align: justify;"><strong>mini.css</strong> was designed and built with <i class="fa fa-heart-o" aria-hidden="true"></i> by <a href="https://github.com/Chalarangelo">@Chalarangelo</a>. It is licensed under the <a href="https://github.com/Chalarangelo/mini.css/blob/master/LICENSE">MIT License</a>. You can view the project's source code on <a href="https://github.com/Chalarangelo/mini.css">Github</a>.</footer>
|
||||
</body>
|
||||
</html>
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
@ -1,11 +1,205 @@
|
|||
<!DOCTYPE html><html><head>
|
||||
<title>mini.css - Minimal, responsive, style-agnostic CSS framework</title><meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"><meta name="description" content="mini.css - Minimal, responsive, style-agnostic CSS framework">
|
||||
<meta name="keywords" content="mini, mini.css, CSS, framework, minimal, responsive, style-agnostic, front-end, frontend, Sass, toolkit">
|
||||
<meta name="author" content="Angelos Chalaris (chalarangelo)">
|
||||
<meta property="og:title" content="mini.css - Minimal, responsive, style-agnostic CSS framework">
|
||||
<meta property="og:description" content="mini.css is a tiny CSS framework designed to build quick, modern and responsive websites."/>
|
||||
<meta property="og:type" content="website"/><meta property="og:image" content="../page_thumb.png">
|
||||
<meta property="og:url" content="https://chalarangelo.github.io/mini.css/"><link rel="icon" type="image/png" href="favicon.png">
|
||||
<meta http-equiv="refresh" content="0; url=https://chalarangelo.github.io/mini.css/">
|
||||
</head></html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link rel="stylesheet" href="mini-default.min.css">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
||||
<title>mini.css - Minimal, responsive, style-agnostic CSS framework</title>
|
||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="mini.css - Minimal, responsive, style-agnostic CSS framework">
|
||||
<meta name="keywords" content="mini, mini.css, CSS, framework, minimal, responsive, style-agnostic, front-end, frontend, Sass, toolkit">
|
||||
<meta name="author" content="Angelos Chalaris (chalarangelo)">
|
||||
<meta property="og:title" content="mini.css - Minimal, responsive, style-agnostic CSS framework">
|
||||
<meta property="og:description" content="mini.css is a tiny CSS framework designed to build quick, modern and responsive websites."/>
|
||||
<meta property="og:type" content="website"/><meta property="og:image" content="page_thumb.png">
|
||||
<meta property="og:url" content="https://chalarangelo.github.io/mini.css/"><link rel="icon" type="image/png" href="favicon.png">
|
||||
<style>
|
||||
@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 400; src: local('Noto Sans'), local('NotoSans'), url(https://fonts.gstatic.com/s/notosans/v6/erE3KsIWUumgD1j_Ca-V-xJtnKITppOI_IvcXXDNrsc.woff2) format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
|
||||
@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 400; src: local('Noto Sans'), local('NotoSans'), url(https://fonts.gstatic.com/s/notosans/v6/LeFlHvsZjXu2c3ZRgBq9nFtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215; }
|
||||
#logo-body { position: relative; background: -webkit-linear-gradient(#07020d 25%, #150627 45%, #220a40 75%, #300d5a); background: linear-gradient(#07020d 25%, #150627 45%, #220a40 75%, #300d5a); height: -webkit-calc(100vh - 48px); height: calc(100vh - 48px); overflow: hidden; text-align: center; }
|
||||
#description { color: #f5f5f5; font-family: 'Noto Sans', sans-serif; position: absolute; top: 49vh; width: 100%; margin: 0; }
|
||||
#top-heading { color: #f5f5f5; font-size: 2.8em; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); position: absolute; margin: 0; top: 35vh; width: 100%; height: 20vh; min-height: 42px; font-family: 'Noto Sans', sans-serif; }
|
||||
#top-vtag-cont { width: 100%; text-align: center; }
|
||||
#top-version-tag { padding: 8px 8px; font-size: 1.2em; font-weight: 700; font-family: 'Noto Sans', sans-serif; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); position: absolute; top: 55vh; width: 40px; background: #4527a0; border-radius: 6px; margin: 0; margin-left: -30px; }
|
||||
@media screen and (max-height:480px), screen and (max-width: 480px) { #top-version-tag { display: none; } #description { top: 60vh;}}
|
||||
#mt1 { position: absolute; bottom: 0; left: -7vw; width: 0; height: 0; border-left: 12vw solid transparent; border-right: 11vw solid transparent; border-bottom: 8.5vw solid #07020d; }
|
||||
#mt1:after { content: ""; position: absolute; left: -1.4vw; border-left: 1.4vw solid transparent; border-right: 11vw solid transparent; border-bottom: 8.5vw solid #150627; z-index: 2; }
|
||||
#mt2 { position: absolute; bottom: -0.4vw; left: 10vw; width: 0; height: 0; border-left: 7vw solid transparent; border-right: 10vw solid transparent; border-bottom: 7vw solid #120520; z-index: 3; }
|
||||
#mt2:after { content: ""; position: absolute; left: -1.3vw; border-left: 1.3vw solid transparent; border-right: 10vw solid transparent; border-bottom: 7vw solid #1b0833; z-index: 4; }
|
||||
#mt3 { position: absolute; bottom: 0; right: 17.75vw; width: 0; height: 0; border-left: 8vw solid transparent; border-right: 7vw solid transparent; border-bottom: 6vw solid #1b0833; z-index: 5; }
|
||||
#mt3:after { content: ""; position: absolute; left: -8vw; border-left: 8vw solid transparent; border-right: 1.4vw solid transparent; border-bottom: 6vw solid #220a40; z-index: 6; }
|
||||
#mt4 { position: absolute; bottom: -0.25vw; right: 8vw; width: 0; height: 0; border-left: 7.5vw solid transparent; border-right: 7.25vw solid transparent; border-bottom: 6.5vw solid #150627; z-index: 3;}
|
||||
#mt4:after { content: ""; position: absolute; left: -7.5vw; border-left: 7.5vw solid transparent; border-right: 1.7vw solid transparent; border-bottom: 6.5vw solid #1f0a3b; z-index: 2;}
|
||||
#mt5 { position: absolute; bottom: 0; right: -6.5vw; width: 0; height: 0; border-left: 9vw solid transparent; border-right: 10.5vw solid transparent; border-bottom: 8vw solid #0e041a; }
|
||||
#mt5:after { content: ""; position: absolute; left: -9vw; border-left: 9vw solid transparent; border-right: 2vw solid transparent; border-bottom: 8vw solid #1b0833; z-index: 2; }
|
||||
@media screen and (max-width: 767px) {
|
||||
#mt1 { left: -10.5vw; border-left: 18vw solid transparent; border-right: 16.5vw solid transparent; border-bottom: 12.75vw solid #07020d; }
|
||||
#mt1:after { left: -2.1vw; border-left: 2.1vw solid transparent; border-right: 16.5vw solid transparent; border-bottom: 12.75vw solid #150627; }
|
||||
#mt2 { bottom: -0.6vw; left: 15vw; border-left: 10.5vw solid transparent; border-right: 15vw solid transparent; border-bottom: 10.5vw solid #120520; }
|
||||
#mt2:after { left: -1.95vw; border-left: 1.95vw solid transparent; border-right: 15vw solid transparent; border-bottom: 10.5vw solid #1b0833; }
|
||||
#mt3 { right: 26.625vw; border-left: 12vw solid transparent; border-right: 10.5vw solid transparent; border-bottom: 9vw solid #1b0833; }
|
||||
#mt3:after { left: -12vw; border-left: 12vw solid transparent; border-right: 2.1vw solid transparent; border-bottom: 9vw solid #220a40; }
|
||||
#mt4 { bottom: -0.375vw; right: 12vw; border-left: 11.25vw solid transparent; border-right: 10.875vw solid transparent; border-bottom: 9.75vw solid #150627; }
|
||||
#mt4:after { left: -11.25vw; border-left: 11.25vw solid transparent; border-right: 2.55vw solid transparent; border-bottom: 9.75vw solid #1f0a3b; }
|
||||
#mt5 { right: -9.75vw; border-left: 13.5vw solid transparent; border-right: 15.75vw solid transparent; border-bottom: 12vw solid #0e041a; }
|
||||
#mt5:after { left: -13.5vw; border-left: 13.5vw solid transparent; border-right: 3vw solid transparent; border-bottom: 12vw solid #1b0833;}
|
||||
}
|
||||
#codename { position: absolute; bottom: 2px; right: 3px; color: #616161; z-index: 5; font-size: 0.55em; font-family: 'Noto Sans', sans-serif; }
|
||||
#header-logo { background: -webkit-linear-gradient(#07020d 20%, #150627 45%, #220a40 70%, #300d5a); background: linear-gradient(#07020d 20%, #150627 45%, #220a40 70%, #300d5a); line-height:1; font-size: 39px; width: 48px; height: 48px; padding: 8px; margin-left: -9px; }
|
||||
.box-colored { background: #0277bd; border-radius: 2px; padding: 14px; margin-bottom: 8px; min-height: 14px;}
|
||||
.box-colored.red { background: #e53935; } .box-centered { text-align: center; }
|
||||
.box-centered > .card.fluid { -webkit-box-pack: start; -webkit-box-align: start; -webkit-justify-content: flex-start;
|
||||
justify-content: flex-start; -webkit-align-self: auto; align-self: auto;}
|
||||
[class^='col-'] .card.fluid { margin: 2px 0 20px; } [class^='fore-'] { font-family: monospace, monospace;}
|
||||
.fore-primary { color: #0d47a1;} .fore-secondary { color: #b71c1c;} .fore-tertiary { color: #1b5e20;} li a { text-decoration: none;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="logo-body">
|
||||
<p id="description">minimal, responsive, style-agnostic CSS framework</p>
|
||||
<h1 id="top-heading"><span style="font-size: 1.45em; font-family: 'Noto Sans', sans-serif;">m</span>ini<span style="font-size:0.65em; color: #4527a0; font-family: 'Noto Sans', sans-serif;">.css</span></h1>
|
||||
<p id="top-vtag-cont"><mark id="top-version-tag">v2.3</mark></p>
|
||||
<div id="mt1"></div><div id="mt2"></div><div id="mt3"></div><div id="mt4"></div><div id="mt5"></div>
|
||||
<small id="codename">Fermion</small>
|
||||
</div>
|
||||
<header class="sticky">
|
||||
<a href="index" class="logo"><span id="header-logo">m</span></a> <label class="drawer-toggle button" for="navigation-toggle"></label>
|
||||
<a href="index" class="button hidden-sm">Introduction</a> <a href="modules" class="button hidden-sm">Modules</a>
|
||||
<a href="flavors" class="button hidden-sm">Flavors</a> <a href="templates" class="button hidden-sm">Templates</a>
|
||||
<a href="customization" class="button hidden-sm">Customization</a> <a href="quick_reference" class="button hidden-sm">Quick Reference</a>
|
||||
<a href="https://github.com/Chalarangelo/mini.css" class="button"><i class="fa fa-github" aria-hidden="true" style="font-size: 1.3em; position: relative; bottom: -2px; margin-right: 2px;"></i> Github</a>
|
||||
</header>
|
||||
<input type="checkbox" id="navigation-toggle"> <nav class="drawer hidden-md hidden-lg">
|
||||
<label class="close" for="navigation-toggle"></label>
|
||||
<a href="index"><h4 style="margin-left: 0;">Introduction</h4></a> <a href="modules"><h4 style="margin-left: 0;">Modules</h4></a>
|
||||
<a href="flavors"><h4 style="margin-left: 0;">Flavors</h4></a> <a href="templates"><h4 style="margin-left: 0;">Templates</h4></a>
|
||||
<a href="customization"><h4 style="margin-left: 0;">Customization</h4></a> <a href="quick_reference"><h4 style="margin-left: 0;">Quick Reference</h4></a>
|
||||
</nav>
|
||||
<!-- Insert your page content here-->
|
||||
<main><div class="container responsive-padding">
|
||||
<div class="row" style="padding-top: 60px; padding-bottom: 20px;">
|
||||
<div class="col-sm-12 col-lg-10 col-lg-offset-1 row">
|
||||
<div class="col-sm-12 col-md-8 col-md-offset-2 col-lg col-lg col-lg-offset-0 box-centered row">
|
||||
<div class="card fluid">
|
||||
<div class="section">
|
||||
<h2>Minimal<small>Size matters!</small></h2><br/>
|
||||
<img src="icons/wings.svg" width="96px" height="96px"/><br/><br/>
|
||||
<p><strong>mini.css</strong> aims to provide as much functionality as possible in less than 7KB gzipped. This very small footprint means that your websites and web applications will load faster, while still looking great utilising the modern components we provide!</p><br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-8 col-md-offset-2 col-lg col-lg col-lg-offset-0 box-centered row">
|
||||
<div class="card fluid">
|
||||
<div class="section">
|
||||
<h2>Responsive<small>Think mobile!</small></h2><br/>
|
||||
<img src="icons/bacteria.svg" width="96px" height="96px"/><br/><br/>
|
||||
<p><strong>mini.css</strong> is crafted with both desktops and mobile devices in mind. All of its components are well-tested on different devices and will respond to any changes in the viewport, allowing for an experience tailored to each user's device!</p><br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-8 col-md-offset-2 col-lg col-lg-offset-0 box-centered row">
|
||||
<div class="card fluid">
|
||||
<div class="section">
|
||||
<h2>Style-agnostic<small>Infinitely customizable!</small></h2><br/>
|
||||
<img src="icons/meteor.svg" width="96px" height="96px"/><br/><br/>
|
||||
<p><strong>mini.css</strong> provides you with a customizable flavor system, allowing you to be a designer without all the hard work. This way you can create your own custom design and personalize your websites any way you want!</p><br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm col-lg-10 col-lg-offset-1">
|
||||
<h2>Setup & usage</h2>
|
||||
<p style="text-align:justify"><strong>mini.css</strong> is published in <strong>npm</strong>, <strong>yarn</strong> and <strong>bower</strong>, so you can easily download it, using your preferred package manager:</p>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-12 col-lg-4"><pre><span class="fore-tertiary">npm install</span> <span class="fore-primary">mini.css</span></pre></div>
|
||||
<div class="col-sm-12 col-md-6 col-lg-4"><pre><span class="fore-tertiary">yarn add</span> <span class="fore-primary">mini.css</span></pre></div>
|
||||
<div class="col-sm-12 col-md-6 col-lg-4"><pre><span class="fore-tertiary">bower install</span> <span class="fore-primary">mini.css</span></pre></div>
|
||||
</div>
|
||||
<p>After downloading <strong>mini.css</strong>, pick a <a href="flavors">Flavor</a> and use it for your project.</p>
|
||||
<br/>
|
||||
<p style="text-align:justify">Alternatively, you can use either <strong>GitCDN</strong> or <strong>RawGit</strong> to import the default flavor of <strong>mini.css</strong>. Simply add one of the following references inside your HTML page's <code><head></code> tag:</p>
|
||||
<pre><<span class="fore-tertiary">link</span> <span class="fore-secondary">rel</span>=<span class="fore-primary">"stylesheet"</span> <span class="fore-secondary">href</span>=<span class="fore-primary">"https://gitcdn.link/repo/Chalarangelo/mini.css/master/dist/mini-default.min.css"</span>></pre>
|
||||
<pre><<span class="fore-tertiary">link</span> <span class="fore-secondary">rel</span>=<span class="fore-primary">"stylesheet"</span> <span class="fore-secondary">href</span>=<span class="fore-primary">"https://cdn.rawgit.com/Chalarangelo/mini.css/v2.3.4/dist/mini-default.min.css"</span>></pre><br/>
|
||||
<p style="text-align:justify">Finally, you can find <strong>mini.css</strong> on <a href="https://cdnjs.com/libraries/mini.css">cdnjs</a>, which you can use to include it in your projects.</p><br/>
|
||||
<hr>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-lg-10 col-lg-offset-1">
|
||||
<h2>Browser support</h2>
|
||||
<div class="row" style="padding: 0.5rem;">
|
||||
<div class="col-sm" style="text-align:center; background: #35BCE6; padding: 1rem;"><img src="browser-logos/edge_128x128.png" alt="edge"><br/><h3><small> Edge<sup style="-0.675em"><i class="fa fa-lg fa-exclamation" aria-hidden="true" style="font-size: 80%;"></i></sup></small>12</h3></div>
|
||||
<div class="col-sm" style="text-align:center; background: #FF742E; padding: 1rem;"><img src="browser-logos/firefox_128x128.png" alt="firefox"><br/><h3><small> Firefox</small>28</h3></div>
|
||||
<div class="col-sm" style="text-align:center; background: #FFE270; padding: 1rem;"><img src="browser-logos/chrome_128x128.png" alt="chrome"><br/><h3><small> Chrome</small>26</h3></div>
|
||||
<div class="col-sm" style="text-align:center; background: #00D0FF; padding: 1rem;"><img src="browser-logos/safari_128x128.png" alt="safari"><br/><h3><small> Safari</small>7.1</h3></div>
|
||||
<div class="col-sm" style="text-align:center; background: #FF6E6E; padding: 1rem;"><img src="browser-logos/opera_128x128.png" alt="opera"><br/><h3><small> Opera</small>17</h3></div>
|
||||
<div class="col-sm" style="text-align:center; background: #0F98E0; padding: 1rem;"><img src="browser-logos/android_128x128.png" alt="android"><br/><h3><small> Android</small>4.4</h3></div>
|
||||
</div></div> <div class="col-sm-12 col-lg-10 col-lg-offset-1">
|
||||
<p style="padding-top: 1rem; padding-bottom: 1rem; text-align: justify"><mark class="secondary" style="padding: 3px 6px;"><i class="fa fa-lg fa-exclamation" aria-hidden="true"></i></mark> Due to the way <strong>mini.css</strong> is designed, some legacy browsers are not supported anymore and some others are partially supported. This could be a dealbreaker for some developers, however most legacy browsers such as Internet Explorer will display a less feature-rich and modern website. On a side note, remember that some mobile browsers like Opera Mini, IE Mobile and UC Browser for Android are officially supported, but some features may not be displayed properly or behave as expected due to the browsers themselves.</p><hr>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-lg-10 col-lg-offset-1">
|
||||
<h2>Quick overview</h2>
|
||||
<p>Take a couple of minutes to explore what makes <strong>mini.css</strong> different from all those other CSS frameworks and UI toolkits.</p>
|
||||
<br/>
|
||||
<h3>Why should I use mini.css?</h3>
|
||||
<p style="text-align: justify;"><strong>mini.css</strong> is a lot lighter than a lot of other full-featured CSS frameworks (e.g. Bootstrap, Semantic UI), but it is not a micro framework (e.g. Milligram, Pure.CSS). Instead, <strong>mini.css</strong> blurs the line between full-featured and micro frameworks by providing lots of modules and components in a very small file. All the things you expect to find in a CSS framework, such as grids, styling for common elements and typography, along with some more complex components such as tabs or cards are all present in <strong>mini.css</strong>.</p>
|
||||
<p>Not convinced yet? Maybe you should read these <a href="https://hackernoon.com/5-reasons-to-try-out-mini-css-62ddb47b9370">5 reasons</a> to try out <strong>mini.css</strong>.</p>
|
||||
<br/>
|
||||
<h3>What exactly does mini.css provide?</h3>
|
||||
<p style="text-align: justify;">Many CSS frameworks utilize modules to deliver more components and features, without making it necessary for all developers to include them. <strong>mini.css</strong> provides a handful of very powerful <a href="modules">modules</a> that can do many different things. This way, developers only have to learn a few different HTML structures and patterns, while having the ability to build a lot of interesting things with them. You can see an overview of the modules below:</p>
|
||||
<ul>
|
||||
<li><a href="core">Core</a> - Basic reset and fix rules, based on <a href="http://necolas.github.io/normalize.css/">Normalize.css</a> v5.0.0, typography and common textual element styling</li>
|
||||
<li><a href="grid">Grid</a> - Powerful, responsive grid system based on the Flexible Layout Module (commonly known as <em>flexbox</em>)</li>
|
||||
<li><a href="navigation">Navigation</a> - Common navigational elements such as headers, footers and navigation bars</li>
|
||||
<li><a href="input_control">Input Control</a> - Form, input element, checkbox, radio button and button styling</li>
|
||||
<li><a href="table">Table</a> - Modern table styling, horizontal and preset tables, table responsiveness for mobile devices</li>
|
||||
<li><a href="card">Card</a> - Sleek, modern general-purpose content containers, media embedding</li>
|
||||
<li><a href="tab">Tab</a> - Modern, responsive tabs, accordions and collapses</li>
|
||||
<li><a href="contextual">Contextual</a> - Content highlight element styling, elegant alerts and accessible tooltips</li>
|
||||
<li><a href="progress">Progress</a> - Modern progress bar styling and spinning progress indicators</li>
|
||||
<li><a href="utility">Utility</a> - Utilities, visibility helper classes, responsive sizing and breadcrumbs</li>
|
||||
</ul>
|
||||
<p style="text-align: justify;">While not strictly part of the framework, we have also created component libraries for React and Preact, which will make your development faster and easier, especially if you are developing progressive web apps. You can get started with one of our Javascript libraries <a href="https://chalarangelo.github.io/react-mini.css/">here</a>!</p>
|
||||
<br/>
|
||||
<h3>How do I customize mini.css?</h3>
|
||||
<p style="text-align: justify;"><strong>mini.css</strong> allows you to easily customize your designs, using <a href="flavors">Flavors</a>, pre-built color and style variants of the framework. The functionality is the same, but many things like color palettes, spacing and fonts can be easily changed by the community. Apart from that, you can easily build your own flavor by tweaking variables and using mixins, as explained in depth in the <a href="customization">customization</a> section.</p><br/>
|
||||
</div>
|
||||
<div class="col-sm col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3 row">
|
||||
<div class="card fluid" style=" width: 100%;">
|
||||
<h3 class="section double-padded" style="text-align: center;">Support mini.css!</h3>
|
||||
<p class="section double-padded" style="text-align: center;">If you like <strong>mini.css</strong>, remember that you can show your support by starring it on Github.<br/> It means a lot to us and it only takes a couple of seconds!</p>
|
||||
<a href="https://github.com/Chalarangelo/mini.css" target="_blank" class="section button primary large" style="text-align: center;"><i class="fa fa-star-o fa-fw" aria-hidden="true"></i> Star mini.css</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row" style="padding-bottom: 60px;">
|
||||
<div class="col-sm col-lg-10 col-lg-offset-1">
|
||||
<h2>Getting started</h2>
|
||||
<p>If you are still here after reading this far, we will assume you are interested or at least curious. Based on that assumption, here are a few links to help get you started:</p>
|
||||
<ul>
|
||||
<li>For a quick guide on getting started, you might want to take a look at the available <a href="modules">modules</a> list and the tutorials provided for each one!</li>
|
||||
<li>To get you started even faster, we have created a handful of <a href="templates">templates</a> that might fit your needs!</li>
|
||||
<li>If you want a step-by-step guide on how to utilize the most commonly used modules, be sure to check out these articles on Medium:
|
||||
<ol>
|
||||
<li><a href="https://hackernoon.com/designing-a-simple-web-page-with-mini-css-f455e9f6403b">Designing a simple web page with <strong>mini.css</strong></a></li>
|
||||
<li><a href="https://hackernoon.com/using-the-mini-css-card-module-and-media-object-3c5b5829d19c">Using the <strong>mini.css</strong> card module and media object</a></li>
|
||||
<li><a href="https://hackernoon.com/creating-a-mobile-friendly-navigation-using-mini-css-8cea580c51ed">Creating a mobile-friendly navigation using <strong>mini.css</strong></a></li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>If you are familiar with <strong>mini.css</strong> and want a cheat sheet or quick reference guide, check the <a href="quick_reference">quick reference</a> page!</li>
|
||||
<li>If you want to develop a progressive web app or just utilize a virtual DOM, you should check out our <a href="https://github.com/Chalarangelo/react-mini.css">React & Preact Libraries</a>, which will help you get started creating all kinds of custom components based on <strong>mini.css</strong>.
|
||||
<li><strong>mini.css</strong> comes with a few nice pre-built customizable <a href="flavors">flavors</a>. See which one of them better suits your needs!</li>
|
||||
<li>If you are more experienced or demanding, you can always take a look at the <a href="customization">customization</a> section to cook up a flavor of your own custom-tailored to your needs!</li>
|
||||
<li>Finally, if you want to contribute to the framework's development in any way or have an interest in what happens behind the scenes, visit the <a href="https://github.com/Chalarangelo/mini.css">Github repository</a> to find out more.</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div></main>
|
||||
<!-- End of page content-->
|
||||
<footer style="text-align: justify;"><strong>mini.css</strong> was designed and built with <i class="fa fa-heart-o" aria-hidden="true"></i> by <a href="https://github.com/Chalarangelo">@Chalarangelo</a>. It is licensed under the <a href="https://github.com/Chalarangelo/mini.css/blob/master/LICENSE">MIT License</a>. You can view the project's source code on <a href="https://github.com/Chalarangelo/mini.css">Github</a>.<br/>
|
||||
<small>Icons made by <a href="http://www.freepik.com" title="Freepik"><small>Freepik</small></a> from <a href="http://www.flaticon.com" title="Flaticon"><small>www.flaticon.com</small></a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank"><small>CC 3.0 BY</small></a></small></footer>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
2639
docs/v2/quick_reference.html
Normal file
|
@ -1,7 +1,5 @@
|
|||
# mini.css v3 (Gluon) Development Log
|
||||
|
||||
# v3.0.0-alpha.1
|
||||
|
||||
## 20171011
|
||||
|
||||
- Moved all WIP to `gluon` branch, seems like the right choice.
|
||||
|
@ -18,294 +16,3 @@
|
|||
- Removed fix for `svg:not(:root)`, as it was IE-based.
|
||||
- Completely removed the `dfn` fix, as it's a rarely (if ever) used element and it targets an older version of Android, meaning it's not a really meaningful fix to anyone.
|
||||
- Stopped right before the headings, these will be updated and built next time.
|
||||
|
||||
## 20171015
|
||||
|
||||
- Cleaned up `docs` folder to be able to cherry pick into `master` branch for the new version documentation.
|
||||
- Built up the heading elements (`h1` - `h6`), using CSS variables (`--heading-ratio` for universal heading ratio scaling).
|
||||
- Added `--secondary-fore-color` for things like `small` in `h1`, which is set to `#424242`. Avoided using the term `--fore-color-lighter` as it could cause ambiguity in reverse-color-palette flavors.
|
||||
- `small` elements in headings are now by defauly displayed in blocks. I haven't seen many use cases for the old style and the codebase could use the cleanup, so there's that.
|
||||
|
||||
## 20171018
|
||||
|
||||
- Added universal margin variable `--universal-margin` for an easy way to align content and elements.
|
||||
- Converted all hardcoded CSS variable names to SCSS variables that are then converted into the final variables. This will allow for an extra layer of customization and help alleviate conflict problems (also allows for code minification in tiny flavor files that require variables names with simpler names).
|
||||
- Added styling for `p`, `ol` and `ul`, used universal margin and applied its double to the `padding-left` of the lists, so that it is reasonably consistent. Hope this wasn't a mistake.
|
||||
- Removed the `overflow: visible;` fix that was applied to `hr` for IE (legacy).
|
||||
- The old *fancy style* of `hr` is now the default and only styling choice. Seems easier that way. Manual tweaking can resolve this for certain flavors.
|
||||
- Added `--border-color` to use for universal border colors.
|
||||
- Applied a new gradient style to `hr`, one that uses `transparent` and the `--border-color`. Hopefully, it works as expected.
|
||||
- Completely remodelled the `blockquote` element, using CSS variables, a cleaner styling and some extra tricks. It should now behave better when there is no `[cite]` attribute present, improving presentation.
|
||||
- After a couple hours of research on web safe monospaced fonts and fonts that are actually up-to-date, a cup of coffe and a terrible headache, I ended up with the shortest possible `font-family` native font stack for monospaced fonts for `code, pre, kbd`. The only useful article was [this](https://www.client9.com/css-system-font-stack---monospace-v1/), due to the fact that it was posted in the last year. Honestly, the last version used just `monospace`, worst-case scenario there is no improvement whatsoever, but at least I tried. Preliminary results show that this looks pretty decent on Windows.
|
||||
- `box-shadow` has been dropped entirely for now, it will be added at a later time during a later alpha. For now, I want a quick and dirty solution for the most part.
|
||||
- Quick and dirty `code` and `kbd` element implementation, tweaks might be required later down the line.
|
||||
- `pre` element styling now has a sidebar by default and uses a CSS variable for this.
|
||||
- `samp` element styling removed (at least for now).
|
||||
- Tested and debugged code up to this point.
|
||||
|
||||
## 20171019
|
||||
|
||||
- Added styling for `small, sub, sup`. Their `font-size` is now tied to one variable for consistency.
|
||||
- Styled links, quite simplified but should be easier to work with for now.
|
||||
- Added styling for `figcaption`, tied color and size to `small`'s size for consistency.
|
||||
- The revamped `core` module seems to be about `200bytes` heavier than the old one, but certain things will probably be optimized over time.
|
||||
|
||||
## 20171020
|
||||
|
||||
- Merged PR #105, upgrading aesthetics.
|
||||
|
||||
## 20171021
|
||||
|
||||
- Started working on the **Gluon** website, just to get a taste for what it will look like and get some feedback.
|
||||
- *TODO* Retake picture after the splash has been tweaked, right before release.
|
||||
- Tweaked the splash screen, looks a bit better now and is easier to read.
|
||||
- Reverted the `hr` fix, as it caused problems.
|
||||
- Moved some of the documentation from the old website to the `/docs/v3` website.
|
||||
|
||||
## 20171024
|
||||
|
||||
- Copied `grid` module from the **Fermion** branch, removed 4-step system with `xs` screen size.
|
||||
- Removed legacy code from `grid`, specifically the one targeting `box-flex` (old syntax). - This trimmed the module size from `940bytes` down to `848bytes`.
|
||||
- Removed legacy support for prefixed flexbox (`-webkit-`), trimmed off another `91bytes`.
|
||||
- Improved indentation for `grid` module, now that prefixed code is gone.
|
||||
|
||||
## 20171025
|
||||
|
||||
- Improved the `grid` module by creating a simple `@mixin` to generate each grid step. Complexity is significantly lower now.
|
||||
- Properly configured the `grid` module for defaults, without anything stored in CSS variables it now weighs a nice `750bytes`. This will probably grow ever so slightly as soon as I get to add CSS variables.
|
||||
- Started using variables in `grid`, namely `--universal-padding`. Size increased only by `26bytes`.
|
||||
- Made `$_include-parent-layout` a hidden variable in `grid`.
|
||||
- Added scaffolding code in `grid` module, just in case someone decides to use it without any other modules.
|
||||
- Oddly enough, a flavor file with the default values and clean code is `1.82KB` gzipped, compared to `1.83KB` gzipped in **Fermion**, which means the variables and changes didn't really mess up size so far. Some changes need to be made and some things added, so it's quite probable that this will not be the final number, but still I am very happy about the results so far.
|
||||
|
||||
## 20171027
|
||||
|
||||
- Changed a lot of the layout and choices made in the `index.html` page, mainly to create a better and more coherent landing page.
|
||||
- Designed and added `responsive.svg`.
|
||||
- Created the responsiveness and speed section.
|
||||
- Created tailored section.
|
||||
- Landing page is mostly complete, footer and some minor changes are missing, I can start working on the rest of the docs now.
|
||||
|
||||
## 20171106
|
||||
|
||||
- Scraped the old website to get content for new documentation.
|
||||
- Started development of the new website app in `v3_dev`. This is going to be where the docs app is going to be created in.
|
||||
- Initial scaffolding of the documentation UI.
|
||||
- Added conditions for `box-shadow` values in `core`. The module is mostly complete, apart from extra features that I might want to add in the future.
|
||||
- Decided not to add the `select` fix in `input_control`. Browsers are pretty wild around the element and its use cases are causing a ton of complications. It is possible, but quite unlikely that it will be rebuilt in the old way in the future, but most likely it will just follow the OS/Browser/Native UI as it should have done originally. It's debatable if this is for the best, but quite frankly it saves me a lot of time and effort for a single element and a lot of bytes in the codebase. I would rather not style it and provide an outside fix for safety, one that goes a bit against semantics to provide better styling. If you are reading this and want to tell me why this was a bad choice and led to the demise of the **hugging cat**, kindly do!
|
||||
- Added styling for `form` elements, simplified the values of `padding` to make them more reasonable and uniform.
|
||||
- `legend` elements now have larger text (`1rem` over `0.875rem` in the past). This is done with accessibility in mind, making sure that users will have an easier time reading forms, which are a crucially important part of websites nowadays. Also simplified padding to be more universal and avoid cluttering.
|
||||
|
||||
## 20171107
|
||||
|
||||
- Built `.input-group`s from the ground up, cleaning legacy code and making sure everything works just like before.
|
||||
- Copied over the fix for `number` `input`s, still valid.
|
||||
- Removed the `textarea` fix, as it only applies to IE.
|
||||
- Copied over fixes for `search` elements, as they seem to apply to modern browsers.
|
||||
- Used CSS variables for most of the form `input` custmization, these should be easy to change.
|
||||
- Replaced old `::placeholder` definitions with `:placeholder-shown` for most browsers, kept the `-ms-` prefixed one for Edge. Using `:placeholder-shown` is following the latest standards, it has a high implementation rate, does not conflict with the browser support **Gluon** is targeting and, if it does not work, the code will default to what browsers usually do, which is pretty much what I am doing, too. It also simplifies the code a bit. `::-ms-placeholder` simulates the default behavior, so all browsers should get a similar styling.
|
||||
- Copied over all the fixes for `button` and similar elements, as they were up-to-date.
|
||||
- Created proper variables for `button`-like elements, built element syling on CSS variables.
|
||||
- Tested CSS variables for button, should allow for easy customization and additional styles, meaning it will be a breeze to add all the extra stuff as soon as possible.
|
||||
- Bundled up `[disabled]` styling for all elements in `input_control` as this should now be the default behavior of the code.
|
||||
- Dealt with #114. It shouldn't be a problem anymore.
|
||||
- Added mixins for `button` elements in `input_control`. They should now be perfectly usable.
|
||||
- Removed `header` `display` fix as it was targeting IE 9-.
|
||||
- Implemented `header` and links/buttons in it, `logo` is still missing.
|
||||
- Implemented `.sticky` for all `navigation` elements that needed it.
|
||||
|
||||
## 20171108
|
||||
|
||||
- Started debugging the extremely problematic `header` `.button`s. Figured out that `line-height: 2.4375` can fix the issue, no clue why that is, but I am going to use it for a little while.
|
||||
- Realized that `header` button-like elements don't need that high a specificity, provided that they should always appear after the definitions of `input_control`, thus lowered the specificity. This will trim off a couple of bytes, but it might eventually cause problems. Remember this decision should that happen and blame the **hugging cat**.
|
||||
- Figured out the `line-height` thing for the afforementioned elements.
|
||||
- Styled `.logo` in `header`. The styling is now far simpler and easier to use.
|
||||
- Removed `display:block` fix from `nav` as it was targeting IE 9-.
|
||||
- Tweaked and rebuilt the styling of `nav` elements. It should now be more mobile-friendly, too, especially when used in combination with a `.drawer`.
|
||||
- Rebuilt `.drawer`, breaking changes in the old code, but managable as far as I can tell.
|
||||
- `.drawer` will now be either left or right, no option for both. This can be altered in the code or by hand (if I make a tool, I should remember to add an option - *TODO*).
|
||||
- `footer` `display:block` fix removed - IE 9-.
|
||||
- `footer` rebuilt, pretty similar to the last iteration, except for colors.
|
||||
|
||||
## 20171109
|
||||
|
||||
- Renamed `grid` to `layout`. It will now house the `card` module, too. This is done to make sure that cards are never used without the grid system, as they wouldn't work too well without it.
|
||||
- Fully implemented the `card` module into `layout`, gave me no trouble. It's fully operational and tested. Some color tweaking might be required, but everything is pretty much ready for deployment in the `layout` module.
|
||||
- Customized `checkbox` and `radio` input elements, they should work pretty much fine.
|
||||
|
||||
## 20171112
|
||||
|
||||
- Updated `navigation` module to use Unicode symbols instead of icons. This will allow for more customization of the icons used in terms of color and alignment.
|
||||
- Modularized colorization of `form` and `input` elements, everything should now work fine by itself.
|
||||
|
||||
## 20171113
|
||||
|
||||
- Properly applied variable styling to `checkbox` and `radio` elements. They now use the `base-font-size` Sass variable to get their size, which makes sense.
|
||||
- Added `.button-group`s, they seem to behave properly, `border-color` could use some tweaking maybe.
|
||||
- Added external Sass variables to all modules (hopefully I didn't miss any), so that they can be used on their own now (not recommended, but doable).
|
||||
- Updated color palettes that should have better contrasts (slight deviation from the old ones, but this might change before release).
|
||||
- Added all necessary variants for `.button`-like elements.
|
||||
- Added custom styles necessary for `.card` elements.
|
||||
- After compilation of the completed modules, the size is `4.58KB`, whereas the size of the **Fermion** branch with the same things (meaning the switches and other ditched components were not included) was `4.56KB`. This is unbelievable and makes the **hugging cat** really happy.
|
||||
- Recompiled the `mini-default` flavor files. They should be mostly ready for release by now.
|
||||
|
||||
## 20171114
|
||||
|
||||
- Struggled for a couple of hours with the whole docs architecture, finally moved to a new customized build system.
|
||||
- Added the `getting-started` section to the documentation, this should now start to look like a real website.
|
||||
- Worked on documentation and custom tool, it should now support a lot of the data that is thrown at it.
|
||||
- Fixed a huge bug that I expected to blow up in my face eventually, where I had removed the `max-width` propert from `.col-` elements. Everything should be bug-free in the `grid` components now.
|
||||
|
||||
## 20171115
|
||||
|
||||
- Documented headings.
|
||||
- Documented code and quotations.
|
||||
- Documented lists.
|
||||
- Documented images.
|
||||
- Added `margin` to `figcaption` elements to reset the browser defaults.
|
||||
|
||||
## 20171116
|
||||
|
||||
- Updated `layout` to make sure everything is bug-free. The `grid` in particular is not very friendly lately.
|
||||
- Fixed a couple of bugs in `input_control` as well.
|
||||
- Improved the build script to actually render the `modifiers` section, it should be complete now, I think.
|
||||
- Documented `grid`. The whole old module has been merged into one long card with all the information readily available. Hopefully it's less complicated now.
|
||||
- Changed the color of `main` in the documentation to help the cards pop out a little bit more.
|
||||
|
||||
## 20171117
|
||||
|
||||
- Documented `card` and `card section` to complete the `layout` module's docs.
|
||||
- Altered the `dark` section colors, didn't really like them.
|
||||
- Cleaned up certain parts of the docs just a little bit.
|
||||
|
||||
## 20171118
|
||||
- Documented `button` elements and input grouping.
|
||||
- Documented `header`, `footer` and `nav`.
|
||||
|
||||
## 20171119
|
||||
|
||||
- Documented `drawer`.
|
||||
- Implemented search functionality, using `fuse`. It all works pretty well.
|
||||
- Added `index.html` generation code in the build file, this will allow me to not load a script for the versioning.
|
||||
- Polished menus with icons, updated menus.
|
||||
- Updated splash page with all the necessary thing and buttons.
|
||||
- Optimized all images to make the pages lighter.
|
||||
- Updated links to open in new tabs when they are external.
|
||||
- Generated new favicons.
|
||||
- Everything should be ready to release `v3.0.0-alpha.1` tomorrow.
|
||||
|
||||
# v3.0.0-alpha.2
|
||||
|
||||
## 20171120
|
||||
|
||||
- Updated `.drawer` documentation to include customization.
|
||||
- Recompiled default flavor just in case.
|
||||
- Fixed the devlog showing wrong dates. **Hugging cat** was at it again, it seems!
|
||||
- Unleashed the first **Gluon** alpha unto the world!
|
||||
|
||||
## 20171204
|
||||
|
||||
- Started working on `contextual` module.
|
||||
- Removed the `margin` property from `mark` elements, it seemed particularly irrelevant, provided they are usually inlined inside text. This can be added manually now, but I don't think nobody will have a use for it.
|
||||
- Removed `border` styling from `mark` elements, it also seemed reasonably irrelevant. Easy to add, generic borders will help here, when I add them back in `utility`.
|
||||
- Slightly altered `inline-block` version of `mark` to match the styling of the rest of the elements.
|
||||
- Worked on `contextual_mixins` to get the `mark` variants ready. Slightly altered the mixins from the old version.
|
||||
- Used mixins to add `secondary`, `tertiary` and `tag` `mark` variants.
|
||||
- Fed **hugging cat**.
|
||||
|
||||
## 20171208
|
||||
|
||||
- Added `tooltip` and `toast`. Their mixins were rarely ever used as far as I can tell, so they will not make into **Gluon**, at least for now. If the need arises, they can be easily added back in at a later date.
|
||||
- Apparently the `-webkit-clip-path` is necessary for best support. Remind **hugging cat** every time from now on.
|
||||
- Removed legacy support from `tooltip`'s tail. I mean everything uses `calc` now, so what's the use to keep that in?
|
||||
- I am removing `-webkit-transform`, it seems unnecessary now.
|
||||
|
||||
## 20171211
|
||||
|
||||
- Added `.modal` component. Breaking changes to comply with the new guidelines (i.e. apply the class on the `checkbox` element, not the element after it, much like `.drawer`). Cleaned up a little bit, dealt with a few problems here and there. Custom styling for the `.modal-close`, not bound to anything else.
|
||||
- Moved vertical version of `.tabs` into `contextual` under `.collapse`. Reduced complexity, improved performance and generally a better feel to them.
|
||||
- **Hugging cat** was messing with the `DEVLOG`, good thing I noticed and fixed it.
|
||||
- Moved component-specific variable definitions in `contextual` under the related conditionals.
|
||||
- Documented `mark` elements.
|
||||
- Fixed a broken link in `index.html`.
|
||||
- Added the appropriate script for generating Codepen links dynamically. Oh, yeah!
|
||||
- Documented `.toast` messages.
|
||||
|
||||
## 20171217
|
||||
|
||||
- Documented `.tooltip`.
|
||||
|
||||
## 20171228
|
||||
|
||||
- Documented `.modal`.
|
||||
- Documented `.collapse`.
|
||||
|
||||
## 20171229
|
||||
|
||||
- Coded `progress` module. Everything is pretty much the same as before.
|
||||
- Renamed `.spinner-donut` to `.spinner`.
|
||||
- Added a default variant to `progress` and `.spinner`, so that we can have `.primary`, `.secondary` and `.tertiary`.
|
||||
- Added alternative color mixins for `progress` and `.spinner`.
|
||||
- Removed size variants and the inline variant mixin from `progress` and `.spinner`.
|
||||
- Updated flavor file with the `progress` module and mixed-in variants.
|
||||
|
||||
## 20171230
|
||||
|
||||
- Documented `progress` element.
|
||||
- Documented `spinner` component.
|
||||
|
||||
## 20180102
|
||||
|
||||
- Started working on `table` module. Tables are now scrollable by default.
|
||||
- Coded desktop view for `table`, no `@media` queries in there yet, but there will be more sooner rather than later.
|
||||
- Added mobile view for tables, fully functional, no problems, still missing `.horizontal` and `.striped` (also `.hoverable` ?) and variablization.
|
||||
|
||||
## 20180103
|
||||
|
||||
- Added `.horizontal` `table` elements, optimized for minimal size. Some variables are missing and unset but overall both normal and `.horizontal` tables should work properly now on desktop as well as on mobile.
|
||||
|
||||
## 20180108
|
||||
|
||||
- Updated tables, variables cleanup.
|
||||
- Added `.striped` and `.hoverable` `table` styles.
|
||||
- Documented `table` module.
|
||||
|
||||
## 20180115
|
||||
|
||||
- Updated menus to not include a dead `blog` link no more. Sorry, **hugging cat**!
|
||||
- Updated tag for `v3.0.0-alpha.2`.
|
||||
- Released the new alpha.
|
||||
|
||||
# v3.0.0-alpha.3
|
||||
|
||||
## 20180116
|
||||
|
||||
- Started working on `utility` module.
|
||||
- Moved all old mixins from `utility_mixins` to the base `utility` module.
|
||||
- Removed `close`, `breadcrumbs` and legacy utility helper classes.
|
||||
- Everything including `utility` module, but no icons is `6.75KB`, which is quite good, considering everything.
|
||||
|
||||
## 20180122
|
||||
|
||||
- Started implementing the `icon` module. Made some changes in the icon set (removed `x` and `menu`, added `phone` and `rss`).
|
||||
- Due to decisions on using `filter: invert(100)` for icon coloring, the minimum supported version of Firefox will now be `35` instead of `31`.
|
||||
- Added all icons.
|
||||
- Added `.inverse` and `.secondary` filters for icons.
|
||||
- Total size with icons is `8.17KB` gzipped.
|
||||
|
||||
## 20180123
|
||||
|
||||
- Updated `icon` module to have the variables definitions in comments (in case of standalone use).
|
||||
- Documented `icon` module in its entirety and retested everything. It's all good.
|
||||
|
||||
## 20180129
|
||||
|
||||
- Documented visibility helpers.
|
||||
- Documented element decorators.
|
||||
- Documented responsive spacing and sizing modifiers.
|
||||
- Updated version info to `v3.0.0-alpha.3`, soon ready to be released as the final alpha.
|
||||
|
||||
## 20180201
|
||||
|
||||
- Prepared everything for `v3.0.0-alpha.3`.
|
||||
- Released the new alpha.
|
||||
|
|
|
@ -1,63 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link href="https://fonts.googleapis.com/css?family=Inconsolata:400,700|Poppins:400,400i,500,700,700i&subset=latin-ext" rel="stylesheet">
|
||||
<link rel="stylesheet" href="./style.min.css">
|
||||
<title>mini.css - Minimal, responsive, style-agnostic CSS framework</title>
|
||||
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="mini.css is a tiny CSS framework designed to build quick, modern and responsive websites.">
|
||||
<meta name="keywords" content="mini, mini.css, CSS, framework, minimal, responsive, style-agnostic, front-end, frontend, Sass, toolkit">
|
||||
<meta name="author" content="Angelos Chalaris (chalarangelo)">
|
||||
<meta property="og:title" content="mini.css - Minimal, responsive, style-agnostic CSS framework">
|
||||
<meta property="og:description" content="mini.css is a tiny CSS framework designed to build quick, modern and responsive websites."/>
|
||||
<meta property="og:type" content="website"/><meta property="og:image" content="page_thumb.png">
|
||||
<meta property="og:url" content="https://chalarangelo.github.io/mini.css/"><link rel="icon" type="image/png" href="favicon.png">
|
||||
</head>
|
||||
<body>
|
||||
<div class="index-splash">
|
||||
<div class="index-splash-image no-filter"></div>
|
||||
<div class="index-splash-image"></div>
|
||||
<h1 class="splash">mini<small>.css</small></h1>
|
||||
<p class="splash">minimal, responsive, style-agnostic <br>CSS framework</p>
|
||||
<p id="version-info">v3.0.0-alpha.3</p>
|
||||
<a class="button splash" href="docs">Get started</a>
|
||||
</div>
|
||||
<header class="row sticky">
|
||||
<span class="col-md-1 col-lg-2"></span>
|
||||
<span class="logo col-sm-3 col-md">mini.css</span>
|
||||
<a class="button col-sm col-md" href="docs">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="height: 20px; vertical-align: text-top;"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg>
|
||||
<span> Docs</span></a>
|
||||
<a class="button col-sm col-md" href="https://github.com/Chalarangelo/mini.css" target="_blank">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="height: 20px; vertical-align: text-top;"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg>
|
||||
<span> Github</span></a>
|
||||
<a class="button col-sm col-md" href="#">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="height: 20px; vertical-align: text-top;"><path d="M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34"></path><polygon points="18 2 22 6 12 16 8 16 8 12 18 2"></polygon></svg>
|
||||
<span> Flavors</span></a>
|
||||
<span class="col-md-1 col-lg-2"></span>
|
||||
</header>
|
||||
<div class="row padded">
|
||||
<div class="col-sm-12 col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
|
||||
<img src="./responsive.svg" class="feature-image">
|
||||
<h2 class="feature-header">Fast and Responsive</h2><br>
|
||||
<p>Want to build websites that look beautiful on any and all devices, but also load fast on mobile connections? Then <strong>mini.css</strong> is the right tool for you! Its tiny size (under 10KB gzipped), along with its <strong>responsive grid</strong> and modern components ensures that all your users are satisfied and can access your website anytime, anywhere. Bridging the gap between fully-featured frameworks (e.g. Bootstrap and Semantic UI) and micro frameworks (e.g. Milligram and Pure.CSS), <strong>mini.css</strong> packs a lot of features in a small package, while it relies solely on CSS, meaning you do not have to worry about any conflicts with other Javascript libraries you might be using.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row padded alt-back">
|
||||
<div class="col-sm-12 col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
|
||||
<img src="./tailored.svg" class="feature-image">
|
||||
<h2 class="feature-header">Tailored to Your Needs</h2><br>
|
||||
<p>Creating a CSS framework that caters to everyone's needs is no easy task, but <strong>mini.css</strong> manages to rise to the occasion by providing extensive and coherent documentation in combination with templates, examples and semantic HTML5 markup. Modern UX patterns and accessibility guidelines are well-documented and can be used out of the box, using one of the unique <strong>flavors</strong> that the framework provides. If you still want more, you can create your own custom flavor or tweak an existing one just by opening its CSS file and changing a few custom properties. It's that simple! </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row padded primary-section">
|
||||
<div class="col-sm-12 col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
|
||||
<h2 class="feature-header">Get started now!</h2><br>
|
||||
<p>Head over to the <a href="docs">documentation</a> to learn how to get started using <strong>mini.css</strong>, as well as what flavors and components are availble and how to use them to create the website or web app you've always wanted. If you like the framework and want to support it, remember to to star it on Github. It means a lot to us and it only takes a couple of seconds!</p>
|
||||
<p style="text-align:center;"><a href="docs" class="button">Get started</a></p>
|
||||
<a href="https://github.com/Chalarangelo/mini.css" target="_blank" class="centered">mini.css on Github</a>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="row"><div class="col-sm-12 col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2"><p style="text-align: justify;"><strong>mini.css</strong> was designed and built by <a href="https://github.com/Chalarangelo" target="_blank">@Chalarangelo</a>. Source code licensed under the <a href="https://github.com/Chalarangelo/mini.css/blob/master/LICENSE">MIT License</a>.</p><p>Icons provided by <a href="https://feathericons.com/" target="_blank">Feather</a>. Photo by <a href="https://unsplash.com/photos/vjMgqUkS8q8" target="_blank">Christopher Gower</a> on <a href="https://unsplash.com" target="_blank">Unsplash</a>.</p></div></footer>
|
||||
</body>
|
||||
</html>
|
||||
<!DOCTYPE html><html><head>
|
||||
<title>mini.css - Minimal, responsive, style-agnostic CSS framework</title><meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"><meta name="description" content="mini.css - Minimal, responsive, style-agnostic CSS framework">
|
||||
<meta name="keywords" content="mini, mini.css, CSS, framework, minimal, responsive, style-agnostic, front-end, frontend, Sass, toolkit">
|
||||
<meta name="author" content="Angelos Chalaris (chalarangelo)">
|
||||
<meta property="og:title" content="mini.css - Minimal, responsive, style-agnostic CSS framework">
|
||||
<meta property="og:description" content="mini.css is a tiny CSS framework designed to build quick, modern and responsive websites."/>
|
||||
<meta property="og:type" content="website"/><meta property="og:image" content="../page_thumb.png">
|
||||
<meta property="og:url" content="https://chalarangelo.github.io/mini.css/"><link rel="icon" type="image/png" href="favicon.png">
|
||||
<meta http-equiv="refresh" content="0; url=https://chalarangelo.github.io/mini.css/">
|
||||
</head></html>
|
||||
|
|
548
node_modules/core-js/CHANGELOG.md
generated
vendored
Normal file
|
@ -0,0 +1,548 @@
|
|||
## Changelog
|
||||
##### 2.3.0 - 2016.04.24
|
||||
- Added `asap` for enqueuing microtasks, [stage 0 proposal](https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask)
|
||||
- Added well-known symbol `Symbol.asyncIterator` for [stage 2 async iteration proposal](https://github.com/tc39/proposal-async-iteration)
|
||||
- Added well-known symbol `Symbol.observable` for [stage 1 observables proposal](https://github.com/zenparsing/es-observable)
|
||||
- `String#{padStart, padEnd}` returns original string if filler is empty string, [T39 meeting notes](https://github.com/rwaldron/tc39-notes/blob/master/es7/2016-03/march-29.md#stringprototypepadstartpadend)
|
||||
- `Object.values` and `Object.entries` moved to stage 4 from 3, [T39 meeting notes](https://github.com/rwaldron/tc39-notes/blob/master/es7/2016-03/march-29.md#objectvalues--objectentries)
|
||||
- `System.global` moved to stage 2 from 1, [T39 meeting notes](https://github.com/rwaldron/tc39-notes/blob/master/es7/2016-03/march-29.md#systemglobal)
|
||||
- `Map#toJSON` and `Set#toJSON` rejected and will be removed from the next major release, [T39 meeting notes](https://github.com/rwaldron/tc39-notes/blob/master/es7/2016-03/march-31.md#mapprototypetojsonsetprototypetojson)
|
||||
- `Error.isError` withdrawn and will be removed from the next major release, [T39 meeting notes](https://github.com/rwaldron/tc39-notes/blob/master/es7/2016-03/march-29.md#erroriserror)
|
||||
- Added fallback for `Function#name` on non-extensible functions and functions with broken `toString` conversion, [#193](https://github.com/zloirock/core-js/issues/193)
|
||||
|
||||
##### 2.2.2 - 2016.04.06
|
||||
- Added conversion `-0` to `+0` to `Array#{indexOf, lastIndexOf}`, [ES2016 fix](https://github.com/tc39/ecma262/pull/316)
|
||||
- Added fixes for some `Math` methods in Tor Browser
|
||||
- `Array.{from, of}` no longer calls prototype setters
|
||||
- Added workaround over Chrome DevTools strange behavior, [#186](https://github.com/zloirock/core-js/issues/186)
|
||||
|
||||
##### 2.2.1 - 2016.03.19
|
||||
- Fixed `Object.getOwnPropertyNames(window)` `2.1+` versions bug, [#181](https://github.com/zloirock/core-js/issues/181)
|
||||
|
||||
##### 2.2.0 - 2016.03.15
|
||||
- Added `String#matchAll`, [proposal](https://github.com/tc39/String.prototype.matchAll)
|
||||
- Added `Object#__(define|lookup)[GS]etter__`, [annex B ES2017](https://github.com/tc39/ecma262/pull/381)
|
||||
- Added `@@toPrimitive` methods to `Date` and `Symbol`
|
||||
- Fixed `%TypedArray%#slice` in Edge ~ 13 (throws with `@@species` and wrapped / inherited constructor)
|
||||
- Some other minor fixes
|
||||
|
||||
##### 2.1.5 - 2016.03.12
|
||||
- Improved support NodeJS domains in `Promise#then`, [#180](https://github.com/zloirock/core-js/issues/180)
|
||||
- Added fallback for `Date#toJSON` bug in Qt Script, [#173](https://github.com/zloirock/core-js/issues/173#issuecomment-193972502)
|
||||
|
||||
##### 2.1.4 - 2016.03.08
|
||||
- Added fallback for `Symbol` polyfill in Qt Script, [#173](https://github.com/zloirock/core-js/issues/173)
|
||||
- Added one more fallback for IE11 `Script Access Denied` error with iframes, [#165](https://github.com/zloirock/core-js/issues/165)
|
||||
|
||||
##### 2.1.3 - 2016.02.29
|
||||
- Added fallback for [`es6-promise` package bug](https://github.com/stefanpenner/es6-promise/issues/169), [#176](https://github.com/zloirock/core-js/issues/176)
|
||||
|
||||
##### 2.1.2 - 2016.02.29
|
||||
- Some minor `Promise` fixes:
|
||||
- Browsers `rejectionhandled` event better HTML spec complaint
|
||||
- Errors in unhandled rejection handlers should not cause any problems
|
||||
- Fixed typo in feature detection
|
||||
|
||||
##### 2.1.1 - 2016.02.22
|
||||
- Some `Promise` improvements:
|
||||
- Feature detection:
|
||||
- **Added detection unhandled rejection tracking support - now it's available everywhere**, [#140](https://github.com/zloirock/core-js/issues/140)
|
||||
- Added detection `@@species` pattern support for completely correct subclassing
|
||||
- Removed usage `Object.setPrototypeOf` from feature detection and noisy console message about it in FF
|
||||
- `Promise.all` fixed for some very specific cases
|
||||
|
||||
##### 2.1.0 - 2016.02.09
|
||||
- **API**:
|
||||
- ES5 polyfills are split and logic, used in other polyfills, moved to internal modules
|
||||
- **All entry point works in ES3 environment like IE8- without `core-js/(library/)es5`**
|
||||
- **Added all missed single entry points for ES5 polyfills**
|
||||
- Separated ES5 polyfills moved to the ES6 namespace. Why?
|
||||
- Mainly, for prevent duplication features in different namespaces - logic of most required ES5 polyfills changed in ES6+:
|
||||
- Already added changes for: `Object` statics - should accept primitives, new whitespaces lists in `String#trim`, `parse(Int|float)`, `RegExp#toString` logic, `String#split`, etc
|
||||
- Should be changed in the future: `@@species` and `ToLength` logic in `Array` methods, `Date` parsing, `Function#bind`, etc
|
||||
- Should not be changed only several features like `Array.isArray` and `Date.now`
|
||||
- Some ES5 polyfills required for modern engines
|
||||
- All old entry points should work fine, but in the next major release API can be changed
|
||||
- `Object.getOwnPropertyDescriptors` moved to the stage 3, [January TC39 meeting](https://github.com/rwaldron/tc39-notes/blob/master/es7/2016-01/2016-01-28.md#objectgetownpropertydescriptors-to-stage-3-jordan-harband-low-priority-but-super-quick)
|
||||
- Added `umd` option for [custom build process](https://github.com/zloirock/core-js#custom-build-from-external-scripts), [#169](https://github.com/zloirock/core-js/issues/169)
|
||||
- Returned entry points for `Array` statics, removed in `2.0`, for compatibility with `babel` `6` and for future fixes
|
||||
- **Deprecated**:
|
||||
- `Reflect.enumerate` deprecated and will be removed from the next major release, [January TC39 meeting](https://github.com/rwaldron/tc39-notes/blob/master/es7/2016-01/2016-01-28.md#5xix-revisit-proxy-enumerate---revisit-decision-to-exhaust-iterator)
|
||||
- **New Features**:
|
||||
- Added [`Reflect` metadata API](https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md) as a pre-strawman feature, [#152](https://github.com/zloirock/core-js/issues/152):
|
||||
- `Reflect.defineMetadata`
|
||||
- `Reflect.deleteMetadata`
|
||||
- `Reflect.getMetadata`
|
||||
- `Reflect.getMetadataKeys`
|
||||
- `Reflect.getOwnMetadata`
|
||||
- `Reflect.getOwnMetadataKeys`
|
||||
- `Reflect.hasMetadata`
|
||||
- `Reflect.hasOwnMetadata`
|
||||
- `Reflect.metadata`
|
||||
- Implementation / fixes `Date#toJSON`
|
||||
- Fixes for `parseInt` and `Number.parseInt`
|
||||
- Fixes for `parseFloat` and `Number.parseFloat`
|
||||
- Fixes for `RegExp#toString`
|
||||
- Fixes for `Array#sort`
|
||||
- Fixes for `Number#toFixed`
|
||||
- Fixes for `Number#toPrecision`
|
||||
- Additional fixes for `String#split` (`RegExp#@@split`)
|
||||
- **Improvements**:
|
||||
- Correct subclassing wrapped collections, `Number` and `RegExp` constructors with native class syntax
|
||||
- Correct support `SharedArrayBuffer` and buffers from other realms in typed arrays wrappers
|
||||
- Additional validations for `Object.{defineProperty, getOwnPropertyDescriptor}` and `Reflect.defineProperty`
|
||||
- **Bug Fixes**:
|
||||
- Fixed some cases `Array#lastIndexOf` with negative second argument
|
||||
|
||||
##### 2.0.3 - 2016.01.11
|
||||
- Added fallback for V8 ~ Chrome 49 `Promise` subclassing bug causes unhandled rejection on feature detection, [#159](https://github.com/zloirock/core-js/issues/159)
|
||||
- Added fix for very specific environments with global `window === null`
|
||||
|
||||
##### 2.0.2 - 2016.01.04
|
||||
- Temporarily removed `length` validation from `Uint8Array` constructor wrapper. Reason - [bug in `ws` module](https://github.com/websockets/ws/pull/645) (-> `socket.io`) which passes to `Buffer` constructor -> `Uint8Array` float and uses [the `V8` bug](https://code.google.com/p/v8/issues/detail?id=4552) for conversion to int (by the spec should be thrown an error). [It creates problems for many people.](https://github.com/karma-runner/karma/issues/1768) I hope, it will be returned after fixing this bug in `V8`.
|
||||
|
||||
##### 2.0.1 - 2015.12.31
|
||||
- forced usage `Promise.resolve` polyfill in the `library` version for correct work with wrapper
|
||||
- `Object.assign` should be defined in the strict mode -> throw an error on extension non-extensible objects, [#154](https://github.com/zloirock/core-js/issues/154)
|
||||
|
||||
##### 2.0.0 - 2015.12.24
|
||||
- added implementations and fixes [Typed Arrays](https://github.com/zloirock/core-js#ecmascript-6-typed-arrays)-related features
|
||||
- `ArrayBuffer`, `ArrayBuffer.isView`, `ArrayBuffer#slice`
|
||||
- `DataView` with all getter / setter methods
|
||||
- `Int8Array`, `Uint8Array`, `Uint8ClampedArray`, `Int16Array`, `Uint16Array`, `Int32Array`, `Uint32Array`, `Float32Array` and `Float64Array` constructors
|
||||
- `%TypedArray%.{for, of}`, `%TypedArray%#{copyWithin, every, fill, filter, find, findIndex, forEach, indexOf, includes, join, lastIndexOf, map, reduce, reduceRight, reverse, set, slice, some, sort, subarray, values, keys, entries, @@iterator, ...}`
|
||||
- added [`System.global`](https://github.com/zloirock/core-js#ecmascript-7-proposals), [proposal](https://github.com/tc39/proposal-global), [November TC39 meeting](https://github.com/rwaldron/tc39-notes/tree/master/es7/2015-11/nov-19.md#systemglobal-jhd)
|
||||
- added [`Error.isError`](https://github.com/zloirock/core-js#ecmascript-7-proposals), [proposal](https://github.com/ljharb/proposal-is-error), [November TC39 meeting](https://github.com/rwaldron/tc39-notes/tree/master/es7/2015-11/nov-19.md#jhd-erroriserror)
|
||||
- added [`Math.{iaddh, isubh, imulh, umulh}`](https://github.com/zloirock/core-js#ecmascript-7-proposals), [proposal](https://gist.github.com/BrendanEich/4294d5c212a6d2254703)
|
||||
- `RegExp.escape` moved from the `es7` to the non-standard `core` namespace, [July TC39 meeting](https://github.com/rwaldron/tc39-notes/blob/master/es7/2015-07/july-28.md#62-regexpescape) - too slow, but it's condition of stability, [#116](https://github.com/zloirock/core-js/issues/116)
|
||||
- [`Promise`](https://github.com/zloirock/core-js#ecmascript-6-promise)
|
||||
- some performance optimisations
|
||||
- added basic support [`rejectionHandled` event / `onrejectionhandled` handler](https://github.com/zloirock/core-js#unhandled-rejection-tracking) to the polyfill
|
||||
- removed usage `@@species` from `Promise.{all, race}`, [November TC39 meeting](https://github.com/rwaldron/tc39-notes/tree/master/es7/2015-11/nov-18.md#conclusionresolution-2)
|
||||
- some improvements [collections polyfills](https://github.com/zloirock/core-js#ecmascript-6-collections)
|
||||
- `O(1)` and preventing possible leaks with frozen keys, [#134](https://github.com/zloirock/core-js/issues/134)
|
||||
- correct observable state object keys
|
||||
- renamed `String#{padLeft, padRight}` -> [`String#{padStart, padEnd}`](https://github.com/zloirock/core-js#ecmascript-7-proposals), [proposal](https://github.com/tc39/proposal-string-pad-start-end), [November TC39 meeting](https://github.com/rwaldron/tc39-notes/tree/master/es7/2015-11/nov-17.md#conclusionresolution-2) (they want to rename it on each meeting?O_o), [#132](https://github.com/zloirock/core-js/issues/132)
|
||||
- added [`String#{trimStart, trimEnd}` as aliases for `String#{trimLeft, trimRight}`](https://github.com/zloirock/core-js#ecmascript-7-proposals), [proposal](https://github.com/sebmarkbage/ecmascript-string-left-right-trim), [November TC39 meeting](https://github.com/rwaldron/tc39-notes/tree/master/es7/2015-11/nov-17.md#conclusionresolution-2)
|
||||
- added [annex B HTML methods](https://github.com/zloirock/core-js#ecmascript-6-string) - ugly, but also [the part of the spec](http://www.ecma-international.org/ecma-262/6.0/#sec-string.prototype.anchor)
|
||||
- added little fix for [`Date#toString`](https://github.com/zloirock/core-js#ecmascript-6-date) - `new Date(NaN).toString()` [should be `'Invalid Date'`](http://www.ecma-international.org/ecma-262/6.0/#sec-todatestring)
|
||||
- added [`{keys, values, entries, @@iterator}` methods to DOM collections](https://github.com/zloirock/core-js#iterable-dom-collections) which should have [iterable interface](https://heycam.github.io/webidl/#idl-iterable) or should be [inherited from `Array`](https://heycam.github.io/webidl/#LegacyArrayClass) - `NodeList`, `DOMTokenList`, `MediaList`, `StyleSheetList`, `CSSRuleList`.
|
||||
- removed Mozilla `Array` generics - [deprecated and will be removed from FF](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#Array_generic_methods), [looks like strawman is dead](http://wiki.ecmascript.org/doku.php?id=strawman:array_statics), available [alternative shim](https://github.com/plusdude/array-generics)
|
||||
- removed `core.log` module
|
||||
- CommonJS API
|
||||
- added entry points for [virtual methods](https://github.com/zloirock/core-js#commonjs-and-prototype-methods-without-global-namespace-pollution)
|
||||
- added entry points for [stages proposals](https://github.com/zloirock/core-js#ecmascript-7-proposals)
|
||||
- some other minor changes
|
||||
- [custom build from external scripts](https://github.com/zloirock/core-js#custom-build-from-external-scripts) moved to the separate package for preventing problems with dependencies
|
||||
- changed `$` prefix for internal modules file names because Team Foundation Server does not support it, [#129](https://github.com/zloirock/core-js/issues/129)
|
||||
- additional fix for `SameValueZero` in V8 ~ Chromium 39-42 collections
|
||||
- additional fix for FF27 `Array` iterator
|
||||
- removed usage shortcuts for `arguments` object - old WebKit bug, [#150](https://github.com/zloirock/core-js/issues/150)
|
||||
- `{Map, Set}#forEach` non-generic, [#144](https://github.com/zloirock/core-js/issues/144)
|
||||
- many other improvements
|
||||
|
||||
##### 1.2.6 - 2015.11.09
|
||||
* reject with `TypeError` on attempt resolve promise itself
|
||||
* correct behavior with broken `Promise` subclass constructors / methods
|
||||
* added `Promise`-based fallback for microtask
|
||||
* fixed V8 and FF `Array#{values, @@iterator}.name`
|
||||
* fixed IE7- `[1, 2].join(undefined) -> '1,2'`
|
||||
* some other fixes / improvements / optimizations
|
||||
|
||||
##### 1.2.5 - 2015.11.02
|
||||
* some more `Number` constructor fixes:
|
||||
* fixed V8 ~ Node 0.8 bug: `Number('+0x1')` should be `NaN`
|
||||
* fixed `Number(' 0b1\n')` case, should be `1`
|
||||
* fixed `Number()` case, should be `0`
|
||||
|
||||
##### 1.2.4 - 2015.11.01
|
||||
* fixed `Number('0b12') -> NaN` case in the shim
|
||||
* fixed V8 ~ Chromium 40- bug - `Weak(Map|Set)#{delete, get, has}` should not throw errors [#124](https://github.com/zloirock/core-js/issues/124)
|
||||
* some other fixes and optimizations
|
||||
|
||||
##### 1.2.3 - 2015.10.23
|
||||
* fixed some problems related old V8 bug `Object('a').propertyIsEnumerable(0) // => false`, for example, `Object.assign({}, 'qwe')` from the last release
|
||||
* fixed `.name` property and `Function#toString` conversion some polyfilled methods
|
||||
* fixed `Math.imul` arity in Safari 8-
|
||||
|
||||
##### 1.2.2 - 2015.10.18
|
||||
* improved optimisations for V8
|
||||
* fixed build process from external packages, [#120](https://github.com/zloirock/core-js/pull/120)
|
||||
* one more `Object.{assign, values, entries}` fix for [**very** specific case](https://github.com/ljharb/proposal-object-values-entries/issues/5)
|
||||
|
||||
##### 1.2.1 - 2015.10.02
|
||||
* replaced fix `JSON.stringify` + `Symbol` behavior from `.toJSON` method to wrapping `JSON.stringify` - little more correct, [compat-table/642](https://github.com/kangax/compat-table/pull/642)
|
||||
* fixed typo which broke tasks scheduler in WebWorkers in old FF, [#114](https://github.com/zloirock/core-js/pull/114)
|
||||
|
||||
##### 1.2.0 - 2015.09.27
|
||||
* added browser [`Promise` rejection hook](#unhandled-rejection-tracking), [#106](https://github.com/zloirock/core-js/issues/106)
|
||||
* added correct [`IsRegExp`](http://www.ecma-international.org/ecma-262/6.0/#sec-isregexp) logic to [`String#{includes, startsWith, endsWith}`](https://github.com/zloirock/core-js/#ecmascript-6-string) and [`RegExp` constructor](https://github.com/zloirock/core-js/#ecmascript-6-regexp), `@@match` case, [example](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/match#Disabling_the_isRegExp_check)
|
||||
* updated [`String#leftPad`](https://github.com/zloirock/core-js/#ecmascript-7-proposals) [with proposal](https://github.com/ljharb/proposal-string-pad-left-right/issues/6): string filler truncated from the right side
|
||||
* replaced V8 [`Object.assign`](https://github.com/zloirock/core-js/#ecmascript-6-object) - its properties order not only [incorrect](https://github.com/sindresorhus/object-assign/issues/22), it is non-deterministic and it causes some problems
|
||||
* fixed behavior with deleted in getters properties for `Object.{`[`assign`](https://github.com/zloirock/core-js/#ecmascript-6-object)`, `[`entries, values`](https://github.com/zloirock/core-js/#ecmascript-7-proposals)`}`, [example](http://goo.gl/iQE01c)
|
||||
* fixed [`Math.sinh`](https://github.com/zloirock/core-js/#ecmascript-6-math) with very small numbers in V8 near Chromium 38
|
||||
* some other fixes and optimizations
|
||||
|
||||
##### 1.1.4 - 2015.09.05
|
||||
* fixed support symbols in FF34-35 [`Object.assign`](https://github.com/zloirock/core-js/#ecmascript-6-object)
|
||||
* fixed [collections iterators](https://github.com/zloirock/core-js/#ecmascript-6-iterators) in FF25-26
|
||||
* fixed non-generic WebKit [`Array.of`](https://github.com/zloirock/core-js/#ecmascript-6-array)
|
||||
* some other fixes and optimizations
|
||||
|
||||
##### 1.1.3 - 2015.08.29
|
||||
* fixed support Node.js domains in [`Promise`](https://github.com/zloirock/core-js/#ecmascript-6-promise), [#103](https://github.com/zloirock/core-js/issues/103)
|
||||
|
||||
##### 1.1.2 - 2015.08.28
|
||||
* added `toJSON` method to [`Symbol`](https://github.com/zloirock/core-js/#ecmascript-6-symbol) polyfill and to MS Edge implementation for expected `JSON.stringify` result w/o patching this method
|
||||
* replaced [`Reflect.construct`](https://github.com/zloirock/core-js/#ecmascript-6-reflect) implementations w/o correct support third argument
|
||||
* fixed `global` detection with changed `document.domain` in ~IE8, [#100](https://github.com/zloirock/core-js/issues/100)
|
||||
|
||||
##### 1.1.1 - 2015.08.20
|
||||
* added more correct microtask implementation for [`Promise`](#ecmascript-6-promise)
|
||||
|
||||
##### 1.1.0 - 2015.08.17
|
||||
* updated [string padding](https://github.com/zloirock/core-js/#ecmascript-7-proposals) to [actual proposal](https://github.com/ljharb/proposal-string-pad-left-right) - renamed, minor internal changes:
|
||||
* `String#lpad` -> `String#padLeft`
|
||||
* `String#rpad` -> `String#padRight`
|
||||
* added [string trim functions](#ecmascript-7-proposals) - [proposal](https://github.com/sebmarkbage/ecmascript-string-left-right-trim), defacto standard - required only for IE11- and fixed for some old engines:
|
||||
* `String#trimLeft`
|
||||
* `String#trimRight`
|
||||
* [`String#trim`](https://github.com/zloirock/core-js/#ecmascript-6-string) fixed for some engines by es6 spec and moved from `es5` to single `es6` module
|
||||
* splitted [`es6.object.statics-accept-primitives`](https://github.com/zloirock/core-js/#ecmascript-6-object)
|
||||
* caps for `freeze`-family `Object` methods moved from `es5` to `es6` namespace and joined with [es6 wrappers](https://github.com/zloirock/core-js/#ecmascript-6-object)
|
||||
* `es5` [namespace](https://github.com/zloirock/core-js/#commonjs) also includes modules, moved to `es6` namespace - you can use it as before
|
||||
* increased `MessageChannel` priority in `$.task`, [#95](https://github.com/zloirock/core-js/issues/95)
|
||||
* does not get `global.Symbol` on each getting iterator, if you wanna use alternative `Symbol` shim - add it before `core-js`
|
||||
* [`Reflect.construct`](https://github.com/zloirock/core-js/#ecmascript-6-reflect) optimized and fixed for some cases
|
||||
* simplified [`Reflect.enumerate`](https://github.com/zloirock/core-js/#ecmascript-6-reflect), see [this question](https://esdiscuss.org/topic/question-about-enumerate-and-property-decision-timing)
|
||||
* some corrections in [`Math.acosh`](https://github.com/zloirock/core-js/#ecmascript-6-math)
|
||||
* fixed [`Math.imul`](https://github.com/zloirock/core-js/#ecmascript-6-math) for old WebKit
|
||||
* some fixes in string / RegExp [well-known symbols](https://github.com/zloirock/core-js/#ecmascript-6-regexp) logic
|
||||
* some other fixes and optimizations
|
||||
|
||||
##### 1.0.1 - 2015.07.31
|
||||
* some fixes for final MS Edge, replaced broken native `Reflect.defineProperty`
|
||||
* some minor fixes and optimizations
|
||||
* changed compression `client/*.min.js` options for safe `Function#name` and `Function#length`, should be fixed [#92](https://github.com/zloirock/core-js/issues/92)
|
||||
|
||||
##### 1.0.0 - 2015.07.22
|
||||
* added logic for [well-known symbols](https://github.com/zloirock/core-js/#ecmascript-6-regexp):
|
||||
* `Symbol.match`
|
||||
* `Symbol.replace`
|
||||
* `Symbol.split`
|
||||
* `Symbol.search`
|
||||
* actualized and optimized work with iterables:
|
||||
* optimized [`Map`, `Set`, `WeakMap`, `WeakSet` constructors](https://github.com/zloirock/core-js/#ecmascript-6-collections), [`Promise.all`, `Promise.race`](https://github.com/zloirock/core-js/#ecmascript-6-promise) for default `Array Iterator`
|
||||
* optimized [`Array.from`](https://github.com/zloirock/core-js/#ecmascript-6-array) for default `Array Iterator`
|
||||
* added [`core.getIteratorMethod`](https://github.com/zloirock/core-js/#ecmascript-6-iterators) helper
|
||||
* uses enumerable properties in shimmed instances - collections, iterators, etc for optimize performance
|
||||
* added support native constructors to [`Reflect.construct`](https://github.com/zloirock/core-js/#ecmascript-6-reflect) with 2 arguments
|
||||
* added support native constructors to [`Function#bind`](https://github.com/zloirock/core-js/#ecmascript-5) shim with `new`
|
||||
* removed obsolete `.clear` methods native [`Weak`-collections](https://github.com/zloirock/core-js/#ecmascript-6-collections)
|
||||
* maximum modularity, reduced minimal custom build size, separated into submodules:
|
||||
* [`es6.reflect`](https://github.com/zloirock/core-js/#ecmascript-6-reflect)
|
||||
* [`es6.regexp`](https://github.com/zloirock/core-js/#ecmascript-6-regexp)
|
||||
* [`es6.math`](https://github.com/zloirock/core-js/#ecmascript-6-math)
|
||||
* [`es6.number`](https://github.com/zloirock/core-js/#ecmascript-6-number)
|
||||
* [`es7.object.to-array`](https://github.com/zloirock/core-js/#ecmascript-7-proposals)
|
||||
* [`core.object`](https://github.com/zloirock/core-js/#object)
|
||||
* [`core.string`](https://github.com/zloirock/core-js/#escaping-strings)
|
||||
* [`core.iter-helpers`](https://github.com/zloirock/core-js/#ecmascript-6-iterators)
|
||||
* internal modules (`$`, `$.iter`, etc)
|
||||
* many other optimizations
|
||||
* final cleaning non-standard features
|
||||
* moved `$for` to [separate library](https://github.com/zloirock/forof). This work for syntax - `for-of` loop and comprehensions
|
||||
* moved `Date#{format, formatUTC}` to [separate library](https://github.com/zloirock/dtf). Standard way for this - `ECMA-402`
|
||||
* removed `Math` methods from `Number.prototype`. Slight sugar for simple `Math` methods calling
|
||||
* removed `{Array#, Array, Dict}.turn`
|
||||
* removed `core.global`
|
||||
* uses `ToNumber` instead of `ToLength` in [`Number Iterator`](https://github.com/zloirock/core-js/#number-iterator), `Array.from(2.5)` will be `[0, 1, 2]` instead of `[0, 1]`
|
||||
* fixed [#85](https://github.com/zloirock/core-js/issues/85) - invalid `Promise` unhandled rejection message in nested `setTimeout`
|
||||
* fixed [#86](https://github.com/zloirock/core-js/issues/86) - support FF extensions
|
||||
* fixed [#89](https://github.com/zloirock/core-js/issues/89) - behavior `Number` constructor in strange case
|
||||
|
||||
##### 0.9.18 - 2015.06.17
|
||||
* removed `/` from [`RegExp.escape`](https://github.com/zloirock/core-js/#ecmascript-7-proposals) escaped characters
|
||||
|
||||
##### 0.9.17 - 2015.06.14
|
||||
* updated [`RegExp.escape`](https://github.com/zloirock/core-js/#ecmascript-7-proposals) to the [latest proposal](https://github.com/benjamingr/RexExp.escape)
|
||||
* fixed conflict with webpack dev server + IE buggy behavior
|
||||
|
||||
##### 0.9.16 - 2015.06.11
|
||||
* more correct order resolving thenable in [`Promise`](https://github.com/zloirock/core-js/#ecmascript-6-promise) polyfill
|
||||
* uses polyfill instead of [buggy V8 `Promise`](https://github.com/zloirock/core-js/issues/78)
|
||||
|
||||
##### 0.9.15 - 2015.06.09
|
||||
* [collections](https://github.com/zloirock/core-js/#ecmascript-6-collections) from `library` version return wrapped native instances
|
||||
* fixed collections prototype methods in `library` version
|
||||
* optimized [`Math.hypot`](https://github.com/zloirock/core-js/#ecmascript-6-math)
|
||||
|
||||
##### 0.9.14 - 2015.06.04
|
||||
* updated [`Promise.resolve` behavior](https://esdiscuss.org/topic/fixing-promise-resolve)
|
||||
* added fallback for IE11 buggy `Object.getOwnPropertyNames` + iframe
|
||||
* some other fixes
|
||||
|
||||
##### 0.9.13 - 2015.05.25
|
||||
* added fallback for [`Symbol` polyfill](https://github.com/zloirock/core-js/#ecmascript-6-symbol) for old Android
|
||||
* some other fixes
|
||||
|
||||
##### 0.9.12 - 2015.05.24
|
||||
* different instances `core-js` should use / recognize the same symbols
|
||||
* some fixes
|
||||
|
||||
##### 0.9.11 - 2015.05.18
|
||||
* simplified [custom build](https://github.com/zloirock/core-js/#custom-build)
|
||||
* add custom build js api
|
||||
* added `grunt-cli` to `devDependencies` for `npm run grunt`
|
||||
* some fixes
|
||||
|
||||
##### 0.9.10 - 2015.05.16
|
||||
* wrapped `Function#toString` for correct work wrapped methods / constructors with methods similar to the [`lodash` `isNative`](https://github.com/lodash/lodash/issues/1197)
|
||||
* added proto versions of methods to export object in `default` version for consistency with `library` version
|
||||
|
||||
##### 0.9.9 - 2015.05.14
|
||||
* wrapped `Object#propertyIsEnumerable` for [`Symbol` polyfill](https://github.com/zloirock/core-js/#ecmascript-6-symbol)
|
||||
* [added proto versions of methods to `library` for ES7 bind syntax](https://github.com/zloirock/core-js/issues/65)
|
||||
* some other fixes
|
||||
|
||||
##### 0.9.8 - 2015.05.12
|
||||
* fixed [`Math.hypot`](https://github.com/zloirock/core-js/#ecmascript-6-math) with negative arguments
|
||||
* added `Object#toString.toString` as fallback for [`lodash` `isNative`](https://github.com/lodash/lodash/issues/1197)
|
||||
|
||||
##### 0.9.7 - 2015.05.07
|
||||
* added [support DOM collections](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice#Streamlining_cross-browser_behavior) to IE8- `Array#slice`
|
||||
|
||||
##### 0.9.6 - 2015.05.01
|
||||
* added [`String#lpad`, `String#rpad`](https://github.com/zloirock/core-js/#ecmascript-7-proposals)
|
||||
|
||||
##### 0.9.5 - 2015.04.30
|
||||
* added cap for `Function#@@hasInstance`
|
||||
* some fixes and optimizations
|
||||
|
||||
##### 0.9.4 - 2015.04.27
|
||||
* fixed `RegExp` constructor
|
||||
|
||||
##### 0.9.3 - 2015.04.26
|
||||
* some fixes and optimizations
|
||||
|
||||
##### 0.9.2 - 2015.04.25
|
||||
* more correct [`Promise`](https://github.com/zloirock/core-js/#ecmascript-6-promise) unhandled rejection tracking and resolving / rejection priority
|
||||
|
||||
##### 0.9.1 - 2015.04.25
|
||||
* fixed `__proto__`-based [`Promise`](https://github.com/zloirock/core-js/#ecmascript-6-promise) subclassing in some environments
|
||||
|
||||
##### 0.9.0 - 2015.04.24
|
||||
* added correct [symbols](https://github.com/zloirock/core-js/#ecmascript-6-symbol) descriptors
|
||||
* fixed behavior `Object.{assign, create, defineProperty, defineProperties, getOwnPropertyDescriptor, getOwnPropertyDescriptors}` with symbols
|
||||
* added [single entry points](https://github.com/zloirock/core-js/#commonjs) for `Object.{create, defineProperty, defineProperties}`
|
||||
* added [`Map#toJSON`](https://github.com/zloirock/core-js/#ecmascript-7-proposals)
|
||||
* removed non-standard methods `Object#[_]` and `Function#only` - they solves syntax problems, but now in compilers available arrows and ~~in near future will be available~~ [available](http://babeljs.io/blog/2015/05/14/function-bind/) [bind syntax](https://github.com/zenparsing/es-function-bind)
|
||||
* removed non-standard undocumented methods `Symbol.{pure, set}`
|
||||
* some fixes and internal changes
|
||||
|
||||
##### 0.8.4 - 2015.04.18
|
||||
* uses `webpack` instead of `browserify` for browser builds - more compression-friendly result
|
||||
|
||||
##### 0.8.3 - 2015.04.14
|
||||
* fixed `Array` statics with single entry points
|
||||
|
||||
##### 0.8.2 - 2015.04.13
|
||||
* [`Math.fround`](https://github.com/zloirock/core-js/#ecmascript-6-math) now also works in IE9-
|
||||
* added [`Set#toJSON`](https://github.com/zloirock/core-js/#ecmascript-7-proposals)
|
||||
* some optimizations and fixes
|
||||
|
||||
##### 0.8.1 - 2015.04.03
|
||||
* fixed `Symbol.keyFor`
|
||||
|
||||
##### 0.8.0 - 2015.04.02
|
||||
* changed [CommonJS API](https://github.com/zloirock/core-js/#commonjs)
|
||||
* splitted and renamed some modules
|
||||
* added support ES3 environment (ES5 polyfill) to **all** default versions - size increases slightly (+ ~4kb w/o gzip), many issues disappear, if you don't need it - [simply include only required namespaces / features / modules](https://github.com/zloirock/core-js/#commonjs)
|
||||
* removed [abstract references](https://github.com/zenparsing/es-abstract-refs) support - proposal has been superseded =\
|
||||
* [`$for.isIterable` -> `core.isIterable`, `$for.getIterator` -> `core.getIterator`](https://github.com/zloirock/core-js/#ecmascript-6-iterators), temporary available in old namespace
|
||||
* fixed iterators support in v8 `Promise.all` and `Promise.race`
|
||||
* many other fixes
|
||||
|
||||
##### 0.7.2 - 2015.03.09
|
||||
* some fixes
|
||||
|
||||
##### 0.7.1 - 2015.03.07
|
||||
* some fixes
|
||||
|
||||
##### 0.7.0 - 2015.03.06
|
||||
* rewritten and splitted into [CommonJS modules](https://github.com/zloirock/core-js/#commonjs)
|
||||
|
||||
##### 0.6.1 - 2015.02.24
|
||||
* fixed support [`Object.defineProperty`](https://github.com/zloirock/core-js/#ecmascript-5) with accessors on DOM elements on IE8
|
||||
|
||||
##### 0.6.0 - 2015.02.23
|
||||
* added support safe closing iteration - calling `iterator.return` on abort iteration, if it exists
|
||||
* added basic support [`Promise`](https://github.com/zloirock/core-js/#ecmascript-6-promise) unhandled rejection tracking in shim
|
||||
* added [`Object.getOwnPropertyDescriptors`](https://github.com/zloirock/core-js/#ecmascript-7-proposals)
|
||||
* removed `console` cap - creates too many problems
|
||||
* restructuring [namespaces](https://github.com/zloirock/core-js/#custom-build)
|
||||
* some fixes
|
||||
|
||||
##### 0.5.4 - 2015.02.15
|
||||
* some fixes
|
||||
|
||||
##### 0.5.3 - 2015.02.14
|
||||
* added [support binary and octal literals](https://github.com/zloirock/core-js/#ecmascript-6-number) to `Number` constructor
|
||||
* added [`Date#toISOString`](https://github.com/zloirock/core-js/#ecmascript-5)
|
||||
|
||||
##### 0.5.2 - 2015.02.10
|
||||
* some fixes
|
||||
|
||||
##### 0.5.1 - 2015.02.09
|
||||
* some fixes
|
||||
|
||||
##### 0.5.0 - 2015.02.08
|
||||
* systematization of modules
|
||||
* splitted [`es6` module](https://github.com/zloirock/core-js/#ecmascript-6)
|
||||
* splitted `console` module: `web.console` - only cap for missing methods, `core.log` - bound methods & additional features
|
||||
* added [`delay` method](https://github.com/zloirock/core-js/#delay)
|
||||
* some fixes
|
||||
|
||||
##### 0.4.10 - 2015.01.28
|
||||
* [`Object.getOwnPropertySymbols`](https://github.com/zloirock/core-js/#ecmascript-6-symbol) polyfill returns array of wrapped keys
|
||||
|
||||
##### 0.4.9 - 2015.01.27
|
||||
* FF20-24 fix
|
||||
|
||||
##### 0.4.8 - 2015.01.25
|
||||
* some [collections](https://github.com/zloirock/core-js/#ecmascript-6-collections) fixes
|
||||
|
||||
##### 0.4.7 - 2015.01.25
|
||||
* added support frozen objects as [collections](https://github.com/zloirock/core-js/#ecmascript-6-collections) keys
|
||||
|
||||
##### 0.4.6 - 2015.01.21
|
||||
* added [`Object.getOwnPropertySymbols`](https://github.com/zloirock/core-js/#ecmascript-6-symbol)
|
||||
* added [`NodeList.prototype[@@iterator]`](https://github.com/zloirock/core-js/#ecmascript-6-iterators)
|
||||
* added basic `@@species` logic - getter in native constructors
|
||||
* removed `Function#by`
|
||||
* some fixes
|
||||
|
||||
##### 0.4.5 - 2015.01.16
|
||||
* some fixes
|
||||
|
||||
##### 0.4.4 - 2015.01.11
|
||||
* enabled CSP support
|
||||
|
||||
##### 0.4.3 - 2015.01.10
|
||||
* added `Function` instances `name` property for IE9+
|
||||
|
||||
##### 0.4.2 - 2015.01.10
|
||||
* `Object` static methods accept primitives
|
||||
* `RegExp` constructor can alter flags (IE9+)
|
||||
* added `Array.prototype[Symbol.unscopables]`
|
||||
|
||||
##### 0.4.1 - 2015.01.05
|
||||
* some fixes
|
||||
|
||||
##### 0.4.0 - 2015.01.03
|
||||
* added [`es6.reflect`](https://github.com/zloirock/core-js/#ecmascript-6-reflect) module:
|
||||
* added `Reflect.apply`
|
||||
* added `Reflect.construct`
|
||||
* added `Reflect.defineProperty`
|
||||
* added `Reflect.deleteProperty`
|
||||
* added `Reflect.enumerate`
|
||||
* added `Reflect.get`
|
||||
* added `Reflect.getOwnPropertyDescriptor`
|
||||
* added `Reflect.getPrototypeOf`
|
||||
* added `Reflect.has`
|
||||
* added `Reflect.isExtensible`
|
||||
* added `Reflect.preventExtensions`
|
||||
* added `Reflect.set`
|
||||
* added `Reflect.setPrototypeOf`
|
||||
* `core-js` methods now can use external `Symbol.iterator` polyfill
|
||||
* some fixes
|
||||
|
||||
##### 0.3.3 - 2014.12.28
|
||||
* [console cap](https://github.com/zloirock/core-js/#console) excluded from node.js default builds
|
||||
|
||||
##### 0.3.2 - 2014.12.25
|
||||
* added cap for [ES5](https://github.com/zloirock/core-js/#ecmascript-5) freeze-family methods
|
||||
* fixed `console` bug
|
||||
|
||||
##### 0.3.1 - 2014.12.23
|
||||
* some fixes
|
||||
|
||||
##### 0.3.0 - 2014.12.23
|
||||
* Optimize [`Map` & `Set`](https://github.com/zloirock/core-js/#ecmascript-6-collections):
|
||||
* use entries chain on hash table
|
||||
* fast & correct iteration
|
||||
* iterators moved to [`es6`](https://github.com/zloirock/core-js/#ecmascript-6) and [`es6.collections`](https://github.com/zloirock/core-js/#ecmascript-6-collections) modules
|
||||
|
||||
##### 0.2.5 - 2014.12.20
|
||||
* `console` no longer shortcut for `console.log` (compatibility problems)
|
||||
* some fixes
|
||||
|
||||
##### 0.2.4 - 2014.12.17
|
||||
* better compliance of ES6
|
||||
* added [`Math.fround`](https://github.com/zloirock/core-js/#ecmascript-6-math) (IE10+)
|
||||
* some fixes
|
||||
|
||||
##### 0.2.3 - 2014.12.15
|
||||
* [Symbols](https://github.com/zloirock/core-js/#ecmascript-6-symbol):
|
||||
* added option to disable addition setter to `Object.prototype` for Symbol polyfill:
|
||||
* added `Symbol.useSimple`
|
||||
* added `Symbol.useSetter`
|
||||
* added cap for well-known Symbols:
|
||||
* added `Symbol.hasInstance`
|
||||
* added `Symbol.isConcatSpreadable`
|
||||
* added `Symbol.match`
|
||||
* added `Symbol.replace`
|
||||
* added `Symbol.search`
|
||||
* added `Symbol.species`
|
||||
* added `Symbol.split`
|
||||
* added `Symbol.toPrimitive`
|
||||
* added `Symbol.unscopables`
|
||||
|
||||
##### 0.2.2 - 2014.12.13
|
||||
* added [`RegExp#flags`](https://github.com/zloirock/core-js/#ecmascript-6-regexp) ([December 2014 Draft Rev 29](http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts#december_6_2014_draft_rev_29))
|
||||
* added [`String.raw`](https://github.com/zloirock/core-js/#ecmascript-6-string)
|
||||
|
||||
##### 0.2.1 - 2014.12.12
|
||||
* repair converting -0 to +0 in [native collections](https://github.com/zloirock/core-js/#ecmascript-6-collections)
|
||||
|
||||
##### 0.2.0 - 2014.12.06
|
||||
* added [`es7.proposals`](https://github.com/zloirock/core-js/#ecmascript-7-proposals) and [`es7.abstract-refs`](https://github.com/zenparsing/es-abstract-refs) modules
|
||||
* added [`String#at`](https://github.com/zloirock/core-js/#ecmascript-7-proposals)
|
||||
* added real [`String Iterator`](https://github.com/zloirock/core-js/#ecmascript-6-iterators), older versions used Array Iterator
|
||||
* added abstract references support:
|
||||
* added `Symbol.referenceGet`
|
||||
* added `Symbol.referenceSet`
|
||||
* added `Symbol.referenceDelete`
|
||||
* added `Function#@@referenceGet`
|
||||
* added `Map#@@referenceGet`
|
||||
* added `Map#@@referenceSet`
|
||||
* added `Map#@@referenceDelete`
|
||||
* added `WeakMap#@@referenceGet`
|
||||
* added `WeakMap#@@referenceSet`
|
||||
* added `WeakMap#@@referenceDelete`
|
||||
* added `Dict.{...methods}[@@referenceGet]`
|
||||
* removed deprecated `.contains` methods
|
||||
* some fixes
|
||||
|
||||
##### 0.1.5 - 2014.12.01
|
||||
* added [`Array#copyWithin`](https://github.com/zloirock/core-js/#ecmascript-6-array)
|
||||
* added [`String#codePointAt`](https://github.com/zloirock/core-js/#ecmascript-6-string)
|
||||
* added [`String.fromCodePoint`](https://github.com/zloirock/core-js/#ecmascript-6-string)
|
||||
|
||||
##### 0.1.4 - 2014.11.27
|
||||
* added [`Dict.mapPairs`](https://github.com/zloirock/core-js/#dict)
|
||||
|
||||
##### 0.1.3 - 2014.11.20
|
||||
* [TC39 November meeting](https://github.com/rwaldron/tc39-notes/tree/master/es6/2014-11):
|
||||
* [`.contains` -> `.includes`](https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-11/nov-18.md#51--44-arrayprototypecontains-and-stringprototypecontains)
|
||||
* `String#contains` -> [`String#includes`](https://github.com/zloirock/core-js/#ecmascript-6-string)
|
||||
* `Array#contains` -> [`Array#includes`](https://github.com/zloirock/core-js/#ecmascript-7-proposals)
|
||||
* `Dict.contains` -> [`Dict.includes`](https://github.com/zloirock/core-js/#dict)
|
||||
* [removed `WeakMap#clear`](https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-11/nov-19.md#412-should-weakmapweakset-have-a-clear-method-markm)
|
||||
* [removed `WeakSet#clear`](https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-11/nov-19.md#412-should-weakmapweakset-have-a-clear-method-markm)
|
||||
|
||||
##### 0.1.2 - 2014.11.19
|
||||
* `Map` & `Set` bug fix
|
||||
|
||||
##### 0.1.1 - 2014.11.18
|
||||
* public release
|
2
node_modules/core-js/Gruntfile.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('LiveScript');
|
||||
module.exports = require('./build/Gruntfile');
|
19
node_modules/core-js/LICENSE
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
Copyright (c) 2014-2016 Denis Pushkarev
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
1987
node_modules/core-js/README.md
generated
vendored
Normal file
47
node_modules/core-js/bower.json
generated
vendored
Normal file
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"name": "core.js",
|
||||
"main": "client/core.js",
|
||||
"version": "2.3.0",
|
||||
"description": "Standard Library",
|
||||
"keywords": [
|
||||
"ES3",
|
||||
"ECMAScript 3",
|
||||
"ES5",
|
||||
"ECMAScript 5",
|
||||
"ES6",
|
||||
"ES2015",
|
||||
"ECMAScript 6",
|
||||
"ECMAScript 2015",
|
||||
"ES7",
|
||||
"ES2016",
|
||||
"ECMAScript 7",
|
||||
"ECMAScript 2016",
|
||||
"Harmony",
|
||||
"Strawman",
|
||||
"Map",
|
||||
"Set",
|
||||
"WeakMap",
|
||||
"WeakSet",
|
||||
"Promise",
|
||||
"Symbol",
|
||||
"TypedArray",
|
||||
"setImmediate",
|
||||
"Dict",
|
||||
"polyfill",
|
||||
"shim"
|
||||
],
|
||||
"authors": [
|
||||
"Denis Pushkarev <zloirock@zloirock.ru> (http://zloirock.ru/)"
|
||||
],
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/zloirock/core-js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zloirock/core-js.git"
|
||||
},
|
||||
"ignore": [
|
||||
"build",
|
||||
"node_modules",
|
||||
"tests"
|
||||
]
|
||||
}
|
84
node_modules/core-js/build/Gruntfile.ls
generated
vendored
Normal file
|
@ -0,0 +1,84 @@
|
|||
require! <[./build fs ./config]>
|
||||
module.exports = (grunt)->
|
||||
grunt.loadNpmTasks \grunt-contrib-clean
|
||||
grunt.loadNpmTasks \grunt-contrib-copy
|
||||
grunt.loadNpmTasks \grunt-contrib-uglify
|
||||
grunt.loadNpmTasks \grunt-contrib-watch
|
||||
grunt.loadNpmTasks \grunt-livescript
|
||||
grunt.loadNpmTasks \grunt-karma
|
||||
grunt.initConfig do
|
||||
pkg: grunt.file.readJSON './package.json'
|
||||
uglify: build:
|
||||
files: '<%=grunt.option("path")%>.min.js': '<%=grunt.option("path")%>.js'
|
||||
options:
|
||||
mangle: {+sort, +keep_fnames}
|
||||
compress: {+pure_getters, +keep_fargs, +keep_fnames}
|
||||
sourceMap: on
|
||||
banner: config.banner
|
||||
livescript: src: files:
|
||||
'./tests/helpers.js': './tests/helpers/*'
|
||||
'./tests/tests.js': './tests/tests/*'
|
||||
'./tests/library.js': './tests/library/*'
|
||||
'./tests/es.js': './tests/tests/es*'
|
||||
'./tests/experimental.js': './tests/experimental/*'
|
||||
'./build/index.js': './build/build.ls*'
|
||||
clean: <[./library]>
|
||||
copy: lib: files:
|
||||
* expand: on
|
||||
cwd: './'
|
||||
src: <[es5/** es6/** es7/** stage/** web/** core/** fn/** index.js shim.js]>
|
||||
dest: './library/'
|
||||
* expand: on
|
||||
cwd: './'
|
||||
src: <[modules/*]>
|
||||
dest: './library/'
|
||||
filter: \isFile
|
||||
* expand: on
|
||||
cwd: './modules/library/'
|
||||
src: '*'
|
||||
dest: './library/modules/'
|
||||
watch:
|
||||
core:
|
||||
files: './modules/*'
|
||||
tasks: \default
|
||||
tests:
|
||||
files: './tests/tests/*'
|
||||
tasks: \livescript
|
||||
karma:
|
||||
'options':
|
||||
configFile: './tests/karma.conf.js'
|
||||
browsers: <[PhantomJS]>
|
||||
singleRun: on
|
||||
'default': {}
|
||||
'library': files: <[client/library.js tests/helpers.js tests/library.js]>map -> src: it
|
||||
grunt.registerTask \build (options)->
|
||||
done = @async!
|
||||
build {
|
||||
modules: (options || 'es5,es6,es7,js,web,core')split \,
|
||||
blacklist: (grunt.option(\blacklist) || '')split \,
|
||||
library: grunt.option(\library) in <[yes on true]>
|
||||
umd: grunt.option(\umd) not in <[no off false]>
|
||||
}
|
||||
.then !->
|
||||
grunt.option(\path) || grunt.option(\path, './custom')
|
||||
fs.writeFile grunt.option(\path) + '.js', it, done
|
||||
.catch !->
|
||||
console.error it
|
||||
process.exit 1
|
||||
grunt.registerTask \client ->
|
||||
grunt.option \library ''
|
||||
grunt.option \path './client/core'
|
||||
grunt.task.run <[build:es5,es6,es7,js,web,core uglify]>
|
||||
grunt.registerTask \library ->
|
||||
grunt.option \library 'true'
|
||||
grunt.option \path './client/library'
|
||||
grunt.task.run <[build:es5,es6,es7,js,web,core uglify]>
|
||||
grunt.registerTask \shim ->
|
||||
grunt.option \library ''
|
||||
grunt.option \path './client/shim'
|
||||
grunt.task.run <[build:es5,es6,es7,js,web uglify]>
|
||||
grunt.registerTask \e ->
|
||||
grunt.option \library ''>
|
||||
grunt.option \path './client/core'
|
||||
grunt.task.run <[build:es5,es6,es7,js,web,core,exp uglify]>
|
||||
grunt.registerTask \default <[clean copy client library shim]>
|
62
node_modules/core-js/build/build.ls
generated
vendored
Normal file
|
@ -0,0 +1,62 @@
|
|||
require! {
|
||||
'../library/fn/promise': Promise
|
||||
'./config': {list, experimental, libraryBlacklist, es5SpecialCase, banner}
|
||||
fs: {readFile, writeFile, unlink}
|
||||
path: {join}
|
||||
webpack, temp
|
||||
}
|
||||
|
||||
module.exports = ({modules = [], blacklist = [], library = no, umd = on})->
|
||||
resolve, reject <~! new Promise _
|
||||
let @ = modules.reduce ((memo, it)-> memo[it] = on; memo), {}
|
||||
if @exp => for experimental => @[..] = on
|
||||
if @es5 => for es5SpecialCase => @[..] = on
|
||||
for ns of @
|
||||
if @[ns]
|
||||
for name in list
|
||||
if name.indexOf("#ns.") is 0 and name not in experimental
|
||||
@[name] = on
|
||||
|
||||
if library => blacklist ++= libraryBlacklist
|
||||
for ns in blacklist
|
||||
for name in list
|
||||
if name is ns or name.indexOf("#ns.") is 0
|
||||
@[name] = no
|
||||
|
||||
TARGET = temp.path {suffix: '.js'}
|
||||
|
||||
err, info <~! webpack do
|
||||
entry: list.filter(~> @[it]).map ~>
|
||||
if library => join __dirname, '..', 'library', 'modules', it
|
||||
else join __dirname, '..', 'modules', it
|
||||
output:
|
||||
path: ''
|
||||
filename: TARGET
|
||||
if err => return reject err
|
||||
|
||||
err, script <~! readFile TARGET
|
||||
if err => return reject err
|
||||
|
||||
err <~! unlink TARGET
|
||||
if err => return reject err
|
||||
|
||||
if umd
|
||||
exportScript = """
|
||||
// CommonJS export
|
||||
if(typeof module != 'undefined' && module.exports)module.exports = __e;
|
||||
// RequireJS export
|
||||
else if(typeof define == 'function' && define.amd)define(function(){return __e});
|
||||
// Export to global object
|
||||
else __g.core = __e;
|
||||
"""
|
||||
else
|
||||
exportScript = ""
|
||||
|
||||
resolve """
|
||||
#banner
|
||||
!function(__e, __g, undefined){
|
||||
'use strict';
|
||||
#script
|
||||
#exportScript
|
||||
}(1, 1);
|
||||
"""
|
252
node_modules/core-js/build/config.js
generated
vendored
Normal file
|
@ -0,0 +1,252 @@
|
|||
module.exports = {
|
||||
list: [
|
||||
'es6.symbol',
|
||||
'es6.object.define-property',
|
||||
'es6.object.define-properties',
|
||||
'es6.object.get-own-property-descriptor',
|
||||
'es6.object.create',
|
||||
'es6.object.get-prototype-of',
|
||||
'es6.object.keys',
|
||||
'es6.object.get-own-property-names',
|
||||
'es6.object.freeze',
|
||||
'es6.object.seal',
|
||||
'es6.object.prevent-extensions',
|
||||
'es6.object.is-frozen',
|
||||
'es6.object.is-sealed',
|
||||
'es6.object.is-extensible',
|
||||
'es6.object.assign',
|
||||
'es6.object.is',
|
||||
'es6.object.set-prototype-of',
|
||||
'es6.object.to-string',
|
||||
'es6.function.bind',
|
||||
'es6.function.name',
|
||||
'es6.function.has-instance',
|
||||
'es6.number.constructor',
|
||||
'es6.number.to-fixed',
|
||||
'es6.number.to-precision',
|
||||
'es6.number.epsilon',
|
||||
'es6.number.is-finite',
|
||||
'es6.number.is-integer',
|
||||
'es6.number.is-nan',
|
||||
'es6.number.is-safe-integer',
|
||||
'es6.number.max-safe-integer',
|
||||
'es6.number.min-safe-integer',
|
||||
'es6.number.parse-float',
|
||||
'es6.number.parse-int',
|
||||
'es6.parse-int',
|
||||
'es6.parse-float',
|
||||
'es6.math.acosh',
|
||||
'es6.math.asinh',
|
||||
'es6.math.atanh',
|
||||
'es6.math.cbrt',
|
||||
'es6.math.clz32',
|
||||
'es6.math.cosh',
|
||||
'es6.math.expm1',
|
||||
'es6.math.fround',
|
||||
'es6.math.hypot',
|
||||
'es6.math.imul',
|
||||
'es6.math.log10',
|
||||
'es6.math.log1p',
|
||||
'es6.math.log2',
|
||||
'es6.math.sign',
|
||||
'es6.math.sinh',
|
||||
'es6.math.tanh',
|
||||
'es6.math.trunc',
|
||||
'es6.string.from-code-point',
|
||||
'es6.string.raw',
|
||||
'es6.string.trim',
|
||||
'es6.string.code-point-at',
|
||||
'es6.string.ends-with',
|
||||
'es6.string.includes',
|
||||
'es6.string.repeat',
|
||||
'es6.string.starts-with',
|
||||
'es6.string.iterator',
|
||||
'es6.string.anchor',
|
||||
'es6.string.big',
|
||||
'es6.string.blink',
|
||||
'es6.string.bold',
|
||||
'es6.string.fixed',
|
||||
'es6.string.fontcolor',
|
||||
'es6.string.fontsize',
|
||||
'es6.string.italics',
|
||||
'es6.string.link',
|
||||
'es6.string.small',
|
||||
'es6.string.strike',
|
||||
'es6.string.sub',
|
||||
'es6.string.sup',
|
||||
'es6.array.is-array',
|
||||
'es6.array.from',
|
||||
'es6.array.of',
|
||||
'es6.array.join',
|
||||
'es6.array.slice',
|
||||
'es6.array.sort',
|
||||
'es6.array.for-each',
|
||||
'es6.array.map',
|
||||
'es6.array.filter',
|
||||
'es6.array.some',
|
||||
'es6.array.every',
|
||||
'es6.array.reduce',
|
||||
'es6.array.reduce-right',
|
||||
'es6.array.index-of',
|
||||
'es6.array.last-index-of',
|
||||
'es6.array.copy-within',
|
||||
'es6.array.fill',
|
||||
'es6.array.find',
|
||||
'es6.array.find-index',
|
||||
'es6.array.iterator',
|
||||
'es6.array.species',
|
||||
'es6.regexp.constructor',
|
||||
'es6.regexp.to-string',
|
||||
'es6.regexp.flags',
|
||||
'es6.regexp.match',
|
||||
'es6.regexp.replace',
|
||||
'es6.regexp.search',
|
||||
'es6.regexp.split',
|
||||
'es6.promise',
|
||||
'es6.map',
|
||||
'es6.set',
|
||||
'es6.weak-map',
|
||||
'es6.weak-set',
|
||||
'es6.reflect.apply',
|
||||
'es6.reflect.construct',
|
||||
'es6.reflect.define-property',
|
||||
'es6.reflect.delete-property',
|
||||
'es6.reflect.enumerate',
|
||||
'es6.reflect.get',
|
||||
'es6.reflect.get-own-property-descriptor',
|
||||
'es6.reflect.get-prototype-of',
|
||||
'es6.reflect.has',
|
||||
'es6.reflect.is-extensible',
|
||||
'es6.reflect.own-keys',
|
||||
'es6.reflect.prevent-extensions',
|
||||
'es6.reflect.set',
|
||||
'es6.reflect.set-prototype-of',
|
||||
'es6.date.now',
|
||||
'es6.date.to-json',
|
||||
'es6.date.to-iso-string',
|
||||
'es6.date.to-string',
|
||||
'es6.date.to-primitive',
|
||||
'es6.typed.array-buffer',
|
||||
'es6.typed.data-view',
|
||||
'es6.typed.int8-array',
|
||||
'es6.typed.uint8-array',
|
||||
'es6.typed.uint8-clamped-array',
|
||||
'es6.typed.int16-array',
|
||||
'es6.typed.uint16-array',
|
||||
'es6.typed.int32-array',
|
||||
'es6.typed.uint32-array',
|
||||
'es6.typed.float32-array',
|
||||
'es6.typed.float64-array',
|
||||
'es7.array.includes',
|
||||
'es7.string.at',
|
||||
'es7.string.pad-start',
|
||||
'es7.string.pad-end',
|
||||
'es7.string.trim-left',
|
||||
'es7.string.trim-right',
|
||||
'es7.string.match-all',
|
||||
'es7.symbol.async-iterator',
|
||||
'es7.symbol.observable',
|
||||
'es7.object.get-own-property-descriptors',
|
||||
'es7.object.values',
|
||||
'es7.object.entries',
|
||||
'es7.object.define-getter',
|
||||
'es7.object.define-setter',
|
||||
'es7.object.lookup-getter',
|
||||
'es7.object.lookup-setter',
|
||||
'es7.map.to-json',
|
||||
'es7.set.to-json',
|
||||
'es7.system.global',
|
||||
'es7.error.is-error',
|
||||
'es7.math.iaddh',
|
||||
'es7.math.isubh',
|
||||
'es7.math.imulh',
|
||||
'es7.math.umulh',
|
||||
'es7.reflect.define-metadata',
|
||||
'es7.reflect.delete-metadata',
|
||||
'es7.reflect.get-metadata',
|
||||
'es7.reflect.get-metadata-keys',
|
||||
'es7.reflect.get-own-metadata',
|
||||
'es7.reflect.get-own-metadata-keys',
|
||||
'es7.reflect.has-metadata',
|
||||
'es7.reflect.has-own-metadata',
|
||||
'es7.reflect.metadata',
|
||||
'es7.asap',
|
||||
'web.immediate',
|
||||
'web.dom.iterable',
|
||||
'web.timers',
|
||||
'core.dict',
|
||||
'core.get-iterator-method',
|
||||
'core.get-iterator',
|
||||
'core.is-iterable',
|
||||
'core.delay',
|
||||
'core.function.part',
|
||||
'core.object.is-object',
|
||||
'core.object.classof',
|
||||
'core.object.define',
|
||||
'core.object.make',
|
||||
'core.number.iterator',
|
||||
'core.regexp.escape',
|
||||
'core.string.escape-html',
|
||||
'core.string.unescape-html'
|
||||
],
|
||||
experimental: [
|
||||
],
|
||||
libraryBlacklist: [
|
||||
'es6.object.to-string',
|
||||
'es6.function.name',
|
||||
'es6.regexp.constructor',
|
||||
'es6.regexp.to-string',
|
||||
'es6.regexp.flags',
|
||||
'es6.regexp.match',
|
||||
'es6.regexp.replace',
|
||||
'es6.regexp.search',
|
||||
'es6.regexp.split',
|
||||
'es6.number.constructor',
|
||||
'es6.date.to-string',
|
||||
'es6.date.to-primitive'
|
||||
],
|
||||
es5SpecialCase: [
|
||||
'es6.object.create',
|
||||
'es6.object.define-property',
|
||||
'es6.object.define-properties',
|
||||
'es6.object.get-own-property-descriptor',
|
||||
'es6.object.get-prototype-of',
|
||||
'es6.object.keys',
|
||||
'es6.object.get-own-property-names',
|
||||
'es6.object.freeze',
|
||||
'es6.object.seal',
|
||||
'es6.object.prevent-extensions',
|
||||
'es6.object.is-frozen',
|
||||
'es6.object.is-sealed',
|
||||
'es6.object.is-extensible',
|
||||
'es6.function.bind',
|
||||
'es6.array.is-array',
|
||||
'es6.array.join',
|
||||
'es6.array.slice',
|
||||
'es6.array.sort',
|
||||
'es6.array.for-each',
|
||||
'es6.array.map',
|
||||
'es6.array.filter',
|
||||
'es6.array.some',
|
||||
'es6.array.every',
|
||||
'es6.array.reduce',
|
||||
'es6.array.reduce-right',
|
||||
'es6.array.index-of',
|
||||
'es6.array.last-index-of',
|
||||
'es6.number.to-fixed',
|
||||
'es6.number.to-precision',
|
||||
'es6.date.now',
|
||||
'es6.date.to-iso-string',
|
||||
'es6.date.to-json',
|
||||
'es6.string.trim',
|
||||
'es6.regexp.to-string',
|
||||
'es6.parse-int',
|
||||
'es6.parse-float'
|
||||
],
|
||||
banner: '/**\n' +
|
||||
' * core-js ' + require('../package').version + '\n' +
|
||||
' * https://github.com/zloirock/core-js\n' +
|
||||
' * License: http://rock.mit-license.org\n' +
|
||||
' * © ' + new Date().getFullYear() + ' Denis Pushkarev\n' +
|
||||
' */'
|
||||
};
|
104
node_modules/core-js/build/index.js
generated
vendored
Normal file
|
@ -0,0 +1,104 @@
|
|||
// Generated by LiveScript 1.4.0
|
||||
(function(){
|
||||
var Promise, ref$, list, experimental, libraryBlacklist, es5SpecialCase, banner, readFile, writeFile, unlink, join, webpack, temp;
|
||||
Promise = require('../library/fn/promise');
|
||||
ref$ = require('./config'), list = ref$.list, experimental = ref$.experimental, libraryBlacklist = ref$.libraryBlacklist, es5SpecialCase = ref$.es5SpecialCase, banner = ref$.banner;
|
||||
ref$ = require('fs'), readFile = ref$.readFile, writeFile = ref$.writeFile, unlink = ref$.unlink;
|
||||
join = require('path').join;
|
||||
webpack = require('webpack');
|
||||
temp = require('temp');
|
||||
module.exports = function(arg$){
|
||||
var modules, ref$, blacklist, library, umd, this$ = this;
|
||||
modules = (ref$ = arg$.modules) != null
|
||||
? ref$
|
||||
: [], blacklist = (ref$ = arg$.blacklist) != null
|
||||
? ref$
|
||||
: [], library = (ref$ = arg$.library) != null ? ref$ : false, umd = (ref$ = arg$.umd) != null ? ref$ : true;
|
||||
return new Promise(function(resolve, reject){
|
||||
(function(){
|
||||
var i$, x$, ref$, len$, y$, ns, name, j$, len1$, TARGET, this$ = this;
|
||||
if (this.exp) {
|
||||
for (i$ = 0, len$ = (ref$ = experimental).length; i$ < len$; ++i$) {
|
||||
x$ = ref$[i$];
|
||||
this[x$] = true;
|
||||
}
|
||||
}
|
||||
if (this.es5) {
|
||||
for (i$ = 0, len$ = (ref$ = es5SpecialCase).length; i$ < len$; ++i$) {
|
||||
y$ = ref$[i$];
|
||||
this[y$] = true;
|
||||
}
|
||||
}
|
||||
for (ns in this) {
|
||||
if (this[ns]) {
|
||||
for (i$ = 0, len$ = (ref$ = list).length; i$ < len$; ++i$) {
|
||||
name = ref$[i$];
|
||||
if (name.indexOf(ns + ".") === 0 && !in$(name, experimental)) {
|
||||
this[name] = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (library) {
|
||||
blacklist = blacklist.concat(libraryBlacklist);
|
||||
}
|
||||
for (i$ = 0, len$ = blacklist.length; i$ < len$; ++i$) {
|
||||
ns = blacklist[i$];
|
||||
for (j$ = 0, len1$ = (ref$ = list).length; j$ < len1$; ++j$) {
|
||||
name = ref$[j$];
|
||||
if (name === ns || name.indexOf(ns + ".") === 0) {
|
||||
this[name] = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
TARGET = temp.path({
|
||||
suffix: '.js'
|
||||
});
|
||||
webpack({
|
||||
entry: list.filter(function(it){
|
||||
return this$[it];
|
||||
}).map(function(it){
|
||||
if (library) {
|
||||
return join(__dirname, '..', 'library', 'modules', it);
|
||||
} else {
|
||||
return join(__dirname, '..', 'modules', it);
|
||||
}
|
||||
}),
|
||||
output: {
|
||||
path: '',
|
||||
filename: TARGET
|
||||
}
|
||||
}, function(err, info){
|
||||
if (err) {
|
||||
return reject(err);
|
||||
}
|
||||
readFile(TARGET, function(err, script){
|
||||
if (err) {
|
||||
return reject(err);
|
||||
}
|
||||
unlink(TARGET, function(err){
|
||||
var exportScript;
|
||||
if (err) {
|
||||
return reject(err);
|
||||
}
|
||||
if (umd) {
|
||||
exportScript = "// CommonJS export\nif(typeof module != 'undefined' && module.exports)module.exports = __e;\n// RequireJS export\nelse if(typeof define == 'function' && define.amd)define(function(){return __e});\n// Export to global object\nelse __g.core = __e;";
|
||||
} else {
|
||||
exportScript = "";
|
||||
}
|
||||
resolve("" + banner + "\n!function(__e, __g, undefined){\n'use strict';\n" + script + "\n" + exportScript + "\n}(1, 1);");
|
||||
});
|
||||
});
|
||||
});
|
||||
}.call(modules.reduce(function(memo, it){
|
||||
memo[it] = true;
|
||||
return memo;
|
||||
}, {})));
|
||||
});
|
||||
};
|
||||
function in$(x, xs){
|
||||
var i = -1, l = xs.length >>> 0;
|
||||
while (++i < l) if (x === xs[i]) return true;
|
||||
return false;
|
||||
}
|
||||
}).call(this);
|
7386
node_modules/core-js/client/core.js
generated
vendored
Normal file
10
node_modules/core-js/client/core.min.js
generated
vendored
Normal file
1
node_modules/core-js/client/core.min.js.map
generated
vendored
Normal file
6909
node_modules/core-js/client/library.js
generated
vendored
Normal file
10
node_modules/core-js/client/library.min.js
generated
vendored
Normal file
1
node_modules/core-js/client/library.min.js.map
generated
vendored
Normal file
7045
node_modules/core-js/client/shim.js
generated
vendored
Normal file
10
node_modules/core-js/client/shim.min.js
generated
vendored
Normal file
1
node_modules/core-js/client/shim.min.js.map
generated
vendored
Normal file
2
node_modules/core-js/core/_.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../modules/core.function.part');
|
||||
module.exports = require('../modules/_core')._;
|
2
node_modules/core-js/core/delay.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../modules/core.delay');
|
||||
module.exports = require('../modules/_core').delay;
|
2
node_modules/core-js/core/dict.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../modules/core.dict');
|
||||
module.exports = require('../modules/_core').Dict;
|
2
node_modules/core-js/core/function.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../modules/core.function.part');
|
||||
module.exports = require('../modules/_core').Function;
|
15
node_modules/core-js/core/index.js
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
require('../modules/core.dict');
|
||||
require('../modules/core.get-iterator-method');
|
||||
require('../modules/core.get-iterator');
|
||||
require('../modules/core.is-iterable');
|
||||
require('../modules/core.delay');
|
||||
require('../modules/core.function.part');
|
||||
require('../modules/core.object.is-object');
|
||||
require('../modules/core.object.classof');
|
||||
require('../modules/core.object.define');
|
||||
require('../modules/core.object.make');
|
||||
require('../modules/core.number.iterator');
|
||||
require('../modules/core.regexp.escape');
|
||||
require('../modules/core.string.escape-html');
|
||||
require('../modules/core.string.unescape-html');
|
||||
module.exports = require('../modules/_core');
|
2
node_modules/core-js/core/number.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../modules/core.number.iterator');
|
||||
module.exports = require('../modules/_core').Number;
|
5
node_modules/core-js/core/object.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
require('../modules/core.object.is-object');
|
||||
require('../modules/core.object.classof');
|
||||
require('../modules/core.object.define');
|
||||
require('../modules/core.object.make');
|
||||
module.exports = require('../modules/_core').Object;
|
2
node_modules/core-js/core/regexp.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../modules/core.regexp.escape');
|
||||
module.exports = require('../modules/_core').RegExp;
|
3
node_modules/core-js/core/string.js
generated
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
require('../modules/core.string.escape-html');
|
||||
require('../modules/core.string.unescape-html');
|
||||
module.exports = require('../modules/_core').String;
|
37
node_modules/core-js/es5/index.js
generated
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
require('../modules/es6.object.create');
|
||||
require('../modules/es6.object.define-property');
|
||||
require('../modules/es6.object.define-properties');
|
||||
require('../modules/es6.object.get-own-property-descriptor');
|
||||
require('../modules/es6.object.get-prototype-of');
|
||||
require('../modules/es6.object.keys');
|
||||
require('../modules/es6.object.get-own-property-names');
|
||||
require('../modules/es6.object.freeze');
|
||||
require('../modules/es6.object.seal');
|
||||
require('../modules/es6.object.prevent-extensions');
|
||||
require('../modules/es6.object.is-frozen');
|
||||
require('../modules/es6.object.is-sealed');
|
||||
require('../modules/es6.object.is-extensible');
|
||||
require('../modules/es6.function.bind');
|
||||
require('../modules/es6.array.is-array');
|
||||
require('../modules/es6.array.join');
|
||||
require('../modules/es6.array.slice');
|
||||
require('../modules/es6.array.sort');
|
||||
require('../modules/es6.array.for-each');
|
||||
require('../modules/es6.array.map');
|
||||
require('../modules/es6.array.filter');
|
||||
require('../modules/es6.array.some');
|
||||
require('../modules/es6.array.every');
|
||||
require('../modules/es6.array.reduce');
|
||||
require('../modules/es6.array.reduce-right');
|
||||
require('../modules/es6.array.index-of');
|
||||
require('../modules/es6.array.last-index-of');
|
||||
require('../modules/es6.number.to-fixed');
|
||||
require('../modules/es6.number.to-precision');
|
||||
require('../modules/es6.date.now');
|
||||
require('../modules/es6.date.to-iso-string');
|
||||
require('../modules/es6.date.to-json');
|
||||
require('../modules/es6.parse-int');
|
||||
require('../modules/es6.parse-float');
|
||||
require('../modules/es6.string.trim');
|
||||
require('../modules/es6.regexp.to-string');
|
||||
module.exports = require('../modules/_core');
|
23
node_modules/core-js/es6/array.js
generated
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
require('../modules/es6.string.iterator');
|
||||
require('../modules/es6.array.is-array');
|
||||
require('../modules/es6.array.from');
|
||||
require('../modules/es6.array.of');
|
||||
require('../modules/es6.array.join');
|
||||
require('../modules/es6.array.slice');
|
||||
require('../modules/es6.array.sort');
|
||||
require('../modules/es6.array.for-each');
|
||||
require('../modules/es6.array.map');
|
||||
require('../modules/es6.array.filter');
|
||||
require('../modules/es6.array.some');
|
||||
require('../modules/es6.array.every');
|
||||
require('../modules/es6.array.reduce');
|
||||
require('../modules/es6.array.reduce-right');
|
||||
require('../modules/es6.array.index-of');
|
||||
require('../modules/es6.array.last-index-of');
|
||||
require('../modules/es6.array.copy-within');
|
||||
require('../modules/es6.array.fill');
|
||||
require('../modules/es6.array.find');
|
||||
require('../modules/es6.array.find-index');
|
||||
require('../modules/es6.array.species');
|
||||
require('../modules/es6.array.iterator');
|
||||
module.exports = require('../modules/_core').Array;
|
6
node_modules/core-js/es6/date.js
generated
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
require('../modules/es6.date.now');
|
||||
require('../modules/es6.date.to-json');
|
||||
require('../modules/es6.date.to-iso-string');
|
||||
require('../modules/es6.date.to-string');
|
||||
require('../modules/es6.date.to-primitive');
|
||||
module.exports = Date;
|
4
node_modules/core-js/es6/function.js
generated
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
require('../modules/es6.function.bind');
|
||||
require('../modules/es6.function.name');
|
||||
require('../modules/es6.function.has-instance');
|
||||
module.exports = require('../modules/_core').Function;
|
138
node_modules/core-js/es6/index.js
generated
vendored
Normal file
|
@ -0,0 +1,138 @@
|
|||
require('../modules/es6.symbol');
|
||||
require('../modules/es6.object.create');
|
||||
require('../modules/es6.object.define-property');
|
||||
require('../modules/es6.object.define-properties');
|
||||
require('../modules/es6.object.get-own-property-descriptor');
|
||||
require('../modules/es6.object.get-prototype-of');
|
||||
require('../modules/es6.object.keys');
|
||||
require('../modules/es6.object.get-own-property-names');
|
||||
require('../modules/es6.object.freeze');
|
||||
require('../modules/es6.object.seal');
|
||||
require('../modules/es6.object.prevent-extensions');
|
||||
require('../modules/es6.object.is-frozen');
|
||||
require('../modules/es6.object.is-sealed');
|
||||
require('../modules/es6.object.is-extensible');
|
||||
require('../modules/es6.object.assign');
|
||||
require('../modules/es6.object.is');
|
||||
require('../modules/es6.object.set-prototype-of');
|
||||
require('../modules/es6.object.to-string');
|
||||
require('../modules/es6.function.bind');
|
||||
require('../modules/es6.function.name');
|
||||
require('../modules/es6.function.has-instance');
|
||||
require('../modules/es6.parse-int');
|
||||
require('../modules/es6.parse-float');
|
||||
require('../modules/es6.number.constructor');
|
||||
require('../modules/es6.number.to-fixed');
|
||||
require('../modules/es6.number.to-precision');
|
||||
require('../modules/es6.number.epsilon');
|
||||
require('../modules/es6.number.is-finite');
|
||||
require('../modules/es6.number.is-integer');
|
||||
require('../modules/es6.number.is-nan');
|
||||
require('../modules/es6.number.is-safe-integer');
|
||||
require('../modules/es6.number.max-safe-integer');
|
||||
require('../modules/es6.number.min-safe-integer');
|
||||
require('../modules/es6.number.parse-float');
|
||||
require('../modules/es6.number.parse-int');
|
||||
require('../modules/es6.math.acosh');
|
||||
require('../modules/es6.math.asinh');
|
||||
require('../modules/es6.math.atanh');
|
||||
require('../modules/es6.math.cbrt');
|
||||
require('../modules/es6.math.clz32');
|
||||
require('../modules/es6.math.cosh');
|
||||
require('../modules/es6.math.expm1');
|
||||
require('../modules/es6.math.fround');
|
||||
require('../modules/es6.math.hypot');
|
||||
require('../modules/es6.math.imul');
|
||||
require('../modules/es6.math.log10');
|
||||
require('../modules/es6.math.log1p');
|
||||
require('../modules/es6.math.log2');
|
||||
require('../modules/es6.math.sign');
|
||||
require('../modules/es6.math.sinh');
|
||||
require('../modules/es6.math.tanh');
|
||||
require('../modules/es6.math.trunc');
|
||||
require('../modules/es6.string.from-code-point');
|
||||
require('../modules/es6.string.raw');
|
||||
require('../modules/es6.string.trim');
|
||||
require('../modules/es6.string.iterator');
|
||||
require('../modules/es6.string.code-point-at');
|
||||
require('../modules/es6.string.ends-with');
|
||||
require('../modules/es6.string.includes');
|
||||
require('../modules/es6.string.repeat');
|
||||
require('../modules/es6.string.starts-with');
|
||||
require('../modules/es6.string.anchor');
|
||||
require('../modules/es6.string.big');
|
||||
require('../modules/es6.string.blink');
|
||||
require('../modules/es6.string.bold');
|
||||
require('../modules/es6.string.fixed');
|
||||
require('../modules/es6.string.fontcolor');
|
||||
require('../modules/es6.string.fontsize');
|
||||
require('../modules/es6.string.italics');
|
||||
require('../modules/es6.string.link');
|
||||
require('../modules/es6.string.small');
|
||||
require('../modules/es6.string.strike');
|
||||
require('../modules/es6.string.sub');
|
||||
require('../modules/es6.string.sup');
|
||||
require('../modules/es6.date.now');
|
||||
require('../modules/es6.date.to-json');
|
||||
require('../modules/es6.date.to-iso-string');
|
||||
require('../modules/es6.date.to-string');
|
||||
require('../modules/es6.date.to-primitive');
|
||||
require('../modules/es6.array.is-array');
|
||||
require('../modules/es6.array.from');
|
||||
require('../modules/es6.array.of');
|
||||
require('../modules/es6.array.join');
|
||||
require('../modules/es6.array.slice');
|
||||
require('../modules/es6.array.sort');
|
||||
require('../modules/es6.array.for-each');
|
||||
require('../modules/es6.array.map');
|
||||
require('../modules/es6.array.filter');
|
||||
require('../modules/es6.array.some');
|
||||
require('../modules/es6.array.every');
|
||||
require('../modules/es6.array.reduce');
|
||||
require('../modules/es6.array.reduce-right');
|
||||
require('../modules/es6.array.index-of');
|
||||
require('../modules/es6.array.last-index-of');
|
||||
require('../modules/es6.array.copy-within');
|
||||
require('../modules/es6.array.fill');
|
||||
require('../modules/es6.array.find');
|
||||
require('../modules/es6.array.find-index');
|
||||
require('../modules/es6.array.species');
|
||||
require('../modules/es6.array.iterator');
|
||||
require('../modules/es6.regexp.constructor');
|
||||
require('../modules/es6.regexp.to-string');
|
||||
require('../modules/es6.regexp.flags');
|
||||
require('../modules/es6.regexp.match');
|
||||
require('../modules/es6.regexp.replace');
|
||||
require('../modules/es6.regexp.search');
|
||||
require('../modules/es6.regexp.split');
|
||||
require('../modules/es6.promise');
|
||||
require('../modules/es6.map');
|
||||
require('../modules/es6.set');
|
||||
require('../modules/es6.weak-map');
|
||||
require('../modules/es6.weak-set');
|
||||
require('../modules/es6.typed.array-buffer');
|
||||
require('../modules/es6.typed.data-view');
|
||||
require('../modules/es6.typed.int8-array');
|
||||
require('../modules/es6.typed.uint8-array');
|
||||
require('../modules/es6.typed.uint8-clamped-array');
|
||||
require('../modules/es6.typed.int16-array');
|
||||
require('../modules/es6.typed.uint16-array');
|
||||
require('../modules/es6.typed.int32-array');
|
||||
require('../modules/es6.typed.uint32-array');
|
||||
require('../modules/es6.typed.float32-array');
|
||||
require('../modules/es6.typed.float64-array');
|
||||
require('../modules/es6.reflect.apply');
|
||||
require('../modules/es6.reflect.construct');
|
||||
require('../modules/es6.reflect.define-property');
|
||||
require('../modules/es6.reflect.delete-property');
|
||||
require('../modules/es6.reflect.enumerate');
|
||||
require('../modules/es6.reflect.get');
|
||||
require('../modules/es6.reflect.get-own-property-descriptor');
|
||||
require('../modules/es6.reflect.get-prototype-of');
|
||||
require('../modules/es6.reflect.has');
|
||||
require('../modules/es6.reflect.is-extensible');
|
||||
require('../modules/es6.reflect.own-keys');
|
||||
require('../modules/es6.reflect.prevent-extensions');
|
||||
require('../modules/es6.reflect.set');
|
||||
require('../modules/es6.reflect.set-prototype-of');
|
||||
module.exports = require('../modules/_core');
|
5
node_modules/core-js/es6/map.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
require('../modules/es6.object.to-string');
|
||||
require('../modules/es6.string.iterator');
|
||||
require('../modules/web.dom.iterable');
|
||||
require('../modules/es6.map');
|
||||
module.exports = require('../modules/_core').Map;
|
18
node_modules/core-js/es6/math.js
generated
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
require('../modules/es6.math.acosh');
|
||||
require('../modules/es6.math.asinh');
|
||||
require('../modules/es6.math.atanh');
|
||||
require('../modules/es6.math.cbrt');
|
||||
require('../modules/es6.math.clz32');
|
||||
require('../modules/es6.math.cosh');
|
||||
require('../modules/es6.math.expm1');
|
||||
require('../modules/es6.math.fround');
|
||||
require('../modules/es6.math.hypot');
|
||||
require('../modules/es6.math.imul');
|
||||
require('../modules/es6.math.log10');
|
||||
require('../modules/es6.math.log1p');
|
||||
require('../modules/es6.math.log2');
|
||||
require('../modules/es6.math.sign');
|
||||
require('../modules/es6.math.sinh');
|
||||
require('../modules/es6.math.tanh');
|
||||
require('../modules/es6.math.trunc');
|
||||
module.exports = require('../modules/_core').Math;
|
13
node_modules/core-js/es6/number.js
generated
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
require('../modules/es6.number.constructor');
|
||||
require('../modules/es6.number.to-fixed');
|
||||
require('../modules/es6.number.to-precision');
|
||||
require('../modules/es6.number.epsilon');
|
||||
require('../modules/es6.number.is-finite');
|
||||
require('../modules/es6.number.is-integer');
|
||||
require('../modules/es6.number.is-nan');
|
||||
require('../modules/es6.number.is-safe-integer');
|
||||
require('../modules/es6.number.max-safe-integer');
|
||||
require('../modules/es6.number.min-safe-integer');
|
||||
require('../modules/es6.number.parse-float');
|
||||
require('../modules/es6.number.parse-int');
|
||||
module.exports = require('../modules/_core').Number;
|
20
node_modules/core-js/es6/object.js
generated
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
require('../modules/es6.symbol');
|
||||
require('../modules/es6.object.create');
|
||||
require('../modules/es6.object.define-property');
|
||||
require('../modules/es6.object.define-properties');
|
||||
require('../modules/es6.object.get-own-property-descriptor');
|
||||
require('../modules/es6.object.get-prototype-of');
|
||||
require('../modules/es6.object.keys');
|
||||
require('../modules/es6.object.get-own-property-names');
|
||||
require('../modules/es6.object.freeze');
|
||||
require('../modules/es6.object.seal');
|
||||
require('../modules/es6.object.prevent-extensions');
|
||||
require('../modules/es6.object.is-frozen');
|
||||
require('../modules/es6.object.is-sealed');
|
||||
require('../modules/es6.object.is-extensible');
|
||||
require('../modules/es6.object.assign');
|
||||
require('../modules/es6.object.is');
|
||||
require('../modules/es6.object.set-prototype-of');
|
||||
require('../modules/es6.object.to-string');
|
||||
|
||||
module.exports = require('../modules/_core').Object;
|
2
node_modules/core-js/es6/parse-float.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../modules/es6.parse-float');
|
||||
module.exports = require('../modules/_core').parseFloat;
|
2
node_modules/core-js/es6/parse-int.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../modules/es6.parse-int');
|
||||
module.exports = require('../modules/_core').parseInt;
|
5
node_modules/core-js/es6/promise.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
require('../modules/es6.object.to-string');
|
||||
require('../modules/es6.string.iterator');
|
||||
require('../modules/web.dom.iterable');
|
||||
require('../modules/es6.promise');
|
||||
module.exports = require('../modules/_core').Promise;
|
15
node_modules/core-js/es6/reflect.js
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
require('../modules/es6.reflect.apply');
|
||||
require('../modules/es6.reflect.construct');
|
||||
require('../modules/es6.reflect.define-property');
|
||||
require('../modules/es6.reflect.delete-property');
|
||||
require('../modules/es6.reflect.enumerate');
|
||||
require('../modules/es6.reflect.get');
|
||||
require('../modules/es6.reflect.get-own-property-descriptor');
|
||||
require('../modules/es6.reflect.get-prototype-of');
|
||||
require('../modules/es6.reflect.has');
|
||||
require('../modules/es6.reflect.is-extensible');
|
||||
require('../modules/es6.reflect.own-keys');
|
||||
require('../modules/es6.reflect.prevent-extensions');
|
||||
require('../modules/es6.reflect.set');
|
||||
require('../modules/es6.reflect.set-prototype-of');
|
||||
module.exports = require('../modules/_core').Reflect;
|
8
node_modules/core-js/es6/regexp.js
generated
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
require('../modules/es6.regexp.constructor');
|
||||
require('../modules/es6.regexp.to-string');
|
||||
require('../modules/es6.regexp.flags');
|
||||
require('../modules/es6.regexp.match');
|
||||
require('../modules/es6.regexp.replace');
|
||||
require('../modules/es6.regexp.search');
|
||||
require('../modules/es6.regexp.split');
|
||||
module.exports = require('../modules/_core').RegExp;
|
5
node_modules/core-js/es6/set.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
require('../modules/es6.object.to-string');
|
||||
require('../modules/es6.string.iterator');
|
||||
require('../modules/web.dom.iterable');
|
||||
require('../modules/es6.set');
|
||||
module.exports = require('../modules/_core').Set;
|
27
node_modules/core-js/es6/string.js
generated
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
require('../modules/es6.string.from-code-point');
|
||||
require('../modules/es6.string.raw');
|
||||
require('../modules/es6.string.trim');
|
||||
require('../modules/es6.string.iterator');
|
||||
require('../modules/es6.string.code-point-at');
|
||||
require('../modules/es6.string.ends-with');
|
||||
require('../modules/es6.string.includes');
|
||||
require('../modules/es6.string.repeat');
|
||||
require('../modules/es6.string.starts-with');
|
||||
require('../modules/es6.string.anchor');
|
||||
require('../modules/es6.string.big');
|
||||
require('../modules/es6.string.blink');
|
||||
require('../modules/es6.string.bold');
|
||||
require('../modules/es6.string.fixed');
|
||||
require('../modules/es6.string.fontcolor');
|
||||
require('../modules/es6.string.fontsize');
|
||||
require('../modules/es6.string.italics');
|
||||
require('../modules/es6.string.link');
|
||||
require('../modules/es6.string.small');
|
||||
require('../modules/es6.string.strike');
|
||||
require('../modules/es6.string.sub');
|
||||
require('../modules/es6.string.sup');
|
||||
require('../modules/es6.regexp.match');
|
||||
require('../modules/es6.regexp.replace');
|
||||
require('../modules/es6.regexp.search');
|
||||
require('../modules/es6.regexp.split');
|
||||
module.exports = require('../modules/_core').String;
|
3
node_modules/core-js/es6/symbol.js
generated
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
require('../modules/es6.symbol');
|
||||
require('../modules/es6.object.to-string');
|
||||
module.exports = require('../modules/_core').Symbol;
|
13
node_modules/core-js/es6/typed.js
generated
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
require('../modules/es6.typed.array-buffer');
|
||||
require('../modules/es6.typed.data-view');
|
||||
require('../modules/es6.typed.int8-array');
|
||||
require('../modules/es6.typed.uint8-array');
|
||||
require('../modules/es6.typed.uint8-clamped-array');
|
||||
require('../modules/es6.typed.int16-array');
|
||||
require('../modules/es6.typed.uint16-array');
|
||||
require('../modules/es6.typed.int32-array');
|
||||
require('../modules/es6.typed.uint32-array');
|
||||
require('../modules/es6.typed.float32-array');
|
||||
require('../modules/es6.typed.float64-array');
|
||||
require('../modules/es6.object.to-string');
|
||||
module.exports = require('../modules/_core');
|
4
node_modules/core-js/es6/weak-map.js
generated
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
require('../modules/es6.object.to-string');
|
||||
require('../modules/es6.array.iterator');
|
||||
require('../modules/es6.weak-map');
|
||||
module.exports = require('../modules/_core').WeakMap;
|
4
node_modules/core-js/es6/weak-set.js
generated
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
require('../modules/es6.object.to-string');
|
||||
require('../modules/web.dom.iterable');
|
||||
require('../modules/es6.weak-set');
|
||||
module.exports = require('../modules/_core').WeakSet;
|
2
node_modules/core-js/es7/array.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../modules/es7.array.includes');
|
||||
module.exports = require('../modules/_core').Array;
|
2
node_modules/core-js/es7/asap.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../modules/es7.asap');
|
||||
module.exports = require('../modules/_core').asap;
|
2
node_modules/core-js/es7/error.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../modules/es7.error.is-error');
|
||||
module.exports = require('../modules/_core').Error;
|
35
node_modules/core-js/es7/index.js
generated
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
require('../modules/es7.array.includes');
|
||||
require('../modules/es7.string.at');
|
||||
require('../modules/es7.string.pad-start');
|
||||
require('../modules/es7.string.pad-end');
|
||||
require('../modules/es7.string.trim-left');
|
||||
require('../modules/es7.string.trim-right');
|
||||
require('../modules/es7.string.match-all');
|
||||
require('../modules/es7.symbol.async-iterator');
|
||||
require('../modules/es7.symbol.observable');
|
||||
require('../modules/es7.object.get-own-property-descriptors');
|
||||
require('../modules/es7.object.values');
|
||||
require('../modules/es7.object.entries');
|
||||
require('../modules/es7.object.define-getter');
|
||||
require('../modules/es7.object.define-setter');
|
||||
require('../modules/es7.object.lookup-getter');
|
||||
require('../modules/es7.object.lookup-setter');
|
||||
require('../modules/es7.map.to-json');
|
||||
require('../modules/es7.set.to-json');
|
||||
require('../modules/es7.system.global');
|
||||
require('../modules/es7.error.is-error');
|
||||
require('../modules/es7.math.iaddh');
|
||||
require('../modules/es7.math.isubh');
|
||||
require('../modules/es7.math.imulh');
|
||||
require('../modules/es7.math.umulh');
|
||||
require('../modules/es7.reflect.define-metadata');
|
||||
require('../modules/es7.reflect.delete-metadata');
|
||||
require('../modules/es7.reflect.get-metadata');
|
||||
require('../modules/es7.reflect.get-metadata-keys');
|
||||
require('../modules/es7.reflect.get-own-metadata');
|
||||
require('../modules/es7.reflect.get-own-metadata-keys');
|
||||
require('../modules/es7.reflect.has-metadata');
|
||||
require('../modules/es7.reflect.has-own-metadata');
|
||||
require('../modules/es7.reflect.metadata');
|
||||
require('../modules/es7.asap');
|
||||
module.exports = require('../modules/_core');
|
2
node_modules/core-js/es7/map.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../modules/es7.map.to-json');
|
||||
module.exports = require('../modules/_core').Map;
|
5
node_modules/core-js/es7/math.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
require('../modules/es7.math.iaddh');
|
||||
require('../modules/es7.math.isubh');
|
||||
require('../modules/es7.math.imulh');
|
||||
require('../modules/es7.math.umulh');
|
||||
module.exports = require('../modules/_core').Math;
|
8
node_modules/core-js/es7/object.js
generated
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
require('../modules/es7.object.get-own-property-descriptors');
|
||||
require('../modules/es7.object.values');
|
||||
require('../modules/es7.object.entries');
|
||||
require('../modules/es7.object.define-getter');
|
||||
require('../modules/es7.object.define-setter');
|
||||
require('../modules/es7.object.lookup-getter');
|
||||
require('../modules/es7.object.lookup-setter');
|
||||
module.exports = require('../modules/_core').Object;
|
10
node_modules/core-js/es7/reflect.js
generated
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
require('../modules/es7.reflect.define-metadata');
|
||||
require('../modules/es7.reflect.delete-metadata');
|
||||
require('../modules/es7.reflect.get-metadata');
|
||||
require('../modules/es7.reflect.get-metadata-keys');
|
||||
require('../modules/es7.reflect.get-own-metadata');
|
||||
require('../modules/es7.reflect.get-own-metadata-keys');
|
||||
require('../modules/es7.reflect.has-metadata');
|
||||
require('../modules/es7.reflect.has-own-metadata');
|
||||
require('../modules/es7.reflect.metadata');
|
||||
module.exports = require('../modules/_core').Reflect;
|
2
node_modules/core-js/es7/set.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../modules/es7.set.to-json');
|
||||
module.exports = require('../modules/_core').Set;
|
7
node_modules/core-js/es7/string.js
generated
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
require('../modules/es7.string.at');
|
||||
require('../modules/es7.string.pad-start');
|
||||
require('../modules/es7.string.pad-end');
|
||||
require('../modules/es7.string.trim-left');
|
||||
require('../modules/es7.string.trim-right');
|
||||
require('../modules/es7.string.match-all');
|
||||
module.exports = require('../modules/_core').String;
|
3
node_modules/core-js/es7/symbol.js
generated
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
require('../modules/es7.symbol.async-iterator');
|
||||
require('../modules/es7.symbol.observable');
|
||||
module.exports = require('../modules/_core').Symbol;
|
2
node_modules/core-js/es7/system.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../modules/es7.system.global');
|
||||
module.exports = require('../modules/_core').System;
|
2
node_modules/core-js/fn/_.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../modules/core.function.part');
|
||||
module.exports = require('../modules/_core')._;
|
4
node_modules/core-js/fn/array/concat.js
generated
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
// for a legacy code and future fixes
|
||||
module.exports = function(){
|
||||
return Function.call.apply(Array.prototype.concat, arguments);
|
||||
};
|
2
node_modules/core-js/fn/array/copy-within.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../../modules/es6.array.copy-within');
|
||||
module.exports = require('../../modules/_core').Array.copyWithin;
|
2
node_modules/core-js/fn/array/entries.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../../modules/es6.array.iterator');
|
||||
module.exports = require('../../modules/_core').Array.entries;
|
2
node_modules/core-js/fn/array/every.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../../modules/es6.array.every');
|
||||
module.exports = require('../../modules/_core').Array.every;
|
2
node_modules/core-js/fn/array/fill.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../../modules/es6.array.fill');
|
||||
module.exports = require('../../modules/_core').Array.fill;
|
2
node_modules/core-js/fn/array/filter.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../../modules/es6.array.filter');
|
||||
module.exports = require('../../modules/_core').Array.filter;
|
2
node_modules/core-js/fn/array/find-index.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../../modules/es6.array.find-index');
|
||||
module.exports = require('../../modules/_core').Array.findIndex;
|
2
node_modules/core-js/fn/array/find.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../../modules/es6.array.find');
|
||||
module.exports = require('../../modules/_core').Array.find;
|
2
node_modules/core-js/fn/array/for-each.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../../modules/es6.array.for-each');
|
||||
module.exports = require('../../modules/_core').Array.forEach;
|
3
node_modules/core-js/fn/array/from.js
generated
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
require('../../modules/es6.string.iterator');
|
||||
require('../../modules/es6.array.from');
|
||||
module.exports = require('../../modules/_core').Array.from;
|
2
node_modules/core-js/fn/array/includes.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
require('../../modules/es7.array.includes');
|
||||
module.exports = require('../../modules/_core').Array.includes;
|