@materializecss/materialize 1.2.0 → 1.2.2

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 (82) hide show
  1. package/Gruntfile.js +722 -712
  2. package/LICENSE +21 -21
  3. package/README.md +91 -91
  4. package/dist/css/materialize.css +78 -137
  5. package/dist/css/materialize.min.css +12 -12
  6. package/dist/js/materialize.js +1502 -1378
  7. package/dist/js/materialize.min.js +6 -6
  8. package/extras/noUiSlider/nouislider.css +403 -403
  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 -732
  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 -983
  21. package/js/dropdown.js +669 -669
  22. package/js/forms.js +285 -285
  23. package/js/global.js +428 -428
  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 -391
  31. package/js/sidenav.js +583 -583
  32. package/js/slider.js +497 -359
  33. package/js/tabs.js +402 -402
  34. package/js/tapTarget.js +315 -315
  35. package/js/timepicker.js +712 -712
  36. package/js/toasts.js +325 -325
  37. package/js/tooltip.js +320 -320
  38. package/js/waves.js +614 -614
  39. package/package.json +87 -84
  40. package/sass/components/_badges.scss +55 -55
  41. package/sass/components/_buttons.scss +322 -322
  42. package/sass/components/_cards.scss +195 -195
  43. package/sass/components/_carousel.scss +90 -90
  44. package/sass/components/_chips.scss +96 -96
  45. package/sass/components/_collapsible.scss +91 -91
  46. package/sass/components/_collection.scss +106 -106
  47. package/sass/components/_color-classes.scss +32 -32
  48. package/sass/components/_color-variables.scss +370 -370
  49. package/sass/components/_datepicker.scss +191 -191
  50. package/sass/components/_dropdown.scss +84 -84
  51. package/sass/components/_global.scss +646 -646
  52. package/sass/components/_grid.scss +158 -158
  53. package/sass/components/_icons-material-design.scss +5 -5
  54. package/sass/components/_materialbox.scss +42 -42
  55. package/sass/components/_modal.scss +97 -97
  56. package/sass/components/_navbar.scss +208 -208
  57. package/sass/components/_normalize.scss +447 -447
  58. package/sass/components/_preloader.scss +334 -334
  59. package/sass/components/_pulse.scss +34 -34
  60. package/sass/components/_sidenav.scss +214 -214
  61. package/sass/components/_slider.scss +100 -91
  62. package/sass/components/_table_of_contents.scss +33 -33
  63. package/sass/components/_tabs.scss +99 -99
  64. package/sass/components/_tapTarget.scss +103 -103
  65. package/sass/components/_timepicker.scss +199 -199
  66. package/sass/components/_toast.scss +58 -58
  67. package/sass/components/_tooltip.scss +32 -32
  68. package/sass/components/_transitions.scss +12 -12
  69. package/sass/components/_typography.scss +62 -62
  70. package/sass/components/_variables.scss +352 -352
  71. package/sass/components/_waves.scss +187 -187
  72. package/sass/components/forms/_checkboxes.scss +200 -200
  73. package/sass/components/forms/_file-input.scss +44 -44
  74. package/sass/components/forms/_forms.scss +22 -22
  75. package/sass/components/forms/_input-fields.scss +388 -388
  76. package/sass/components/forms/_radio-buttons.scss +115 -115
  77. package/sass/components/forms/_range.scss +161 -161
  78. package/sass/components/forms/_select.scss +199 -199
  79. package/sass/components/forms/_switches.scss +91 -91
  80. package/sass/materialize.scss +42 -42
  81. package/sass/_style.scss +0 -929
  82. package/sass/ghpages-materialize.scss +0 -7
@@ -1,8 +1,8 @@
1
- /*!
2
- * Materialize v1.2.0 (https://materializecss.github.io/materialize)
3
- * Copyright 2014-2021 Materialize
4
- * MIT License (https://raw.githubusercontent.com/materializecss/materialize/master/LICENSE)
5
- */
1
+ /*!
2
+ * Materialize v1.2.2 (https://materializecss.github.io/materialize)
3
+ * Copyright 2014-2023 Materialize
4
+ * MIT License (https://raw.githubusercontent.com/materializecss/materialize/master/LICENSE)
5
+ */
6
6
  @charset "UTF-8";
7
7
  .materialize-red {
8
8
  background-color: #e51c23 !important;
@@ -2149,12 +2149,9 @@
2149
2149
  * IE on Windows Phone and in iOS.
2150
2150
  */
2151
2151
  html {
2152
- line-height: 1.15;
2153
- /* 1 */
2154
- -ms-text-size-adjust: 100%;
2155
- /* 2 */
2156
- -webkit-text-size-adjust: 100%;
2157
- /* 2 */
2152
+ line-height: 1.15; /* 1 */
2153
+ -ms-text-size-adjust: 100%; /* 2 */
2154
+ -webkit-text-size-adjust: 100%; /* 2 */
2158
2155
  }
2159
2156
 
2160
2157
  /* Sections
@@ -2195,8 +2192,7 @@ h1 {
2195
2192
  */
2196
2193
  figcaption,
2197
2194
  figure,
2198
- main {
2199
- /* 1 */
2195
+ main { /* 1 */
2200
2196
  display: block;
2201
2197
  }
2202
2198
 
@@ -2213,12 +2209,9 @@ figure {
2213
2209
  */
2214
2210
  hr {
2215
2211
  -webkit-box-sizing: content-box;
2216
- box-sizing: content-box;
2217
- /* 1 */
2218
- height: 0;
2219
- /* 1 */
2220
- overflow: visible;
2221
- /* 2 */
2212
+ box-sizing: content-box; /* 1 */
2213
+ height: 0; /* 1 */
2214
+ overflow: visible; /* 2 */
2222
2215
  }
2223
2216
 
2224
2217
  /**
@@ -2226,10 +2219,8 @@ hr {
2226
2219
  * 2. Correct the odd `em` font sizing in all browsers.
2227
2220
  */
2228
2221
  pre {
2229
- font-family: monospace, monospace;
2230
- /* 1 */
2231
- font-size: 1em;
2232
- /* 2 */
2222
+ font-family: monospace, monospace; /* 1 */
2223
+ font-size: 1em; /* 2 */
2233
2224
  }
2234
2225
 
2235
2226
  /* Text-level semantics
@@ -2239,10 +2230,8 @@ pre {
2239
2230
  * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
2240
2231
  */
2241
2232
  a {
2242
- background-color: transparent;
2243
- /* 1 */
2244
- -webkit-text-decoration-skip: objects;
2245
- /* 2 */
2233
+ background-color: transparent; /* 1 */
2234
+ -webkit-text-decoration-skip: objects; /* 2 */
2246
2235
  }
2247
2236
 
2248
2237
  /**
@@ -2250,14 +2239,11 @@ a {
2250
2239
  * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
2251
2240
  */
2252
2241
  abbr[title] {
2253
- border-bottom: none;
2254
- /* 1 */
2255
- text-decoration: underline;
2256
- /* 2 */
2242
+ border-bottom: none; /* 1 */
2243
+ text-decoration: underline; /* 2 */
2257
2244
  -webkit-text-decoration: underline dotted;
2258
2245
  -moz-text-decoration: underline dotted;
2259
- text-decoration: underline dotted;
2260
- /* 2 */
2246
+ text-decoration: underline dotted; /* 2 */
2261
2247
  }
2262
2248
 
2263
2249
  /**
@@ -2283,10 +2269,8 @@ strong {
2283
2269
  code,
2284
2270
  kbd,
2285
2271
  samp {
2286
- font-family: monospace, monospace;
2287
- /* 1 */
2288
- font-size: 1em;
2289
- /* 2 */
2272
+ font-family: monospace, monospace; /* 1 */
2273
+ font-size: 1em; /* 2 */
2290
2274
  }
2291
2275
 
2292
2276
  /**
@@ -2374,14 +2358,10 @@ input,
2374
2358
  optgroup,
2375
2359
  select,
2376
2360
  textarea {
2377
- font-family: sans-serif;
2378
- /* 1 */
2379
- font-size: 100%;
2380
- /* 1 */
2381
- line-height: 1.15;
2382
- /* 1 */
2383
- margin: 0;
2384
- /* 2 */
2361
+ font-family: sans-serif; /* 1 */
2362
+ font-size: 100%; /* 1 */
2363
+ line-height: 1.15; /* 1 */
2364
+ margin: 0; /* 2 */
2385
2365
  }
2386
2366
 
2387
2367
  /**
@@ -2389,8 +2369,7 @@ textarea {
2389
2369
  * 1. Show the overflow in Edge.
2390
2370
  */
2391
2371
  button,
2392
- input {
2393
- /* 1 */
2372
+ input { /* 1 */
2394
2373
  overflow: visible;
2395
2374
  }
2396
2375
 
@@ -2399,8 +2378,7 @@ input {
2399
2378
  * 1. Remove the inheritance of text transform in Firefox.
2400
2379
  */
2401
2380
  button,
2402
- select {
2403
- /* 1 */
2381
+ select { /* 1 */
2404
2382
  text-transform: none;
2405
2383
  }
2406
2384
 
@@ -2413,8 +2391,7 @@ button,
2413
2391
  html [type=button],
2414
2392
  [type=reset],
2415
2393
  [type=submit] {
2416
- -webkit-appearance: button;
2417
- /* 2 */
2394
+ -webkit-appearance: button; /* 2 */
2418
2395
  }
2419
2396
 
2420
2397
  /**
@@ -2453,18 +2430,12 @@ fieldset {
2453
2430
  */
2454
2431
  legend {
2455
2432
  -webkit-box-sizing: border-box;
2456
- box-sizing: border-box;
2457
- /* 1 */
2458
- color: inherit;
2459
- /* 2 */
2460
- display: table;
2461
- /* 1 */
2462
- max-width: 100%;
2463
- /* 1 */
2464
- padding: 0;
2465
- /* 3 */
2466
- white-space: normal;
2467
- /* 1 */
2433
+ box-sizing: border-box; /* 1 */
2434
+ color: inherit; /* 2 */
2435
+ display: table; /* 1 */
2436
+ max-width: 100%; /* 1 */
2437
+ padding: 0; /* 3 */
2438
+ white-space: normal; /* 1 */
2468
2439
  }
2469
2440
 
2470
2441
  /**
@@ -2472,10 +2443,8 @@ legend {
2472
2443
  * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
2473
2444
  */
2474
2445
  progress {
2475
- display: inline-block;
2476
- /* 1 */
2477
- vertical-align: baseline;
2478
- /* 2 */
2446
+ display: inline-block; /* 1 */
2447
+ vertical-align: baseline; /* 2 */
2479
2448
  }
2480
2449
 
2481
2450
  /**
@@ -2492,10 +2461,8 @@ textarea {
2492
2461
  [type=checkbox],
2493
2462
  [type=radio] {
2494
2463
  -webkit-box-sizing: border-box;
2495
- box-sizing: border-box;
2496
- /* 1 */
2497
- padding: 0;
2498
- /* 2 */
2464
+ box-sizing: border-box; /* 1 */
2465
+ padding: 0; /* 2 */
2499
2466
  }
2500
2467
 
2501
2468
  /**
@@ -2511,10 +2478,8 @@ textarea {
2511
2478
  * 2. Correct the outline style in Safari.
2512
2479
  */
2513
2480
  [type=search] {
2514
- -webkit-appearance: textfield;
2515
- /* 1 */
2516
- outline-offset: -2px;
2517
- /* 2 */
2481
+ -webkit-appearance: textfield; /* 1 */
2482
+ outline-offset: -2px; /* 2 */
2518
2483
  }
2519
2484
 
2520
2485
  /**
@@ -2530,10 +2495,8 @@ textarea {
2530
2495
  * 2. Change font properties to `inherit` in Safari.
2531
2496
  */
2532
2497
  ::-webkit-file-upload-button {
2533
- -webkit-appearance: button;
2534
- /* 1 */
2535
- font: inherit;
2536
- /* 2 */
2498
+ -webkit-appearance: button; /* 1 */
2499
+ font: inherit; /* 2 */
2537
2500
  }
2538
2501
 
2539
2502
  /* Interactive
@@ -2778,7 +2741,7 @@ video.responsive-video {
2778
2741
  font-size: 24px;
2779
2742
  }
2780
2743
  .breadcrumb:before {
2781
- content: "";
2744
+ content: "\e5cc";
2782
2745
  color: rgba(255, 255, 255, 0.7);
2783
2746
  vertical-align: top;
2784
2747
  display: inline-block;
@@ -4330,12 +4293,10 @@ nav .input-field label.active i {
4330
4293
  nav.nav-extended .nav-wrapper {
4331
4294
  min-height: 64px;
4332
4295
  }
4333
-
4334
4296
  nav, nav .nav-wrapper i, nav a.sidenav-trigger, nav a.sidenav-trigger i {
4335
4297
  height: 64px;
4336
4298
  line-height: 64px;
4337
4299
  }
4338
-
4339
4300
  .navbar-fixed {
4340
4301
  height: 64px;
4341
4302
  }
@@ -4996,9 +4957,9 @@ small {
4996
4957
  }
4997
4958
 
4998
4959
  .btn,
4999
- .btn-floating,
5000
- .btn-large,
5001
4960
  .btn-small,
4961
+ .btn-large,
4962
+ .btn-floating,
5002
4963
  .btn-flat {
5003
4964
  font-size: 14px;
5004
4965
  outline: 0;
@@ -6409,10 +6370,8 @@ textarea {
6409
6370
  }
6410
6371
  textarea.materialize-textarea {
6411
6372
  line-height: normal;
6412
- overflow-y: hidden;
6413
- /* prevents scroll bar flash */
6414
- padding: 0.8rem 0 0.8rem 0;
6415
- /* prevents text jump on Enter keypress */
6373
+ overflow-y: hidden; /* prevents scroll bar flash */
6374
+ padding: 0.8rem 0 0.8rem 0; /* prevents text jump on Enter keypress */
6416
6375
  resize: none;
6417
6376
  min-height: 3rem;
6418
6377
  -webkit-box-sizing: border-box;
@@ -6423,10 +6382,8 @@ textarea.materialize-textarea {
6423
6382
  visibility: hidden;
6424
6383
  white-space: pre-wrap;
6425
6384
  word-wrap: break-word;
6426
- overflow-wrap: break-word;
6427
- /* future version of deprecated 'word-wrap' */
6428
- padding-top: 1.2rem;
6429
- /* prevents text jump on Enter keypress */
6385
+ overflow-wrap: break-word; /* future version of deprecated 'word-wrap' */
6386
+ padding-top: 1.2rem; /* prevents text jump on Enter keypress */
6430
6387
  position: absolute;
6431
6388
  top: 0;
6432
6389
  z-index: -1;
@@ -7553,78 +7510,62 @@ input[type=range]::-ms-thumb {
7553
7510
  @-webkit-keyframes fill-unfill-rotate {
7554
7511
  12.5% {
7555
7512
  -webkit-transform: rotate(135deg);
7556
- }
7557
- /* 0.5 * ARCSIZE */
7513
+ } /* 0.5 * ARCSIZE */
7558
7514
  25% {
7559
7515
  -webkit-transform: rotate(270deg);
7560
- }
7561
- /* 1 * ARCSIZE */
7516
+ } /* 1 * ARCSIZE */
7562
7517
  37.5% {
7563
7518
  -webkit-transform: rotate(405deg);
7564
- }
7565
- /* 1.5 * ARCSIZE */
7519
+ } /* 1.5 * ARCSIZE */
7566
7520
  50% {
7567
7521
  -webkit-transform: rotate(540deg);
7568
- }
7569
- /* 2 * ARCSIZE */
7522
+ } /* 2 * ARCSIZE */
7570
7523
  62.5% {
7571
7524
  -webkit-transform: rotate(675deg);
7572
- }
7573
- /* 2.5 * ARCSIZE */
7525
+ } /* 2.5 * ARCSIZE */
7574
7526
  75% {
7575
7527
  -webkit-transform: rotate(810deg);
7576
- }
7577
- /* 3 * ARCSIZE */
7528
+ } /* 3 * ARCSIZE */
7578
7529
  87.5% {
7579
7530
  -webkit-transform: rotate(945deg);
7580
- }
7581
- /* 3.5 * ARCSIZE */
7531
+ } /* 3.5 * ARCSIZE */
7582
7532
  to {
7583
7533
  -webkit-transform: rotate(1080deg);
7584
- }
7585
- /* 4 * ARCSIZE */
7534
+ } /* 4 * ARCSIZE */
7586
7535
  }
7587
7536
  @keyframes fill-unfill-rotate {
7588
7537
  12.5% {
7589
7538
  -webkit-transform: rotate(135deg);
7590
7539
  transform: rotate(135deg);
7591
- }
7592
- /* 0.5 * ARCSIZE */
7540
+ } /* 0.5 * ARCSIZE */
7593
7541
  25% {
7594
7542
  -webkit-transform: rotate(270deg);
7595
7543
  transform: rotate(270deg);
7596
- }
7597
- /* 1 * ARCSIZE */
7544
+ } /* 1 * ARCSIZE */
7598
7545
  37.5% {
7599
7546
  -webkit-transform: rotate(405deg);
7600
7547
  transform: rotate(405deg);
7601
- }
7602
- /* 1.5 * ARCSIZE */
7548
+ } /* 1.5 * ARCSIZE */
7603
7549
  50% {
7604
7550
  -webkit-transform: rotate(540deg);
7605
7551
  transform: rotate(540deg);
7606
- }
7607
- /* 2 * ARCSIZE */
7552
+ } /* 2 * ARCSIZE */
7608
7553
  62.5% {
7609
7554
  -webkit-transform: rotate(675deg);
7610
7555
  transform: rotate(675deg);
7611
- }
7612
- /* 2.5 * ARCSIZE */
7556
+ } /* 2.5 * ARCSIZE */
7613
7557
  75% {
7614
7558
  -webkit-transform: rotate(810deg);
7615
7559
  transform: rotate(810deg);
7616
- }
7617
- /* 3 * ARCSIZE */
7560
+ } /* 3 * ARCSIZE */
7618
7561
  87.5% {
7619
7562
  -webkit-transform: rotate(945deg);
7620
7563
  transform: rotate(945deg);
7621
- }
7622
- /* 3.5 * ARCSIZE */
7564
+ } /* 3.5 * ARCSIZE */
7623
7565
  to {
7624
7566
  -webkit-transform: rotate(1080deg);
7625
7567
  transform: rotate(1080deg);
7626
- }
7627
- /* 4 * ARCSIZE */
7568
+ } /* 4 * ARCSIZE */
7628
7569
  }
7629
7570
  @-webkit-keyframes blue-fade-in-out {
7630
7571
  from {
@@ -7798,8 +7739,7 @@ input[type=range]::-ms-thumb {
7798
7739
  .circle-clipper .circle {
7799
7740
  width: 200%;
7800
7741
  height: 100%;
7801
- border-width: 3px;
7802
- /* STROKEWIDTH */
7742
+ border-width: 3px; /* STROKEWIDTH */
7803
7743
  border-style: solid;
7804
7744
  border-color: inherit;
7805
7745
  border-bottom-color: transparent !important;
@@ -7975,16 +7915,24 @@ input[type=range]::-ms-thumb {
7975
7915
  .slider .indicators .indicator-item {
7976
7916
  display: inline-block;
7977
7917
  position: relative;
7978
- cursor: pointer;
7979
7918
  height: 16px;
7980
7919
  width: 16px;
7981
7920
  margin: 0 12px;
7921
+ }
7922
+ .slider .indicators .indicator-item-btn {
7923
+ position: absolute;
7924
+ top: 0;
7925
+ left: 0;
7926
+ cursor: pointer;
7982
7927
  background-color: #e0e0e0;
7983
7928
  -webkit-transition: background-color 0.3s;
7984
7929
  transition: background-color 0.3s;
7985
7930
  border-radius: 50%;
7931
+ border-width: 0;
7932
+ width: 100%;
7933
+ height: 100%;
7986
7934
  }
7987
- .slider .indicators .indicator-item.active {
7935
+ .slider .indicators .indicator-item-btn.active {
7988
7936
  background-color: #4CAF50;
7989
7937
  }
7990
7938
 
@@ -8414,7 +8362,6 @@ input[type=range]::-ms-thumb {
8414
8362
  .datepicker-modal {
8415
8363
  max-width: 625px;
8416
8364
  }
8417
-
8418
8365
  .datepicker-container.modal-content {
8419
8366
  -webkit-box-orient: horizontal;
8420
8367
  -webkit-box-direction: normal;
@@ -8422,20 +8369,17 @@ input[type=range]::-ms-thumb {
8422
8369
  -ms-flex-direction: row;
8423
8370
  flex-direction: row;
8424
8371
  }
8425
-
8426
8372
  .datepicker-date-display {
8427
8373
  -webkit-box-flex: 0;
8428
8374
  -webkit-flex: 0 1 270px;
8429
8375
  -ms-flex: 0 1 270px;
8430
8376
  flex: 0 1 270px;
8431
8377
  }
8432
-
8433
8378
  .datepicker-controls,
8434
8379
  .datepicker-table,
8435
8380
  .datepicker-footer {
8436
8381
  width: 320px;
8437
8382
  }
8438
-
8439
8383
  .datepicker-day-button {
8440
8384
  line-height: 44px;
8441
8385
  }
@@ -8460,7 +8404,7 @@ input[type=range]::-ms-thumb {
8460
8404
  }
8461
8405
 
8462
8406
  .text-primary {
8463
- color: white;
8407
+ color: rgb(255, 255, 255);
8464
8408
  }
8465
8409
 
8466
8410
  /* Clock Digital Display */
@@ -8513,7 +8457,7 @@ input[type=text].timepicker-input-minutes {
8513
8457
  }
8514
8458
 
8515
8459
  input[type=text].text-primary {
8516
- color: white;
8460
+ color: rgb(255, 255, 255);
8517
8461
  }
8518
8462
 
8519
8463
  .timepicker-display-am-pm {
@@ -8653,7 +8597,6 @@ input[type=text].text-primary {
8653
8597
  .timepicker-modal {
8654
8598
  max-width: 600px;
8655
8599
  }
8656
-
8657
8600
  .timepicker-container.modal-content {
8658
8601
  -webkit-box-orient: horizontal;
8659
8602
  -webkit-box-direction: normal;
@@ -8661,11 +8604,9 @@ input[type=text].text-primary {
8661
8604
  -ms-flex-direction: row;
8662
8605
  flex-direction: row;
8663
8606
  }
8664
-
8665
8607
  .timepicker-text-container {
8666
8608
  top: 32%;
8667
8609
  }
8668
-
8669
8610
  .timepicker-display-am-pm {
8670
8611
  position: relative;
8671
8612
  right: auto;