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

@nextui-org/spinner

Package Overview
Dependencies
Maintainers
1
Versions
524
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nextui-org/spinner - npm Package Compare versions

Comparing version 0.0.0-dev-v2-20230421004240 to 0.0.0-dev-v2-20230423211529

dist/chunk-LMO5UKTD.mjs

4

dist/index.js

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

const slots = (0, import_react.useMemo)(() => (0, import_theme.spinner)({ ...variantProps }), [...Object.values(variantProps)]);
const baseStyles = (0, import_shared_utils.clsx)(classNames == null ? void 0 : classNames.base, className);
const baseStyles = (0, import_shared_utils.clsx)(className, classNames == null ? void 0 : classNames.base);
const label = labelProp || children;

@@ -72,3 +72,3 @@ const ariaLabel = (0, import_react.useMemo)(() => {

});
Spinner.displayName = "NextUI.Loading";
Spinner.displayName = "NextUI.Spinner";
var spinner_default = Spinner;

@@ -75,0 +75,0 @@ // Annotate the CommonJS export names for ESM import in node:

@@ -8,3 +8,3 @@ import * as _nextui_org_system from '@nextui-org/system';

interface SpinnerProps extends Omit<UseSpinnerProps, "ref"> {
interface SpinnerProps extends UseSpinnerProps {
}

@@ -11,0 +11,0 @@ declare const Spinner: _nextui_org_system.ComponentWithAs<"div", SpinnerProps>;

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

const slots = (0, import_react.useMemo)(() => (0, import_theme.spinner)({ ...variantProps }), [...Object.values(variantProps)]);
const baseStyles = (0, import_shared_utils.clsx)(classNames == null ? void 0 : classNames.base, className);
const baseStyles = (0, import_shared_utils.clsx)(className, classNames == null ? void 0 : classNames.base);
const label = labelProp || children;

@@ -71,5 +71,5 @@ const ariaLabel = (0, import_react.useMemo)(() => {

});
Spinner.displayName = "NextUI.Loading";
Spinner.displayName = "NextUI.Spinner";
var spinner_default = Spinner;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});

@@ -12,3 +12,3 @@ import * as _nextui_org_system from '@nextui-org/system';

*/
ref?: ReactRef<HTMLDivElement | null>;
ref?: ReactRef<HTMLElement | null>;
/**

@@ -35,3 +35,3 @@ * Spinner label, in case you passed it will be used as `aria-label`.

declare function useSpinner(originalProps: UseSpinnerProps): {
domRef: react.RefObject<HTMLDivElement>;
domRef: react.RefObject<HTMLElement>;
label: react.ReactNode;

@@ -38,0 +38,0 @@ slots: {

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

const slots = (0, import_react.useMemo)(() => (0, import_theme.spinner)({ ...variantProps }), [...Object.values(variantProps)]);
const baseStyles = (0, import_shared_utils.clsx)(classNames == null ? void 0 : classNames.base, className);
const baseStyles = (0, import_shared_utils.clsx)(className, classNames == null ? void 0 : classNames.base);
const label = labelProp || children;

@@ -39,0 +39,0 @@ const ariaLabel = (0, import_react.useMemo)(() => {

{
"name": "@nextui-org/spinner",
"version": "0.0.0-dev-v2-20230421004240",
"version": "0.0.0-dev-v2-20230423211529",
"description": "Loaders express an unspecified wait time or display the length of a process.",

@@ -33,6 +33,6 @@ "keywords": [

"dependencies": {
"@nextui-org/system": "0.0.0-dev-v2-20230420134926",
"@nextui-org/theme": "0.0.0-dev-v2-20230421004240",
"@nextui-org/shared-utils": "0.0.0-dev-v2-20230420134926",
"@nextui-org/dom-utils": "0.0.0-dev-v2-20230420134926"
"@nextui-org/system": "0.0.0-dev-v2-20230423211529",
"@nextui-org/shared-utils": "0.0.0-dev-v2-20230423211529",
"@nextui-org/theme": "0.0.0-dev-v2-20230423211529",
"@nextui-org/dom-utils": "0.0.0-dev-v2-20230423211529"
},

@@ -39,0 +39,0 @@ "devDependencies": {

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