simple-merge-class-names 7.0.2 → 7.0.3
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/README.md +4 -8
- package/package.json +9 -5
package/README.md
CHANGED
|
@@ -67,6 +67,8 @@ _If you have a different IDE use an equivalent auto code formatter tool/extensio
|
|
|
67
67
|
| `mergeClassNames` | ✅ | ❌ |
|
|
68
68
|
| `mergeClassNamesDebugger` | ✅ | ✅ |
|
|
69
69
|
|
|
70
|
+
_Example_:
|
|
71
|
+
|
|
70
72
|
```jsx
|
|
71
73
|
import { mergeClassNames } from "simple-merge-class-names";
|
|
72
74
|
|
|
@@ -303,14 +305,9 @@ Use single quotes around class names, and activate `Prettier` which will neatly
|
|
|
303
305
|
- Use single quotes (<kbd>'</kbd>) around class names
|
|
304
306
|
- Save the file
|
|
305
307
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
- Before
|
|
309
|
-

|
|
310
|
-
|
|
311
|
-
- After
|
|
308
|
+
_Before and after:_
|
|
312
309
|
|
|
313
|
-
|
|
310
|
+

|
|
314
311
|
|
|
315
312
|
## Testing Source Code
|
|
316
313
|
|
|
@@ -321,7 +318,6 @@ This project uses `Vitest` as the test runner for fast and modern testing.
|
|
|
321
318
|
```bash
|
|
322
319
|
git clone https://github.com/new-AF/simple-merge-class-names
|
|
323
320
|
cd simple-merge-class-names
|
|
324
|
-
pnpm install
|
|
325
321
|
pnpm test
|
|
326
322
|
```
|
|
327
323
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "simple-merge-class-names",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.3",
|
|
4
4
|
"description": "A straightforward utility for merging CSS class names in React + Tailwind and JavaScript projects.",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -16,12 +16,16 @@
|
|
|
16
16
|
],
|
|
17
17
|
"sideEffects": false,
|
|
18
18
|
"keywords": [
|
|
19
|
-
"
|
|
20
|
-
"merge",
|
|
19
|
+
"class-merger",
|
|
21
20
|
"class-names-merger",
|
|
22
|
-
"
|
|
21
|
+
"jsx",
|
|
22
|
+
"merge",
|
|
23
|
+
"mergeClassNames",
|
|
24
|
+
"mergeClassNamesDebugger",
|
|
25
|
+
"merger",
|
|
23
26
|
"react",
|
|
24
|
-
"tailwindcss"
|
|
27
|
+
"tailwindcss",
|
|
28
|
+
"utility"
|
|
25
29
|
],
|
|
26
30
|
"author": "Abdullah Fatota",
|
|
27
31
|
"license": "AGPL-3.0",
|