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

@laststranger/lz-test1

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@laststranger/lz-test1 - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

1

dist/cjs/components/FancyBar/FancyBar.js

@@ -43,2 +43,3 @@ "use strict";

return (react_1.default.createElement(styled_1.StyledBar, null,
react_1.default.createElement(styled_1.GlobalStyle, null),
react_1.default.createElement("div", { className: "scrollbar" }),

@@ -45,0 +46,0 @@ react_1.default.createElement("div", { className: "scrollPath" })));

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

export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
export declare const StyledBar: import("styled-components").StyledComponent<"div", any, {}, never>;

21

dist/cjs/components/FancyBar/styled.js

@@ -22,4 +22,14 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.StyledBar = void 0;
exports.StyledBar = exports.GlobalStyle = void 0;
const styled_components_1 = __importStar(require("styled-components"));
exports.GlobalStyle = (0, styled_components_1.createGlobalStyle) `
::-webkit-scrollbar {
width: 0;
}
:root {
--start-color: #008aff;
--end-color: #00ffe7;
}
`;
const animate = (0, styled_components_1.keyframes) `

@@ -34,11 +44,2 @@ 0%,100% {

exports.StyledBar = styled_components_1.default.div `
::-webkit-scrollbar {
width: 0;
}
:root {
--start-color: #008aff;
--end-color: #00ffe7;
}
.scrollPath {

@@ -45,0 +46,0 @@ position: fixed;

import React, { useLayoutEffect, useRef } from "react";
import { StyledBar } from "./styled";
import { GlobalStyle, StyledBar } from "./styled";
const FancyBar = () => {

@@ -22,2 +22,3 @@ const idRef = useRef();

return (React.createElement(StyledBar, null,
React.createElement(GlobalStyle, null),
React.createElement("div", { className: "scrollbar" }),

@@ -24,0 +25,0 @@ React.createElement("div", { className: "scrollPath" })));

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

export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
export declare const StyledBar: import("styled-components").StyledComponent<"div", any, {}, never>;

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

import styled, { keyframes } from "styled-components";
import styled, { createGlobalStyle, keyframes } from "styled-components";
export const GlobalStyle = createGlobalStyle `
::-webkit-scrollbar {
width: 0;
}
:root {
--start-color: #008aff;
--end-color: #00ffe7;
}
`;
const animate = keyframes `

@@ -11,11 +21,2 @@ 0%,100% {

export const StyledBar = styled.div `
::-webkit-scrollbar {
width: 0;
}
:root {
--start-color: #008aff;
--end-color: #00ffe7;
}
.scrollPath {

@@ -22,0 +23,0 @@ position: fixed;

{
"name": "@laststranger/lz-test1",
"version": "1.0.12",
"version": "1.0.13",
"description": "test action one, here we go",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

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