advanced-filter-system 1.0.8 → 1.0.9

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 CHANGED
@@ -19,17 +19,17 @@ A powerful and flexible vanilla JavaScript filtering system that provides advanc
19
19
  - [Sorting](#sorting)
20
20
  - [Pagination](#pagination)
21
21
  - [Advanced Usage](#advanced-usage)
22
- - [Custom Animation](#custom-animation)
23
22
  - [Filter Groups](#filter-groups)
24
23
  - [Custom Sorting](#custom-sorting)
25
24
  - [URL State Management](#url-state-management)
26
25
  - [Components](#components)
27
26
  - [Filter System](#filter-system)
28
27
  - [Range Filter](#range-filter)
28
+ - [Input Range Filter](#input-range-filter)
29
29
  - [Date Filter](#date-filter)
30
30
  - [Search System](#search-system)
31
31
  - [Sort System](#sort-system)
32
- - [Pagination](#pagination-1)
32
+ - [Pagination System](#pagination-system)
33
33
  - [URL Manager](#url-manager)
34
34
  - [Styling \& Theming](#styling--theming)
35
35
  - [Built-in Themes](#built-in-themes)
@@ -97,7 +97,7 @@ pnpm add advanced-filter-system
97
97
  Or include via CDN:
98
98
 
99
99
  ```html
100
- <script src="https://unpkg.com/advanced-filter-system@1.0.8/dist/AFS.min.js"></script>
100
+ <script src="https://unpkg.com/advanced-filter-system@1.0.9/dist/AFS.min.js"></script>
101
101
  ```
102
102
 
103
103
  ## Quick Start
@@ -159,7 +159,7 @@ Or include via CDN:
159
159
  <div class="pagination-container"></div>
160
160
 
161
161
  <!-- Scripts -->
162
- <script src="https://unpkg.com/advanced-filter-system@1.0.8/dist/AFS.min.js"></script>
162
+ <script src="https://unpkg.com/advanced-filter-system@1.0.9/dist/AFS.min.js"></script>
163
163
  <script>
164
164
  const afs = AFS.createAFS({
165
165
  containerSelector: '#items-container',
@@ -327,46 +327,6 @@ const info = afs.pagination.getPageInfo();
327
327
 
328
328
  ## Advanced Usage
329
329
 
330
- ### Custom Animation
331
-
332
- ```javascript
333
- // Custom animation configuration
334
- const afs = createAFS({
335
- animation: {
336
- type: 'custom',
337
- duration: 500,
338
- easing: 'cubic-bezier(0.4, 0, 0.2, 1)',
339
- inClass: 'my-enter',
340
- outClass: 'my-leave'
341
- }
342
- });
343
-
344
- // CSS
345
- .my-enter {
346
- opacity: 0;
347
- transform: scale(0.9);
348
- }
349
-
350
- .my-enter.my-enter-active {
351
- opacity: 1;
352
- transform: scale(1);
353
- transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1),
354
- transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
355
- }
356
-
357
- .my-leave {
358
- opacity: 1;
359
- transform: scale(1);
360
- }
361
-
362
- .my-leave.my-leave-active {
363
- opacity: 0;
364
- transform: scale(0.9);
365
- transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1),
366
- transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
367
- }
368
- ```
369
-
370
330
  ### Filter Groups
371
331
 
372
332
  ```javascript
@@ -437,24 +397,35 @@ const searchQuery = afs.urlManager.getParam('search');
437
397
  Each component can be used independently or as part of the AFS system.
438
398
 
439
399
  ### Filter System
400
+
440
401
  See [Filter Documentation](docs/filter.md)
441
402
 
442
403
  ### Range Filter
404
+
443
405
  See [Range Filter Documentation](docs/range-filter.md)
444
406
 
407
+ ### Input Range Filter
408
+
409
+ See [Input Range Filter Documentation](docs/input-range-filter.md)
410
+
445
411
  ### Date Filter
412
+
446
413
  See [Date Filter Documentation](docs/date-filter.md)
447
414
 
448
415
  ### Search System
416
+
449
417
  See [Search Documentation](docs/search.md)
450
418
 
451
419
  ### Sort System
420
+
452
421
  See [Sort Documentation](docs/sort.md)
453
422
 
454
- ### Pagination
423
+ ### Pagination System
424
+
455
425
  See [Pagination Documentation](docs/pagination.md)
456
426
 
457
427
  ### URL Manager
428
+
458
429
  See [URL Manager Documentation](docs/url-manager.md)
459
430
 
460
431
  ## Styling & Theming
@@ -483,16 +454,6 @@ const afs = createAFS({
483
454
  background: '#custom-bg',
484
455
  text: '#custom-text'
485
456
  },
486
- components: {
487
- button: {
488
- borderRadius: '8px',
489
- padding: '8px 16px'
490
- },
491
- input: {
492
- borderWidth: '2px',
493
- focusRing: '3px'
494
- }
495
- }
496
457
  }
497
458
  });
498
459
  ```
@@ -504,6 +465,7 @@ const afs = createAFS({
504
465
  animation: {
505
466
  type: 'fade', // or 'slide', 'scale', etc.
506
467
  duration: 300,
468
+ easing: 'ease-in-out'
507
469
  }
508
470
  });
509
471
  ```