|
1 | 1 | /* eslint-disable @typescript-eslint/no-unused-vars */
|
2 |
| -import type { |
3 |
| - ColorPalette, |
4 |
| - SpinnerProps, |
5 |
| - SystemStyleObject, |
6 |
| -} from "@chakra-ui/react"; |
| 2 | +import type { SpinnerProps, SystemStyleObject } from "@chakra-ui/react"; |
7 | 3 | import type { GroupBase, StylesConfig, ThemeConfig } from "react-select";
|
8 | 4 | import type {
|
9 | 5 | ChakraStylesConfig,
|
| 6 | + ColorPaletteProp, |
10 | 7 | SelectedOptionStyle,
|
11 | 8 | SizeProp,
|
12 | 9 | TagVariant,
|
@@ -86,8 +83,9 @@ declare module "react-select/base" {
|
86 | 83 | * @see {@link https://github.com/csandman/chakra-react-select#colorscheme}
|
87 | 84 | * @see {@link https://www.chakra-ui.com/docs/components/tag#colors}
|
88 | 85 | * @see {@link https://www.chakra-ui.com/docs/styling/virtual-color}
|
| 86 | + * @see {@link https://github.com/chakra-ui/chakra-ui/blob/9ecae5c/packages/react/src/styled-system/generated/system.gen.ts#L688} |
89 | 87 | */
|
90 |
| - tagColorPalette?: ColorPalette; |
| 88 | + tagColorPalette?: ColorPaletteProp; |
91 | 89 |
|
92 | 90 | /**
|
93 | 91 | * The `variant` prop that will be forwarded to your `MultiValue` component
|
@@ -122,8 +120,9 @@ declare module "react-select/base" {
|
122 | 120 | * @defaultValue `blue`
|
123 | 121 | * @see {@link https://github.com/csandman/chakra-react-select#selectedoptioncolorpalette--default-blue}
|
124 | 122 | * @see {@link https://www.chakra-ui.com/docs/theming/customization/colors}
|
| 123 | + * @see {@link https://github.com/chakra-ui/chakra-ui/blob/9ecae5c/packages/react/src/styled-system/generated/system.gen.ts#L688} |
125 | 124 | */
|
126 |
| - selectedOptionColorPalette?: ColorPalette; |
| 125 | + selectedOptionColorPalette?: ColorPaletteProp; |
127 | 126 |
|
128 | 127 | /**
|
129 | 128 | * The color value to style the border of the `Control` with when the
|
@@ -207,8 +206,9 @@ declare module "react-select" {
|
207 | 206 | * The color palette of the filled in area of the spinner.
|
208 | 207 | *
|
209 | 208 | * @see {@link https://www.chakra-ui.com/docs/components/spinner#colors}
|
| 209 | + * @see {@link https://github.com/chakra-ui/chakra-ui/blob/9ecae5c/packages/react/src/styled-system/generated/system.gen.ts#L688} |
210 | 210 | */
|
211 |
| - colorPalette?: ColorPalette; |
| 211 | + colorPalette?: ColorPaletteProp; |
212 | 212 |
|
213 | 213 | /**
|
214 | 214 | * The color of the filled in area of the spinner.
|
|
0 commit comments