@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.
- package/Gruntfile.js +712 -708
- package/LICENSE +0 -0
- package/README.md +1 -7
- package/dist/css/materialize.css +8671 -8627
- package/dist/css/materialize.min.css +3 -3
- package/dist/js/materialize.js +11706 -11559
- package/dist/js/materialize.min.js +2 -2
- package/extras/noUiSlider/nouislider.css +2 -4
- package/extras/noUiSlider/nouislider.js +0 -0
- package/extras/noUiSlider/nouislider.min.js +0 -0
- package/js/anime.min.js +0 -0
- package/js/autocomplete.js +0 -0
- package/js/buttons.js +0 -0
- package/js/cards.js +0 -0
- package/js/carousel.js +0 -0
- package/js/cash.js +0 -0
- package/js/characterCounter.js +0 -0
- package/js/chips.js +0 -0
- package/js/collapsible.js +0 -0
- package/js/component.js +0 -0
- package/js/datepicker.js +0 -0
- package/js/dropdown.js +0 -0
- package/js/forms.js +22 -12
- package/js/global.js +11 -7
- package/js/materialbox.js +0 -0
- package/js/modal.js +0 -0
- package/js/parallax.js +0 -0
- package/js/pushpin.js +0 -0
- package/js/range.js +0 -0
- package/js/scrollspy.js +0 -0
- package/js/select.js +90 -9
- package/js/sidenav.js +0 -0
- package/js/slider.js +0 -0
- package/js/tabs.js +0 -0
- package/js/tapTarget.js +0 -0
- package/js/timepicker.js +82 -18
- package/js/toasts.js +3 -0
- package/js/tooltip.js +0 -0
- package/js/waves.js +0 -0
- package/package.json +8 -6
- package/sass/_style.scss +0 -0
- package/sass/components/_badges.scss +0 -0
- package/sass/components/_buttons.scss +0 -0
- package/sass/components/_cards.scss +0 -0
- package/sass/components/_carousel.scss +0 -0
- package/sass/components/_chips.scss +0 -0
- package/sass/components/_collapsible.scss +0 -0
- package/sass/components/_collection.scss +0 -0
- package/sass/components/_color-classes.scss +0 -0
- package/sass/components/_color-variables.scss +0 -0
- package/sass/components/_datepicker.scss +0 -0
- package/sass/components/_dropdown.scss +0 -0
- package/sass/components/_global.scss +4 -0
- package/sass/components/_grid.scss +0 -0
- package/sass/components/_icons-material-design.scss +0 -0
- package/sass/components/_materialbox.scss +0 -0
- package/sass/components/_modal.scss +0 -0
- package/sass/components/_navbar.scss +0 -0
- package/sass/components/_normalize.scss +0 -0
- package/sass/components/_preloader.scss +0 -0
- package/sass/components/_pulse.scss +0 -0
- package/sass/components/_sidenav.scss +0 -0
- package/sass/components/_slider.scss +0 -0
- package/sass/components/_table_of_contents.scss +0 -0
- package/sass/components/_tabs.scss +0 -0
- package/sass/components/_tapTarget.scss +0 -0
- package/sass/components/_timepicker.scss +27 -11
- package/sass/components/_toast.scss +0 -0
- package/sass/components/_tooltip.scss +0 -0
- package/sass/components/_transitions.scss +0 -0
- package/sass/components/_typography.scss +0 -0
- package/sass/components/_variables.scss +0 -0
- package/sass/components/_waves.scss +0 -0
- package/sass/components/forms/_checkboxes.scss +0 -0
- package/sass/components/forms/_file-input.scss +0 -0
- package/sass/components/forms/_forms.scss +0 -0
- package/sass/components/forms/_input-fields.scss +9 -0
- package/sass/components/forms/_radio-buttons.scss +0 -0
- package/sass/components/forms/_range.scss +0 -0
- package/sass/components/forms/_select.scss +0 -0
- package/sass/components/forms/_switches.scss +0 -0
- package/sass/ghpages-materialize.scss +0 -0
- 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.
|
|
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
|
|
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/
|
|
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": "^
|
|
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.
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
|
|
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-
|
|
37
|
-
.timepicker-
|
|
45
|
+
.timepicker-input-hours,
|
|
46
|
+
.timepicker-input-minutes,
|
|
38
47
|
.timepicker-span-am-pm div {
|
|
39
|
-
|
|
48
|
+
cursor: pointer;
|
|
40
49
|
}
|
|
41
50
|
|
|
42
|
-
.timepicker-
|
|
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-
|
|
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
|
package/sass/materialize.scss
CHANGED
|
File without changes
|