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

hint

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hint - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

src/hint.css

2

bower.json
{
"name": "hint",
"description": "Awesome tooltips at your fingertips",
"version": "1.0.2",
"version": "1.1.0",
"homepage": "https://github.com/bevacqua/hint",

@@ -6,0 +6,0 @@ "author": {

@@ -0,3 +1,8 @@

# v1.1.0 Accessible King
- `aria-label` attributes also displayed as hints
- Slight change to make responsiveness better around breakpoint
# v1.0.2 Take a Hint
- Initial Public Release

@@ -64,3 +64,4 @@ 'use strict';

git.tag(v, message);
git.push('origin', 'master', { args: '--tags' }, done).end();
git.push('origin', 'master', { args: '--tags' }).end();
done();
}

@@ -67,0 +68,0 @@ });

{
"name": "hint",
"description": "Awesome tooltips at your fingertips",
"version": "1.0.2",
"version": "1.1.0",
"homepage": "https://github.com/bevacqua/hint",

@@ -6,0 +6,0 @@ "author": {

@@ -23,3 +23,3 @@ # hint

```js
```html
<span data-hint='foobar'>Foo Bar</span>

@@ -32,4 +32,16 @@ ```

If you want to use the `:before` pseudo-selector, use the `[data-hint-before]` class instead. The hint has a `z-index` of `5000`.
By default, the `:after` pseudo-selector is used. This means you can use the `:before` pseudo-selector for your own purposes. If you need to switch things up, use the `data-hint-before` attribute instead.
```html
<span data-hint-before='foobar'>Foo Bar</span>
```
You can also use the [`aria-label`][2] attribute.
```html
<span aria-label='foobar'>Foo Bar</span>
```
Hints have a `z-index` of `5000`.
# License

@@ -36,0 +48,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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