@react-stately/color
Advanced tools
Comparing version 3.0.0-nightly-533a02fe1-241009 to 3.0.0-nightly-56e575731-241121
@@ -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-533a02fe1-241009", | ||
"version": "3.0.0-nightly-56e575731-241121", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,15 +25,15 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/number": "^3.0.0-nightly-533a02fe1-241009", | ||
"@internationalized/string": "^3.0.0-nightly-533a02fe1-241009", | ||
"@react-aria/i18n": "^3.0.0-nightly-533a02fe1-241009", | ||
"@react-stately/form": "^3.0.0-nightly-533a02fe1-241009", | ||
"@react-stately/numberfield": "^3.0.0-nightly-533a02fe1-241009", | ||
"@react-stately/slider": "^3.0.0-nightly-533a02fe1-241009", | ||
"@react-stately/utils": "^3.0.0-nightly-533a02fe1-241009", | ||
"@react-types/color": "^3.0.0-nightly-533a02fe1-241009", | ||
"@react-types/shared": "^3.0.0-nightly-533a02fe1-241009", | ||
"@internationalized/number": "^3.0.0-nightly-56e575731-241121", | ||
"@internationalized/string": "^3.0.0-nightly-56e575731-241121", | ||
"@react-aria/i18n": "^3.0.0-nightly-56e575731-241121", | ||
"@react-stately/form": "^3.0.0-nightly-56e575731-241121", | ||
"@react-stately/numberfield": "^3.0.0-nightly-56e575731-241121", | ||
"@react-stately/slider": "^3.0.0-nightly-56e575731-241121", | ||
"@react-stately/utils": "^3.0.0-nightly-56e575731-241121", | ||
"@react-types/color": "^3.0.0-nightly-56e575731-241121", | ||
"@react-types/shared": "^3.0.0-nightly-56e575731-241121", | ||
"@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.8.0" | ||
"stableVersion": "3.8.1" | ||
} |
@@ -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
789369
10017