sdga-ui 1.0.2 → 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.
Files changed (119) hide show
  1. package/.editorconfig +23 -23
  2. package/.github/workflows/deploy.yml +57 -0
  3. package/.github/workflows/publish.yml +36 -33
  4. package/.prettierignore +73 -73
  5. package/.prettierrc +17 -17
  6. package/LICENSE +21 -21
  7. package/README.md +175 -167
  8. package/css/dga-ui.css +60 -30
  9. package/css/dga-ui.css.map +1 -1
  10. package/demo-angular/.editorconfig +17 -0
  11. package/demo-angular/.vscode/extensions.json +4 -0
  12. package/demo-angular/.vscode/launch.json +20 -0
  13. package/demo-angular/.vscode/tasks.json +42 -0
  14. package/demo-angular/README.md +59 -0
  15. package/demo-angular/angular.json +90 -0
  16. package/demo-angular/package-lock.json +10459 -0
  17. package/demo-angular/package.json +50 -0
  18. package/demo-angular/public/.nojekyll +0 -0
  19. package/demo-angular/public/favicon.ico +0 -0
  20. package/demo-angular/public/i18n/ar.json +239 -0
  21. package/demo-angular/public/i18n/en.json +239 -0
  22. package/demo-angular/src/app/app.config.ts +20 -0
  23. package/demo-angular/src/app/app.html +52 -0
  24. package/demo-angular/src/app/app.routes.ts +45 -0
  25. package/demo-angular/src/app/app.scss +430 -0
  26. package/demo-angular/src/app/app.spec.ts +23 -0
  27. package/demo-angular/src/app/app.ts +88 -0
  28. package/demo-angular/src/app/shared/code-example/code-example.component.html +30 -0
  29. package/demo-angular/src/app/shared/code-example/code-example.component.scss +183 -0
  30. package/demo-angular/src/app/shared/code-example/code-example.component.ts +78 -0
  31. package/demo-angular/src/app/views/alerts/alerts.component.html +155 -0
  32. package/demo-angular/src/app/views/alerts/alerts.component.scss +3 -0
  33. package/demo-angular/src/app/views/alerts/alerts.component.ts +134 -0
  34. package/demo-angular/src/app/views/bootstrap/bootstrap.component.html +14 -0
  35. package/demo-angular/src/app/views/bootstrap/bootstrap.component.scss +91 -0
  36. package/demo-angular/src/app/views/bootstrap/bootstrap.component.ts +23 -0
  37. package/demo-angular/src/app/views/buttons/buttons.component.html +289 -0
  38. package/demo-angular/src/app/views/buttons/buttons.component.scss +14 -0
  39. package/demo-angular/src/app/views/buttons/buttons.component.ts +155 -0
  40. package/demo-angular/src/app/views/cards/cards.component.html +156 -0
  41. package/demo-angular/src/app/views/cards/cards.component.html.backup +156 -0
  42. package/demo-angular/src/app/views/cards/cards.component.scss +11 -0
  43. package/demo-angular/src/app/views/cards/cards.component.ts +194 -0
  44. package/demo-angular/src/app/views/forms/forms.component.html +347 -0
  45. package/demo-angular/src/app/views/forms/forms.component.scss +3 -0
  46. package/demo-angular/src/app/views/forms/forms.component.ts +222 -0
  47. package/demo-angular/src/app/views/home/home.component.html +38 -0
  48. package/demo-angular/src/app/views/home/home.component.scss +35 -0
  49. package/demo-angular/src/app/views/home/home.component.ts +12 -0
  50. package/demo-angular/src/app/views/links/links.component.html +140 -0
  51. package/demo-angular/src/app/views/links/links.component.scss +60 -0
  52. package/demo-angular/src/app/views/links/links.component.ts +123 -0
  53. package/demo-angular/src/app/views/tables/tables.component.html +289 -0
  54. package/demo-angular/src/app/views/tables/tables.component.scss +3 -0
  55. package/demo-angular/src/app/views/tables/tables.component.ts +278 -0
  56. package/demo-angular/src/app/views/toasts/toasts.component.html +201 -0
  57. package/demo-angular/src/app/views/toasts/toasts.component.scss +0 -0
  58. package/demo-angular/src/app/views/toasts/toasts.component.ts +182 -0
  59. package/demo-angular/src/index.html +14 -0
  60. package/demo-angular/src/main.ts +6 -0
  61. package/demo-angular/src/styles.scss +4 -0
  62. package/demo-angular/tsconfig.app.json +15 -0
  63. package/demo-angular/tsconfig.json +33 -0
  64. package/demo-angular/tsconfig.spec.json +15 -0
  65. package/fonts/IBM_Plex_Sans_Arabic/OFL.txt +93 -93
  66. package/package.json +50 -47
  67. package/theme/_fonts.scss +58 -58
  68. package/theme/_functions.scss +11 -11
  69. package/theme/_variables.scss +50 -50
  70. package/theme/components/_accordion.scss +35 -35
  71. package/theme/components/_alerts.scss +11 -11
  72. package/theme/components/_badges.scss +8 -8
  73. package/theme/components/_breadcrumb.scss +13 -13
  74. package/theme/components/_buttons.scss +270 -270
  75. package/theme/components/_cards.scss +21 -21
  76. package/theme/components/_carousel.scss +33 -33
  77. package/theme/components/_content.scss +211 -211
  78. package/theme/components/_dropdowns.scss +45 -45
  79. package/theme/components/_forms-check.scss +124 -124
  80. package/theme/components/_forms-floating.scss +17 -17
  81. package/theme/components/_forms-inputs.scss +70 -70
  82. package/theme/components/_forms-range.scss +26 -26
  83. package/theme/components/_forms-select.scss +47 -47
  84. package/theme/components/_forms-switch.scss +63 -63
  85. package/theme/components/_forms-validation.scss +16 -16
  86. package/theme/components/_forms.scss +14 -14
  87. package/theme/components/_list-group.scss +26 -26
  88. package/theme/components/_modals.scss +42 -42
  89. package/theme/components/_navbar.scss +40 -40
  90. package/theme/components/_navigation.scss +151 -151
  91. package/theme/components/_offcanvas.scss +15 -15
  92. package/theme/components/_overlays.scss +112 -112
  93. package/theme/components/_pagination.scss +39 -39
  94. package/theme/components/_popovers.scss +26 -26
  95. package/theme/components/_progress.scss +11 -11
  96. package/theme/components/_spinners.scss +11 -11
  97. package/theme/components/_tables.scss +47 -47
  98. package/theme/components/_toasts.scss +16 -16
  99. package/theme/components/_tooltips.scss +15 -15
  100. package/theme/config/_base.scss +111 -111
  101. package/theme/config/_colors.scss +303 -303
  102. package/theme/config/_effects.scss +227 -227
  103. package/theme/config/_radius.scss +78 -78
  104. package/theme/config/_spacing.scss +155 -155
  105. package/theme/config/_typography.scss +118 -118
  106. package/theme/customizations/_alerts.scss +242 -242
  107. package/theme/customizations/_badges.scss +15 -15
  108. package/theme/customizations/_buttons.scss +209 -209
  109. package/theme/customizations/_cards.scss +117 -117
  110. package/theme/customizations/_forms-check.scss +278 -278
  111. package/theme/customizations/_forms-inputs.scss +9 -9
  112. package/theme/customizations/_forms-switch.scss +91 -91
  113. package/theme/customizations/_forms.scss +5 -5
  114. package/theme/customizations/_global.scss +25 -25
  115. package/theme/customizations/_links.scss +94 -46
  116. package/theme/customizations/_tables.scss +67 -67
  117. package/theme/customizations/_toasts.scss +221 -221
  118. package/theme/customizations/_utilities.scss +138 -138
  119. package/theme/dga-ui.scss +28 -28
@@ -1,138 +1,138 @@
1
- // Utility Customizations - SDGA Custom Enhancements
2
-
3
- @use 'sass:color';
4
-
5
- // ============================================
6
- // COLOR UTILITIES
7
- // ============================================
8
-
9
- // Neutral color utilities
10
- .bg-neutral {
11
- background-color: $gray-600 !important;
12
- }
13
-
14
- .text-neutral {
15
- color: $gray-600 !important;
16
- }
17
-
18
- .border-neutral {
19
- border-color: $gray-600 !important;
20
- }
21
-
22
- // ============================================
23
- // SHADOW UTILITIES
24
- // ============================================
25
-
26
- .shadow-xs {
27
- box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
28
- }
29
-
30
- .shadow-2xl {
31
- box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
32
- }
33
-
34
- // ============================================
35
- // GRADIENT UTILITIES
36
- // ============================================
37
-
38
- .bg-gradient-primary {
39
- background: linear-gradient(135deg, $primary 0%, color.scale($primary, $lightness: -48%) 100%) !important;
40
- }
41
-
42
- .bg-gradient-secondary {
43
- background: linear-gradient(135deg, $secondary 0%, color.scale($secondary, $lightness: -48%) 100%) !important;
44
- }
45
-
46
- .bg-gradient-lavender {
47
- background: linear-gradient(135deg, $lavender-600 0%, color.scale($lavender-600, $lightness: -48%) 100%) !important;
48
- }
49
-
50
- // ============================================
51
- // LINK VARIANTS
52
- // ============================================
53
-
54
- .link-lavender {
55
- color: $lavender-600 !important;
56
-
57
- &:hover,
58
- &:focus {
59
- color: color.scale($lavender-600, $lightness: -32%) !important;
60
- }
61
- }
62
-
63
- .link-neutral {
64
- color: $gray-600 !important;
65
-
66
- &:hover,
67
- &:focus {
68
- color: color.scale($gray-600, $lightness: -32%) !important;
69
- }
70
- }
71
-
72
- // ============================================
73
- // TEXT UTILITIES
74
- // ============================================
75
-
76
- .text-muted-light {
77
- color: $gray-400 !important;
78
- }
79
-
80
- .text-muted-dark {
81
- color: $gray-600 !important;
82
- }
83
-
84
- // ============================================
85
- // RESPONSIVE SPACING
86
- // ============================================
87
-
88
- @media (min-width: 768px) {
89
- .py-md-6 {
90
- padding-top: 2rem !important;
91
- padding-bottom: 2rem !important;
92
- }
93
-
94
- .py-md-7 {
95
- padding-top: 2.5rem !important;
96
- padding-bottom: 2.5rem !important;
97
- }
98
-
99
- .py-md-8 {
100
- padding-top: 3rem !important;
101
- padding-bottom: 3rem !important;
102
- }
103
- }
104
-
105
- // ============================================
106
- // SCROLLBAR UTILITIES
107
- // ============================================
108
-
109
- .custom-scrollbar {
110
- &::-webkit-scrollbar {
111
- width: 8px;
112
- height: 8px;
113
- }
114
-
115
- &::-webkit-scrollbar-track {
116
- background: $gray-100;
117
- border-radius: $radius-sm;
118
- }
119
-
120
- &::-webkit-scrollbar-thumb {
121
- background: $gray-400;
122
- border-radius: $radius-sm;
123
-
124
- &:hover {
125
- background: $gray-500;
126
- }
127
- }
128
- }
129
-
130
- // ============================================
131
- // PRINT UTILITIES
132
- // ============================================
133
-
134
- @media print {
135
- .no-print {
136
- display: none !important;
137
- }
138
- }
1
+ // Utility Customizations - SDGA Custom Enhancements
2
+
3
+ @use 'sass:color';
4
+
5
+ // ============================================
6
+ // COLOR UTILITIES
7
+ // ============================================
8
+
9
+ // Neutral color utilities
10
+ .bg-neutral {
11
+ background-color: $gray-600 !important;
12
+ }
13
+
14
+ .text-neutral {
15
+ color: $gray-600 !important;
16
+ }
17
+
18
+ .border-neutral {
19
+ border-color: $gray-600 !important;
20
+ }
21
+
22
+ // ============================================
23
+ // SHADOW UTILITIES
24
+ // ============================================
25
+
26
+ .shadow-xs {
27
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
28
+ }
29
+
30
+ .shadow-2xl {
31
+ box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
32
+ }
33
+
34
+ // ============================================
35
+ // GRADIENT UTILITIES
36
+ // ============================================
37
+
38
+ .bg-gradient-primary {
39
+ background: linear-gradient(135deg, $primary 0%, color.scale($primary, $lightness: -48%) 100%) !important;
40
+ }
41
+
42
+ .bg-gradient-secondary {
43
+ background: linear-gradient(135deg, $secondary 0%, color.scale($secondary, $lightness: -48%) 100%) !important;
44
+ }
45
+
46
+ .bg-gradient-lavender {
47
+ background: linear-gradient(135deg, $lavender-600 0%, color.scale($lavender-600, $lightness: -48%) 100%) !important;
48
+ }
49
+
50
+ // ============================================
51
+ // LINK VARIANTS
52
+ // ============================================
53
+
54
+ .link-lavender {
55
+ color: $lavender-600 !important;
56
+
57
+ &:hover,
58
+ &:focus {
59
+ color: color.scale($lavender-600, $lightness: -32%) !important;
60
+ }
61
+ }
62
+
63
+ .link-neutral {
64
+ color: $gray-600 !important;
65
+
66
+ &:hover,
67
+ &:focus {
68
+ color: color.scale($gray-600, $lightness: -32%) !important;
69
+ }
70
+ }
71
+
72
+ // ============================================
73
+ // TEXT UTILITIES
74
+ // ============================================
75
+
76
+ .text-muted-light {
77
+ color: $gray-400 !important;
78
+ }
79
+
80
+ .text-muted-dark {
81
+ color: $gray-600 !important;
82
+ }
83
+
84
+ // ============================================
85
+ // RESPONSIVE SPACING
86
+ // ============================================
87
+
88
+ @media (min-width: 768px) {
89
+ .py-md-6 {
90
+ padding-top: 2rem !important;
91
+ padding-bottom: 2rem !important;
92
+ }
93
+
94
+ .py-md-7 {
95
+ padding-top: 2.5rem !important;
96
+ padding-bottom: 2.5rem !important;
97
+ }
98
+
99
+ .py-md-8 {
100
+ padding-top: 3rem !important;
101
+ padding-bottom: 3rem !important;
102
+ }
103
+ }
104
+
105
+ // ============================================
106
+ // SCROLLBAR UTILITIES
107
+ // ============================================
108
+
109
+ .custom-scrollbar {
110
+ &::-webkit-scrollbar {
111
+ width: 8px;
112
+ height: 8px;
113
+ }
114
+
115
+ &::-webkit-scrollbar-track {
116
+ background: $gray-100;
117
+ border-radius: $radius-sm;
118
+ }
119
+
120
+ &::-webkit-scrollbar-thumb {
121
+ background: $gray-400;
122
+ border-radius: $radius-sm;
123
+
124
+ &:hover {
125
+ background: $gray-500;
126
+ }
127
+ }
128
+ }
129
+
130
+ // ============================================
131
+ // PRINT UTILITIES
132
+ // ============================================
133
+
134
+ @media print {
135
+ .no-print {
136
+ display: none !important;
137
+ }
138
+ }
package/theme/dga-ui.scss CHANGED
@@ -1,28 +1,28 @@
1
- // SDJA Bootstrap 5.3 Custom Theme
2
- // Import this file to get a fully customized Bootstrap theme
3
- // that integrates with the SDJA palette system
4
- @import './fonts';
5
- @import './functions';
6
-
7
- // 1. Import custom Bootstrap variable overrides (uses SDJA colors)
8
- @import './variables';
9
-
10
- // 2. Import Bootstrap source files
11
- @import 'bootstrap/scss/bootstrap';
12
-
13
- // ============================================
14
- // SDJA CUSTOM ENHANCEMENTS
15
- // ============================================
16
-
17
- // Import all component customizations
18
- @import './customizations/global';
19
- @import './customizations/buttons';
20
- @import './customizations/cards';
21
- @import './customizations/alerts';
22
- @import './customizations/toasts';
23
- @import './customizations/badges';
24
- @import './customizations/forms';
25
- @import './customizations/forms-switch';
26
- @import './customizations/tables';
27
- @import './customizations/links';
28
- @import './customizations/utilities';
1
+ // SDJA Bootstrap 5.3 Custom Theme
2
+ // Import this file to get a fully customized Bootstrap theme
3
+ // that integrates with the SDJA palette system
4
+ @import './fonts';
5
+ @import './functions';
6
+
7
+ // 1. Import custom Bootstrap variable overrides (uses SDJA colors)
8
+ @import './variables';
9
+
10
+ // 2. Import Bootstrap source files
11
+ @import 'bootstrap/scss/bootstrap';
12
+
13
+ // ============================================
14
+ // SDJA CUSTOM ENHANCEMENTS
15
+ // ============================================
16
+
17
+ // Import all component customizations
18
+ @import './customizations/global';
19
+ @import './customizations/buttons';
20
+ @import './customizations/cards';
21
+ @import './customizations/alerts';
22
+ @import './customizations/toasts';
23
+ @import './customizations/badges';
24
+ @import './customizations/forms';
25
+ @import './customizations/forms-switch';
26
+ @import './customizations/tables';
27
+ @import './customizations/links';
28
+ @import './customizations/utilities';