@griffel/core
Advanced tools
Comparing version 1.15.1 to 1.15.2
@@ -47,2 +47,3 @@ 'use strict'; | ||
animation: 1, | ||
animationRange: 1, | ||
background: 1, | ||
@@ -111,3 +112,4 @@ backgroundPosition: 1, | ||
textEmphasis: 1, | ||
transition: 1 | ||
transition: 1, | ||
viewTimeline: 1 | ||
}; | ||
@@ -114,0 +116,0 @@ |
@@ -43,2 +43,3 @@ // ---- | ||
animation: 1, | ||
animationRange: 1, | ||
background: 1, | ||
@@ -107,3 +108,4 @@ backgroundPosition: 1, | ||
textEmphasis: 1, | ||
transition: 1 | ||
transition: 1, | ||
viewTimeline: 1 | ||
}; | ||
@@ -110,0 +112,0 @@ |
@@ -29,3 +29,2 @@ 'use strict'; | ||
} | ||
return { | ||
@@ -32,0 +31,0 @@ loc: !isNative ? parts[2] : null, |
@@ -25,3 +25,2 @@ // TODO: duplicated from https://github.com/lahmatiy/react-render-tracker/blob/main/src/publisher/react-integration/utils/stackTrace.ts | ||
} | ||
return { | ||
@@ -28,0 +27,0 @@ loc: !isNative ? parts[2] : null, |
{ | ||
"name": "@griffel/core", | ||
"version": "1.15.1", | ||
"version": "1.15.2", | ||
"description": "DOM implementation of Atomic CSS-in-JS", | ||
@@ -13,4 +13,4 @@ "license": "MIT", | ||
"@emotion/hash": "^0.9.0", | ||
"@griffel/style-types": "^1.0.2", | ||
"csstype": "^3.1.2", | ||
"@griffel/style-types": "^1.0.3", | ||
"csstype": "^3.1.3", | ||
"rtl-css-js": "^1.16.1", | ||
@@ -17,0 +17,0 @@ "stylis": "^4.2.0", |
@@ -1,3 +0,3 @@ | ||
import { SequenceHash } from '../types'; | ||
import { DebugSequence } from './types'; | ||
import type { SequenceHash } from '../types'; | ||
import type { DebugSequence } from './types'; | ||
export declare function getDebugTree(debugSequenceHash: SequenceHash, parentNode?: DebugSequence): DebugSequence | undefined; |
@@ -1,2 +0,2 @@ | ||
import { SequenceHash } from '../types'; | ||
import type { SequenceHash } from '../types'; | ||
declare global { | ||
@@ -3,0 +3,0 @@ interface Window { |
@@ -1,3 +0,3 @@ | ||
import { LookupItem } from '../types'; | ||
import { DebugAtomicClassName, DebugSequence } from './types'; | ||
import type { LookupItem } from '../types'; | ||
import type { DebugAtomicClassName, DebugSequence } from './types'; | ||
export declare function getDebugClassNames(lookupItem: LookupItem, parentLookupItem?: LookupItem, parentDebugClassNames?: DebugAtomicClassName[], overridingSiblings?: DebugSequence[]): DebugAtomicClassName[]; |
@@ -1,2 +0,2 @@ | ||
import { GriffelRenderer } from '../types'; | ||
import type { GriffelRenderer } from '../types'; | ||
export interface CreateDOMRendererOptions { | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import { IsomorphicStyleSheet, StyleBucketName } from '../types'; | ||
import type { IsomorphicStyleSheet, StyleBucketName } from '../types'; | ||
export declare function createIsomorphicStyleSheet(styleElement: HTMLStyleElement | undefined, bucketName: StyleBucketName, elementAttributes: Record<string, string>): IsomorphicStyleSheet; | ||
export declare function createIsomorphicStyleSheetFromElement(element: HTMLStyleElement): IsomorphicStyleSheet; |
@@ -1,2 +0,2 @@ | ||
import { GriffelRenderer, IsomorphicStyleSheet, StyleBucketName } from '../types'; | ||
import type { GriffelRenderer, IsomorphicStyleSheet, StyleBucketName } from '../types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Ordered style buckets using their short pseudo name. |
@@ -1,2 +0,2 @@ | ||
import { GriffelRenderer } from '../types'; | ||
import type { GriffelRenderer } from '../types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Should be called in a case of Server-Side rendering. Rehydrates cache from for a renderer to avoid double insertion |
@@ -1,2 +0,2 @@ | ||
import { CSSClassesMapBySlot, CSSRulesByBucket, StylesBySlots } from './types'; | ||
import type { CSSClassesMapBySlot, CSSRulesByBucket, StylesBySlots } from './types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Calls resolveStyleRules() for each slot, is also used by build time transform. |
@@ -1,2 +0,2 @@ | ||
import { StyleBucketName } from '../types'; | ||
import type { StyleBucketName } from '../types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Gets the bucket depending on the pseudo. |
@@ -1,2 +0,2 @@ | ||
import { CSSClassesMapBySlot, CSSClassesMap } from '../types'; | ||
import type { CSSClassesMapBySlot, CSSClassesMap } from '../types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Reduces a classname map for slot to a classname string. Uses classnames according to text directions. |
import type { GriffelStyle } from '@griffel/style-types'; | ||
import { CSSClassesMap, CSSRulesByBucket } from '../types'; | ||
import type { CSSClassesMap, CSSRulesByBucket } from '../types'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Transforms input styles to classes maps & CSS rules. |
@@ -1,2 +0,2 @@ | ||
import { GriffelStaticStyle, GriffelStyle } from '@griffel/style-types'; | ||
import type { GriffelStaticStyle, GriffelStyle } from '@griffel/style-types'; | ||
export declare function cssifyObject(style: GriffelStyle | GriffelStaticStyle): string; |
@@ -1,2 +0,2 @@ | ||
import { PropertyHash } from '../../types'; | ||
import type { PropertyHash } from '../../types'; | ||
export declare function hashPropertyKey(selector: string, container: string, media: string, support: string, property: string): PropertyHash; |
@@ -1,2 +0,2 @@ | ||
import { SequenceHash } from '../../types'; | ||
import type { SequenceHash } from '../../types'; | ||
export declare function hashSequence(classes: string, dir: 'ltr' | 'rtl', sequenceIds?: (SequenceHash | undefined)[]): SequenceHash; |
@@ -1,2 +0,2 @@ | ||
import { CSSBucketEntry } from '../../types'; | ||
import type { CSSBucketEntry } from '../../types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * @internal |
import type { GriffelStyle } from '@griffel/style-types'; | ||
import { BorderWidthInput } from './types'; | ||
import type { BorderWidthInput } from './types'; | ||
declare type BorderWidthStyle = Pick<GriffelStyle, 'borderTopStyle' | 'borderRightStyle' | 'borderBottomStyle' | 'borderLeftStyle'>; | ||
@@ -4,0 +4,0 @@ export declare function borderWidth(all: BorderWidthInput): BorderWidthStyle; |
import type { GriffelStyle } from '@griffel/style-types'; | ||
import { TextDecorationColorInput, TextDecorationLineInput, TextDecorationStyleInput, TextDecorationThicknessInput } from './types'; | ||
import type { TextDecorationColorInput, TextDecorationLineInput, TextDecorationStyleInput, TextDecorationThicknessInput } from './types'; | ||
declare type TextDecorationStyle = Pick<GriffelStyle, 'textDecorationStyle' | 'textDecorationLine' | 'textDecorationColor' | 'textDecorationThickness'>; | ||
@@ -4,0 +4,0 @@ export declare function textDecoration(style: TextDecorationStyleInput): TextDecorationStyle; |
import type { GriffelStyle } from '@griffel/style-types'; | ||
import { TransitionDelayInput, TransitionDurationInput, TransitionPropertyInput, TransitionTimingFunctionInput, TransitionGlobalInput } from './types'; | ||
import type { TransitionDelayInput, TransitionDurationInput, TransitionPropertyInput, TransitionTimingFunctionInput, TransitionGlobalInput } from './types'; | ||
declare type TransitionInputs = [ | ||
@@ -4,0 +4,0 @@ TransitionPropertyInput, |
import type { GriffelStylesCSSValue, ValueOrArray } from '@griffel/style-types'; | ||
import * as CSS from 'csstype'; | ||
import type * as CSS from 'csstype'; | ||
export declare type BorderWidthInput = ValueOrArray<CSS.Property.BorderWidth<GriffelStylesCSSValue>>; | ||
@@ -4,0 +4,0 @@ export declare type BorderStyleInput = ValueOrArray<CSS.Property.BorderStyle>; |
import type { GriffelStylesCSSValue } from '@griffel/style-types'; | ||
import * as CSS from 'csstype'; | ||
import type * as CSS from 'csstype'; | ||
export declare function isBorderStyle(value: GriffelStylesCSSValue | GriffelStylesCSSValue[]): value is CSS.DataType.LineStyle; |
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
703571
6608
Updated@griffel/style-types@^1.0.3
Updatedcsstype@^3.1.3