@react-stately/color
Advanced tools
Comparing version 3.0.0-nightly-8ab4f20de-240913 to 3.0.0-nightly-90b6fd4f7-250221
@@ -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-8ab4f20de-240913", | ||
"version": "3.0.0-nightly-90b6fd4f7-250221", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,20 +25,18 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/number": "^3.0.0-nightly-8ab4f20de-240913", | ||
"@internationalized/string": "^3.0.0-nightly-8ab4f20de-240913", | ||
"@react-aria/i18n": "^3.0.0-nightly-8ab4f20de-240913", | ||
"@react-stately/form": "^3.0.0-nightly-8ab4f20de-240913", | ||
"@react-stately/numberfield": "^3.0.0-nightly-8ab4f20de-240913", | ||
"@react-stately/slider": "^3.0.0-nightly-8ab4f20de-240913", | ||
"@react-stately/utils": "^3.0.0-nightly-8ab4f20de-240913", | ||
"@react-types/color": "3.0.0-nightly-8ab4f20de-240913", | ||
"@react-types/shared": "^3.0.0-nightly-8ab4f20de-240913", | ||
"@internationalized/number": "3.0.0-nightly-90b6fd4f7-250221", | ||
"@internationalized/string": "3.0.0-nightly-90b6fd4f7-250221", | ||
"@react-stately/form": "3.0.0-nightly-90b6fd4f7-250221", | ||
"@react-stately/numberfield": "3.0.0-nightly-90b6fd4f7-250221", | ||
"@react-stately/slider": "3.0.0-nightly-90b6fd4f7-250221", | ||
"@react-stately/utils": "3.0.0-nightly-90b6fd4f7-250221", | ||
"@react-types/color": "3.0.0-nightly-90b6fd4f7-250221", | ||
"@react-types/shared": "3.0.0-nightly-90b6fd4f7-250221", | ||
"@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" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"stableVersion": "3.7.2" | ||
} | ||
} |
@@ -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
10
789274
10017
+ Added@internationalized/number@3.0.0-nightly-90b6fd4f7-250221(transitive)
+ Added@internationalized/string@3.0.0-nightly-90b6fd4f7-250221(transitive)
+ Added@react-stately/form@3.0.0-nightly-90b6fd4f7-250221(transitive)
+ Added@react-stately/numberfield@3.0.0-nightly-90b6fd4f7-250221(transitive)
+ Added@react-stately/slider@3.0.0-nightly-90b6fd4f7-250221(transitive)
+ Added@react-stately/utils@3.0.0-nightly-90b6fd4f7-250221(transitive)
+ Added@react-types/color@3.0.0-nightly-90b6fd4f7-250221(transitive)
+ Added@react-types/numberfield@3.0.0-nightly-90b6fd4f7-250221(transitive)
+ Added@react-types/shared@3.0.0-nightly-90b6fd4f7-250221(transitive)
+ Added@react-types/slider@3.0.0-nightly-90b6fd4f7-250221(transitive)
- Removed@formatjs/ecma402-abstract@2.3.3(transitive)
- Removed@formatjs/fast-memoize@2.2.6(transitive)
- Removed@formatjs/icu-messageformat-parser@2.11.1(transitive)
- Removed@formatjs/icu-skeleton-parser@1.8.13(transitive)
- Removed@formatjs/intl-localematcher@0.6.0(transitive)
- Removed@internationalized/date@3.7.0(transitive)
- Removed@internationalized/message@3.1.6(transitive)
- Removed@internationalized/number@3.6.0(transitive)
- Removed@internationalized/string@3.2.5(transitive)
- Removed@react-aria/i18n@3.12.5(transitive)
- Removed@react-aria/ssr@3.9.7(transitive)
- Removed@react-aria/utils@3.27.0(transitive)
- Removed@react-stately/form@3.1.1(transitive)
- Removed@react-stately/numberfield@3.9.9(transitive)
- Removed@react-stately/slider@3.6.1(transitive)
- Removed@react-stately/utils@3.10.5(transitive)
- Removed@react-types/color@3.0.0-nightly-8ab4f20de-240913(transitive)
- Removed@react-types/numberfield@3.8.8(transitive)
- Removed@react-types/shared@3.27.0(transitive)
- Removed@react-types/slider@3.7.8(transitive)
- Removedclsx@2.1.1(transitive)
- Removeddecimal.js@10.5.0(transitive)
- Removedintl-messageformat@10.7.15(transitive)
- Removedreact-dom@19.0.0(transitive)
- Removedscheduler@0.25.0(transitive)
Updated@internationalized/number@3.0.0-nightly-90b6fd4f7-250221
Updated@internationalized/string@3.0.0-nightly-90b6fd4f7-250221
Updated@react-stately/numberfield@3.0.0-nightly-90b6fd4f7-250221