@hypothesis/frontend-shared
Advanced tools
Comparing version 1.10.0 to 1.11.0
@@ -8,2 +8,20 @@ # Changelog | ||
## [v1.11.0] - 2021-04-15 | ||
### Added | ||
- Add button components and styles [#22](https://github.com/hypothesis/frontend-shared/pull/22) | ||
- Add Makefile and update project configuration [#21](https://github.com/hypothesis/frontend-shared/pull/21) | ||
## [v1.10.0] - 2021-03-09 | ||
### Added | ||
- Add `yarn push` to be able to link to the client for development [#8](https://github.com/hypothesis/frontend-shared/pull/8) | ||
- Add commands for testing / lint / typecheck / format [#1](https://github.com/hypothesis/frontend-shared/pull/1) | ||
- Move `useElementShouldClose` and `normalizeKeyName` into frontend-shared package [#22ede8c](https://github.com/hypothesis/frontend-shared/commit/22ede8ccab173a7da8b2bc5218ad583bd630f8d1) | ||
- Move `SvgIcon` to frontend-shared package [#0b02df5](https://github.com/hypothesis/frontend-shared/commit/0b02df5f4b3f72d4348570dd05f8f962a3a1b92e) | ||
- Add SASS entry file [#0751cdb](https://github.com/hypothesis/frontend-shared/commit/0751cdbcf4ed2ec1b0f3862ececb0cec4ed909d7) | ||
- Add `outline-on-keyboard-focus` mixin [#65dac43](https://github.com/hypothesis/frontend-shared/commit/65dac436c50d516ababa7d2b4a5708e5b51124b5) | ||
## [v1.0.0] 2021-01-06 | ||
@@ -13,3 +31,2 @@ | ||
- outline-on-keyboard-focus mixin | ||
- Initial commit for frontend-shared |
export { useElementShouldClose } from "./hooks/use-element-should-close"; | ||
export { normalizeKeyName } from "./browser-compatibility-utils"; | ||
export { IconButton, LabeledButton, LinkButton } from "./components/buttons"; | ||
export { SvgIcon, registerIcons } from "./components/SvgIcon"; |
@@ -6,2 +6,20 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "IconButton", { | ||
enumerable: true, | ||
get: function () { | ||
return _buttons.IconButton; | ||
} | ||
}); | ||
Object.defineProperty(exports, "LabeledButton", { | ||
enumerable: true, | ||
get: function () { | ||
return _buttons.LabeledButton; | ||
} | ||
}); | ||
Object.defineProperty(exports, "LinkButton", { | ||
enumerable: true, | ||
get: function () { | ||
return _buttons.LinkButton; | ||
} | ||
}); | ||
Object.defineProperty(exports, "SvgIcon", { | ||
@@ -32,2 +50,4 @@ enumerable: true, | ||
var _buttons = require("./components/buttons"); | ||
var _SvgIcon = require("./components/SvgIcon"); | ||
@@ -34,0 +54,0 @@ |
{ | ||
"name": "@hypothesis/frontend-shared", | ||
"version": "1.10.0", | ||
"version": "1.11.0", | ||
"description": "Shared components, styles and utilities for Hypothesis projects", | ||
@@ -14,3 +14,4 @@ "license": "BSD-2-Clause", | ||
"axe-core": "^4.0.0", | ||
"babel-plugin-mockable-imports": "^1.5.1", | ||
"babel-plugin-istanbul": "^6.0.0", | ||
"babel-plugin-mockable-imports": "^1.7.1", | ||
"babelify": "^10.0.0", | ||
@@ -34,2 +35,3 @@ "browserify": "^17.0.0", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"karma-coverage-istanbul-reporter": "^3.0.3", | ||
"karma-mocha": "^2.0.0", | ||
@@ -59,3 +61,3 @@ "karma-mocha-reporter": "^2.0.4", | ||
"lint": "eslint .", | ||
"checkformatting": "prettier --check '**/*.{js,scss}'", | ||
"checkformatting": "prettier --check '**/*.{js,scss,md}'", | ||
"format": "prettier --list-different --write '**/*.{js,scss,md}'", | ||
@@ -62,0 +64,0 @@ "test": "gulp test", |
@@ -20,3 +20,3 @@ # Shared resources for Hypothesis front-end applications | ||
```sass | ||
```scss | ||
@use '@hypothesis/frontend-shared/styles'; | ||
@@ -27,3 +27,3 @@ ``` | ||
```sass | ||
```scss | ||
@use "@hypothesis/frontend-shared/styles/mixins" as mixins; | ||
@@ -30,0 +30,0 @@ ``` |
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
60969
31
648
41