@hypothesis/annotation-ui
Advanced tools
Comparing version
@@ -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", |
{ | ||
"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
243271
0.16%2285
0.13%