
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@dmsi/wedgekit
Advanced tools
Wedgekit is meant as a starter guide and kit to quickly begin a DMSi project or help apply consistency in your project.
Wedgekit follows BEM methodology for naming classnames and the Atomic Design methodology for sorting and organizing components.
The Block, Element, Modifier methodology (commonly referred to as BEM) is a popular naming convention for classes in HTML and CSS. Developed by the team at Yandex, its goal is to help developers better understand the relationship between the HTML and CSS in a given project.
Atomic design is way to structure and organize your stylesheets in a way that makes sense to you and your team. Read this - http://atomicdesign.bradfrost.com/chapter-2/ to learn more about the methodology.
You may either import wedgekit.scss or the individual components. NOTE the order of this is very important.
@import "settings/settings"; // required
@import "mixins/mixins"; // required
@import "tools/tools"; // required
@import "atoms/atoms";
@import "molecules/molecules";
@import "organisms/organisms";
@import "utilities/utilities";
This is a working style guide. Add new components and documentation as needed for DMSi project. Make sure to follow the atomic design approach to decide where to place the new component.
Let's say you want to add a new organism. Simply add _.myNew.organisms.scss to the /scss/organisms directory. To import your new component, add @import "myNew.organisms"; to /scss/organisms/_organisms.scss file.
To add a new JS component, use the command:
yarn run add-component
Enter the name of the component, and indicate whether it can be created as a stateless function. For more information about stateless functions, see here.
yarn add @dmsi/wedgekit
OR
npm install --save @dmsi/wedgekit
######Importing
import { Alerts } from '@dmsi/wedgekit'
######Webpack
//webpack.config.js
module.exports = {
entry: [
'!!style-loader!css-loader!../node_modules/@dmsi/wedgekit/wedgekit.css'
]
};
In addition to @dmsi/wedgekit, this repository also contains the code for a grid
component published to npm as @dmsi/grid. This component contains a lot of functionality from various grid & data processing libraries, so it's published as a
separate module.
yarn add @dmsi/grid
OR
npm install --save @dmsi/grid
To create a new release of Wedgekit or the Grid, first make sure all changes are merged into develop. Then make
a release branch off of develop, titled release/SEMVER_LEVEL. The semver level should be 'patch',
'minor', or 'major', following semver rules. Generally, a fix to an existing component would be a
patch, a new component would be a minor release, and breaking changes would be a major release.
It is important to follow the pattern of release/patch, release/minor, or release/major
because the automated release publishing is looking for that pattern.
Once the release branch is created with the correct name, merge the release branch into master. This can be achieved by creating a pull request in Bitbucket. Once it is merged, CircleCI will handle bumping the version, tagging it, and publishing it in npm.
Once the build has finished on master, pull the master branch into develop to make sure all development work has the correct version going forward.
FAQs
Web UI pattern library for DMSi Software
We found that @dmsi/wedgekit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.