
Security News
Node.js TSC Votes to Stop Distributing Corepack
Corepack will be phased out from future Node.js releases following a TSC vote.
@smartive/guetzli
Advanced tools
smartive Component Library created with Typescript React and styled with TailwindCSS.
A smartive Component Library created with Typescript React and styled with TailwindCSS. Some components also use Framer-Motion for animations.
npm install @smartive/guetzli
import { Heading1, Copy, ... } from '@smartive/guetzli';
These components require TailwindCSS to be installed in your project and your tailwind.config.js
to be configured like so:
const guetzliConfig = require('@smartive/guetzli/config');
module.exports = guetzliConfig.tailwindConfig({
// your project specific config
purge: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {},
},
variants: {},
plugins: [],
});
Some components (like Tooltip
) use Framer-Motion. To enable effective Tree-Shaking & Code-Splitting all components use the framer-motion
package as described here: https://www.framer.com/api/motion/guide-reduce-bundle-size/
This means you need to manually load Framer-Motion Features in your Project-Root. This library only uses the domAnimation
feature:
import { LazyMotion, domAnimation } from 'framer-motion';
export const Page = ({ children }) => (
<>
<LazyMotion strict features={domAnimation}>
<Navigation />
</LazyMotion>
//...
</>
);
For enhanced performance of the guetzli package in your Next.js project, include the following configuration in your next.config.js file:
experimental: {
optimizePackageImports: ['@smartive/guetzli'],
},
npm ci
npm run dev
npm run build
Build-Output can be found in the dist
folder.
New Merge Requests should be created on the next
branch. This will trigger a new release guetzli@next
release on merge.
To create a new release on the main
branch, create a new Merge Request from next
to main
without squashing the commits. This will trigger a new release guetzli@latest
release on merge.
A new release will only be created if the changes contain fixes or new features. If only dependency updates have changed, no new release will be created.
FAQs
smartive Component Library created with Typescript React and styled with TailwindCSS.
The npm package @smartive/guetzli receives a total of 715 weekly downloads. As such, @smartive/guetzli popularity was classified as not popular.
We found that @smartive/guetzli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Corepack will be phased out from future Node.js releases following a TSC vote.
Research
Security News
Research uncovers Black Basta's plans to exploit package registries for ransomware delivery alongside evidence of similar attacks already targeting open source ecosystems.
Security News
Oxlint's beta release introduces 500+ built-in linting rules while delivering twice the speed of previous versions, with future support planned for custom plugins and improved IDE integration.