Browse Source

Updates docs for changes to transition

1.0
jlukic 10 years ago
parent
commit
12e1c09738
  1. 8
      RELEASE NOTES.md
  2. 16
      package.json
  3. 105
      server/documents/hotfix.html.eco
  4. 5
      server/documents/modules/dimmer.html.eco

8
RELEASE NOTES.md

@ -32,6 +32,9 @@
- **Dropdown** - New action combo will change text of adjacent button, select will select element but not change text
- **Dropdown** - Many new content types now work inside dropdowns, headers, dividers, images, inputs, labels and more
- **Form** - Form now has a success state which will automatically display success messages
- **Dimmer** - Dimmer will now automatically determine whether click-to-close is enabled by ``settings.on``
- **Dimmer** - Multiple dimmers can now be used on the same context with ``dimmerName``
- **Dimmer** - Dimmer variations can be specified when creating a dimmer from javascript using ``variation`` setting.
- **Form** - Grouped fields and inline fields can now have labels
- **Form** - Forms in 'success' state will now show success messages inside
- **Form** - Inputs now use 1em font size and correctly match selection dropdown height
@ -63,9 +66,12 @@
- **Steps** - Steps can now have icons, descriptions and titles. Step default theme has been modified significantly to be more flexible.
- **Table** - Tables now have 'basic' and 'very' basic variations
- **Transition** - Transition will now keep block position of elements hidden with visibility hidden
- **Transition** - Transitions now will handle multiple display types more consistently
- **Transition** - Transition now has a new ``start`` callback, before animation starts
- **Transition** - Complete callback now does not occur if animation is interrupted before completing
** Bug Fixes **
- **Rating** - Vertical alignment has been improved
- See Closed GitHub Issues
### Version 0.15.0 - Mar 14, 2014

16
package.json

@ -14,16 +14,16 @@
"url": "git://github.com/Semantic-Org/Semantic-UI.git"
},
"dependencies": {
"docpad": "~6.69.1",
"docpad-plugin-ghpages": "~2.4.3",
"docpad": "x.x.x",
"docpad-plugin-ghpages": "x.x.x",
"jquery": "x.x.x"
},
"devDependencies": {
"docpad": "x.x.x",
"docpad-plugin-eco": "~2.1.0",
"docpad-plugin-ghpages": "~2.4.3",
"docpad-plugin-partials": "~2.9.1",
"grunt": "0.4.3",
"docpad-plugin-eco": "x.x.x",
"docpad-plugin-ghpages": "x.x.x",
"docpad-plugin-partials": "x.x.x",
"grunt": "x.x.x",
"grunt-autoprefixer": "x.x.x",
"grunt-bower-task": "x.x.x",
"grunt-clear": "x.x.x",
@ -43,8 +43,8 @@
"grunt-replace": "x.x.x",
"grunt-rtlcss": "x.x.x",
"karma": "x.x.x",
"karma-coverage": "~0.x.x",
"karma-jasmine": "~0.1.0",
"karma-coverage": "x.x.x",
"karma-jasmine": "x.x.x",
"karma-phantomjs-launcher": "x.x.x",
"karma-spec-reporter": "x.x.x"
}

105
server/documents/hotfix.html.eco

@ -11,7 +11,12 @@ type : 'Library'
<script>
$(document).ready(function() {
$('.ui.dropdown').dropdown();
$.fn.modal.debug = true;
$('#modalOne').modal('show');
window.openTest = function() {
$('#modalTwo').modal('show');
}
});
</script>
@ -22,96 +27,16 @@ $(document).ready(function() {
<!--
<div class="main container"> -->
<div class="ui rp-property modal scrolling transition visible active" style="top: 0px;display: block !important;">
<i class="close icon"></i>
<div class="header">
Create new property
</div>
<div class="content">
<div class="description">
<form accept-charset="UTF-8" action="/projects/1/properties" class="ui form" id="new_property" method="post"><div style="display:none"><input name="utf8" type="hidden" value="✓"><input name="authenticity_token" type="hidden" value="MkWt3fScBFfJ5jTKvFjpTVUnM4mcrzi0JKWMXCBDnHg="></div> <!-- /Error handling -->
<div class="ui stackable grid">
<div class="eight wide column">
<div class="field">
<label for="property_title">Title</label>
<div class="ui corner labeled icon input">
<input id="property_title" name="property[title]" placeholder="Title of your property" type="text">
<i class="fa-font icon"></i>
</div>
</div>
<div class="field">
<label for="property_description">Description</label>
<div class="ui corner labeled icon input">
<input id="property_description" name="property[description]" placeholder="Description of your property" type="text">
<i class="fa-info icon"></i>
</div>
</div>
<div class="ui stackable grid">
<div class="nine wide column">
<div class="field">
<label for="property_price">Price</label>
<div class="ui action input rp-bug">
<input id="property_price" name="property[price]" type="text">
<div class="ui button">INR</div>
</div>
</div>
</div>
<div class="seven wide column">
<div class="field">
<label for="property_area">Area</label>
<div class="ui action input rp-bug">
<input id="property_area" name="property[area]" type="text">
<div class="ui button">Sq.ft</div>
</div>
</div>
</div>
</div>
</div>
<div class="eight wide column">
<div class="field">
<label for="property_property_status">Property status</label>
<div class="ui fluid dropdown select selection" tabindex="0"><select id="property_property_status_id" name="property[property_status_id]"><option value="">Select...</option><option selected="selected" value="1">Available</option>
<option value="3">Sold</option>
<option value="2">Blocked</option></select><i class="dropdown icon"></i><div class="text">Available</div><div class="menu" tabindex="-1"><div class="item active selected" data-value="1">Available</div><div class="item" data-value="2">Blocked</div><div class="item" data-value="3">Sold</div></div></div>
</div>
<div class="ui two column stackable grid">
<div class="column">
<div class="field">
<label for="property_bedrooms">Bedrooms</label>
<input id="property_bedrooms" name="property[bedrooms]" type="number">
</div>
<div class="field">
<label for="property_bathrooms">Bathrooms</label>
<input id="property_bathrooms" name="property[bathrooms]" type="number">
</div>
</div>
<div class="column">
<div class="field">
<label for="property_halls">Halls</label>
<input id="property_halls" name="property[halls]" type="number">
</div>
<div class="field">
<label for="property_kitchens">Kitchens</label>
<input id="property_kitchens" name="property[kitchens]" type="number">
</div>
</div>
</div>
</div>
<div class="sixteen wide right aligned column">
<div class="ui buttons">
<div class="ui button rp-property-hide-modal-button">Cancel</div>
<div class="or"></div>
<button class="ui blue labeled icon button right floated" name="button" type="submit"><i class="fa-plus icon"></i>
Create property
</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<!--
</div> -->
<div class="ui modal" id="modalOne">
FIRST MODAL WINDOW
<input type="button" value="+" onclick="openTest()" />
</div>
<div class="ui modal" id="modalTwo">
SECOND MODAL WINDOW
</div>
</body>

5
server/documents/modules/dimmer.html.eco

@ -366,6 +366,11 @@ themes : ['Default']
<th>Description</th>
</thead>
<tbody>
<tr>
<td>dimmerName</td>
<td class="six wide">false</td>
<td>If initializing a dimmer on a <code>dimmable</code> context, you can use <code>dimmerName</code> to distinguish between multiple dimmers in that context.</td>
</tr>
<tr>
<td>closable</td>
<td class="six wide">auto</td>

Loading…
Cancel
Save