@elvia/elvis-tooltip
Advanced tools
Comparing version 1.3.4 to 1.3.5
@@ -6,2 +6,15 @@ { | ||
{ | ||
"date": "30.05.24", | ||
"version": "1.3.5", | ||
"changelog": [ | ||
{ | ||
"type": "patch", | ||
"changes": [ | ||
"Now using <code>@emotion</code> for styling instead of <code>styled-components</code>.", | ||
"Updated internal dependencies." | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"date": "14.05.24", | ||
@@ -8,0 +21,0 @@ "version": "1.3.4", |
@@ -7,11 +7,30 @@ // components/elvis-tooltip/src/react/elvia-tooltip.tsx | ||
// components/elvis-tooltip/src/react/styledComponents.tsx | ||
import styled from "styled-components"; | ||
var TriggerContainer = styled.span.withConfig({ | ||
displayName: "TriggerContainer", | ||
componentId: "sc-jdpnf4-0" | ||
})`display:inline-block;`; | ||
var TooltipContent = styled.div.withConfig({ | ||
displayName: "TooltipContent", | ||
componentId: "sc-jdpnf4-1" | ||
})`display:contents;`; | ||
import _styled from "@emotion/styled/base"; | ||
function _EMOTION_STRINGIFIED_CSS_ERROR__() { | ||
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; | ||
} | ||
var TriggerContainer = /* @__PURE__ */ _styled("span", { | ||
target: "e11vsz8p1", | ||
label: "TriggerContainer" | ||
})(false ? { | ||
name: "1r5gb7q", | ||
styles: "display:inline-block" | ||
} : { | ||
name: "1r5gb7q", | ||
styles: "display:inline-block", | ||
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlZENvbXBvbmVudHMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUUyQyIsImZpbGUiOiJzdHlsZWRDb21wb25lbnRzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuZXhwb3J0IGNvbnN0IFRyaWdnZXJDb250YWluZXIgPSBzdHlsZWQuc3BhbmBcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuYDtcblxuZXhwb3J0IGNvbnN0IFRvb2x0aXBDb250ZW50ID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogY29udGVudHM7XG5gO1xuIl19 */", | ||
toString: _EMOTION_STRINGIFIED_CSS_ERROR__ | ||
}); | ||
var TooltipContent = /* @__PURE__ */ _styled("div", { | ||
target: "e11vsz8p0", | ||
label: "TooltipContent" | ||
})(false ? { | ||
name: "49aokf", | ||
styles: "display:contents" | ||
} : { | ||
name: "49aokf", | ||
styles: "display:contents", | ||
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlZENvbXBvbmVudHMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU13QyIsImZpbGUiOiJzdHlsZWRDb21wb25lbnRzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuZXhwb3J0IGNvbnN0IFRyaWdnZXJDb250YWluZXIgPSBzdHlsZWQuc3BhbmBcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuYDtcblxuZXhwb3J0IGNvbnN0IFRvb2x0aXBDb250ZW50ID0gc3R5bGVkLmRpdmBcbiAgZGlzcGxheTogY29udGVudHM7XG5gO1xuIl19 */", | ||
toString: _EMOTION_STRINGIFIED_CSS_ERROR__ | ||
}); | ||
@@ -18,0 +37,0 @@ // components/elvis-tooltip/src/react/elvia-tooltip.tsx |
@@ -1,2 +0,9 @@ | ||
export declare const TriggerContainer: import("styled-components").StyledComponent<"span", any, {}, never>; | ||
export declare const TooltipContent: import("styled-components").StyledComponent<"div", any, {}, never>; | ||
/// <reference types="react" /> | ||
export declare const TriggerContainer: import("@emotion/styled").StyledComponent<{ | ||
theme?: import("@emotion/react").Theme | undefined; | ||
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined; | ||
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>; | ||
export declare const TooltipContent: import("@emotion/styled").StyledComponent<{ | ||
theme?: import("@emotion/react").Theme | undefined; | ||
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined; | ||
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>; |
{ | ||
"name": "@elvia/elvis-tooltip", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"license": "MIT", | ||
@@ -19,6 +19,7 @@ "homepage": "https://design.elvia.io/components/tooltip", | ||
"dependencies": { | ||
"@elvia/elvis-component-wrapper": "^4.1.3", | ||
"@elvia/elvis-toolbox": "^11.0.0", | ||
"@floating-ui/react": "~0.26.13", | ||
"styled-components": "^5.3.3" | ||
"@elvia/elvis-component-wrapper": "^4.2.0", | ||
"@elvia/elvis-toolbox": "^12.0.0", | ||
"@emotion/react": "^11.11.4", | ||
"@emotion/styled": "^11.11.5", | ||
"@floating-ui/react": "~0.26.16" | ||
}, | ||
@@ -25,0 +26,0 @@ "peerDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18608
594
8
+ Added@emotion/react@^11.11.4
+ Added@emotion/styled@^11.11.5
+ Added@elvia/elvis-toolbox@12.0.6(transitive)
+ Added@elvia/elvis-typography@3.1.1(transitive)
+ Added@emotion/styled@11.13.0(transitive)
- Removedstyled-components@^5.3.3
- Removed@ampproject/remapping@2.3.0(transitive)
- Removed@babel/compat-data@7.25.4(transitive)
- Removed@babel/core@7.25.2(transitive)
- Removed@babel/helper-annotate-as-pure@7.24.7(transitive)
- Removed@babel/helper-compilation-targets@7.25.2(transitive)
- Removed@babel/helper-module-transforms@7.25.2(transitive)
- Removed@babel/helper-plugin-utils@7.24.8(transitive)
- Removed@babel/helper-simple-access@7.24.7(transitive)
- Removed@babel/helper-validator-option@7.24.8(transitive)
- Removed@babel/helpers@7.25.6(transitive)
- Removed@babel/plugin-syntax-jsx@7.24.7(transitive)
- Removed@elvia/elvis-toolbox@11.5.2(transitive)
- Removed@elvia/elvis-typography@2.7.1(transitive)
- Removed@emotion/stylis@0.8.5(transitive)
- Removed@emotion/unitless@0.7.5(transitive)
- Removedbabel-plugin-styled-components@2.1.4(transitive)
- Removedbrowserslist@4.23.3(transitive)
- Removedcamelize@1.0.1(transitive)
- Removedcaniuse-lite@1.0.30001660(transitive)
- Removedconvert-source-map@2.0.0(transitive)
- Removedcss-color-keywords@1.0.0(transitive)
- Removedcss-to-react-native@3.2.0(transitive)
- Removedelectron-to-chromium@1.5.22(transitive)
- Removedescalade@3.2.0(transitive)
- Removedgensync@1.0.0-beta.2(transitive)
- Removedlodash@4.17.21(transitive)
- Removedlru-cache@5.1.1(transitive)
- Removednode-releases@2.0.18(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedpostcss-value-parser@4.2.0(transitive)
- Removedsemver@6.3.1(transitive)
- Removedshallowequal@1.1.0(transitive)
- Removedstyled-components@5.3.11(transitive)
- Removedupdate-browserslist-db@1.1.0(transitive)
- Removedyallist@3.1.1(transitive)
Updated@elvia/elvis-toolbox@^12.0.0
Updated@floating-ui/react@~0.26.16