Socket
Socket
Sign inDemoInstall

@equinor/eds-utils

Package Overview
Dependencies
25
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.1 to 0.8.2

2

dist/types/mixins/typography.d.ts

@@ -1,4 +0,4 @@

import { CSSObject } from 'styled-components';
import type { CSSObject } from 'styled-components';
import type { Typography } from '@equinor/eds-tokens';
/** Simpler version `typographyTemplate` that does not set `color` and `margin` */
export declare const typographyMixin: (typography: Partial<Typography>) => CSSObject;
import type { MutableRefObject, RefCallback, LegacyRef } from 'react';
export declare const mergeRefs: <T extends HTMLElement>(...refs: (MutableRefObject<T> | LegacyRef<T>)[]) => (instance: T) => void;
export declare const mergeRefs: <T extends HTMLElement>(...refs: (MutableRefObject<T> | LegacyRef<T>)[]) => RefCallback<T>;
import type { Borders } from '@equinor/eds-tokens';
export declare const bordersTemplate: (border: Borders) => import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, any>>;
export declare const bordersTemplate: (border: Borders) => import("styled-components").RuleSet<object>;
import { Outline } from '@equinor/eds-tokens';
export declare const outlineTemplate: (outline: Outline) => import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, any>>;
export declare const outlineTemplate: (outline: Outline) => import("styled-components").RuleSet<object>;

@@ -5,3 +5,3 @@ import type { Typography, Border, Spacing } from '@equinor/eds-tokens';

export declare const typographyTemplate: (typography: Partial<Typography>, link?: boolean) => string;
export declare const spacingsTemplate: ({ left, right, top, bottom, }: Spacing) => import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, any>>;
export declare const boxshadowTemplate: (border: Border) => import("styled-components").FlattenInterpolation<import("styled-components").ThemedStyledProps<object, any>>;
export declare const spacingsTemplate: ({ left, right, top, bottom, }: Spacing) => import("styled-components").RuleSet<object>;
export declare const boxshadowTemplate: (border: Border) => import("styled-components").RuleSet<object>;
{
"name": "@equinor/eds-utils",
"version": "0.8.1",
"version": "0.8.2",
"description": "Utility functions and hooks for the Equinor Design System",

@@ -54,4 +54,4 @@ "sideEffects": false,

"@types/react-dom": "^18.0.10",
"@types/styled-components": "^5.1.26",
"@types/testing-library__jest-dom": "^5.14.6",
"babel-jest": "^29.5.0",
"babel-loader": "^9.1.2",

@@ -69,5 +69,5 @@ "babel-plugin-styled-components": "^2.1.4",

"rollup-plugin-delete": "^2.0.0",
"styled-components": "5.3.9",
"styled-components": "6.0.8",
"tsc-watch": "^6.0.4",
"typescript": "^4.9.4",
"typescript": "^5.1.6",
"webpack": "^5.88.0"

@@ -82,3 +82,2 @@ },

"@babel/runtime": "^7.22.5",
"babel-jest": "^29.5.0",
"@equinor/eds-tokens": "0.9.2"

@@ -85,0 +84,0 @@ },

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc