Commit Graph

130 Commits

Author SHA1 Message Date
Kevin Ross
a53c454aa5 Resolves #774 is-focused is not checking disabled on inputs 2015-12-09 12:57:24 -06:00
Kevin Ross
141f4063c2 Resolves #772 Inconsistent label highlighting on toggle type controls.
Brought some of the code from v4 to give better highlighting.
2015-12-09 11:24:09 -06:00
Kevin Ross
e0db93b7f5 #760 remove potentially ambiguous import file name 2015-12-07 17:36:35 -06:00
Kevin Ross
d5a31caff7 #759 allow validation to be turned off 2015-12-07 17:19:38 -06:00
Kevin Ross
677e33f4a2 Big refactoring checkpoint (not working yet), much work on web fonts, buttons, and primarily removing superfluous color variations that were generated without need. Variations mixins now require a component to be passed to make sure are generating specific css, and these variation mixins can now be executed from within the context (instead of the outside looking in with a long selector name). 2015-11-23 17:43:41 -06:00
Kevin Ross
a73958ce48 Established grunt docs tasks and custom functions (i.e. generating icon list) 2015-11-20 14:24:39 -06:00
Kevin Ross
6da08062b4 Solves #730 and #636 -
- labels adjusted for horizontal forms, and generic labels now set in inputs.less
- js added to set is-focused on checkbox form-groups when hovering
- markup samples for right, left checkbox labels plus help-blocks
2015-11-20 10:17:12 -06:00
Kevin Ross
1b8e6eed4e remove old commented code. 2015-11-18 20:52:23 -06:00
Kevin Ross
586e4e44f5 Solves #642, note that programmatic change of value requires triggering change event. e.g. $('#i5i').val('').trigger('change')
http://stackoverflow.com/questions/4672505/why-does-the-jquery-change-event-not-trigger-when-i-set-the-value-of-a-select-us
2015-11-18 20:21:55 -06:00
Kevin Ross
c4700eb561 Merge branch 'form-group-label-style' into standardized-form-markup 2015-11-17 15:32:07 -06:00
Kevin Ross
564106a5ec Transitioned label styles to be indicated on the form-group 2015-11-17 15:26:19 -06:00
Kevin Ross
3c6f83dec0 checkpoint before transitioning label styles to form-group 2015-11-17 12:02:44 -06:00
Kevin Ross
d6f0eb8097 Added file input variation samples 2015-11-17 10:18:37 -06:00
Kevin Ross
679c68a107 fixed input-groups and variations 2015-11-11 11:53:16 -06:00
Kevin Ross
77749f353e removed hint class in lieu of standard help-block 2015-11-11 10:35:32 -06:00
Kevin Ross
c104125ff5 standardized on form-group-sm/lg instead of it AND input-sm/lg. Any input-sm/lg is now converted to form-group-* equivalent. Much simpler css and less variants to maintain. 2015-11-10 14:45:08 -06:00
Kevin Ross
593968cf2c fixed legacy floating labels 2015-11-10 14:31:56 -06:00
Kevin Ross
e6432367d9 focus checks apply to all form-controls, not a selected list (left out textarea) 2015-11-10 13:52:59 -06:00
Kevin Ross
23f11eeb7c 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
a1212eea18 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
404f54a5c2 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
eb7efcc48a 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
86f056230b re-refactored inputs.less - this time kept sibling ~ references properly intact 2015-11-06 13:17:17 -06:00
Kevin Ross
f6f608ea4e 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
0caa191354 fix livereload and watch to pickup js changes 2015-11-06 10:41:56 -06:00
Kevin Ross
36896a585b Standardized hints while providing backwards compatibility on data-hint 2015-11-06 10:34:41 -06:00
Kevin Ross
2d52fc271c removed form-control-wrapper in lieu of standard form-group 2015-11-06 10:30:05 -06:00
krzystof
9971d49a0a Fix jshint warnings 2015-10-30 11:47:47 +00:00
krzystof
e7fc2583f8 Fix Main file in package.json 2015-10-30 11:41:45 +00:00
Michał Bagiński
e48f14c3b7 fixed one of the conditions for adding the "empty" CSS class 2015-08-26 18:13:13 +02:00
Michał Bagiński
4c55c30074 fixed the CSS selector 2015-08-22 23:09:49 +02:00
Michał Bagiński
bbb0b115fb 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
689466b1f2 cache $(document) 2015-08-03 22:26:33 +02:00
Denis Ciccale
ca4d08bdda more $(this) caching 2015-08-03 22:16:46 +02:00
Ivan Demidov
df12d42b26 fixed bug not added class empty if input error and empty value 2015-07-24 12:40:07 +03:00
Dmitry Shustov
14196d2e83 Ripples for pagination buttons 2015-05-14 12:59:32 +03:00
LinXitoW
a10f546611 Fix ripple effect for touch devices 2015-04-27 15:51:02 +02:00
mcliment
85643e1593 Don't cancel event chain on mousedown 2015-03-13 13:36:23 +01:00
FezVrasta
13cf2b7d7f improved material checkboxes (CHANGED MARKUP) 2015-03-11 16:45:01 +01:00
jplanells
6e10090a86 Empty check checkValidity null protection
Useful when used against contenteditable divs to avoid exceptions
2015-02-18 13:45:25 +01:00
Fez Vrasta
1775c018be Merge pull request #371 from kmmbvnr/master
Don't set floating label on leave
2015-01-27 12:48:06 +01:00
FezVrasta
8969c06418 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
3537c0c28c 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
be366ac210 Fix(arrive):
- Adds conditions also when using arriveJS
- Includes ripples to the arrive support
2015-01-16 16:37:26 +00:00
FezVrasta
967ec61b0e autofill feature is now set to false by default 2015-01-06 10:28:40 +01:00
FezVrasta
2e6c341399 fixed problems with new ripples.js 2015-01-06 10:25:09 +01:00
FezVrasta
c71b908582 full color palette + ripples.js (WIP) 2014-12-29 14:33:55 +01:00
Guilherme Rv Coelho
2c7650e81a 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
e28ce566e2 Update ripples.js to pass travis validation 2014-12-28 13:52:06 -02:00
Guilherme Rv Coelho
83da3dc0bb Update ripples.js to double quotes 2014-12-28 13:36:55 -02:00