npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@natec/mef-dev-ui-kit

v16.3.54

Published

MEF.DEV UI Kit Library

Downloads

33

Readme

@natec/mef-dev-ui-kit

Description

This is Ui-kit-lib to create plugins according to the template and visual on the platform preview.mef.dev with the help of ready made solutions.It provides users with the opportunity to explore and test various components and functionalities of the library before using them in their own projects.

How to create your first Ui-package click here

Also you can check displaying of all the elements together here UI-kit-demo.

This guide created for Angular@15 version project. Cause we will use packages compatible with Angular 15 version.

Version control

You can use the library on the following versions of Angular: |Angular/CLI|@natec/mef-dev-ui-kit| |--------|:--------------| |v.13 | v.1 | |v.14 | v.14 | |v.15 | v.15 | |v.16 | v.16 |

Getting Started

Installing

Firstly you need to install following packages:

@natec/mef-dev-ui-kit:

npm i @natec/mef-dev-ui-kit@15

Simple table extension with sorting, filtering, paging... for Angular apps. ngx-datatable:

npm i @swimlane/ngx-datatable@20

Sleek, intuitive, and powerful front-end framework for faster and easier web development. bootstrap:

npm i bootstrap@5

Ngx-bootstrap provides Bootstrap components powered by Angular, so you don't need to include original JS components.ngx-bootstrap:

npm i ngx-bootstrap@10

CSS font-family parser/stringifier. Font-awesome:

npm i font-awesome@4

Adding dependencies:

Now you need to add path in your Angular.json file

"architect": {
  "build": {
    "options": {
      "styles": [
            "node_modules/bootstrap/scss/bootstrap.scss",
            "node_modules/@natec/mef-dev-ui-kit/src/lib/styles/pg/core.scss",
            "node_modules/font-awesome/scss/font-awesome.scss",
            "src/styles.scss"
      ]
    }
  }
}

Usage

Firstly, you need to import BrowserAnimationsModule in your app.module.ts

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [AppComponent],
  imports: [
    BrowserModule,
    AppRoutingModule,
    BrowserAnimationsModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

You need to import Module from Ui-kit-lib installed earlier in your own module, and add to imports too. Example:

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { MefDevCardModule } from '@natec/mef-dev-ui-kit';

@NgModule({
  declarations:[],
  imports: [
    CommonModule,
    MefDevCardModule,
  ]
})
export class CardsModule { }

After, you can use MefDev components in your project. Example of usage:

    <mefdev-card 
      class="b-color-Light-Gray-2 pt-3"
      [description] = "'Description'"
      [card_type]="'type'"
      [img]="'assets/imgs/store/Frame 521.png'">
      <ng-template #card_title >
         card_title
      </ng-template>
      <ng-template #card_footer>
        card_footer
      </ng-template>
    </mefdev-card>

List of modules you can import in your project:

  • MefDevCardModule
  • MefDevCollapseModule
  • MefDevModalModule
  • MefDevPageLayoutsModule
  • MefDevFilteredFieldModule
  • MefDevHelpBlockModule
  • MefDevProgressModule
  • MefDevSelectModule
  • MefDevSwitchModule
  • MefDevTabsModule

Examples of other components you can find in this documentation in left menubar.

Useful links:


  • Documentation of the library: https://platform.mef.dev/ui_kit
  • Demo of the library: https://platform.mef.dev/ui_kit_demo
  • Library package: https://www.npmjs.com/package/@natec/mef-dev-ui-kit
  • Ui-kit-lib at GitHub: https://github.com/mef-dev/ui-kit-demo.git