Comparing version 1.0.2 to 1.1.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": { |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10979
13
237
50