@react-stately/color
Advanced tools
Comparing version 3.0.0-nightly-25f304dea-241008 to 3.0.0-nightly-262cc758b-241114
@@ -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-25f304dea-241008", | ||
"version": "3.0.0-nightly-262cc758b-241114", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,11 +25,11 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/number": "^3.0.0-nightly-25f304dea-241008", | ||
"@internationalized/string": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-aria/i18n": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-stately/form": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-stately/numberfield": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-stately/slider": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-stately/utils": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-types/color": "^3.0.0-nightly-25f304dea-241008", | ||
"@react-types/shared": "^3.0.0-nightly-25f304dea-241008", | ||
"@internationalized/number": "^3.0.0-nightly-262cc758b-241114", | ||
"@internationalized/string": "^3.0.0-nightly-262cc758b-241114", | ||
"@react-aria/i18n": "^3.0.0-nightly-262cc758b-241114", | ||
"@react-stately/form": "^3.0.0-nightly-262cc758b-241114", | ||
"@react-stately/numberfield": "^3.0.0-nightly-262cc758b-241114", | ||
"@react-stately/slider": "^3.0.0-nightly-262cc758b-241114", | ||
"@react-stately/utils": "^3.0.0-nightly-262cc758b-241114", | ||
"@react-types/color": "^3.0.0-nightly-262cc758b-241114", | ||
"@react-types/shared": "^3.0.0-nightly-262cc758b-241114", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -36,0 +36,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
790734