3.0.0 • Published 2 months ago

@smartive/guetzli v3.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

@smartive/guetzli 🍪

A smartive Component Library created with Typescript React and styled with TailwindCSS. Some components also use Framer-Motion for animations.

Usage

npm install @smartive/guetzli
import { Heading1, Copy, ... } from '@smartive/guetzli';

TailwindCSS

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: [],
});

Framer Motion

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>
    //...
  </>
);

Using with next.js

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'],
  },

Running locally with Storybook

npm ci
npm run dev

🏗️ Building production package

npm run build

Build-Output can be found in the dist folder.

🚀 Release process

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.

3.0.0-next.2

2 months ago

3.0.0-next.1

2 months ago

3.0.0

2 months ago

2.11.0-next.3

2 months ago

2.11.0-next.2

2 months ago

2.11.0-next.1

2 months ago

2.10.2

2 months ago

2.10.1

7 months ago

2.10.1-next.2

7 months ago

2.10.0-next.1

11 months ago

2.10.1-next.1

11 months ago

2.10.0

11 months ago

2.8.1-next.1

1 year ago

2.8.1

1 year ago

2.8.0

1 year ago

2.8.0-next.2

1 year ago

2.8.0-next.1

1 year ago

2.9.0

1 year ago

2.9.0-next.1

1 year ago

2.6.1

1 year ago

2.7.0-next.1

1 year ago

2.7.0

1 year ago

2.6.1-next.1

1 year ago

2.5.0-next.2

2 years ago

2.5.0-next.1

2 years ago

2.6.0

2 years ago

2.6.0-next.1

2 years ago

2.5.0

2 years ago

2.4.1

2 years ago

2.4.1-next.1

2 years ago

2.4.0

2 years ago

2.4.0-next.1

2 years ago

2.4.0-next.2

2 years ago

2.2.3-next.1

2 years ago

2.2.1-next.1

2 years ago

2.2.1

2 years ago

2.2.3

2 years ago

2.2.2

2 years ago

2.2.2-next.1

2 years ago

2.3.0

2 years ago

2.3.0-next.1

2 years ago

2.2.0

2 years ago

2.1.1-next.2

2 years ago

2.1.1-next.3

2 years ago

2.1.1-next.1

2 years ago

2.2.0-next.2

2 years ago

2.2.0-next.3

2 years ago

2.2.0-next.4

2 years ago

2.2.0-next.5

2 years ago

2.2.0-next.1

2 years ago

2.2.0-next.6

2 years ago

2.2.0-next.7

2 years ago

2.2.0-next.8

2 years ago

2.2.0-next.9

2 years ago

2.1.0

2 years ago

2.2.0-next.10

2 years ago

1.12.1

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.12.0

3 years ago

1.11.1

3 years ago

1.11.0

3 years ago

1.10.1

3 years ago

1.10.0

3 years ago

1.9.0

3 years ago

1.8.0

3 years ago

1.7.2

3 years ago

1.7.1

3 years ago

1.7.0

3 years ago

1.6.0

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.7

3 years ago

1.4.6

3 years ago

1.4.5

3 years ago

1.4.4

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago