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

@launchpad-ui/progress

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@launchpad-ui/progress - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

4

dist/DelayedIndicator.d.ts
import type { ReactElement } from 'react';
declare type DelayedIndicatorProps = {
children: ReactElement;
delayMs?: number;
delayMs?: 0 | 50 | 250 | 1000;
};
declare const DelayedIndicator: ({ children, delayMs, }: DelayedIndicatorProps) => ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
declare const DelayedIndicator: ({ children, delayMs }: DelayedIndicatorProps) => ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
export { DelayedIndicator };
export type { DelayedIndicatorProps };
//# sourceMappingURL=DelayedIndicator.d.ts.map
export type { DelayedIndicatorProps } from './DelayedIndicator';
export type { ProgressProps } from './Progress';
export { DelayedIndicator } from './DelayedIndicator';
export { Progress, ProgressSize } from './Progress';
export { AnimationDelay } from './types';
export { Progress } from './Progress';
//# sourceMappingURL=index.d.ts.map

@@ -5,11 +5,5 @@ import './style.css';

import { jsxs, jsx } from "react/jsx-runtime";
var AnimationDelay = /* @__PURE__ */ ((AnimationDelay2) => {
AnimationDelay2[AnimationDelay2["DEFAULT"] = 250] = "DEFAULT";
AnimationDelay2[AnimationDelay2["SHORT"] = 50] = "SHORT";
AnimationDelay2[AnimationDelay2["LONG"] = 1e3] = "LONG";
return AnimationDelay2;
})(AnimationDelay || {});
const DelayedIndicator = ({
children,
delayMs = AnimationDelay.DEFAULT
delayMs = 250
}) => {

@@ -37,8 +31,2 @@ const [renderChildren, setRenderChildren] = useState(false);

const Progress$1 = "";
var ProgressSize = /* @__PURE__ */ ((ProgressSize2) => {
ProgressSize2["Small"] = "small";
ProgressSize2["Large"] = "large";
ProgressSize2["XLarge"] = "xLarge";
return ProgressSize2;
})(ProgressSize || {});
const clamp = (number, lower, upper) => upper ? Math.min(Math.max(number, lower), upper) : Math.min(number, lower);

@@ -100,7 +88,5 @@ const Progress = ({

export {
AnimationDelay,
DelayedIndicator,
Progress,
ProgressSize
Progress
};
//# sourceMappingURL=index.es.js.map

@@ -7,11 +7,5 @@ require('./style.css');

const jsxRuntime = require("react/jsx-runtime");
var AnimationDelay = /* @__PURE__ */ ((AnimationDelay2) => {
AnimationDelay2[AnimationDelay2["DEFAULT"] = 250] = "DEFAULT";
AnimationDelay2[AnimationDelay2["SHORT"] = 50] = "SHORT";
AnimationDelay2[AnimationDelay2["LONG"] = 1e3] = "LONG";
return AnimationDelay2;
})(AnimationDelay || {});
const DelayedIndicator = ({
children,
delayMs = AnimationDelay.DEFAULT
delayMs = 250
}) => {

@@ -39,8 +33,2 @@ const [renderChildren, setRenderChildren] = react.useState(false);

const Progress$1 = "";
var ProgressSize = /* @__PURE__ */ ((ProgressSize2) => {
ProgressSize2["Small"] = "small";
ProgressSize2["Large"] = "large";
ProgressSize2["XLarge"] = "xLarge";
return ProgressSize2;
})(ProgressSize || {});
const clamp = (number, lower, upper) => upper ? Math.min(Math.max(number, lower), upper) : Math.min(number, lower);

@@ -101,6 +89,4 @@ const Progress = ({

};
exports.AnimationDelay = AnimationDelay;
exports.DelayedIndicator = DelayedIndicator;
exports.Progress = Progress;
exports.ProgressSize = ProgressSize;
//# sourceMappingURL=index.js.map
/// <reference types="react" />
import type { DelayedIndicatorProps } from './DelayedIndicator';
import './styles/Progress.css';
declare enum ProgressSize {
Small = "small",
Large = "large",
XLarge = "xLarge"
}
declare type ProgressProps = {
value?: number;
size?: ProgressSize;
size?: 'small' | 'large' | 'xLarge';
className?: string;
delayMs?: number;
delayMs?: DelayedIndicatorProps['delayMs'];
testId?: string;
};
declare const Progress: ({ value, size, testId, className, delayMs, }: ProgressProps) => JSX.Element;
export { Progress, ProgressSize };
declare const Progress: ({ value, size, testId, className, delayMs }: ProgressProps) => JSX.Element;
export { Progress };
export type { ProgressProps };
//# sourceMappingURL=Progress.d.ts.map
{
"name": "@launchpad-ui/progress",
"version": "0.4.0",
"version": "0.5.0",
"status": "beta",

@@ -5,0 +5,0 @@ "publishConfig": {

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

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