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

@craftzing/angular-ui-library

Package Overview
Dependencies
Maintainers
5
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@craftzing/angular-ui-library

## Installation

  • 1.13.2
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
5
Weekly downloads
 
Created
Source

FodUiLibrary

Installation

Run npm i @craftzing/angular-ui-library.

Next, install the dependencies the library is using:

npm i @angular/cdk @popperjs/core ng2-date-picker dayjs

Styles

Add this to the styles.scss file in the root folder of your Angular project

  @import "@craftzing/angular-ui-library/styles";

  # Optionally you can import reset styles for the project
  @import "@craftzing/angular-ui-library/styles/reset";

Using the library

Every component is exposed as a standalone module (similar to angular/material) and as part of the general fod-ui-library. This enables consumers to import the whole library (which will include all components in the application build) or cherry pick only the necessary components.

Eg import { FodUiLibraryModule } from '@craftzing/angular-ui-library' or import { FodButtonModule, FodHeadingModule } from '@craftzing/angular-ui-library'

Setup assets

To set the right path for all the assets of the component library, you have to add the following to your assets configuration in the angular.json file.

{
  "options": {
    // ... other options
    "assets": [
      // ... other assets,
      {
        "glob": "**/*",
        "input": "./node_modules/@craftzing/angular-ui-library/assets",
        "output": "/assets/"
      }
    ]
  }
}

FAQs

Package last updated on 03 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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