@styloviz/tree-view 1.0.0 → 1.0.2
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 +12 -3
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -14,9 +14,18 @@ Requires `@angular/core` and `@angular/common` 21 or 22 (peer range `>=21.0.0 <2
|
|
|
14
14
|
|
|
15
15
|
## Styles (required)
|
|
16
16
|
|
|
17
|
-
Styloviz components are Tailwind CSS 4 utilities.
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
Styloviz components are Tailwind CSS 4 utilities. If the project does not use
|
|
18
|
+
Tailwind yet, add it and its PostCSS plugin (the Angular CLI reads
|
|
19
|
+
`.postcssrc.json` from the project root):
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
npm i -D tailwindcss @tailwindcss/postcss postcss
|
|
23
|
+
echo '{ "plugins": { "@tailwindcss/postcss": {} } }' > .postcssrc.json
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Then, in your global stylesheet (usually `src/styles.css`), import the kit's
|
|
27
|
+
tokens and let Tailwind scan the installed packages — it skips `node_modules`
|
|
28
|
+
otherwise:
|
|
20
29
|
|
|
21
30
|
```css
|
|
22
31
|
@import "tailwindcss";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@styloviz/tree-view",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "8 premium variants: collapsible tree, file explorer, tri-state checkboxes, org chart, tree table, searchable, drag & drop reordering and lazy load. Lazy loading, the tree-table columns and drag & drop reordering are Pro (`sv-tree-view-pro`); the free component renders the nodes you give it.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -13,20 +13,20 @@
|
|
|
13
13
|
],
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"author": "sazzad-bs23",
|
|
16
|
-
"homepage": "https://styloviz.dev",
|
|
16
|
+
"homepage": "https://styloviz.dev/docs/tree-view",
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
|
-
"url": "git+https://github.com/
|
|
19
|
+
"url": "git+https://github.com/styloviz/styloviz.git",
|
|
20
20
|
"directory": "projects/tree-view-free"
|
|
21
21
|
},
|
|
22
22
|
"bugs": {
|
|
23
|
-
"url": "https://github.com/styloviz/community/
|
|
23
|
+
"url": "https://github.com/styloviz/community/discussions"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@angular/common": ">=21.0.0 <23.0.0",
|
|
27
27
|
"@angular/core": ">=21.0.0 <23.0.0",
|
|
28
|
-
"@styloviz/core": "^1.0.
|
|
29
|
-
"@styloviz/icons": "^1.0.
|
|
28
|
+
"@styloviz/core": "^1.0.2",
|
|
29
|
+
"@styloviz/icons": "^1.0.2"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|