1.6.1 • Published 2 years ago

@tim-mhn/ng-ui v1.6.1

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

TimUI

Angular UI library built with Material CDK and Tailwindcss

Get started

Download the package from NPM

npm install @tim-mhn/ng-ui

Import the stylesheet

In your global .scss or .css file, add @import "@tim-mhn/ng-ui/styles.css"

Import the modules you want to use

Example with TimUIButtonModule and TimUIChipModule

// example.module.ts
import { TimUIButtonModule } from 'tim-ui/button';
  import { TimUIChipModule } from 'tim-ui/chip'

@NgModule({
  imports: [TimUIButtonModule, TimUIChipModule],
  declarations: [ExampleComponent]
})
export class ExampleModule {}

// example.component.html
<button tim-flat-button color="primary" size="md">Click</button>
<tim-chip color="destructive" size="sm">chip</tim-chip>

List of modules

  • TimUIAlertModule
  • TimUIAvatarModule
  • TimUIButtonModule
  • TimUICardModule
  • TimUIChipModule
  • TimUICoreModule
  • TimUIDialogModule
  • TimUIDividerModule
  • TimUIDropdownMenuModule
  • TimUIFeaturedIconModule
  • TimUILinkModule
  • TimUISnackbarModule
  • TimUISpinnerModule
  • TimUITabsModule
  • TimUITooltipModule

Build

Run npm run build:ui to build the project.

Build & Publish

  • Bump the version: npm version major|minor|patch
  • Build the library: npm run build:ui The build artifacts will be stored in the dist/ directory. This will also run the tailwind command to generate the .css file reusing the tim-tailwind config.

  • Publish to NPM: go to the dist folder cd dist/ui run npm publish

Running unit tests

Run ng test ui to execute the unit tests via Karma.

1.6.1

2 years ago

1.6.0

2 years ago

1.5.8

2 years ago

1.5.5

2 years ago

1.5.4

2 years ago

1.5.3

2 years ago

1.5.7

2 years ago

1.5.6

2 years ago

1.5.2

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.3

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.11

2 years ago

1.2.10

2 years ago

1.2.9

2 years ago

1.2.8

2 years ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago