@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.
Files changed (56) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +15 -17
  3. package/dist/css/materialize.css +677 -566
  4. package/dist/css/materialize.min.css +3 -3
  5. package/dist/js/materialize.js +103 -77
  6. package/dist/js/materialize.min.js +3 -3
  7. package/dist/js/materialize.min.js.map +1 -1
  8. package/dist/src/bounding.d.ts.map +1 -1
  9. package/dist/src/dropdown.d.ts +1 -0
  10. package/dist/src/dropdown.d.ts.map +1 -1
  11. package/dist/src/edges.d.ts.map +1 -1
  12. package/dist/src/modal.d.ts.map +1 -1
  13. package/dist/src/select.d.ts.map +1 -1
  14. package/dist/src/tabs.d.ts.map +1 -1
  15. package/dist/src/toasts.d.ts.map +1 -1
  16. package/dist/src/utils.d.ts.map +1 -1
  17. package/dist/src/waves.d.ts.map +1 -1
  18. package/package.json +16 -35
  19. package/sass/components/_badges.scss +17 -12
  20. package/sass/components/_buttons.scss +137 -126
  21. package/sass/components/_cards.scss +12 -14
  22. package/sass/components/_carousel.scss +8 -6
  23. package/sass/components/_chips.scss +10 -11
  24. package/sass/components/_collapsible.scss +6 -8
  25. package/sass/components/_collection.scss +15 -15
  26. package/sass/components/_datepicker.scss +15 -15
  27. package/sass/components/_dropdown.scss +5 -17
  28. package/sass/components/_global.scss +65 -137
  29. package/sass/components/_grid.scss +12 -4
  30. package/sass/components/_materialbox.scss +1 -1
  31. package/sass/components/_modal.scss +14 -9
  32. package/sass/components/_navbar.scss +31 -25
  33. package/sass/components/_preloader.scss +5 -6
  34. package/sass/components/_sidenav.scss +42 -26
  35. package/sass/components/_slider.scss +5 -5
  36. package/sass/components/_table_of_contents.scss +7 -8
  37. package/sass/components/_tabs.scss +16 -17
  38. package/sass/components/_tapTarget.scss +3 -3
  39. package/sass/components/_timepicker.scss +12 -12
  40. package/sass/components/_toast.scss +17 -10
  41. package/sass/components/_tooltip.scss +13 -6
  42. package/sass/components/_variables.scss +13 -377
  43. package/sass/components/colors.module.scss +74 -180
  44. package/sass/components/forms/_checkboxes.scss +22 -22
  45. package/sass/components/forms/_file-input.scss +2 -5
  46. package/sass/components/forms/_forms.scss +5 -3
  47. package/sass/components/forms/_input-fields.scss +40 -41
  48. package/sass/components/forms/_radio-buttons.scss +11 -14
  49. package/sass/components/forms/_range.scss +16 -24
  50. package/sass/components/forms/_select.scss +34 -28
  51. package/sass/components/forms/_switches.scss +9 -12
  52. package/sass/components/theme.module.scss +140 -0
  53. package/sass/materialize.scss +6 -3
  54. package/sass/components/_theme_variables.scss +0 -78
  55. package/sass/components/theme.dark.module.scss +0 -32
  56. package/sass/components/theme.light.module.scss +0 -32
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2014-2019 Materialize
3
+ Copyright (c) 2014-2024 Materialize
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <a href="https://materializecss.github.io/materialize/">
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://materializecss.github.io/materialize/"><strong>-- Browse the docs --</strong></a>
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://materializecss.github.io/materialize/getting-started.html) for more information on how to use materialize.
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
- ## Documentation
41
- 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.
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
- ### Running documentation locally
44
- Run these commands to set up the documentation:
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
- 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.
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 and their documentation are available for [download](https://github.com/materializecss/materialize/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
  [![Backers](https://opencollective.com/materialize/backers.svg?width=890)](https://opencollective.com/materialize#backers)
101
99
 
102
100
  ## Copyright and license
103
- Code Copyright 2023 Materialize. Code released under the MIT license.
101
+ Code Copyright 2024 Materialize. Code released under the MIT license.