Skip to content

Commit 1cff25d

Browse files
committed
Release 2.0.0
1 parent dda3cf0 commit 1cff25d

File tree

1,552 files changed

+5533
-423685
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,552 files changed

+5533
-423685
lines changed

.browserslistrc

-9
This file was deleted.

.eslintrc

-18
This file was deleted.

.prettierignore

-9
This file was deleted.

.prettierrc

-11
This file was deleted.

.travis.yml

-5
This file was deleted.

CONTRIBUTE.md

-141
This file was deleted.

License.txt

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
MIT license for TW Elements Free
2+
3+
Free packages are available under the MIT License.
4+
5+
-- Highlights
6+
7+
● Free for personal use
8+
● Free for commercial use
9+
● No attribution required
10+
11+
-- Copyright notice
12+
13+
Permission is hereby granted, free of charge, to any person obtaining
14+
a copy of this software and associated documentation files (the "Software"),
15+
to deal in the Software without restriction, including without limitation
16+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
17+
and/or sell copies of the Software, and to permit persons to whom the
18+
Software is furnished to do so, subject to the following conditions.
19+
20+
The above copyright notice and this permission notice shall be included
21+
in all copies or substantial portions of the Software.
22+
23+
The software is provided "As is", without warranty of any kind, express
24+
or implied, including but not limited To the warranties of merchantability,
25+
fitness for a particular purpose and noninfringement. In no event shall
26+
The authors or copyright holders be liable for any claim, damages or other
27+
liability, whether in an action of Contract, tort or otherwise, arising from,
28+
out of or in connection with the software or the use or other Dealings
29+
in the software.

README.md

+6-14
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,10 @@ TW Elements is a huge collection of free, interactive components for Tailwind CS
4040

4141
## Community
4242

43-
TW Elements is a **community-driven** project.
44-
We invite you to **track our [live progress 👁️](https://github.com/orgs/mdbootstrap/projects/1)** on the upcoming release.
45-
46-
In the meantime you can also:
47-
4843
- Motivate us with some [words of encouragament ❤️](https://github.com/mdbootstrap/TW-Elements/discussions/categories/kind-words-general-feedback)
4944
- Share your [ideas & feature requests 💡](https://github.com/mdbootstrap/TW-Elements/discussions/categories/share-ideas-request-features)
5045
- Aks for help & help others in our [community support 🙏](https://github.com/mdbootstrap/TW-Elements/discussions/categories/support-from-community)
51-
- **Engage, discuss & have fun in our [open-source community 💬](https://github.com/mdbootstrap/TW-Elements/discussions)**
46+
- **Engage, discuss & have fun in our [community 💬](https://github.com/mdbootstrap/TW-Elements/discussions)**
5247

5348
**If you want to help the project grow, start by simply sharing it with your peers!**
5449

@@ -740,19 +735,16 @@ npm install tw-elements
740735

741736
```javascript
742737
module.exports = {
743-
content: [
744-
"./src/**/*.{html,js}",
745-
"./node_modules/tw-elements/dist/js/**/*.js",
746-
],
747-
plugins: [require("tw-elements/dist/plugin")],
738+
content: ["./src/**/*.{html,js}", "./node_modules/tw-elements/js/**/*.js"],
739+
plugins: [require("tw-elements/plugin.cjs")],
748740
darkMode: "class",
749741
};
750742
```
751743

752744
4. Dynamic components will work after adding the js file:
753745

754746
```
755-
<script src="./TW-ELEMENTS-PATH/dist/js/tw-elements.umd.min.js"></script>
747+
<script src="./TW-ELEMENTS-PATH/js/tw-elements.umd.min.js"></script>
756748
```
757749

758750
Alternatively, you can import it in the following way (bundler version):
@@ -809,7 +801,7 @@ Add the stylesheet files below in the _head_ section:
809801

810802
```
811803
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900&display=swap" rel="stylesheet" />
812-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tw-elements/dist/css/tw-elements.min.css" />
804+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tw-elements/css/tw-elements.min.css" />
813805
<script src="https://cdn.tailwindcss.com"></script>
814806
<script>
815807
tailwind.config = {
@@ -831,5 +823,5 @@ Add the stylesheet files below in the _head_ section:
831823
Require the js bundled file right before the _body_ closing tag:
832824

833825
```
834-
<script src="https://cdn.jsdelivr.net/npm/tw-elements/dist/js/tw-elements.umd.min.js"></script>
826+
<script src="https://cdn.jsdelivr.net/npm/tw-elements/js/tw-elements.umd.min.js"></script>
835827
```

README.txt

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
TW Elements Standard
2+
Version: 2.0.0
3+
4+
Documentation:
5+
https://tw-elements.com/
6+
7+
Contact:
8+

babel.config.cjs

-25
This file was deleted.

0 commit comments

Comments
 (0)