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.
- package/css/dga-ui.css +24882 -27623
- package/css/dga-ui.css.map +1 -1
- package/package.json +20 -4
- package/theme/_variables.scss +0 -1
- package/theme/components/_buttons.scss +1 -302
- package/theme/config/_base.scss +1 -1
- package/theme/customizations/_alerts.scss +15 -14
- package/theme/customizations/_buttons.scss +305 -244
- package/theme/customizations/_footer.scss +122 -45
- package/theme/customizations/_global.scss +20 -2
- package/theme/customizations/_links.scss +55 -53
- package/theme/customizations/_toasts.scss +13 -14
- package/theme/dga-ui.scss +1 -2
- package/.editorconfig +0 -23
- package/.github/workflows/deploy.yml +0 -71
- package/.github/workflows/publish.yml +0 -36
- package/.prettierignore +0 -73
- package/.prettierrc +0 -17
- package/demo-angular/.editorconfig +0 -17
- package/demo-angular/.vscode/extensions.json +0 -4
- package/demo-angular/.vscode/launch.json +0 -20
- package/demo-angular/.vscode/tasks.json +0 -42
- package/demo-angular/README.md +0 -91
- package/demo-angular/angular.json +0 -93
- package/demo-angular/package-lock.json +0 -10600
- package/demo-angular/package.json +0 -53
- package/demo-angular/public/404.html +0 -35
- package/demo-angular/public/favicon.ico +0 -0
- package/demo-angular/public/i18n/ar.json +0 -289
- package/demo-angular/public/i18n/en.json +0 -289
- package/demo-angular/src/app/app.config.ts +0 -20
- package/demo-angular/src/app/app.html +0 -52
- package/demo-angular/src/app/app.routes.ts +0 -53
- package/demo-angular/src/app/app.scss +0 -430
- package/demo-angular/src/app/app.spec.ts +0 -23
- package/demo-angular/src/app/app.ts +0 -94
- package/demo-angular/src/app/shared/code-example/code-example.component.html +0 -30
- package/demo-angular/src/app/shared/code-example/code-example.component.scss +0 -183
- package/demo-angular/src/app/shared/code-example/code-example.component.ts +0 -78
- package/demo-angular/src/app/views/alerts/alerts.component.html +0 -155
- package/demo-angular/src/app/views/alerts/alerts.component.scss +0 -3
- package/demo-angular/src/app/views/alerts/alerts.component.ts +0 -134
- package/demo-angular/src/app/views/buttons/buttons.component.html +0 -289
- package/demo-angular/src/app/views/buttons/buttons.component.scss +0 -14
- package/demo-angular/src/app/views/buttons/buttons.component.ts +0 -155
- package/demo-angular/src/app/views/cards/cards.component.html +0 -156
- package/demo-angular/src/app/views/cards/cards.component.html.backup +0 -156
- package/demo-angular/src/app/views/cards/cards.component.scss +0 -11
- package/demo-angular/src/app/views/cards/cards.component.ts +0 -194
- package/demo-angular/src/app/views/contexts/contexts.component.html +0 -204
- package/demo-angular/src/app/views/contexts/contexts.component.ts +0 -10
- package/demo-angular/src/app/views/footer/footer.html +0 -282
- package/demo-angular/src/app/views/footer/footer.scss +0 -0
- package/demo-angular/src/app/views/footer/footer.spec.ts +0 -23
- package/demo-angular/src/app/views/footer/footer.ts +0 -142
- package/demo-angular/src/app/views/forms/forms.component.html +0 -347
- package/demo-angular/src/app/views/forms/forms.component.scss +0 -3
- package/demo-angular/src/app/views/forms/forms.component.ts +0 -222
- package/demo-angular/src/app/views/header/header.html +0 -1
- package/demo-angular/src/app/views/header/header.scss +0 -0
- package/demo-angular/src/app/views/header/header.spec.ts +0 -23
- package/demo-angular/src/app/views/header/header.ts +0 -11
- package/demo-angular/src/app/views/home/home.component.html +0 -33
- package/demo-angular/src/app/views/home/home.component.scss +0 -35
- package/demo-angular/src/app/views/home/home.component.ts +0 -12
- package/demo-angular/src/app/views/links/links.component.html +0 -21
- package/demo-angular/src/app/views/links/links.component.scss +0 -11
- package/demo-angular/src/app/views/links/links.component.ts +0 -19
- package/demo-angular/src/app/views/tables/tables.component.html +0 -289
- package/demo-angular/src/app/views/tables/tables.component.scss +0 -3
- package/demo-angular/src/app/views/tables/tables.component.ts +0 -278
- package/demo-angular/src/app/views/toasts/toasts.component.html +0 -201
- package/demo-angular/src/app/views/toasts/toasts.component.scss +0 -0
- package/demo-angular/src/app/views/toasts/toasts.component.ts +0 -182
- package/demo-angular/src/index.html +0 -28
- package/demo-angular/src/main.ts +0 -6
- package/demo-angular/src/styles.scss +0 -4
- package/demo-angular/tsconfig.app.json +0 -15
- package/demo-angular/tsconfig.json +0 -33
- package/demo-angular/tsconfig.spec.json +0 -15
- package/sdga-ui/README.md +0 -45
- package/sdga-ui/content/docs/components/alerts.mdx +0 -475
- package/sdga-ui/content/docs/index.mdx +0 -239
- package/sdga-ui/next.config.mjs +0 -10
- package/sdga-ui/package-lock.json +0 -5851
- package/sdga-ui/package.json +0 -32
- package/sdga-ui/postcss.config.mjs +0 -5
- package/sdga-ui/source.config.ts +0 -27
- package/sdga-ui/src/app/(home)/layout.tsx +0 -6
- package/sdga-ui/src/app/(home)/page.tsx +0 -202
- package/sdga-ui/src/app/api/search/route.ts +0 -7
- package/sdga-ui/src/app/docs/[[...slug]]/page.tsx +0 -54
- package/sdga-ui/src/app/docs/layout.tsx +0 -11
- package/sdga-ui/src/app/global.css +0 -3
- package/sdga-ui/src/app/layout.tsx +0 -25
- package/sdga-ui/src/app/llms-full.txt/route.ts +0 -10
- package/sdga-ui/src/app/og/docs/[...slug]/route.tsx +0 -34
- package/sdga-ui/src/app/sdga-scoped.css +0 -7
- package/sdga-ui/src/components/sdga-preview.tsx +0 -105
- package/sdga-ui/src/lib/layout.shared.tsx +0 -9
- package/sdga-ui/src/lib/source.ts +0 -27
- package/sdga-ui/src/mdx-components.tsx +0 -9
- package/sdga-ui/tsconfig.json +0 -46
- package/theme/config/_contexts.scss +0 -471
- 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
|
-
}
|
package/demo-angular/README.md
DELETED
|
@@ -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
|
-
}
|