
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
@leaflink/stash
Advanced tools
A repository housing all of Leaflink's UI, for faster and easier development. Includes core Vue components + css theme files
Interactive building blocks for creating user interfaces.
Stash is a collection of primitive, product-agnostic elements that help encapsulate LeafLink's look and feel at base level. This project is intended to be used across our digital product portfolio.
There are several ways to configure the framework to suit your specific needs. Configurable items include:
The generated entry file will load all components by default. However, you may configure the framework with a few options:
const options = {
components: ... // provide components "à la carte"
directives: ... // provide directives "à la carte"
i18n: { // i18n options
locale: ...
t: ...
}
theme: ... // theming options
storage: ... // override localstorage persistence options
}
A sample configuration might look something like:
// plugins/stash/index.js
import Vue from 'vue';
import stash, { LLButton, LLCheckbox } from '@leaflink/stash';
import i18n, { locale } from 'path/to/i18n';
import theme from 'path/to/themes/dark.json';
Vue.use(stash, {
theme,
i18n: {
locale,
t: (key, value) => i18n.t(key, value)
},
components: {
LLButton,
LLCheckbox,
},
});
export default stash;
This example will load the core i18n options, a dark theme, and the LLButton and LLCheckbox components.
Then, in your app's setup, simply:
import stash from '@/plugins/stash';
// ...
Vue.use(stash);
Finally, import the /styles/main.scss file into an scss base file to provides styles and style utils.
Vue.use(...).framework.js: is the framework install function (and any other framework-specific things). It registers components, themes, etc. with your Vue app.index.js is used as the main entry point to the framework. It also exports each component individually, for an à la carte build. You may pull in the default export directly and Vue.use it (to quickly get up and running w/ all components and features); or, you may wish configure it with particular options, components, or features.Testing the framework uses @vue-test-utils under the hood. We use Jest (via @vue/cli-plugin-unit-jest) to run our unit-tests.
npm testFAQs
LeafLink's design system.
The npm package @leaflink/stash receives a total of 1,566 weekly downloads. As such, @leaflink/stash popularity was classified as popular.
We found that @leaflink/stash demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.