Socket
Socket
Sign inDemoInstall

@yamada-ui/core

Package Overview
Dependencies
Maintainers
1
Versions
780
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yamada-ui/core - npm Package Compare versions

Comparing version 0.0.0-dev-20230606151107 to 0.0.0-dev-20230611113619

12

dist/index.d.ts

@@ -67,4 +67,4 @@ import { CSSObject, Interpolation, Keyframes, ThemeProviderProps as ThemeProviderProps$1 } from '@emotion/react';

declare const useComponentStyle: <Props extends Dict<any> = Dict<any>>(name: string, props: Props) => [styles: CSSUIObject, props: Props];
declare const useMultiComponentStyle: <Props extends Dict<any> = Dict<any>>(name: string, props: Props) => [styles: Record<string, CSSUIObject>, props: Props];
declare const useComponentStyle: <Props extends Dict = Dict>(name: string, props: Props) => [styles: CSSUIObject, props: Props];
declare const useMultiComponentStyle: <Props extends Dict = Dict>(name: string, props: Props) => [styles: Record<string, CSSUIObject>, props: Props];

@@ -302,4 +302,4 @@ type DOMElements = keyof JSX.IntrinsicElements;

type ThemeToken = (typeof tokens)[number] | 'transitions.duration' | 'transitions.property' | 'transitions.easing';
declare const transformTheme: <T extends Dict<any>>(_theme: T, config: ThemeConfig) => Dict;
declare const omitThemeProps: <T extends ThemeProps<unknown>>(props: T) => Omit<T, "colorScheme" | "size" | "variant">;
declare const transformTheme: <T extends Dict>(_theme: T, config: ThemeConfig) => Dict;
declare const omitThemeProps: <T extends ThemeProps>(props: T) => Omit<T, "colorScheme" | "size" | "variant">;

@@ -657,2 +657,3 @@ type CSSProperties = Union<keyof CSS.Properties>;

isolation?: Token<CSS.Property.Isolation, unknown, Y, M>;
aspectRatio?: Token<CSS.Property.AspectRatio, unknown, Y, M>;
};

@@ -797,2 +798,3 @@

fontStyle?: Token<CSS.Property.FontStyle, unknown, Y, M>;
textIndent?: Token<CSS.Property.TextIndent, unknown, Y, M>;
wordBreak?: Token<CSS.Property.WordBreak, unknown, Y, M>;

@@ -845,3 +847,3 @@ overflowWrap?: Token<CSS.Property.OverflowWrap, unknown, Y, M>;

declare const CSSVars: FC;
declare const useTheme: <T extends object = Dict<any>>() => Pick<ThemeProviderOptions, "themeScheme" | "changeThemeScheme"> & {
declare const useTheme: <T extends object = Dict>() => Pick<ThemeProviderOptions, "themeScheme" | "changeThemeScheme"> & {
theme: StyledTheme<T>;

@@ -848,0 +850,0 @@ };

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

display: true,
aspectRatio: true,
verticalAlign: true,

@@ -775,2 +776,3 @@ boxSizing: true,

fontStyle: true,
textIndent: true,
wordBreak: true,

@@ -1146,3 +1148,3 @@ overflowWrap: true,

type: "localStorage",
get(initColorMode = "light") {
get: (initColorMode = "light") => {
if (!hasSupport)

@@ -1157,3 +1159,3 @@ return initColorMode;

},
set(colorMode) {
set: (colorMode) => {
try {

@@ -1173,3 +1175,3 @@ localStorage.setItem(storageKey, colorMode);

type: "cookie",
get(initColorMode = "light") {
get: (initColorMode = "light") => {
if (cookie)

@@ -1181,3 +1183,3 @@ return parseCookie(cookie, key);

},
set(colorMode) {
set: (colorMode) => {
document.cookie = `${key}=${colorMode}; max-age=31536000; path=/`;

@@ -1184,0 +1186,0 @@ }

{
"name": "@yamada-ui/core",
"version": "0.0.0-dev-20230606151107",
"version": "0.0.0-dev-20230611113619",
"description": "Yamada UI core",

@@ -45,4 +45,4 @@ "keywords": [

"csstype": "^3.1.1",
"@yamada-ui/utils": "0.0.0-dev-20230606151107",
"@yamada-ui/portal": "0.0.0-dev-20230606151107"
"@yamada-ui/utils": "0.1.1",
"@yamada-ui/portal": "0.1.2"
},

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

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