@materializecss/materialize 1.1.0-alpha → 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 -725
- package/LICENSE +21 -21
- package/README.md +91 -97
- package/dist/css/materialize.css +659 -1140
- package/dist/css/materialize.min.css +7 -7
- package/dist/js/materialize.js +4679 -4654
- package/dist/js/materialize.min.js +6 -6
- package/extras/noUiSlider/nouislider.css +404 -406
- package/extras/noUiSlider/nouislider.js +2147 -2147
- 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 +285 -275
- package/js/global.js +428 -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 +391 -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 +712 -647
- package/js/toasts.js +325 -322
- package/js/tooltip.js +320 -320
- package/js/waves.js +614 -614
- package/package.json +84 -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 +646 -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 +199 -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 +388 -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/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,91 @@
|
|
|
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://
|
|
25
|
-
<img src="https://
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
- [
|
|
37
|
-
- [
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
- [
|
|
43
|
-
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
##
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
##
|
|
91
|
-
|
|
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://gitter.im/materializecss/materialize">
|
|
25
|
+
<img src="https://badges.gitter.im/Join%20Chat.svg" alt="Gitter badge">
|
|
26
|
+
</a>
|
|
27
|
+
</p>
|
|
28
|
+
|
|
29
|
+
## Table of Contents
|
|
30
|
+
- [Quickstart](#quickstart)
|
|
31
|
+
- [Documentation](#documentation)
|
|
32
|
+
- [Build](#build)
|
|
33
|
+
- [Supported Browsers](#supported-browsers)
|
|
34
|
+
- [Changelog](#changelog)
|
|
35
|
+
- [Testing](#testing)
|
|
36
|
+
- [Contributing](#contributing)
|
|
37
|
+
- [Copyright and license](#copyright-and-license)
|
|
38
|
+
|
|
39
|
+
## Quickstart:
|
|
40
|
+
Read the [getting started guide](https://materializecss.github.io/materialize/getting-started.html) for more information on how to use materialize.
|
|
41
|
+
|
|
42
|
+
- [Download the latest release](https://github.com/materializecss/materialize/releases/latest) of materialize directly from GitHub. ([Beta](https://github.com/materializecss/materialize/releases/))
|
|
43
|
+
- Clone the repo: `git clone https://github.com/materializecss/materialize.git`
|
|
44
|
+
- Include the files via [jsDelivr](https://www.jsdelivr.com/package/npm/@materializecss/materialize).
|
|
45
|
+
- Install with [npm](https://www.npmjs.com): `npm install @materializecss/materialize` (Beta: `npm install @materializecss/materialize@next`)
|
|
46
|
+
|
|
47
|
+
## Documentation
|
|
48
|
+
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.
|
|
49
|
+
|
|
50
|
+
### Running documentation locally
|
|
51
|
+
Run these commands to set up the documentation:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
git clone https://github.com/materializecss/materialize
|
|
55
|
+
cd materialize
|
|
56
|
+
npm install
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
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.
|
|
60
|
+
|
|
61
|
+
### Documentation for previous releases
|
|
62
|
+
Previous releases and their documentation are available for [download](https://github.com/materializecss/materialize/releases).
|
|
63
|
+
|
|
64
|
+
## Build
|
|
65
|
+
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`.
|
|
66
|
+
|
|
67
|
+
```sh
|
|
68
|
+
npm run release -- --oldver=<current_version> --newver=<new_version>
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Supported Browsers:
|
|
72
|
+
Materialize is compatible with:
|
|
73
|
+
|
|
74
|
+
- Chrome 35+
|
|
75
|
+
- Firefox 31+
|
|
76
|
+
- Safari 9+
|
|
77
|
+
- Opera
|
|
78
|
+
- Edge
|
|
79
|
+
- IE 11+
|
|
80
|
+
|
|
81
|
+
## Changelog
|
|
82
|
+
For changelogs, check out [the Releases section of materialize](https://github.com/materializecss/materialize/releases) or the [CHANGELOG.md](CHANGELOG.md).
|
|
83
|
+
|
|
84
|
+
## Testing
|
|
85
|
+
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).
|
|
86
|
+
|
|
87
|
+
## Contributing
|
|
88
|
+
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.
|
|
89
|
+
|
|
90
|
+
## Copyright and license
|
|
91
|
+
Code Copyright 2022 Materialize. Code released under the MIT license.
|