@griffel/core
Advanced tools
Comparing version 1.15.0 to 1.15.1
{ | ||
"name": "@griffel/core", | ||
"version": "1.15.0", | ||
"version": "1.15.1", | ||
"description": "DOM implementation of Atomic CSS-in-JS", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -11,3 +11,3 @@ 'use strict'; | ||
const customIdentRegEx = /^[a-zA-Z0-9\-_\\#;]+$/; | ||
const nonCustomIdentRegEx = /^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|\d.*/; | ||
const nonCustomIdentRegEx = /^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|^\d.*/; | ||
// See https://developer.mozilla.org/en-US/docs/Web/CSS/custom-ident | ||
@@ -59,2 +59,3 @@ function isCustomIdent(value) { | ||
exports.gridArea = gridArea; | ||
exports.isCustomIdent = isCustomIdent; | ||
//# sourceMappingURL=gridArea.cjs.js.map |
@@ -7,3 +7,3 @@ const cssVarRegEx = /var\(.*\)/gi; | ||
const customIdentRegEx = /^[a-zA-Z0-9\-_\\#;]+$/; | ||
const nonCustomIdentRegEx = /^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|\d.*/; | ||
const nonCustomIdentRegEx = /^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|^\d.*/; | ||
// See https://developer.mozilla.org/en-US/docs/Web/CSS/custom-ident | ||
@@ -54,3 +54,3 @@ function isCustomIdent(value) { | ||
export { gridArea }; | ||
export { gridArea, isCustomIdent }; | ||
//# sourceMappingURL=gridArea.esm.js.map |
import type { GriffelStyle } from '@griffel/style-types'; | ||
import type { GridAreaInput } from './types'; | ||
declare type GridAreaStyle = Pick<GriffelStyle, 'gridRowStart' | 'gridRowEnd' | 'gridColumnStart' | 'gridColumnEnd'>; | ||
export declare function isCustomIdent(value: GridAreaInput | undefined): boolean; | ||
export declare function gridArea(all: GridAreaInput): GridAreaStyle; | ||
@@ -5,0 +6,0 @@ export declare function gridArea(rowStart: GridAreaInput, columnStart: GridAreaInput): GridAreaStyle; |
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
702745
6604