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

@hypothesis/frontend-shared

Package Overview
Dependencies
Maintainers
4
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hypothesis/frontend-shared - npm Package Compare versions

Comparing version 4.5.2 to 4.6.0

lib/pattern-library/components/patterns/UtilityFoundations.d.ts

2

lib/pattern-library/icons.d.ts

@@ -1,2 +0,2 @@

declare var _default: {
declare const _default: {
'arrow-left': any;

@@ -3,0 +3,0 @@ 'arrow-right': any;

@@ -5,2 +5,3 @@ import LibraryHome from './components/LibraryHome';

import LayoutFoundations from './components/patterns/LayoutFoundations';
import UtilityFoundations from './components/patterns/UtilityFoundations';
import FormPatterns from './components/patterns/FormPatterns';

@@ -57,2 +58,7 @@ import ContainerPatterns from './components/patterns/ContainerPatterns';

}, {
route: '/foundations-util',
title: 'Utilities',
component: UtilityFoundations,
group: 'foundations'
}, {
route: '/patterns-containers',

@@ -59,0 +65,0 @@ title: 'Containers',

@@ -1,55 +0,2 @@

declare namespace _default {
namespace theme {
namespace extend {
namespace borderColor {
const DEFAULT: string;
}
const colors: {
transparent: string;
current: string;
white: any;
black: any;
grey: {
0: string;
1: string;
2: string;
3: string;
4: string;
5: string;
6: string;
7: string;
8: string;
9: string;
};
slate: {
1: string;
3: string;
5: string;
7: string;
};
green: {
success: string;
};
yellow: {
notice: string;
};
red: {
error: string;
};
brand: {
dark: string;
DEFAULT: string;
};
'color-text': {
DEFAULT: string;
light: string;
};
};
const spacing: {
'touch-minimum': string;
};
}
}
const plugins: any[];
}
declare const _default: Partial<import("tailwindcss").Config>;
export default _default;
import plugin from 'tailwindcss/plugin.js';
import colors from 'tailwindcss/colors.js';
export default {
import focusVisibleRing from './tailwind.focus-visible-ring.js';
export default
/** @type {Partial<import('tailwindcss').Config>} */
{
theme: {

@@ -54,2 +57,12 @@ extend: {

},
ringColor: {
DEFAULT: '#59a7e8'
},
ringOpacity: {
// Tailwind's default ring opacity is `0.5`
DEFAULT: '1.0'
},
ringWidth: {
DEFAULT: '2px'
},
spacing: {

@@ -61,3 +74,4 @@ 'touch-minimum': '44px' // Equivalent to spacing 11; minimum touch-target size

},
plugins: [plugin(({
plugins: [// Make `.focus-visible-ring` an available utility class
focusVisibleRing, plugin(({
addVariant

@@ -64,0 +78,0 @@ }) => {

{
"name": "@hypothesis/frontend-shared",
"version": "4.5.2",
"version": "4.6.0",
"description": "Shared components, styles and utilities for Hypothesis projects",

@@ -14,6 +14,5 @@ "license": "BSD-2-Clause",

"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.0",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.0.5",
"@rollup/plugin-virtual": "^2.0.3",
"auto-changelog": "^2.2.1",
"autoprefixer": "^10.3.7",

@@ -26,3 +25,3 @@ "axe-core": "^4.0.0",

"enzyme": "^3.8.0",
"enzyme-adapter-preact-pure": "^3.0.0",
"enzyme-adapter-preact-pure": "^4.0.1",
"eslint": "^8.7.0",

@@ -45,3 +44,3 @@ "eslint-config-hypothesis": "^2.5.0",

"karma-source-map-support": "^1.4.0",
"mocha": "9.2.2",
"mocha": "10.0.0",
"mustache": "^4.2.0",

@@ -52,8 +51,8 @@ "mustache-express": "^1.3.0",

"prettier": "^2.2.1",
"puppeteer": "^13.0.1",
"puppeteer": "^14.1.0",
"rollup": "^2.58.0",
"rollup-plugin-string": "^3.0.0",
"sass": "^1.43.2",
"sinon": "^13.0.0",
"tailwindcss": "^3.0.11",
"sinon": "^14.0.0",
"tailwindcss": "3.1.3",
"typescript": "^4.1.5",

@@ -73,4 +72,3 @@ "yalc": "^1.0.0-pre.50"

"test": "gulp test",
"push": "yarn build && yalc push",
"changelog": "gulp changelog"
"push": "yarn build && yalc push"
},

@@ -77,0 +75,0 @@ "prettier": {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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