Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
flexi-default-styles
Advanced tools
Just a layout framework. Design for cross-platform with ease.
Default styles to match the attributes converted by flexi-dsl, as well as styles for the flexi-layouts components.
It is recommended that you manage your flexi addons through the main flexi addon:
ember install flexi
This will provide a prompt to install only the addons you want. Flexi will also maintain compatibility between addons.
The flexi-config dependency's default blueprint will install config/flexi.js
with the default settings.
Settings
{
// the number of columns for the grid
columns: 12,
// optional, used for column classes: `${colPrefix}-${breakpointPrefix}-${columnNumber}`
columnPrefix: 'col',
// if false, @media css is not included
includeMediaCSS: true,
// if false, default element styles are not included
includeElementCSS: true,
// if true, will convert layout attributes on non-layout elements to classes as well
transformAllElementLayoutAttributes: false,
// grid and layout element gutters
gutterPadding: '.5rem',
// if false, no styles are included (trumps `includeMediaCSS` and `includeElementCSS`)
includeCSS: true,
// an array of breakpoints to use in your app (see below)
breakpoints: []
}
config.breakpoints
Your config must have a breakpoints
array. A breakpoint has the structure:
{ name: 'mobile', prefix: 'xs', begin: 0 }
name
will be used for blueprint generation of layout names, and is made available as an is<Name>
boolean on the device/layout
service.
prefix
is a shorthand for the breakpoint name used for column attributes, classes, and responsive utilities.
With a prefix
of xs
.
begin
is the pixel value at which the breakpoint becomes valid if equal to or larger than.
Using a breakpoint's prefix
.col-xs-1
... .col-xs-n
will be valid class names (if columnPrefix
is set to col
).
<box xs="n visible vertical">
Is valid shorthand for
<box class="col-xs-n visible-xs vertical-xs">
The following responsive utilities are made available for each prefix:
.hidden-xs,
.visible-xs,
.container-xs,
.vertical-xs,
.horizontal-xs,
.wrap-xs,
.nowrap-xs {}
Join the flexi channel on Slack.
<type>/<short-description>
)Angular Style commit messages have the full form:
<type>(<scope>): <title>
<body>
<footer>
But the abbreviated form (below) is acceptable and often preferred.
<type>(<scope>): <title>
Examples:
fast-action
componentA special thanks goes out to @ebryn for the inspiration to pursue a solution for explicit layouts, and IsleofCode for providing the time to built it.
FAQs
Just a layout framework. Design for cross-platform with ease.
The npm package flexi-default-styles receives a total of 0 weekly downloads. As such, flexi-default-styles popularity was classified as not popular.
We found that flexi-default-styles 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.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.