@entur/tooltip
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -6,2 +6,6 @@ # Change Log | ||
## [1.1.3](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@1.1.2...@entur/tooltip@1.1.3) (2020-01-06) | ||
**Note:** Version bump only for package @entur/tooltip | ||
## [1.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/tooltip@1.1.1...@entur/tooltip@1.1.2) (2019-12-10) | ||
@@ -8,0 +12,0 @@ |
@@ -0,10 +1,7 @@ | ||
/// <reference types="react" /> | ||
import React from "react"; | ||
declare type TooltipProps = { | ||
/** Plassering av tooltip-en */ | ||
placement: 'top-left' | 'top' | 'top-right' | 'left' | 'right' | 'bottom-left' | 'bottom' | 'bottom-right'; | ||
/** Innholdet i tooltip-boksen */ | ||
type TooltipProps = { | ||
placement: "top-left" | "top" | "top-right" | "left" | "right" | "bottom-left" | "bottom" | "bottom-right"; | ||
content: string; | ||
/** Elementet som skal ha tooltip-funksjonalitet */ | ||
children: React.ReactNode; | ||
/** Ekstra klassenavn */ | ||
className?: string; | ||
@@ -11,0 +8,0 @@ }; |
@@ -1,3 +0,3 @@ | ||
import _slicedToArray from '@babel/runtime/helpers/slicedToArray'; | ||
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties'; | ||
import _slicedToArray from '@babel/runtime/helpers/esm/slicedToArray'; | ||
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties'; | ||
import React, { useState } from 'react'; | ||
@@ -4,0 +4,0 @@ import classNames from 'classnames'; |
{ | ||
"name": "@entur/tooltip", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"license": "EUPL-1.2", | ||
@@ -30,5 +30,5 @@ "main": "dist/index.js", | ||
"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
37010
220