sdga-ui 1.0.31 → 1.0.32

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 +23 -0
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # **DGA UI – Government-Style Bootstrap Theme**
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/sdga-ui.svg)](https://www.npmjs.com/package/sdga-ui)
4
+ [![npm total downloads](https://img.shields.io/npm/dt/sdga-ui.svg)](https://www.npmjs.com/package/sdga-ui)
5
+ [![GitHub stars](https://img.shields.io/github/stars/MahmoudAdel1996/dga-ui.svg)](https://github.com/MahmoudAdel1996/dga-ui/stargazers)
6
+ [![License](https://img.shields.io/npm/l/sdga-ui.svg)](https://github.com/MahmoudAdel1996/dga-ui/blob/main/LICENSE)
7
+
3
8
  **DGA UI** is a customizable UI theme inspired by modern government and authority design systems.
4
9
  Built on top of **Bootstrap**, it provides consistent colors, typography, spacing, and reusable UI patterns suitable for official portals, administrative dashboards, and public-sector applications.
5
10
 
@@ -43,6 +48,24 @@ Or with yarn:
43
48
  yarn add sdga-ui
44
49
  ```
45
50
 
51
+ ### **Or via CDN**
52
+
53
+ No installation needed — link directly to the compiled CSS:
54
+
55
+ ```html
56
+ <!-- jsDelivr -->
57
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sdga-ui@latest/css/dga-ui.css">
58
+
59
+ <!-- unpkg -->
60
+ <link rel="stylesheet" href="https://unpkg.com/sdga-ui@latest/css/dga-ui.css">
61
+ ```
62
+
63
+ Pin to a specific version (recommended for production) instead of `@latest`:
64
+
65
+ ```html
66
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sdga-ui@1.0.31/css/dga-ui.css">
67
+ ```
68
+
46
69
  ---
47
70
 
48
71
  ## **🔧 Usage**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sdga-ui",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "description": "DGA UI - Government-Style Bootstrap Theme",
5
5
  "keywords": [
6
6
  "sdga",
@@ -47,9 +47,10 @@
47
47
  "build-css": "sass --load-path=node_modules theme/dga-ui.scss css/dga-ui.css",
48
48
  "watch-css": "sass --load-path=node_modules --watch theme/dga-ui.scss css/dga-ui.css",
49
49
  "update-docs-version": "node -e \"const fs=require('fs');const pkg=JSON.parse(fs.readFileSync('package.json'));const docsPkg=JSON.parse(fs.readFileSync('docs/package.json'));docsPkg.version=pkg.version;fs.writeFileSync('docs/package.json',JSON.stringify(docsPkg,null,2)+'\\n');console.log('Synced docs version to',pkg.version);\"",
50
+ "update-demo-version": "node -e \"const fs=require('fs');const pkg=JSON.parse(fs.readFileSync('package.json'));const demoPkg=JSON.parse(fs.readFileSync('demo-angular/package.json'));demoPkg.dependencies['sdga-ui']='^'+pkg.version;fs.writeFileSync('demo-angular/package.json',JSON.stringify(demoPkg,null,2)+'\\n');console.log('Synced demo-angular sdga-ui dependency to',pkg.version);\"",
50
51
  "prepublishOnly": "npm run build-css",
51
52
  "preversion": "npm run build-css",
52
- "version": "npm run update-docs-version && git add .",
53
+ "version": "npm run update-docs-version && npm run update-demo-version && git add .",
53
54
  "postversion": "git push --follow-tags",
54
55
  "version:patch": "npm version patch"
55
56
  },