nypro-light-components 0.0.3 → 0.0.5

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/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="nypro-light-components" />
5
+ export * from './public-api';
@@ -0,0 +1,20 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class NyButton {
3
+ onClick: import("@angular/core").OutputEmitterRef<Event>;
4
+ constructor();
5
+ btnClikc(event: Event): void;
6
+ /** Uses to pass attributes to the label's DOM element. */
7
+ label: import("@angular/core").InputSignalWithTransform<string, string | null | undefined>;
8
+ /** Add a circular border radius to the button. */
9
+ rounded: import("@angular/core").InputSignalWithTransform<boolean, string | boolean>;
10
+ /** When present, it specifies that the component should be disabled. */
11
+ disabled: import("@angular/core").InputSignalWithTransform<boolean, string | boolean>;
12
+ /** When present, it specifies that the component should be disabled and loading icon is display. */
13
+ loading: import("@angular/core").InputSignal<boolean>;
14
+ /** Uses to pass attributes to the label's DOM element. */
15
+ loadingIcon: import("@angular/core").InputSignalWithTransform<string, string | null | undefined>;
16
+ /** Defines the style of the button. */
17
+ severity: import("@angular/core").InputSignalWithTransform<"primary" | "secondary" | "danger" | "warn" | "success", "primary" | "secondary" | "danger" | "warn" | "success" | null | undefined>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<NyButton, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<NyButton, "ny-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingIcon": { "alias": "loadingIcon"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, ["*"], true, never>;
20
+ }
@@ -0,0 +1,27 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class NyRadioButton implements ControlValueAccessor {
5
+ labelTemplate?: TemplateRef<any>;
6
+ selectedValue: any;
7
+ /** This input steh the valur for the input radio */
8
+ value: import("@angular/core").InputSignalWithTransform<any, any>;
9
+ /** Name of the from control value assing to radio-buttons */
10
+ name: import("@angular/core").InputSignalWithTransform<any, any>;
11
+ /** Label of the radio button */
12
+ label: import("@angular/core").InputSignalWithTransform<any, any>;
13
+ /** Position where the Label will be display */
14
+ position: import("@angular/core").InputSignalWithTransform<"left" | "right" | "top" | "buttom", "left" | "right" | "top" | "buttom">;
15
+ /** Position where the Label will be display */
16
+ size: import("@angular/core").InputSignalWithTransform<"normal" | "small" | "large", "normal" | "small" | "large">;
17
+ /** Sets the enable action to clickt or not */
18
+ disabled: import("@angular/core").InputSignalWithTransform<boolean, string | boolean>;
19
+ onChange: (val: any) => void;
20
+ onTouched: () => void;
21
+ writeValue(obj: any): void;
22
+ registerOnChange(fn: any): void;
23
+ registerOnTouched(fn: any): void;
24
+ onInputChange(): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<NyRadioButton, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<NyRadioButton, "ny-radio-button", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, ["labelTemplate"], never, true, never>;
27
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class NyproLightComponentsComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<NyproLightComponentsComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<NyproLightComponentsComponent, "lib-nypro-light-components", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class NyproLightComponentsService {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<NyproLightComponentsService, never>;
5
+ static ɵprov: i0.ɵɵInjectableDeclaration<NyproLightComponentsService>;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,21 @@
1
1
  {
2
2
  "name": "nypro-light-components",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
+ "types": "index.d.ts",
5
+ "exports": {
6
+ ".": {
7
+ "types": "./index.d.ts",
8
+ "default": "./fesm2022/nypro-light-components.mjs",
9
+ "esm2022": "./esm2022/nypro-light-components.mjs",
10
+ "esm": "./esm2022/nypro-light-components.mjs"
11
+ },
12
+ "./themes.css": {
13
+ "default": "./themes.css"
14
+ },
15
+ "./package.json": {
16
+ "default": "./package.json"
17
+ }
18
+ },
4
19
  "peerDependencies": {
5
20
  "@angular/common": ">=16.8.0 <20.0.0",
6
21
  "@angular/core": ">=16.8.0 <20.0.0"
@@ -9,25 +24,15 @@
9
24
  "tslib": "^2.3.0"
10
25
  },
11
26
  "files": [
12
- "bundles/",
13
27
  "fesm2022/",
14
- "assets/fonts/",
28
+ "lib/",
29
+ "index.d.ts",
30
+ "public-api.d.ts",
15
31
  "themes.css",
16
32
  "package.json",
17
33
  "README.md"
18
34
  ],
19
35
  "sideEffects": false,
20
36
  "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
- }
37
+ "typings": "index.d.ts"
33
38
  }
@@ -0,0 +1,4 @@
1
+ export * from './lib/nypro-light-components.service';
2
+ export * from './lib/nypro-light-components.component';
3
+ export * from './lib/butttons/ny-button/ny-button';
4
+ export * from './lib/butttons/ny-radio-button/ny-radio-button';