1.6.1 • Published 1 year ago

@tim-mhn/ng-ui v1.6.1

Weekly downloads
-
License
-
Repository
github
Last release
1 year 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

1 year ago

1.6.0

1 year ago

1.5.8

1 year ago

1.5.5

1 year ago

1.5.4

1 year ago

1.5.3

1 year ago

1.5.7

1 year ago

1.5.6

1 year ago

1.5.2

1 year ago

1.5.1

1 year ago

1.5.0

1 year ago

1.4.3

1 year ago

1.4.2

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.11

1 year ago

1.2.10

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago