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

metronic-extension

v3.0.9

Published

Extension package for the Metronic WEB theme.

Downloads

367

Readme

metronic-extension

Extension package for the Metronic WEB theme.

Documentation

Metronic Extension V3 documentation can be found here.

If you are using Metronic Extension V2, please see the documentation here.

Installation

npm install --save metronic-extension

Release Notes

All changes can be found here.

  • [3.0.9] - The release of the package has not yet been determined.
    • Changed the default width of lines in the line chart component (components.LineChart) from 3px to 1px.
    • Added Docker build and demo run environments.
      See the "How to build with Docker" and "How to start the demo with Docker" sections of README.md for details.
    • Fixed a bug in the line chart component (components.LineChart) where the first tick of the X axis was missing when the option to display the y axis on the right side (yAxisOpposite) was enabled.
  • [3.0.8] - 2024/2/16
    • Added an option to the line chart component (components.LineChart) for the number of tick intervals to be displayed on the x-axis (xAxisTickAmount).
      The default is the number of data on the x-axis.

      See here for more information.

    • Added option (xaxis.labels.hideOverlappingLabels) to prevent overlapping X axis labels on line and bar charts (components.LineChart, components.BarChart).

    • The missing source map for the Metronic theme has been added to the dist.
      If your theme does not have them, copy them into the theme directory and use them.
      The source map is not necessarily required and the theme will work without it.
      However, a 404 network error will occur.

      • dist/sourcemaps/plugins/custom/datatables/pdfmake.min.js.map
      • dist/sourcemaps/plugins/global/toastr.js.map
  • [3.0.7] - 2024/2/16
    • Added the following options to the line chart component (components.LineChart).

      • gradient: When enabled, the line is filled with a gradient. Default is true.
      • lineWidth: The line width (in pixels). Default is 3.
      • yAxisOpposite: When enabled, will draw the yaxis on the right side of the chart. Default is false.

      See here for more information.

  • [3.0.6] - 2024/2/13
    • Added a date range menu component (components.initDaterangeMenu).
      Check here for usage and examples.

  • [3.0.5] - 2024/2/12
    • An example has been added for switching the column display of a data table component (components.ImageInput) with an icon button.
      Examples and codes can be found here.

Testing

With npm do:

npm test

How to build with Docker

  1. Start the container.

    docker-compose up -d

    Add the --build option to reflect Dockerfile updates.

    docker-compose up -d --build

    Use the --no-cache option to disable the cache at build time.
    When using the --no-cache option, it is necessary to execute the image build and container startup separately.

    docker-compose build --no-cache
    docker-compose up -d
  2. Connect to container.

    docker exec -it metronic_extension_app bash
  3. Build the package (dist/ and types/ will be output).

    cd /usr/src/app
    npm run build

How to start the demo with Docker

See here.

Author

Takuya Motoshima

License

MIT