0.2.2 • Published 5 years ago

@particles/feedback-banner v0.2.2

Weekly downloads
15
License
Procore Developer...
Repository
github
Last release
5 years ago

Feedback Banner

npm.io npm.io npm.io

Feedback banner builder that comes with tooltip and button. Title, tooltip text, button text, and button link can be configured through props.

Example

beta_feedback

API

FeedbackBanner

The main component to render.

props

title : String - The heading. Will probably be Beta but internationalized.

tooltipText : String - Some details about the beta for the tooltip.

buttonText : String - The CTA text. Will probably be Submit Your Feedback but internationalized.

buttonLink : String - A URL to open in new tab. Could be a UserVoice link.

stylesheets : Array - Array of CSS Modules object to over-write styles.

Change Log

0.2.1

  • Variant style specificity increased

0.2.0

  • Breaking change: buttonLink replaced with handleClick event listener
  • Optional Tooltip and Button
  • 'Info' and 'Deprecate' variants

0.1.3

  • core-react@^4

0.1.2

  • Removes dependency on @procore/core-css
  • Wraps submit button in a tag

0.1.1

  • Fixes tooltip z-index and enlarges icon size

0.1.0

  • Initial commit
0.2.2

5 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

7 years ago

0.1.0

7 years ago