
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@myxplor/stardust
Advanced tools
Stardust is a single source of truth for user interface (UI) standards at Xplor.
Stardust is a single source of truth for user interface (UI) standards at Xplor.
A consistent user experience, regardless of platform ... builds trust with customers
The primary goal of Stardust is to create a consistenly great user experience (UX) across Mobile, the Mobile Web and the Desktop Web.
yarn installyarn install react styled-components --peeryarn run watchyarn run playroomyarn run storybookNote: because React is a peer dependency, you may sometimes run into an error where react or styled-components is missing. You can run yarn run install:peers to add it.
You can run this repo locally and have other projects use it as their version of Stardust. From the root run yarn link, then in the project where you want to use it run yarn link @myxplor/stardust.
Note that the files the other repo will see are the ones that get published via yarn run build.
Once you're done developing, make sure you run yarn unlink @myxplor/stardust in the project you were testing against and then run yarn install --force.
You may run into errors around hooks doing this, this is caused by duplicate React versions (as this one might use its own). The easy fix for this is to delete react and react-dom from the node_modules in Stardust (better fix TBD).
This project uses semver.
Stardust V2 was originally built alongside a series of components the design team use in Figma: https://www.figma.com/file/OooqFlQLoogScfMaaWRuIY/(Legacy---Use-Space-Design-Components)Stardust-Design-System-v2?node-id=0%3A2
Since then the design team have been putting together a Stardust V3. It is based on Stardust V2 and has general improvements, new components, and meets design requirements and ethos set by Xplor Technologies: https://www.figma.com/file/CBsAVV2b5VwRSO06PGFalB/Space-design-components?node-id=0%3A1
There is no immediate desire to move everything over to V3, but it is recommended new work be built against and use V3 where feasilble.
To manage this, we will be splitting Stardust into two maintained versions:
v2. No major changes should happen on this branch, it is maintained only for minor and patch fixes.master. It will start as just a version bump of V2, and will slowly have new design and components added to it.CHANGELOG.md, so any consumers will know the impactCHANGELOG.md, so that during review it can be confirmed that he correct versioning is appliedimport React from 'react'
import { DarkTheme, LightTheme, Heading, StardustProvider } from '@myxplor/stardust'
const themes = {
dark: DarkTheme,
light: LightTheme,
}
const App = () => (
<StardustProvider activeTheme="light" themes={themes}>
<Heading level={1}>Now you're using Stardust!</Heading>
</StardustProvider>
)
changeset with the changes you made with yarn changeset
.changeset directory, you can commit this file alongside your other changes, and open your PR.If you would like to contribute, provide feeback or chat design systems, join the #design-system Slack channel in the Xplor workspace.
Stardust has seen some stuff. It went through a long development cycle where semver wasn't used, so it was very easy to have incompatible packages. Documentation was also rough.
At some point, there were some major rewrites and updates which did not maintain compatability, which meant they were never adopted. Stardust spent a long time with what was effectively a broken master, so all projects were using an old version (0.0.0-alpha24).
This release was actually pretty solid, so in the spirit of continued progress, master was rebased with this version, effectively set aside all of the work that came since. The version was bumped to 1.0.0, with the goal being to make sure that Stardust can continue to be improved and ensure that updates don't break existing projects.
FAQs
Stardust is a single source of truth for user interface (UI) standards at Xplor.
The npm package @myxplor/stardust receives a total of 37 weekly downloads. As such, @myxplor/stardust popularity was classified as not popular.
We found that @myxplor/stardust demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.