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

@entur/layout

Package Overview
Dependencies
Maintainers
13
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@entur/layout - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## [1.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/layout@1.0.0...@entur/layout@1.0.1) (2020-01-06)
**Note:** Version bump only for package @entur/layout
# [1.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/layout@0.4.1...@entur/layout@1.0.0) (2019-12-10)

@@ -8,0 +12,0 @@

37

dist/index.d.ts

@@ -0,8 +1,5 @@

/// <reference types="react" />
import React from "react";
declare type ContrastProps = {
/** HTML-elementet eller React-komponenten som rendres
* @default 'div'
*/
type ContrastProps = {
as?: string | React.ElementType;
/** Ekstra klassenavn */
className?: string;

@@ -12,28 +9,8 @@ [key: string]: any;

declare const Contrast: React.FC<ContrastProps>;
declare type BaseCardProps = {
/** HTML-elementet eller React-komponenten som lager Card
* @default "div"
*/
as?: 'div' | React.ElementType;
/** Ekstra klassenavn */
className?: string;
[key: string]: any;
};
declare const BaseCard: React.FC<BaseCardProps>;
declare type NavigationCardProps = {
/** HTML-elementet eller React-komponenten som lager NavigationCard
* @default 'a'
*/
as?: 'a' | 'button' | React.ElementType;
/** Tittelen/teksten som står i CardBox */
type NavigationCardProps = {
as?: "a" | "button" | React.ElementType;
title: string;
/** Valgfritt ikon som står over tittelen */
titleIcon?: React.ReactNode;
/** Ekstra klassenavn */
className?: string;
/** Lager en mer kompakt NavigationCard, uten ikon og beskrivende tekst
* @default false
*/
compact?: boolean;
/** Beskrivelse under tittel, om ikke "compact" er valgt */
children?: React.ReactNode;

@@ -43,2 +20,8 @@ [key: string]: any;

declare const NavigationCard: React.FC<NavigationCardProps>;
type BaseCardProps = {
as?: "div" | React.ElementType;
className?: string;
[key: string]: any;
};
declare const BaseCard: React.FC<BaseCardProps>;
export { ContrastProps, Contrast, NavigationCardProps, NavigationCard, BaseCardProps, BaseCard };

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

import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
import React from 'react';

@@ -3,0 +3,0 @@ import classNames from 'classnames';

{
"name": "@entur/layout",
"version": "1.0.0",
"version": "1.0.1",
"license": "EUPL-1.2",

@@ -30,9 +30,9 @@ "main": "dist/index.js",

"dependencies": {
"@entur/typography": "^0.6.1",
"@entur/typography": "^0.7.0",
"classnames": "^2.2.6"
},
"devDependencies": {
"@entur/tokens": "^1.1.0"
"@entur/tokens": "^1.1.1"
},
"gitHead": "c518a56619cd30d0c7254b0f9f5298c69e54a8a0"
"gitHead": "1755d311b4cb5121c90a6abf85c17a9dfc530abe"
}

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