From 67d77e60616ce16c73e99d9b193c9135969e4920 Mon Sep 17 00:00:00 2001 From: Johannes Schill Date: Mon, 8 Oct 2018 20:55:30 +0200 Subject: [PATCH] Bump react-select to 2.1.0 #13425 --- package.json | 2 +- .../__snapshots__/TeamPicker.test.tsx.snap | 29 +++++++++++++++++++ .../__snapshots__/UserPicker.test.tsx.snap | 29 +++++++++++++++++++ 3 files changed, 59 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4be2ecb2300..b2ba7fba1ab 100644 --- a/package.json +++ b/package.json @@ -158,7 +158,7 @@ "react-highlight-words": "^0.10.0", "react-popper": "^0.7.5", "react-redux": "^5.0.7", - "react-select": "^2.0.0", + "react-select": "2.1.0", "react-sizeme": "^2.3.6", "react-transition-group": "^2.2.1", "redux": "^4.0.0", diff --git a/public/app/core/components/Picker/__snapshots__/TeamPicker.test.tsx.snap b/public/app/core/components/Picker/__snapshots__/TeamPicker.test.tsx.snap index 69db112907e..570d6001a8c 100644 --- a/public/app/core/components/Picker/__snapshots__/TeamPicker.test.tsx.snap +++ b/public/app/core/components/Picker/__snapshots__/TeamPicker.test.tsx.snap @@ -57,6 +57,35 @@ exports[`TeamPicker renders correctly 1`] = ` } } tabIndex="0" + theme={ + Object { + "borderRadius": 4, + "colors": Object { + "danger": "#DE350B", + "dangerLight": "#FFBDAD", + "neutral0": "hsl(0, 0%, 100%)", + "neutral10": "hsl(0, 0%, 90%)", + "neutral20": "hsl(0, 0%, 80%)", + "neutral30": "hsl(0, 0%, 70%)", + "neutral40": "hsl(0, 0%, 60%)", + "neutral5": "hsl(0, 0%, 95%)", + "neutral50": "hsl(0, 0%, 50%)", + "neutral60": "hsl(0, 0%, 40%)", + "neutral70": "hsl(0, 0%, 30%)", + "neutral80": "hsl(0, 0%, 20%)", + "neutral90": "hsl(0, 0%, 10%)", + "primary": "#2684FF", + "primary25": "#DEEBFF", + "primary50": "#B2D4FF", + "primary75": "#4C9AFF", + }, + "spacing": Object { + "baseUnit": 4, + "controlHeight": 38, + "menuGutter": 8, + }, + } + } type="text" value="" /> diff --git a/public/app/core/components/Picker/__snapshots__/UserPicker.test.tsx.snap b/public/app/core/components/Picker/__snapshots__/UserPicker.test.tsx.snap index bdf12c03cd7..7b4c869c1b9 100644 --- a/public/app/core/components/Picker/__snapshots__/UserPicker.test.tsx.snap +++ b/public/app/core/components/Picker/__snapshots__/UserPicker.test.tsx.snap @@ -57,6 +57,35 @@ exports[`UserPicker renders correctly 1`] = ` } } tabIndex="0" + theme={ + Object { + "borderRadius": 4, + "colors": Object { + "danger": "#DE350B", + "dangerLight": "#FFBDAD", + "neutral0": "hsl(0, 0%, 100%)", + "neutral10": "hsl(0, 0%, 90%)", + "neutral20": "hsl(0, 0%, 80%)", + "neutral30": "hsl(0, 0%, 70%)", + "neutral40": "hsl(0, 0%, 60%)", + "neutral5": "hsl(0, 0%, 95%)", + "neutral50": "hsl(0, 0%, 50%)", + "neutral60": "hsl(0, 0%, 40%)", + "neutral70": "hsl(0, 0%, 30%)", + "neutral80": "hsl(0, 0%, 20%)", + "neutral90": "hsl(0, 0%, 10%)", + "primary": "#2684FF", + "primary25": "#DEEBFF", + "primary50": "#B2D4FF", + "primary75": "#4C9AFF", + }, + "spacing": Object { + "baseUnit": 4, + "controlHeight": 38, + "menuGutter": 8, + }, + } + } type="text" value="" />