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

@mindfusion/pack

v2023.3.0

Published

Pack of UI Controls

Downloads

109

Readme

Pack of UI Controls for JavaScript and TypeScript

A diverse package with useful UI librarires for JavaScript and TypeScript developed by MindFusion.

Installing

For the latest stable version:

npm i @mindfusion/pack

MindFusion Pack for JavaScript

MindFusion Pack for JavaScript Controls

  • DataViews / Grid
  • Diagrams
  • Schedules
  • Charts
  • Gauges
  • Maps
  • Virtual Keyboard
  • Calendar
  • DateTimePicker
  • Dialogs
  • ImagePicker
  • ListView
  • Menu
  • ToolTip
  • ToolStrip
  • Tabs
  • TreeView
  • Window
  • WindowHost

What's New in Pack for JavaScript 2023.2

Diagramming

Web components

The library registers each control class as a web component. You can use the following tags to create corresponding components:

  • <mindfusion-diagramview> creates a DiagramView instance.
  • <mindfusion-ruler> creates a Ruler instance.
  • <mindfusion-zoomcontrol> creates a ZoomControl instance.
  • <mindfusion-overview> creates an Overview instance.
  • <mindfusion-nodelistview> creates a NodeListView instance.

When instantiated as a web component, each control class creates required HTML elements as internal shadow DOM. You can get the JavaScript object corresponding to a web component by calling controls' find method with id argument.

<mindfusion-diagramview
    id="diagramView"
    style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; overflow: auto;">
</mindfusion-diagramview>
var diagramView = DiagramView.find("diagramView");
var diagram = diagramView.diagram;

Animations

The library now includes several standard animation classes and methods. The animate method of DiagramItem can run following animations:

Following animations can be applied to DiagramNodes:

The animate method of DiagramView can run following animations:

DiagramLink improvements

  • Set the intermediateShape property to display arrowheads at the middle of each link segment. This could help users follow longer link paths. Intermediate arrowheads can be customized further by setting intermediateBrush and intermediateShapeSize.
  • Set the allowSplitLinks property of Diagram to let users insert new link segments by dragging any point of a selected link's segment. In this mode users can also merge link segments by making them close to collinear, or by moving adjustment handles close to each other, as set via mergeThreshold.

Reversed tree layouts

The reversedLinks property of TreeLayout, RadialTreeLayout and BorderedTreeLayout lets you arrange trees where links point from child to parent nodes, instead of the default parent to child direction.

Scheduling

The library registers the Calendar class as a web component. You can use the tag to create the control.

When instantiated as a web component, the control creates required HTML elements as internal shadow DOM. You can get the JavaScript object corresponding to a web component by calling the find method with id argument.

<mindfusion-calendar id="calendar" style="height: 100%; width: 100%;">
</mindfusion-calendar>
var ms = MindFusion.Scheduling;
calendar = ms.Calendar.find("calendar");
calendar.currentView = ms.CalendarView.SingleMonth;

DataViews

The library registers the Grid class as a web component. You can use the tag to create the control.

When instantiated as a web component, the control creates required HTML elements as internal shadow DOM. You can get the JavaScript object corresponding to a web component by calling the find method with id argument.

<mindfusion-grid id="grid">
</mindfusion-grid>
var dv = MindFusion.DataViews;
var grid = dv.Grid.find("grid");
grid.model = new dv.ArrayModel(participants, columns, "index");

Documentation

Samples

MindFusion Pack for JavaScript is distributed as an archive that contains over 100 samples with all components in the pack. You can download it from here.

Additional Information

Learn more about MindFusion JavaScript Pack from the official product page. Stay in touch with MindFusion and learn about our latest product announcements, tutorials and programming guidelines via Twitter or our company blog. A YouTube channel with interactive video tutorials is available here.

Technical Support

Licensing

The end-user license agreement for all MindFusion developer tools is uploaded here.