
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
asma-core-ui
Advanced tools
The project uses "changesets" to automatically bump version and create a changelog.
For each new feature or change run "npx changeset". Choose patch for a change or bug fix, minor for a new feature or major version for a breaking change. This creates a markdown file in .changeset folder. Commit to brach/PR as normal.
A PR can have several changesets.
The pipeline will automatically bump version and create changelog after merge to master.
import { createMuiTheme, ThemeProvider } from '@material-ui/core/styles';
import { defaultTheme, customPalettes } from 'asma-core-ui';
const dataTheme = window.document.body.attributes.getNamedItem('data-theme');
const getTheme = () => {
switch (dataTheme?.value) {
case 'fretex':
return customPalettes.fretex.primary;
default:
return null;
}
};
const theme = createTheme(defaultTheme, {
palette: {
...defaultTheme.palette,
primary: {
...getTheme(),
},
role: customPalettes.role,
},
});
<React.Fragment>
<ThemeProvider theme={createMuiTheme(theme)}>
<... />
</ThemeProvider>
</React.Fragment>
import { StyledButton } from 'asma-core-ui';
...
<>
<StyledButton>
Text
</StyledButton>
</>
FAQs
## Component composition.
The npm package asma-core-ui receives a total of 1,038 weekly downloads. As such, asma-core-ui popularity was classified as popular.
We found that asma-core-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 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.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.