diff --git a/packages/color-area/package.json b/packages/color-area/package.json index 479df2d424..9e1521240a 100644 --- a/packages/color-area/package.json +++ b/packages/color-area/package.json @@ -62,7 +62,6 @@ "lit-html" ], "dependencies": { - "@ctrl/tinycolor": "^4.0.3", "@spectrum-web-components/base": "^1.0.1", "@spectrum-web-components/color-handle": "^1.0.1", "@spectrum-web-components/opacity-checkerboard": "^1.0.1", diff --git a/packages/color-field/package.json b/packages/color-field/package.json index 3c23a44ef6..c9df0e9323 100644 --- a/packages/color-field/package.json +++ b/packages/color-field/package.json @@ -56,7 +56,6 @@ "lit-html" ], "dependencies": { - "@ctrl/tinycolor": "^4.0.3", "@spectrum-web-components/base": "^1.0.1", "@spectrum-web-components/color-handle": "^1.0.1", "@spectrum-web-components/textfield": "^1.0.3" diff --git a/packages/color-slider/package.json b/packages/color-slider/package.json index eecfb4ede3..536027c8f5 100644 --- a/packages/color-slider/package.json +++ b/packages/color-slider/package.json @@ -62,7 +62,6 @@ "lit-html" ], "dependencies": { - "@ctrl/tinycolor": "^4.0.3", "@spectrum-web-components/base": "^1.0.1", "@spectrum-web-components/color-handle": "^1.0.1", "@spectrum-web-components/opacity-checkerboard": "^1.0.1", diff --git a/packages/color-wheel/package.json b/packages/color-wheel/package.json index 82bc903c32..507f5c9bb0 100644 --- a/packages/color-wheel/package.json +++ b/packages/color-wheel/package.json @@ -62,7 +62,6 @@ "lit-html" ], "dependencies": { - "@ctrl/tinycolor": "^4.0.3", "@spectrum-web-components/base": "^1.0.1", "@spectrum-web-components/color-handle": "^1.0.1", "@spectrum-web-components/reactive-controllers": "^1.0.3", diff --git a/tools/reactive-controllers/package.json b/tools/reactive-controllers/package.json index bf6aacc984..923e548db7 100644 --- a/tools/reactive-controllers/package.json +++ b/tools/reactive-controllers/package.json @@ -85,6 +85,7 @@ ], "dependencies": { "@spectrum-web-components/progress-circle": "^1.0.1", + "colorjs.io": "^0.5.2", "lit": "^3.1.3" }, "types": "./src/index.d.ts", diff --git a/yarn.lock b/yarn.lock index 7227b10cf2..35e130c95e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5592,7 +5592,7 @@ integrity sha512-rGfd7jqXOdR69bEjrRP58ynuIeJU0czPfwQvzhtCzg7jKVukV+efNHqrs086sC6xutB3W4TF71K/dZMr3oyTyg== "@spectrum-web-components/eslint-plugin@file:./linters/eslint": - version "1.0.1" + version "1.0.3" "@storybook/addon-a11y@^7.5.0": version "7.6.20" @@ -8180,7 +8180,7 @@ ajv@^8.6.0, ajv@^8.9.0: require-from-string "^2.0.2" uri-js "^4.2.2" -alex@^11.0.1-color-testing: +alex@^11.0.1: version "11.0.1" resolved "https://registry.yarnpkg.com/alex/-/alex-11.0.1.tgz#ac314ea97ca446b4edabf642762c3ff58febc58e" integrity sha512-rKLBZxD/lvuykdC6XB8ma9YjDl46j9ayHROZUtC1yJ2jlGpoP7RZR1tBBSjtlr260ixIW6iCkqAnHzmti5Q6CQ== @@ -21863,10 +21863,10 @@ postcss@^8.4.23, postcss@^8.4.33, postcss@^8.4.38: picocolors "^1.0.0" source-map-js "^1.2.0" -posthtml-attrs-parser@^1.0.1-color-testing: - version "1.1.1" - resolved "https://registry.yarnpkg.com/posthtml-attrs-parser/-/posthtml-attrs-parser-1.1.1.tgz#fc5c3d25e6be4fcf309db6f7ecfd7ec50ebbfbee" - integrity sha512-yWD1JGaLr5ENrEhUxjqEuSjTkYhX3VVK3ULNeh9Xs+Jqr3c0UGVkerxJg55Uyu036jm5nMsG6rJaBtE5YSf+lw== +posthtml-attrs-parser@^1.0.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/posthtml-attrs-parser/-/posthtml-attrs-parser-1.1.2.tgz#19ce48cdbe0bbb92b4ddbbda44fed3b0d7bafe3b" + integrity sha512-9Que9y4k8c33iv8h5QyTfHKlurmsJIscozy7oeFRxuWeX/osXjVGu9o9MKrmo4TI6Vr9a9vh9b4LYXqm3/GvhA== posthtml-match-helper@^2.0.0: version "2.0.0" @@ -24336,7 +24336,16 @@ string-similarity@^4.0.4: resolved "https://registry.yarnpkg.com/string-similarity/-/string-similarity-4.0.4.tgz#42d01ab0b34660ea8a018da8f56a3309bb8b2a5b" integrity sha512-/q/8Q4Bl4ZKAPjj8WerIBJWALKkaPRfrvhfF8k/B23i4nzrlRj2/go1m90In7nG/3XDSbOo0+pu6RvCTM9RGMQ== -"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -24474,7 +24483,7 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -24507,6 +24516,13 @@ strip-ansi@^5.1.0: dependencies: ansi-regex "^4.1.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.0, strip-ansi@^7.0.1, strip-ansi@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -27129,7 +27145,7 @@ workbox-window@7.0.0: "@types/trusted-types" "^2.0.2" workbox-core "7.0.0" -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -27147,6 +27163,15 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"