Skip to content

Releases: Tincre/promo-button

0.3.1

12 Aug 01:33
b822b4c
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.3.0...0.3.1

0.3.0

02 Aug 20:06
8569ea9
Compare
Choose a tag to compare

What's Changed

  • Feature/extract completed campaign component content by @thinkjrs in #63
  • Feature/update default how it works content by @thinkjrs in #64

Full Changelog: 0.2.4...0.3.0

0.2.4

01 Aug 20:54
9fb8e2f
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.2.3...0.2.4

0.2.3

31 Jul 17:49
ccf8597
Compare
Choose a tag to compare

What's Changed

  • ♻️ 🙈 add missing MPL 2.0 license to top of files by @thinkjrs in #54
  • Feature/fix broken react example by @thinkjrs in #55

Full Changelog: 0.2.2...0.2.3

0.2.2

29 Jul 21:18
959a21f
Compare
Choose a tag to compare

What's Changed

  • Feature/add generate access token export issue 50 by @thinkjrs in #51

Full Changelog: 0.2.1...0.2.2

0.2.1

29 Jul 19:10
bcd17d7
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.2.0...0.2.1

0.2.2

29 Jul 21:17
fd569fc
Compare
Choose a tag to compare

What's Changed

  • Feature/add generate access token export issue 50 by @thinkjrs in #51

Full Changelog: 0.2.1...bump-022-version

0.2.0

28 Jul 20:07
8145121
Compare
Choose a tag to compare

What's Changed

  • ⚠️ Breaking change: all exports have been removed but getToken and PromoButton.

Full Changelog: 0.1.5...0.2.0

0.1.5

28 Jul 00:00
90804b0
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.1.4...0.1.5

0.1.4

27 Jul 20:42
147b254
Compare
Choose a tag to compare

What's Changed

Customizable CSS

Customizable class name for the outer button container, i.e. add your own button class via the jsx shape prop within your component declaration. For example,

      <PromoButton
        logoSrc=""
        words={['Real', 'Easy', 'Ads']}
        shape="my-custom-outer-button-class"
        email="[email protected]"
        backend="my-backend-route"
      />

Use it in your global css file:

@tailwind base;
@tailwind components;

@tailwind utilities;

@layer components {
    .promo-button-my-custom-outer-button-class {
      @apply px-36 py-2 // whatever tailwind you want
    }
}
  • See additional classes available to customize in the tailwind.config.js file.

  • Custom color brand which can be modified in clients' tailwind configuration files, i.e.

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        brand: '#4F46E5',
      },
    },
  },

Full Changelog: 0.1.3...0.1.4