@materializecss/materialize 1.1.0-alpha → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/Gruntfile.js +712 -725
  2. package/LICENSE +21 -21
  3. package/README.md +91 -97
  4. package/dist/css/materialize.css +659 -1140
  5. package/dist/css/materialize.min.css +7 -7
  6. package/dist/js/materialize.js +4679 -4654
  7. package/dist/js/materialize.min.js +6 -6
  8. package/extras/noUiSlider/nouislider.css +404 -406
  9. package/extras/noUiSlider/nouislider.js +2147 -2147
  10. package/js/anime.min.js +34 -34
  11. package/js/autocomplete.js +479 -479
  12. package/js/buttons.js +354 -354
  13. package/js/cards.js +40 -40
  14. package/js/carousel.js +732 -717
  15. package/js/cash.js +960 -960
  16. package/js/characterCounter.js +136 -136
  17. package/js/chips.js +486 -486
  18. package/js/collapsible.js +275 -275
  19. package/js/component.js +44 -44
  20. package/js/datepicker.js +983 -976
  21. package/js/dropdown.js +669 -668
  22. package/js/forms.js +285 -275
  23. package/js/global.js +428 -424
  24. package/js/materialbox.js +453 -453
  25. package/js/modal.js +382 -382
  26. package/js/parallax.js +138 -138
  27. package/js/pushpin.js +148 -148
  28. package/js/range.js +263 -263
  29. package/js/scrollspy.js +295 -295
  30. package/js/select.js +391 -451
  31. package/js/sidenav.js +583 -583
  32. package/js/slider.js +359 -359
  33. package/js/tabs.js +402 -402
  34. package/js/tapTarget.js +315 -315
  35. package/js/timepicker.js +712 -647
  36. package/js/toasts.js +325 -322
  37. package/js/tooltip.js +320 -320
  38. package/js/waves.js +614 -614
  39. package/package.json +84 -74
  40. package/sass/_style.scss +929 -0
  41. package/sass/components/_badges.scss +55 -55
  42. package/sass/components/_buttons.scss +322 -322
  43. package/sass/components/_cards.scss +195 -195
  44. package/sass/components/_carousel.scss +90 -90
  45. package/sass/components/_chips.scss +96 -96
  46. package/sass/components/_collapsible.scss +91 -91
  47. package/sass/components/_collection.scss +107 -0
  48. package/sass/components/_color-classes.scss +32 -32
  49. package/sass/components/_color-variables.scss +370 -370
  50. package/sass/components/_datepicker.scss +191 -191
  51. package/sass/components/_dropdown.scss +84 -84
  52. package/sass/components/_global.scss +646 -771
  53. package/sass/components/_grid.scss +158 -156
  54. package/sass/components/_icons-material-design.scss +5 -5
  55. package/sass/components/_materialbox.scss +42 -42
  56. package/sass/components/_modal.scss +97 -97
  57. package/sass/components/_navbar.scss +208 -208
  58. package/sass/components/_normalize.scss +447 -447
  59. package/sass/components/_preloader.scss +334 -334
  60. package/sass/components/_pulse.scss +34 -34
  61. package/sass/components/_sidenav.scss +214 -214
  62. package/sass/components/_slider.scss +91 -91
  63. package/sass/components/_table_of_contents.scss +33 -33
  64. package/sass/components/_tabs.scss +99 -99
  65. package/sass/components/_tapTarget.scss +103 -103
  66. package/sass/components/_timepicker.scss +199 -183
  67. package/sass/components/_toast.scss +58 -58
  68. package/sass/components/_tooltip.scss +32 -32
  69. package/sass/components/_transitions.scss +12 -12
  70. package/sass/components/_typography.scss +62 -60
  71. package/sass/components/_variables.scss +352 -349
  72. package/sass/components/_waves.scss +187 -187
  73. package/sass/components/forms/_checkboxes.scss +200 -200
  74. package/sass/components/forms/_file-input.scss +44 -44
  75. package/sass/components/forms/_forms.scss +22 -22
  76. package/sass/components/forms/_input-fields.scss +388 -379
  77. package/sass/components/forms/_radio-buttons.scss +115 -115
  78. package/sass/components/forms/_range.scss +161 -161
  79. package/sass/components/forms/_select.scss +199 -199
  80. package/sass/components/forms/_switches.scss +91 -91
  81. package/sass/ghpages-materialize.scss +7 -0
  82. package/sass/materialize.scss +42 -41
  83. package/CHANGELOG.md +0 -76
  84. package/HISTORY.md +0 -527
@@ -1,187 +1,187 @@
1
- /*!
2
- * Waves v0.7.6
3
- * http://fian.my.id/Waves
4
- *
5
- * Copyright 2014-2018 Alfiana E. Sibuea and other contributors
6
- * Released under the MIT license
7
- * https://github.com/fians/Waves/blob/master/LICENSE */
8
-
9
- @mixin waves-transition($transition){
10
- -webkit-transition: $transition;
11
- -moz-transition: $transition;
12
- -o-transition: $transition;
13
- transition: $transition;
14
- }
15
-
16
- @mixin waves-transform($string){
17
- -webkit-transform: $string;
18
- -moz-transform: $string;
19
- -ms-transform: $string;
20
- -o-transform: $string;
21
- transform: $string;
22
- }
23
-
24
- @mixin waves-box-shadow($shadow){
25
- -webkit-box-shadow: $shadow;
26
- box-shadow: $shadow;
27
- }
28
-
29
- .waves-effect {
30
- position: relative;
31
- cursor: pointer;
32
- display: inline-block;
33
- overflow: hidden;
34
- -webkit-user-select: none;
35
- -moz-user-select: none;
36
- -ms-user-select: none;
37
- user-select: none;
38
- -webkit-tap-highlight-color: transparent;
39
-
40
- .waves-ripple {
41
- position: absolute;
42
- border-radius: 50%;
43
- width: 100px;
44
- height: 100px;
45
- margin-top:-50px;
46
- margin-left:-50px;
47
- opacity: 0;
48
- background: rgba(0,0,0,0.2);
49
- $gradient: rgba(0,0,0,0.2) 0,rgba(0,0,0,.3) 40%,rgba(0,0,0,.4) 50%,rgba(0,0,0,.5) 60%,rgba(255,255,255,0) 70%;
50
- background: -webkit-radial-gradient($gradient);
51
- background: -o-radial-gradient($gradient);
52
- background: -moz-radial-gradient($gradient);
53
- background: radial-gradient($gradient);
54
- @include waves-transition(all 0.5s ease-out);
55
- -webkit-transition-property: -webkit-transform, opacity;
56
- -moz-transition-property: -moz-transform, opacity;
57
- -o-transition-property: -o-transform, opacity;
58
- transition-property: transform, opacity;
59
- @include waves-transform(scale(0) translate(0,0));
60
- pointer-events: none;
61
- }
62
-
63
- &.waves-light .waves-ripple {
64
- background: rgba(255,255,255,0.4);
65
- $gradient: rgba(255,255,255,0.2) 0,rgba(255,255,255,.3) 40%,rgba(255,255,255,.4) 50%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 70%;
66
- background: -webkit-radial-gradient($gradient);
67
- background: -o-radial-gradient($gradient);
68
- background: -moz-radial-gradient($gradient);
69
- background: radial-gradient($gradient);
70
- }
71
-
72
- &.waves-classic .waves-ripple {
73
- background: rgba(0,0,0,0.2);
74
- }
75
-
76
- &.waves-classic.waves-light .waves-ripple {
77
- background: rgba(255,255,255,0.4);
78
- }
79
-
80
- // Waves Colors
81
- &.waves-light .waves-ripple {
82
- background-color: rgba(255, 255, 255, 0.45);
83
- }
84
- &.waves-red .waves-ripple {
85
- background-color: rgba(244, 67, 54, .70);
86
- }
87
- &.waves-yellow .waves-ripple {
88
- background-color: rgba(255, 235, 59, .70);
89
- }
90
- &.waves-orange .waves-ripple {
91
- background-color: rgba(255, 152, 0, .70);
92
- }
93
- &.waves-purple .waves-ripple {
94
- background-color: rgba(156, 39, 176, 0.70);
95
- }
96
- &.waves-green .waves-ripple {
97
- background-color: rgba(76, 175, 80, 0.70);
98
- }
99
- &.waves-teal .waves-ripple {
100
- background-color: rgba(0, 150, 136, 0.70);
101
- }
102
-
103
- // Style input button bug.
104
- input[type="button"], input[type="reset"], input[type="submit"] {
105
- border: 0;
106
- font-style: normal;
107
- font-size: inherit;
108
- text-transform: inherit;
109
- background: none;
110
- }
111
- }
112
-
113
- .waves-notransition {
114
- @include waves-transition(none #{"!important"});
115
- }
116
-
117
- .waves-button,
118
- .waves-circle {
119
- @include waves-transform(translateZ(0));
120
- -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
121
- }
122
-
123
- .waves-button,
124
- .waves-button:hover,
125
- .waves-button:visited,
126
- .waves-button-input {
127
- white-space: nowrap;
128
- vertical-align: middle;
129
- cursor: pointer;
130
- border: none;
131
- outline: none;
132
- color: inherit;
133
- background-color: rgba(0, 0, 0, 0);
134
- font-size: 1em;
135
- line-height:1em;
136
- text-align: center;
137
- text-decoration: none;
138
- z-index: 1;
139
- }
140
-
141
- .waves-button {
142
- padding: 0.85em 1.1em;
143
- border-radius: 0.2em;
144
- }
145
-
146
- .waves-button-input {
147
- margin: 0;
148
- padding: 0.85em 1.1em;
149
- }
150
-
151
- .waves-input-wrapper {
152
- border-radius: 0.2em;
153
- vertical-align: bottom;
154
-
155
- &.waves-button {
156
- padding: 0;
157
- }
158
-
159
- .waves-button-input {
160
- position: relative;
161
- top: 0;
162
- left: 0;
163
- z-index: 1;
164
- }
165
- }
166
-
167
- .waves-circle {
168
- text-align: center;
169
- width: 2.5em;
170
- height: 2.5em;
171
- line-height: 2.5em;
172
- border-radius: 50%;
173
- }
174
-
175
- .waves-float {
176
- -webkit-mask-image: none;
177
- @include waves-box-shadow(0px 1px 1.5px 1px rgba(0, 0, 0, 0.12));
178
- @include waves-transition(all 300ms);
179
-
180
- &:active {
181
- @include waves-box-shadow(0px 8px 20px 1px rgba(0, 0, 0, 0.30));
182
- }
183
- }
184
-
185
- .waves-block {
186
- display: block;
187
- }
1
+ /*!
2
+ * Waves v0.7.6
3
+ * http://fian.my.id/Waves
4
+ *
5
+ * Copyright 2014-2018 Alfiana E. Sibuea and other contributors
6
+ * Released under the MIT license
7
+ * https://github.com/fians/Waves/blob/master/LICENSE */
8
+
9
+ @mixin waves-transition($transition){
10
+ -webkit-transition: $transition;
11
+ -moz-transition: $transition;
12
+ -o-transition: $transition;
13
+ transition: $transition;
14
+ }
15
+
16
+ @mixin waves-transform($string){
17
+ -webkit-transform: $string;
18
+ -moz-transform: $string;
19
+ -ms-transform: $string;
20
+ -o-transform: $string;
21
+ transform: $string;
22
+ }
23
+
24
+ @mixin waves-box-shadow($shadow){
25
+ -webkit-box-shadow: $shadow;
26
+ box-shadow: $shadow;
27
+ }
28
+
29
+ .waves-effect {
30
+ position: relative;
31
+ cursor: pointer;
32
+ display: inline-block;
33
+ overflow: hidden;
34
+ -webkit-user-select: none;
35
+ -moz-user-select: none;
36
+ -ms-user-select: none;
37
+ user-select: none;
38
+ -webkit-tap-highlight-color: transparent;
39
+
40
+ .waves-ripple {
41
+ position: absolute;
42
+ border-radius: 50%;
43
+ width: 100px;
44
+ height: 100px;
45
+ margin-top:-50px;
46
+ margin-left:-50px;
47
+ opacity: 0;
48
+ background: rgba(0,0,0,0.2);
49
+ $gradient: rgba(0,0,0,0.2) 0,rgba(0,0,0,.3) 40%,rgba(0,0,0,.4) 50%,rgba(0,0,0,.5) 60%,rgba(255,255,255,0) 70%;
50
+ background: -webkit-radial-gradient($gradient);
51
+ background: -o-radial-gradient($gradient);
52
+ background: -moz-radial-gradient($gradient);
53
+ background: radial-gradient($gradient);
54
+ @include waves-transition(all 0.5s ease-out);
55
+ -webkit-transition-property: -webkit-transform, opacity;
56
+ -moz-transition-property: -moz-transform, opacity;
57
+ -o-transition-property: -o-transform, opacity;
58
+ transition-property: transform, opacity;
59
+ @include waves-transform(scale(0) translate(0,0));
60
+ pointer-events: none;
61
+ }
62
+
63
+ &.waves-light .waves-ripple {
64
+ background: rgba(255,255,255,0.4);
65
+ $gradient: rgba(255,255,255,0.2) 0,rgba(255,255,255,.3) 40%,rgba(255,255,255,.4) 50%,rgba(255,255,255,.5) 60%,rgba(255,255,255,0) 70%;
66
+ background: -webkit-radial-gradient($gradient);
67
+ background: -o-radial-gradient($gradient);
68
+ background: -moz-radial-gradient($gradient);
69
+ background: radial-gradient($gradient);
70
+ }
71
+
72
+ &.waves-classic .waves-ripple {
73
+ background: rgba(0,0,0,0.2);
74
+ }
75
+
76
+ &.waves-classic.waves-light .waves-ripple {
77
+ background: rgba(255,255,255,0.4);
78
+ }
79
+
80
+ // Waves Colors
81
+ &.waves-light .waves-ripple {
82
+ background-color: rgba(255, 255, 255, 0.45);
83
+ }
84
+ &.waves-red .waves-ripple {
85
+ background-color: rgba(244, 67, 54, .70);
86
+ }
87
+ &.waves-yellow .waves-ripple {
88
+ background-color: rgba(255, 235, 59, .70);
89
+ }
90
+ &.waves-orange .waves-ripple {
91
+ background-color: rgba(255, 152, 0, .70);
92
+ }
93
+ &.waves-purple .waves-ripple {
94
+ background-color: rgba(156, 39, 176, 0.70);
95
+ }
96
+ &.waves-green .waves-ripple {
97
+ background-color: rgba(76, 175, 80, 0.70);
98
+ }
99
+ &.waves-teal .waves-ripple {
100
+ background-color: rgba(0, 150, 136, 0.70);
101
+ }
102
+
103
+ // Style input button bug.
104
+ input[type="button"], input[type="reset"], input[type="submit"] {
105
+ border: 0;
106
+ font-style: normal;
107
+ font-size: inherit;
108
+ text-transform: inherit;
109
+ background: none;
110
+ }
111
+ }
112
+
113
+ .waves-notransition {
114
+ @include waves-transition(none #{"!important"});
115
+ }
116
+
117
+ .waves-button,
118
+ .waves-circle {
119
+ @include waves-transform(translateZ(0));
120
+ -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
121
+ }
122
+
123
+ .waves-button,
124
+ .waves-button:hover,
125
+ .waves-button:visited,
126
+ .waves-button-input {
127
+ white-space: nowrap;
128
+ vertical-align: middle;
129
+ cursor: pointer;
130
+ border: none;
131
+ outline: none;
132
+ color: inherit;
133
+ background-color: rgba(0, 0, 0, 0);
134
+ font-size: 1em;
135
+ line-height:1em;
136
+ text-align: center;
137
+ text-decoration: none;
138
+ z-index: 1;
139
+ }
140
+
141
+ .waves-button {
142
+ padding: 0.85em 1.1em;
143
+ border-radius: 0.2em;
144
+ }
145
+
146
+ .waves-button-input {
147
+ margin: 0;
148
+ padding: 0.85em 1.1em;
149
+ }
150
+
151
+ .waves-input-wrapper {
152
+ border-radius: 0.2em;
153
+ vertical-align: bottom;
154
+
155
+ &.waves-button {
156
+ padding: 0;
157
+ }
158
+
159
+ .waves-button-input {
160
+ position: relative;
161
+ top: 0;
162
+ left: 0;
163
+ z-index: 1;
164
+ }
165
+ }
166
+
167
+ .waves-circle {
168
+ text-align: center;
169
+ width: 2.5em;
170
+ height: 2.5em;
171
+ line-height: 2.5em;
172
+ border-radius: 50%;
173
+ }
174
+
175
+ .waves-float {
176
+ -webkit-mask-image: none;
177
+ @include waves-box-shadow(0px 1px 1.5px 1px rgba(0, 0, 0, 0.12));
178
+ @include waves-transition(all 300ms);
179
+
180
+ &:active {
181
+ @include waves-box-shadow(0px 8px 20px 1px rgba(0, 0, 0, 0.30));
182
+ }
183
+ }
184
+
185
+ .waves-block {
186
+ display: block;
187
+ }