Kevin Ross
21b49987d8
changed empty
to is-empty
. All signaling is now on the form-group - is-empty (was: input.empty) | is-focused (was: input.focus) | has-error (was: input:invalid)
2015-11-10 11:52:15 -06:00
Kevin Ross
3f1e2ef2d1
move to is-focused
instead of .focus
to prevent potential oversight with :focus
. Standardizing styles based on form-group instead of a mixture of input state and form-group state, including validity, which now sets form-group.has-error
2015-11-10 10:26:00 -06:00
Kevin Ross
4d5317e8b8
A lot of work normalizing static control-labels with floating labels. This was primarily achieved by having material.js put the focus on the form-group, and adjusting styles as needed. Also done was a standardization of label/input sizes, and the introduction/testing of standardized form-group sizes.
2015-11-06 16:46:05 -06:00
Kevin Ross
d2cf56d805
due to css ~ adjacent sibling connector, existing <label> elements must be reordered after the input for floating labels to work.
2015-11-06 14:20:23 -06:00
Kevin Ross
eb67cd543f
re-refactored inputs.less - this time kept sibling ~ references properly intact
2015-11-06 13:17:17 -06:00
Kevin Ross
80b47b86fc
Allow elements without form-group for backward compatibility, since it seems feasible at this point.
2015-11-06 11:04:07 -06:00
Kevin Ross
ae4cfbeede
fix livereload and watch to pickup js changes
2015-11-06 10:41:56 -06:00
Kevin Ross
e8bb88c79c
Standardized hints while providing backwards compatibility on data-hint
2015-11-06 10:34:41 -06:00
Kevin Ross
59811e4ca5
removed form-control-wrapper in lieu of standard form-group
2015-11-06 10:30:05 -06:00
krzystof
2b428d85a4
Fix jshint warnings
2015-10-30 11:47:47 +00:00
krzystof
c65200d277
Fix Main file in package.json
2015-10-30 11:41:45 +00:00
Michał Bagiński
adeb169849
fixed one of the conditions for adding the "empty" CSS class
2015-08-26 18:13:13 +02:00
Michał Bagiński
d05bd4c123
fixed the CSS selector
2015-08-22 23:09:49 +02:00
Michał Bagiński
54b79ecd18
attach document-level delegated event handlers only once
...
These handlers were wrongly attached on every input(...) or autofill(...) call, which resulted in redundant attachments in certain scenarios (e.g. when using arrive). Now they are attached only on init().
2015-08-22 16:17:50 +02:00
Denis Ciccale
e249aa948a
cache $(document)
2015-08-03 22:26:33 +02:00
Denis Ciccale
3ae84b8b78
more $(this) caching
2015-08-03 22:16:46 +02:00
Ivan Demidov
1942e766fa
fixed bug not added class empty if input error and empty value
2015-07-24 12:40:07 +03:00
Dmitry Shustov
c033afd722
Ripples for pagination buttons
2015-05-14 12:59:32 +03:00
LinXitoW
25dbdcbdd7
Fix ripple effect for touch devices
2015-04-27 15:51:02 +02:00
mcliment
89bd4056b3
Don't cancel event chain on mousedown
2015-03-13 13:36:23 +01:00
FezVrasta
a0e4a91984
improved material checkboxes (CHANGED MARKUP)
2015-03-11 16:45:01 +01:00
jplanells
dc9a327a3a
Empty check checkValidity null protection
...
Useful when used against contenteditable divs to avoid exceptions
2015-02-18 13:45:25 +01:00
Fez Vrasta
571c727d8c
Merge pull request #371 from kmmbvnr/master
...
Don't set floating label on leave
2015-01-27 12:48:06 +01:00
FezVrasta
dbe4705ef8
Big improvement on input highlight effect.
...
Now inputs doesn't need form-input-wrapper and neither the material-input span to make the animation.
2015-01-26 18:05:46 +01:00
Mikhail Podgurskiy
663c604e7b
Don't set floating label on leave
...
Navigation over empty fields using Tab should not bounce the labels
2015-01-20 07:16:59 +05:00
Unai Recio
47202861d5
Fix(arrive):
...
- Adds conditions also when using arriveJS
- Includes ripples to the arrive support
2015-01-16 16:37:26 +00:00
FezVrasta
f2086a6a4b
autofill feature is now set to false by default
2015-01-06 10:28:40 +01:00
FezVrasta
1f19e97bc3
fixed problems with new ripples.js
2015-01-06 10:25:09 +01:00
FezVrasta
fcd35da52b
full color palette + ripples.js (WIP)
2014-12-29 14:33:55 +01:00
Guilherme Rv Coelho
8160bd63e7
Update ripples.js to allow multiple elements using ripples
...
There was a problem with the last update when two or more elements of the page used the ripple effect. This is fixed with this commit.
2014-12-29 10:30:53 -02:00
Guilherme Rv Coelho
789d3517db
Update ripples.js to pass travis validation
2014-12-28 13:52:06 -02:00
Guilherme Rv Coelho
27d1a7a8e5
Update ripples.js to double quotes
2014-12-28 13:36:55 -02:00
Guilherme Rv Coelho
0de9d60e30
Fix #327 on ripples.js and improve structure
...
I've fixed #327 and I also passed the plugin to a jQuery Boilerplate structure. I only made changes on the structure and not in the functions themselves, so the code could be a little bit neater, cleaner and intuitive.
Now the plugin can be accessed alone, by doing:
```javascript
$(selector).ripples();
```
Note: I've removed the default elements targeted by the plugin, for IMHO I think that should be in the initialization, and not in the plugin itself.
2014-12-28 12:41:17 -02:00
FezVrasta
5964b440d0
implement #304
2014-12-18 12:54:59 +01:00
Kyler Berry
8a2322530d
281 added validity check to floating label conditions for number inputs
2014-12-12 11:41:16 -05:00
Takuya Matsuyama
e6fa76f878
Remove click event
2014-12-08 23:41:25 +09:00
Takuya Matsuyama
238d25244b
rippleOut on click and touchend
2014-12-07 06:02:08 +09:00
FezVrasta
7bfcf96404
fixed inputs
2014-12-04 14:47:42 +01:00
FezVrasta
20268f7f4a
patch for cd55699
2014-12-04 11:35:45 +01:00
FezVrasta
cd55699701
fixed #264 and improved the arrive.js implementation and performances
2014-12-04 11:34:13 +01:00
FezVrasta
6cbb429956
added support to browsers that don't support CSS transitions ( #261 )
2014-12-04 09:24:36 +01:00
FezVrasta
c8a2602508
fixed problem with input file
2014-12-03 16:02:26 +01:00
FezVrasta
29d26bf567
$.ripples is now optional
2014-12-03 09:55:18 +01:00
FezVrasta
84ff0247c6
implemented toggle buttons #248
2014-12-01 13:29:34 +01:00
FezVrasta
d1c75c7321
fixed #244 and #239
2014-12-01 11:59:48 +01:00
FezVrasta
f7e1e44e64
improved mobile compatibility
2014-11-28 09:35:17 +01:00
FezVrasta
fc0fed6eab
Ripples.js rewritten with jQuery + added JS maps
2014-11-26 12:42:41 +01:00
FezVrasta
196ad86f92
fixed #234
2014-11-26 10:18:02 +01:00
FezVrasta
9c1859712a
2nd attempt to fix #161
2014-11-17 10:55:48 +01:00
FezVrasta
2107e1f60a
PR #207
2014-11-17 09:14:41 +01:00