@finqu/cool 1.3.0 → 2.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.
Files changed (74) hide show
  1. package/README.md +23 -9
  2. package/dist/css/cool.css +13391 -7742
  3. package/dist/css/cool.css.map +1 -1
  4. package/dist/css/cool.min.css +2 -93
  5. package/dist/css/cool.min.css.map +1 -1
  6. package/dist/js/cool.bundle.js +16051 -17050
  7. package/dist/js/cool.bundle.js.map +1 -1
  8. package/dist/js/cool.bundle.min.js +11 -18
  9. package/dist/js/cool.bundle.min.js.map +1 -1
  10. package/dist/js/cool.esm.js +3469 -4468
  11. package/dist/js/cool.esm.js.map +1 -1
  12. package/dist/js/cool.esm.min.js +2 -8
  13. package/dist/js/cool.esm.min.js.map +1 -1
  14. package/dist/js/cool.js +5083 -6089
  15. package/dist/js/cool.js.map +1 -1
  16. package/dist/js/cool.min.js +2 -8
  17. package/dist/js/cool.min.js.map +1 -1
  18. package/package.json +48 -16
  19. package/scss/LISENCE +15 -0
  20. package/scss/_badge.scss +134 -0
  21. package/scss/_button-group.scss +80 -0
  22. package/scss/_buttons.scss +304 -0
  23. package/scss/_dark.scss +637 -0
  24. package/scss/_dialog.scss +351 -0
  25. package/scss/_dropdown.scss +165 -0
  26. package/scss/_forms.scss +613 -0
  27. package/scss/_frame.scss +948 -0
  28. package/scss/_grid.scss +215 -0
  29. package/scss/_input-group.scss +326 -0
  30. package/scss/_list-group.scss +127 -0
  31. package/scss/_media.scss +439 -0
  32. package/scss/_navbar.scss +122 -0
  33. package/scss/_notification.scss +115 -0
  34. package/scss/_pagination.scss +82 -0
  35. package/scss/_popover.scss +61 -0
  36. package/scss/_reboot.scss +306 -0
  37. package/scss/_root.scss +848 -0
  38. package/scss/_section.scss +735 -0
  39. package/scss/_select.scss +559 -0
  40. package/scss/_tables.scss +611 -0
  41. package/scss/_tabs.scss +50 -0
  42. package/scss/_toast.scss +277 -0
  43. package/scss/_tooltip.scss +130 -0
  44. package/scss/_typography.scss +166 -0
  45. package/scss/_variables.scss +1229 -0
  46. package/scss/cool.scss +69 -0
  47. package/scss/utilities/_align.scss +51 -0
  48. package/scss/utilities/_animation.scss +165 -0
  49. package/scss/utilities/_background.scss +72 -0
  50. package/scss/utilities/_borders.scss +205 -0
  51. package/scss/utilities/_collapse.scss +28 -0
  52. package/scss/utilities/_cursor.scss +160 -0
  53. package/scss/utilities/_display.scss +116 -0
  54. package/scss/utilities/_embed.scss +89 -0
  55. package/scss/utilities/_fill.scss +79 -0
  56. package/scss/utilities/_filters.scss +233 -0
  57. package/scss/utilities/_flex.scss +216 -0
  58. package/scss/utilities/_grid.scss +136 -0
  59. package/scss/utilities/_opacity.scss +131 -0
  60. package/scss/utilities/_overflow.scss +242 -0
  61. package/scss/utilities/_perfect-scrollbar.scss +147 -0
  62. package/scss/utilities/_pointer-events.scss +125 -0
  63. package/scss/utilities/_position.scss +130 -0
  64. package/scss/utilities/_screen-readers.scss +95 -0
  65. package/scss/utilities/_shadows.scss +195 -0
  66. package/scss/utilities/_sizing.scss +288 -0
  67. package/scss/utilities/_spacing.scss +168 -0
  68. package/scss/utilities/_stroke.scss +124 -0
  69. package/scss/utilities/_text.scss +420 -0
  70. package/scss/utilities/_transform.scss +232 -0
  71. package/scss/utilities/_transitions.scss +147 -0
  72. package/scss/utilities/_user-select.scss +93 -0
  73. package/scss/utilities/_visibility.scss +66 -0
  74. package/scss/utilities/_z-index.scss +169 -0
package/README.md CHANGED
@@ -25,14 +25,14 @@ When you install `@finqu/cool`, you get the `dist/` folder:
25
25
 
26
26
  | File | Description |
27
27
  |------|-------------|
28
- | `dist/js/cool.bundle.js` | UMD bundle with all dependencies (jQuery, PerfectScrollbar) included |
28
+ | `dist/js/cool.bundle.js` | UMD bundle includes jQuery + PerfectScrollbar for legacy convenience |
29
29
  | `dist/js/cool.bundle.min.js` | Minified UMD bundle |
30
- | `dist/js/cool.esm.js` | ES module build (external jQuery) |
30
+ | `dist/js/cool.esm.js` | ES module build (no dependencies bundled) |
31
31
  | `dist/js/cool.esm.min.js` | Minified ES module build |
32
- | `dist/js/cool.js` | UMD standalone build (external jQuery) |
32
+ | `dist/js/cool.js` | UMD standalone build (no dependencies bundled) |
33
33
  | `dist/js/cool.min.js` | Minified UMD standalone |
34
34
 
35
- **Bundle vs Standalone:** The `.bundle.js` files include jQuery and PerfectScrollbar for legacy compatibility. The standalone `.js` and `.esm.js` files keep these as external dependencies.
35
+ **Bundle vs Standalone:** The `.bundle.js` files include jQuery and PerfectScrollbar for legacy convenience. The standalone `.js` and `.esm.js` files do not include them — both are **optional** and can be provided externally if needed.
36
36
 
37
37
  ---
38
38
 
@@ -69,7 +69,7 @@ document.addEventListener('DOMContentLoaded', () => {
69
69
  });
70
70
  ```
71
71
 
72
- > The ESM build expects jQuery and PerfectScrollbar as external dependencies. The bundle build (`cool.bundle.js`) includes them automatically.
72
+ > The ESM and standalone builds work without jQuery or PerfectScrollbar. Both are **optional** — add jQuery only if you need the legacy `$.data()` plugin wrapper, and PerfectScrollbar only if you want custom scrollbars (otherwise native scrolling is used). The bundle build (`cool.bundle.js`) includes both for convenience.
73
73
 
74
74
  ### Without a bundler (script tags)
75
75
 
@@ -666,10 +666,24 @@ Defined in `.browserslistrc`:
666
666
  Cool UI's JavaScript is written in native ECMAScript. jQuery is used only as a
667
667
  legacy compatibility layer for the plugin wrapper pattern.
668
668
 
669
- | Dependency | Purpose | Included in bundle | Required for standalone/ESM |
670
- |------------|---------|-------------------|-----------------------------|
671
- | [jQuery](https://jquery.com/) ^3.7.1 | Legacy plugin wrapper | ✅ `cool.bundle.js` | Must be provided externally |
672
- | [PerfectScrollbar](https://github.com/mdbootstrap/perfect-scrollbar) ^1.5.6 | Custom scrollbars | ✅ `cool.bundle.js` | Must be provided externally |
669
+ | Dependency | Purpose | Included in bundle | Required? |
670
+ |------------|---------|-------------------|----------|
671
+ | [jQuery](https://jquery.com/) ^3.7.1 | Legacy `$.data()` plugin wrapper | ✅ `cool.bundle.js` | **Optional** only needed for the legacy jQuery wrapper |
672
+ | [PerfectScrollbar](https://github.com/mdbootstrap/perfect-scrollbar) ^1.5.6 | Custom scrollbars in sidebar/select | ✅ `cool.bundle.js` | **Optional** falls back to native scrolling |
673
+
674
+ ---
675
+
676
+ ## Contributing
677
+
678
+ We welcome contributions! Please read our [Contributing Guide](docs/contributing.md) to learn about:
679
+
680
+ - Development workflow and setup
681
+ - Coding standards and conventions
682
+ - Building and testing the project
683
+ - Submitting pull requests
684
+ - Reporting bugs and requesting features
685
+
686
+ For questions or discussions, please [open an issue](https://github.com/finqu/cool/issues) on GitHub.
673
687
 
674
688
  ---
675
689