Socket
Book a DemoInstallSign in
Socket

@hypothesis/annotation-ui

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hypothesis/annotation-ui - npm Package Compare versions

Comparing version

to
0.8.1

5

lib/components/ModerationStatusSelect.js

@@ -36,3 +36,6 @@ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }

'!bg-yellow-light !text-yellow-dark': selected === 'SPAM',
'!bg-red-light !text-red-dark': selected === 'DENIED'
'!bg-red-light !text-red-dark': selected === 'DENIED',
// The styles above override default select disabled styles, so let's
// add reduced opacity to those
'disabled:opacity-50': selected !== 'PENDING'
}),

@@ -39,0 +42,0 @@ "aria-label": "Moderation status",

2

package.json
{
"name": "@hypothesis/annotation-ui",
"version": "0.8.0",
"version": "0.8.1",
"description": "UI components to simplify rendering Hypothesis annotation cards in Preact + Tailwind-based applications",

@@ -5,0 +5,0 @@ "license": "BSD-2-Clause",

Sorry, the diff of this file is not supported yet