Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng-tw

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-tw - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

esm2020/modules/button/button-config.interface.mjs

12

modules/button/button.component.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc