@materializecss/materialize 1.1.0-alpha → 1.1.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 +115 -132
- package/LICENSE +21 -21
- package/README.md +97 -97
- package/dist/css/materialize.css +8462 -8987
- package/dist/css/materialize.min.css +7 -7
- package/dist/js/materialize.js +12669 -12791
- package/dist/js/materialize.min.js +6 -6
- package/extras/noUiSlider/nouislider.css +406 -406
- package/extras/noUiSlider/nouislider.js +2147 -2147
- package/extras/noUiSlider/nouislider.min.js +0 -0
- package/js/anime.min.js +34 -34
- package/js/autocomplete.js +479 -479
- package/js/buttons.js +354 -354
- package/js/cards.js +40 -40
- package/js/carousel.js +732 -717
- package/js/cash.js +960 -960
- package/js/characterCounter.js +136 -136
- package/js/chips.js +486 -486
- package/js/collapsible.js +275 -275
- package/js/component.js +44 -44
- package/js/datepicker.js +983 -976
- package/js/dropdown.js +669 -668
- package/js/forms.js +275 -275
- package/js/global.js +424 -424
- package/js/materialbox.js +453 -453
- package/js/modal.js +382 -382
- package/js/parallax.js +138 -138
- package/js/pushpin.js +148 -148
- package/js/range.js +263 -263
- package/js/scrollspy.js +295 -295
- package/js/select.js +310 -451
- package/js/sidenav.js +583 -583
- package/js/slider.js +359 -359
- package/js/tabs.js +402 -402
- package/js/tapTarget.js +315 -315
- package/js/timepicker.js +648 -647
- package/js/toasts.js +322 -322
- package/js/tooltip.js +320 -320
- package/js/waves.js +614 -614
- package/package.json +82 -74
- package/sass/_style.scss +929 -0
- package/sass/components/_badges.scss +55 -55
- package/sass/components/_buttons.scss +322 -322
- package/sass/components/_cards.scss +195 -195
- package/sass/components/_carousel.scss +90 -90
- package/sass/components/_chips.scss +96 -96
- package/sass/components/_collapsible.scss +91 -91
- package/sass/components/_collection.scss +107 -0
- package/sass/components/_color-classes.scss +32 -32
- package/sass/components/_color-variables.scss +370 -370
- package/sass/components/_datepicker.scss +191 -191
- package/sass/components/_dropdown.scss +84 -84
- package/sass/components/_global.scss +642 -771
- package/sass/components/_grid.scss +158 -156
- package/sass/components/_icons-material-design.scss +5 -5
- package/sass/components/_materialbox.scss +42 -42
- package/sass/components/_modal.scss +97 -97
- package/sass/components/_navbar.scss +208 -208
- package/sass/components/_normalize.scss +447 -447
- package/sass/components/_preloader.scss +334 -334
- package/sass/components/_pulse.scss +34 -34
- package/sass/components/_sidenav.scss +214 -214
- package/sass/components/_slider.scss +91 -91
- package/sass/components/_table_of_contents.scss +33 -33
- package/sass/components/_tabs.scss +99 -99
- package/sass/components/_tapTarget.scss +103 -103
- package/sass/components/_timepicker.scss +183 -183
- package/sass/components/_toast.scss +58 -58
- package/sass/components/_tooltip.scss +32 -32
- package/sass/components/_transitions.scss +12 -12
- package/sass/components/_typography.scss +62 -60
- package/sass/components/_variables.scss +352 -349
- package/sass/components/_waves.scss +187 -187
- package/sass/components/forms/_checkboxes.scss +200 -200
- package/sass/components/forms/_file-input.scss +44 -44
- package/sass/components/forms/_forms.scss +22 -22
- package/sass/components/forms/_input-fields.scss +379 -379
- package/sass/components/forms/_radio-buttons.scss +115 -115
- package/sass/components/forms/_range.scss +161 -161
- package/sass/components/forms/_select.scss +199 -199
- package/sass/components/forms/_switches.scss +91 -91
- package/sass/ghpages-materialize.scss +7 -0
- package/sass/materialize.scss +42 -41
- package/CHANGELOG.md +0 -76
- package/HISTORY.md +0 -527
package/Gruntfile.js
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
|
+
const sass = require('sass');
|
|
2
|
+
|
|
1
3
|
module.exports = function(grunt) {
|
|
2
|
-
|
|
4
|
+
const concatFile = 'temp/js/materialize_concat.js.map';
|
|
5
|
+
const jsFiles = [
|
|
6
|
+
'js/cash.js',
|
|
7
|
+
'js/waves.js',
|
|
8
|
+
'js/component.js',
|
|
9
|
+
'js/global.js',
|
|
10
|
+
'js/anime.min.js',
|
|
11
|
+
'js/collapsible.js',
|
|
12
|
+
'js/dropdown.js',
|
|
13
|
+
'js/modal.js',
|
|
14
|
+
'js/materialbox.js',
|
|
15
|
+
'js/parallax.js',
|
|
16
|
+
'js/tabs.js',
|
|
17
|
+
'js/tooltip.js',
|
|
18
|
+
'js/toasts.js',
|
|
19
|
+
'js/sidenav.js',
|
|
20
|
+
'js/scrollspy.js',
|
|
21
|
+
'js/autocomplete.js',
|
|
22
|
+
'js/forms.js',
|
|
23
|
+
'js/slider.js',
|
|
24
|
+
'js/cards.js',
|
|
25
|
+
'js/chips.js',
|
|
26
|
+
'js/pushpin.js',
|
|
27
|
+
'js/buttons.js',
|
|
28
|
+
'js/datepicker.js',
|
|
29
|
+
'js/timepicker.js',
|
|
30
|
+
'js/characterCounter.js',
|
|
31
|
+
'js/carousel.js',
|
|
32
|
+
'js/tapTarget.js',
|
|
33
|
+
'js/select.js',
|
|
34
|
+
'js/range.js'
|
|
35
|
+
];
|
|
3
36
|
|
|
4
37
|
// configure the tasks
|
|
5
38
|
let config = {
|
|
@@ -15,6 +48,7 @@ module.exports = function(grunt) {
|
|
|
15
48
|
specs: 'tests/spec/**/*Spec.js',
|
|
16
49
|
helpers: 'tests/spec/helper.js',
|
|
17
50
|
keepRunner: true,
|
|
51
|
+
version: '3.8.0',
|
|
18
52
|
page: {
|
|
19
53
|
viewportSize: {
|
|
20
54
|
width: 1400,
|
|
@@ -22,7 +56,7 @@ module.exports = function(grunt) {
|
|
|
22
56
|
}
|
|
23
57
|
},
|
|
24
58
|
sandboxArgs: {
|
|
25
|
-
args: ['--headless', '--no-sandbox']
|
|
59
|
+
args: ['--headless', '--no-sandbox', '--disable-gpu']
|
|
26
60
|
},
|
|
27
61
|
}
|
|
28
62
|
}
|
|
@@ -30,6 +64,12 @@ module.exports = function(grunt) {
|
|
|
30
64
|
|
|
31
65
|
// Sass
|
|
32
66
|
sass: {
|
|
67
|
+
|
|
68
|
+
// Global options
|
|
69
|
+
options: {
|
|
70
|
+
implementation: sass
|
|
71
|
+
},
|
|
72
|
+
|
|
33
73
|
// Task
|
|
34
74
|
expanded: {
|
|
35
75
|
// Target options
|
|
@@ -156,37 +196,7 @@ module.exports = function(grunt) {
|
|
|
156
196
|
},
|
|
157
197
|
dist: {
|
|
158
198
|
// the files to concatenate
|
|
159
|
-
src:
|
|
160
|
-
'js/cash.js',
|
|
161
|
-
'js/component.js',
|
|
162
|
-
'js/global.js',
|
|
163
|
-
'js/anime.min.js',
|
|
164
|
-
'js/collapsible.js',
|
|
165
|
-
'js/dropdown.js',
|
|
166
|
-
'js/modal.js',
|
|
167
|
-
'js/materialbox.js',
|
|
168
|
-
'js/parallax.js',
|
|
169
|
-
'js/tabs.js',
|
|
170
|
-
'js/tooltip.js',
|
|
171
|
-
'js/waves.js',
|
|
172
|
-
'js/toasts.js',
|
|
173
|
-
'js/sidenav.js',
|
|
174
|
-
'js/scrollspy.js',
|
|
175
|
-
'js/autocomplete.js',
|
|
176
|
-
'js/forms.js',
|
|
177
|
-
'js/slider.js',
|
|
178
|
-
'js/cards.js',
|
|
179
|
-
'js/chips.js',
|
|
180
|
-
'js/pushpin.js',
|
|
181
|
-
'js/buttons.js',
|
|
182
|
-
'js/datepicker.js',
|
|
183
|
-
'js/timepicker.js',
|
|
184
|
-
'js/characterCounter.js',
|
|
185
|
-
'js/carousel.js',
|
|
186
|
-
'js/tapTarget.js',
|
|
187
|
-
'js/select.js',
|
|
188
|
-
'js/range.js'
|
|
189
|
-
],
|
|
199
|
+
src: jsFiles,
|
|
190
200
|
// the location of the resulting JS file
|
|
191
201
|
dest: 'temp/js/materialize.js'
|
|
192
202
|
},
|
|
@@ -196,37 +206,7 @@ module.exports = function(grunt) {
|
|
|
196
206
|
sourceMap: true,
|
|
197
207
|
sourceMapStyle: 'link'
|
|
198
208
|
},
|
|
199
|
-
src:
|
|
200
|
-
'js/cash.js',
|
|
201
|
-
'js/component.js',
|
|
202
|
-
'js/global.js',
|
|
203
|
-
'js/anime.min.js',
|
|
204
|
-
'js/collapsible.js',
|
|
205
|
-
'js/dropdown.js',
|
|
206
|
-
'js/modal.js',
|
|
207
|
-
'js/materialbox.js',
|
|
208
|
-
'js/parallax.js',
|
|
209
|
-
'js/tabs.js',
|
|
210
|
-
'js/tooltip.js',
|
|
211
|
-
'js/waves.js',
|
|
212
|
-
'js/toasts.js',
|
|
213
|
-
'js/sidenav.js',
|
|
214
|
-
'js/scrollspy.js',
|
|
215
|
-
'js/autocomplete.js',
|
|
216
|
-
'js/forms.js',
|
|
217
|
-
'js/slider.js',
|
|
218
|
-
'js/cards.js',
|
|
219
|
-
'js/chips.js',
|
|
220
|
-
'js/pushpin.js',
|
|
221
|
-
'js/buttons.js',
|
|
222
|
-
'js/datepicker.js',
|
|
223
|
-
'js/timepicker.js',
|
|
224
|
-
'js/characterCounter.js',
|
|
225
|
-
'js/carousel.js',
|
|
226
|
-
'js/tapTarget.js',
|
|
227
|
-
'js/select.js',
|
|
228
|
-
'js/range.js'
|
|
229
|
-
],
|
|
209
|
+
src: jsFiles,
|
|
230
210
|
// the location of the resulting JS file
|
|
231
211
|
dest: 'temp/js/materialize_concat.js'
|
|
232
212
|
}
|
|
@@ -383,8 +363,8 @@ module.exports = function(grunt) {
|
|
|
383
363
|
}
|
|
384
364
|
},
|
|
385
365
|
|
|
386
|
-
//
|
|
387
|
-
|
|
366
|
+
// Pug
|
|
367
|
+
pug: {
|
|
388
368
|
compile: {
|
|
389
369
|
options: {
|
|
390
370
|
pretty: true,
|
|
@@ -393,68 +373,68 @@ module.exports = function(grunt) {
|
|
|
393
373
|
}
|
|
394
374
|
},
|
|
395
375
|
files: {
|
|
396
|
-
'docs/index.html': '
|
|
397
|
-
'docs/icons.html': '
|
|
398
|
-
'docs/about.html': '
|
|
399
|
-
'docs/sass.html': '
|
|
400
|
-
'docs/getting-started.html': '
|
|
401
|
-
'docs/mobile.html': '
|
|
402
|
-
'docs/parallax.html': '
|
|
403
|
-
'docs/parallax-demo.html': '
|
|
404
|
-
'docs/typography.html': '
|
|
405
|
-
'docs/color.html': '
|
|
406
|
-
'docs/shadow.html': '
|
|
407
|
-
'docs/grid.html': '
|
|
408
|
-
'docs/media-css.html': '
|
|
409
|
-
'docs/table.html': '
|
|
410
|
-
'docs/helpers.html': '
|
|
411
|
-
'docs/buttons.html': '
|
|
412
|
-
'docs/navbar.html': '
|
|
413
|
-
'docs/cards.html': '
|
|
414
|
-
'docs/preloader.html': '
|
|
415
|
-
'docs/collections.html': '
|
|
416
|
-
'docs/badges.html': '
|
|
417
|
-
'docs/footer.html': '
|
|
418
|
-
'docs/modals.html': '
|
|
419
|
-
'docs/dropdown.html': '
|
|
420
|
-
'docs/tabs.html': '
|
|
421
|
-
'docs/toasts.html': '
|
|
422
|
-
'docs/tooltips.html': '
|
|
423
|
-
'docs/sidenav.html': '
|
|
424
|
-
'docs/pushpin.html': '
|
|
425
|
-
'docs/waves.html': '
|
|
426
|
-
'docs/media.html': '
|
|
427
|
-
'docs/collapsible.html': '
|
|
428
|
-
'docs/scrollspy.html': '
|
|
429
|
-
'docs/fullscreen-slider-demo.html': '
|
|
430
|
-
'docs/pagination.html': '
|
|
431
|
-
'docs/breadcrumbs.html': '
|
|
432
|
-
'docs/carousel.html': '
|
|
433
|
-
'docs/feature-discovery.html': '
|
|
434
|
-
'docs/pulse.html': '
|
|
435
|
-
'docs/pushpin-demo.html': '
|
|
436
|
-
'docs/css-transitions.html': '
|
|
437
|
-
'docs/404.html': '
|
|
438
|
-
'docs/autocomplete.html': '
|
|
439
|
-
'docs/checkboxes.html': '
|
|
440
|
-
'docs/chips.html': '
|
|
441
|
-
'docs/pickers.html': '
|
|
442
|
-
'docs/radio-buttons.html': '
|
|
443
|
-
'docs/range.html': '
|
|
444
|
-
'docs/select.html': '
|
|
445
|
-
'docs/switches.html': '
|
|
446
|
-
'docs/text-inputs.html': '
|
|
447
|
-
'docs/floating-action-button.html': '
|
|
448
|
-
'docs/auto-init.html': '
|
|
376
|
+
'docs/index.html': 'pug/index.pug',
|
|
377
|
+
'docs/icons.html': 'pug/icons.pug',
|
|
378
|
+
'docs/about.html': 'pug/about.pug',
|
|
379
|
+
'docs/sass.html': 'pug/sass.pug',
|
|
380
|
+
'docs/getting-started.html': 'pug/getting-started.pug',
|
|
381
|
+
'docs/mobile.html': 'pug/mobile.pug',
|
|
382
|
+
'docs/parallax.html': 'pug/parallax.pug',
|
|
383
|
+
'docs/parallax-demo.html': 'pug/parallax-demo.pug',
|
|
384
|
+
'docs/typography.html': 'pug/typography.pug',
|
|
385
|
+
'docs/color.html': 'pug/color.pug',
|
|
386
|
+
'docs/shadow.html': 'pug/shadow.pug',
|
|
387
|
+
'docs/grid.html': 'pug/grid.pug',
|
|
388
|
+
'docs/media-css.html': 'pug/media-css.pug',
|
|
389
|
+
'docs/table.html': 'pug/table.pug',
|
|
390
|
+
'docs/helpers.html': 'pug/helpers.pug',
|
|
391
|
+
'docs/buttons.html': 'pug/buttons.pug',
|
|
392
|
+
'docs/navbar.html': 'pug/navbar.pug',
|
|
393
|
+
'docs/cards.html': 'pug/cards.pug',
|
|
394
|
+
'docs/preloader.html': 'pug/preloader.pug',
|
|
395
|
+
'docs/collections.html': 'pug/collections.pug',
|
|
396
|
+
'docs/badges.html': 'pug/badges.pug',
|
|
397
|
+
'docs/footer.html': 'pug/footer.pug',
|
|
398
|
+
'docs/modals.html': 'pug/modals.pug',
|
|
399
|
+
'docs/dropdown.html': 'pug/dropdown.pug',
|
|
400
|
+
'docs/tabs.html': 'pug/tabs.pug',
|
|
401
|
+
'docs/toasts.html': 'pug/toasts.pug',
|
|
402
|
+
'docs/tooltips.html': 'pug/tooltips.pug',
|
|
403
|
+
'docs/sidenav.html': 'pug/sidenav.pug',
|
|
404
|
+
'docs/pushpin.html': 'pug/pushpin.pug',
|
|
405
|
+
'docs/waves.html': 'pug/waves.pug',
|
|
406
|
+
'docs/media.html': 'pug/media.pug',
|
|
407
|
+
'docs/collapsible.html': 'pug/collapsible.pug',
|
|
408
|
+
'docs/scrollspy.html': 'pug/scrollspy.pug',
|
|
409
|
+
'docs/fullscreen-slider-demo.html': 'pug/fullscreen-slider-demo.pug',
|
|
410
|
+
'docs/pagination.html': 'pug/pagination.pug',
|
|
411
|
+
'docs/breadcrumbs.html': 'pug/breadcrumbs.pug',
|
|
412
|
+
'docs/carousel.html': 'pug/carousel.pug',
|
|
413
|
+
'docs/feature-discovery.html': 'pug/feature-discovery.pug',
|
|
414
|
+
'docs/pulse.html': 'pug/pulse.pug',
|
|
415
|
+
'docs/pushpin-demo.html': 'pug/pushpin-demo.pug',
|
|
416
|
+
'docs/css-transitions.html': 'pug/css-transitions.pug',
|
|
417
|
+
'docs/404.html': 'pug/404.pug',
|
|
418
|
+
'docs/autocomplete.html': 'pug/autocomplete.pug',
|
|
419
|
+
'docs/checkboxes.html': 'pug/checkboxes.pug',
|
|
420
|
+
'docs/chips.html': 'pug/chips.pug',
|
|
421
|
+
'docs/pickers.html': 'pug/pickers.pug',
|
|
422
|
+
'docs/radio-buttons.html': 'pug/radio-buttons.pug',
|
|
423
|
+
'docs/range.html': 'pug/range.pug',
|
|
424
|
+
'docs/select.html': 'pug/select.pug',
|
|
425
|
+
'docs/switches.html': 'pug/switches.pug',
|
|
426
|
+
'docs/text-inputs.html': 'pug/text-inputs.pug',
|
|
427
|
+
'docs/floating-action-button.html': 'pug/floating-action-button.pug',
|
|
428
|
+
'docs/auto-init.html': 'pug/auto-init.pug'
|
|
449
429
|
}
|
|
450
430
|
}
|
|
451
431
|
},
|
|
452
432
|
|
|
453
433
|
// Watch Files
|
|
454
434
|
watch: {
|
|
455
|
-
|
|
456
|
-
files: ['
|
|
457
|
-
tasks: ['
|
|
435
|
+
pug: {
|
|
436
|
+
files: ['pug/**/*'],
|
|
437
|
+
tasks: ['pug_compile'],
|
|
458
438
|
options: {
|
|
459
439
|
interrupt: false,
|
|
460
440
|
spawn: false
|
|
@@ -488,10 +468,10 @@ module.exports = function(grunt) {
|
|
|
488
468
|
},
|
|
489
469
|
monitor: {
|
|
490
470
|
tasks: [
|
|
491
|
-
'
|
|
471
|
+
'pug_compile',
|
|
492
472
|
'sass_compile',
|
|
493
473
|
'js_compile',
|
|
494
|
-
'watch:
|
|
474
|
+
'watch:pug',
|
|
495
475
|
'watch:js',
|
|
496
476
|
'watch:sass',
|
|
497
477
|
'notify:watching',
|
|
@@ -532,10 +512,10 @@ module.exports = function(grunt) {
|
|
|
532
512
|
}
|
|
533
513
|
},
|
|
534
514
|
|
|
535
|
-
|
|
515
|
+
pug_compile: {
|
|
536
516
|
options: {
|
|
537
517
|
enabled: true,
|
|
538
|
-
message: '
|
|
518
|
+
message: 'Pug Compiled!',
|
|
539
519
|
title: 'Materialize',
|
|
540
520
|
success: true,
|
|
541
521
|
duration: 1
|
|
@@ -556,7 +536,7 @@ module.exports = function(grunt) {
|
|
|
556
536
|
// Replace text to update the version string
|
|
557
537
|
replace: {
|
|
558
538
|
version: {
|
|
559
|
-
src: ['bower.json', 'package.js', '
|
|
539
|
+
src: ['bower.json', 'package.js', 'pug/**/*.html'],
|
|
560
540
|
overwrite: true,
|
|
561
541
|
replacements: [
|
|
562
542
|
{
|
|
@@ -635,7 +615,7 @@ module.exports = function(grunt) {
|
|
|
635
615
|
res.setHeader('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE,OPTIONS');
|
|
636
616
|
next();
|
|
637
617
|
});
|
|
638
|
-
return middlewares
|
|
618
|
+
return middlewares;
|
|
639
619
|
}
|
|
640
620
|
}
|
|
641
621
|
}
|
|
@@ -643,7 +623,10 @@ module.exports = function(grunt) {
|
|
|
643
623
|
|
|
644
624
|
copy: {
|
|
645
625
|
docs: {
|
|
646
|
-
|
|
626
|
+
files: [
|
|
627
|
+
{src: 'bin/materialize.js', dest: 'docs/js/materialize.js'},
|
|
628
|
+
{src: 'templates/**', dest: 'docs/'}
|
|
629
|
+
]
|
|
647
630
|
}
|
|
648
631
|
}
|
|
649
632
|
|
|
@@ -659,7 +642,7 @@ module.exports = function(grunt) {
|
|
|
659
642
|
grunt.loadNpmTasks('grunt-contrib-uglify');
|
|
660
643
|
grunt.loadNpmTasks('grunt-contrib-compress');
|
|
661
644
|
grunt.loadNpmTasks('grunt-contrib-clean');
|
|
662
|
-
grunt.loadNpmTasks('grunt-contrib-
|
|
645
|
+
grunt.loadNpmTasks('grunt-contrib-pug');
|
|
663
646
|
grunt.loadNpmTasks('grunt-concurrent');
|
|
664
647
|
grunt.loadNpmTasks('grunt-notify');
|
|
665
648
|
grunt.loadNpmTasks('grunt-text-replace');
|
|
@@ -698,7 +681,7 @@ module.exports = function(grunt) {
|
|
|
698
681
|
config.babel.bin.options.inputSourceMap = grunt.file.readJSON(concatFile);
|
|
699
682
|
});
|
|
700
683
|
|
|
701
|
-
grunt.registerTask('
|
|
684
|
+
grunt.registerTask('pug_compile', ['pug', 'notify:pug_compile']);
|
|
702
685
|
grunt.registerTask('js_compile', ['concat:temp', 'configureBabel', 'babel:bin', 'clean:temp']);
|
|
703
686
|
grunt.registerTask('sass_compile', [
|
|
704
687
|
'sass:gh',
|
|
@@ -721,5 +704,5 @@ module.exports = function(grunt) {
|
|
|
721
704
|
grunt.task.run(tasks);
|
|
722
705
|
|
|
723
706
|
});
|
|
724
|
-
grunt.registerTask('docs', ['js_compile', 'copy:docs', 'sass:gh', 'postcss:gh', '
|
|
707
|
+
grunt.registerTask('docs', ['js_compile', 'copy:docs', 'sass:gh', 'postcss:gh', 'pug', 'replace:docs']);
|
|
725
708
|
};
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2014-2019 Materialize
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2014-2019 Materialize
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<a href="https://materializecss.github.io/materialize/">
|
|
3
|
-
<img src="https://materializecss.github.io/materialize/res/materialize.svg" width="150">
|
|
4
|
-
</a>
|
|
5
|
-
</p>
|
|
6
|
-
|
|
7
|
-
<h3 align="center">MaterializeCSS</h3>
|
|
8
|
-
|
|
9
|
-
<p align="center">
|
|
10
|
-
Materialize, a CSS Framework based on material design.
|
|
11
|
-
<br>
|
|
12
|
-
<a href="https://materializecss.github.io/materialize/"><strong>-- Browse the docs --</strong></a>
|
|
13
|
-
<br>
|
|
14
|
-
<br>
|
|
15
|
-
<a href="https://github.com/materializecss/materialize/actions/">
|
|
16
|
-
<img src="https://github.com/materializecss/materialize/actions/workflows/nightly.yml/badge.svg" alt="GitHub Actions badge">
|
|
17
|
-
</a>
|
|
18
|
-
<a href="https://www.npmjs.com/package/@materializecss/materialize">
|
|
19
|
-
<img src="https://badge.fury.io/js/%40materializecss%2Fmaterialize.svg" alt="npm version badge">
|
|
20
|
-
</a>
|
|
21
|
-
<a href="https://www.jsdelivr.com/package/npm/@materializecss/materialize">
|
|
22
|
-
<img src="https://data.jsdelivr.com/v1/package/npm/@materializecss/materialize/badge" alt="jsDelivr version badge">
|
|
23
|
-
</a>
|
|
24
|
-
<a href="https://david-dm.org/materializecss/materialize">
|
|
25
|
-
<img src="https://david-dm.org/materializecss/materialize/status.svg" alt="dependencies Status badge">
|
|
26
|
-
</a>
|
|
27
|
-
<a href="https://david-dm.org/materializecss/materialize#info=devDependencies">
|
|
28
|
-
<img src="https://david-dm.org/materializecss/materialize/dev-status.svg" alt="devDependency Status badge">
|
|
29
|
-
</a>
|
|
30
|
-
<a href="https://gitter.im/materializecss/materialize">
|
|
31
|
-
<img src="https://badges.gitter.im/Join%20Chat.svg" alt="Gitter badge">
|
|
32
|
-
</a>
|
|
33
|
-
</p>
|
|
34
|
-
|
|
35
|
-
## Table of Contents
|
|
36
|
-
- [Quickstart](#quickstart)
|
|
37
|
-
- [Documentation](#documentation)
|
|
38
|
-
- [Build](#build)
|
|
39
|
-
- [Supported Browsers](#supported-browsers)
|
|
40
|
-
- [Changelog](#changelog)
|
|
41
|
-
- [Testing](#testing)
|
|
42
|
-
- [Contributing](#contributing)
|
|
43
|
-
- [Copyright and license](#copyright-and-license)
|
|
44
|
-
|
|
45
|
-
## Quickstart:
|
|
46
|
-
Read the [getting started guide](https://materializecss.github.io/materialize/getting-started.html) for more information on how to use materialize.
|
|
47
|
-
|
|
48
|
-
- [Download the latest release](https://github.com/materializecss/materialize/releases/latest) of materialize directly from GitHub. ([Beta](https://github.com/materializecss/materialize/releases/))
|
|
49
|
-
- Clone the repo: `git clone https://github.com/materializecss/materialize.git`
|
|
50
|
-
- Include the files via [jsDelivr](https://www.jsdelivr.com/package/npm/@materializecss/materialize).
|
|
51
|
-
- Install with [npm](https://www.npmjs.com): `npm install @materializecss/materialize` (Beta: `npm install @materializecss/materialize@next`)
|
|
52
|
-
|
|
53
|
-
## Documentation
|
|
54
|
-
The documentation can be found at <https://materializecss.github.io/materialize>. To run the documentation locally on your machine, you need [Node.js](https://nodejs.org/en/) installed on your computer.
|
|
55
|
-
|
|
56
|
-
### Running documentation locally
|
|
57
|
-
Run these commands to set up the documentation:
|
|
58
|
-
|
|
59
|
-
```bash
|
|
60
|
-
git clone https://github.com/materializecss/materialize
|
|
61
|
-
cd materialize
|
|
62
|
-
npm install
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
Then run `npm run dev` to compile the documentation. When it finishes, open a new browser window and navigate to `localhost:8000`. We use [BrowserSync](https://www.browsersync.io/) to display the documentation.
|
|
66
|
-
|
|
67
|
-
### Documentation for previous releases
|
|
68
|
-
Previous releases and their documentation are available for [download](https://github.com/materializecss/materialize/releases).
|
|
69
|
-
|
|
70
|
-
## Build
|
|
71
|
-
If you want to build `materialize.css` or `materialize.js` from the latest commit, you can build the files with the following command after `npm install`. See `package.json` to check the current version like `1.0.0`.
|
|
72
|
-
|
|
73
|
-
```sh
|
|
74
|
-
npm run release -- --oldver=<current_version> --newver=<new_version>
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
## Supported Browsers:
|
|
78
|
-
Materialize is compatible with:
|
|
79
|
-
|
|
80
|
-
- Chrome 35+
|
|
81
|
-
- Firefox 31+
|
|
82
|
-
- Safari 9+
|
|
83
|
-
- Opera
|
|
84
|
-
- Edge
|
|
85
|
-
- IE 11+
|
|
86
|
-
|
|
87
|
-
## Changelog
|
|
88
|
-
For changelogs, check out [the Releases section of materialize](https://github.com/materializecss/materialize/releases) or the [CHANGELOG.md](CHANGELOG.md).
|
|
89
|
-
|
|
90
|
-
## Testing
|
|
91
|
-
We use Jasmine as our testing framework and we're trying to write a robust test suite for our components. If you want to help, [here's a starting guide on how to write tests in Jasmine](CONTRIBUTING.md#jasmine-testing-guide).
|
|
92
|
-
|
|
93
|
-
## Contributing
|
|
94
|
-
Check out the [CONTRIBUTING document](CONTRIBUTING.md) in the root of the repository to learn how you can contribute. You can also browse the [help-wanted](https://github.com/materializecss/materialize/labels/help-wanted) tag in our issue tracker to find things to do.
|
|
95
|
-
|
|
96
|
-
## Copyright and license
|
|
97
|
-
Code Copyright 2021 Materialize. Code released under the MIT license.
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://materializecss.github.io/materialize/">
|
|
3
|
+
<img src="https://materializecss.github.io/materialize/res/materialize.svg" width="150">
|
|
4
|
+
</a>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<h3 align="center">MaterializeCSS</h3>
|
|
8
|
+
|
|
9
|
+
<p align="center">
|
|
10
|
+
Materialize, a CSS Framework based on material design.
|
|
11
|
+
<br>
|
|
12
|
+
<a href="https://materializecss.github.io/materialize/"><strong>-- Browse the docs --</strong></a>
|
|
13
|
+
<br>
|
|
14
|
+
<br>
|
|
15
|
+
<a href="https://github.com/materializecss/materialize/actions/">
|
|
16
|
+
<img src="https://github.com/materializecss/materialize/actions/workflows/nightly.yml/badge.svg" alt="GitHub Actions badge">
|
|
17
|
+
</a>
|
|
18
|
+
<a href="https://www.npmjs.com/package/@materializecss/materialize">
|
|
19
|
+
<img src="https://badge.fury.io/js/%40materializecss%2Fmaterialize.svg" alt="npm version badge">
|
|
20
|
+
</a>
|
|
21
|
+
<a href="https://www.jsdelivr.com/package/npm/@materializecss/materialize">
|
|
22
|
+
<img src="https://data.jsdelivr.com/v1/package/npm/@materializecss/materialize/badge" alt="jsDelivr version badge">
|
|
23
|
+
</a>
|
|
24
|
+
<a href="https://david-dm.org/materializecss/materialize">
|
|
25
|
+
<img src="https://david-dm.org/materializecss/materialize/status.svg" alt="dependencies Status badge">
|
|
26
|
+
</a>
|
|
27
|
+
<a href="https://david-dm.org/materializecss/materialize#info=devDependencies">
|
|
28
|
+
<img src="https://david-dm.org/materializecss/materialize/dev-status.svg" alt="devDependency Status badge">
|
|
29
|
+
</a>
|
|
30
|
+
<a href="https://gitter.im/materializecss/materialize">
|
|
31
|
+
<img src="https://badges.gitter.im/Join%20Chat.svg" alt="Gitter badge">
|
|
32
|
+
</a>
|
|
33
|
+
</p>
|
|
34
|
+
|
|
35
|
+
## Table of Contents
|
|
36
|
+
- [Quickstart](#quickstart)
|
|
37
|
+
- [Documentation](#documentation)
|
|
38
|
+
- [Build](#build)
|
|
39
|
+
- [Supported Browsers](#supported-browsers)
|
|
40
|
+
- [Changelog](#changelog)
|
|
41
|
+
- [Testing](#testing)
|
|
42
|
+
- [Contributing](#contributing)
|
|
43
|
+
- [Copyright and license](#copyright-and-license)
|
|
44
|
+
|
|
45
|
+
## Quickstart:
|
|
46
|
+
Read the [getting started guide](https://materializecss.github.io/materialize/getting-started.html) for more information on how to use materialize.
|
|
47
|
+
|
|
48
|
+
- [Download the latest release](https://github.com/materializecss/materialize/releases/latest) of materialize directly from GitHub. ([Beta](https://github.com/materializecss/materialize/releases/))
|
|
49
|
+
- Clone the repo: `git clone https://github.com/materializecss/materialize.git`
|
|
50
|
+
- Include the files via [jsDelivr](https://www.jsdelivr.com/package/npm/@materializecss/materialize).
|
|
51
|
+
- Install with [npm](https://www.npmjs.com): `npm install @materializecss/materialize` (Beta: `npm install @materializecss/materialize@next`)
|
|
52
|
+
|
|
53
|
+
## Documentation
|
|
54
|
+
The documentation can be found at <https://materializecss.github.io/materialize>. To run the documentation locally on your machine, you need [Node.js](https://nodejs.org/en/) installed on your computer.
|
|
55
|
+
|
|
56
|
+
### Running documentation locally
|
|
57
|
+
Run these commands to set up the documentation:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
git clone https://github.com/materializecss/materialize
|
|
61
|
+
cd materialize
|
|
62
|
+
npm install
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Then run `npm run dev` to compile the documentation. When it finishes, open a new browser window and navigate to `localhost:8000/docs`. We use [BrowserSync](https://www.browsersync.io/) to display the documentation.
|
|
66
|
+
|
|
67
|
+
### Documentation for previous releases
|
|
68
|
+
Previous releases and their documentation are available for [download](https://github.com/materializecss/materialize/releases).
|
|
69
|
+
|
|
70
|
+
## Build
|
|
71
|
+
If you want to build `materialize.css` or `materialize.js` from the latest commit, you can build the files with the following command after `npm install`. See `package.json` to check the current version like `1.0.0`.
|
|
72
|
+
|
|
73
|
+
```sh
|
|
74
|
+
npm run release -- --oldver=<current_version> --newver=<new_version>
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Supported Browsers:
|
|
78
|
+
Materialize is compatible with:
|
|
79
|
+
|
|
80
|
+
- Chrome 35+
|
|
81
|
+
- Firefox 31+
|
|
82
|
+
- Safari 9+
|
|
83
|
+
- Opera
|
|
84
|
+
- Edge
|
|
85
|
+
- IE 11+
|
|
86
|
+
|
|
87
|
+
## Changelog
|
|
88
|
+
For changelogs, check out [the Releases section of materialize](https://github.com/materializecss/materialize/releases) or the [CHANGELOG.md](CHANGELOG.md).
|
|
89
|
+
|
|
90
|
+
## Testing
|
|
91
|
+
We use Jasmine as our testing framework and we're trying to write a robust test suite for our components. If you want to help, [here's a starting guide on how to write tests in Jasmine](CONTRIBUTING.md#jasmine-testing-guide).
|
|
92
|
+
|
|
93
|
+
## Contributing
|
|
94
|
+
Check out the [CONTRIBUTING document](CONTRIBUTING.md) in the root of the repository to learn how you can contribute. You can also browse the [help-wanted](https://github.com/materializecss/materialize/labels/help-wanted) tag in our issue tracker to find things to do.
|
|
95
|
+
|
|
96
|
+
## Copyright and license
|
|
97
|
+
Code Copyright 2021 Materialize. Code released under the MIT license.
|