1.9.8 • Published 2 years ago

@anny_aifian/test_tailwind_babu v1.9.8

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
2 years ago

@adenove/aifian_babu_library@2.0.0

A library supplies babu styled components and also a plugin that provides the preset, plugins and content of tailwind config for styling babu style.

Getting Started

Install library from npm:

yarn add @adenove/aifian_babu_library

Then add the babu tailwind config to your tailwind.config.js file. For example:

const config = require('@adenove/aifian_babu_library/babuTailwindConfig')

module.exports = {
  presets: [config.preset],
  plugins: [config.plugin],
  content: ['./src/**/*.{js,jsx,ts,tsx}', config.content],
}

To use Icons, import fontello.css in your index.css.

@import '~@adenove/aifian_babu_library/build/fontello/css/fontello.css';

Basic Usage

For example, you can style or override <BulletButton> original style by add classnames to it. Visit Storybook to check more usage babu components.

import { BulletButton } from '@adenove/aifian_babu_library'

<BulletButton
  variant="solid"
  icon={{ name: "jaja" }}
  textVariant="subtitle"
  className="my-xl w-[240px] bg-primary900 border-slash"
>
  Hello, world!
</BulletButton>

Development and Release

After adding the changes (git add), please run yarn run commit to commit your code and correctly choose the type corresponded with the changes.

The custom release rules are below:

"releaseRules": [
    {"type": "feat", "release": "minor"},
    {"type": "fix", "release": "patch"},
    {"type": "docs", "scope":"README", "release": "patch"},
    {"type": "style", "release": "patch"},
    {"type": "refactor", "release": "patch"},
    {"type": "perf", "release": "patch"},
    {"type": "test", "release": false},
    {"type": "chore", "release": false}
  ],

TODO

  • Optimize the way to import fontell.css.
  • Avoid putting rollup built files under build folder.
1.9.1

2 years ago

1.9.0

2 years ago

1.8.0

2 years ago

1.9.8

2 years ago

1.9.2

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

2.0.0

2 years ago