@materializecss/materialize 1.1.0 → 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 (83) hide show
  1. package/Gruntfile.js +712 -708
  2. package/LICENSE +0 -0
  3. package/README.md +1 -7
  4. package/dist/css/materialize.css +8671 -8627
  5. package/dist/css/materialize.min.css +3 -3
  6. package/dist/js/materialize.js +11706 -11559
  7. package/dist/js/materialize.min.js +2 -2
  8. package/extras/noUiSlider/nouislider.css +2 -4
  9. package/extras/noUiSlider/nouislider.js +0 -0
  10. package/extras/noUiSlider/nouislider.min.js +0 -0
  11. package/js/anime.min.js +0 -0
  12. package/js/autocomplete.js +0 -0
  13. package/js/buttons.js +0 -0
  14. package/js/cards.js +0 -0
  15. package/js/carousel.js +0 -0
  16. package/js/cash.js +0 -0
  17. package/js/characterCounter.js +0 -0
  18. package/js/chips.js +0 -0
  19. package/js/collapsible.js +0 -0
  20. package/js/component.js +0 -0
  21. package/js/datepicker.js +0 -0
  22. package/js/dropdown.js +0 -0
  23. package/js/forms.js +22 -12
  24. package/js/global.js +11 -7
  25. package/js/materialbox.js +0 -0
  26. package/js/modal.js +0 -0
  27. package/js/parallax.js +0 -0
  28. package/js/pushpin.js +0 -0
  29. package/js/range.js +0 -0
  30. package/js/scrollspy.js +0 -0
  31. package/js/select.js +90 -9
  32. package/js/sidenav.js +0 -0
  33. package/js/slider.js +0 -0
  34. package/js/tabs.js +0 -0
  35. package/js/tapTarget.js +0 -0
  36. package/js/timepicker.js +82 -18
  37. package/js/toasts.js +3 -0
  38. package/js/tooltip.js +0 -0
  39. package/js/waves.js +0 -0
  40. package/package.json +8 -6
  41. package/sass/_style.scss +0 -0
  42. package/sass/components/_badges.scss +0 -0
  43. package/sass/components/_buttons.scss +0 -0
  44. package/sass/components/_cards.scss +0 -0
  45. package/sass/components/_carousel.scss +0 -0
  46. package/sass/components/_chips.scss +0 -0
  47. package/sass/components/_collapsible.scss +0 -0
  48. package/sass/components/_collection.scss +0 -0
  49. package/sass/components/_color-classes.scss +0 -0
  50. package/sass/components/_color-variables.scss +0 -0
  51. package/sass/components/_datepicker.scss +0 -0
  52. package/sass/components/_dropdown.scss +0 -0
  53. package/sass/components/_global.scss +4 -0
  54. package/sass/components/_grid.scss +0 -0
  55. package/sass/components/_icons-material-design.scss +0 -0
  56. package/sass/components/_materialbox.scss +0 -0
  57. package/sass/components/_modal.scss +0 -0
  58. package/sass/components/_navbar.scss +0 -0
  59. package/sass/components/_normalize.scss +0 -0
  60. package/sass/components/_preloader.scss +0 -0
  61. package/sass/components/_pulse.scss +0 -0
  62. package/sass/components/_sidenav.scss +0 -0
  63. package/sass/components/_slider.scss +0 -0
  64. package/sass/components/_table_of_contents.scss +0 -0
  65. package/sass/components/_tabs.scss +0 -0
  66. package/sass/components/_tapTarget.scss +0 -0
  67. package/sass/components/_timepicker.scss +27 -11
  68. package/sass/components/_toast.scss +0 -0
  69. package/sass/components/_tooltip.scss +0 -0
  70. package/sass/components/_transitions.scss +0 -0
  71. package/sass/components/_typography.scss +0 -0
  72. package/sass/components/_variables.scss +0 -0
  73. package/sass/components/_waves.scss +0 -0
  74. package/sass/components/forms/_checkboxes.scss +0 -0
  75. package/sass/components/forms/_file-input.scss +0 -0
  76. package/sass/components/forms/_forms.scss +0 -0
  77. package/sass/components/forms/_input-fields.scss +9 -0
  78. package/sass/components/forms/_radio-buttons.scss +0 -0
  79. package/sass/components/forms/_range.scss +0 -0
  80. package/sass/components/forms/_select.scss +0 -0
  81. package/sass/components/forms/_switches.scss +0 -0
  82. package/sass/ghpages-materialize.scss +0 -0
  83. package/sass/materialize.scss +0 -0
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Builds Materialize distribution packages",
4
4
  "author": "Alvin Wang, Alan Chang",
5
5
  "homepage": "https://materializecss.github.io/materialize/",
6
- "version": "1.1.0",
6
+ "version": "1.2.0",
7
7
  "main": "dist/js/materialize.js",
8
8
  "style": "dist/css/materialize.css",
9
9
  "sass": "sass/materialize.scss",
@@ -17,11 +17,12 @@
17
17
  },
18
18
  "scripts": {
19
19
  "dev": "grunt monitor",
20
- "test": "grunt travis",
20
+ "test": "grunt test",
21
21
  "release": "grunt release",
22
22
  "precommit": "lint-staged",
23
23
  "docs": "grunt docs",
24
- "commit": "npx cz"
24
+ "commit": "npx cz",
25
+ "postinstall": "husky install"
25
26
  },
26
27
  "lint-staged": {
27
28
  "js/*.js": [
@@ -31,11 +32,12 @@
31
32
  },
32
33
  "engine": "node >= 6",
33
34
  "devDependencies": {
34
- "@commitlint/config-conventional": "^12.1.1",
35
+ "@commitlint/cli": "^17.0.3",
36
+ "@commitlint/config-conventional": "^17.0.3",
35
37
  "autoprefixer": "^7.1.1",
36
38
  "babel-plugin-transform-object-rest-spread": "^6.26.0",
37
39
  "babel-preset-es2015": "^6.24.1",
38
- "commitlint": "^12.1.1",
40
+ "commitlint": "^17.0.3",
39
41
  "cz-conventional-changelog": "^3.3.0",
40
42
  "grunt": "^1.0.1",
41
43
  "grunt-babel": "^6.0.0",
@@ -57,7 +59,7 @@
57
59
  "grunt-rename-util": "^1.0.0",
58
60
  "grunt-sass": "^3.1.0",
59
61
  "grunt-text-replace": "^0.4.0",
60
- "husky": "^0.14.3",
62
+ "husky": "^8.0.1",
61
63
  "jasmine": "^3.8.0",
62
64
  "jquery": "^3.2.1",
63
65
  "lint-staged": "^7.0.5",
package/sass/_style.scss CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -398,6 +398,10 @@ table {
398
398
  tr {
399
399
  border-bottom: none;
400
400
  }
401
+
402
+ > tbody > tr:nth-child(odd) {
403
+ background-color: $table-striped-color;
404
+ }
401
405
  }
402
406
 
403
407
  &.highlight > tbody > tr {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -11,12 +11,13 @@
11
11
  }
12
12
 
13
13
  .text-primary {
14
- color: rgba(255, 255, 255, 1);
14
+ color: rgba(255, 255, 255, 1);
15
15
  }
16
16
 
17
17
 
18
18
  /* Clock Digital Display */
19
19
  .timepicker-digital-display {
20
+ width: 200px;
20
21
  flex: 1 auto;
21
22
  background-color: $secondary-color;
22
23
  padding: 10px;
@@ -24,29 +25,44 @@
24
25
  }
25
26
 
26
27
  .timepicker-text-container {
27
- font-size: 4rem;
28
- font-weight: bold;
29
- text-align: center;
30
- color: rgba(255, 255, 255, 0.6);
28
+ font-size: 4rem;
29
+ font-weight: bold;
30
+ text-align: center;
31
+ color: rgba(255, 255, 255, 0.6);
31
32
  font-weight: 400;
32
- position: relative;
33
+ position: relative;
33
34
  user-select: none;
35
+
36
+ input[type=text]{
37
+ height: 4rem;
38
+ color: rgba(255, 255, 255, 0.6);
39
+ border-bottom: 0px;
40
+ font-size: 4rem;
41
+ direction: ltr;
42
+ }
34
43
  }
35
44
 
36
- .timepicker-span-hours,
37
- .timepicker-span-minutes,
45
+ .timepicker-input-hours,
46
+ .timepicker-input-minutes,
38
47
  .timepicker-span-am-pm div {
39
- cursor: pointer;
48
+ cursor: pointer;
40
49
  }
41
50
 
42
- .timepicker-span-hours {
51
+ input[type=text].timepicker-input-hours {
52
+ text-align: right;
53
+ width: 28%;
43
54
  margin-right: 3px;
44
55
  }
45
56
 
46
- .timepicker-span-minutes {
57
+ input[type=text].timepicker-input-minutes {
58
+ width: 33%;
47
59
  margin-left: 3px;
48
60
  }
49
61
 
62
+ input[type=text].text-primary {
63
+ color: rgba(255, 255, 255, 1);
64
+ }
65
+
50
66
  .timepicker-display-am-pm {
51
67
  font-size: 1.3rem;
52
68
  position: absolute;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -18,6 +18,7 @@ input[type=time]:not(.browser-default),
18
18
  input[type=date]:not(.browser-default),
19
19
  input[type=datetime]:not(.browser-default),
20
20
  input[type=datetime-local]:not(.browser-default),
21
+ input[type=month]:not(.browser-default),
21
22
  input[type=tel]:not(.browser-default),
22
23
  input[type=number]:not(.browser-default),
23
24
  input[type=search]:not(.browser-default),
@@ -193,6 +194,14 @@ textarea.materialize-textarea {
193
194
  transform: translateY(-14px) scale(.8);
194
195
  transform-origin: 0 0;
195
196
  }
197
+
198
+ // Prevent label from floating on top of default HTML placeholders
199
+ &:not(.active) + input[type=date],
200
+ &:not(.active) + input[type=datetime-local],
201
+ &:not(.active) + input[type=month],
202
+ &:not(.active) + input[type=time] {
203
+ color: transparent;
204
+ }
196
205
  }
197
206
 
198
207
  // Autofill + date + time inputs
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes