New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sk-web-gui/spinner

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sk-web-gui/spinner - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

4

dist/cjs/spinner.js

@@ -26,3 +26,3 @@ "use strict";

var _props$size = props.size,
size = _props$size === void 0 ? "sm" : _props$size,
size = _props$size === void 0 ? 'sm' : _props$size,
className = props.className,

@@ -65,4 +65,4 @@ rest = _objectWithoutPropertiesLoose(props, _excluded);

if (_utils.__DEV__) {
Spinner.displayName = "Spinner";
Spinner.displayName = 'Spinner';
}
//# sourceMappingURL=spinner.js.map

@@ -11,11 +11,11 @@ "use strict";

var sizes = {
xs: "w-3 h-3",
sm: "w-4 h-4",
md: "w-6 h-6",
lg: "w-8 h-8",
xl: "w-12 h-12"
xs: 'w-3 h-3',
sm: 'w-4 h-4',
md: 'w-6 h-6',
lg: 'w-8 h-8',
xl: 'w-12 h-12'
};
var _default = (0, _theme.createMemoClass)(function (props) {
var className = (0, _utils.cx)("animate-spin", sizes[props.size]);
var className = (0, _utils.cx)('animate-spin', sizes[props.size]);
return className;

@@ -22,0 +22,0 @@ });

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

export * from "./spinner";
export * from './spinner';
//# sourceMappingURL=index.js.map

@@ -7,8 +7,8 @@ var _excluded = ["size", "className"];

import { cx, __DEV__ } from "@sk-web-gui/utils";
import * as React from "react";
import useSpinClass from "./styles";
import { cx, __DEV__ } from '@sk-web-gui/utils';
import * as React from 'react';
import useSpinClass from './styles';
export var Spinner = /*#__PURE__*/React.forwardRef((props, ref) => {
var {
size = "sm",
size = 'sm',
className

@@ -51,4 +51,4 @@ } = props,

if (__DEV__) {
Spinner.displayName = "Spinner";
Spinner.displayName = 'Spinner';
}
//# sourceMappingURL=spinner.js.map

@@ -1,14 +0,14 @@

import { createMemoClass } from "@sk-web-gui/theme";
import { cx } from "@sk-web-gui/utils";
import { createMemoClass } from '@sk-web-gui/theme';
import { cx } from '@sk-web-gui/utils';
var sizes = {
xs: "w-3 h-3",
sm: "w-4 h-4",
md: "w-6 h-6",
lg: "w-8 h-8",
xl: "w-12 h-12"
xs: 'w-3 h-3',
sm: 'w-4 h-4',
md: 'w-6 h-6',
lg: 'w-8 h-8',
xl: 'w-12 h-12'
};
export default createMemoClass(props => {
var className = cx("animate-spin", sizes[props.size]);
var className = cx('animate-spin', sizes[props.size]);
return className;
});
//# sourceMappingURL=styles.js.map

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

export * from "./spinner";
export * from './spinner';

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

import { DefaultProps } from "@sk-web-gui/theme";
import * as React from "react";
import { DefaultProps } from '@sk-web-gui/theme';
import * as React from 'react';
export interface ISpinProps extends DefaultProps {
size?: "xs" | "sm" | "md" | "lg" | "xl";
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
}

@@ -6,0 +6,0 @@ export interface SpinProps extends React.HTMLAttributes<SVGSVGElement>, ISpinProps {

{
"name": "@sk-web-gui/spinner",
"version": "0.1.4",
"version": "0.1.5",
"sideEffects": false,

@@ -40,4 +40,4 @@ "license": "MIT",

"dependencies": {
"@sk-web-gui/theme": "0.1.4",
"@sk-web-gui/utils": "0.1.3"
"@sk-web-gui/theme": "0.1.5",
"@sk-web-gui/utils": "0.1.4"
},

@@ -47,3 +47,3 @@ "peerDependencies": {

},
"gitHead": "98dc00be73bb80955d4b41dd19c98b8ee44fceb7"
"gitHead": "7f394c9a25f1bd8bcd43d4b259ad025c146b1527"
}

@@ -5,2 +5,2 @@ ## Installation

yarn add @sk-web-gui/spinner
```
```

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

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