ng-virtual-list 0.0.6 → 0.0.8

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 (2) hide show
  1. package/README.md +72 -0
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -26,6 +26,42 @@ npm i ng-virtual-list
26
26
  </ng-template>
27
27
  ```
28
28
 
29
+ ```css
30
+ .vl-section {
31
+ padding: 20px;
32
+ margin-bottom: 8px;
33
+
34
+ &>h1 {
35
+ margin-bottom: 0;
36
+ }
37
+ }
38
+
39
+ .list {
40
+ border-radius: 3px;
41
+ box-shadow: 1px 2px 8px 4px rgba(0, 0, 0, 0.075);
42
+ border: 1px solid rgba(0, 0, 0, 0.1);
43
+
44
+ &__container {
45
+ width: 100%;
46
+ padding: 0 12px;
47
+ }
48
+
49
+ &__group-container {
50
+ width: 100%;
51
+ padding: 0 12px;
52
+ background-color: rgb(230, 234, 238);
53
+ font-weight: 600;
54
+ font-size: 14px;
55
+ text-transform: uppercase;
56
+ display: flex;
57
+ }
58
+
59
+ &.simple {
60
+ height: 500px;
61
+ }
62
+ }
63
+ ```
64
+
29
65
  ```ts
30
66
  import { NgVirtualListComponent, IVirtualListCollection } from 'ng-virtual-list';
31
67
 
@@ -72,6 +108,42 @@ export class AppComponent {
72
108
  </ng-template>
73
109
  ```
74
110
 
111
+ ```css
112
+ .vl-section {
113
+ padding: 20px;
114
+ margin-bottom: 8px;
115
+
116
+ &>h1 {
117
+ margin-bottom: 0;
118
+ }
119
+ }
120
+
121
+ .list {
122
+ border-radius: 3px;
123
+ box-shadow: 1px 2px 8px 4px rgba(0, 0, 0, 0.075);
124
+ border: 1px solid rgba(0, 0, 0, 0.1);
125
+
126
+ &__container {
127
+ width: 100%;
128
+ padding: 0 12px;
129
+ }
130
+
131
+ &__group-container {
132
+ width: 100%;
133
+ padding: 0 12px;
134
+ background-color: rgb(230, 234, 238);
135
+ font-weight: 600;
136
+ font-size: 14px;
137
+ text-transform: uppercase;
138
+ display: flex;
139
+ }
140
+
141
+ &.simple {
142
+ height: 500px;
143
+ }
144
+ }
145
+ ```
146
+
75
147
  ```ts
76
148
  import { NgVirtualListComponent, IVirtualListCollection, IVirtualListStickyMap } from 'ng-virtual-list';
77
149
 
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "ng-virtual-list",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "author": {
5
5
  "name": "Evgenii Grebennikov",
6
6
  "email": "djonnyx@gmail.com"
7
7
  },
8
+ "license": "MIT",
8
9
  "homepage": "https://github.com/djonnyx/ng-virtual-list/tree/main/projects/ng-virtual-list",
9
10
  "keywords": [
10
11
  "ng",