@plumeria/core 7.6.0 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/types.d.ts +4 -2
  2. package/package.json +1 -1
package/lib/types.d.ts CHANGED
@@ -51,7 +51,9 @@ type SystemColorKeyword =
51
51
  | 'SelectedItemText'
52
52
  | 'VisitedText';
53
53
 
54
- type ExcludeMozInitial<T> = Exclude<T, '-moz-initial'>;
54
+ type VendorPrefixedValue = `-${'webkit' | 'moz' | 'ms' | 'o'}-${string}`;
55
+
56
+ type CleanValue<T> = Exclude<T, VendorPrefixedValue>;
55
57
 
56
58
  type CSSTypeProperties = Properties<number | (string & {})>;
57
59
 
@@ -78,7 +80,7 @@ type ColorProperties = {
78
80
  type CommonProperties = {
79
81
  [K in keyof CSSTypeProperties]: K extends keyof ColorProperties
80
82
  ? ColorProperties[K]
81
- : ExcludeMozInitial<CSSTypeProperties[K]> | CSSVariableValue;
83
+ : CleanValue<CSSTypeProperties[K]> | CSSVariableValue;
82
84
  };
83
85
 
84
86
  type ArrayString = `[${string}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/core",
3
- "version": "7.6.0",
3
+ "version": "8.0.0",
4
4
  "description": "An atomic CSS types designed to disappear.",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",