@stylable/core
Advanced tools
Comparing version 5.17.0 to 5.18.0
@@ -97,3 +97,3 @@ import * as STSymbol from './st-symbol'; | ||
UNSUPPORTED_MIXIN_SYMBOL: { | ||
(name: string, symbolType: "element" | "container" | "var" | "class" | "layer" | "import" | "cssVar" | "keyframes"): import("../diagnostics").DiagnosticBase; | ||
(name: string, symbolType: "var" | "class" | "layer" | "container" | "import" | "element" | "cssVar" | "keyframes"): import("../diagnostics").DiagnosticBase; | ||
code: string; | ||
@@ -100,0 +100,0 @@ severity: import("../diagnostics").DiagnosticSeverity; |
@@ -72,6 +72,6 @@ import { FeatureContext } from './feature'; | ||
export declare function getAll<NS extends keyof NamespaceToSymbolType = `main`>(meta: StylableMeta, ns?: NS): { | ||
layer: Record<string, LayerSymbol>; | ||
container: Record<string, ContainerSymbol>; | ||
main: Record<string, filterSymbols<"element" | "var" | "class" | "import" | "cssVar">>; | ||
layer: Record<string, LayerSymbol>; | ||
keyframes: Record<string, KeyframesSymbol>; | ||
main: Record<string, filterSymbols<"var" | "class" | "import" | "element" | "cssVar">>; | ||
}[NS]; | ||
@@ -78,0 +78,0 @@ export declare function getAllByType<T extends SymbolTypes>(meta: StylableMeta, type: T): State['byType'][T]; |
@@ -10,2 +10,3 @@ "use strict"; | ||
'checked', | ||
'indeterminate', | ||
'default', | ||
@@ -55,2 +56,10 @@ 'defined', | ||
'where', | ||
'user-valid', | ||
'user-invalid', | ||
'autofill', | ||
'modal', | ||
'popover-open', | ||
'future', | ||
'past', | ||
'picture-in-picture', | ||
]; | ||
@@ -103,2 +112,11 @@ exports.CSSWideKeywords = ['initial', 'inherit', 'unset']; | ||
'spelling-error', | ||
'file-selector-button', | ||
'highlight', | ||
'part', | ||
'target-text', | ||
'view-transition', | ||
'view-transition-group', | ||
'view-transition-image-pair', | ||
'view-transition-new', | ||
'view-transition-old', | ||
]; | ||
@@ -167,2 +185,3 @@ exports.nativeFunctionsDic = { | ||
scroll: { preserveQuotes: false }, | ||
view: { preserveQuotes: true }, | ||
sepia: { preserveQuotes: false }, | ||
@@ -192,2 +211,3 @@ skew: { preserveQuotes: false }, | ||
anchor: { preserveQuotes: true }, | ||
'anchor-size': { preserveQuotes: true }, | ||
selector: { preserveQuotes: true /* TODO:transform the nested selector */ }, | ||
@@ -194,0 +214,0 @@ style: { preserveQuotes: true /* TODO: transform the dashed ident property */ }, |
@@ -15,7 +15,7 @@ "use strict"; | ||
${varType} _namespace_ = ${JSON.stringify(namespace)}; | ||
${varType} _style_ = /*#__PURE__*/ classesRuntime.bind(null, _namespace_); | ||
${varType} _style_ = classesRuntime.bind(null, _namespace_); | ||
${exportKind}cssStates = /*#__PURE__*/ statesRuntime.bind(null, _namespace_); | ||
${exportKind}style = /*#__PURE__*/ _style_; | ||
${exportKind}st = /*#__PURE__*/ _style_; | ||
${exportKind}cssStates = statesRuntime.bind(null, _namespace_); | ||
${exportKind}style = _style_; | ||
${exportKind}st = _style_; | ||
@@ -22,0 +22,0 @@ ${exportKind}namespace = _namespace_; |
{ | ||
"name": "@stylable/core", | ||
"version": "5.17.0", | ||
"version": "5.18.0", | ||
"description": "CSS for Components", | ||
@@ -23,3 +23,3 @@ "main": "dist/index.js", | ||
"lodash.clonedeepwith": "^4.5.0", | ||
"postcss": "^8.4.31", | ||
"postcss": "^8.4.32", | ||
"postcss-js": "^4.0.1", | ||
@@ -26,0 +26,0 @@ "postcss-nested": "^6.0.1", |
@@ -7,2 +7,3 @@ // MDN reference: https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes | ||
'checked', | ||
'indeterminate', | ||
'default', | ||
@@ -52,2 +53,10 @@ 'defined', | ||
'where', | ||
'user-valid', | ||
'user-invalid', | ||
'autofill', | ||
'modal', | ||
'popover-open', | ||
'future', | ||
'past', | ||
'picture-in-picture', | ||
]; | ||
@@ -105,2 +114,11 @@ | ||
'spelling-error', | ||
'file-selector-button', | ||
'highlight', | ||
'part', | ||
'target-text', | ||
'view-transition', | ||
'view-transition-group', | ||
'view-transition-image-pair', | ||
'view-transition-new', | ||
'view-transition-old', | ||
]; | ||
@@ -170,2 +188,3 @@ | ||
scroll: { preserveQuotes: false }, | ||
view: { preserveQuotes: true }, | ||
sepia: { preserveQuotes: false }, | ||
@@ -195,2 +214,3 @@ skew: { preserveQuotes: false }, | ||
anchor: { preserveQuotes: true }, | ||
'anchor-size': { preserveQuotes: true }, | ||
selector: { preserveQuotes: true /* TODO:transform the nested selector */ }, | ||
@@ -197,0 +217,0 @@ style: { preserveQuotes: true /* TODO: transform the dashed ident property */ }, |
@@ -89,7 +89,7 @@ import type { StylableExports } from './stylable-transformer'; | ||
${varType} _namespace_ = ${JSON.stringify(namespace)}; | ||
${varType} _style_ = /*#__PURE__*/ classesRuntime.bind(null, _namespace_); | ||
${varType} _style_ = classesRuntime.bind(null, _namespace_); | ||
${exportKind}cssStates = /*#__PURE__*/ statesRuntime.bind(null, _namespace_); | ||
${exportKind}style = /*#__PURE__*/ _style_; | ||
${exportKind}st = /*#__PURE__*/ _style_; | ||
${exportKind}cssStates = statesRuntime.bind(null, _namespace_); | ||
${exportKind}style = _style_; | ||
${exportKind}st = _style_; | ||
@@ -96,0 +96,0 @@ ${exportKind}namespace = _namespace_; |
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
28870
5240276
Updatedpostcss@^8.4.32