1
1
diff --git a/Sources/CSSOM/Generated.swift b/Sources/CSSOM/Generated.swift
2
- index e9f9df4..331ec01 100644
2
+ index b22e2a9..814ae93 100644
3
3
--- a/Sources/CSSOM/Generated.swift
4
4
+++ b/Sources/CSSOM/Generated.swift
5
5
@@ -361,8 +361,14 @@ public class CSSColor: CSSColorValue {
6
6
self.init(unsafelyWrapping: Self.constructor!.new(arguments: [_toJSValue(colorSpace), _toJSValue(channels), _toJSValue(alpha)]))
7
7
}
8
-
8
+
9
9
+ @available(*, unavailable)
10
10
+ override public var colorSpace: CSSKeywordValue {
11
11
+ get { colorSpaceOrString.cssKeywordValue! }
@@ -18,3 +18,22 @@ index e9f9df4..331ec01 100644
18
18
get { _colorSpace.wrappedValue }
19
19
set { _colorSpace.wrappedValue = newValue }
20
20
}
21
+ @@ -390,7 +396,8 @@ public class CSSColorValue: CSSStyleValue {
22
+ return this[Strings.to].function!(this: this, arguments: [_toJSValue(colorSpace)]).fromJSValue()!
23
+ }
24
+
25
+ - @inlinable override public class func parse(cssText: String) -> CSSColorValue_or_CSSStyleValue {
26
+ + // returns CSSStyleValue | CSSColorValue
27
+ + @inlinable public class func parse(cssText: String) -> CSSStyleValue {
28
+ let this = constructor!
29
+ return this[Strings.parse].function!(this: this, arguments: [_toJSValue(cssText)]).fromJSValue()!
30
+ }
31
+ @@ -947,7 +954,7 @@ public class CSSNumericValue: CSSStyleValue {
32
+ return this[Strings.type].function!(this: this, arguments: []).fromJSValue()!
33
+ }
34
+
35
+ - @inlinable override public class func parse(cssText: String) -> Self {
36
+ + @inlinable public class func parse(cssText: String) -> Self {
37
+ let this = constructor!
38
+ return this[Strings.parse].function!(this: this, arguments: [_toJSValue(cssText)]).fromJSValue()!
39
+ }
0 commit comments