
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@tourstream/fti-portal-styleguide
Advanced tools
Styleguide based on Pattern Lab grunt for FTI portal
Styleguide based on Pattern Lab for FTI portal
This demo page will show all implemented parts of the latest version (master branch) of this package. It creates asset files, style.css and bundle.js, which will be implemented into our portals.
There are different ways to use the Styleguide:
You can put the following snippet into the head of your HTML document. Use the version (Semver) for production, to have more control.
<link rel="stylesheet" href="https://assets.gcloud.fti-group.com/fti-portal-styleguide/<VERSION>/css/style.css">
Use "latest" for internal test purposes.
<link rel="stylesheet" href="https://assets.gcloud.fti-group.com/fti-portal-styleguide/latest/css/style.css">
Note: Some portals use an individual way to implement the Styleguide. Read their instructions.
$ npm install @tourstream/fti-portal-styleguide --save
It requires Node 10 or higher.
npm install
Pattern Lab is based on Atomic Design. Start with atoms and work your way up to templates and pages. The SCSS files are component based. Use mixins, functions and placeholders to avoid duplicated code and keep the styles on the components for high readability. Component's own mixins come at the top of each component's file. We code mobile-first.
We handle our Javascript files component based, which will be automatically bundled in one exported bundle file.
npm run serve
npm run build
You can find the files styles.css and styles.min.css at ./dist-master/fti-portal-styleguide/latest/css
.
Take that to test the styles inside your portal locally by replacing the old styles.
npm run lint
The Styleguide turns on debug mode per default using a cookie. You can turn on debug mode on your portal by creating a cookie manually with debug=1 or by adding ?debug=1 to your url parameters. Follow the instructions inside the error handling.
For feature branch deployment use Bamboo (Plan: FTI Styleguide / Styleguide).
A branch is available on Bamboo after the branch is created on Github.
https://assets.gcloud.fti-group.com/fti-portal-styleguide/staging/<BRANCH-NAME>/index.html
After merge to master on master run
npm version <major|minor|patch|specific Semver version>
It requires ssh connection to Github. It will deploy to NPM and GCS using our Travis configuration.
Setup a build with Semver versioning to have control over your styles.
Use ./source/css/pattern-scaffolding.css
to customize Pattern Lab.
inprogress:
Element is in in progress on the developer side.inreview:
Element is in review on the developer side.undefined:
Element is complete and usable, but element on Invision is not defined or isn't set as complete.complete:
Element is set as complete in styleguide and in Invision.npm run docs
Look up the ./docs/ pages.
Debrecated: Visit Confluence to read more about the technical details of the styleguide.
0.51.2
FAQs
Styleguide based on Pattern Lab grunt for FTI portal
The npm package @tourstream/fti-portal-styleguide receives a total of 1 weekly downloads. As such, @tourstream/fti-portal-styleguide popularity was classified as not popular.
We found that @tourstream/fti-portal-styleguide demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.