@react-stately/color
Advanced tools
Comparing version 3.0.0-nightly-641446f65-240905 to 3.0.0-nightly-65e3a52a3-241120
@@ -390,7 +390,3 @@ var $097dc310d9980f22$exports = require("./intlStrings.main.js"); | ||
constructor(red, green, blue, alpha){ | ||
super(); | ||
this.red = red; | ||
this.green = green; | ||
this.blue = blue; | ||
this.alpha = alpha; | ||
super(), this.red = red, this.green = green, this.blue = blue, this.alpha = alpha; | ||
} | ||
@@ -532,7 +528,3 @@ } | ||
constructor(hue, saturation, brightness, alpha){ | ||
super(); | ||
this.hue = hue; | ||
this.saturation = saturation; | ||
this.brightness = brightness; | ||
this.alpha = alpha; | ||
super(), this.hue = hue, this.saturation = saturation, this.brightness = brightness, this.alpha = alpha; | ||
} | ||
@@ -674,7 +666,3 @@ } | ||
constructor(hue, saturation, lightness, alpha){ | ||
super(); | ||
this.hue = hue; | ||
this.saturation = saturation; | ||
this.lightness = lightness; | ||
this.alpha = alpha; | ||
super(), this.hue = hue, this.saturation = saturation, this.lightness = lightness, this.alpha = alpha; | ||
} | ||
@@ -681,0 +669,0 @@ } |
@@ -382,7 +382,3 @@ import $34yyy$intlStringsmodulejs from "./intlStrings.module.js"; | ||
constructor(red, green, blue, alpha){ | ||
super(); | ||
this.red = red; | ||
this.green = green; | ||
this.blue = blue; | ||
this.alpha = alpha; | ||
super(), this.red = red, this.green = green, this.blue = blue, this.alpha = alpha; | ||
} | ||
@@ -524,7 +520,3 @@ } | ||
constructor(hue, saturation, brightness, alpha){ | ||
super(); | ||
this.hue = hue; | ||
this.saturation = saturation; | ||
this.brightness = brightness; | ||
this.alpha = alpha; | ||
super(), this.hue = hue, this.saturation = saturation, this.brightness = brightness, this.alpha = alpha; | ||
} | ||
@@ -666,7 +658,3 @@ } | ||
constructor(hue, saturation, lightness, alpha){ | ||
super(); | ||
this.hue = hue; | ||
this.saturation = saturation; | ||
this.lightness = lightness; | ||
this.alpha = alpha; | ||
super(), this.hue = hue, this.saturation = saturation, this.lightness = lightness, this.alpha = alpha; | ||
} | ||
@@ -673,0 +661,0 @@ } |
@@ -26,3 +26,3 @@ var $83fe1a57d631223b$exports = require("./Color.main.js"); | ||
return (0, $83fe1a57d631223b$exports.parseColor)(value); | ||
} catch (err) { | ||
} catch { | ||
return undefined; | ||
@@ -29,0 +29,0 @@ } |
@@ -20,3 +20,3 @@ import {parseColor as $799cddbef784668f$export$6e865ea70d7724f} from "./Color.module.js"; | ||
return (0, $799cddbef784668f$export$6e865ea70d7724f)(value); | ||
} catch (err) { | ||
} catch { | ||
return undefined; | ||
@@ -23,0 +23,0 @@ } |
@@ -62,3 +62,3 @@ var $83fe1a57d631223b$exports = require("./Color.main.js"); | ||
color = (0, $83fe1a57d631223b$exports.parseColor)(inputValue.startsWith('#') ? inputValue : `#${inputValue}`); | ||
} catch (err) { | ||
} catch { | ||
color = null; | ||
@@ -65,0 +65,0 @@ } |
@@ -56,3 +56,3 @@ import {parseColor as $799cddbef784668f$export$6e865ea70d7724f} from "./Color.module.js"; | ||
color = (0, $799cddbef784668f$export$6e865ea70d7724f)(inputValue.startsWith('#') ? inputValue : `#${inputValue}`); | ||
} catch (err) { | ||
} catch { | ||
color = null; | ||
@@ -59,0 +59,0 @@ } |
{ | ||
"name": "@react-stately/color", | ||
"version": "3.0.0-nightly-641446f65-240905", | ||
"version": "3.0.0-nightly-65e3a52a3-241120", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,15 +25,15 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/number": "^3.0.0-nightly-641446f65-240905", | ||
"@internationalized/string": "^3.0.0-nightly-641446f65-240905", | ||
"@react-aria/i18n": "^3.0.0-nightly-641446f65-240905", | ||
"@react-stately/form": "^3.0.0-nightly-641446f65-240905", | ||
"@react-stately/numberfield": "^3.0.0-nightly-641446f65-240905", | ||
"@react-stately/slider": "^3.0.0-nightly-641446f65-240905", | ||
"@react-stately/utils": "^3.0.0-nightly-641446f65-240905", | ||
"@react-types/color": "3.0.0-nightly-641446f65-240905", | ||
"@react-types/shared": "^3.0.0-nightly-641446f65-240905", | ||
"@internationalized/number": "^3.0.0-nightly-65e3a52a3-241120", | ||
"@internationalized/string": "^3.0.0-nightly-65e3a52a3-241120", | ||
"@react-aria/i18n": "^3.0.0-nightly-65e3a52a3-241120", | ||
"@react-stately/form": "^3.0.0-nightly-65e3a52a3-241120", | ||
"@react-stately/numberfield": "^3.0.0-nightly-65e3a52a3-241120", | ||
"@react-stately/slider": "^3.0.0-nightly-65e3a52a3-241120", | ||
"@react-stately/utils": "^3.0.0-nightly-65e3a52a3-241120", | ||
"@react-types/color": "^3.0.0-nightly-65e3a52a3-241120", | ||
"@react-types/shared": "^3.0.0-nightly-65e3a52a3-241120", | ||
"@swc/helpers": "^0.5.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" | ||
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" | ||
}, | ||
@@ -43,3 +43,3 @@ "publishConfig": { | ||
}, | ||
"stableVersion": "3.7.2" | ||
"stableVersion": "3.8.0" | ||
} |
@@ -22,3 +22,3 @@ /* | ||
return parseColor(value); | ||
} catch (err) { | ||
} catch { | ||
return undefined; | ||
@@ -25,0 +25,0 @@ } |
@@ -104,3 +104,3 @@ /* | ||
color = parseColor(inputValue.startsWith('#') ? inputValue : `#${inputValue}`); | ||
} catch (err) { | ||
} catch { | ||
color = null; | ||
@@ -107,0 +107,0 @@ } |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
789369
10017
+ Added@react-types/color@3.0.2(transitive)
- Removed@react-types/color@3.0.0-nightly-641446f65-240905(transitive)
Updated@internationalized/number@^3.0.0-nightly-65e3a52a3-241120
Updated@internationalized/string@^3.0.0-nightly-65e3a52a3-241120
Updated@react-stately/numberfield@^3.0.0-nightly-65e3a52a3-241120
Updated@react-stately/slider@^3.0.0-nightly-65e3a52a3-241120