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

@kuma-ui/core

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kuma-ui/core - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

6

dist/index.d.ts

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

export { styled } from "./styled";
export { k } from "./k";
export { styled } from './styled.js';
export { k } from './k.js';
import 'react';
import '@kuma-ui/system';

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

import { StyledComponentProps } from "./styled";
import { StyledProps, StyledKeyType, PseudoProps } from "@kuma-ui/system";
import { StyledComponentProps } from './styled.js';
import { StyledKeyType, StyledProps, PseudoProps } from '@kuma-ui/system';
import 'react';
type StyledComponent<T extends keyof JSX.IntrinsicElements> = React.FC<Omit<StyledComponentProps<T>, StyledKeyType> & StyledProps & Partial<PseudoProps>>;

@@ -7,2 +9,3 @@ declare const k: {

};
export { k };

@@ -1,4 +0,6 @@

import type { ComponentType } from "react";
import { ResponsiveStyle, StyledProps, StyledKeyType, PseudoProps } from "@kuma-ui/system";
export type StyledComponentProps<T> = T extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[T] : T extends ComponentType<infer P> ? P : never;
import * as react from 'react';
import { ComponentType } from 'react';
import { StyledProps, ResponsiveStyle, StyledKeyType, PseudoProps } from '@kuma-ui/system';
type StyledComponentProps<T> = T extends keyof JSX.IntrinsicElements ? JSX.IntrinsicElements[T] : T extends ComponentType<infer P> ? P : never;
/**

@@ -15,5 +17,6 @@ * A higher-order component that wraps a given component with styled-system

declare function styled<T extends keyof JSX.IntrinsicElements | ComponentType<any>>(Component: T): {
<P = StyledProps>(strings: TemplateStringsArray, ...interpolations: ((props: P) => ResponsiveStyle)[]): import("react").FC<Omit<StyledComponentProps<T>, StyledKeyType> & P & Partial<PseudoProps>>;
<P = StyledProps>(strings: TemplateStringsArray, ...interpolations: ((props: P) => ResponsiveStyle)[]): react.FC<Omit<StyledComponentProps<T>, StyledKeyType> & P & Partial<PseudoProps>>;
__zeroStyled: boolean;
};
export { styled };
export { StyledComponentProps, styled };
{
"name": "@kuma-ui/core",
"version": "0.0.3",
"version": "0.0.4",
"description": "🐻 Kuma UI is a utility-first, zero-runtime CSS-in-JS library that offers an outstanding developer experience and optimized performance.",

@@ -24,3 +24,4 @@ "repository": {

"devDependencies": {
"@kuma-ui/system": "0.1.1"
"@types/react": "^18.0.32",
"@kuma-ui/system": "0.2.0"
},

@@ -34,5 +35,3 @@ "peerDependencies": {

"scripts": {
"build": "yarn build:dist && yarn build:declarations",
"build:declarations": "tsc --emitDeclarationOnly --outDir dist",
"build:dist": "tsup src --format cjs,esm --config ../../rollup.config.js",
"build": "tsup --config ../../tsup.config.ts",
"typecheck": "tsc --noEmit --composite false",

@@ -39,0 +38,0 @@ "lint": "eslint './src/**/*.{js,ts,jsx,tsx}'",

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