Skip to content

Commit

Permalink
Final changes for 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dons20 committed Sep 5, 2017
1 parent f166106 commit 12ae754
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Version 1.2.0 (September 4, 2017)
* Updated a large number of HTML snippets to now use snippet choices in VSCode 1.15+. This allows more variety within a single snippet, and so many redundancies have been removed.
* Please note that a few of the snippet choices will be inactive/slightly bugged until the next VSCode update [due to a bug which has been fixed](https://github.com/Microsoft/vscode/issues/31599) for the next build.
# Version 1.2.0 (September 5, 2017)
* Updated a large number of HTML & JS snippets to now use snippet choices in VSCode 1.15+. This allows more variety within a single snippet, and so many redundancies have been removed.
* Please note that a few of the snippet choices will be inactive/slightly bugged until the August VSCode update [due to a bug which has been fixed](https://github.com/Microsoft/vscode/issues/31599) for the next build.
* A large number of snippets have recieved changes or minor tweaks. There are too many to list in this changelog, but any snippets which include multiple options will now utilize this new system.
* Added new method snippets to JS snippets. (E.g. `uk-modal-methods`, `uk-drop-methods`, etc.)
* Fixed a few broken snippets
## Contributions
* [Ramzi Akremi (@rakr)](https://github.com/rakr): Added support for embedded elixir [PR #9](https://github.com/dons20/UIKit-VSCode/pull/9)
Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,18 @@ Setup
1. With Visual Studio Code opened, press `Ctrl+P`.
2. Type in `ext install uikit-3-snippets` and press `Enter`.

Other Information
---
* Please remember to direct your questions/issues to the [issues page](https://github.com/dons20/UIKit-VSCode/issues) of the repository.
* If you find the plugin helpful, please leave a [positive review](https://marketplace.visualstudio.com/items?itemName=Keno.uikit-3-snippets#review-details) so that others will be more likely to see the plugin as well! Thank you!

Table of Contents
---
* [UIKit 3.0 Snippets](#uikit-30-snippets-for-visual-studio-code)
* [Setup](#setup)
* [Method 1](#method-1)
* [Method 2](#method-2)
* [Other Information](#other-information)
* [Table of Contents](#table-of-contents)
* [Usage](#usage)
* [Contribution Guidelines](#contribution-guidelines)
Expand Down Expand Up @@ -894,6 +899,7 @@ List of Commands (Javascript)
| :-------: | :-----------: |
| uk-accordion | Initializes an accordion element with various options |
| uk-accordion-events | Triggers a function when a specified accordion event is triggered |
| uk-accordion-methods | Showcases the methods available to the accordion component |

### Alert JS
| Trigger | Description |
Expand All @@ -906,6 +912,7 @@ List of Commands (Javascript)
| Trigger | Description |
| :-------: | :-----------: |
| uk-countdown | Initializes a countdown element with various options |
| uk-countdown-methods | Showcases the methods available to the countdown component |

### Cover JS
| Trigger | Description |
Expand All @@ -917,12 +924,14 @@ List of Commands (Javascript)
| :-------: | :-----------: |
| uk-drop | Initializes a drop element with various options |
| uk-drop-events | Triggers a function when a specified drop event is triggered |
| uk-drop-methods | Showcases the methods available to the drop component |

### Dropdown JS
| Trigger | Description |
| :-------: | :-----------: |
| uk-dropdown | Initializes a dropdown element with various options |
| uk-dropdown-events | Triggers a function when a specified dropdown event is triggered |
| uk-dropdown-methods | Showcases the methods available to the dropdown component |

### Form JS
| Trigger | Description |
Expand Down Expand Up @@ -963,6 +972,7 @@ List of Commands (Javascript)
| :-------: | :-----------: |
| uk-modal | Initializes a modal element with various options |
| uk-modal-events | Triggers a function when a specified modal event is triggered |
| uk-modal-methods | Showcases the methods available to the modal component |
| uk-modal-alert | Creates an alert box with one button |
| uk-modal-confirm | Creates a confirm dialog with your message and two buttons |
| uk-modal-prompt | Creates a dialog asking for a text input |
Expand All @@ -973,6 +983,7 @@ List of Commands (Javascript)
| Trigger | Description |
| :-------: | :-----------: |
| uk-nav | Initializes a nav element with various options |
| uk-nav-methods | Showcases the methods available to the nav component |

### Navbar JS
| Trigger | Description |
Expand All @@ -985,12 +996,14 @@ List of Commands (Javascript)
| :-------: | :-----------: |
| uk-notification | Creates a notification with various options |
| uk-notification-events | Triggers a function when a specified notification event is triggered |
| uk-notification-methods | Showcases the methods available to the notification component |

### Offcanvas JS
| Trigger | Description |
| :-------: | :-----------: |
| uk-offcanvas | Initializes a offcanvas element with various options |
| uk-offcanvas-events | Triggers a function when a specified offcanvas event is triggered |
| uk-offcanvas-methods | Showcases the methods available to the offcanvas component |

### Parallax JS
| Trigger | Description |
Expand Down Expand Up @@ -1027,24 +1040,28 @@ List of Commands (Javascript)
| :-------: | :-----------: |
| uk-switcher | Initializes a switcher with various options |
| uk-switcher-events | Triggers a function when a specified switcher event is triggered |
| uk-switcher-methods | Showcases the methods available to the switcher component |

### Tab JS
| Trigger | Description |
| :-------: | :-----------: |
| uk-tab | Initializes a tab with various options |
| uk-tab-events | Triggers a function when a specified tab event is triggered |
| uk-tab-methods | Showcases the methods available to the tab component |

### Toggle JS
| Trigger | Description |
| :-------: | :-----------: |
| uk-toggle | Initializes a toggle with various options |
| uk-toggle-events | Triggers a function when a specified toggle event is triggered |
| uk-toggle-methods | Showcases the methods available to the toggle component |

### Tooltip JS
| Trigger | Description |
| :-------: | :-----------: |
| uk-tooltip | Initializes a tooltip with various options |
| uk-tooltip-events | Triggers a function when a specified tooltip event is triggered |
| uk-tooltip-methods | Showcases the methods available to the tooltip component |

### Upload JS
| Trigger | Description |
Expand Down
18 changes: 18 additions & 0 deletions snippets/javascript.json
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,14 @@
],
"description": "Triggers a function when a specified toggle event is triggered"
},
"snippet-uk-toggle-methods": {
"prefix": "uk-toggle-methods",
"body": [
"//Toggles the Toggle's target",
"UIkit.toggle(${0:element}).toggle();"
],
"description": "Showcases the methods available to the toggle component"
},
"snippet-uk-tooltip": {
"prefix": "uk-tooltip",
"body": [
Expand All @@ -678,6 +686,16 @@
],
"description": "Triggers a function when a specified tooltip event is triggered"
},
"snippet-uk-tooltip-methods": {
"prefix": "uk-tooltip-methods",
"body": [
"//Shows the Tooltip",
"UIkit.tooltip(${1:element}).show();",
"//Hides the Tooltip",
"UIkit.tooltip(${0:element}).hide();"
],
"description": "Showcases the methods available to the tooltip component"
},
"snippet-uk-upload": {
"prefix": "uk-upload",
"body": [
Expand Down

0 comments on commit 12ae754

Please sign in to comment.