Comparing version 0.0.3 to 0.0.4
import { ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core'; | ||
import { TwButtonConfigService } from './button-config.service'; | ||
import * as i0 from "@angular/core"; | ||
declare type ColorType = 'basic' | 'primary' | 'secondary' | 'danger'; | ||
export declare class ButtonComponent implements OnInit, OnChanges { | ||
private readonly elementRef; | ||
private readonly buttonConfig; | ||
class: string; | ||
color: 'basic' | 'primary' | 'secondary' | 'danger'; | ||
color: ColorType; | ||
layout: 'basic' | 'raised' | 'stroked' | 'flat'; | ||
@@ -11,3 +14,3 @@ size: 'xs' | 'sm' | 'md' | 'lg' | 'xl'; | ||
private _config; | ||
constructor(elementRef: ElementRef); | ||
constructor(elementRef: ElementRef, buttonConfig: TwButtonConfigService); | ||
classes: string; | ||
@@ -17,4 +20,4 @@ ngOnInit(): void; | ||
private setup; | ||
getGlobalClasses(): any; | ||
getFontClasses(): any; | ||
getGlobalClasses(): string[]; | ||
getFontClasses(): string[]; | ||
getLayoutClasses(): string[]; | ||
@@ -29,1 +32,2 @@ getSizeClasses(): string[]; | ||
} | ||
export {}; |
@@ -0,1 +1,3 @@ | ||
import { ModuleWithProviders } from '@angular/core'; | ||
import { TwButtonConfig } from './button-config.interface'; | ||
import * as i0 from "@angular/core"; | ||
@@ -5,2 +7,3 @@ import * as i1 from "./button.component"; | ||
export declare class TwButtonModule { | ||
static forRoot(options?: Partial<TwButtonConfig>): ModuleWithProviders<TwButtonModule>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<TwButtonModule, never>; | ||
@@ -10,1 +13,7 @@ static ɵmod: i0.ɵɵNgModuleDeclaration<TwButtonModule, [typeof i1.ButtonComponent], [typeof i2.CommonModule], [typeof i1.ButtonComponent]>; | ||
} | ||
export declare class TwButtonConfigModule { | ||
static forRoot(options?: Partial<TwButtonConfig>): ModuleWithProviders<TwButtonConfigModule>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<TwButtonConfigModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<TwButtonConfigModule, never, never, never>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<TwButtonConfigModule>; | ||
} |
{ | ||
"name": "ng-tw", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^13.1.0", |
export * from './modules/button/button.component'; | ||
export * from './modules/button/button.module'; | ||
export * from './modules/button/button-config.interface'; | ||
export * from './modules/button/button-config.service'; | ||
export * from './modules/select/select.component'; | ||
export * from './modules/select/select.module'; | ||
export * from './modules/select/select-config.interface'; | ||
export * from './modules/select/select-config.service'; | ||
export * from './modules/option/option.component'; | ||
export * from './modules/option/option.module'; | ||
export * from './modules/notification/notification-config'; | ||
export * from './modules/notification/notification-ref'; | ||
export * from './modules/notification/notification.component'; | ||
export * from './modules/notification/notification.module'; | ||
export * from './modules/notification/notification.service'; | ||
export * from './modules/progress-bar/progress-bar.component'; | ||
export * from './modules/progress-bar/progress-bar.module'; | ||
export * from './modules/dropdown/dropdown-panel.interface'; | ||
export * from './modules/dropdown/dropdown-trigger-for.directive'; | ||
export * from './modules/dropdown/dropdown-item.component'; | ||
export * from './modules/dropdown/dropdown.component'; | ||
export * from './modules/dropdown/dropdown.module'; | ||
export * from './modules/dropdown/dropdown-config.interface'; | ||
export * from './modules/dropdown/dropdown-config.service'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
773227
60
6352
22
1