@zendeskgarden/react-colorpickers 8.62.1 → 8.62.2

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.
package/dist/index.cjs.js CHANGED
@@ -7,8 +7,6 @@
7
7
 
8
8
  'use strict';
9
9
 
10
- Object.defineProperty(exports, '__esModule', { value: true });
11
-
12
10
  var React = require('react');
13
11
  var PropTypes = require('prop-types');
14
12
  var reactForms = require('@zendeskgarden/react-forms');
@@ -23,7 +21,7 @@ var containerUtilities = require('@zendeskgarden/container-utilities');
23
21
  var reactTooltips = require('@zendeskgarden/react-tooltips');
24
22
  var containerGrid = require('@zendeskgarden/container-grid');
25
23
 
26
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
24
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
27
25
 
28
26
  function _interopNamespace(e) {
29
27
  if (e && e.__esModule) return e;
@@ -39,16 +37,15 @@ function _interopNamespace(e) {
39
37
  }
40
38
  });
41
39
  }
42
- n["default"] = e;
40
+ n.default = e;
43
41
  return Object.freeze(n);
44
42
  }
45
43
 
46
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
47
44
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
48
- var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
49
- var throttle__default = /*#__PURE__*/_interopDefaultLegacy(throttle);
50
- var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
51
- var isEqual__default = /*#__PURE__*/_interopDefaultLegacy(isEqual);
45
+ var PropTypes__default = /*#__PURE__*/_interopDefault(PropTypes);
46
+ var throttle__default = /*#__PURE__*/_interopDefault(throttle);
47
+ var styled__default = /*#__PURE__*/_interopDefault(styled);
48
+ var isEqual__default = /*#__PURE__*/_interopDefault(isEqual);
52
49
 
53
50
  function _extends$2() {
54
51
  _extends$2 = Object.assign ? Object.assign.bind() : function (target) {
@@ -153,9 +150,9 @@ const COMPONENT_ID$l = 'colorpickers.colorpicker';
153
150
  const getColorPickerWidth = props => {
154
151
  return props.isOpaque ? 268 : 312;
155
152
  };
156
- const StyledColorPicker = styled__default["default"].div.attrs({
153
+ const StyledColorPicker = styled__default.default.div.attrs({
157
154
  'data-garden-id': COMPONENT_ID$l,
158
- 'data-garden-version': '8.62.1'
155
+ 'data-garden-version': '8.62.2'
159
156
  }).withConfig({
160
157
  displayName: "StyledColorPicker",
161
158
  componentId: "sc-1donyl9-0"
@@ -288,9 +285,9 @@ const sizeStyles$2 = props => {
288
285
  `)};
289
286
  `;
290
287
  };
291
- const StyledRange = styled__default["default"](reactForms.Range).attrs({
288
+ const StyledRange = styled__default.default(reactForms.Range).attrs({
292
289
  'data-garden-id': COMPONENT_ID$k,
293
- 'data-garden-version': '8.62.1',
290
+ 'data-garden-version': '8.62.2',
294
291
  hasLowerTrack: false
295
292
  }).withConfig({
296
293
  displayName: "StyledRange",
@@ -303,9 +300,9 @@ StyledRange.defaultProps = {
303
300
  };
304
301
 
305
302
  const COMPONENT_ID$j = 'colorpickers.colorpicker_hue';
306
- const StyledHueRange = styled__default["default"](StyledRange).attrs({
303
+ const StyledHueRange = styled__default.default(StyledRange).attrs({
307
304
  'data-garden-id': COMPONENT_ID$j,
308
- 'data-garden-version': '8.62.1'
305
+ 'data-garden-version': '8.62.2'
309
306
  }).withConfig({
310
307
  displayName: "StyledHueRange",
311
308
  componentId: "sc-13ly7p-0"
@@ -343,13 +340,13 @@ const background$3 = props => {
343
340
  const gradientBackground = `linear-gradient(${direction}, ${fromColor}, ${toColor}) 0 ${positionY}px / 100% ${height}px no-repeat`;
344
341
  return `${gradientBackground}, ${checkeredBackground(props.theme, height, positionY, 'repeat-x')}`;
345
342
  };
346
- const StyledAlphaRange = styled__default["default"](StyledRange).attrs(props => ({
343
+ const StyledAlphaRange = styled__default.default(StyledRange).attrs(props => ({
347
344
  style: {
348
345
  backgroundSize: 'auto',
349
346
  background: background$3(props)
350
347
  },
351
348
  'data-garden-id': COMPONENT_ID$i,
352
- 'data-garden-version': '8.62.1'
349
+ 'data-garden-version': '8.62.2'
353
350
  })).withConfig({
354
351
  displayName: "StyledAlphaRange",
355
352
  componentId: "sc-kuh2xc-0"
@@ -368,12 +365,12 @@ const background$2 = props => {
368
365
  }
369
366
  return retVal;
370
367
  };
371
- const StyledPreview = styled__default["default"].div.attrs(props => ({
368
+ const StyledPreview = styled__default.default.div.attrs(props => ({
372
369
  style: {
373
370
  background: background$2(props)
374
371
  },
375
372
  'data-garden-id': COMPONENT_ID$h,
376
- 'data-garden-version': '8.62.1',
373
+ 'data-garden-version': '8.62.2',
377
374
  'data-test-id': 'preview-box'
378
375
  })).withConfig({
379
376
  displayName: "StyledPreview",
@@ -393,9 +390,9 @@ const background$1 = props => {
393
390
  const color = `linear-gradient(${colorValue}, ${colorValue})`;
394
391
  return `${black}, ${white}, ${color}`;
395
392
  };
396
- const StyledColorWell = styled__default["default"].div.attrs(props => ({
393
+ const StyledColorWell = styled__default.default.div.attrs(props => ({
397
394
  'data-garden-id': COMPONENT_ID$g,
398
- 'data-garden-version': '8.62.1',
395
+ 'data-garden-version': '8.62.2',
399
396
  'data-test-id': 'colorwell',
400
397
  style: {
401
398
  background: background$1(props)
@@ -421,9 +418,9 @@ const sizeStyles$1 = theme => {
421
418
  height: ${size}px;
422
419
  `;
423
420
  };
424
- const StyledColorWellThumb = styled__default["default"].div.attrs(props => ({
421
+ const StyledColorWellThumb = styled__default.default.div.attrs(props => ({
425
422
  'data-garden-id': COMPONENT_ID$f,
426
- 'data-garden-version': '8.62.1',
423
+ 'data-garden-version': '8.62.2',
427
424
  'data-test-id': 'colorwell-thumb',
428
425
  style: {
429
426
  top: `${props.top}%`,
@@ -438,9 +435,9 @@ StyledColorWellThumb.defaultProps = {
438
435
  };
439
436
 
440
437
  const COMPONENT_ID$e = 'colorpickers.colorpicker_slider_group';
441
- const StyledSliderGroup = styled__default["default"].div.attrs({
438
+ const StyledSliderGroup = styled__default.default.div.attrs({
442
439
  'data-garden-id': COMPONENT_ID$e,
443
- 'data-garden-version': '8.62.1'
440
+ 'data-garden-version': '8.62.2'
444
441
  }).withConfig({
445
442
  displayName: "StyledSliderGroup",
446
443
  componentId: "sc-rsq0ak-0"
@@ -450,9 +447,9 @@ StyledSliderGroup.defaultProps = {
450
447
  };
451
448
 
452
449
  const COMPONENT_ID$d = 'colorpickers.colorpicker_hex_field';
453
- const StyledHexField = styled__default["default"](reactForms.Field).attrs({
450
+ const StyledHexField = styled__default.default(reactForms.Field).attrs({
454
451
  'data-garden-id': COMPONENT_ID$d,
455
- 'data-garden-version': '8.62.1',
452
+ 'data-garden-version': '8.62.2',
456
453
  spellcheck: false
457
454
  }).withConfig({
458
455
  displayName: "StyledHexField",
@@ -463,9 +460,9 @@ StyledHexField.defaultProps = {
463
460
  };
464
461
 
465
462
  const COMPONENT_ID$c = 'colorpickers.colorpicker_label';
466
- const StyledLabel = styled__default["default"](reactForms.Label).attrs({
463
+ const StyledLabel = styled__default.default(reactForms.Label).attrs({
467
464
  'data-garden-id': COMPONENT_ID$c,
468
- 'data-garden-version': '8.62.1'
465
+ 'data-garden-version': '8.62.2'
469
466
  }).withConfig({
470
467
  displayName: "StyledLabel",
471
468
  componentId: "sc-1klhp6m-0"
@@ -475,9 +472,9 @@ StyledLabel.defaultProps = {
475
472
  };
476
473
 
477
474
  const COMPONENT_ID$b = 'colorpickers.colorpicker_input';
478
- const StyledInput = styled__default["default"](reactForms.Input).attrs({
475
+ const StyledInput = styled__default.default(reactForms.Input).attrs({
479
476
  'data-garden-id': COMPONENT_ID$b,
480
- 'data-garden-version': '8.62.1',
477
+ 'data-garden-version': '8.62.2',
481
478
  focusInset: false
482
479
  }).withConfig({
483
480
  displayName: "StyledInput",
@@ -488,9 +485,9 @@ StyledInput.defaultProps = {
488
485
  };
489
486
 
490
487
  const COMPONENT_ID$a = 'colorpickers.colorpicker_input_group';
491
- const StyledInputGroup = styled__default["default"].div.attrs({
488
+ const StyledInputGroup = styled__default.default.div.attrs({
492
489
  'data-garden-id': COMPONENT_ID$a,
493
- 'data-garden-version': '8.62.1'
490
+ 'data-garden-version': '8.62.2'
494
491
  }).withConfig({
495
492
  displayName: "StyledInputGroup",
496
493
  componentId: "sc-mmy93w-0"
@@ -509,9 +506,9 @@ const sizeStyles = theme => {
509
506
  min-width: ${width};
510
507
  `;
511
508
  };
512
- const StyledRGBAField = styled__default["default"](reactForms.Field).attrs({
509
+ const StyledRGBAField = styled__default.default(reactForms.Field).attrs({
513
510
  'data-garden-id': COMPONENT_ID$9,
514
- 'data-garden-version': '8.62.1'
511
+ 'data-garden-version': '8.62.2'
515
512
  }).withConfig({
516
513
  displayName: "StyledRGBAField",
517
514
  componentId: "sc-ibo1yw-0"
@@ -521,9 +518,9 @@ StyledRGBAField.defaultProps = {
521
518
  };
522
519
 
523
520
  const COMPONENT_ID$8 = 'colorpickers.colorpicker_sliders';
524
- const StyledSliders = styled__default["default"].div.attrs({
521
+ const StyledSliders = styled__default.default.div.attrs({
525
522
  'data-garden-id': COMPONENT_ID$8,
526
- 'data-garden-version': '8.62.1'
523
+ 'data-garden-version': '8.62.2'
527
524
  }).withConfig({
528
525
  displayName: "StyledSliders",
529
526
  componentId: "sc-aclca2-0"
@@ -533,10 +530,10 @@ StyledSliders.defaultProps = {
533
530
  };
534
531
 
535
532
  const COMPONENT_ID$7 = 'colorpickers.colordialog_button';
536
- const StyledButton = styled__default["default"](reactButtons.Button).attrs({
533
+ const StyledButton = styled__default.default(reactButtons.Button).attrs({
537
534
  isNeutral: true,
538
535
  'data-garden-id': COMPONENT_ID$7,
539
- 'data-garden-version': '8.62.1'
536
+ 'data-garden-version': '8.62.2'
540
537
  }).withConfig({
541
538
  displayName: "StyledButton",
542
539
  componentId: "sc-101xjve-0"
@@ -566,12 +563,12 @@ const background = props => {
566
563
  }
567
564
  return `linear-gradient(${color}, ${color})`;
568
565
  };
569
- const StyledButtonPreview = styled__default["default"].span.attrs(props => ({
566
+ const StyledButtonPreview = styled__default.default.span.attrs(props => ({
570
567
  style: {
571
568
  background: `${background(props)}, ${checkeredBackground(props.theme, 8)}`
572
569
  },
573
570
  'data-garden-id': COMPONENT_ID$6,
574
- 'data-garden-version': '8.62.1',
571
+ 'data-garden-version': '8.62.2',
575
572
  'data-test-id': 'dialog-preview'
576
573
  })).withConfig({
577
574
  displayName: "StyledButtonPreview",
@@ -582,9 +579,9 @@ StyledButtonPreview.defaultProps = {
582
579
  };
583
580
 
584
581
  const COMPONENT_ID$5 = 'colorpickers.colordialog_tooltipmodal';
585
- const StyledTooltipModal = styled__default["default"](reactModals.TooltipModal).attrs({
582
+ const StyledTooltipModal = styled__default.default(reactModals.TooltipModal).attrs({
586
583
  'data-garden-id': COMPONENT_ID$5,
587
- 'data-garden-version': '8.62.1'
584
+ 'data-garden-version': '8.62.2'
588
585
  }).withConfig({
589
586
  displayName: "StyledTooltipModal",
590
587
  componentId: "sc-o022s8-0"
@@ -594,9 +591,9 @@ StyledTooltipModal.defaultProps = {
594
591
  };
595
592
 
596
593
  const COMPONENT_ID$4 = 'colorpickers.colordialog_tooltipmodal_body';
597
- const StyledTooltipBody = styled__default["default"](reactModals.TooltipModal.Body).attrs({
594
+ const StyledTooltipBody = styled__default.default(reactModals.TooltipModal.Body).attrs({
598
595
  'data-garden-id': COMPONENT_ID$4,
599
- 'data-garden-version': '8.62.1'
596
+ 'data-garden-version': '8.62.2'
600
597
  }).withConfig({
601
598
  displayName: "StyledTooltipBody",
602
599
  componentId: "sc-6gsgsy-0"
@@ -606,11 +603,11 @@ StyledTooltipBody.defaultProps = {
606
603
  };
607
604
 
608
605
  const COMPONENT_ID$3 = 'colorpickers.swatch_button';
609
- const StyledSwatchButton = styled__default["default"](StyledButtonPreview).attrs(props => ({
606
+ const StyledSwatchButton = styled__default.default(StyledButtonPreview).attrs(props => ({
610
607
  as: 'button',
611
608
  'data-garden-id': COMPONENT_ID$3,
612
609
  'data-test-id': props.backgroundColor,
613
- 'data-garden-version': '8.62.1'
610
+ 'data-garden-version': '8.62.2'
614
611
  })).withConfig({
615
612
  displayName: "StyledSwatchButton",
616
613
  componentId: "sc-edpwpp-0"
@@ -620,9 +617,9 @@ StyledSwatchButton.defaultProps = {
620
617
  };
621
618
 
622
619
  const COMPONENT_ID$2 = 'colorpickers.color_swatch';
623
- const StyledColorSwatch = styled__default["default"].table.attrs({
620
+ const StyledColorSwatch = styled__default.default.table.attrs({
624
621
  'data-garden-id': COMPONENT_ID$2,
625
- 'data-garden-version': '8.62.1',
622
+ 'data-garden-version': '8.62.2',
626
623
  role: 'grid'
627
624
  }).withConfig({
628
625
  displayName: "StyledColorSwatch",
@@ -649,17 +646,17 @@ const colorStyles = props => {
649
646
  color: ${checkColor}
650
647
  `;
651
648
  };
652
- const StyledIcon = styled__default["default"](_ref => {
649
+ const StyledIcon = styled__default.default(_ref => {
653
650
  let {
654
651
  children,
655
652
  color,
656
653
  theme,
657
654
  ...props
658
655
  } = _ref;
659
- return React__default["default"].cloneElement(React.Children.only(children), props);
656
+ return React__namespace.default.cloneElement(React.Children.only(children), props);
660
657
  }).attrs({
661
658
  'data-garden-id': COMPONENT_ID$1,
662
- 'data-garden-version': '8.62.1'
659
+ 'data-garden-version': '8.62.2'
663
660
  }).withConfig({
664
661
  displayName: "StyledIcon",
665
662
  componentId: "sc-8oigif-0"
@@ -669,9 +666,9 @@ StyledIcon.defaultProps = {
669
666
  };
670
667
 
671
668
  const COMPONENT_ID = 'colorpickers.swatch_cell';
672
- const StyledCell = styled__default["default"].td.attrs({
669
+ const StyledCell = styled__default.default.td.attrs({
673
670
  'data-garden-id': COMPONENT_ID,
674
- 'data-garden-version': '8.62.1'
671
+ 'data-garden-version': '8.62.2'
675
672
  }).withConfig({
676
673
  displayName: "StyledCell",
677
674
  componentId: "sc-qr3oit-0"
@@ -680,7 +677,7 @@ StyledCell.defaultProps = {
680
677
  theme: reactTheming.DEFAULT_THEME
681
678
  };
682
679
 
683
- const ColorWell = React__default["default"].memo(_ref => {
680
+ const ColorWell = React__namespace.default.memo(_ref => {
684
681
  let {
685
682
  hue,
686
683
  saturation,
@@ -706,7 +703,7 @@ const ColorWell = React__default["default"].memo(_ref => {
706
703
  setLeftPosition(rtl ? 100 - hsv.s : hsv.s);
707
704
  }, [hsv.s, hsv.v, rtl]);
708
705
  const throttledChange = React.useMemo(() => {
709
- return throttle__default["default"](e => {
706
+ return throttle__default.default(e => {
710
707
  if (containerRef.current) {
711
708
  const nextHsv = getNextHsv(e, hue, containerRef.current, rtl);
712
709
  onChange && onChange(nextHsv, e);
@@ -741,12 +738,12 @@ const ColorWell = React__default["default"].memo(_ref => {
741
738
  throttledChange.cancel();
742
739
  };
743
740
  }, [throttledChange]);
744
- return React__default["default"].createElement(StyledColorWell, {
741
+ return React__namespace.default.createElement(StyledColorWell, {
745
742
  hue: hue,
746
743
  ref: containerRef,
747
744
  role: "presentation",
748
745
  onMouseDown: handleMouseDown
749
- }, React__default["default"].createElement(StyledColorWellThumb, {
746
+ }, React__namespace.default.createElement(StyledColorWellThumb, {
750
747
  top: mouseActiveRef.current ? topFromMouse : topPosition,
751
748
  left: mouseActiveRef.current ? leftFromMouse : leftPosition
752
749
  }));
@@ -799,7 +796,7 @@ const areColorsEqual = (a, b) => {
799
796
  if (colorA === undefined || colorB === undefined) {
800
797
  return false;
801
798
  }
802
- return isEqual__default["default"](colorA, colorB);
799
+ return isEqual__default.default(colorA, colorB);
803
800
  };
804
801
  function getInitialState(color) {
805
802
  const whiteColor = {
@@ -1120,33 +1117,33 @@ const Colorpicker = React.forwardRef((_ref, ref) => {
1120
1117
  payload: computedColor
1121
1118
  });
1122
1119
  }, [computedColor]);
1123
- return React__default["default"].createElement(StyledColorPicker, _extends$2({
1120
+ return React__namespace.default.createElement(StyledColorPicker, _extends$2({
1124
1121
  ref: ref,
1125
1122
  isOpaque: isOpaque
1126
- }, props), React__default["default"].createElement(ColorWell, {
1123
+ }, props), React__namespace.default.createElement(ColorWell, {
1127
1124
  hue: computedColor.hue,
1128
1125
  saturation: computedColor.saturation,
1129
1126
  lightness: computedColor.lightness,
1130
1127
  onChange: handleColorWellChange
1131
- }), React__default["default"].createElement(StyledSliderGroup, null, React__default["default"].createElement(StyledPreview, {
1128
+ }), React__namespace.default.createElement(StyledSliderGroup, null, React__namespace.default.createElement(StyledPreview, {
1132
1129
  red: computedColor.red,
1133
1130
  green: computedColor.green,
1134
1131
  blue: computedColor.blue,
1135
1132
  alpha: computedColor.alpha,
1136
1133
  isOpaque: isOpaque
1137
- }), React__default["default"].createElement(StyledSliders, {
1134
+ }), React__namespace.default.createElement(StyledSliders, {
1138
1135
  isOpaque: isOpaque
1139
- }, React__default["default"].createElement(reactForms.Field, null, React__default["default"].createElement(reactForms.Label, {
1136
+ }, React__namespace.default.createElement(reactForms.Field, null, React__namespace.default.createElement(reactForms.Label, {
1140
1137
  hidden: true
1141
- }, labels.hueSlider || 'Hue slider'), React__default["default"].createElement(StyledHueRange, {
1138
+ }, labels.hueSlider || 'Hue slider'), React__namespace.default.createElement(StyledHueRange, {
1142
1139
  step: 1,
1143
1140
  max: 360,
1144
1141
  value: computedColor.hue,
1145
1142
  isOpaque: isOpaque,
1146
1143
  onChange: handleHueChange
1147
- })), !isOpaque && React__default["default"].createElement(reactForms.Field, null, React__default["default"].createElement(reactForms.Label, {
1144
+ })), !isOpaque && React__namespace.default.createElement(reactForms.Field, null, React__namespace.default.createElement(reactForms.Label, {
1148
1145
  hidden: true
1149
- }, labels.alphaSlider || 'Alpha slider'), React__default["default"].createElement(StyledAlphaRange, {
1146
+ }, labels.alphaSlider || 'Alpha slider'), React__namespace.default.createElement(StyledAlphaRange, {
1150
1147
  max: 1,
1151
1148
  step: 0.01,
1152
1149
  value: computedColor.alpha / 100,
@@ -1154,9 +1151,9 @@ const Colorpicker = React.forwardRef((_ref, ref) => {
1154
1151
  red: computedColor.red,
1155
1152
  green: computedColor.green,
1156
1153
  blue: computedColor.blue
1157
- })))), React__default["default"].createElement(StyledInputGroup, null, React__default["default"].createElement(StyledHexField, null, React__default["default"].createElement(StyledLabel, {
1154
+ })))), React__namespace.default.createElement(StyledInputGroup, null, React__namespace.default.createElement(StyledHexField, null, React__namespace.default.createElement(StyledLabel, {
1158
1155
  isRegular: true
1159
- }, labels.hex || 'Hex'), React__default["default"].createElement(StyledInput, {
1156
+ }, labels.hex || 'Hex'), React__namespace.default.createElement(StyledInput, {
1160
1157
  isCompact: true,
1161
1158
  maxLength: 7,
1162
1159
  value: state.hexInput
@@ -1165,9 +1162,9 @@ const Colorpicker = React.forwardRef((_ref, ref) => {
1165
1162
  spellCheck: false,
1166
1163
  onBlur: handleBlur,
1167
1164
  onChange: handleHexChange
1168
- })), React__default["default"].createElement(StyledRGBAField, null, React__default["default"].createElement(StyledLabel, {
1165
+ })), React__namespace.default.createElement(StyledRGBAField, null, React__namespace.default.createElement(StyledLabel, {
1169
1166
  isRegular: true
1170
- }, labels.red || 'R'), React__default["default"].createElement(StyledInput, {
1167
+ }, labels.red || 'R'), React__namespace.default.createElement(StyledInput, {
1171
1168
  isCompact: true,
1172
1169
  type: "number",
1173
1170
  min: "0",
@@ -1176,9 +1173,9 @@ const Colorpicker = React.forwardRef((_ref, ref) => {
1176
1173
  value: state.redInput,
1177
1174
  onBlur: handleBlur,
1178
1175
  onChange: handleRedChange
1179
- })), React__default["default"].createElement(StyledRGBAField, null, React__default["default"].createElement(StyledLabel, {
1176
+ })), React__namespace.default.createElement(StyledRGBAField, null, React__namespace.default.createElement(StyledLabel, {
1180
1177
  isRegular: true
1181
- }, labels.green || 'G'), React__default["default"].createElement(StyledInput, {
1178
+ }, labels.green || 'G'), React__namespace.default.createElement(StyledInput, {
1182
1179
  isCompact: true,
1183
1180
  type: "number",
1184
1181
  min: "0",
@@ -1187,9 +1184,9 @@ const Colorpicker = React.forwardRef((_ref, ref) => {
1187
1184
  value: state.greenInput,
1188
1185
  onBlur: handleBlur,
1189
1186
  onChange: handleGreenChange
1190
- })), React__default["default"].createElement(StyledRGBAField, null, React__default["default"].createElement(StyledLabel, {
1187
+ })), React__namespace.default.createElement(StyledRGBAField, null, React__namespace.default.createElement(StyledLabel, {
1191
1188
  isRegular: true
1192
- }, labels.blue || 'B'), React__default["default"].createElement(StyledInput, {
1189
+ }, labels.blue || 'B'), React__namespace.default.createElement(StyledInput, {
1193
1190
  isCompact: true,
1194
1191
  type: "number",
1195
1192
  min: "0",
@@ -1198,9 +1195,9 @@ const Colorpicker = React.forwardRef((_ref, ref) => {
1198
1195
  value: state.blueInput,
1199
1196
  onBlur: handleBlur,
1200
1197
  onChange: handleBlueChange
1201
- })), !isOpaque && React__default["default"].createElement(StyledRGBAField, null, React__default["default"].createElement(StyledLabel, {
1198
+ })), !isOpaque && React__namespace.default.createElement(StyledRGBAField, null, React__namespace.default.createElement(StyledLabel, {
1202
1199
  isRegular: true
1203
- }, labels.alpha || 'A'), React__default["default"].createElement(StyledInput, {
1200
+ }, labels.alpha || 'A'), React__namespace.default.createElement(StyledInput, {
1204
1201
  isCompact: true,
1205
1202
  type: "number",
1206
1203
  min: "0",
@@ -1215,11 +1212,11 @@ Colorpicker.defaultProps = {
1215
1212
  };
1216
1213
  Colorpicker.displayName = 'Colorpicker';
1217
1214
  Colorpicker.propTypes = {
1218
- color: PropTypes__default["default"].oneOfType([PropTypes__default["default"].object, PropTypes__default["default"].string]),
1219
- isOpaque: PropTypes__default["default"].bool,
1220
- onChange: PropTypes__default["default"].func,
1221
- labels: PropTypes__default["default"].object,
1222
- defaultColor: PropTypes__default["default"].oneOfType([PropTypes__default["default"].object, PropTypes__default["default"].string])
1215
+ color: PropTypes__default.default.oneOfType([PropTypes__default.default.object, PropTypes__default.default.string]),
1216
+ isOpaque: PropTypes__default.default.bool,
1217
+ onChange: PropTypes__default.default.func,
1218
+ labels: PropTypes__default.default.object,
1219
+ defaultColor: PropTypes__default.default.oneOfType([PropTypes__default.default.object, PropTypes__default.default.string])
1223
1220
  };
1224
1221
 
1225
1222
  var _path$1;
@@ -1300,19 +1297,19 @@ const ColorpickerDialog = React.forwardRef((_ref, ref) => {
1300
1297
  }
1301
1298
  }
1302
1299
  }, [isOpen, isDialogControlled]);
1303
- return React__default["default"].createElement(React__default["default"].Fragment, null, children ? React.cloneElement(React.Children.only(children), {
1300
+ return React__namespace.default.createElement(React__namespace.default.Fragment, null, children ? React.cloneElement(React.Children.only(children), {
1304
1301
  onClick,
1305
1302
  ref: buttonRef
1306
- }) : React__default["default"].createElement(StyledButton, _extends$2({
1303
+ }) : React__namespace.default.createElement(StyledButton, _extends$2({
1307
1304
  disabled: disabled,
1308
1305
  focusInset: focusInset,
1309
1306
  ref: buttonRef,
1310
1307
  onClick: onClick
1311
- }, buttonProps), React__default["default"].createElement(StyledButtonPreview, {
1308
+ }, buttonProps), React__namespace.default.createElement(StyledButtonPreview, {
1312
1309
  backgroundColor: isControlled ? color : uncontrolledColor
1313
- }), React__default["default"].createElement(reactButtons.Button.EndIcon, {
1310
+ }), React__namespace.default.createElement(reactButtons.Button.EndIcon, {
1314
1311
  isRotated: referenceElement != null
1315
- }, React__default["default"].createElement(SvgChevronDownStroke, null))), React__default["default"].createElement(StyledTooltipModal, _extends$2({
1312
+ }, React__namespace.default.createElement(SvgChevronDownStroke, null))), React__namespace.default.createElement(StyledTooltipModal, _extends$2({
1316
1313
  ref: ref,
1317
1314
  hasArrow: hasArrow,
1318
1315
  popperModifiers: popperModifiers,
@@ -1327,7 +1324,7 @@ const ColorpickerDialog = React.forwardRef((_ref, ref) => {
1327
1324
  onClose && onClose(isControlled ? color : uncontrolledColor);
1328
1325
  },
1329
1326
  "aria-label": ariaLabelText
1330
- }, props), React__default["default"].createElement(StyledTooltipBody, null, React__default["default"].createElement(Colorpicker, {
1327
+ }, props), React__namespace.default.createElement(StyledTooltipBody, null, React__namespace.default.createElement(Colorpicker, {
1331
1328
  autofocus: true,
1332
1329
  color: color,
1333
1330
  isOpaque: isOpaque,
@@ -1339,18 +1336,18 @@ const ColorpickerDialog = React.forwardRef((_ref, ref) => {
1339
1336
  });
1340
1337
  ColorpickerDialog.propTypes = {
1341
1338
  ...Colorpicker.propTypes,
1342
- placement: PropTypes__default["default"].oneOf(reactModals.PLACEMENT),
1343
- onClose: PropTypes__default["default"].func,
1344
- onDialogChange: PropTypes__default["default"].func,
1345
- disabled: PropTypes__default["default"].bool,
1346
- labels: PropTypes__default["default"].object,
1347
- buttonProps: PropTypes__default["default"].object,
1348
- popperModifiers: PropTypes__default["default"].any,
1349
- zIndex: PropTypes__default["default"].number,
1350
- hasArrow: PropTypes__default["default"].bool,
1351
- isAnimated: PropTypes__default["default"].bool,
1352
- isOpen: PropTypes__default["default"].bool,
1353
- focusInset: PropTypes__default["default"].bool
1339
+ placement: PropTypes__default.default.oneOf(reactModals.PLACEMENT),
1340
+ onClose: PropTypes__default.default.func,
1341
+ onDialogChange: PropTypes__default.default.func,
1342
+ disabled: PropTypes__default.default.bool,
1343
+ labels: PropTypes__default.default.object,
1344
+ buttonProps: PropTypes__default.default.object,
1345
+ popperModifiers: PropTypes__default.default.any,
1346
+ zIndex: PropTypes__default.default.number,
1347
+ hasArrow: PropTypes__default.default.bool,
1348
+ isAnimated: PropTypes__default.default.bool,
1349
+ isOpen: PropTypes__default.default.bool,
1350
+ focusInset: PropTypes__default.default.bool
1354
1351
  };
1355
1352
  ColorpickerDialog.defaultProps = {
1356
1353
  placement: 'bottom-start',
@@ -1401,9 +1398,9 @@ const ColorSwatch = React.forwardRef((_ref, ref) => {
1401
1398
  idPrefix: containerUtilities.useId(),
1402
1399
  ...props
1403
1400
  });
1404
- return React__default["default"].createElement(StyledColorSwatch, {
1401
+ return React__namespace.default.createElement(StyledColorSwatch, {
1405
1402
  ref: ref
1406
- }, React__default["default"].createElement("tbody", null, colors.map((row, rowIdx) => React__default["default"].createElement("tr", {
1403
+ }, React__namespace.default.createElement("tbody", null, colors.map((row, rowIdx) => React__namespace.default.createElement("tr", {
1407
1404
  key: row[0].value
1408
1405
  }, row.map((color, colIdx) => {
1409
1406
  const {
@@ -1419,34 +1416,34 @@ const ColorSwatch = React.forwardRef((_ref, ref) => {
1419
1416
  type: 'button',
1420
1417
  role: undefined
1421
1418
  });
1422
- return React__default["default"].createElement(StyledCell, {
1419
+ return React__namespace.default.createElement(StyledCell, {
1423
1420
  key: value,
1424
1421
  "aria-selected": ariaSelected
1425
- }, React__default["default"].createElement(reactTooltips.Tooltip, {
1422
+ }, React__namespace.default.createElement(reactTooltips.Tooltip, {
1426
1423
  content: label
1427
- }, React__default["default"].createElement(StyledSwatchButton, _extends$2({
1424
+ }, React__namespace.default.createElement(StyledSwatchButton, _extends$2({
1428
1425
  backgroundColor: value,
1429
1426
  "aria-pressed": ariaSelected,
1430
1427
  "aria-label": label
1431
- }, other), React__default["default"].createElement(StyledIcon, {
1428
+ }, other), React__namespace.default.createElement(StyledIcon, {
1432
1429
  color: value,
1433
1430
  selected: ariaSelected
1434
- }, React__default["default"].createElement(SvgCheckSmFill, null)))));
1431
+ }, React__namespace.default.createElement(SvgCheckSmFill, null)))));
1435
1432
  })))));
1436
1433
  });
1437
1434
  ColorSwatch.displayName = 'ColorSwatch';
1438
1435
  ColorSwatch.propTypes = {
1439
- colors: PropTypes__default["default"].arrayOf(PropTypes__default["default"].any).isRequired,
1440
- rowIndex: PropTypes__default["default"].number,
1441
- colIndex: PropTypes__default["default"].number,
1442
- selectedRowIndex: PropTypes__default["default"].number,
1443
- selectedColIndex: PropTypes__default["default"].number,
1444
- defaultRowIndex: PropTypes__default["default"].number,
1445
- defaultColIndex: PropTypes__default["default"].number,
1446
- defaultSelectedRowIndex: PropTypes__default["default"].number,
1447
- defaultSelectedColIndex: PropTypes__default["default"].number,
1448
- onChange: PropTypes__default["default"].func,
1449
- onSelect: PropTypes__default["default"].func
1436
+ colors: PropTypes__default.default.arrayOf(PropTypes__default.default.any).isRequired,
1437
+ rowIndex: PropTypes__default.default.number,
1438
+ colIndex: PropTypes__default.default.number,
1439
+ selectedRowIndex: PropTypes__default.default.number,
1440
+ selectedColIndex: PropTypes__default.default.number,
1441
+ defaultRowIndex: PropTypes__default.default.number,
1442
+ defaultColIndex: PropTypes__default.default.number,
1443
+ defaultSelectedRowIndex: PropTypes__default.default.number,
1444
+ defaultSelectedColIndex: PropTypes__default.default.number,
1445
+ onChange: PropTypes__default.default.func,
1446
+ onSelect: PropTypes__default.default.func
1450
1447
  };
1451
1448
 
1452
1449
  const ColorSwatchDialog = React.forwardRef((_ref, ref) => {
@@ -1540,19 +1537,19 @@ const ColorSwatchDialog = React.forwardRef((_ref, ref) => {
1540
1537
  }
1541
1538
  }
1542
1539
  }, [referenceElement]);
1543
- return React__default["default"].createElement(React__default["default"].Fragment, null, children ? React.cloneElement(React.Children.only(children), {
1540
+ return React__namespace.default.createElement(React__namespace.default.Fragment, null, children ? React.cloneElement(React.Children.only(children), {
1544
1541
  onClick,
1545
1542
  ref: buttonRef
1546
- }) : React__default["default"].createElement(StyledButton, _extends$2({
1543
+ }) : React__namespace.default.createElement(StyledButton, _extends$2({
1547
1544
  disabled: disabled,
1548
1545
  focusInset: focusInset,
1549
1546
  ref: buttonRef,
1550
1547
  onClick: onClick
1551
- }, buttonProps), React__default["default"].createElement(StyledButtonPreview, {
1548
+ }, buttonProps), React__namespace.default.createElement(StyledButtonPreview, {
1552
1549
  backgroundColor: isControlled ? (_controlledSelectedCo = controlledSelectedColor) === null || _controlledSelectedCo === void 0 ? void 0 : _controlledSelectedCo.value : (_uncontrolledSelected = uncontrolledSelectedColor) === null || _uncontrolledSelected === void 0 ? void 0 : _uncontrolledSelected.value
1553
- }), React__default["default"].createElement(reactButtons.Button.EndIcon, {
1550
+ }), React__namespace.default.createElement(reactButtons.Button.EndIcon, {
1554
1551
  isRotated: referenceElement != null
1555
- }, React__default["default"].createElement(SvgChevronDownStroke, null))), React__default["default"].createElement(StyledTooltipModal, _extends$2({
1552
+ }, React__namespace.default.createElement(SvgChevronDownStroke, null))), React__namespace.default.createElement(StyledTooltipModal, _extends$2({
1556
1553
  ref: ref,
1557
1554
  zIndex: zIndex,
1558
1555
  hasArrow: hasArrow,
@@ -1563,7 +1560,7 @@ const ColorSwatchDialog = React.forwardRef((_ref, ref) => {
1563
1560
  referenceElement: referenceElement,
1564
1561
  onClose: closeDialog,
1565
1562
  "aria-label": ariaLabelText
1566
- }, props), React__default["default"].createElement(StyledTooltipBody, null, React__default["default"].createElement(ColorSwatch, {
1563
+ }, props), React__namespace.default.createElement(StyledTooltipBody, null, React__namespace.default.createElement(ColorSwatch, {
1567
1564
  colors: colors,
1568
1565
  ref: colorSwatchRef,
1569
1566
  rowIndex: rowIndex,
@@ -1592,16 +1589,16 @@ const ColorSwatchDialog = React.forwardRef((_ref, ref) => {
1592
1589
  });
1593
1590
  ColorSwatchDialog.propTypes = {
1594
1591
  ...ColorSwatch.propTypes,
1595
- placement: PropTypes__default["default"].oneOf(reactModals.PLACEMENT),
1596
- onDialogChange: PropTypes__default["default"].func,
1597
- disabled: PropTypes__default["default"].bool,
1598
- buttonProps: PropTypes__default["default"].object,
1599
- popperModifiers: PropTypes__default["default"].any,
1600
- zIndex: PropTypes__default["default"].number,
1601
- hasArrow: PropTypes__default["default"].bool,
1602
- isAnimated: PropTypes__default["default"].bool,
1603
- focusInset: PropTypes__default["default"].bool,
1604
- isOpen: PropTypes__default["default"].bool
1592
+ placement: PropTypes__default.default.oneOf(reactModals.PLACEMENT),
1593
+ onDialogChange: PropTypes__default.default.func,
1594
+ disabled: PropTypes__default.default.bool,
1595
+ buttonProps: PropTypes__default.default.object,
1596
+ popperModifiers: PropTypes__default.default.any,
1597
+ zIndex: PropTypes__default.default.number,
1598
+ hasArrow: PropTypes__default.default.bool,
1599
+ isAnimated: PropTypes__default.default.bool,
1600
+ focusInset: PropTypes__default.default.bool,
1601
+ isOpen: PropTypes__default.default.bool
1605
1602
  };
1606
1603
  ColorSwatchDialog.defaultProps = {
1607
1604
  placement: 'bottom-start',
package/dist/index.esm.js CHANGED
@@ -125,7 +125,7 @@ const getColorPickerWidth = props => {
125
125
  };
126
126
  const StyledColorPicker = styled.div.attrs({
127
127
  'data-garden-id': COMPONENT_ID$l,
128
- 'data-garden-version': '8.62.1'
128
+ 'data-garden-version': '8.62.2'
129
129
  }).withConfig({
130
130
  displayName: "StyledColorPicker",
131
131
  componentId: "sc-1donyl9-0"
@@ -260,7 +260,7 @@ const sizeStyles$2 = props => {
260
260
  };
261
261
  const StyledRange = styled(Range).attrs({
262
262
  'data-garden-id': COMPONENT_ID$k,
263
- 'data-garden-version': '8.62.1',
263
+ 'data-garden-version': '8.62.2',
264
264
  hasLowerTrack: false
265
265
  }).withConfig({
266
266
  displayName: "StyledRange",
@@ -275,7 +275,7 @@ StyledRange.defaultProps = {
275
275
  const COMPONENT_ID$j = 'colorpickers.colorpicker_hue';
276
276
  const StyledHueRange = styled(StyledRange).attrs({
277
277
  'data-garden-id': COMPONENT_ID$j,
278
- 'data-garden-version': '8.62.1'
278
+ 'data-garden-version': '8.62.2'
279
279
  }).withConfig({
280
280
  displayName: "StyledHueRange",
281
281
  componentId: "sc-13ly7p-0"
@@ -319,7 +319,7 @@ const StyledAlphaRange = styled(StyledRange).attrs(props => ({
319
319
  background: background$3(props)
320
320
  },
321
321
  'data-garden-id': COMPONENT_ID$i,
322
- 'data-garden-version': '8.62.1'
322
+ 'data-garden-version': '8.62.2'
323
323
  })).withConfig({
324
324
  displayName: "StyledAlphaRange",
325
325
  componentId: "sc-kuh2xc-0"
@@ -343,7 +343,7 @@ const StyledPreview = styled.div.attrs(props => ({
343
343
  background: background$2(props)
344
344
  },
345
345
  'data-garden-id': COMPONENT_ID$h,
346
- 'data-garden-version': '8.62.1',
346
+ 'data-garden-version': '8.62.2',
347
347
  'data-test-id': 'preview-box'
348
348
  })).withConfig({
349
349
  displayName: "StyledPreview",
@@ -365,7 +365,7 @@ const background$1 = props => {
365
365
  };
366
366
  const StyledColorWell = styled.div.attrs(props => ({
367
367
  'data-garden-id': COMPONENT_ID$g,
368
- 'data-garden-version': '8.62.1',
368
+ 'data-garden-version': '8.62.2',
369
369
  'data-test-id': 'colorwell',
370
370
  style: {
371
371
  background: background$1(props)
@@ -393,7 +393,7 @@ const sizeStyles$1 = theme => {
393
393
  };
394
394
  const StyledColorWellThumb = styled.div.attrs(props => ({
395
395
  'data-garden-id': COMPONENT_ID$f,
396
- 'data-garden-version': '8.62.1',
396
+ 'data-garden-version': '8.62.2',
397
397
  'data-test-id': 'colorwell-thumb',
398
398
  style: {
399
399
  top: `${props.top}%`,
@@ -410,7 +410,7 @@ StyledColorWellThumb.defaultProps = {
410
410
  const COMPONENT_ID$e = 'colorpickers.colorpicker_slider_group';
411
411
  const StyledSliderGroup = styled.div.attrs({
412
412
  'data-garden-id': COMPONENT_ID$e,
413
- 'data-garden-version': '8.62.1'
413
+ 'data-garden-version': '8.62.2'
414
414
  }).withConfig({
415
415
  displayName: "StyledSliderGroup",
416
416
  componentId: "sc-rsq0ak-0"
@@ -422,7 +422,7 @@ StyledSliderGroup.defaultProps = {
422
422
  const COMPONENT_ID$d = 'colorpickers.colorpicker_hex_field';
423
423
  const StyledHexField = styled(Field).attrs({
424
424
  'data-garden-id': COMPONENT_ID$d,
425
- 'data-garden-version': '8.62.1',
425
+ 'data-garden-version': '8.62.2',
426
426
  spellcheck: false
427
427
  }).withConfig({
428
428
  displayName: "StyledHexField",
@@ -435,7 +435,7 @@ StyledHexField.defaultProps = {
435
435
  const COMPONENT_ID$c = 'colorpickers.colorpicker_label';
436
436
  const StyledLabel = styled(Label).attrs({
437
437
  'data-garden-id': COMPONENT_ID$c,
438
- 'data-garden-version': '8.62.1'
438
+ 'data-garden-version': '8.62.2'
439
439
  }).withConfig({
440
440
  displayName: "StyledLabel",
441
441
  componentId: "sc-1klhp6m-0"
@@ -447,7 +447,7 @@ StyledLabel.defaultProps = {
447
447
  const COMPONENT_ID$b = 'colorpickers.colorpicker_input';
448
448
  const StyledInput = styled(Input).attrs({
449
449
  'data-garden-id': COMPONENT_ID$b,
450
- 'data-garden-version': '8.62.1',
450
+ 'data-garden-version': '8.62.2',
451
451
  focusInset: false
452
452
  }).withConfig({
453
453
  displayName: "StyledInput",
@@ -460,7 +460,7 @@ StyledInput.defaultProps = {
460
460
  const COMPONENT_ID$a = 'colorpickers.colorpicker_input_group';
461
461
  const StyledInputGroup = styled.div.attrs({
462
462
  'data-garden-id': COMPONENT_ID$a,
463
- 'data-garden-version': '8.62.1'
463
+ 'data-garden-version': '8.62.2'
464
464
  }).withConfig({
465
465
  displayName: "StyledInputGroup",
466
466
  componentId: "sc-mmy93w-0"
@@ -481,7 +481,7 @@ const sizeStyles = theme => {
481
481
  };
482
482
  const StyledRGBAField = styled(Field).attrs({
483
483
  'data-garden-id': COMPONENT_ID$9,
484
- 'data-garden-version': '8.62.1'
484
+ 'data-garden-version': '8.62.2'
485
485
  }).withConfig({
486
486
  displayName: "StyledRGBAField",
487
487
  componentId: "sc-ibo1yw-0"
@@ -493,7 +493,7 @@ StyledRGBAField.defaultProps = {
493
493
  const COMPONENT_ID$8 = 'colorpickers.colorpicker_sliders';
494
494
  const StyledSliders = styled.div.attrs({
495
495
  'data-garden-id': COMPONENT_ID$8,
496
- 'data-garden-version': '8.62.1'
496
+ 'data-garden-version': '8.62.2'
497
497
  }).withConfig({
498
498
  displayName: "StyledSliders",
499
499
  componentId: "sc-aclca2-0"
@@ -506,7 +506,7 @@ const COMPONENT_ID$7 = 'colorpickers.colordialog_button';
506
506
  const StyledButton = styled(Button).attrs({
507
507
  isNeutral: true,
508
508
  'data-garden-id': COMPONENT_ID$7,
509
- 'data-garden-version': '8.62.1'
509
+ 'data-garden-version': '8.62.2'
510
510
  }).withConfig({
511
511
  displayName: "StyledButton",
512
512
  componentId: "sc-101xjve-0"
@@ -541,7 +541,7 @@ const StyledButtonPreview = styled.span.attrs(props => ({
541
541
  background: `${background(props)}, ${checkeredBackground(props.theme, 8)}`
542
542
  },
543
543
  'data-garden-id': COMPONENT_ID$6,
544
- 'data-garden-version': '8.62.1',
544
+ 'data-garden-version': '8.62.2',
545
545
  'data-test-id': 'dialog-preview'
546
546
  })).withConfig({
547
547
  displayName: "StyledButtonPreview",
@@ -554,7 +554,7 @@ StyledButtonPreview.defaultProps = {
554
554
  const COMPONENT_ID$5 = 'colorpickers.colordialog_tooltipmodal';
555
555
  const StyledTooltipModal = styled(TooltipModal).attrs({
556
556
  'data-garden-id': COMPONENT_ID$5,
557
- 'data-garden-version': '8.62.1'
557
+ 'data-garden-version': '8.62.2'
558
558
  }).withConfig({
559
559
  displayName: "StyledTooltipModal",
560
560
  componentId: "sc-o022s8-0"
@@ -566,7 +566,7 @@ StyledTooltipModal.defaultProps = {
566
566
  const COMPONENT_ID$4 = 'colorpickers.colordialog_tooltipmodal_body';
567
567
  const StyledTooltipBody = styled(TooltipModal.Body).attrs({
568
568
  'data-garden-id': COMPONENT_ID$4,
569
- 'data-garden-version': '8.62.1'
569
+ 'data-garden-version': '8.62.2'
570
570
  }).withConfig({
571
571
  displayName: "StyledTooltipBody",
572
572
  componentId: "sc-6gsgsy-0"
@@ -580,7 +580,7 @@ const StyledSwatchButton = styled(StyledButtonPreview).attrs(props => ({
580
580
  as: 'button',
581
581
  'data-garden-id': COMPONENT_ID$3,
582
582
  'data-test-id': props.backgroundColor,
583
- 'data-garden-version': '8.62.1'
583
+ 'data-garden-version': '8.62.2'
584
584
  })).withConfig({
585
585
  displayName: "StyledSwatchButton",
586
586
  componentId: "sc-edpwpp-0"
@@ -592,7 +592,7 @@ StyledSwatchButton.defaultProps = {
592
592
  const COMPONENT_ID$2 = 'colorpickers.color_swatch';
593
593
  const StyledColorSwatch = styled.table.attrs({
594
594
  'data-garden-id': COMPONENT_ID$2,
595
- 'data-garden-version': '8.62.1',
595
+ 'data-garden-version': '8.62.2',
596
596
  role: 'grid'
597
597
  }).withConfig({
598
598
  displayName: "StyledColorSwatch",
@@ -629,7 +629,7 @@ const StyledIcon = styled(_ref => {
629
629
  return React__default.cloneElement(Children.only(children), props);
630
630
  }).attrs({
631
631
  'data-garden-id': COMPONENT_ID$1,
632
- 'data-garden-version': '8.62.1'
632
+ 'data-garden-version': '8.62.2'
633
633
  }).withConfig({
634
634
  displayName: "StyledIcon",
635
635
  componentId: "sc-8oigif-0"
@@ -641,7 +641,7 @@ StyledIcon.defaultProps = {
641
641
  const COMPONENT_ID = 'colorpickers.swatch_cell';
642
642
  const StyledCell = styled.td.attrs({
643
643
  'data-garden-id': COMPONENT_ID,
644
- 'data-garden-version': '8.62.1'
644
+ 'data-garden-version': '8.62.2'
645
645
  }).withConfig({
646
646
  displayName: "StyledCell",
647
647
  componentId: "sc-qr3oit-0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zendeskgarden/react-colorpickers",
3
- "version": "8.62.1",
3
+ "version": "8.62.2",
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": "^0.1.1",
25
25
  "@zendeskgarden/container-utilities": "^0.7.0",
26
- "@zendeskgarden/react-buttons": "^8.62.1",
27
- "@zendeskgarden/react-forms": "^8.62.1",
28
- "@zendeskgarden/react-modals": "^8.62.1",
29
- "@zendeskgarden/react-tooltips": "^8.62.1",
26
+ "@zendeskgarden/react-buttons": "^8.62.2",
27
+ "@zendeskgarden/react-forms": "^8.62.2",
28
+ "@zendeskgarden/react-modals": "^8.62.2",
29
+ "@zendeskgarden/react-tooltips": "^8.62.2",
30
30
  "lodash.isequal": "^4.5.0",
31
31
  "lodash.throttle": "^4.1.1",
32
32
  "polished": "^4.0.0",
@@ -41,7 +41,7 @@
41
41
  "devDependencies": {
42
42
  "@types/lodash.isequal": "4.5.6",
43
43
  "@types/lodash.throttle": "4.1.7",
44
- "@zendeskgarden/react-theming": "^8.62.1",
44
+ "@zendeskgarden/react-theming": "^8.62.2",
45
45
  "@zendeskgarden/svg-icons": "6.33.0"
46
46
  },
47
47
  "keywords": [
@@ -55,5 +55,5 @@
55
55
  "access": "public"
56
56
  },
57
57
  "zendeskgarden:src": "src/index.ts",
58
- "gitHead": "e84b3603c69975dc0ef30029364da15fc1e4fc03"
58
+ "gitHead": "27a7d6c021f3360396af60d51ecbf66e9076a405"
59
59
  }