@materializecss/materialize 2.0.3 → 2.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/LICENSE +1 -1
- package/README.md +15 -17
- package/dist/css/materialize.css +677 -566
- package/dist/css/materialize.min.css +3 -3
- package/dist/js/materialize.js +103 -77
- package/dist/js/materialize.min.js +3 -3
- package/dist/js/materialize.min.js.map +1 -1
- package/dist/src/bounding.d.ts.map +1 -1
- package/dist/src/dropdown.d.ts +1 -0
- package/dist/src/dropdown.d.ts.map +1 -1
- package/dist/src/edges.d.ts.map +1 -1
- package/dist/src/modal.d.ts.map +1 -1
- package/dist/src/select.d.ts.map +1 -1
- package/dist/src/tabs.d.ts.map +1 -1
- package/dist/src/toasts.d.ts.map +1 -1
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/waves.d.ts.map +1 -1
- package/package.json +16 -35
- package/sass/components/_badges.scss +17 -12
- package/sass/components/_buttons.scss +137 -126
- package/sass/components/_cards.scss +12 -14
- package/sass/components/_carousel.scss +8 -6
- package/sass/components/_chips.scss +10 -11
- package/sass/components/_collapsible.scss +6 -8
- package/sass/components/_collection.scss +15 -15
- package/sass/components/_datepicker.scss +15 -15
- package/sass/components/_dropdown.scss +5 -17
- package/sass/components/_global.scss +65 -137
- package/sass/components/_grid.scss +12 -4
- package/sass/components/_materialbox.scss +1 -1
- package/sass/components/_modal.scss +14 -9
- package/sass/components/_navbar.scss +31 -25
- package/sass/components/_preloader.scss +5 -6
- package/sass/components/_sidenav.scss +42 -26
- package/sass/components/_slider.scss +5 -5
- package/sass/components/_table_of_contents.scss +7 -8
- package/sass/components/_tabs.scss +16 -17
- package/sass/components/_tapTarget.scss +3 -3
- package/sass/components/_timepicker.scss +12 -12
- package/sass/components/_toast.scss +17 -10
- package/sass/components/_tooltip.scss +13 -6
- package/sass/components/_variables.scss +13 -377
- package/sass/components/colors.module.scss +74 -180
- package/sass/components/forms/_checkboxes.scss +22 -22
- package/sass/components/forms/_file-input.scss +2 -5
- package/sass/components/forms/_forms.scss +5 -3
- package/sass/components/forms/_input-fields.scss +40 -41
- package/sass/components/forms/_radio-buttons.scss +11 -14
- package/sass/components/forms/_range.scss +16 -24
- package/sass/components/forms/_select.scss +34 -28
- package/sass/components/forms/_switches.scss +9 -12
- package/sass/components/theme.module.scss +140 -0
- package/sass/materialize.scss +6 -3
- package/sass/components/_theme_variables.scss +0 -78
- package/sass/components/theme.dark.module.scss +0 -32
- package/sass/components/theme.light.module.scss +0 -32
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.
|