@materializecss/materialize 2.0.3 → 2.0.4
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/LICENSE +1 -1
- package/README.md +15 -17
- package/dist/css/materialize.css +37 -12
- package/dist/css/materialize.min.css +3 -3
- package/dist/js/materialize.js +87 -71
- package/dist/js/materialize.min.js +3 -3
- package/dist/js/materialize.min.js.map +1 -1
- package/dist/src/dropdown.d.ts +1 -0
- package/dist/src/dropdown.d.ts.map +1 -1
- package/dist/src/tabs.d.ts.map +1 -1
- package/package.json +16 -35
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<a href="https://
|
|
2
|
+
<a href="https://materializeweb.com" target="_blank">
|
|
3
3
|
<img src="https://materializeweb.com/images/materialize.svg" width="200">
|
|
4
4
|
</a>
|
|
5
5
|
</p>
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<p align="center">
|
|
10
10
|
Materialize, a CSS Framework based on Material Design.
|
|
11
11
|
<br>
|
|
12
|
-
<a href="https://
|
|
12
|
+
<a target="_blank" href="https://materializeweb.com"><strong>[ Browse the docs ]</strong></a>
|
|
13
13
|
<br>
|
|
14
14
|
<br>
|
|
15
15
|
<a href="https://github.com/materializecss/materialize/actions/">
|
|
@@ -30,33 +30,31 @@
|
|
|
30
30
|
</p>
|
|
31
31
|
|
|
32
32
|
## Quickstart
|
|
33
|
-
Read the [getting started guide](https://
|
|
33
|
+
Read the [getting started guide](https://materializeweb.com/getting-started.html) for more information on how to use materialize.
|
|
34
34
|
|
|
35
35
|
- [Download the latest release](https://github.com/materializecss/materialize/releases/latest) of materialize directly from GitHub. ([Beta](https://github.com/materializecss/materialize/releases/))
|
|
36
36
|
- Clone the repo: `git clone https://github.com/materializecss/materialize.git`
|
|
37
37
|
- Include the files via [jsDelivr](https://www.jsdelivr.com/package/npm/@materializecss/materialize).
|
|
38
38
|
- Install with [npm](https://www.npmjs.com): `npm install @materializecss/materialize` (Beta: `npm install @materializecss/materialize@next`)
|
|
39
39
|
|
|
40
|
-
##
|
|
41
|
-
The documentation can be found at <https://
|
|
40
|
+
## Development
|
|
41
|
+
The documentation can be found at <https://materializeweb.com>. To run the documentation locally on your machine, you need [Node.js](https://nodejs.org) installed on your computer.
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
git clone https://github.com/materializecss/materialize
|
|
48
|
-
cd materialize
|
|
43
|
+
This is the core project with all the components. To see how they are used we recommend using an example project or go to the documentation.
|
|
44
|
+
Otherwise, if you want to develop the components itself, the dev process of this core-repo works like this:
|
|
45
|
+
```sh
|
|
49
46
|
npm install
|
|
47
|
+
npm run dev
|
|
50
48
|
```
|
|
51
49
|
|
|
52
|
-
|
|
50
|
+
### Running documentation locally
|
|
51
|
+
See [Materialize Docs Repo](https://github.com/materializecss/materialize-docs) to see Materialize in Action.
|
|
53
52
|
|
|
54
53
|
### Documentation for previous releases
|
|
55
|
-
Previous releases
|
|
56
|
-
|
|
57
|
-
## Build
|
|
58
|
-
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`.
|
|
54
|
+
Previous releases are available [here](https://github.com/materializecss/materialize/releases).
|
|
59
55
|
|
|
56
|
+
## Release
|
|
57
|
+
If you want to release `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`.
|
|
60
58
|
```sh
|
|
61
59
|
npm run release -- --oldver=<current_version> --newver=<new_version>
|
|
62
60
|
```
|
|
@@ -100,4 +98,4 @@ Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com
|
|
|
100
98
|
[](https://opencollective.com/materialize#backers)
|
|
101
99
|
|
|
102
100
|
## Copyright and license
|
|
103
|
-
Code Copyright
|
|
101
|
+
Code Copyright 2024 Materialize. Code released under the MIT license.
|
package/dist/css/materialize.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Materialize v2.0.
|
|
3
|
-
* Copyright 2014-
|
|
2
|
+
* Materialize v2.0.4 (https://materializeweb.com)
|
|
3
|
+
* Copyright 2014-2024 Materialize
|
|
4
4
|
* MIT License (https://raw.githubusercontent.com/materializecss/materialize/master/LICENSE)
|
|
5
5
|
*/
|
|
6
6
|
@charset "UTF-8";
|
|
@@ -3457,7 +3457,7 @@ video.responsive-video {
|
|
|
3457
3457
|
width: 100%;
|
|
3458
3458
|
}
|
|
3459
3459
|
.pagination li.prev,
|
|
3460
|
-
.pagination li.next {
|
|
3460
|
+
.pagination li.next {
|
|
3461
3461
|
width: 10%;
|
|
3462
3462
|
}
|
|
3463
3463
|
.pagination li.pages {
|
|
@@ -3716,7 +3716,7 @@ td, th {
|
|
|
3716
3716
|
content: " ";
|
|
3717
3717
|
}
|
|
3718
3718
|
table.responsive-table th,
|
|
3719
|
-
table.responsive-table td {
|
|
3719
|
+
table.responsive-table td {
|
|
3720
3720
|
margin: 0;
|
|
3721
3721
|
vertical-align: top;
|
|
3722
3722
|
}
|
|
@@ -6418,6 +6418,9 @@ label {
|
|
|
6418
6418
|
::-moz-placeholder {
|
|
6419
6419
|
color: var(--font-color-medium);
|
|
6420
6420
|
}
|
|
6421
|
+
:-ms-input-placeholder {
|
|
6422
|
+
color: var(--font-color-medium);
|
|
6423
|
+
}
|
|
6421
6424
|
::-ms-input-placeholder {
|
|
6422
6425
|
color: var(--font-color-medium);
|
|
6423
6426
|
}
|
|
@@ -6486,6 +6489,14 @@ textarea.materialize-textarea {
|
|
|
6486
6489
|
.input-field input:focus:not([readonly]) + label, .input-field textarea:focus:not([readonly]) + label {
|
|
6487
6490
|
color: var(--primary-color);
|
|
6488
6491
|
}
|
|
6492
|
+
.input-field input:not(:-moz-placeholder-shown) + label, .input-field textarea:not(:-moz-placeholder-shown) + label {
|
|
6493
|
+
transform: scale(0.75);
|
|
6494
|
+
top: 8px;
|
|
6495
|
+
}
|
|
6496
|
+
.input-field input:not(:-ms-input-placeholder) + label, .input-field textarea:not(:-ms-input-placeholder) + label {
|
|
6497
|
+
transform: scale(0.75);
|
|
6498
|
+
top: 8px;
|
|
6499
|
+
}
|
|
6489
6500
|
.input-field input:focus:not([readonly]) + label, .input-field input:not([placeholder=" "]) + label, .input-field input:not(:placeholder-shown) + label, .input-field textarea:focus:not([readonly]) + label, .input-field textarea:not([placeholder=" "]) + label, .input-field textarea:not(:placeholder-shown) + label {
|
|
6490
6501
|
-webkit-transform: scale(0.75);
|
|
6491
6502
|
transform: scale(0.75);
|
|
@@ -6502,6 +6513,10 @@ textarea.materialize-textarea {
|
|
|
6502
6513
|
-moz-user-select: none;
|
|
6503
6514
|
user-select: none;
|
|
6504
6515
|
}
|
|
6516
|
+
.input-field input:-ms-input-placeholder {
|
|
6517
|
+
-ms-user-select: none;
|
|
6518
|
+
user-select: none;
|
|
6519
|
+
}
|
|
6505
6520
|
.input-field input::-ms-input-placeholder {
|
|
6506
6521
|
-ms-user-select: none;
|
|
6507
6522
|
user-select: none;
|
|
@@ -6591,6 +6606,20 @@ textarea.materialize-textarea {
|
|
|
6591
6606
|
.input-field.outlined input:focus:not([readonly]) + label, .input-field.outlined textarea:focus:not([readonly]) + label {
|
|
6592
6607
|
color: var(--primary-color);
|
|
6593
6608
|
}
|
|
6609
|
+
.input-field.outlined input:not(:-moz-placeholder-shown) + label, .input-field.outlined textarea:not(:-moz-placeholder-shown) + label {
|
|
6610
|
+
top: -8px;
|
|
6611
|
+
left: 16px;
|
|
6612
|
+
margin-left: -4px;
|
|
6613
|
+
padding: 0 4px;
|
|
6614
|
+
background-color: var(--background-color);
|
|
6615
|
+
}
|
|
6616
|
+
.input-field.outlined input:not(:-ms-input-placeholder) + label, .input-field.outlined textarea:not(:-ms-input-placeholder) + label {
|
|
6617
|
+
top: -8px;
|
|
6618
|
+
left: 16px;
|
|
6619
|
+
margin-left: -4px;
|
|
6620
|
+
padding: 0 4px;
|
|
6621
|
+
background-color: var(--background-color);
|
|
6622
|
+
}
|
|
6594
6623
|
.input-field.outlined input:focus:not([readonly]) + label, .input-field.outlined input:not([placeholder=" "]) + label, .input-field.outlined input:not(:placeholder-shown) + label, .input-field.outlined textarea:focus:not([readonly]) + label, .input-field.outlined textarea:not([placeholder=" "]) + label, .input-field.outlined textarea:not(:placeholder-shown) + label {
|
|
6595
6624
|
top: -8px;
|
|
6596
6625
|
left: 16px;
|
|
@@ -7451,10 +7480,8 @@ input[type=range]::-moz-range-thumb {
|
|
|
7451
7480
|
width: 14px;
|
|
7452
7481
|
border-radius: 50%;
|
|
7453
7482
|
background: var(--primary-color);
|
|
7454
|
-
-
|
|
7455
|
-
transition: -webkit-box-shadow 0.3s;
|
|
7483
|
+
-moz-transition: box-shadow 0.3s;
|
|
7456
7484
|
transition: box-shadow 0.3s;
|
|
7457
|
-
transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;
|
|
7458
7485
|
margin-top: -5px;
|
|
7459
7486
|
}
|
|
7460
7487
|
|
|
@@ -7492,10 +7519,8 @@ input[type=range]::-ms-thumb {
|
|
|
7492
7519
|
width: 14px;
|
|
7493
7520
|
border-radius: 50%;
|
|
7494
7521
|
background: var(--primary-color);
|
|
7495
|
-
-
|
|
7496
|
-
transition: -webkit-box-shadow 0.3s;
|
|
7522
|
+
-ms-transition: box-shadow 0.3s;
|
|
7497
7523
|
transition: box-shadow 0.3s;
|
|
7498
|
-
transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;
|
|
7499
7524
|
}
|
|
7500
7525
|
|
|
7501
7526
|
.keyboard-focused input[type=range]:focus:not(.active)::-ms-thumb {
|
|
@@ -8893,8 +8918,8 @@ input[type=range]::-ms-thumb {
|
|
|
8893
8918
|
flex: 0 1 270px;
|
|
8894
8919
|
}
|
|
8895
8920
|
.datepicker-controls,
|
|
8896
|
-
.datepicker-table,
|
|
8897
|
-
.datepicker-footer {
|
|
8921
|
+
.datepicker-table,
|
|
8922
|
+
.datepicker-footer {
|
|
8898
8923
|
width: 320px;
|
|
8899
8924
|
}
|
|
8900
8925
|
.datepicker-day-button {
|