@chakra-ui/styled-system
Advanced tools
Comparing version 0.0.0-pr-2022028241 to 0.0.0-pr-2022028277
@@ -1040,25 +1040,2 @@ 'use strict'; | ||
var scroll = { | ||
scrollBehavior: true, | ||
scrollSnapAlign: true, | ||
scrollSnapStop: true, | ||
scrollSnapType: true, | ||
// scroll margin | ||
scrollMargin: t.spaceT("scrollMargin"), | ||
scrollMarginTop: t.spaceT("scrollMarginTop"), | ||
scrollMarginBottom: t.spaceT("scrollMarginBottom"), | ||
scrollMarginLeft: t.spaceT("scrollMarginLeft"), | ||
scrollMarginRight: t.spaceT("scrollMarginRight"), | ||
scrollMarginX: t.spaceT(["scrollMarginLeft", "scrollMarginRight"]), | ||
scrollMarginY: t.spaceT(["scrollMarginTop", "scrollMarginBottom"]), | ||
// scroll padding | ||
scrollPadding: t.spaceT("scrollPadding"), | ||
scrollPaddingTop: t.spaceT("scrollPaddingTop"), | ||
scrollPaddingBottom: t.spaceT("scrollPaddingBottom"), | ||
scrollPaddingLeft: t.spaceT("scrollPaddingLeft"), | ||
scrollPaddingRight: t.spaceT("scrollPaddingRight"), | ||
scrollPaddingX: t.spaceT(["scrollPaddingLeft", "scrollPaddingRight"]), | ||
scrollPaddingY: t.spaceT(["scrollPaddingTop", "scrollPaddingBottom"]) | ||
}; | ||
function _arrayLikeToArray(arr, len) { | ||
@@ -1490,3 +1467,3 @@ if (len == null || len > arr.length) len = arr.length; | ||
var systemProps = utils.mergeWith({}, background, border, color, flexbox, layout, filter, ring, interactivity, grid, others, position, effect, space, scroll, typography, textDecoration, transform, list, transition); | ||
var systemProps = utils.mergeWith({}, background, border, color, flexbox, layout, filter, ring, interactivity, grid, others, position, effect, space, typography, textDecoration, transform, list, transition); | ||
var layoutSystem = Object.assign({}, space, layout, flexbox, grid, position); | ||
@@ -2031,3 +2008,2 @@ var layoutPropNames = utils.objectKeys(layoutSystem); | ||
exports.ring = ring; | ||
exports.scroll = scroll; | ||
exports.space = space; | ||
@@ -2034,0 +2010,0 @@ exports.systemProps = systemProps; |
@@ -1040,25 +1040,2 @@ 'use strict'; | ||
var scroll = { | ||
scrollBehavior: true, | ||
scrollSnapAlign: true, | ||
scrollSnapStop: true, | ||
scrollSnapType: true, | ||
// scroll margin | ||
scrollMargin: t.spaceT("scrollMargin"), | ||
scrollMarginTop: t.spaceT("scrollMarginTop"), | ||
scrollMarginBottom: t.spaceT("scrollMarginBottom"), | ||
scrollMarginLeft: t.spaceT("scrollMarginLeft"), | ||
scrollMarginRight: t.spaceT("scrollMarginRight"), | ||
scrollMarginX: t.spaceT(["scrollMarginLeft", "scrollMarginRight"]), | ||
scrollMarginY: t.spaceT(["scrollMarginTop", "scrollMarginBottom"]), | ||
// scroll padding | ||
scrollPadding: t.spaceT("scrollPadding"), | ||
scrollPaddingTop: t.spaceT("scrollPaddingTop"), | ||
scrollPaddingBottom: t.spaceT("scrollPaddingBottom"), | ||
scrollPaddingLeft: t.spaceT("scrollPaddingLeft"), | ||
scrollPaddingRight: t.spaceT("scrollPaddingRight"), | ||
scrollPaddingX: t.spaceT(["scrollPaddingLeft", "scrollPaddingRight"]), | ||
scrollPaddingY: t.spaceT(["scrollPaddingTop", "scrollPaddingBottom"]) | ||
}; | ||
function _arrayLikeToArray(arr, len) { | ||
@@ -1490,3 +1467,3 @@ if (len == null || len > arr.length) len = arr.length; | ||
var systemProps = utils.mergeWith({}, background, border, color, flexbox, layout, filter, ring, interactivity, grid, others, position, effect, space, scroll, typography, textDecoration, transform, list, transition); | ||
var systemProps = utils.mergeWith({}, background, border, color, flexbox, layout, filter, ring, interactivity, grid, others, position, effect, space, typography, textDecoration, transform, list, transition); | ||
var layoutSystem = Object.assign({}, space, layout, flexbox, grid, position); | ||
@@ -2031,3 +2008,2 @@ var layoutPropNames = utils.objectKeys(layoutSystem); | ||
exports.ring = ring; | ||
exports.scroll = scroll; | ||
exports.space = space; | ||
@@ -2034,0 +2010,0 @@ exports.systemProps = systemProps; |
@@ -1036,25 +1036,2 @@ import { isObject, isString, isNumber, isCssVar, memoizedGet, objectKeys, mergeWith, runIfFn, walkObject, pick, analyzeBreakpoints } from '@chakra-ui/utils'; | ||
var scroll = { | ||
scrollBehavior: true, | ||
scrollSnapAlign: true, | ||
scrollSnapStop: true, | ||
scrollSnapType: true, | ||
// scroll margin | ||
scrollMargin: t.spaceT("scrollMargin"), | ||
scrollMarginTop: t.spaceT("scrollMarginTop"), | ||
scrollMarginBottom: t.spaceT("scrollMarginBottom"), | ||
scrollMarginLeft: t.spaceT("scrollMarginLeft"), | ||
scrollMarginRight: t.spaceT("scrollMarginRight"), | ||
scrollMarginX: t.spaceT(["scrollMarginLeft", "scrollMarginRight"]), | ||
scrollMarginY: t.spaceT(["scrollMarginTop", "scrollMarginBottom"]), | ||
// scroll padding | ||
scrollPadding: t.spaceT("scrollPadding"), | ||
scrollPaddingTop: t.spaceT("scrollPaddingTop"), | ||
scrollPaddingBottom: t.spaceT("scrollPaddingBottom"), | ||
scrollPaddingLeft: t.spaceT("scrollPaddingLeft"), | ||
scrollPaddingRight: t.spaceT("scrollPaddingRight"), | ||
scrollPaddingX: t.spaceT(["scrollPaddingLeft", "scrollPaddingRight"]), | ||
scrollPaddingY: t.spaceT(["scrollPaddingTop", "scrollPaddingBottom"]) | ||
}; | ||
function _arrayLikeToArray(arr, len) { | ||
@@ -1486,3 +1463,3 @@ if (len == null || len > arr.length) len = arr.length; | ||
var systemProps = mergeWith({}, background, border, color, flexbox, layout, filter, ring, interactivity, grid, others, position, effect, space, scroll, typography, textDecoration, transform, list, transition); | ||
var systemProps = mergeWith({}, background, border, color, flexbox, layout, filter, ring, interactivity, grid, others, position, effect, space, typography, textDecoration, transform, list, transition); | ||
var layoutSystem = Object.assign({}, space, layout, flexbox, grid, position); | ||
@@ -2006,2 +1983,2 @@ var layoutPropNames = objectKeys(layoutSystem); | ||
export { addPrefix, background, border, calc, color, css, cssVar, effect, filter, flexbox, getCss, grid, interactivity, isStyleProp, layout, layoutPropNames, list, others, position, propNames, ring, scroll, space, systemProps, textDecoration, toCSSVar, toVarDefinition, toVarReference, tokenToCSSVar, transform, transition, typography }; | ||
export { addPrefix, background, border, calc, color, css, cssVar, effect, filter, flexbox, getCss, grid, interactivity, isStyleProp, layout, layoutPropNames, list, others, position, propNames, ring, space, systemProps, textDecoration, toCSSVar, toVarDefinition, toVarReference, tokenToCSSVar, transform, transition, typography }; |
@@ -19,3 +19,2 @@ export * from "./background"; | ||
export * from "./typography"; | ||
export * from "./scroll"; | ||
//# sourceMappingURL=index.d.ts.map |
import { Dict } from "@chakra-ui/utils"; | ||
import * as CSS from "csstype"; | ||
import type { BackgroundProps, BorderProps, ColorProps, EffectProps, FilterProps, FlexboxProps, GridProps, InteractivityProps, LayoutProps, ListProps, OtherProps, PositionProps, RingProps, SpaceProps, TextDecorationProps, TransformProps, TransitionProps, TypographyProps, ScrollProps } from "./config"; | ||
import type { BackgroundProps, BorderProps, ColorProps, EffectProps, FilterProps, FlexboxProps, GridProps, InteractivityProps, LayoutProps, ListProps, OtherProps, PositionProps, RingProps, SpaceProps, TextDecorationProps, TransformProps, TransitionProps, TypographyProps } from "./config"; | ||
import { Pseudos } from "./pseudos"; | ||
import { ResponsiveValue } from "./utils/types"; | ||
export interface StyleProps extends SpaceProps, ColorProps, TransitionProps, TypographyProps, FlexboxProps, TransformProps, GridProps, FilterProps, LayoutProps, BorderProps, EffectProps, BackgroundProps, ListProps, PositionProps, RingProps, ScrollProps, InteractivityProps, TextDecorationProps, OtherProps { | ||
export interface StyleProps extends SpaceProps, ColorProps, TransitionProps, TypographyProps, FlexboxProps, TransformProps, GridProps, FilterProps, LayoutProps, BorderProps, EffectProps, BackgroundProps, ListProps, PositionProps, RingProps, InteractivityProps, TextDecorationProps, OtherProps { | ||
} | ||
@@ -8,0 +8,0 @@ export interface SystemCSSProperties extends CSS.Properties, Omit<StyleProps, keyof CSS.Properties> { |
{ | ||
"name": "@chakra-ui/styled-system", | ||
"version": "0.0.0-pr-2022028241", | ||
"version": "0.0.0-pr-2022028277", | ||
"description": "Style function for css-in-js building component libraries", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -19,2 +19,1 @@ export * from "./background" | ||
export * from "./typography" | ||
export * from "./scroll" |
@@ -21,3 +21,2 @@ import { mergeWith, objectKeys } from "@chakra-ui/utils" | ||
typography, | ||
scroll, | ||
} from "./config" | ||
@@ -41,3 +40,2 @@ import { pseudoPropNames, pseudoSelectors } from "./pseudos" | ||
space, | ||
scroll, | ||
typography, | ||
@@ -44,0 +42,0 @@ textDecoration, |
@@ -22,3 +22,2 @@ import { Dict } from "@chakra-ui/utils" | ||
TypographyProps, | ||
ScrollProps, | ||
} from "./config" | ||
@@ -44,3 +43,2 @@ import { Pseudos } from "./pseudos" | ||
RingProps, | ||
ScrollProps, | ||
InteractivityProps, | ||
@@ -47,0 +45,0 @@ TextDecorationProps, |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
434301
124
11484