nanoislands
Advanced tools
Comparing version 1.0.7-alfa to 1.0.8-alfa
@@ -177,2 +177,1 @@ ### Default button | ||
> ``` | ||
@@ -101,2 +101,4 @@ ### Default checkbox | ||
Radio buttons | ||
> <div example="radio-button" /> | ||
@@ -103,0 +105,0 @@ > |
@@ -127,4 +127,14 @@ ### Popup | ||
> <div example="genericPopup"/> | ||
> | ||
>```yate | ||
> nb-popup({ | ||
> 'id': 'genericPopup' | ||
> 'titleContent': 'Hello, I’m your generic pop-up.' | ||
> 'content': '<p>And welcome to nanoislands</p>' | ||
> }) | ||
>``` | ||
<div> | ||
<a data-nb="popup-toggler" data-nb-popup-toggler="{id: 'genericPopup', how: { animation: false}}" href="#right"> | ||
<a data-nb="popup-toggler" data-nb-popup-toggler="{id: 'genericPopup-w-animation', how: { animation: false}}" href="#right"> | ||
<span class="link__inner"> | ||
@@ -136,12 +146,15 @@ "generic popup without animation" | ||
> <div example="genericPopup"/> | ||
> <div example="genericPopup-w-animation"/> | ||
> | ||
>```yate | ||
> nb-popup({ | ||
> 'id': 'genericPopup' | ||
> 'titleContent': 'Hello, I’m your generic pop-up.' | ||
> 'content': '<p>And welcome to nanoislands</p>' | ||
> }) | ||
> 'id': 'genericPopup-w-animation' | ||
> 'animation': false() | ||
> 'titleContent': 'Hello, I’m your generic pop-up.' | ||
> 'content': '<p>And welcome to nanoislands</p>' | ||
> }) | ||
>``` | ||
<div> | ||
@@ -148,0 +161,0 @@ <a data-nb="popup-toggler" data-nb-popup-toggler="{id: 'genericPopup2'}" href="#default"> |
@@ -9,3 +9,3 @@ { | ||
"description": "Yate/Stylus/jQuery-UI library for Yandex corporate style", | ||
"version": "1.0.7-alfa", | ||
"version": "1.0.8-alfa", | ||
"licence": "MIT", | ||
@@ -12,0 +12,0 @@ "homepage": "http://yandex-ui.github.io/nanoislands/", |
@@ -10,3 +10,3 @@ /* borschik:include:node_modules/yate/lib/runtime.js */ | ||
function ni(type, options) { | ||
return yr.run("nanoislands", options, type); | ||
return yr.run("react-nanoislands", options, type); | ||
} | ||
@@ -59,4 +59,10 @@ | ||
nb.Block.prototype.getYateModuleName = function(){ | ||
return 'react-nanoislands'; | ||
}; | ||
window.ni = ni; | ||
window.Island = Island; | ||
})(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
3298585