nypro-light-components 0.0.1

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/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # NyproLightComponents
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 18.2.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project nypro-light-components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project nypro-light-components`.
8
+ > Note: Don't forget to add `--project nypro-light-components` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build nypro-light-components` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build nypro-light-components`, go to the dist folder `cd dist/nypro-light-components` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test nypro-light-components` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
@@ -0,0 +1,42 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, Component } from '@angular/core';
3
+
4
+ class NyproLightComponentsService {
5
+ constructor() { }
6
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NyproLightComponentsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NyproLightComponentsService, providedIn: 'root' });
8
+ }
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NyproLightComponentsService, decorators: [{
10
+ type: Injectable,
11
+ args: [{
12
+ providedIn: 'root'
13
+ }]
14
+ }], ctorParameters: () => [] });
15
+
16
+ class NyproLightComponentsComponent {
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NyproLightComponentsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
18
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: NyproLightComponentsComponent, isStandalone: true, selector: "lib-nypro-light-components", ngImport: i0, template: `
19
+ <p>
20
+ nypro-light-components works!
21
+ </p>
22
+ `, isInline: true, styles: [""] });
23
+ }
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NyproLightComponentsComponent, decorators: [{
25
+ type: Component,
26
+ args: [{ selector: 'lib-nypro-light-components', standalone: true, imports: [], template: `
27
+ <p>
28
+ nypro-light-components works!
29
+ </p>
30
+ ` }]
31
+ }] });
32
+
33
+ /*
34
+ * Public API Surface of nypro-light-components
35
+ */
36
+
37
+ /**
38
+ * Generated bundle index. Do not edit.
39
+ */
40
+
41
+ export { NyproLightComponentsComponent, NyproLightComponentsService };
42
+ //# sourceMappingURL=nypro-light-components.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nypro-light-components.mjs","sources":["../../../projects/nypro-light-components/src/lib/nypro-light-components.service.ts","../../../projects/nypro-light-components/src/lib/nypro-light-components.component.ts","../../../projects/nypro-light-components/src/public-api.ts","../../../projects/nypro-light-components/src/nypro-light-components.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class NyproLightComponentsService {\r\n\r\n constructor() { }\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-nypro-light-components',\r\n standalone: true,\r\n imports: [],\r\n template: `\r\n <p>\r\n nypro-light-components works!\r\n </p>\r\n `,\r\n styles: ``\r\n})\r\nexport class NyproLightComponentsComponent {\r\n\r\n}\r\n","/*\r\n * Public API Surface of nypro-light-components\r\n */\r\n\r\nexport * from './lib/nypro-light-components.service';\r\nexport * from './lib/nypro-light-components.component';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,2BAA2B,CAAA;AAEtC,IAAA,WAAA,GAAA,GAAiB;wGAFN,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAA3B,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,2BAA2B,cAF1B,MAAM,EAAA,CAAA,CAAA;;4FAEP,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAHvC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;MCSY,6BAA6B,CAAA;wGAA7B,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA7B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,6BAA6B,EAP9B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;AAIT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAGU,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAXzC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,4BAA4B,EAC1B,UAAA,EAAA,IAAI,EACP,OAAA,EAAA,EAAE,EACD,QAAA,EAAA,CAAA;;;;AAIT,EAAA,CAAA,EAAA,CAAA;;;ACVH;;AAEG;;ACFH;;AAEG;;;;"}
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "nypro-light-components",
3
+ "version": "0.0.1",
4
+ "peerDependencies": {
5
+ "@angular/common": "^18.2.0",
6
+ "@angular/core": "^18.2.0"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^2.3.0"
10
+ },
11
+ "files": [
12
+ "bundles/",
13
+ "fesm2022/",
14
+ "assets/fonts/",
15
+ "themes.css",
16
+ "package.json",
17
+ "README.md"
18
+ ],
19
+ "sideEffects": false,
20
+ "module": "fesm2022/nypro-light-components.mjs",
21
+ "typings": "index.d.ts",
22
+ "exports": {
23
+ "./package.json": {
24
+ "default": "./package.json"
25
+ },
26
+ ".": {
27
+ "types": "./index.d.ts",
28
+ "esm2022": "./esm2022/nypro-light-components.mjs",
29
+ "esm": "./esm2022/nypro-light-components.mjs",
30
+ "default": "./fesm2022/nypro-light-components.mjs"
31
+ }
32
+ }
33
+ }
package/themes.css ADDED
@@ -0,0 +1,37 @@
1
+ :root {
2
+ font-style: normal;
3
+ font-family: sans-serif;
4
+ }
5
+
6
+ .p-5 {
7
+ padding: 5rem;
8
+ }
9
+
10
+ :root[class*=app-light] {
11
+ --bg-back-surface: rgb(229, 236, 237);
12
+ --bg-surface: rgb(255, 255, 255);
13
+ --bg-constrast: rgb(0, 130, 182);
14
+ --text-color: #242424;
15
+ --text-color-btn: #ffffff;
16
+ --text-color-secondary: #6e6e6e;
17
+ --primary-color: rgb(0, 126, 210);
18
+ --secondary-color: rgb(114, 127, 136);
19
+ --danger-color: rgb(206, 49, 49);
20
+ --warn-color: rgb(220, 181, 41);
21
+ --success-color: rgb(60, 161, 38);
22
+ }
23
+
24
+ :root[class*=app-dark] {
25
+ --bg-back-surface: rgb(34, 46, 60);
26
+ --bg-surface: rgb(28, 18, 62);
27
+ --bg-constrast: rgb(0, 130, 182);
28
+ --text-color: #242424;
29
+ --text-color-btn: #ffffff;
30
+ --primary-color: rgb(0, 126, 210);
31
+ --secondary-color: rgb(114, 127, 136);
32
+ --danger-color: rgb(206, 49, 49);
33
+ --warn-color: rgb(220, 181, 41);
34
+ --success-color: rgb(60, 161, 38);
35
+ }
36
+
37
+ /*# sourceMappingURL=themes.css.map */