sdga-ui 1.0.7 → 1.0.9

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 (105) hide show
  1. package/css/dga-ui.css +24882 -27623
  2. package/css/dga-ui.css.map +1 -1
  3. package/package.json +20 -4
  4. package/theme/_variables.scss +0 -1
  5. package/theme/components/_buttons.scss +1 -302
  6. package/theme/config/_base.scss +1 -1
  7. package/theme/customizations/_alerts.scss +15 -14
  8. package/theme/customizations/_buttons.scss +305 -244
  9. package/theme/customizations/_footer.scss +122 -45
  10. package/theme/customizations/_global.scss +20 -2
  11. package/theme/customizations/_links.scss +55 -53
  12. package/theme/customizations/_toasts.scss +13 -14
  13. package/theme/dga-ui.scss +1 -2
  14. package/.editorconfig +0 -23
  15. package/.github/workflows/deploy.yml +0 -71
  16. package/.github/workflows/publish.yml +0 -36
  17. package/.prettierignore +0 -73
  18. package/.prettierrc +0 -17
  19. package/demo-angular/.editorconfig +0 -17
  20. package/demo-angular/.vscode/extensions.json +0 -4
  21. package/demo-angular/.vscode/launch.json +0 -20
  22. package/demo-angular/.vscode/tasks.json +0 -42
  23. package/demo-angular/README.md +0 -91
  24. package/demo-angular/angular.json +0 -93
  25. package/demo-angular/package-lock.json +0 -10600
  26. package/demo-angular/package.json +0 -53
  27. package/demo-angular/public/404.html +0 -35
  28. package/demo-angular/public/favicon.ico +0 -0
  29. package/demo-angular/public/i18n/ar.json +0 -289
  30. package/demo-angular/public/i18n/en.json +0 -289
  31. package/demo-angular/src/app/app.config.ts +0 -20
  32. package/demo-angular/src/app/app.html +0 -52
  33. package/demo-angular/src/app/app.routes.ts +0 -53
  34. package/demo-angular/src/app/app.scss +0 -430
  35. package/demo-angular/src/app/app.spec.ts +0 -23
  36. package/demo-angular/src/app/app.ts +0 -94
  37. package/demo-angular/src/app/shared/code-example/code-example.component.html +0 -30
  38. package/demo-angular/src/app/shared/code-example/code-example.component.scss +0 -183
  39. package/demo-angular/src/app/shared/code-example/code-example.component.ts +0 -78
  40. package/demo-angular/src/app/views/alerts/alerts.component.html +0 -155
  41. package/demo-angular/src/app/views/alerts/alerts.component.scss +0 -3
  42. package/demo-angular/src/app/views/alerts/alerts.component.ts +0 -134
  43. package/demo-angular/src/app/views/buttons/buttons.component.html +0 -289
  44. package/demo-angular/src/app/views/buttons/buttons.component.scss +0 -14
  45. package/demo-angular/src/app/views/buttons/buttons.component.ts +0 -155
  46. package/demo-angular/src/app/views/cards/cards.component.html +0 -156
  47. package/demo-angular/src/app/views/cards/cards.component.html.backup +0 -156
  48. package/demo-angular/src/app/views/cards/cards.component.scss +0 -11
  49. package/demo-angular/src/app/views/cards/cards.component.ts +0 -194
  50. package/demo-angular/src/app/views/contexts/contexts.component.html +0 -204
  51. package/demo-angular/src/app/views/contexts/contexts.component.ts +0 -10
  52. package/demo-angular/src/app/views/footer/footer.html +0 -282
  53. package/demo-angular/src/app/views/footer/footer.scss +0 -0
  54. package/demo-angular/src/app/views/footer/footer.spec.ts +0 -23
  55. package/demo-angular/src/app/views/footer/footer.ts +0 -142
  56. package/demo-angular/src/app/views/forms/forms.component.html +0 -347
  57. package/demo-angular/src/app/views/forms/forms.component.scss +0 -3
  58. package/demo-angular/src/app/views/forms/forms.component.ts +0 -222
  59. package/demo-angular/src/app/views/header/header.html +0 -1
  60. package/demo-angular/src/app/views/header/header.scss +0 -0
  61. package/demo-angular/src/app/views/header/header.spec.ts +0 -23
  62. package/demo-angular/src/app/views/header/header.ts +0 -11
  63. package/demo-angular/src/app/views/home/home.component.html +0 -33
  64. package/demo-angular/src/app/views/home/home.component.scss +0 -35
  65. package/demo-angular/src/app/views/home/home.component.ts +0 -12
  66. package/demo-angular/src/app/views/links/links.component.html +0 -21
  67. package/demo-angular/src/app/views/links/links.component.scss +0 -11
  68. package/demo-angular/src/app/views/links/links.component.ts +0 -19
  69. package/demo-angular/src/app/views/tables/tables.component.html +0 -289
  70. package/demo-angular/src/app/views/tables/tables.component.scss +0 -3
  71. package/demo-angular/src/app/views/tables/tables.component.ts +0 -278
  72. package/demo-angular/src/app/views/toasts/toasts.component.html +0 -201
  73. package/demo-angular/src/app/views/toasts/toasts.component.scss +0 -0
  74. package/demo-angular/src/app/views/toasts/toasts.component.ts +0 -182
  75. package/demo-angular/src/index.html +0 -28
  76. package/demo-angular/src/main.ts +0 -6
  77. package/demo-angular/src/styles.scss +0 -4
  78. package/demo-angular/tsconfig.app.json +0 -15
  79. package/demo-angular/tsconfig.json +0 -33
  80. package/demo-angular/tsconfig.spec.json +0 -15
  81. package/sdga-ui/README.md +0 -45
  82. package/sdga-ui/content/docs/components/alerts.mdx +0 -475
  83. package/sdga-ui/content/docs/index.mdx +0 -239
  84. package/sdga-ui/next.config.mjs +0 -10
  85. package/sdga-ui/package-lock.json +0 -5851
  86. package/sdga-ui/package.json +0 -32
  87. package/sdga-ui/postcss.config.mjs +0 -5
  88. package/sdga-ui/source.config.ts +0 -27
  89. package/sdga-ui/src/app/(home)/layout.tsx +0 -6
  90. package/sdga-ui/src/app/(home)/page.tsx +0 -202
  91. package/sdga-ui/src/app/api/search/route.ts +0 -7
  92. package/sdga-ui/src/app/docs/[[...slug]]/page.tsx +0 -54
  93. package/sdga-ui/src/app/docs/layout.tsx +0 -11
  94. package/sdga-ui/src/app/global.css +0 -3
  95. package/sdga-ui/src/app/layout.tsx +0 -25
  96. package/sdga-ui/src/app/llms-full.txt/route.ts +0 -10
  97. package/sdga-ui/src/app/og/docs/[...slug]/route.tsx +0 -34
  98. package/sdga-ui/src/app/sdga-scoped.css +0 -7
  99. package/sdga-ui/src/components/sdga-preview.tsx +0 -105
  100. package/sdga-ui/src/lib/layout.shared.tsx +0 -9
  101. package/sdga-ui/src/lib/source.ts +0 -27
  102. package/sdga-ui/src/mdx-components.tsx +0 -9
  103. package/sdga-ui/tsconfig.json +0 -46
  104. package/theme/config/_contexts.scss +0 -471
  105. package/theme/customizations/_contexts.scss +0 -432
@@ -1,20 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
3
- "version": "0.2.0",
4
- "configurations": [
5
- {
6
- "name": "ng serve",
7
- "type": "chrome",
8
- "request": "launch",
9
- "preLaunchTask": "npm: start",
10
- "url": "http://localhost:4200/"
11
- },
12
- {
13
- "name": "ng test",
14
- "type": "chrome",
15
- "request": "launch",
16
- "preLaunchTask": "npm: test",
17
- "url": "http://localhost:9876/debug.html"
18
- }
19
- ]
20
- }
@@ -1,42 +0,0 @@
1
- {
2
- // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
3
- "version": "2.0.0",
4
- "tasks": [
5
- {
6
- "type": "npm",
7
- "script": "start",
8
- "isBackground": true,
9
- "problemMatcher": {
10
- "owner": "typescript",
11
- "pattern": "$tsc",
12
- "background": {
13
- "activeOnStart": true,
14
- "beginsPattern": {
15
- "regexp": "(.*?)"
16
- },
17
- "endsPattern": {
18
- "regexp": "bundle generation complete"
19
- }
20
- }
21
- }
22
- },
23
- {
24
- "type": "npm",
25
- "script": "test",
26
- "isBackground": true,
27
- "problemMatcher": {
28
- "owner": "typescript",
29
- "pattern": "$tsc",
30
- "background": {
31
- "activeOnStart": true,
32
- "beginsPattern": {
33
- "regexp": "(.*?)"
34
- },
35
- "endsPattern": {
36
- "regexp": "bundle generation complete"
37
- }
38
- }
39
- }
40
- }
41
- ]
42
- }
@@ -1,91 +0,0 @@
1
- # DGA UI - Angular Demo
2
-
3
- This is the demo application showcasing the DGA UI theme components and features.
4
-
5
- ## Development vs Production Library Usage
6
-
7
- ### Local Development
8
- During development, the demo uses the **local version** of `sdga-ui` from the parent directory:
9
-
10
- ```bash
11
- npm start
12
- ```
13
-
14
- This automatically runs `npm run use:local` which installs the library from `file:..`, allowing you to test changes immediately.
15
-
16
- ### Production Build / Deployment
17
- For production builds and GitHub Pages deployment, the demo uses the **published npm package**:
18
-
19
- ```bash
20
- npm run build:prod
21
- ```
22
-
23
- This automatically runs `npm run use:npm` which installs the library from the npm registry.
24
-
25
- ### Manual Switching
26
-
27
- You can manually switch between local and npm versions:
28
-
29
- ```bash
30
- # Use local development version
31
- npm run use:local
32
-
33
- # Use published npm version
34
- npm run use:npm
35
- ```
36
-
37
- ## Development server
38
-
39
- To start a local development server, run:
40
-
41
- ```bash
42
- ng serve
43
- ```
44
-
45
- Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
46
-
47
- ## Code scaffolding
48
-
49
- Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
50
-
51
- ```bash
52
- ng generate component component-name
53
- ```
54
-
55
- For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
56
-
57
- ```bash
58
- ng generate --help
59
- ```
60
-
61
- ## Building
62
-
63
- To build the project run:
64
-
65
- ```bash
66
- ng build
67
- ```
68
-
69
- This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
70
-
71
- ## Running unit tests
72
-
73
- To execute unit tests with the [Vitest](https://vitest.dev/) test runner, use the following command:
74
-
75
- ```bash
76
- ng test
77
- ```
78
-
79
- ## Running end-to-end tests
80
-
81
- For end-to-end (e2e) testing, run:
82
-
83
- ```bash
84
- ng e2e
85
- ```
86
-
87
- Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
88
-
89
- ## Additional Resources
90
-
91
- For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
@@ -1,93 +0,0 @@
1
- {
2
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3
- "version": 1,
4
- "cli": {
5
- "packageManager": "npm"
6
- },
7
- "newProjectRoot": "projects",
8
- "projects": {
9
- "demo-angular": {
10
- "projectType": "application",
11
- "schematics": {
12
- "@schematics/angular:component": {
13
- "style": "scss"
14
- }
15
- },
16
- "root": "",
17
- "sourceRoot": "src",
18
- "prefix": "app",
19
- "architect": {
20
- "build": {
21
- "builder": "@angular/build:application",
22
- "options": {
23
- "outputPath": "dist/demo-angular",
24
- "browser": "src/main.ts",
25
- "tsConfig": "tsconfig.app.json",
26
- "inlineStyleLanguage": "scss",
27
- "assets": [
28
- {
29
- "glob": "**/*",
30
- "input": "public"
31
- }
32
- ],
33
- "styles": [
34
- "src/styles.scss"
35
- ],
36
- "preserveSymlinks": true,
37
- "stylePreprocessorOptions": {
38
- "includePaths": [
39
- "../../node_modules"
40
- ]
41
- }
42
- },
43
- "configurations": {
44
- "production": {
45
- "baseHref": "/dga-ui/",
46
- "budgets": [
47
- {
48
- "type": "initial",
49
- "maximumWarning": "500kB",
50
- "maximumError": "1MB"
51
- },
52
- {
53
- "type": "anyComponentStyle",
54
- "maximumWarning": "4kB",
55
- "maximumError": "8kB"
56
- }
57
- ],
58
- "outputHashing": "all"
59
- },
60
- "development": {
61
- "optimization": false,
62
- "extractLicenses": false,
63
- "sourceMap": true
64
- }
65
- },
66
- "defaultConfiguration": "production"
67
- },
68
- "serve": {
69
- "builder": "@angular/build:dev-server",
70
- "configurations": {
71
- "production": {
72
- "buildTarget": "demo-angular:build:production"
73
- },
74
- "development": {
75
- "buildTarget": "demo-angular:build:development"
76
- }
77
- },
78
- "defaultConfiguration": "development"
79
- },
80
- "test": {
81
- "builder": "@angular/build:unit-test"
82
- },
83
- "deploy": {
84
- "builder": "angular-cli-ghpages:deploy",
85
- "options": {
86
- "baseHref": "/dga-ui/",
87
- "cname": ""
88
- }
89
- }
90
- }
91
- }
92
- }
93
- }