Skip to content

Commit be4445f

Browse files
chore(deps): add tinycolor2 (#576)
* chore(deps): add tinycolor2 * chore: update snapshot --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 5ba98e4 commit be4445f

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
"@types/react": "^17.0.2",
9797
"@types/react-dom": "17.0.2",
9898
"@types/react-transition-group": "^4.4.4",
99+
"@types/tinycolor2": "^1.4.6",
99100
"@typescript-eslint/eslint-plugin": "^5.6.0",
100101
"@typescript-eslint/parser": "^5.6.0",
101102
"@vitejs/plugin-react": "^1.1.1",
@@ -170,7 +171,8 @@
170171
"react-spring": "9.6.1",
171172
"react-transition-group": "^4.4.2",
172173
"smoothscroll-polyfill": "^0.4.4",
173-
"tdesign-icons-react": "^0.4.3"
174+
"tdesign-icons-react": "^0.4.3",
175+
"tinycolor2": "^1.6.0"
174176
},
175177
"config": {
176178
"commitizen": {

test/snap/__snapshots__/csr.test.jsx.snap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26184,6 +26184,7 @@ exports[`csr snapshot test > csr test src/color-picker/_example/format.tsx 1`] =
2618426184
>
2618526185
<div
2618626186
class="t-color-picker__slider-padding"
26187+
style="background: linear-gradient(90deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.0) 93%, rgb(123, 214, 11) 93%, rgb(123, 214, 11) 100%;"
2618726188
/>
2618826189
<div
2618926190
class="t-color-picker__slider"
@@ -26512,6 +26513,7 @@ exports[`csr snapshot test > csr test src/color-picker/_example/index.tsx 1`] =
2651226513
>
2651326514
<div
2651426515
class="t-color-picker__slider-padding"
26516+
style="background: linear-gradient(90deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.0) 93%, rgb(0, 31, 151) 93%, rgb(0, 31, 151) 100%;"
2651526517
/>
2651626518
<div
2651726519
class="t-color-picker__slider"
@@ -26716,6 +26718,7 @@ exports[`csr snapshot test > csr test src/color-picker/_example/index.tsx 1`] =
2671626718
>
2671726719
<div
2671826720
class="t-color-picker__slider-padding"
26721+
style="background: linear-gradient(90deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.0) 93%, rgb(0, 31, 151) 93%, rgb(0, 31, 151) 100%;"
2671926722
/>
2672026723
<div
2672126724
class="t-color-picker__slider"
@@ -26994,6 +26997,7 @@ exports[`csr snapshot test > csr test src/color-picker/_example/index.tsx 1`] =
2699426997
>
2699526998
<div
2699626999
class="t-color-picker__slider-padding"
27000+
style="background: linear-gradient(90deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.0) 93%, rgb(123, 214, 11) 93%, rgb(123, 214, 11) 100%;"
2699727001
/>
2699827002
<div
2699927003
class="t-color-picker__slider"
@@ -27185,6 +27189,7 @@ exports[`csr snapshot test > csr test src/color-picker/_example/multiple.tsx 1`]
2718527189
>
2718627190
<div
2718727191
class="t-color-picker__slider-padding"
27192+
style="background: linear-gradient(90deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.0) 93%, rgb(0, 31, 151) 93%, rgb(0, 31, 151) 100%;"
2718827193
/>
2718927194
<div
2719027195
class="t-color-picker__slider"
@@ -27386,6 +27391,7 @@ exports[`csr snapshot test > csr test src/color-picker/_example/usePopup.tsx 1`]
2738627391
>
2738727392
<div
2738827393
class="t-color-picker__slider-padding"
27394+
style="background: linear-gradient(90deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.0) 93%, rgb(0, 31, 151) 93%, rgb(0, 31, 151) 100%;"
2738927395
/>
2739027396
<div
2739127397
class="t-color-picker__slider"

0 commit comments

Comments
 (0)