angular-latest 0.0.0
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/.cache/storybook/default/dev-server/a5a8bf6e622aef57065c6498611f40c911543d7d-3920d97c51b8ad2521918fb1205babd22b0ed3d7 +1 -0
- package/.cache/storybook/default/dev-server/a5a8bf6e622aef57065c6498611f40c911543d7d-43fdebe5fc35e4e9fabee9a83c7faea931b05ea0 +1 -0
- package/.storybook/main.ts +19 -0
- package/.storybook/preview.ts +17 -0
- package/.storybook/tsconfig.doc.json +10 -0
- package/.storybook/tsconfig.json +11 -0
- package/.storybook/typings.d.ts +4 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +13 -0
- package/.vscode/tasks.json +24 -0
- package/README.md +27 -0
- package/angular.json +139 -0
- package/documentation.json +552 -0
- package/package.json +42 -0
- package/src/app/app.component.ts +17 -0
- package/src/app/app.config.ts +8 -0
- package/src/app/app.routes.ts +3 -0
- package/src/app/components/loader/loader.component.css +21 -0
- package/src/app/components/loader/loader.component.html +1 -0
- package/src/app/components/loader/loader.component.ts +10 -0
- package/src/assets/.gitkeep +0 -0
- package/src/favicon.ico +0 -0
- package/src/index.html +13 -0
- package/src/main.ts +6 -0
- package/src/stories/.eslintrc.json +5 -0
- package/src/stories/Configure.mdx +364 -0
- package/src/stories/assets/accessibility.png +0 -0
- package/src/stories/assets/accessibility.svg +5 -0
- package/src/stories/assets/addon-library.png +0 -0
- package/src/stories/assets/assets.png +0 -0
- package/src/stories/assets/avif-test-image.avif +0 -0
- package/src/stories/assets/context.png +0 -0
- package/src/stories/assets/discord.svg +15 -0
- package/src/stories/assets/docs.png +0 -0
- package/src/stories/assets/figma-plugin.png +0 -0
- package/src/stories/assets/github.svg +3 -0
- package/src/stories/assets/share.png +0 -0
- package/src/stories/assets/styling.png +0 -0
- package/src/stories/assets/testing.png +0 -0
- package/src/stories/assets/theming.png +0 -0
- package/src/stories/assets/tutorials.svg +12 -0
- package/src/stories/assets/youtube.svg +4 -0
- package/src/stories/button.component.ts +56 -0
- package/src/stories/button.css +30 -0
- package/src/stories/button.stories.ts +48 -0
- package/src/stories/header.component.ts +79 -0
- package/src/stories/header.css +32 -0
- package/src/stories/header.stories.ts +33 -0
- package/src/stories/loader.stories.ts +28 -0
- package/src/stories/page.component.ts +82 -0
- package/src/stories/page.css +69 -0
- package/src/stories/page.stories.ts +32 -0
- package/src/stories/user.ts +3 -0
- package/src/styles.scss +1 -0
- package/storybook-static/419.9380106a.iframe.bundle.js +1 -0
- package/storybook-static/555.5343233e.iframe.bundle.js +1 -0
- package/storybook-static/723.dcfee548.iframe.bundle.js +425 -0
- package/storybook-static/723.dcfee548.iframe.bundle.js.LICENSE.txt +52 -0
- package/storybook-static/723.dcfee548.iframe.bundle.js.map +1 -0
- package/storybook-static/764.16831083.iframe.bundle.js +1 -0
- package/storybook-static/787.f3a8f680.iframe.bundle.js +1 -0
- package/storybook-static/912.a867d3a2.iframe.bundle.js +1 -0
- package/storybook-static/944.63355339.iframe.bundle.js +1 -0
- package/storybook-static/994.091897e1.iframe.bundle.js +95 -0
- package/storybook-static/994.091897e1.iframe.bundle.js.LICENSE.txt +29 -0
- package/storybook-static/994.091897e1.iframe.bundle.js.map +1 -0
- package/storybook-static/favicon.svg +7 -0
- package/storybook-static/iframe.html +370 -0
- package/storybook-static/index.html +159 -0
- package/storybook-static/index.json +1 -0
- package/storybook-static/main.01eb4ecea8870f3a4901.css +1 -0
- package/storybook-static/main.c80cd11c.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/runtime~main.19b79a34.iframe.bundle.js +1 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-9/manager-bundle.js +327 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-9/manager-bundle.js.LEGAL.txt +40 -0
- package/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js +12 -0
- package/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js +60 -0
- package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt +18 -0
- package/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/interactions-10/manager-bundle.js +33 -0
- package/storybook-static/sb-addons/interactions-10/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/links-1/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/links-1/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +3 -0
- package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-common-assets/fonts.css +31 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/WithTooltip-Y7J54OF7-CEHQ77YF.js +1 -0
- package/storybook-static/sb-manager/chunk-FEE35O7J.js +9 -0
- package/storybook-static/sb-manager/chunk-GFFGH77H.js +183 -0
- package/storybook-static/sb-manager/chunk-KCHUFUTG.js +234 -0
- package/storybook-static/sb-manager/chunk-S4VOIVUE.js +347 -0
- package/storybook-static/sb-manager/chunk-XCO5HRLK.js +6 -0
- package/storybook-static/sb-manager/chunk-XP3HGWTR.js +1 -0
- package/storybook-static/sb-manager/formatter-B5HCVTEV-7DCBOGO6.js +58 -0
- package/storybook-static/sb-manager/globals-module-info.js +1 -0
- package/storybook-static/sb-manager/globals-runtime.js +1 -0
- package/storybook-static/sb-manager/globals.js +1 -0
- package/storybook-static/sb-manager/index.js +1 -0
- package/storybook-static/sb-manager/runtime.js +1 -0
- package/storybook-static/sb-manager/syntaxhighlighter-JOJW2KGS-VF6EEVPI.js +1 -0
- package/storybook-static/sb-preview/globals.js +1 -0
- package/storybook-static/sb-preview/runtime.js +139 -0
- package/storybook-static/static/media/accessibility.2dbc6973.png +0 -0
- package/storybook-static/static/media/addon-library.7a58d2cb.png +0 -0
- package/storybook-static/static/media/assets.e6440a95.png +0 -0
- package/storybook-static/static/media/context.645728c6.png +0 -0
- package/storybook-static/static/media/discord.bd319a53.svg +15 -0
- package/storybook-static/static/media/docs.f7d8b9a8.png +0 -0
- package/storybook-static/static/media/figma-plugin.9335a1a9.png +0 -0
- package/storybook-static/static/media/github.0366d3df.svg +3 -0
- package/storybook-static/static/media/share.161528bb.png +0 -0
- package/storybook-static/static/media/styling.38cab73b.png +0 -0
- package/storybook-static/static/media/testing.c720ced2.png +0 -0
- package/storybook-static/static/media/theming.e93de094.png +0 -0
- package/storybook-static/static/media/tutorials.dc623e0d.svg +12 -0
- package/storybook-static/static/media/youtube.9ab9c849.svg +4 -0
- package/storybook-static/stories-Configure-mdx.4d18500d.iframe.bundle.js +2 -0
- package/storybook-static/stories-Configure-mdx.4d18500d.iframe.bundle.js.LICENSE.txt +9 -0
- package/storybook-static/stories-button-stories.e503e31e.iframe.bundle.js +1 -0
- package/storybook-static/stories-header-stories.2b1be1ea.iframe.bundle.js +1 -0
- package/storybook-static/stories-loader-stories.8e527f9e.iframe.bundle.js +1 -0
- package/storybook-static/stories-page-stories.528e11e1.iframe.bundle.js +1 -0
- package/tsconfig.app.json +14 -0
- package/tsconfig.json +32 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"value":{"id":"59vW6eL7h6XuSTEAgVvFG","lastUsed":1714842383700},"type":"Object","created":"2024-05-04T17:06:23.701Z","ttl":0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"value":1714841559990,"type":"Number","created":"2024-05-04T16:52:39.996Z","ttl":0}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { StorybookConfig } from "@storybook/angular";
|
|
2
|
+
|
|
3
|
+
const config: StorybookConfig = {
|
|
4
|
+
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
|
|
5
|
+
addons: [
|
|
6
|
+
"@storybook/addon-links",
|
|
7
|
+
"@storybook/addon-essentials",
|
|
8
|
+
"@chromatic-com/storybook",
|
|
9
|
+
"@storybook/addon-interactions",
|
|
10
|
+
],
|
|
11
|
+
framework: {
|
|
12
|
+
name: "@storybook/angular",
|
|
13
|
+
options: {},
|
|
14
|
+
},
|
|
15
|
+
docs: {
|
|
16
|
+
autodocs: "tag",
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
export default config;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Preview } from "@storybook/angular";
|
|
2
|
+
import { setCompodocJson } from "@storybook/addon-docs/angular";
|
|
3
|
+
import docJson from "../documentation.json";
|
|
4
|
+
setCompodocJson(docJson);
|
|
5
|
+
|
|
6
|
+
const preview: Preview = {
|
|
7
|
+
parameters: {
|
|
8
|
+
controls: {
|
|
9
|
+
matchers: {
|
|
10
|
+
color: /(background|color)$/i,
|
|
11
|
+
date: /Date$/i,
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export default preview;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This tsconfig is used by Compodoc to generate the documentation for the project.
|
|
2
|
+
// If Compodoc is not used, this file can be deleted.
|
|
3
|
+
{
|
|
4
|
+
"extends": "./tsconfig.json",
|
|
5
|
+
// Exclude all files that are not needed for documentation generation.
|
|
6
|
+
"exclude": ["../src/test.ts", "../src/**/*.spec.ts", "../src/**/*.stories.ts"],
|
|
7
|
+
// Please make sure to include all files from which Compodoc should generate documentation.
|
|
8
|
+
"include": ["../src/**/*"],
|
|
9
|
+
"files": ["./typings.d.ts"]
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../tsconfig.app.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"types": ["node"],
|
|
5
|
+
"allowSyntheticDefaultImports": true,
|
|
6
|
+
"resolveJsonModule": true
|
|
7
|
+
},
|
|
8
|
+
"exclude": ["../src/test.ts", "../src/**/*.spec.ts"],
|
|
9
|
+
"include": ["../src/**/*.stories.*", "./preview.ts"],
|
|
10
|
+
"files": ["./typings.d.ts"]
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
}
|
package/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# AngularLatest
|
|
2
|
+
|
|
3
|
+
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.6.
|
|
4
|
+
|
|
5
|
+
## Development server
|
|
6
|
+
|
|
7
|
+
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
|
|
8
|
+
|
|
9
|
+
## Code scaffolding
|
|
10
|
+
|
|
11
|
+
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
|
|
12
|
+
|
|
13
|
+
## Build
|
|
14
|
+
|
|
15
|
+
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
16
|
+
|
|
17
|
+
## Running unit tests
|
|
18
|
+
|
|
19
|
+
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
20
|
+
|
|
21
|
+
## Running end-to-end tests
|
|
22
|
+
|
|
23
|
+
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
|
|
24
|
+
|
|
25
|
+
## Further help
|
|
26
|
+
|
|
27
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
package/angular.json
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"newProjectRoot": "projects",
|
|
5
|
+
"projects": {
|
|
6
|
+
"angular-latest": {
|
|
7
|
+
"projectType": "application",
|
|
8
|
+
"schematics": {
|
|
9
|
+
"@schematics/angular:component": {
|
|
10
|
+
"inlineTemplate": true,
|
|
11
|
+
"inlineStyle": true,
|
|
12
|
+
"style": "scss",
|
|
13
|
+
"skipTests": true
|
|
14
|
+
},
|
|
15
|
+
"@schematics/angular:class": {
|
|
16
|
+
"skipTests": true
|
|
17
|
+
},
|
|
18
|
+
"@schematics/angular:directive": {
|
|
19
|
+
"skipTests": true
|
|
20
|
+
},
|
|
21
|
+
"@schematics/angular:guard": {
|
|
22
|
+
"skipTests": true
|
|
23
|
+
},
|
|
24
|
+
"@schematics/angular:interceptor": {
|
|
25
|
+
"skipTests": true
|
|
26
|
+
},
|
|
27
|
+
"@schematics/angular:pipe": {
|
|
28
|
+
"skipTests": true
|
|
29
|
+
},
|
|
30
|
+
"@schematics/angular:resolver": {
|
|
31
|
+
"skipTests": true
|
|
32
|
+
},
|
|
33
|
+
"@schematics/angular:service": {
|
|
34
|
+
"skipTests": true
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"root": "",
|
|
38
|
+
"sourceRoot": "src",
|
|
39
|
+
"prefix": "app",
|
|
40
|
+
"architect": {
|
|
41
|
+
"build": {
|
|
42
|
+
"builder": "@angular-devkit/build-angular:application",
|
|
43
|
+
"options": {
|
|
44
|
+
"outputPath": "dist/angular-latest",
|
|
45
|
+
"index": "src/index.html",
|
|
46
|
+
"browser": "src/main.ts",
|
|
47
|
+
"polyfills": [
|
|
48
|
+
"zone.js"
|
|
49
|
+
],
|
|
50
|
+
"tsConfig": "tsconfig.app.json",
|
|
51
|
+
"inlineStyleLanguage": "scss",
|
|
52
|
+
"assets": [
|
|
53
|
+
"src/favicon.ico",
|
|
54
|
+
"src/assets"
|
|
55
|
+
],
|
|
56
|
+
"styles": [
|
|
57
|
+
"src/styles.scss"
|
|
58
|
+
],
|
|
59
|
+
"scripts": []
|
|
60
|
+
},
|
|
61
|
+
"configurations": {
|
|
62
|
+
"production": {
|
|
63
|
+
"budgets": [
|
|
64
|
+
{
|
|
65
|
+
"type": "initial",
|
|
66
|
+
"maximumWarning": "500kb",
|
|
67
|
+
"maximumError": "1mb"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "anyComponentStyle",
|
|
71
|
+
"maximumWarning": "2kb",
|
|
72
|
+
"maximumError": "4kb"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"outputHashing": "all"
|
|
76
|
+
},
|
|
77
|
+
"development": {
|
|
78
|
+
"optimization": false,
|
|
79
|
+
"extractLicenses": false,
|
|
80
|
+
"sourceMap": true
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"defaultConfiguration": "production"
|
|
84
|
+
},
|
|
85
|
+
"serve": {
|
|
86
|
+
"builder": "@angular-devkit/build-angular:dev-server",
|
|
87
|
+
"configurations": {
|
|
88
|
+
"production": {
|
|
89
|
+
"buildTarget": "angular-latest:build:production"
|
|
90
|
+
},
|
|
91
|
+
"development": {
|
|
92
|
+
"buildTarget": "angular-latest:build:development"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"defaultConfiguration": "development"
|
|
96
|
+
},
|
|
97
|
+
"extract-i18n": {
|
|
98
|
+
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
99
|
+
"options": {
|
|
100
|
+
"buildTarget": "angular-latest:build"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"storybook": {
|
|
104
|
+
"builder": "@storybook/angular:start-storybook",
|
|
105
|
+
"options": {
|
|
106
|
+
"configDir": ".storybook",
|
|
107
|
+
"browserTarget": "angular-latest:build",
|
|
108
|
+
"compodoc": true,
|
|
109
|
+
"compodocArgs": [
|
|
110
|
+
"-e",
|
|
111
|
+
"json",
|
|
112
|
+
"-d",
|
|
113
|
+
"."
|
|
114
|
+
],
|
|
115
|
+
"port": 6006
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"build-storybook": {
|
|
119
|
+
"builder": "@storybook/angular:build-storybook",
|
|
120
|
+
"options": {
|
|
121
|
+
"configDir": ".storybook",
|
|
122
|
+
"browserTarget": "angular-latest:build",
|
|
123
|
+
"compodoc": true,
|
|
124
|
+
"compodocArgs": [
|
|
125
|
+
"-e",
|
|
126
|
+
"json",
|
|
127
|
+
"-d",
|
|
128
|
+
"."
|
|
129
|
+
],
|
|
130
|
+
"outputDir": "storybook-static"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"cli": {
|
|
137
|
+
"analytics": "c0d06b71-80c7-470a-8f4e-f1dff8fbe174"
|
|
138
|
+
}
|
|
139
|
+
}
|