sdga-ui 1.0.3 → 1.0.4
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/.github/workflows/deploy.yml +57 -0
- package/.github/workflows/publish.yml +2 -4
- package/README.md +8 -0
- package/css/dga-ui.css +60 -30
- package/css/dga-ui.css.map +1 -1
- package/demo-angular/.editorconfig +17 -0
- package/demo-angular/.vscode/extensions.json +4 -0
- package/demo-angular/.vscode/launch.json +20 -0
- package/demo-angular/.vscode/tasks.json +42 -0
- package/demo-angular/README.md +59 -0
- package/demo-angular/angular.json +90 -0
- package/demo-angular/package-lock.json +10459 -0
- package/demo-angular/package.json +50 -0
- package/demo-angular/public/.nojekyll +0 -0
- package/demo-angular/public/favicon.ico +0 -0
- package/demo-angular/public/i18n/ar.json +239 -0
- package/demo-angular/public/i18n/en.json +239 -0
- package/demo-angular/src/app/app.config.ts +20 -0
- package/demo-angular/src/app/app.html +52 -0
- package/demo-angular/src/app/app.routes.ts +45 -0
- package/demo-angular/src/app/app.scss +430 -0
- package/demo-angular/src/app/app.spec.ts +23 -0
- package/demo-angular/src/app/app.ts +88 -0
- package/demo-angular/src/app/shared/code-example/code-example.component.html +30 -0
- package/demo-angular/src/app/shared/code-example/code-example.component.scss +183 -0
- package/demo-angular/src/app/shared/code-example/code-example.component.ts +78 -0
- package/demo-angular/src/app/views/alerts/alerts.component.html +155 -0
- package/demo-angular/src/app/views/alerts/alerts.component.scss +3 -0
- package/demo-angular/src/app/views/alerts/alerts.component.ts +134 -0
- package/demo-angular/src/app/views/bootstrap/bootstrap.component.html +14 -0
- package/demo-angular/src/app/views/bootstrap/bootstrap.component.scss +91 -0
- package/demo-angular/src/app/views/bootstrap/bootstrap.component.ts +23 -0
- package/demo-angular/src/app/views/buttons/buttons.component.html +289 -0
- package/demo-angular/src/app/views/buttons/buttons.component.scss +14 -0
- package/demo-angular/src/app/views/buttons/buttons.component.ts +155 -0
- package/demo-angular/src/app/views/cards/cards.component.html +156 -0
- package/demo-angular/src/app/views/cards/cards.component.html.backup +156 -0
- package/demo-angular/src/app/views/cards/cards.component.scss +11 -0
- package/demo-angular/src/app/views/cards/cards.component.ts +194 -0
- package/demo-angular/src/app/views/forms/forms.component.html +347 -0
- package/demo-angular/src/app/views/forms/forms.component.scss +3 -0
- package/demo-angular/src/app/views/forms/forms.component.ts +222 -0
- package/demo-angular/src/app/views/home/home.component.html +38 -0
- package/demo-angular/src/app/views/home/home.component.scss +35 -0
- package/demo-angular/src/app/views/home/home.component.ts +12 -0
- package/demo-angular/src/app/views/links/links.component.html +140 -0
- package/demo-angular/src/app/views/links/links.component.scss +60 -0
- package/demo-angular/src/app/views/links/links.component.ts +123 -0
- package/demo-angular/src/app/views/tables/tables.component.html +289 -0
- package/demo-angular/src/app/views/tables/tables.component.scss +3 -0
- package/demo-angular/src/app/views/tables/tables.component.ts +278 -0
- package/demo-angular/src/app/views/toasts/toasts.component.html +201 -0
- package/demo-angular/src/app/views/toasts/toasts.component.scss +0 -0
- package/demo-angular/src/app/views/toasts/toasts.component.ts +182 -0
- package/demo-angular/src/index.html +14 -0
- package/demo-angular/src/main.ts +6 -0
- package/demo-angular/src/styles.scss +4 -0
- package/demo-angular/tsconfig.app.json +15 -0
- package/demo-angular/tsconfig.json +33 -0
- package/demo-angular/tsconfig.spec.json +15 -0
- package/package.json +4 -5
- package/theme/components/_accordion.scss +1 -1
- package/theme/components/_buttons.scss +6 -6
- package/theme/components/_content.scss +3 -3
- package/theme/components/_dropdowns.scss +1 -1
- package/theme/components/_forms-check.scss +1 -1
- package/theme/components/_forms-inputs.scss +1 -1
- package/theme/components/_list-group.scss +1 -1
- package/theme/components/_modals.scss +1 -1
- package/theme/components/_navigation.scss +2 -2
- package/theme/components/_overlays.scss +2 -2
- package/theme/components/_pagination.scss +1 -1
- package/theme/components/_popovers.scss +1 -1
- package/theme/components/_toasts.scss +1 -1
- package/theme/customizations/_cards.scss +3 -3
- package/theme/customizations/_links.scss +72 -24
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
name: Deploy to GitHub Pages
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*'
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
pages: write
|
|
12
|
+
id-token: write
|
|
13
|
+
|
|
14
|
+
concurrency:
|
|
15
|
+
group: "pages"
|
|
16
|
+
cancel-in-progress: false
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
build:
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
|
|
22
|
+
steps:
|
|
23
|
+
- name: Checkout
|
|
24
|
+
uses: actions/checkout@v4
|
|
25
|
+
|
|
26
|
+
- name: Setup Node.js
|
|
27
|
+
uses: actions/setup-node@v4
|
|
28
|
+
with:
|
|
29
|
+
node-version: '20'
|
|
30
|
+
|
|
31
|
+
- name: Install dependencies
|
|
32
|
+
working-directory: ./demo-angular
|
|
33
|
+
run: npm install
|
|
34
|
+
|
|
35
|
+
- name: Build Angular app
|
|
36
|
+
working-directory: ./demo-angular
|
|
37
|
+
run: npm run build:prod
|
|
38
|
+
|
|
39
|
+
- name: Setup Pages
|
|
40
|
+
uses: actions/configure-pages@v4
|
|
41
|
+
|
|
42
|
+
- name: Upload artifact
|
|
43
|
+
uses: actions/upload-pages-artifact@v3
|
|
44
|
+
with:
|
|
45
|
+
path: './demo-angular/dist/demo-angular/browser'
|
|
46
|
+
|
|
47
|
+
deploy:
|
|
48
|
+
environment:
|
|
49
|
+
name: github-pages
|
|
50
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
51
|
+
runs-on: ubuntu-latest
|
|
52
|
+
needs: build
|
|
53
|
+
|
|
54
|
+
steps:
|
|
55
|
+
- name: Deploy to GitHub Pages
|
|
56
|
+
id: deployment
|
|
57
|
+
uses: actions/deploy-pages@v4
|
package/README.md
CHANGED
|
@@ -7,6 +7,14 @@ This package helps you apply a clean, structured, and authoritative look across
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## **🌐 Live Demo**
|
|
11
|
+
|
|
12
|
+
Check out the live demo and explore all components:
|
|
13
|
+
|
|
14
|
+
**[https://mahmoudadel1996.github.io/dga-ui/](https://mahmoudadel1996.github.io/dga-ui/)**
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
10
18
|
## **✨ Features**
|
|
11
19
|
|
|
12
20
|
* Government-inspired design system
|
package/css/dga-ui.css
CHANGED
|
@@ -8613,14 +8613,14 @@ textarea.form-control-lg {
|
|
|
8613
8613
|
--dga-btn-color: #1B8354;
|
|
8614
8614
|
--dga-btn-bg: transparent;
|
|
8615
8615
|
--dga-btn-border-color: transparent;
|
|
8616
|
-
--dga-btn-hover-color:
|
|
8616
|
+
--dga-btn-hover-color: #1B8354;
|
|
8617
8617
|
--dga-btn-hover-border-color: transparent;
|
|
8618
|
-
--dga-btn-active-color:
|
|
8618
|
+
--dga-btn-active-color: #1B8354;
|
|
8619
8619
|
--dga-btn-active-border-color: transparent;
|
|
8620
8620
|
--dga-btn-disabled-color: #4D5761;
|
|
8621
8621
|
--dga-btn-disabled-border-color: transparent;
|
|
8622
8622
|
--dga-btn-box-shadow: 0 0 0 #000;
|
|
8623
|
-
--dga-btn-focus-shadow-rgb:
|
|
8623
|
+
--dga-btn-focus-shadow-rgb: none;
|
|
8624
8624
|
text-decoration: none;
|
|
8625
8625
|
}
|
|
8626
8626
|
.btn-link:hover, .btn-link:focus-visible {
|
|
@@ -26421,9 +26421,9 @@ html {
|
|
|
26421
26421
|
}
|
|
26422
26422
|
.card .card-title-checked {
|
|
26423
26423
|
margin-inline-start: auto;
|
|
26424
|
-
margin-inline-end:
|
|
26425
|
-
margin-top:
|
|
26426
|
-
margin-bottom:
|
|
26424
|
+
margin-inline-end: 1rem;
|
|
26425
|
+
margin-top: 1rem;
|
|
26426
|
+
margin-bottom: 1rem;
|
|
26427
26427
|
}
|
|
26428
26428
|
.card .card-text {
|
|
26429
26429
|
margin: 0;
|
|
@@ -27152,45 +27152,75 @@ html {
|
|
|
27152
27152
|
}
|
|
27153
27153
|
|
|
27154
27154
|
.link-primary {
|
|
27155
|
-
|
|
27156
|
-
|
|
27157
|
-
|
|
27158
|
-
|
|
27155
|
+
color: #1B8354 !important;
|
|
27156
|
+
}
|
|
27157
|
+
.link-primary:hover, .link-primary:focus {
|
|
27158
|
+
color: #54C08A !important;
|
|
27159
|
+
text-decoration-color: #54C08A !important;
|
|
27160
|
+
}
|
|
27161
|
+
.link-primary:active {
|
|
27162
|
+
color: #88D8AD !important;
|
|
27163
|
+
text-decoration-color: #88D8AD !important;
|
|
27159
27164
|
}
|
|
27160
27165
|
|
|
27161
27166
|
.link-secondary {
|
|
27162
|
-
|
|
27163
|
-
|
|
27164
|
-
|
|
27165
|
-
|
|
27167
|
+
color: #4D5761 !important;
|
|
27168
|
+
}
|
|
27169
|
+
.link-secondary:hover, .link-secondary:focus {
|
|
27170
|
+
color: #9DA4AE !important;
|
|
27171
|
+
text-decoration-color: #9DA4AE !important;
|
|
27172
|
+
}
|
|
27173
|
+
.link-secondary:active {
|
|
27174
|
+
color: #D2D6DB !important;
|
|
27175
|
+
text-decoration-color: #D2D6DB !important;
|
|
27166
27176
|
}
|
|
27167
27177
|
|
|
27168
27178
|
.link-success {
|
|
27169
|
-
|
|
27170
|
-
|
|
27171
|
-
|
|
27172
|
-
|
|
27179
|
+
color: #079455 !important;
|
|
27180
|
+
}
|
|
27181
|
+
.link-success:hover, .link-success:focus {
|
|
27182
|
+
color: #47CD89 !important;
|
|
27183
|
+
text-decoration-color: #47CD89 !important;
|
|
27184
|
+
}
|
|
27185
|
+
.link-success:active {
|
|
27186
|
+
color: #75E0A7 !important;
|
|
27187
|
+
text-decoration-color: #75E0A7 !important;
|
|
27173
27188
|
}
|
|
27174
27189
|
|
|
27175
27190
|
.link-danger {
|
|
27176
|
-
|
|
27177
|
-
|
|
27178
|
-
|
|
27179
|
-
|
|
27191
|
+
color: #D92D20 !important;
|
|
27192
|
+
}
|
|
27193
|
+
.link-danger:hover, .link-danger:focus {
|
|
27194
|
+
color: #F97066 !important;
|
|
27195
|
+
text-decoration-color: #F97066 !important;
|
|
27196
|
+
}
|
|
27197
|
+
.link-danger:active {
|
|
27198
|
+
color: #FDA29B !important;
|
|
27199
|
+
text-decoration-color: #FDA29B !important;
|
|
27180
27200
|
}
|
|
27181
27201
|
|
|
27182
27202
|
.link-warning {
|
|
27183
|
-
|
|
27184
|
-
|
|
27185
|
-
|
|
27186
|
-
|
|
27203
|
+
color: #DC6803 !important;
|
|
27204
|
+
}
|
|
27205
|
+
.link-warning:hover, .link-warning:focus {
|
|
27206
|
+
color: #FDB022 !important;
|
|
27207
|
+
text-decoration-color: #FDB022 !important;
|
|
27208
|
+
}
|
|
27209
|
+
.link-warning:active {
|
|
27210
|
+
color: #FEC84B !important;
|
|
27211
|
+
text-decoration-color: #FEC84B !important;
|
|
27187
27212
|
}
|
|
27188
27213
|
|
|
27189
27214
|
.link-info {
|
|
27190
|
-
|
|
27191
|
-
|
|
27192
|
-
|
|
27193
|
-
|
|
27215
|
+
color: #1570EF !important;
|
|
27216
|
+
}
|
|
27217
|
+
.link-info:hover, .link-info:focus {
|
|
27218
|
+
color: #53B1FD !important;
|
|
27219
|
+
text-decoration-color: #53B1FD !important;
|
|
27220
|
+
}
|
|
27221
|
+
.link-info:active {
|
|
27222
|
+
color: #84CAFF !important;
|
|
27223
|
+
text-decoration-color: #84CAFF !important;
|
|
27194
27224
|
}
|
|
27195
27225
|
|
|
27196
27226
|
.bg-neutral {
|