Fabrice Daugan
66864bfb51
Performance and handly usage
2016-11-06 17:00:05 +01:00
Fabrice Daugan
a16b628109
Performance and handly usage
2016-11-06 16:31:43 +01:00
TJ
b6377cd086
fixes cursor style for disabled checkbox and radio
2016-05-22 15:58:36 +05:30
tilwinjoy
2671c73cea
Ripple effect for radio and checkbox with/without formgroup ( #996 )
...
* adding ripple support for radio without form group
* adding ripple support for checkbox outside .formgroup
* nesting selectors for better readability and removing unused code
2016-05-09 09:56:11 -05:00
tilwinjoy
7414cd029d
adds support for inline radio
2016-04-26 12:23:50 +05:30
tilwinjoy
8cc05fab34
adds support for inline checkbox
2016-04-26 12:23:50 +05:30
FezVrasta
920877888f
removed useless material-input
element
2016-04-19 11:50:09 +02:00
Sergey Khval
dda38c7266
Fix #880 , hidden inputs are not wrapped with form-group
2016-02-27 00:22:32 +03:00
Kevin Ross
f019b3f3d5
See #783 - validity should have no bearing on marking something as empty or not. Already fixed in v4.
2015-12-13 19:51:57 -06:00
Kevin Ross
8bec58172c
Merge and dist
2015-12-13 19:38:09 -06:00
Kevin Ross
6ec039b5df
Ignore invalid key codes for isChar
2015-12-13 19:28:39 -06:00
Kevin Ross
75e432ebef
Resolves #774 is-focused is not checking disabled on inputs
2015-12-09 12:57:24 -06:00
Kevin Ross
816ad80cc5
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
0c1ddfc073
#760 remove potentially ambiguous import file name
2015-12-07 17:36:35 -06:00
Kevin Ross
62cdb564fc
#759 allow validation to be turned off
2015-12-07 17:19:38 -06:00
Kevin Ross
a48afdaa8f
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
d1b3f851ef
Established grunt docs tasks and custom functions (i.e. generating icon list)
2015-11-20 14:24:39 -06:00
Kevin Ross
566453f56d
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
e5964ceb52
remove old commented code.
2015-11-18 20:52:23 -06:00
Kevin Ross
af2e21af87
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
daa68e6624
Merge branch 'form-group-label-style' into standardized-form-markup
2015-11-17 15:32:07 -06:00
Kevin Ross
52a1abf5d7
Transitioned label styles to be indicated on the form-group
2015-11-17 15:26:19 -06:00
Kevin Ross
8ebf124500
checkpoint before transitioning label styles to form-group
2015-11-17 12:02:44 -06:00
Kevin Ross
e503baf285
Added file input variation samples
2015-11-17 10:18:37 -06:00
Kevin Ross
4996435adb
fixed input-groups and variations
2015-11-11 11:53:16 -06:00
Kevin Ross
fd402445e1
removed hint
class in lieu of standard help-block
2015-11-11 10:35:32 -06:00
Kevin Ross
04aee4062e
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
9526778842
fixed legacy floating labels
2015-11-10 14:31:56 -06:00
Kevin Ross
8a6457acc0
focus checks apply to all form-controls, not a selected list (left out textarea)
2015-11-10 13:52:59 -06:00
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