
Product
Introducing Repository Labels and Security Policies
Socket is introducing a new way to organize repositories and apply repository-specific security policies.
@berlitz/globals
Advanced tools
The Globals Component Contains:
yarn add @berlitz/globals
Argument | Type | Required | Default | Example |
---|---|---|---|---|
inverse | bool | ❌ | false | |
disableMargin | bool | ❌ | false | |
highlight | string | ❌ | null | |
color | string | ❌ | null | 'brandPrimary' |
Argument | Type | Required | Default | Example |
---|---|---|---|---|
size | string | ❌ | md | sm / md / lg |
color | string | ❌ | null | 'brandPrimary' |
Argument | Type | Required | Default | Example |
---|---|---|---|---|
inverse | bool | ❌ | false |
Argument | Type | Required | Default | Example |
---|---|---|---|---|
alignItems | string | ❌ | flex-end / flex-start | |
basis | string | ❌ | auto / 0 / 200px | |
direction | string | ❌ | row / column | |
grow | string | ❌ | 1 / 0.5 / unset / inherit | |
inline | bool | ❌ | ||
justifyContent | string | ❌ | flex-end / flex-start / space-around, space-between | |
width | string | ❌ | 200px / 50% | |
wrap | string | ❌ | wrap / no-wrap |
import { P, H1, H2, H3, H4, H5, RichText } from '@berlitz/globals/lib/components/typography'
import { Flex } from '@berlitz/globals/lib/components/Flex'
const MyApp = () => (
<>
<H1>Hello World</H1>
<div>
<H2 highlight="secondary">H2 Heading</H2>
</div>
<P>I am an Example Paragraph</P>
<RichText>
<h3>Just a HTML heading</h3>
<p>Just your average HTML Paragraph</p>
<iframe src="//youtube.com/embed/9cWxP_HMkCA" />
</RichText>
<Flex direction="row" justifyContent="space-around">
<div>Boxes</div>
<div>distributed</div>
<div>in a row</div>
</Flex>
</>
)
FAQs
Globals component for the Max Design System
The npm package @berlitz/globals receives a total of 5,254 weekly downloads. As such, @berlitz/globals popularity was classified as popular.
We found that @berlitz/globals demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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 is introducing a new way to organize repositories and apply repository-specific security policies.
Research
Security News
Socket researchers uncovered malicious npm and PyPI packages that steal crypto wallet credentials using Google Analytics and Telegram for exfiltration.
Product
Socket now supports .NET, bringing supply chain security and SBOM accuracy to NuGet and MSBuild-powered C# projects.