@zendeskgarden/react-colorpickers 8.69.1 → 8.69.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/index.cjs.js +22 -22
  2. package/dist/index.esm.js +22 -22
  3. package/dist/typings/elements/ColorSwatch/index.d.ts +12 -12
  4. package/dist/typings/elements/ColorSwatchDialog/index.d.ts +12 -12
  5. package/dist/typings/elements/Colorpicker/ColorWell.d.ts +16 -16
  6. package/dist/typings/elements/Colorpicker/index.d.ts +12 -12
  7. package/dist/typings/elements/Colorpicker/reducer.d.ts +48 -48
  8. package/dist/typings/elements/ColorpickerDialog/index.d.ts +12 -12
  9. package/dist/typings/index.d.ts +11 -11
  10. package/dist/typings/styled/ColorSwatch/StyledCell.d.ts +10 -10
  11. package/dist/typings/styled/ColorSwatch/StyledColorSwatch.d.ts +14 -14
  12. package/dist/typings/styled/ColorSwatch/StyledIcon.d.ts +12 -12
  13. package/dist/typings/styled/ColorSwatch/StyledSwatchButton.d.ts +8 -8
  14. package/dist/typings/styled/Colorpicker/StyledAlphaRange.d.ts +9 -9
  15. package/dist/typings/styled/Colorpicker/StyledColorPicker.d.ts +15 -15
  16. package/dist/typings/styled/Colorpicker/StyledColorWell.d.ts +12 -12
  17. package/dist/typings/styled/Colorpicker/StyledColorWellThumb.d.ts +13 -13
  18. package/dist/typings/styled/Colorpicker/StyledHexField.d.ts +14 -14
  19. package/dist/typings/styled/Colorpicker/StyledHueRange.d.ts +11 -11
  20. package/dist/typings/styled/Colorpicker/StyledInput.d.ts +11 -11
  21. package/dist/typings/styled/Colorpicker/StyledInputGroup.d.ts +10 -10
  22. package/dist/typings/styled/Colorpicker/StyledLabel.d.ts +10 -10
  23. package/dist/typings/styled/Colorpicker/StyledPreview.d.ts +13 -13
  24. package/dist/typings/styled/Colorpicker/StyledRGBAField.d.ts +11 -11
  25. package/dist/typings/styled/Colorpicker/StyledSliderGroup.d.ts +10 -10
  26. package/dist/typings/styled/Colorpicker/StyledSliders.d.ts +14 -14
  27. package/dist/typings/styled/ColorpickerDialog/StyledButton.d.ts +15 -15
  28. package/dist/typings/styled/ColorpickerDialog/StyledButtonPreview.d.ts +12 -12
  29. package/dist/typings/styled/ColorpickerDialog/StyledTooltipBody.d.ts +10 -10
  30. package/dist/typings/styled/ColorpickerDialog/StyledTooltipModal.d.ts +13 -13
  31. package/dist/typings/styled/common/StyledRange.d.ts +18 -18
  32. package/dist/typings/styled/common/checkeredBackground.d.ts +8 -8
  33. package/dist/typings/styled/index.d.ts +27 -27
  34. package/dist/typings/types/index.d.ts +176 -176
  35. package/dist/typings/utils/conversion.d.ts +16 -16
  36. package/dist/typings/utils/saturation.d.ts +13 -13
  37. package/dist/typings/utils/validation.d.ts +7 -7
  38. package/package.json +7 -7
@@ -1,14 +1,14 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- /**
8
- * 1. Override Bedrock CSS
9
- */
10
- export declare const StyledColorSwatch: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
11
- 'data-garden-id': string;
12
- 'data-garden-version': string;
13
- role: "grid";
14
- }, "role" | "data-garden-id" | "data-garden-version">;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ /**
8
+ * 1. Override Bedrock CSS
9
+ */
10
+ export declare const StyledColorSwatch: import("styled-components").StyledComponent<"table", import("styled-components").DefaultTheme, {
11
+ 'data-garden-id': string;
12
+ 'data-garden-version': string;
13
+ role: "grid";
14
+ }, "role" | "data-garden-id" | "data-garden-version">;
@@ -1,12 +1,12 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { DefaultTheme } from 'styled-components';
8
- import React from 'react';
9
- export declare const StyledIcon: import("styled-components").StyledComponent<({ children, color, theme, ...props }: any) => React.DetailedReactHTMLElement<any, HTMLElement>, DefaultTheme, {
10
- 'data-garden-id': string;
11
- 'data-garden-version': string;
12
- }, "data-garden-id" | "data-garden-version">;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ import React from 'react';
9
+ export declare const StyledIcon: import("styled-components").StyledComponent<({ children, color, theme, ...props }: any) => React.DetailedReactHTMLElement<any, HTMLElement>, DefaultTheme, {
10
+ 'data-garden-id': string;
11
+ 'data-garden-version': string;
12
+ }, "data-garden-id" | "data-garden-version">;
@@ -1,8 +1,8 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { IStyleButtonPreviewProps } from '../ColorpickerDialog/StyledButtonPreview';
8
- export declare const StyledSwatchButton: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, IStyleButtonPreviewProps, never>;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { IStyleButtonPreviewProps } from '../ColorpickerDialog/StyledButtonPreview';
8
+ export declare const StyledSwatchButton: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, IStyleButtonPreviewProps, never>;
@@ -1,9 +1,9 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { DefaultTheme } from 'styled-components';
8
- import { IRGBColor } from '../../types';
9
- export declare const StyledAlphaRange: import("styled-components").StyledComponent<"input", DefaultTheme, IRGBColor, never>;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ import { IRGBColor } from '../../types';
9
+ export declare const StyledAlphaRange: import("styled-components").StyledComponent<"input", DefaultTheme, IRGBColor, never>;
@@ -1,15 +1,15 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- interface IStyledColorPickerProps {
8
- isOpaque?: boolean;
9
- }
10
- export declare const getColorPickerWidth: (props: IStyledColorPickerProps) => 268 | 312;
11
- export declare const StyledColorPicker: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
12
- 'data-garden-id': string;
13
- 'data-garden-version': string;
14
- } & IStyledColorPickerProps, "data-garden-id" | "data-garden-version">;
15
- export {};
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ interface IStyledColorPickerProps {
8
+ isOpaque?: boolean;
9
+ }
10
+ export declare const getColorPickerWidth: (props: IStyledColorPickerProps) => 268 | 312;
11
+ export declare const StyledColorPicker: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
12
+ 'data-garden-id': string;
13
+ 'data-garden-version': string;
14
+ } & IStyledColorPickerProps, "data-garden-id" | "data-garden-version">;
15
+ export {};
@@ -1,12 +1,12 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { DefaultTheme } from 'styled-components';
8
- interface IStyledColorWellProps {
9
- hue: number;
10
- }
11
- export declare const StyledColorWell: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledColorWellProps, never>;
12
- export {};
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ interface IStyledColorWellProps {
9
+ hue: number;
10
+ }
11
+ export declare const StyledColorWell: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledColorWellProps, never>;
12
+ export {};
@@ -1,13 +1,13 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { DefaultTheme } from 'styled-components';
8
- interface IStyledSaturationPointerProps {
9
- top: number;
10
- left: number;
11
- }
12
- export declare const StyledColorWellThumb: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledSaturationPointerProps, never>;
13
- export {};
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ interface IStyledSaturationPointerProps {
9
+ top: number;
10
+ left: number;
11
+ }
12
+ export declare const StyledColorWellThumb: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledSaturationPointerProps, never>;
13
+ export {};
@@ -1,14 +1,14 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- /**
8
- * 1. IE11 reset.
9
- */
10
- export declare const StyledHexField: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
11
- 'data-garden-id': string;
12
- 'data-garden-version': string;
13
- spellcheck: boolean;
14
- }, "data-garden-id" | "data-garden-version" | "spellcheck">;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ /**
8
+ * 1. IE11 reset.
9
+ */
10
+ export declare const StyledHexField: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
11
+ 'data-garden-id': string;
12
+ 'data-garden-version': string;
13
+ spellcheck: boolean;
14
+ }, "data-garden-id" | "data-garden-version" | "spellcheck">;
@@ -1,11 +1,11 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { IStyledRangeProps } from '../common/StyledRange';
8
- export declare const StyledHueRange: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {
9
- 'data-garden-id': string;
10
- 'data-garden-version': string;
11
- } & IStyledRangeProps, "data-garden-id" | "data-garden-version">;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { IStyledRangeProps } from '../common/StyledRange';
8
+ export declare const StyledHueRange: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {
9
+ 'data-garden-id': string;
10
+ 'data-garden-version': string;
11
+ } & IStyledRangeProps, "data-garden-id" | "data-garden-version">;
@@ -1,11 +1,11 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- export declare const StyledInput: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- focusInset: boolean;
11
- }, string | number | symbol>;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ export declare const StyledInput: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & {
8
+ 'data-garden-id': string;
9
+ 'data-garden-version': string;
10
+ focusInset: boolean;
11
+ }, string | number | symbol>;
@@ -1,10 +1,10 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- export declare const StyledInputGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ export declare const StyledInputGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
+ 'data-garden-id': string;
9
+ 'data-garden-version': string;
10
+ }, "data-garden-id" | "data-garden-version">;
@@ -1,10 +1,10 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- export declare const StyledLabel: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, string | number | symbol>;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ export declare const StyledLabel: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & {
8
+ 'data-garden-id': string;
9
+ 'data-garden-version': string;
10
+ }, string | number | symbol>;
@@ -1,13 +1,13 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { DefaultTheme } from 'styled-components';
8
- import { IRGBColor } from '../../types';
9
- interface IStyledColorPreviewProps extends IRGBColor {
10
- isOpaque?: boolean;
11
- }
12
- export declare const StyledPreview: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledColorPreviewProps, never>;
13
- export {};
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ import { IRGBColor } from '../../types';
9
+ interface IStyledColorPreviewProps extends IRGBColor {
10
+ isOpaque?: boolean;
11
+ }
12
+ export declare const StyledPreview: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledColorPreviewProps, never>;
13
+ export {};
@@ -1,11 +1,11 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { DefaultTheme } from 'styled-components';
8
- export declare const StyledRGBAField: import("styled-components").StyledComponent<"div", DefaultTheme, {
9
- 'data-garden-id': string;
10
- 'data-garden-version': string;
11
- }, "data-garden-id" | "data-garden-version">;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ export declare const StyledRGBAField: import("styled-components").StyledComponent<"div", DefaultTheme, {
9
+ 'data-garden-id': string;
10
+ 'data-garden-version': string;
11
+ }, "data-garden-id" | "data-garden-version">;
@@ -1,10 +1,10 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- export declare const StyledSliderGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ export declare const StyledSliderGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
+ 'data-garden-id': string;
9
+ 'data-garden-version': string;
10
+ }, "data-garden-id" | "data-garden-version">;
@@ -1,14 +1,14 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- interface IStyledSlidersProps {
8
- isOpaque?: boolean;
9
- }
10
- export declare const StyledSliders: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
11
- 'data-garden-id': string;
12
- 'data-garden-version': string;
13
- } & IStyledSlidersProps, "data-garden-id" | "data-garden-version">;
14
- export {};
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ interface IStyledSlidersProps {
8
+ isOpaque?: boolean;
9
+ }
10
+ export declare const StyledSliders: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
11
+ 'data-garden-id': string;
12
+ 'data-garden-version': string;
13
+ } & IStyledSlidersProps, "data-garden-id" | "data-garden-version">;
14
+ export {};
@@ -1,15 +1,15 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- /**
8
- * 1. IE11 group width override.
9
- * 2. Input group border overrides.
10
- */
11
- export declare const StyledButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & {
12
- isNeutral: boolean;
13
- 'data-garden-id': string;
14
- 'data-garden-version': string;
15
- }, string | number | symbol>;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ /**
8
+ * 1. IE11 group width override.
9
+ * 2. Input group border overrides.
10
+ */
11
+ export declare const StyledButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & {
12
+ isNeutral: boolean;
13
+ 'data-garden-id': string;
14
+ 'data-garden-version': string;
15
+ }, string | number | symbol>;
@@ -1,12 +1,12 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { ThemeProps, DefaultTheme } from 'styled-components';
8
- import { IColorpickerDialogProps } from '../../types';
9
- export interface IStyleButtonPreviewProps extends ThemeProps<DefaultTheme> {
10
- backgroundColor?: IColorpickerDialogProps['color'];
11
- }
12
- export declare const StyledButtonPreview: import("styled-components").StyledComponent<"span", DefaultTheme, IStyleButtonPreviewProps, never>;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { ThemeProps, DefaultTheme } from 'styled-components';
8
+ import { IColorpickerDialogProps } from '../../types';
9
+ export interface IStyleButtonPreviewProps extends ThemeProps<DefaultTheme> {
10
+ backgroundColor?: IColorpickerDialogProps['color'];
11
+ }
12
+ export declare const StyledButtonPreview: import("styled-components").StyledComponent<"span", DefaultTheme, IStyleButtonPreviewProps, never>;
@@ -1,10 +1,10 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- export declare const StyledTooltipBody: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ export declare const StyledTooltipBody: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
+ 'data-garden-id': string;
9
+ 'data-garden-version': string;
10
+ }, "data-garden-id" | "data-garden-version">;
@@ -1,13 +1,13 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- /**
8
- * 1. Override default TooltipModal styling
9
- */
10
- export declare const StyledTooltipModal: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & {
11
- 'data-garden-id': string;
12
- 'data-garden-version': string;
13
- }, string | number | symbol>;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ /**
8
+ * 1. Override default TooltipModal styling
9
+ */
10
+ export declare const StyledTooltipModal: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & {
11
+ 'data-garden-id': string;
12
+ 'data-garden-version': string;
13
+ }, string | number | symbol>;
@@ -1,18 +1,18 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { ThemeProps, DefaultTheme } from 'styled-components';
8
- export interface IStyledRangeProps {
9
- isOpaque?: boolean;
10
- }
11
- export declare const trackStyles: (styles: string, modifier?: string) => string;
12
- export declare const getTrackHeight: (props: IStyledRangeProps & ThemeProps<DefaultTheme>) => number;
13
- export declare const getTrackMargin: (props: IStyledRangeProps & ThemeProps<DefaultTheme>) => number;
14
- export declare const StyledRange: import("styled-components").StyledComponent<"input", DefaultTheme, {
15
- 'data-garden-id': string;
16
- 'data-garden-version': string;
17
- hasLowerTrack: boolean;
18
- }, "data-garden-id" | "data-garden-version" | "hasLowerTrack">;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { ThemeProps, DefaultTheme } from 'styled-components';
8
+ export interface IStyledRangeProps {
9
+ isOpaque?: boolean;
10
+ }
11
+ export declare const trackStyles: (styles: string, modifier?: string) => string;
12
+ export declare const getTrackHeight: (props: IStyledRangeProps & ThemeProps<DefaultTheme>) => number;
13
+ export declare const getTrackMargin: (props: IStyledRangeProps & ThemeProps<DefaultTheme>) => number;
14
+ export declare const StyledRange: import("styled-components").StyledComponent<"input", DefaultTheme, {
15
+ 'data-garden-id': string;
16
+ 'data-garden-version': string;
17
+ hasLowerTrack: boolean;
18
+ }, "data-garden-id" | "data-garden-version" | "hasLowerTrack">;
@@ -1,8 +1,8 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- import { DefaultTheme } from 'styled-components';
8
- export declare const checkeredBackground: (theme: DefaultTheme, size: number, positionY?: number, repeat?: string) => string;
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ import { DefaultTheme } from 'styled-components';
8
+ export declare const checkeredBackground: (theme: DefaultTheme, size: number, positionY?: number, repeat?: string) => string;
@@ -1,27 +1,27 @@
1
- /**
2
- * Copyright Zendesk, Inc.
3
- *
4
- * Use of this source code is governed under the Apache License, Version 2.0
5
- * found at http://www.apache.org/licenses/LICENSE-2.0.
6
- */
7
- export * from './Colorpicker/StyledColorPicker';
8
- export * from './Colorpicker/StyledHueRange';
9
- export * from './Colorpicker/StyledAlphaRange';
10
- export * from './Colorpicker/StyledPreview';
11
- export * from './Colorpicker/StyledColorWell';
12
- export * from './Colorpicker/StyledColorWellThumb';
13
- export * from './Colorpicker/StyledSliderGroup';
14
- export * from './Colorpicker/StyledHexField';
15
- export * from './Colorpicker/StyledLabel';
16
- export * from './Colorpicker/StyledInput';
17
- export * from './Colorpicker/StyledInputGroup';
18
- export * from './Colorpicker/StyledRGBAField';
19
- export * from './Colorpicker/StyledSliders';
20
- export * from './ColorpickerDialog/StyledButton';
21
- export * from './ColorpickerDialog/StyledButtonPreview';
22
- export * from './ColorpickerDialog/StyledTooltipModal';
23
- export * from './ColorpickerDialog/StyledTooltipBody';
24
- export * from './ColorSwatch/StyledSwatchButton';
25
- export * from './ColorSwatch/StyledColorSwatch';
26
- export * from './ColorSwatch/StyledIcon';
27
- export * from './ColorSwatch/StyledCell';
1
+ /**
2
+ * Copyright Zendesk, Inc.
3
+ *
4
+ * Use of this source code is governed under the Apache License, Version 2.0
5
+ * found at http://www.apache.org/licenses/LICENSE-2.0.
6
+ */
7
+ export * from './Colorpicker/StyledColorPicker';
8
+ export * from './Colorpicker/StyledHueRange';
9
+ export * from './Colorpicker/StyledAlphaRange';
10
+ export * from './Colorpicker/StyledPreview';
11
+ export * from './Colorpicker/StyledColorWell';
12
+ export * from './Colorpicker/StyledColorWellThumb';
13
+ export * from './Colorpicker/StyledSliderGroup';
14
+ export * from './Colorpicker/StyledHexField';
15
+ export * from './Colorpicker/StyledLabel';
16
+ export * from './Colorpicker/StyledInput';
17
+ export * from './Colorpicker/StyledInputGroup';
18
+ export * from './Colorpicker/StyledRGBAField';
19
+ export * from './Colorpicker/StyledSliders';
20
+ export * from './ColorpickerDialog/StyledButton';
21
+ export * from './ColorpickerDialog/StyledButtonPreview';
22
+ export * from './ColorpickerDialog/StyledTooltipModal';
23
+ export * from './ColorpickerDialog/StyledTooltipBody';
24
+ export * from './ColorSwatch/StyledSwatchButton';
25
+ export * from './ColorSwatch/StyledColorSwatch';
26
+ export * from './ColorSwatch/StyledIcon';
27
+ export * from './ColorSwatch/StyledCell';