
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@owngames/design-system
Advanced tools
@owngames/design-systemDesign System for ygorluizgerald.com.
Forked from radix-ui/design-system
Would be nice to show all of this. And the ability to pass configuration so we can reduce sending all colours at the moment in the configuration.
./custom/ *****)This cannot be ported just yet. Wondering if this should instead go to:
@owngames/notion as a Skeleton where only the logic is provided.Then one could use their own styling system via which Components they pass to getContentNode*.
./Notion/
├─ components/
│ ├─ _unsupported_.tsx
│ ├─ bulleted_list_item.tsx
│ ├─ bulleted_list.tsx
│ ├─ callout.tsx
│ ├─ checkbox.tsx
│ ├─ column_list.tsx
│ ├─ column.tsx
│ ├─ date.tsx
│ ├─ files.tsx
│ ├─ heading_1.tsx
│ ├─ heading_2.tsx
│ ├─ heading_3.tsx
│ ├─ image.tsx
│ ├─ multi_select.tsx
│ ├─ numbered_list_item.tsx
│ ├─ numbered_list.tsx
│ ├─ paragraph.tsx
│ ├─ quote.tsx
│ ├─ relation.tsx
│ ├─ rich_text.tsx
│ ├─ title.tsx
│ ├─ to_do.tsx
│ ├─ toggle.tsx
│ ├─ url.tsx
├─ utils/
│ ├─ getContentNodes.tx
│ ├─ getContentType.tx
│ ├─ getContentTypeDetail.tsx
│ ├─ TextAnnotations.tsx
├─ ContentNodes.tsx
├─ index.ts
Receives content and images which comes from @owngames/notion.
Cycles through each node via getContentNodes (=> getContentType) to determine:
ulol*This is to wrap li (bulleted_list_item|numbered_list_item) accordingly.
Similiarly these components also cycle through getContentNodes for its content:
calloutcolumn_list (=> column)toggle will cycle through its content for its children.For any text based component, this is called to get its attributions, to feed into TextAnnotations.
hrefplain_textannotationsCannot port these over until we can abstract away from Next in this component system.
Not sure how to do that just yet, maybe accept a Component for an a|image wrapper.
Though also, I am sensing a very opinionated theme throughout all of this, haha.
So maybe for now this only works with Next if we move it over early.
Currently tied to next/image
Currently tied to next/link
This is where we determine if the Text is a Text or Link and apply all annotations.
This is used as the hash for getContentNode, which cannot currently get ported over.
Most likely the way to call these section of Components will be to create your own getContentNode as you would not want to load all of these if you do not have to and add your own logic to SSR only the first X components in the tree.
const getContentNode = {
_unsupported: dynamic(() => import('./components/_unsupported')),
bulleted_list_item: dynamic(() => import('./components/bulleted_list_item')),
bulleted_list: dynamic(() => import('./components/bulleted_list')),
callout: dynamic(() => import('./components/callout')),
checkbox: dynamic(() => import('./components/checkbox')),
column_list: dynamic(() => import('./components/column_list')),
column: dynamic(() => import('./components/column')),
date: dynamic(() => import('./components/date')),
divider: dynamic(() => import('./components/divider')),
files: dynamic(() => import('./components/files')),
heading_1: dynamic(() => import('./components/heading_1')),
heading_2: dynamic(() => import('./components/heading_2')),
heading_3: dynamic(() => import('./components/heading_3')),
image: dynamic(() => import('./components/image')),
multi_select: dynamic(() => import('./components/multi_select')),
numbered_list_item: dynamic(() => import('./components/numbered_list_item')),
numbered_list: dynamic(() => import('./components/numbered_list')),
paragraph: dynamic(() => import('./components/paragraph')),
quote: dynamic(() => import('./components/quote')),
relation: dynamic(() => import('./components/relation')),
rich_text: dynamic(() => import('./components/rich_text')),
title: dynamic(() => import('./components/title')),
to_do: dynamic(() => import('./components/to_do')),
toggle: dynamic(() => import('./components/toggle')),
url: dynamic(() => import('./components/url')),
}
FAQs
Design System for ygorluiz.com (Radix UI)
We found that @owngames/design-system demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.