@zendeskgarden/react-colorpickers 8.53.1 → 8.54.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.
- package/dist/index.cjs.js +22 -22
- package/dist/index.esm.js +22 -22
- package/package.json +7 -8
- package/LICENSE.md +0 -176
package/dist/index.cjs.js
CHANGED
|
@@ -291,7 +291,7 @@ var getColorPickerWidth = function getColorPickerWidth(props) {
|
|
|
291
291
|
};
|
|
292
292
|
var StyledColorPicker = styled__default["default"].div.attrs({
|
|
293
293
|
'data-garden-id': COMPONENT_ID$l,
|
|
294
|
-
'data-garden-version': '8.
|
|
294
|
+
'data-garden-version': '8.54.0'
|
|
295
295
|
}).withConfig({
|
|
296
296
|
displayName: "StyledColorPicker",
|
|
297
297
|
componentId: "sc-1donyl9-0"
|
|
@@ -352,7 +352,7 @@ var sizeStyles$2 = function sizeStyles(props) {
|
|
|
352
352
|
};
|
|
353
353
|
var StyledRange = styled__default["default"](reactForms.Range).attrs({
|
|
354
354
|
'data-garden-id': COMPONENT_ID$k,
|
|
355
|
-
'data-garden-version': '8.
|
|
355
|
+
'data-garden-version': '8.54.0',
|
|
356
356
|
hasLowerTrack: false
|
|
357
357
|
}).withConfig({
|
|
358
358
|
displayName: "StyledRange",
|
|
@@ -367,7 +367,7 @@ StyledRange.defaultProps = {
|
|
|
367
367
|
var COMPONENT_ID$j = 'colorpickers.colorpicker_hue';
|
|
368
368
|
var StyledHueRange = styled__default["default"](StyledRange).attrs({
|
|
369
369
|
'data-garden-id': COMPONENT_ID$j,
|
|
370
|
-
'data-garden-version': '8.
|
|
370
|
+
'data-garden-version': '8.54.0'
|
|
371
371
|
}).withConfig({
|
|
372
372
|
displayName: "StyledHueRange",
|
|
373
373
|
componentId: "sc-13ly7p-0"
|
|
@@ -413,7 +413,7 @@ var StyledAlphaRange = styled__default["default"](StyledRange).attrs(function (p
|
|
|
413
413
|
background: background$3(props)
|
|
414
414
|
},
|
|
415
415
|
'data-garden-id': COMPONENT_ID$i,
|
|
416
|
-
'data-garden-version': '8.
|
|
416
|
+
'data-garden-version': '8.54.0'
|
|
417
417
|
};
|
|
418
418
|
}).withConfig({
|
|
419
419
|
displayName: "StyledAlphaRange",
|
|
@@ -439,7 +439,7 @@ var StyledPreview = styled__default["default"].div.attrs(function (props) {
|
|
|
439
439
|
background: background$2(props)
|
|
440
440
|
},
|
|
441
441
|
'data-garden-id': COMPONENT_ID$h,
|
|
442
|
-
'data-garden-version': '8.
|
|
442
|
+
'data-garden-version': '8.54.0',
|
|
443
443
|
'data-test-id': 'preview-box'
|
|
444
444
|
};
|
|
445
445
|
}).withConfig({
|
|
@@ -475,7 +475,7 @@ var background$1 = function background(props) {
|
|
|
475
475
|
var StyledColorWell = styled__default["default"].div.attrs(function (props) {
|
|
476
476
|
return {
|
|
477
477
|
'data-garden-id': COMPONENT_ID$g,
|
|
478
|
-
'data-garden-version': '8.
|
|
478
|
+
'data-garden-version': '8.54.0',
|
|
479
479
|
'data-test-id': 'colorwell',
|
|
480
480
|
style: {
|
|
481
481
|
background: background$1(props)
|
|
@@ -503,7 +503,7 @@ var sizeStyles$1 = function sizeStyles(theme) {
|
|
|
503
503
|
var StyledColorWellThumb = styled__default["default"].div.attrs(function (props) {
|
|
504
504
|
return {
|
|
505
505
|
'data-garden-id': COMPONENT_ID$f,
|
|
506
|
-
'data-garden-version': '8.
|
|
506
|
+
'data-garden-version': '8.54.0',
|
|
507
507
|
'data-test-id': 'colorwell-thumb',
|
|
508
508
|
style: {
|
|
509
509
|
top: "".concat(props.top, "%"),
|
|
@@ -529,7 +529,7 @@ StyledColorWellThumb.defaultProps = {
|
|
|
529
529
|
var COMPONENT_ID$e = 'colorpickers.colorpicker_slider_group';
|
|
530
530
|
var StyledSliderGroup = styled__default["default"].div.attrs({
|
|
531
531
|
'data-garden-id': COMPONENT_ID$e,
|
|
532
|
-
'data-garden-version': '8.
|
|
532
|
+
'data-garden-version': '8.54.0'
|
|
533
533
|
}).withConfig({
|
|
534
534
|
displayName: "StyledSliderGroup",
|
|
535
535
|
componentId: "sc-rsq0ak-0"
|
|
@@ -545,7 +545,7 @@ StyledSliderGroup.defaultProps = {
|
|
|
545
545
|
var COMPONENT_ID$d = 'colorpickers.colorpicker_hex_field';
|
|
546
546
|
var StyledHexField = styled__default["default"](reactForms.Field).attrs({
|
|
547
547
|
'data-garden-id': COMPONENT_ID$d,
|
|
548
|
-
'data-garden-version': '8.
|
|
548
|
+
'data-garden-version': '8.54.0',
|
|
549
549
|
spellcheck: false
|
|
550
550
|
}).withConfig({
|
|
551
551
|
displayName: "StyledHexField",
|
|
@@ -560,7 +560,7 @@ StyledHexField.defaultProps = {
|
|
|
560
560
|
var COMPONENT_ID$c = 'colorpickers.colorpicker_label';
|
|
561
561
|
var StyledLabel = styled__default["default"](reactForms.Label).attrs({
|
|
562
562
|
'data-garden-id': COMPONENT_ID$c,
|
|
563
|
-
'data-garden-version': '8.
|
|
563
|
+
'data-garden-version': '8.54.0'
|
|
564
564
|
}).withConfig({
|
|
565
565
|
displayName: "StyledLabel",
|
|
566
566
|
componentId: "sc-1klhp6m-0"
|
|
@@ -574,7 +574,7 @@ StyledLabel.defaultProps = {
|
|
|
574
574
|
var COMPONENT_ID$b = 'colorpickers.colorpicker_input';
|
|
575
575
|
var StyledInput = styled__default["default"](reactForms.Input).attrs({
|
|
576
576
|
'data-garden-id': COMPONENT_ID$b,
|
|
577
|
-
'data-garden-version': '8.
|
|
577
|
+
'data-garden-version': '8.54.0',
|
|
578
578
|
focusInset: false
|
|
579
579
|
}).withConfig({
|
|
580
580
|
displayName: "StyledInput",
|
|
@@ -589,7 +589,7 @@ StyledInput.defaultProps = {
|
|
|
589
589
|
var COMPONENT_ID$a = 'colorpickers.colorpicker_input_group';
|
|
590
590
|
var StyledInputGroup = styled__default["default"].div.attrs({
|
|
591
591
|
'data-garden-id': COMPONENT_ID$a,
|
|
592
|
-
'data-garden-version': '8.
|
|
592
|
+
'data-garden-version': '8.54.0'
|
|
593
593
|
}).withConfig({
|
|
594
594
|
displayName: "StyledInputGroup",
|
|
595
595
|
componentId: "sc-mmy93w-0"
|
|
@@ -608,7 +608,7 @@ var sizeStyles = function sizeStyles(theme) {
|
|
|
608
608
|
};
|
|
609
609
|
var StyledRGBAField = styled__default["default"](reactForms.Field).attrs({
|
|
610
610
|
'data-garden-id': COMPONENT_ID$9,
|
|
611
|
-
'data-garden-version': '8.
|
|
611
|
+
'data-garden-version': '8.54.0'
|
|
612
612
|
}).withConfig({
|
|
613
613
|
displayName: "StyledRGBAField",
|
|
614
614
|
componentId: "sc-ibo1yw-0"
|
|
@@ -624,7 +624,7 @@ StyledRGBAField.defaultProps = {
|
|
|
624
624
|
var COMPONENT_ID$8 = 'colorpickers.colorpicker_sliders';
|
|
625
625
|
var StyledSliders = styled__default["default"].div.attrs({
|
|
626
626
|
'data-garden-id': COMPONENT_ID$8,
|
|
627
|
-
'data-garden-version': '8.
|
|
627
|
+
'data-garden-version': '8.54.0'
|
|
628
628
|
}).withConfig({
|
|
629
629
|
displayName: "StyledSliders",
|
|
630
630
|
componentId: "sc-aclca2-0"
|
|
@@ -645,7 +645,7 @@ var COMPONENT_ID$7 = 'colorpickers.colordialog_button';
|
|
|
645
645
|
var StyledButton = styled__default["default"](reactButtons.Button).attrs({
|
|
646
646
|
isNeutral: true,
|
|
647
647
|
'data-garden-id': COMPONENT_ID$7,
|
|
648
|
-
'data-garden-version': '8.
|
|
648
|
+
'data-garden-version': '8.54.0'
|
|
649
649
|
}).withConfig({
|
|
650
650
|
displayName: "StyledButton",
|
|
651
651
|
componentId: "sc-101xjve-0"
|
|
@@ -692,7 +692,7 @@ var StyledButtonPreview = styled__default["default"].span.attrs(function (props)
|
|
|
692
692
|
background: "".concat(background(props), ", ").concat(checkeredBackground(props.theme, 8))
|
|
693
693
|
},
|
|
694
694
|
'data-garden-id': COMPONENT_ID$6,
|
|
695
|
-
'data-garden-version': '8.
|
|
695
|
+
'data-garden-version': '8.54.0',
|
|
696
696
|
'data-test-id': 'dialog-preview'
|
|
697
697
|
};
|
|
698
698
|
}).withConfig({
|
|
@@ -720,7 +720,7 @@ StyledButtonPreview.defaultProps = {
|
|
|
720
720
|
var COMPONENT_ID$5 = 'colorpickers.colordialog_tooltipmodal';
|
|
721
721
|
var StyledTooltipModal = styled__default["default"](reactModals.TooltipModal).attrs({
|
|
722
722
|
'data-garden-id': COMPONENT_ID$5,
|
|
723
|
-
'data-garden-version': '8.
|
|
723
|
+
'data-garden-version': '8.54.0'
|
|
724
724
|
}).withConfig({
|
|
725
725
|
displayName: "StyledTooltipModal",
|
|
726
726
|
componentId: "sc-o022s8-0"
|
|
@@ -734,7 +734,7 @@ StyledTooltipModal.defaultProps = {
|
|
|
734
734
|
var COMPONENT_ID$4 = 'colorpickers.colordialog_tooltipmodal_body';
|
|
735
735
|
var StyledTooltipBody = styled__default["default"](reactModals.TooltipModal.Body).attrs({
|
|
736
736
|
'data-garden-id': COMPONENT_ID$4,
|
|
737
|
-
'data-garden-version': '8.
|
|
737
|
+
'data-garden-version': '8.54.0'
|
|
738
738
|
}).withConfig({
|
|
739
739
|
displayName: "StyledTooltipBody",
|
|
740
740
|
componentId: "sc-6gsgsy-0"
|
|
@@ -751,7 +751,7 @@ var StyledSwatchButton = styled__default["default"](StyledButtonPreview).attrs(f
|
|
|
751
751
|
as: 'button',
|
|
752
752
|
'data-garden-id': COMPONENT_ID$3,
|
|
753
753
|
'data-test-id': props.backgroundColor,
|
|
754
|
-
'data-garden-version': '8.
|
|
754
|
+
'data-garden-version': '8.54.0'
|
|
755
755
|
};
|
|
756
756
|
}).withConfig({
|
|
757
757
|
displayName: "StyledSwatchButton",
|
|
@@ -770,7 +770,7 @@ StyledSwatchButton.defaultProps = {
|
|
|
770
770
|
var COMPONENT_ID$2 = 'colorpickers.color_swatch';
|
|
771
771
|
var StyledColorSwatch = styled__default["default"].table.attrs({
|
|
772
772
|
'data-garden-id': COMPONENT_ID$2,
|
|
773
|
-
'data-garden-version': '8.
|
|
773
|
+
'data-garden-version': '8.54.0',
|
|
774
774
|
role: 'grid'
|
|
775
775
|
}).withConfig({
|
|
776
776
|
displayName: "StyledColorSwatch",
|
|
@@ -803,7 +803,7 @@ var StyledIcon = styled__default["default"](function (_ref) {
|
|
|
803
803
|
return React__default["default"].cloneElement(React.Children.only(children), props);
|
|
804
804
|
}).attrs({
|
|
805
805
|
'data-garden-id': COMPONENT_ID$1,
|
|
806
|
-
'data-garden-version': '8.
|
|
806
|
+
'data-garden-version': '8.54.0'
|
|
807
807
|
}).withConfig({
|
|
808
808
|
displayName: "StyledIcon",
|
|
809
809
|
componentId: "sc-8oigif-0"
|
|
@@ -823,7 +823,7 @@ StyledIcon.defaultProps = {
|
|
|
823
823
|
var COMPONENT_ID = 'colorpickers.swatch_cell';
|
|
824
824
|
var StyledCell = styled__default["default"].td.attrs({
|
|
825
825
|
'data-garden-id': COMPONENT_ID,
|
|
826
|
-
'data-garden-version': '8.
|
|
826
|
+
'data-garden-version': '8.54.0'
|
|
827
827
|
}).withConfig({
|
|
828
828
|
displayName: "StyledCell",
|
|
829
829
|
componentId: "sc-qr3oit-0"
|
package/dist/index.esm.js
CHANGED
|
@@ -261,7 +261,7 @@ var getColorPickerWidth = function getColorPickerWidth(props) {
|
|
|
261
261
|
};
|
|
262
262
|
var StyledColorPicker = styled.div.attrs({
|
|
263
263
|
'data-garden-id': COMPONENT_ID$l,
|
|
264
|
-
'data-garden-version': '8.
|
|
264
|
+
'data-garden-version': '8.54.0'
|
|
265
265
|
}).withConfig({
|
|
266
266
|
displayName: "StyledColorPicker",
|
|
267
267
|
componentId: "sc-1donyl9-0"
|
|
@@ -322,7 +322,7 @@ var sizeStyles$2 = function sizeStyles(props) {
|
|
|
322
322
|
};
|
|
323
323
|
var StyledRange = styled(Range).attrs({
|
|
324
324
|
'data-garden-id': COMPONENT_ID$k,
|
|
325
|
-
'data-garden-version': '8.
|
|
325
|
+
'data-garden-version': '8.54.0',
|
|
326
326
|
hasLowerTrack: false
|
|
327
327
|
}).withConfig({
|
|
328
328
|
displayName: "StyledRange",
|
|
@@ -337,7 +337,7 @@ StyledRange.defaultProps = {
|
|
|
337
337
|
var COMPONENT_ID$j = 'colorpickers.colorpicker_hue';
|
|
338
338
|
var StyledHueRange = styled(StyledRange).attrs({
|
|
339
339
|
'data-garden-id': COMPONENT_ID$j,
|
|
340
|
-
'data-garden-version': '8.
|
|
340
|
+
'data-garden-version': '8.54.0'
|
|
341
341
|
}).withConfig({
|
|
342
342
|
displayName: "StyledHueRange",
|
|
343
343
|
componentId: "sc-13ly7p-0"
|
|
@@ -383,7 +383,7 @@ var StyledAlphaRange = styled(StyledRange).attrs(function (props) {
|
|
|
383
383
|
background: background$3(props)
|
|
384
384
|
},
|
|
385
385
|
'data-garden-id': COMPONENT_ID$i,
|
|
386
|
-
'data-garden-version': '8.
|
|
386
|
+
'data-garden-version': '8.54.0'
|
|
387
387
|
};
|
|
388
388
|
}).withConfig({
|
|
389
389
|
displayName: "StyledAlphaRange",
|
|
@@ -409,7 +409,7 @@ var StyledPreview = styled.div.attrs(function (props) {
|
|
|
409
409
|
background: background$2(props)
|
|
410
410
|
},
|
|
411
411
|
'data-garden-id': COMPONENT_ID$h,
|
|
412
|
-
'data-garden-version': '8.
|
|
412
|
+
'data-garden-version': '8.54.0',
|
|
413
413
|
'data-test-id': 'preview-box'
|
|
414
414
|
};
|
|
415
415
|
}).withConfig({
|
|
@@ -445,7 +445,7 @@ var background$1 = function background(props) {
|
|
|
445
445
|
var StyledColorWell = styled.div.attrs(function (props) {
|
|
446
446
|
return {
|
|
447
447
|
'data-garden-id': COMPONENT_ID$g,
|
|
448
|
-
'data-garden-version': '8.
|
|
448
|
+
'data-garden-version': '8.54.0',
|
|
449
449
|
'data-test-id': 'colorwell',
|
|
450
450
|
style: {
|
|
451
451
|
background: background$1(props)
|
|
@@ -473,7 +473,7 @@ var sizeStyles$1 = function sizeStyles(theme) {
|
|
|
473
473
|
var StyledColorWellThumb = styled.div.attrs(function (props) {
|
|
474
474
|
return {
|
|
475
475
|
'data-garden-id': COMPONENT_ID$f,
|
|
476
|
-
'data-garden-version': '8.
|
|
476
|
+
'data-garden-version': '8.54.0',
|
|
477
477
|
'data-test-id': 'colorwell-thumb',
|
|
478
478
|
style: {
|
|
479
479
|
top: "".concat(props.top, "%"),
|
|
@@ -499,7 +499,7 @@ StyledColorWellThumb.defaultProps = {
|
|
|
499
499
|
var COMPONENT_ID$e = 'colorpickers.colorpicker_slider_group';
|
|
500
500
|
var StyledSliderGroup = styled.div.attrs({
|
|
501
501
|
'data-garden-id': COMPONENT_ID$e,
|
|
502
|
-
'data-garden-version': '8.
|
|
502
|
+
'data-garden-version': '8.54.0'
|
|
503
503
|
}).withConfig({
|
|
504
504
|
displayName: "StyledSliderGroup",
|
|
505
505
|
componentId: "sc-rsq0ak-0"
|
|
@@ -515,7 +515,7 @@ StyledSliderGroup.defaultProps = {
|
|
|
515
515
|
var COMPONENT_ID$d = 'colorpickers.colorpicker_hex_field';
|
|
516
516
|
var StyledHexField = styled(Field).attrs({
|
|
517
517
|
'data-garden-id': COMPONENT_ID$d,
|
|
518
|
-
'data-garden-version': '8.
|
|
518
|
+
'data-garden-version': '8.54.0',
|
|
519
519
|
spellcheck: false
|
|
520
520
|
}).withConfig({
|
|
521
521
|
displayName: "StyledHexField",
|
|
@@ -530,7 +530,7 @@ StyledHexField.defaultProps = {
|
|
|
530
530
|
var COMPONENT_ID$c = 'colorpickers.colorpicker_label';
|
|
531
531
|
var StyledLabel = styled(Label).attrs({
|
|
532
532
|
'data-garden-id': COMPONENT_ID$c,
|
|
533
|
-
'data-garden-version': '8.
|
|
533
|
+
'data-garden-version': '8.54.0'
|
|
534
534
|
}).withConfig({
|
|
535
535
|
displayName: "StyledLabel",
|
|
536
536
|
componentId: "sc-1klhp6m-0"
|
|
@@ -544,7 +544,7 @@ StyledLabel.defaultProps = {
|
|
|
544
544
|
var COMPONENT_ID$b = 'colorpickers.colorpicker_input';
|
|
545
545
|
var StyledInput = styled(Input).attrs({
|
|
546
546
|
'data-garden-id': COMPONENT_ID$b,
|
|
547
|
-
'data-garden-version': '8.
|
|
547
|
+
'data-garden-version': '8.54.0',
|
|
548
548
|
focusInset: false
|
|
549
549
|
}).withConfig({
|
|
550
550
|
displayName: "StyledInput",
|
|
@@ -559,7 +559,7 @@ StyledInput.defaultProps = {
|
|
|
559
559
|
var COMPONENT_ID$a = 'colorpickers.colorpicker_input_group';
|
|
560
560
|
var StyledInputGroup = styled.div.attrs({
|
|
561
561
|
'data-garden-id': COMPONENT_ID$a,
|
|
562
|
-
'data-garden-version': '8.
|
|
562
|
+
'data-garden-version': '8.54.0'
|
|
563
563
|
}).withConfig({
|
|
564
564
|
displayName: "StyledInputGroup",
|
|
565
565
|
componentId: "sc-mmy93w-0"
|
|
@@ -578,7 +578,7 @@ var sizeStyles = function sizeStyles(theme) {
|
|
|
578
578
|
};
|
|
579
579
|
var StyledRGBAField = styled(Field).attrs({
|
|
580
580
|
'data-garden-id': COMPONENT_ID$9,
|
|
581
|
-
'data-garden-version': '8.
|
|
581
|
+
'data-garden-version': '8.54.0'
|
|
582
582
|
}).withConfig({
|
|
583
583
|
displayName: "StyledRGBAField",
|
|
584
584
|
componentId: "sc-ibo1yw-0"
|
|
@@ -594,7 +594,7 @@ StyledRGBAField.defaultProps = {
|
|
|
594
594
|
var COMPONENT_ID$8 = 'colorpickers.colorpicker_sliders';
|
|
595
595
|
var StyledSliders = styled.div.attrs({
|
|
596
596
|
'data-garden-id': COMPONENT_ID$8,
|
|
597
|
-
'data-garden-version': '8.
|
|
597
|
+
'data-garden-version': '8.54.0'
|
|
598
598
|
}).withConfig({
|
|
599
599
|
displayName: "StyledSliders",
|
|
600
600
|
componentId: "sc-aclca2-0"
|
|
@@ -615,7 +615,7 @@ var COMPONENT_ID$7 = 'colorpickers.colordialog_button';
|
|
|
615
615
|
var StyledButton = styled(Button).attrs({
|
|
616
616
|
isNeutral: true,
|
|
617
617
|
'data-garden-id': COMPONENT_ID$7,
|
|
618
|
-
'data-garden-version': '8.
|
|
618
|
+
'data-garden-version': '8.54.0'
|
|
619
619
|
}).withConfig({
|
|
620
620
|
displayName: "StyledButton",
|
|
621
621
|
componentId: "sc-101xjve-0"
|
|
@@ -662,7 +662,7 @@ var StyledButtonPreview = styled.span.attrs(function (props) {
|
|
|
662
662
|
background: "".concat(background(props), ", ").concat(checkeredBackground(props.theme, 8))
|
|
663
663
|
},
|
|
664
664
|
'data-garden-id': COMPONENT_ID$6,
|
|
665
|
-
'data-garden-version': '8.
|
|
665
|
+
'data-garden-version': '8.54.0',
|
|
666
666
|
'data-test-id': 'dialog-preview'
|
|
667
667
|
};
|
|
668
668
|
}).withConfig({
|
|
@@ -690,7 +690,7 @@ StyledButtonPreview.defaultProps = {
|
|
|
690
690
|
var COMPONENT_ID$5 = 'colorpickers.colordialog_tooltipmodal';
|
|
691
691
|
var StyledTooltipModal = styled(TooltipModal).attrs({
|
|
692
692
|
'data-garden-id': COMPONENT_ID$5,
|
|
693
|
-
'data-garden-version': '8.
|
|
693
|
+
'data-garden-version': '8.54.0'
|
|
694
694
|
}).withConfig({
|
|
695
695
|
displayName: "StyledTooltipModal",
|
|
696
696
|
componentId: "sc-o022s8-0"
|
|
@@ -704,7 +704,7 @@ StyledTooltipModal.defaultProps = {
|
|
|
704
704
|
var COMPONENT_ID$4 = 'colorpickers.colordialog_tooltipmodal_body';
|
|
705
705
|
var StyledTooltipBody = styled(TooltipModal.Body).attrs({
|
|
706
706
|
'data-garden-id': COMPONENT_ID$4,
|
|
707
|
-
'data-garden-version': '8.
|
|
707
|
+
'data-garden-version': '8.54.0'
|
|
708
708
|
}).withConfig({
|
|
709
709
|
displayName: "StyledTooltipBody",
|
|
710
710
|
componentId: "sc-6gsgsy-0"
|
|
@@ -721,7 +721,7 @@ var StyledSwatchButton = styled(StyledButtonPreview).attrs(function (props) {
|
|
|
721
721
|
as: 'button',
|
|
722
722
|
'data-garden-id': COMPONENT_ID$3,
|
|
723
723
|
'data-test-id': props.backgroundColor,
|
|
724
|
-
'data-garden-version': '8.
|
|
724
|
+
'data-garden-version': '8.54.0'
|
|
725
725
|
};
|
|
726
726
|
}).withConfig({
|
|
727
727
|
displayName: "StyledSwatchButton",
|
|
@@ -740,7 +740,7 @@ StyledSwatchButton.defaultProps = {
|
|
|
740
740
|
var COMPONENT_ID$2 = 'colorpickers.color_swatch';
|
|
741
741
|
var StyledColorSwatch = styled.table.attrs({
|
|
742
742
|
'data-garden-id': COMPONENT_ID$2,
|
|
743
|
-
'data-garden-version': '8.
|
|
743
|
+
'data-garden-version': '8.54.0',
|
|
744
744
|
role: 'grid'
|
|
745
745
|
}).withConfig({
|
|
746
746
|
displayName: "StyledColorSwatch",
|
|
@@ -773,7 +773,7 @@ var StyledIcon = styled(function (_ref) {
|
|
|
773
773
|
return React__default.cloneElement(Children.only(children), props);
|
|
774
774
|
}).attrs({
|
|
775
775
|
'data-garden-id': COMPONENT_ID$1,
|
|
776
|
-
'data-garden-version': '8.
|
|
776
|
+
'data-garden-version': '8.54.0'
|
|
777
777
|
}).withConfig({
|
|
778
778
|
displayName: "StyledIcon",
|
|
779
779
|
componentId: "sc-8oigif-0"
|
|
@@ -793,7 +793,7 @@ StyledIcon.defaultProps = {
|
|
|
793
793
|
var COMPONENT_ID = 'colorpickers.swatch_cell';
|
|
794
794
|
var StyledCell = styled.td.attrs({
|
|
795
795
|
'data-garden-id': COMPONENT_ID,
|
|
796
|
-
'data-garden-version': '8.
|
|
796
|
+
'data-garden-version': '8.54.0'
|
|
797
797
|
}).withConfig({
|
|
798
798
|
displayName: "StyledCell",
|
|
799
799
|
componentId: "sc-qr3oit-0"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-colorpickers",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.54.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": "^0.1.1",
|
|
25
25
|
"@zendeskgarden/container-utilities": "^0.7.0",
|
|
26
|
-
"@zendeskgarden/react-buttons": "^8.
|
|
27
|
-
"@zendeskgarden/react-forms": "^8.
|
|
28
|
-
"@zendeskgarden/react-modals": "^8.
|
|
29
|
-
"@zendeskgarden/react-tooltips": "^8.
|
|
26
|
+
"@zendeskgarden/react-buttons": "^8.54.0",
|
|
27
|
+
"@zendeskgarden/react-forms": "^8.54.0",
|
|
28
|
+
"@zendeskgarden/react-modals": "^8.54.0",
|
|
29
|
+
"@zendeskgarden/react-tooltips": "^8.54.0",
|
|
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.
|
|
44
|
+
"@zendeskgarden/react-theming": "^8.54.0",
|
|
45
45
|
"@zendeskgarden/svg-icons": "6.32.0"
|
|
46
46
|
},
|
|
47
47
|
"keywords": [
|
|
@@ -54,6 +54,5 @@
|
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
|
-
"zendeskgarden:src": "src/index.ts"
|
|
58
|
-
"gitHead": "79dee8e82b6f082e8d4a72ba95a5fb3982d63040"
|
|
57
|
+
"zendeskgarden:src": "src/index.ts"
|
|
59
58
|
}
|
package/LICENSE.md
DELETED
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
-
|
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
-
the copyright owner that is granting the License.
|
|
14
|
-
|
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
-
other entities that control, are controlled by, or are under common
|
|
17
|
-
control with that entity. For the purposes of this definition,
|
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
-
direction or management of such entity, whether by contract or
|
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
-
|
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
-
exercising permissions granted by this License.
|
|
25
|
-
|
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
-
including but not limited to software source code, documentation
|
|
28
|
-
source, and configuration files.
|
|
29
|
-
|
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
|
31
|
-
transformation or translation of a Source form, including but
|
|
32
|
-
not limited to compiled object code, generated documentation,
|
|
33
|
-
and conversions to other media types.
|
|
34
|
-
|
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
-
Object form, made available under the License, as indicated by a
|
|
37
|
-
copyright notice that is included in or attached to the work
|
|
38
|
-
(an example is provided in the Appendix below).
|
|
39
|
-
|
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
-
the Work and Derivative Works thereof.
|
|
47
|
-
|
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
|
49
|
-
the original version of the Work and any modifications or additions
|
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
-
|
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
-
subsequently incorporated within the Work.
|
|
65
|
-
|
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
|
72
|
-
|
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
-
where such license applies only to those patent claims licensable
|
|
79
|
-
by such Contributor that are necessarily infringed by their
|
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
-
institute patent litigation against any entity (including a
|
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
-
or contributory patent infringement, then any patent licenses
|
|
86
|
-
granted to You under this License for that Work shall terminate
|
|
87
|
-
as of the date such litigation is filed.
|
|
88
|
-
|
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
-
modifications, and in Source or Object form, provided that You
|
|
92
|
-
meet the following conditions:
|
|
93
|
-
|
|
94
|
-
(a) You must give any other recipients of the Work or
|
|
95
|
-
Derivative Works a copy of this License; and
|
|
96
|
-
|
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
|
98
|
-
stating that You changed the files; and
|
|
99
|
-
|
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
|
102
|
-
attribution notices from the Source form of the Work,
|
|
103
|
-
excluding those notices that do not pertain to any part of
|
|
104
|
-
the Derivative Works; and
|
|
105
|
-
|
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
|
108
|
-
include a readable copy of the attribution notices contained
|
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
|
111
|
-
of the following places: within a NOTICE text file distributed
|
|
112
|
-
as part of the Derivative Works; within the Source form or
|
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
|
114
|
-
within a display generated by the Derivative Works, if and
|
|
115
|
-
wherever such third-party notices normally appear. The contents
|
|
116
|
-
of the NOTICE file are for informational purposes only and
|
|
117
|
-
do not modify the License. You may add Your own attribution
|
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
-
that such additional attribution notices cannot be construed
|
|
121
|
-
as modifying the License.
|
|
122
|
-
|
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
|
124
|
-
may provide additional or different license terms and conditions
|
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
-
the conditions stated in this License.
|
|
129
|
-
|
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
-
this License, without any additional terms or conditions.
|
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
-
the terms of any separate license agreement you may have executed
|
|
136
|
-
with Licensor regarding such Contributions.
|
|
137
|
-
|
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for reasonable and customary use in describing the
|
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
-
|
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
|
152
|
-
|
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
|
158
|
-
incidental, or consequential damages of any character arising as a
|
|
159
|
-
result of this License or out of the use or inability to use the
|
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
-
other commercial damages or losses), even if such Contributor
|
|
163
|
-
has been advised of the possibility of such damages.
|
|
164
|
-
|
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
-
or other liability obligations and/or rights consistent with this
|
|
169
|
-
License. However, in accepting such obligations, You may act only
|
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
-
of your accepting any such warranty or additional liability.
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|