osi-cards-lib 1.5.25 → 1.5.26

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 (87) hide show
  1. package/package.json +13 -25
  2. package/postcss.config.js +81 -0
  3. package/section-registry.json +3864 -0
  4. package/section-registry.schema.json +264 -0
  5. package/fesm2022/osi-cards-lib.mjs +0 -31881
  6. package/fesm2022/osi-cards-lib.mjs.map +0 -1
  7. package/index.d.ts +0 -11522
  8. package/scripts/setup-angular-styles.js +0 -172
  9. package/styles/_components.scss +0 -38
  10. package/styles/_index.scss +0 -25
  11. package/styles/_osi-cards-mixins.scss +0 -459
  12. package/styles/_osi-cards-tokens.scss +0 -333
  13. package/styles/_styles-scoped.scss +0 -81
  14. package/styles/_styles.scss +0 -26
  15. package/styles/bundles/_ai-card.scss +0 -146
  16. package/styles/bundles/_all.scss +0 -68
  17. package/styles/bundles/_base.scss +0 -60
  18. package/styles/bundles/_card-skeleton.scss +0 -290
  19. package/styles/bundles/_index.scss +0 -25
  20. package/styles/bundles/_sections.scss +0 -48
  21. package/styles/bundles/_tokens-only.scss +0 -139
  22. package/styles/components/_ai-card-renderer.scss +0 -104
  23. package/styles/components/_badges.scss +0 -317
  24. package/styles/components/_card-actions.scss +0 -169
  25. package/styles/components/_card-footer.scss +0 -47
  26. package/styles/components/_component-styles.scss +0 -205
  27. package/styles/components/_empty-state.scss +0 -630
  28. package/styles/components/_hero-card.scss +0 -422
  29. package/styles/components/_image-fallback.scss +0 -28
  30. package/styles/components/_streaming-effects.scss +0 -518
  31. package/styles/components/cards/_ai-card.scss +0 -717
  32. package/styles/components/sections/_all-sections.generated.scss +0 -41
  33. package/styles/components/sections/_all-sections.scss +0 -1086
  34. package/styles/components/sections/_balanced-compact-system.scss +0 -186
  35. package/styles/components/sections/_compact-mixins.scss +0 -180
  36. package/styles/components/sections/_component-mixins.scss +0 -454
  37. package/styles/components/sections/_design-system.scss +0 -477
  38. package/styles/components/sections/_design-tokens.scss +0 -308
  39. package/styles/components/sections/_enhanced-design-variables.scss +0 -147
  40. package/styles/components/sections/_master-compact-system.scss +0 -302
  41. package/styles/components/sections/_master-dense-system.scss +0 -239
  42. package/styles/components/sections/_minimalistic-design.scss +0 -268
  43. package/styles/components/sections/_modern-effects.scss +0 -392
  44. package/styles/components/sections/_modern-sections.scss +0 -351
  45. package/styles/components/sections/_perfect-system.scss +0 -204
  46. package/styles/components/sections/_section-animations.scss +0 -331
  47. package/styles/components/sections/_section-shell.scss +0 -337
  48. package/styles/components/sections/_section-types.generated.scss +0 -30
  49. package/styles/components/sections/_sections-all.scss +0 -26
  50. package/styles/components/sections/_sections-base.scss +0 -334
  51. package/styles/components/sections/_typography-system.scss +0 -327
  52. package/styles/components/sections/_ultra-compact-tokens.scss +0 -375
  53. package/styles/components/sections/_unified-section-style.scss +0 -157
  54. package/styles/components/sections/_utility-classes.scss +0 -567
  55. package/styles/components/sections/_visual-effects-library.scss +0 -374
  56. package/styles/core/_animations.scss +0 -1498
  57. package/styles/core/_bootstrap-reset.scss +0 -445
  58. package/styles/core/_color-helpers.scss +0 -46
  59. package/styles/core/_global-unified.scss +0 -118
  60. package/styles/core/_global.scss +0 -73
  61. package/styles/core/_mixins.scss +0 -491
  62. package/styles/core/_surface-layers.scss +0 -76
  63. package/styles/core/_utilities.scss +0 -326
  64. package/styles/core/_variables-unified.scss +0 -57
  65. package/styles/core/_variables.scss +0 -36
  66. package/styles/core/variables/_colors-source.scss +0 -34
  67. package/styles/core/variables/_colors-unified.scss +0 -26
  68. package/styles/core/variables/_colors.scss +0 -21
  69. package/styles/critical.scss +0 -353
  70. package/styles/design-system/_compact-theme.scss +0 -159
  71. package/styles/design-system/_section-base.scss +0 -426
  72. package/styles/design-system/_tokens.scss +0 -237
  73. package/styles/design-system/_unified-sections.scss +0 -215
  74. package/styles/layout/_feature-grid.scss +0 -322
  75. package/styles/layout/_masonry.scss +0 -734
  76. package/styles/layout/_tilt.scss +0 -244
  77. package/styles/micro-interactions.scss +0 -583
  78. package/styles/mixins/_section-mixins.scss +0 -280
  79. package/styles/non-critical.scss +0 -643
  80. package/styles/reset/_framework-reset.scss +0 -457
  81. package/styles/reset/_index.scss +0 -14
  82. package/styles/reset/_shadow-reset.scss +0 -379
  83. package/styles/responsive.scss +0 -326
  84. package/styles/themes.scss +0 -573
  85. package/styles/tokens/_index.scss +0 -92
  86. package/styles/tokens/_master.scss +0 -1404
  87. package/styles/tokens/_section-tokens.generated.scss +0 -140
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osi-cards-lib",
3
- "version": "1.5.25",
3
+ "version": "1.5.26",
4
4
  "description": "Standalone OSI Cards library for Angular applications with CSS Layer support for easy style overrides",
5
5
  "keywords": [
6
6
  "angular",
@@ -12,35 +12,26 @@
12
12
  ],
13
13
  "author": "",
14
14
  "license": "MIT",
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/Inutilepat83/OSI-Cards.git"
18
- },
19
- "bugs": {
20
- "url": "https://github.com/Inutilepat83/OSI-Cards/issues"
21
- },
22
- "homepage": "https://github.com/Inutilepat83/OSI-Cards#readme",
23
15
  "peerDependencies": {
24
- "@angular/core": "^18.0.0 || ^20.0.0",
25
16
  "@angular/common": "^18.0.0 || ^20.0.0",
26
- "@angular/forms": "^18.0.0 || ^20.0.0",
27
- "@angular/router": "^18.0.0 || ^20.0.0",
17
+ "@angular/core": "^18.0.0 || ^20.0.0",
18
+ "@angular/animations": "^18.0.0 || ^20.0.0",
28
19
  "@angular/platform-browser": "^18.0.0 || ^20.0.0",
29
- "@ngrx/store": "^17.0.0 || ^18.0.0",
30
- "@ngrx/effects": "^17.0.0 || ^18.0.0",
31
- "@ngrx/entity": "^17.0.0 || ^18.0.0",
32
- "rxjs": "~7.8.0",
33
- "zone.js": "~0.14.0 || ~0.15.0"
34
- },
35
- "dependencies": {
36
20
  "lucide-angular": "^0.548.0",
37
- "lucide": "^0.548.0",
38
- "tslib": "^2.3.0"
21
+ "rxjs": "~7.8.0"
39
22
  },
40
23
  "optionalDependencies": {
41
24
  "chart.js": "^4.4.0",
42
25
  "leaflet": "^1.9.4"
43
26
  },
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/Inutilepat83/OSI-Cards.git"
30
+ },
31
+ "homepage": "https://github.com/Inutilepat83/OSI-Cards#readme",
32
+ "bugs": {
33
+ "url": "https://github.com/Inutilepat83/OSI-Cards/issues"
34
+ },
44
35
  "exports": {
45
36
  "./package.json": {
46
37
  "default": "./package.json"
@@ -88,11 +79,8 @@
88
79
  "default": "./styles/osi-cards-standalone.css"
89
80
  }
90
81
  },
91
- "main": "./fesm2022/osi-cards-lib.mjs",
92
- "module": "./fesm2022/osi-cards-lib.mjs",
93
- "typings": "./index.d.ts",
94
82
  "sideEffects": [
95
83
  "*.css",
96
84
  "*.scss"
97
85
  ]
98
- }
86
+ }
@@ -0,0 +1,81 @@
1
+ /**
2
+ * PostCSS Configuration for OSI Cards Library
3
+ *
4
+ * Processes CSS for:
5
+ * - Autoprefixer: Cross-browser compatibility
6
+ * - cssnano: Production minification
7
+ * - postcss-custom-properties: CSS variable fallbacks
8
+ */
9
+
10
+ module.exports = {
11
+ plugins: [
12
+ // Autoprefixer for cross-browser support
13
+ require('autoprefixer')({
14
+ // Support last 2 versions of major browsers
15
+ overrideBrowserslist: [
16
+ 'last 2 Chrome versions',
17
+ 'last 2 Firefox versions',
18
+ 'last 2 Safari versions',
19
+ 'last 2 Edge versions',
20
+ 'last 2 iOS versions',
21
+ 'last 2 Android versions'
22
+ ],
23
+ // Enable grid prefixes for IE11 support if needed
24
+ grid: 'autoplace'
25
+ }),
26
+
27
+ // CSS variable fallbacks for older browsers
28
+ require('postcss-custom-properties')({
29
+ preserve: true, // Keep CSS variables in output
30
+ warnings: false
31
+ }),
32
+
33
+ // Minification for production (only in production mode)
34
+ ...(process.env.NODE_ENV === 'production' ? [
35
+ require('cssnano')({
36
+ preset: ['default', {
37
+ // Don't remove CSS comments starting with /*! (license headers)
38
+ discardComments: {
39
+ removeAll: false,
40
+ remove: (comment) => !comment.startsWith('!')
41
+ },
42
+ // Keep @keyframes names intact (they might be referenced in JS)
43
+ reduceIdents: false,
44
+ // Keep z-index values intact
45
+ zindex: false,
46
+ // Preserve CSS custom properties
47
+ colormin: false,
48
+ // Don't merge rules aggressively (can break specificity)
49
+ mergeRules: false
50
+ }]
51
+ })
52
+ ] : []),
53
+
54
+ // Add CSS layer fallback for older browsers
55
+ {
56
+ postcssPlugin: 'postcss-layer-fallback',
57
+ Once(root) {
58
+ // Add a comment indicating layer support
59
+ root.prepend({
60
+ text: ' CSS Layers are used. If your browser doesn\'t support @layer, styles may not cascade correctly. '
61
+ });
62
+ }
63
+ }
64
+ ]
65
+ };
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+