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

@nextui-org/system-rsc

Package Overview
Dependencies
Maintainers
1
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nextui-org/system-rsc - npm Package Compare versions

Comparing version 0.0.0-dev-v2-20231110130507 to 0.0.0-dev-v2-20240402013814

dist/chunk-FRDDED4W.mjs

2

dist/index.d.ts
export { As, CapitalizedDOMElements, DOMAttributes, DOMElement, DOMElements, HTMLNextUIProps, InternalForwardRefRenderFunction, Merge, MergeWithAs, OmitCommonProps, PropGetter, PropsOf, RightJoinProps } from './types.js';
export { cn, forwardRef, mapPropsVariants, mapPropsVariantsWithCommon, toIterator } from './utils.js';
export { cn, forwardRef, isNextUIEl, mapPropsVariants, mapPropsVariantsWithCommon, toIterator } from './utils.js';
export { ExtendVariantProps, ExtendVariantWithSlotsProps, ExtendVariants, extendVariants } from './extend-variants.d.js';

@@ -4,0 +4,0 @@ import 'react';

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

forwardRef: () => forwardRef,
isNextUIEl: () => isNextUIEl,
mapPropsVariants: () => mapPropsVariants,

@@ -92,2 +93,6 @@ mapPropsVariantsWithCommon: () => mapPropsVariantsWithCommon,

var cn = import_clsx.default;
var isNextUIEl = (component) => {
var _a, _b, _c;
return !!((_c = (_b = (_a = component.type) == null ? void 0 : _a.render) == null ? void 0 : _b.displayName) == null ? void 0 : _c.includes("NextUI"));
};

@@ -205,2 +210,3 @@ // src/extend-variants.js

forwardRef,
isNextUIEl,
mapPropsVariants,

@@ -207,0 +213,0 @@ mapPropsVariantsWithCommon,

@@ -15,3 +15,9 @@ import { As, RightJoinProps, PropsOf, InternalForwardRefRenderFunction } from './types.js';

declare const cn: typeof clsx;
/**
* Checks if a component is a NextUI component.
* @param component - The component to check.
* @returns `true` if the component is a NextUI component, `false` otherwise.
*/
declare const isNextUIEl: (component: React.ReactComponentElement<any>) => boolean;
export { cn, forwardRef, mapPropsVariants, mapPropsVariantsWithCommon, toIterator };
export { cn, forwardRef, isNextUIEl, mapPropsVariants, mapPropsVariantsWithCommon, toIterator };

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

forwardRef: () => forwardRef,
isNextUIEl: () => isNextUIEl,
mapPropsVariants: () => mapPropsVariants,

@@ -89,2 +90,6 @@ mapPropsVariantsWithCommon: () => mapPropsVariantsWithCommon,

var cn = import_clsx.default;
var isNextUIEl = (component) => {
var _a, _b, _c;
return !!((_c = (_b = (_a = component.type) == null ? void 0 : _a.render) == null ? void 0 : _b.displayName) == null ? void 0 : _c.includes("NextUI"));
};
// Annotate the CommonJS export names for ESM import in node:

@@ -94,2 +99,3 @@ 0 && (module.exports = {

forwardRef,
isNextUIEl,
mapPropsVariants,

@@ -96,0 +102,0 @@ mapPropsVariantsWithCommon,

{
"name": "@nextui-org/system-rsc",
"version": "0.0.0-dev-v2-20231110130507",
"version": "0.0.0-dev-v2-20240402013814",
"description": "NextUI system primitives compatibles with RSC imports",

@@ -29,3 +29,3 @@ "keywords": [

"react": ">=18",
"@nextui-org/theme": "0.0.0-dev-v2-20231110130507",
"@nextui-org/theme": "0.0.0-dev-v2-20240402013814",
"tailwind-variants": ">=0.1.13"

@@ -58,3 +58,3 @@ },

"build:fast": "tsup src",
"dev": "yarn build:fast -- --watch",
"dev": "pnpm build:fast --watch",
"clean": "rimraf dist .turbo",

@@ -61,0 +61,0 @@ "typecheck": "tsc --noEmit"

@@ -21,5 +21,5 @@ # @nextui-org/system-rsc

## Licence
## License
This project is licensed under the terms of the
[MIT license](https://github.com/nextui-org/nextui/blob/master/LICENSE).

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