From aa93ac07227d2c72337307cc7659fe827500503e Mon Sep 17 00:00:00 2001 From: isradeleon Date: Fri, 2 Aug 2019 20:04:22 -0500 Subject: [PATCH] version updated --- README.md | 6 +++--- base.css | 2 +- main.js | 6 +++--- package-lock.json | 2 +- package.json | 2 +- .../socialiteui.min.css | 0 .../socialiteui.min.js | 0 website/components/navbar.njk.html | 2 +- website/components/sidebar.njk.html | 2 +- website/components/staggered.njk.html | 2 +- website/docs.njk.html | 6 +++--- website/index.njk.html | 4 ++-- website/root.njk.html | 2 +- 13 files changed, 18 insertions(+), 18 deletions(-) rename {socialiteui-v0.4.5 => socialiteui-v0.4.6}/socialiteui.min.css (100%) rename {socialiteui-v0.4.5 => socialiteui-v0.4.6}/socialiteui.min.js (100%) diff --git a/README.md b/README.md index 3dd7f47..af2a0ef 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Lightweight HTML, CSS and JS framework for responsive WEB design. SocialiteUI is ## Easy to install -You may just install the framework from npm or download the current version from [here](https://github.com/Isradeleon/socialiteui/archive/0.4.5.zip). Then just import the minified CSS and JS files into your project. +You may just install the framework from npm or download the current version from [here](https://github.com/Isradeleon/socialiteui/archive/0.4.6.zip). Then just import the minified CSS and JS files into your project. ### NPM @@ -25,10 +25,10 @@ npm install socialiteui ```html - + - + ``` ## Components diff --git a/base.css b/base.css index c32be53..70b4cf5 100644 --- a/base.css +++ b/base.css @@ -1,5 +1,5 @@ /* - SocialiteUI v0.4.5 + SocialiteUI v0.4.6 Color reference: brand: #ff7675 primary: #6c5ce7 diff --git a/main.js b/main.js index f5141ff..c4a9d42 100644 --- a/main.js +++ b/main.js @@ -10,7 +10,7 @@ var docsPath = '../socialiteui-docs'; if (!fs.existsSync(docsPath)){ fs.mkdirSync(docsPath); } -var docsSourcesPath = docsPath+'/socialiteui-v0.4.5'; +var docsSourcesPath = docsPath+'/socialiteui-v0.4.6'; if (!fs.existsSync(docsSourcesPath)){ fs.mkdirSync(docsSourcesPath); } @@ -83,7 +83,7 @@ var baseJs = fs.readFileSync('base.js').toString(); var Terser = require("terser"); var jsResult = Terser.minify(baseJs); if(!jsResult.error){ - fs.writeFileSync('socialiteui-v0.4.5/socialiteui.min.js', jsResult.code); + fs.writeFileSync('socialiteui-v0.4.6/socialiteui.min.js', jsResult.code); fs.writeFileSync(docsSourcesPath+'/socialiteui.min.js', jsResult.code); }else{ console.log('JS ERROR') @@ -110,7 +110,7 @@ postcss([ autoprefixer ]).process(baseCss,{from: undefined}).then(result => { }) var minifiedCss = csso.minify(result.css).css; - fs.writeFileSync('socialiteui-v0.4.5/socialiteui.min.css', minifiedCss); + fs.writeFileSync('socialiteui-v0.4.6/socialiteui.min.css', minifiedCss); fs.writeFileSync(docsSourcesPath+'/socialiteui.min.css', minifiedCss); console.log('Website is ready!') diff --git a/package-lock.json b/package-lock.json index f45b33c..f777c5b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "socialiteui", - "version": "0.4.5", + "version": "0.4.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 7228fc5..a4ea9b1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "socialiteui", - "version": "0.4.5", + "version": "0.4.6", "description": "Responsive and lightweight HTML, CSS and JS framework", "main": "main.js", "scripts": { diff --git a/socialiteui-v0.4.5/socialiteui.min.css b/socialiteui-v0.4.6/socialiteui.min.css similarity index 100% rename from socialiteui-v0.4.5/socialiteui.min.css rename to socialiteui-v0.4.6/socialiteui.min.css diff --git a/socialiteui-v0.4.5/socialiteui.min.js b/socialiteui-v0.4.6/socialiteui.min.js similarity index 100% rename from socialiteui-v0.4.5/socialiteui.min.js rename to socialiteui-v0.4.6/socialiteui.min.js diff --git a/website/components/navbar.njk.html b/website/components/navbar.njk.html index a513bb9..3a5ae14 100644 --- a/website/components/navbar.njk.html +++ b/website/components/navbar.njk.html @@ -26,7 +26,7 @@

Navbar

diff --git a/website/components/sidebar.njk.html b/website/components/sidebar.njk.html index 5a268ca..ea13599 100644 --- a/website/components/sidebar.njk.html +++ b/website/components/sidebar.njk.html @@ -5,7 +5,7 @@

Sidebar

A responsive sidebar menu built with CSS and JS.

-

For the sidebar, you'll need to import the javascript file socialiteui-v0.4.5/socialiteui.min.js +

For the sidebar, you'll need to import the javascript file socialiteui-v0.4.6/socialiteui.min.js from socialiteui framework at the bottom of your html document.

A sidebar looks exactly like the one in this documentation page. The sidebar element will be fixed diff --git a/website/components/staggered.njk.html b/website/components/staggered.njk.html index 1031c9f..66de46c 100644 --- a/website/components/staggered.njk.html +++ b/website/components/staggered.njk.html @@ -109,7 +109,7 @@

Staggered grid view

For the staggered grid to work, you'll need to import the javascript -file socialiteui-v0.4.5/socialiteui.min.js from socialiteui framework +file socialiteui-v0.4.6/socialiteui.min.js from socialiteui framework to the bottom of your html document. The script makes the calculation for the negative margin-top for each element, making it look staggered. It also listens for resize window events and when new elements are added to the staggered grid using a mutation observer.

diff --git a/website/docs.njk.html b/website/docs.njk.html index a0372e5..d215ccc 100644 --- a/website/docs.njk.html +++ b/website/docs.njk.html @@ -18,7 +18,7 @@