Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ak-badge

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ak-badge - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

14

CHANGELOG.md

@@ -1,6 +0,16 @@

<a name="0.1.0"></a>
# 0.1.0 (2016-08-26)
<a name="0.3.0"></a>
# 0.3.0 (2016-09-01)
<a name="ak-badge@0.2.0"></a>
# ak-badge@0.2.0 (2016-08-29)
### Features
* Make babel-runtime part of the package, so it can be de-duplicated on build by the consumer ([9863540](https://bitbucket.org/atlassian/atlaskit/commits/9863540))
<a name="ak-badge@0.1.0"></a>

@@ -7,0 +17,0 @@ # ak-badge@0.1.0 (2016-08-26)

4

package.json
{
"name": "ak-badge",
"version": "0.3.0",
"version": "0.3.1",
"description": "ak-badge webcomponent",

@@ -19,3 +19,3 @@ "main": "dist/bundle.js",

"classnames": "^2.2.5",
"skatejs": "^1.2.4"
"skatejs": "^1.2.5"
},

@@ -22,0 +22,0 @@ "author": "Atlassian Pty Ltd",

@@ -1,11 +0,12 @@

# AkBadge
# Badge
Badges are visual indicators for numeric values such as tallies and other quantities.
Badges are visual indicators for numeric values such as tallies and scores. They're commonly used before and after the label of the thing they're quantifying.
They must be used singly after a single item name, and have only numbers.
They are not used for anything other than integers. For statuses, use Lozenges. To call out tags or other high-visibility attributes, use Labels.
Badges are used before or, more commonly, after the name or label of the thing they quantify.
Use badges unambiguously – they should always be used singly, after a single item name.
Use tooltips to enhance user understanding – to indicate units, for example.
Badges are for counts, so should only contain numbers.
* Use lozenges for statuses.
* Use labels to call out tags and high-visibility attributes.
* Use a tooltip if you want to indicate units.
## Setup and install

@@ -23,3 +24,3 @@

Import the component in your JS resource:
Import the component in your JS resource as follows:

@@ -32,3 +33,3 @@ #### bundle.js

Now we can use the defined tag in our HTML markup, e.g.:
Now we can use the defined tag in our HTML markup. For example:

@@ -35,0 +36,0 @@ #### index.html

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc