-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2.0 - remove autocomplete. add @bindable small to text-widget, curren…
…cy, checkbox.
- Loading branch information
Showing
56 changed files
with
565 additions
and
1,693 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
<template> | ||
<button class="btn btn-link checkbox noselect" click.delegate="checkboxSelected()" focus.bind="grabFocus" disabled.bind="!enabled"> | ||
<div class="checkbox-selector pull-left ${enabled ? 'checkbox-selector-enabled' : 'checkbox-disabled'}"> | ||
<i class="${iconFamilyClass} ${ checked ? checkedIconClass : '' }"></i> | ||
</div> | ||
<div class="checkbox-label ${enabled ? '' : 'text-muted'}"> | ||
<slot><span>${labelText}</span></slot> | ||
</div> | ||
</button> | ||
<div class-name.bind="'form-group ' + (small ? 'form-group-sm' : '')"> | ||
<button click.delegate="checkboxSelected()" focus.bind="grabFocus" disabled.bind="!enabled" class="btn btn-link form-control checkbox noselect"> | ||
<div class="checkbox-selector ${enabled ? 'checkbox-selector-enabled' : 'checkbox-disabled'}"> | ||
<i class="${iconFamilyClass} ${ checked ? checkedIconClass : '' }"></i> | ||
</div> | ||
<div class-name.bind="'checkbox-label ' + (enabled ? '' : 'text-muted')"> | ||
<slot><span>${label}</span></slot> | ||
</div> | ||
</button> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.