@zendeskgarden/react-colorpickers 9.1.2 → 9.3.0

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 (49) hide show
  1. package/dist/esm/elements/ColorSwatch/index.js +2 -1
  2. package/dist/esm/styled/ColorPicker/StyledAlphaRange.js +1 -1
  3. package/dist/esm/styled/ColorPicker/StyledColorPicker.js +1 -1
  4. package/dist/esm/styled/ColorPicker/StyledColorWell.js +1 -1
  5. package/dist/esm/styled/ColorPicker/StyledColorWellThumb.js +1 -1
  6. package/dist/esm/styled/ColorPicker/StyledHexField.js +1 -1
  7. package/dist/esm/styled/ColorPicker/StyledHueRange.js +1 -1
  8. package/dist/esm/styled/ColorPicker/StyledInput.js +1 -1
  9. package/dist/esm/styled/ColorPicker/StyledInputGroup.js +1 -1
  10. package/dist/esm/styled/ColorPicker/StyledLabel.js +1 -1
  11. package/dist/esm/styled/ColorPicker/StyledPreview.js +1 -1
  12. package/dist/esm/styled/ColorPicker/StyledRGBAField.js +1 -1
  13. package/dist/esm/styled/ColorPicker/StyledSliderGroup.js +1 -1
  14. package/dist/esm/styled/ColorPicker/StyledSliders.js +1 -1
  15. package/dist/esm/styled/ColorPickerDialog/StyledButton.js +1 -1
  16. package/dist/esm/styled/ColorPickerDialog/StyledButtonPreview.js +1 -1
  17. package/dist/esm/styled/ColorPickerDialog/StyledTooltipBody.js +1 -1
  18. package/dist/esm/styled/ColorPickerDialog/StyledTooltipDialog.js +1 -1
  19. package/dist/esm/styled/ColorSwatch/StyledCell.js +1 -1
  20. package/dist/esm/styled/ColorSwatch/StyledColorSwatch.js +1 -1
  21. package/dist/esm/styled/ColorSwatch/StyledColorSwatchInput.js +1 -1
  22. package/dist/esm/styled/ColorSwatch/StyledColorSwatchLabel.js +1 -1
  23. package/dist/esm/styled/ColorSwatch/StyledIcon.js +3 -4
  24. package/dist/esm/styled/common/StyledRange.js +1 -1
  25. package/dist/index.cjs.js +49 -49
  26. package/dist/typings/styled/ColorPicker/StyledAlphaRange.d.ts +5 -2
  27. package/dist/typings/styled/ColorPicker/StyledColorPicker.d.ts +3 -4
  28. package/dist/typings/styled/ColorPicker/StyledColorWell.d.ts +3 -2
  29. package/dist/typings/styled/ColorPicker/StyledColorWellThumb.d.ts +3 -2
  30. package/dist/typings/styled/ColorPicker/StyledHexField.d.ts +5 -5
  31. package/dist/typings/styled/ColorPicker/StyledHueRange.d.ts +5 -4
  32. package/dist/typings/styled/ColorPicker/StyledInput.d.ts +1 -5
  33. package/dist/typings/styled/ColorPicker/StyledInputGroup.d.ts +3 -4
  34. package/dist/typings/styled/ColorPicker/StyledLabel.d.ts +1 -4
  35. package/dist/typings/styled/ColorPicker/StyledPreview.d.ts +3 -2
  36. package/dist/typings/styled/ColorPicker/StyledRGBAField.d.ts +5 -5
  37. package/dist/typings/styled/ColorPicker/StyledSliderGroup.d.ts +3 -4
  38. package/dist/typings/styled/ColorPicker/StyledSliders.d.ts +3 -5
  39. package/dist/typings/styled/ColorPickerDialog/StyledButton.d.ts +1 -4
  40. package/dist/typings/styled/ColorPickerDialog/StyledButtonPreview.d.ts +3 -1
  41. package/dist/typings/styled/ColorPickerDialog/StyledTooltipBody.d.ts +5 -4
  42. package/dist/typings/styled/ColorPickerDialog/StyledTooltipDialog.d.ts +1 -4
  43. package/dist/typings/styled/ColorSwatch/StyledCell.d.ts +3 -4
  44. package/dist/typings/styled/ColorSwatch/StyledColorSwatch.d.ts +3 -4
  45. package/dist/typings/styled/ColorSwatch/StyledColorSwatchInput.d.ts +3 -4
  46. package/dist/typings/styled/ColorSwatch/StyledColorSwatchLabel.d.ts +5 -5
  47. package/dist/typings/styled/ColorSwatch/StyledIcon.d.ts +2 -4
  48. package/dist/typings/styled/common/StyledRange.d.ts +5 -5
  49. package/package.json +8 -8
@@ -5,6 +5,7 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import React__default, { forwardRef, useContext, useRef, useState } from 'react';
8
+ import SvgCheckSmFill from '../../node_modules/@zendeskgarden/svg-icons/src/12/check-sm-fill.svg.js';
8
9
  import PropTypes from 'prop-types';
9
10
  import { mergeRefs } from 'react-merge-refs';
10
11
  import { ThemeContext } from 'styled-components';
@@ -132,7 +133,7 @@ const ColorSwatch = forwardRef((_ref, ref) => {
132
133
  checked: checked,
133
134
  onBlur: handleBlur,
134
135
  onChange: handleChange
135
- }, gridCellProps))), React__default.createElement(StyledIcon, null)));
136
+ }, gridCellProps))), React__default.createElement(StyledIcon, null, React__default.createElement(SvgCheckSmFill, null))));
136
137
  })))));
137
138
  });
138
139
  ColorSwatch.displayName = 'ColorSwatch';
@@ -30,7 +30,7 @@ const StyledAlphaRange = styled(StyledRange).attrs(props => ({
30
30
  background: background(props)
31
31
  },
32
32
  'data-garden-id': COMPONENT_ID,
33
- 'data-garden-version': '9.1.2'
33
+ 'data-garden-version': '9.3.0'
34
34
  })).withConfig({
35
35
  displayName: "StyledAlphaRange",
36
36
  componentId: "sc-1f6hp2j-0"
@@ -13,7 +13,7 @@ const getColorPickerWidth = props => {
13
13
  };
14
14
  const StyledColorPicker = styled.div.attrs({
15
15
  'data-garden-id': COMPONENT_ID,
16
- 'data-garden-version': '9.1.2'
16
+ 'data-garden-version': '9.3.0'
17
17
  }).withConfig({
18
18
  displayName: "StyledColorPicker",
19
19
  componentId: "sc-gspq4q-0"
@@ -20,7 +20,7 @@ const background = props => {
20
20
  };
21
21
  const StyledColorWell = styled.div.attrs(props => ({
22
22
  'data-garden-id': COMPONENT_ID,
23
- 'data-garden-version': '9.1.2',
23
+ 'data-garden-version': '9.3.0',
24
24
  'data-test-id': 'colorwell',
25
25
  style: {
26
26
  background: background(props)
@@ -34,7 +34,7 @@ const sizeStyles = _ref2 => {
34
34
  };
35
35
  const StyledColorWellThumb = styled.div.attrs(props => ({
36
36
  'data-garden-id': COMPONENT_ID,
37
- 'data-garden-version': '9.1.2',
37
+ 'data-garden-version': '9.3.0',
38
38
  'data-test-id': 'colorwell-thumb',
39
39
  style: {
40
40
  top: `${props.$top}%`,
@@ -11,7 +11,7 @@ import { Field } from '@zendeskgarden/react-forms';
11
11
  const COMPONENT_ID = 'colorpickers.colorpicker_hex_field';
12
12
  const StyledHexField = styled(Field).attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.1.2',
14
+ 'data-garden-version': '9.3.0',
15
15
  spellCheck: false
16
16
  }).withConfig({
17
17
  displayName: "StyledHexField",
@@ -10,7 +10,7 @@ import { StyledRange, getTrackMargin, getTrackHeight } from '../common/StyledRan
10
10
  const COMPONENT_ID = 'colorpickers.colorpicker_hue';
11
11
  const StyledHueRange = styled(StyledRange).attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.1.2'
13
+ 'data-garden-version': '9.3.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledHueRange",
16
16
  componentId: "sc-1gdhww1-0"
@@ -11,7 +11,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
11
11
  const COMPONENT_ID = 'colorpickers.colorpicker_input';
12
12
  const StyledInput = styled(Input).attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.1.2',
14
+ 'data-garden-version': '9.3.0',
15
15
  focusInset: false
16
16
  }).withConfig({
17
17
  displayName: "StyledInput",
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
10
10
  const COMPONENT_ID = 'colorpickers.colorpicker_input_group';
11
11
  const StyledInputGroup = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.1.2'
13
+ 'data-garden-version': '9.3.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledInputGroup",
16
16
  componentId: "sc-1m9g2wg-0"
@@ -11,7 +11,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
11
11
  const COMPONENT_ID = 'colorpickers.colorpicker_label';
12
12
  const StyledLabel = styled(Label).attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.1.2'
14
+ 'data-garden-version': '9.3.0'
15
15
  }).withConfig({
16
16
  displayName: "StyledLabel",
17
17
  componentId: "sc-1vxt3m9-0"
@@ -26,7 +26,7 @@ const StyledPreview = styled.div.attrs(props => ({
26
26
  background: background(props)
27
27
  },
28
28
  'data-garden-id': COMPONENT_ID,
29
- 'data-garden-version': '9.1.2',
29
+ 'data-garden-version': '9.3.0',
30
30
  'data-test-id': 'preview-box'
31
31
  })).withConfig({
32
32
  displayName: "StyledPreview",
@@ -20,7 +20,7 @@ const sizeStyles = theme => {
20
20
  };
21
21
  const StyledRGBAField = styled(Field).attrs({
22
22
  'data-garden-id': COMPONENT_ID,
23
- 'data-garden-version': '9.1.2'
23
+ 'data-garden-version': '9.3.0'
24
24
  }).withConfig({
25
25
  displayName: "StyledRGBAField",
26
26
  componentId: "sc-13266k8-0"
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
10
10
  const COMPONENT_ID = 'colorpickers.colorpicker_slider_group';
11
11
  const StyledSliderGroup = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.1.2'
13
+ 'data-garden-version': '9.3.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledSliderGroup",
16
16
  componentId: "sc-tigkzg-0"
@@ -33,7 +33,7 @@ const sizeStyles = props => {
33
33
  };
34
34
  const StyledSliders = styled.div.attrs({
35
35
  'data-garden-id': COMPONENT_ID,
36
- 'data-garden-version': '9.1.2'
36
+ 'data-garden-version': '9.3.0'
37
37
  }).withConfig({
38
38
  displayName: "StyledSliders",
39
39
  componentId: "sc-1lgr50m-0"
@@ -9,7 +9,7 @@ import { Button } from '@zendeskgarden/react-buttons';
9
9
 
10
10
  const StyledButton = styled(Button).attrs({
11
11
  isNeutral: true,
12
- 'data-garden-version': '9.1.2'
12
+ 'data-garden-version': '9.3.0'
13
13
  }).withConfig({
14
14
  displayName: "StyledButton",
15
15
  componentId: "sc-1dlijfv-0"
@@ -39,7 +39,7 @@ const StyledButtonPreview = styled.span.attrs(props => ({
39
39
  })
40
40
  },
41
41
  'data-garden-id': COMPONENT_ID,
42
- 'data-garden-version': '9.1.2',
42
+ 'data-garden-version': '9.3.0',
43
43
  'data-test-id': 'dialog-preview'
44
44
  })).withConfig({
45
45
  displayName: "StyledButtonPreview",
@@ -11,7 +11,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
11
11
  const COMPONENT_ID = 'colorpickers.colordialog_tooltipdialog_body';
12
12
  const StyledTooltipBody = styled(TooltipDialog.Body).attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.1.2'
14
+ 'data-garden-version': '9.3.0'
15
15
  }).withConfig({
16
16
  displayName: "StyledTooltipBody",
17
17
  componentId: "sc-1ueddpo-0"
@@ -11,7 +11,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
11
11
  const COMPONENT_ID = 'colorpickers.colordialog_tooltipdialog';
12
12
  const StyledTooltipDialog = styled(TooltipDialog).attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.1.2'
14
+ 'data-garden-version': '9.3.0'
15
15
  }).withConfig({
16
16
  displayName: "StyledTooltipDialog",
17
17
  componentId: "sc-1vbkccl-0"
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
10
10
  const COMPONENT_ID = 'colorpickers.swatch_cell';
11
11
  const StyledCell = styled.td.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.1.2'
13
+ 'data-garden-version': '9.3.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledCell",
16
16
  componentId: "sc-qr3oit-0"
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
10
10
  const COMPONENT_ID = 'colorpickers.color_swatch';
11
11
  const StyledColorSwatch = styled.table.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.1.2'
13
+ 'data-garden-version': '9.3.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledColorSwatch",
16
16
  componentId: "sc-ajx440-0"
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
10
10
  const COMPONENT_ID = 'colorpickers.color_swatch_input';
11
11
  const StyledColorSwatchInput = styled.input.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.1.2'
13
+ 'data-garden-version': '9.3.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledColorSwatchInput",
16
16
  componentId: "sc-em45h0-0"
@@ -38,7 +38,7 @@ const colorStyles = _ref => {
38
38
  const StyledColorSwatchLabel = styled(StyledButtonPreview).attrs({
39
39
  as: 'label',
40
40
  'data-garden-id': COMPONENT_ID,
41
- 'data-garden-version': '9.1.2'
41
+ 'data-garden-version': '9.3.0'
42
42
  }).withConfig({
43
43
  displayName: "StyledColorSwatchLabel",
44
44
  componentId: "sc-1aghocg-0"
@@ -5,14 +5,13 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled from 'styled-components';
8
- import SvgCheckSmFill from '../../node_modules/@zendeskgarden/svg-icons/src/12/check-sm-fill.svg.js';
9
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { StyledBaseIcon, retrieveComponentStyles } from '@zendeskgarden/react-theming';
10
9
  import { StyledColorSwatchInput } from './StyledColorSwatchInput.js';
11
10
 
12
11
  const COMPONENT_ID = 'colorpickers.colorswatch_check';
13
- const StyledIcon = styled(SvgCheckSmFill).attrs({
12
+ const StyledIcon = styled(StyledBaseIcon).attrs({
14
13
  'data-garden-id': COMPONENT_ID,
15
- 'data-garden-version': '9.1.2'
14
+ 'data-garden-version': '9.3.0'
16
15
  }).withConfig({
17
16
  displayName: "StyledIcon",
18
17
  componentId: "sc-8oigif-0"
@@ -145,7 +145,7 @@ const sizeStyles = props => {
145
145
  };
146
146
  const StyledRange = styled(Range).attrs({
147
147
  'data-garden-id': COMPONENT_ID,
148
- 'data-garden-version': '9.1.2',
148
+ 'data-garden-version': '9.3.0',
149
149
  hasLowerTrack: false
150
150
  }).withConfig({
151
151
  displayName: "StyledRange",
package/dist/index.cjs.js CHANGED
@@ -137,7 +137,7 @@ const getColorPickerWidth = props => {
137
137
  };
138
138
  const StyledColorPicker = styled__default.default.div.attrs({
139
139
  'data-garden-id': COMPONENT_ID$l,
140
- 'data-garden-version': '9.1.2'
140
+ 'data-garden-version': '9.3.0'
141
141
  }).withConfig({
142
142
  displayName: "StyledColorPicker",
143
143
  componentId: "sc-gspq4q-0"
@@ -279,7 +279,7 @@ const sizeStyles$3 = props => {
279
279
  };
280
280
  const StyledRange = styled__default.default(reactForms.Range).attrs({
281
281
  'data-garden-id': COMPONENT_ID$k,
282
- 'data-garden-version': '9.1.2',
282
+ 'data-garden-version': '9.3.0',
283
283
  hasLowerTrack: false
284
284
  }).withConfig({
285
285
  displayName: "StyledRange",
@@ -291,7 +291,7 @@ const StyledRange = styled__default.default(reactForms.Range).attrs({
291
291
  const COMPONENT_ID$j = 'colorpickers.colorpicker_hue';
292
292
  const StyledHueRange = styled__default.default(StyledRange).attrs({
293
293
  'data-garden-id': COMPONENT_ID$j,
294
- 'data-garden-version': '9.1.2'
294
+ 'data-garden-version': '9.3.0'
295
295
  }).withConfig({
296
296
  displayName: "StyledHueRange",
297
297
  componentId: "sc-1gdhww1-0"
@@ -319,7 +319,7 @@ const StyledAlphaRange = styled__default.default(StyledRange).attrs(props => ({
319
319
  background: background$3(props)
320
320
  },
321
321
  'data-garden-id': COMPONENT_ID$i,
322
- 'data-garden-version': '9.1.2'
322
+ 'data-garden-version': '9.3.0'
323
323
  })).withConfig({
324
324
  displayName: "StyledAlphaRange",
325
325
  componentId: "sc-1f6hp2j-0"
@@ -343,7 +343,7 @@ const StyledPreview = styled__default.default.div.attrs(props => ({
343
343
  background: background$2(props)
344
344
  },
345
345
  'data-garden-id': COMPONENT_ID$h,
346
- 'data-garden-version': '9.1.2',
346
+ 'data-garden-version': '9.3.0',
347
347
  'data-test-id': 'preview-box'
348
348
  })).withConfig({
349
349
  displayName: "StyledPreview",
@@ -362,7 +362,7 @@ const background$1 = props => {
362
362
  };
363
363
  const StyledColorWell = styled__default.default.div.attrs(props => ({
364
364
  'data-garden-id': COMPONENT_ID$g,
365
- 'data-garden-version': '9.1.2',
365
+ 'data-garden-version': '9.3.0',
366
366
  'data-test-id': 'colorwell',
367
367
  style: {
368
368
  background: background$1(props)
@@ -398,7 +398,7 @@ const sizeStyles$2 = _ref2 => {
398
398
  };
399
399
  const StyledColorWellThumb = styled__default.default.div.attrs(props => ({
400
400
  'data-garden-id': COMPONENT_ID$f,
401
- 'data-garden-version': '9.1.2',
401
+ 'data-garden-version': '9.3.0',
402
402
  'data-test-id': 'colorwell-thumb',
403
403
  style: {
404
404
  top: `${props.$top}%`,
@@ -412,7 +412,7 @@ const StyledColorWellThumb = styled__default.default.div.attrs(props => ({
412
412
  const COMPONENT_ID$e = 'colorpickers.colorpicker_slider_group';
413
413
  const StyledSliderGroup = styled__default.default.div.attrs({
414
414
  'data-garden-id': COMPONENT_ID$e,
415
- 'data-garden-version': '9.1.2'
415
+ 'data-garden-version': '9.3.0'
416
416
  }).withConfig({
417
417
  displayName: "StyledSliderGroup",
418
418
  componentId: "sc-tigkzg-0"
@@ -421,7 +421,7 @@ const StyledSliderGroup = styled__default.default.div.attrs({
421
421
  const COMPONENT_ID$d = 'colorpickers.colorpicker_hex_field';
422
422
  const StyledHexField = styled__default.default(reactForms.Field).attrs({
423
423
  'data-garden-id': COMPONENT_ID$d,
424
- 'data-garden-version': '9.1.2',
424
+ 'data-garden-version': '9.3.0',
425
425
  spellCheck: false
426
426
  }).withConfig({
427
427
  displayName: "StyledHexField",
@@ -431,7 +431,7 @@ const StyledHexField = styled__default.default(reactForms.Field).attrs({
431
431
  const COMPONENT_ID$c = 'colorpickers.colorpicker_label';
432
432
  const StyledLabel = styled__default.default(reactForms.Label).attrs({
433
433
  'data-garden-id': COMPONENT_ID$c,
434
- 'data-garden-version': '9.1.2'
434
+ 'data-garden-version': '9.3.0'
435
435
  }).withConfig({
436
436
  displayName: "StyledLabel",
437
437
  componentId: "sc-1vxt3m9-0"
@@ -440,7 +440,7 @@ const StyledLabel = styled__default.default(reactForms.Label).attrs({
440
440
  const COMPONENT_ID$b = 'colorpickers.colorpicker_input';
441
441
  const StyledInput = styled__default.default(reactForms.Input).attrs({
442
442
  'data-garden-id': COMPONENT_ID$b,
443
- 'data-garden-version': '9.1.2',
443
+ 'data-garden-version': '9.3.0',
444
444
  focusInset: false
445
445
  }).withConfig({
446
446
  displayName: "StyledInput",
@@ -450,7 +450,7 @@ const StyledInput = styled__default.default(reactForms.Input).attrs({
450
450
  const COMPONENT_ID$a = 'colorpickers.colorpicker_input_group';
451
451
  const StyledInputGroup = styled__default.default.div.attrs({
452
452
  'data-garden-id': COMPONENT_ID$a,
453
- 'data-garden-version': '9.1.2'
453
+ 'data-garden-version': '9.3.0'
454
454
  }).withConfig({
455
455
  displayName: "StyledInputGroup",
456
456
  componentId: "sc-1m9g2wg-0"
@@ -468,7 +468,7 @@ const sizeStyles$1 = theme => {
468
468
  };
469
469
  const StyledRGBAField = styled__default.default(reactForms.Field).attrs({
470
470
  'data-garden-id': COMPONENT_ID$9,
471
- 'data-garden-version': '9.1.2'
471
+ 'data-garden-version': '9.3.0'
472
472
  }).withConfig({
473
473
  displayName: "StyledRGBAField",
474
474
  componentId: "sc-13266k8-0"
@@ -499,7 +499,7 @@ const sizeStyles = props => {
499
499
  };
500
500
  const StyledSliders = styled__default.default.div.attrs({
501
501
  'data-garden-id': COMPONENT_ID$8,
502
- 'data-garden-version': '9.1.2'
502
+ 'data-garden-version': '9.3.0'
503
503
  }).withConfig({
504
504
  displayName: "StyledSliders",
505
505
  componentId: "sc-1lgr50m-0"
@@ -507,7 +507,7 @@ const StyledSliders = styled__default.default.div.attrs({
507
507
 
508
508
  const StyledButton = styled__default.default(reactButtons.Button).attrs({
509
509
  isNeutral: true,
510
- 'data-garden-version': '9.1.2'
510
+ 'data-garden-version': '9.3.0'
511
511
  }).withConfig({
512
512
  displayName: "StyledButton",
513
513
  componentId: "sc-1dlijfv-0"
@@ -544,7 +544,7 @@ const StyledButtonPreview = styled__default.default.span.attrs(props => ({
544
544
  })
545
545
  },
546
546
  'data-garden-id': COMPONENT_ID$7,
547
- 'data-garden-version': '9.1.2',
547
+ 'data-garden-version': '9.3.0',
548
548
  'data-test-id': 'dialog-preview'
549
549
  })).withConfig({
550
550
  displayName: "StyledButtonPreview",
@@ -554,7 +554,7 @@ const StyledButtonPreview = styled__default.default.span.attrs(props => ({
554
554
  const COMPONENT_ID$6 = 'colorpickers.colordialog_tooltipdialog';
555
555
  const StyledTooltipDialog = styled__default.default(reactModals.TooltipDialog).attrs({
556
556
  'data-garden-id': COMPONENT_ID$6,
557
- 'data-garden-version': '9.1.2'
557
+ 'data-garden-version': '9.3.0'
558
558
  }).withConfig({
559
559
  displayName: "StyledTooltipDialog",
560
560
  componentId: "sc-1vbkccl-0"
@@ -563,7 +563,7 @@ const StyledTooltipDialog = styled__default.default(reactModals.TooltipDialog).a
563
563
  const COMPONENT_ID$5 = 'colorpickers.colordialog_tooltipdialog_body';
564
564
  const StyledTooltipBody = styled__default.default(reactModals.TooltipDialog.Body).attrs({
565
565
  'data-garden-id': COMPONENT_ID$5,
566
- 'data-garden-version': '9.1.2'
566
+ 'data-garden-version': '9.3.0'
567
567
  }).withConfig({
568
568
  displayName: "StyledTooltipBody",
569
569
  componentId: "sc-1ueddpo-0"
@@ -572,7 +572,7 @@ const StyledTooltipBody = styled__default.default(reactModals.TooltipDialog.Body
572
572
  const COMPONENT_ID$4 = 'colorpickers.color_swatch';
573
573
  const StyledColorSwatch = styled__default.default.table.attrs({
574
574
  'data-garden-id': COMPONENT_ID$4,
575
- 'data-garden-version': '9.1.2'
575
+ 'data-garden-version': '9.3.0'
576
576
  }).withConfig({
577
577
  displayName: "StyledColorSwatch",
578
578
  componentId: "sc-ajx440-0"
@@ -581,7 +581,7 @@ const StyledColorSwatch = styled__default.default.table.attrs({
581
581
  const COMPONENT_ID$3 = 'colorpickers.color_swatch_input';
582
582
  const StyledColorSwatchInput = styled__default.default.input.attrs({
583
583
  'data-garden-id': COMPONENT_ID$3,
584
- 'data-garden-version': '9.1.2'
584
+ 'data-garden-version': '9.3.0'
585
585
  }).withConfig({
586
586
  displayName: "StyledColorSwatchInput",
587
587
  componentId: "sc-em45h0-0"
@@ -616,7 +616,7 @@ const colorStyles = _ref => {
616
616
  const StyledColorSwatchLabel = styled__default.default(StyledButtonPreview).attrs({
617
617
  as: 'label',
618
618
  'data-garden-id': COMPONENT_ID$2,
619
- 'data-garden-version': '9.1.2'
619
+ 'data-garden-version': '9.3.0'
620
620
  }).withConfig({
621
621
  displayName: "StyledColorSwatchLabel",
622
622
  componentId: "sc-1aghocg-0"
@@ -625,30 +625,10 @@ const StyledColorSwatchLabel = styled__default.default(StyledButtonPreview).attr
625
625
  selector: '&:has(:focus-visible)'
626
626
  }), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$2, props));
627
627
 
628
- var _path$1;
629
- function _extends$1() { return _extends$1 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$1.apply(null, arguments); }
630
- var SvgCheckSmFill = function SvgCheckSmFill(props) {
631
- return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
632
- xmlns: "http://www.w3.org/2000/svg",
633
- width: 12,
634
- height: 12,
635
- focusable: "false",
636
- viewBox: "0 0 12 12",
637
- "aria-hidden": "true"
638
- }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
639
- fill: "none",
640
- stroke: "currentColor",
641
- strokeLinecap: "round",
642
- strokeLinejoin: "round",
643
- strokeWidth: 2,
644
- d: "M3 6l2 2 4-4"
645
- })));
646
- };
647
-
648
628
  const COMPONENT_ID$1 = 'colorpickers.colorswatch_check';
649
- const StyledIcon = styled__default.default(SvgCheckSmFill).attrs({
629
+ const StyledIcon = styled__default.default(reactTheming.StyledBaseIcon).attrs({
650
630
  'data-garden-id': COMPONENT_ID$1,
651
- 'data-garden-version': '9.1.2'
631
+ 'data-garden-version': '9.3.0'
652
632
  }).withConfig({
653
633
  displayName: "StyledIcon",
654
634
  componentId: "sc-8oigif-0"
@@ -657,7 +637,7 @@ const StyledIcon = styled__default.default(SvgCheckSmFill).attrs({
657
637
  const COMPONENT_ID = 'colorpickers.swatch_cell';
658
638
  const StyledCell = styled__default.default.td.attrs({
659
639
  'data-garden-id': COMPONENT_ID,
660
- 'data-garden-version': '9.1.2'
640
+ 'data-garden-version': '9.3.0'
661
641
  }).withConfig({
662
642
  displayName: "StyledCell",
663
643
  componentId: "sc-qr3oit-0"
@@ -1206,17 +1186,17 @@ ColorPicker.propTypes = {
1206
1186
  defaultColor: PropTypes__default.default.oneOfType([PropTypes__default.default.object, PropTypes__default.default.string])
1207
1187
  };
1208
1188
 
1209
- var _path;
1210
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
1189
+ var _path$1;
1190
+ function _extends$1() { return _extends$1 = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends$1.apply(null, arguments); }
1211
1191
  var SvgChevronDownStroke = function SvgChevronDownStroke(props) {
1212
- return /*#__PURE__*/React__namespace.createElement("svg", _extends({
1192
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
1213
1193
  xmlns: "http://www.w3.org/2000/svg",
1214
1194
  width: 16,
1215
1195
  height: 16,
1216
1196
  focusable: "false",
1217
1197
  viewBox: "0 0 16 16",
1218
1198
  "aria-hidden": "true"
1219
- }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
1199
+ }, props), _path$1 || (_path$1 = /*#__PURE__*/React__namespace.createElement("path", {
1220
1200
  fill: "currentColor",
1221
1201
  d: "M12.688 5.61a.5.5 0 01.69.718l-.066.062-5 4a.5.5 0 01-.542.054l-.082-.054-5-4a.5.5 0 01.55-.83l.074.05L8 9.359l4.688-3.75z"
1222
1202
  })));
@@ -1339,6 +1319,26 @@ ColorPickerDialog.defaultProps = {
1339
1319
  };
1340
1320
  ColorPickerDialog.displayName = 'ColorPickerDialog';
1341
1321
 
1322
+ var _path;
1323
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
1324
+ var SvgCheckSmFill = function SvgCheckSmFill(props) {
1325
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends({
1326
+ xmlns: "http://www.w3.org/2000/svg",
1327
+ width: 12,
1328
+ height: 12,
1329
+ focusable: "false",
1330
+ viewBox: "0 0 12 12",
1331
+ "aria-hidden": "true"
1332
+ }, props), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
1333
+ fill: "none",
1334
+ stroke: "currentColor",
1335
+ strokeLinecap: "round",
1336
+ strokeLinejoin: "round",
1337
+ strokeWidth: 2,
1338
+ d: "M3 6l2 2 4-4"
1339
+ })));
1340
+ };
1341
+
1342
1342
  const ColorSwatch = React.forwardRef((_ref, ref) => {
1343
1343
  let {
1344
1344
  name,
@@ -1436,7 +1436,7 @@ const ColorSwatch = React.forwardRef((_ref, ref) => {
1436
1436
  checked: checked,
1437
1437
  onBlur: handleBlur,
1438
1438
  onChange: handleChange
1439
- }, gridCellProps))), React__namespace.default.createElement(StyledIcon, null)));
1439
+ }, gridCellProps))), React__namespace.default.createElement(StyledIcon, null, React__namespace.default.createElement(SvgCheckSmFill, null))));
1440
1440
  })))));
1441
1441
  });
1442
1442
  ColorSwatch.displayName = 'ColorSwatch';
@@ -4,6 +4,9 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  import { IRGBColorProps } from '../types';
9
- export declare const StyledAlphaRange: import("styled-components").StyledComponent<"input", DefaultTheme, IRGBColorProps, never>;
8
+ export declare const StyledAlphaRange: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
9
+ ref?: ((instance: HTMLInputElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLInputElement> | null | undefined;
10
+ }, Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
11
+ ref?: ((instance: HTMLInputElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLInputElement> | null | undefined;
12
+ }>, IRGBColorProps>, IRGBColorProps>> & string;
@@ -8,8 +8,7 @@ interface IStyledColorPickerProps {
8
8
  $isOpaque?: boolean;
9
9
  }
10
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">;
11
+ export declare const StyledColorPicker: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
12
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
13
+ }>, never>, IStyledColorPickerProps>> & string;
15
14
  export {};
@@ -4,9 +4,10 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  interface IStyledColorWellProps {
9
8
  $hue: number;
10
9
  }
11
- export declare const StyledColorWell: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledColorWellProps, never>;
10
+ export declare const StyledColorWell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
11
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
12
+ }>, IStyledColorWellProps>, IStyledColorWellProps>> & string;
12
13
  export {};
@@ -4,10 +4,11 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  interface IStyledSaturationPointerProps {
9
8
  $top: number;
10
9
  $left: number;
11
10
  }
12
- export declare const StyledColorWellThumb: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledSaturationPointerProps, never>;
11
+ export declare const StyledColorWellThumb: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
12
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
13
+ }>, IStyledSaturationPointerProps>, IStyledSaturationPointerProps>> & string;
13
14
  export {};
@@ -7,8 +7,8 @@
7
7
  /**
8
8
  * 1. IE11 reset.
9
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: false;
14
- }, "spellCheck" | "data-garden-id" | "data-garden-version">;
10
+ export declare const StyledHexField: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
11
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
12
+ }, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
13
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
14
+ }>, never>, never>> & string;
@@ -5,7 +5,8 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
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">;
8
+ export declare const StyledHueRange: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
9
+ ref?: ((instance: HTMLInputElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLInputElement> | null | undefined;
10
+ }, Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
11
+ ref?: ((instance: HTMLInputElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLInputElement> | null | undefined;
12
+ }>, never>, IStyledRangeProps>> & string;
@@ -4,8 +4,4 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
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>;
7
+ export declare const StyledInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<any, never>, never>> & (string | (string & Omit<any, keyof import("react").Component<any, {}, any>>));
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
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">;
7
+ export declare const StyledInputGroup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -4,7 +4,4 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
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>;
7
+ export declare const StyledLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<any, never>, never>> & (string | (string & Omit<any, keyof import("react").Component<any, {}, any>>));
@@ -4,10 +4,11 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  import { IRGBColorProps } from '../types';
9
8
  interface IStyledColorPreviewProps extends IRGBColorProps {
10
9
  $isOpaque?: boolean;
11
10
  }
12
- export declare const StyledPreview: import("styled-components").StyledComponent<"div", DefaultTheme, IStyledColorPreviewProps, never>;
11
+ export declare const StyledPreview: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
12
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
13
+ }>, IStyledColorPreviewProps>, IStyledColorPreviewProps>> & string;
13
14
  export {};
@@ -4,8 +4,8 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
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">;
7
+ export declare const StyledRGBAField: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
10
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
11
+ }>, never>, never>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
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">;
7
+ export declare const StyledSliderGroup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -4,12 +4,10 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  interface IStyledSlidersProps {
9
8
  $isOpaque?: boolean;
10
9
  }
11
- export declare const StyledSliders: import("styled-components").StyledComponent<"div", DefaultTheme, {
12
- 'data-garden-id': string;
13
- 'data-garden-version': string;
14
- } & IStyledSlidersProps, "data-garden-id" | "data-garden-version">;
10
+ export declare const StyledSliders: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
11
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
12
+ }>, never>, IStyledSlidersProps>> & string;
15
13
  export {};
@@ -8,7 +8,4 @@
8
8
  * 1. IE11 group width override.
9
9
  * 2. Input group border overrides.
10
10
  */
11
- export declare const StyledButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & {
12
- isNeutral: boolean;
13
- 'data-garden-version': string;
14
- }, string | number | symbol>;
11
+ export declare const StyledButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<any, never>, never>> & (string | (string & Omit<any, keyof import("react").Component<any, {}, any>>));
@@ -9,4 +9,6 @@ import { IColorPickerDialogProps } from '../../types';
9
9
  export interface IStyleButtonPreviewProps extends ThemeProps<DefaultTheme> {
10
10
  $backgroundColor?: IColorPickerDialogProps['color'];
11
11
  }
12
- export declare const StyledButtonPreview: import("styled-components").StyledComponent<"span", DefaultTheme, IStyleButtonPreviewProps, never>;
12
+ export declare const StyledButtonPreview: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
13
+ ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
14
+ }>, IStyleButtonPreviewProps>, IStyleButtonPreviewProps>> & string;
@@ -4,7 +4,8 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
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">;
7
+ export declare const StyledTooltipBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
10
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
11
+ }>, never>, never>> & string;
@@ -7,7 +7,4 @@
7
7
  /**
8
8
  * 1. Override default TooltipDialog styling
9
9
  */
10
- export declare const StyledTooltipDialog: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & {
11
- 'data-garden-id': string;
12
- 'data-garden-version': string;
13
- }, string | number | symbol>;
10
+ export declare const StyledTooltipDialog: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<any, never>, never>> & (string | (string & Omit<any, keyof import("react").Component<any, {}, any>>));
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledCell: import("styled-components").StyledComponent<"td", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, Omit<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & {
8
+ ref?: ((instance: HTMLTableDataCellElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLTableDataCellElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -7,7 +7,6 @@
7
7
  /**
8
8
  * 1. Override Bedrock CSS
9
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
- }, "data-garden-id" | "data-garden-version">;
10
+ export declare const StyledColorSwatch: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, Omit<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & {
11
+ ref?: ((instance: HTMLTableElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLTableElement> | null | undefined;
12
+ }>, never>, never>> & string;
@@ -7,7 +7,6 @@
7
7
  /**
8
8
  * Accessibly hidden checkbox with support for tooltip hover
9
9
  */
10
- export declare const StyledColorSwatchInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {
11
- 'data-garden-id': string;
12
- 'data-garden-version': string;
13
- }, "data-garden-id" | "data-garden-version">;
10
+ export declare const StyledColorSwatchInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
11
+ ref?: ((instance: HTMLInputElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLInputElement> | null | undefined;
12
+ }>, never>, never>> & string;
@@ -8,9 +8,9 @@ import { DefaultTheme, ThemeProps } from 'styled-components';
8
8
  interface IStyledColorSwatchLabelProps extends ThemeProps<DefaultTheme> {
9
9
  $backgroundColor: string;
10
10
  }
11
- export declare const StyledColorSwatchLabel: import("styled-components").StyledComponent<"span", DefaultTheme, import("../ColorPickerDialog/StyledButtonPreview").IStyleButtonPreviewProps & {
12
- as: string;
13
- 'data-garden-id': string;
14
- 'data-garden-version': string;
15
- } & IStyledColorSwatchLabelProps, "as" | "data-garden-id" | "data-garden-version">;
11
+ export declare const StyledColorSwatchLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
12
+ ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
13
+ }>, import("../ColorPickerDialog/StyledButtonPreview").IStyleButtonPreviewProps>, keyof import("../ColorPickerDialog/StyledButtonPreview").IStyleButtonPreviewProps> & import("../ColorPickerDialog/StyledButtonPreview").IStyleButtonPreviewProps, Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
14
+ ref?: ((instance: HTMLLabelElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLLabelElement> | null | undefined;
15
+ }>, never>, IStyledColorSwatchLabelProps>> & string;
16
16
  export {};
@@ -4,7 +4,5 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledIcon: import("styled-components").StyledComponent<"svg", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ import { DataAttributes } from 'styled-components';
8
+ export declare const StyledIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("@zendeskgarden/react-theming").IStyledBaseIconProps, never>, import("styled-components").FastOmit<import("@zendeskgarden/react-theming").IStyledBaseIconProps, never>>, DataAttributes>, never>> & string;
@@ -11,8 +11,8 @@ export interface IStyledRangeProps {
11
11
  export declare const trackStyles: (styles: string, modifier?: string) => string;
12
12
  export declare const getTrackHeight: (props: IStyledRangeProps & ThemeProps<DefaultTheme>) => number;
13
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
- } & IStyledRangeProps, "data-garden-id" | "data-garden-version" | "hasLowerTrack">;
14
+ export declare const StyledRange: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
15
+ ref?: ((instance: HTMLInputElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLInputElement> | null | undefined;
16
+ }, Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
17
+ ref?: ((instance: HTMLInputElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLInputElement> | null | undefined;
18
+ }>, never>, IStyledRangeProps>> & string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zendeskgarden/react-colorpickers",
3
- "version": "9.1.2",
3
+ "version": "9.3.0",
4
4
  "description": "Components related to color pickers in the Garden Design System",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Zendesk Garden <garden@zendesk.com>",
@@ -23,10 +23,10 @@
23
23
  "dependencies": {
24
24
  "@zendeskgarden/container-grid": "^3.0.0",
25
25
  "@zendeskgarden/container-utilities": "^2.0.0",
26
- "@zendeskgarden/react-buttons": "^9.1.2",
27
- "@zendeskgarden/react-forms": "^9.1.2",
28
- "@zendeskgarden/react-modals": "^9.1.2",
29
- "@zendeskgarden/react-tooltips": "^9.1.2",
26
+ "@zendeskgarden/react-buttons": "^9.3.0",
27
+ "@zendeskgarden/react-forms": "^9.3.0",
28
+ "@zendeskgarden/react-modals": "^9.3.0",
29
+ "@zendeskgarden/react-tooltips": "^9.3.0",
30
30
  "lodash.isequal": "^4.5.0",
31
31
  "lodash.throttle": "^4.1.1",
32
32
  "polished": "^4.3.1",
@@ -37,12 +37,12 @@
37
37
  "@zendeskgarden/react-theming": ">=9.0.0",
38
38
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
39
39
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
40
- "styled-components": "^5.3.1"
40
+ "styled-components": "^5.3.1 || ^6.0.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/lodash.isequal": "4.5.8",
44
44
  "@types/lodash.throttle": "4.1.9",
45
- "@zendeskgarden/react-theming": "^9.1.2",
45
+ "@zendeskgarden/react-theming": "^9.3.0",
46
46
  "@zendeskgarden/svg-icons": "7.3.0"
47
47
  },
48
48
  "keywords": [
@@ -56,5 +56,5 @@
56
56
  "access": "public"
57
57
  },
58
58
  "zendeskgarden:src": "src/index.ts",
59
- "gitHead": "dd7b2e7fb6747ef39a028b4e7b9924c2098deea0"
59
+ "gitHead": "fa6461e0d9fae27956980056006e8013daedc6b9"
60
60
  }