@zendeskgarden/react-dropdowns 8.46.0 → 8.47.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 +41 -27
- package/dist/index.esm.js +42 -28
- package/dist/typings/elements/Menu/Items/AddItem.d.ts +1 -1
- package/dist/typings/elements/Menu/Items/Item.d.ts +3 -1
- package/dist/typings/elements/Menu/Items/NextItem.d.ts +1 -1
- package/dist/typings/elements/Menu/Items/PreviousItem.d.ts +1 -1
- package/dist/typings/styled/items/StyledItem.d.ts +1 -0
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -459,7 +459,7 @@ var COMPONENT_ID$m = 'dropdowns.menu';
|
|
|
459
459
|
var StyledMenu = styled__default['default'].ul.attrs(function (props) {
|
|
460
460
|
return {
|
|
461
461
|
'data-garden-id': COMPONENT_ID$m,
|
|
462
|
-
'data-garden-version': '8.
|
|
462
|
+
'data-garden-version': '8.47.0',
|
|
463
463
|
className: props.isAnimated && 'is-animated'
|
|
464
464
|
};
|
|
465
465
|
}).withConfig({
|
|
@@ -484,7 +484,7 @@ var COMPONENT_ID$l = 'dropdowns.menu_wrapper';
|
|
|
484
484
|
var StyledMenuWrapper = styled__default['default'].div.attrs(function (props) {
|
|
485
485
|
return {
|
|
486
486
|
'data-garden-id': COMPONENT_ID$l,
|
|
487
|
-
'data-garden-version': '8.
|
|
487
|
+
'data-garden-version': '8.47.0',
|
|
488
488
|
className: props.isAnimated && 'is-animated'
|
|
489
489
|
};
|
|
490
490
|
}).withConfig({
|
|
@@ -508,7 +508,7 @@ StyledMenuWrapper.defaultProps = {
|
|
|
508
508
|
var COMPONENT_ID$k = 'dropdowns.separator';
|
|
509
509
|
var StyledSeparator = styled__default['default'].li.attrs({
|
|
510
510
|
'data-garden-id': COMPONENT_ID$k,
|
|
511
|
-
'data-garden-version': '8.
|
|
511
|
+
'data-garden-version': '8.47.0',
|
|
512
512
|
role: 'separator'
|
|
513
513
|
}).withConfig({
|
|
514
514
|
displayName: "StyledSeparator",
|
|
@@ -532,18 +532,29 @@ var getItemPaddingVertical = function getItemPaddingVertical(props) {
|
|
|
532
532
|
return "".concat(props.theme.space.base * 2, "px");
|
|
533
533
|
};
|
|
534
534
|
var getColorStyles = function getColorStyles(props) {
|
|
535
|
-
|
|
535
|
+
var foregroundColor;
|
|
536
|
+
var backgroundColor;
|
|
537
|
+
if (props.disabled) {
|
|
538
|
+
foregroundColor = reactTheming.getColor('neutralHue', 400, props.theme);
|
|
539
|
+
} else if (props.isDanger) {
|
|
540
|
+
foregroundColor = reactTheming.getColor('dangerHue', 600, props.theme);
|
|
541
|
+
backgroundColor = props.isFocused ? polished.rgba(foregroundColor, 0.08) : 'inherit';
|
|
542
|
+
} else {
|
|
543
|
+
foregroundColor = props.theme.colors.foreground;
|
|
544
|
+
backgroundColor = props.isFocused ? reactTheming.getColor('primaryHue', 600, props.theme, 0.08) : 'inherit';
|
|
545
|
+
}
|
|
546
|
+
return styled.css(["background-color:", ";color:", ";& a,& a:hover,& a:focus,& a:active{color:inherit;}"], backgroundColor, foregroundColor);
|
|
536
547
|
};
|
|
537
548
|
var StyledItem = styled__default['default'].li.attrs(function (props) {
|
|
538
549
|
return {
|
|
539
550
|
'data-garden-id': COMPONENT_ID$j,
|
|
540
|
-
'data-garden-version': '8.
|
|
551
|
+
'data-garden-version': '8.47.0',
|
|
541
552
|
'aria-disabled': props.disabled
|
|
542
553
|
};
|
|
543
554
|
}).withConfig({
|
|
544
555
|
displayName: "StyledItem",
|
|
545
556
|
componentId: "sc-1xeog7q-0"
|
|
546
|
-
})(["display:block;position:relative;z-index:0;cursor:", ";padding:", " ", "px;text-decoration:none;line-height:", "px;word-wrap:break-word;user-select:none;&:first-child{margin-top:", "px;}&:last-child{margin-bottom:", "px;}&:focus{outline:none;}& a,& a:hover,& a:focus,& a:active{text-decoration:none;}", "
|
|
557
|
+
})(["display:block;position:relative;z-index:0;cursor:", ";padding:", " ", "px;text-decoration:none;line-height:", "px;word-wrap:break-word;user-select:none;&:first-child{margin-top:", "px;}&:last-child{margin-bottom:", "px;}&:focus{outline:none;}& a,& a:hover,& a:focus,& a:active{text-decoration:none;}", ";", ";"], function (props) {
|
|
547
558
|
return props.disabled ? 'default' : 'pointer';
|
|
548
559
|
}, function (props) {
|
|
549
560
|
return getItemPaddingVertical(props);
|
|
@@ -567,7 +578,7 @@ StyledItem.defaultProps = {
|
|
|
567
578
|
var COMPONENT_ID$i = 'dropdowns.add_item';
|
|
568
579
|
var StyledAddItem = styled__default['default'](StyledItem).attrs({
|
|
569
580
|
'data-garden-id': COMPONENT_ID$i,
|
|
570
|
-
'data-garden-version': '8.
|
|
581
|
+
'data-garden-version': '8.47.0'
|
|
571
582
|
}).withConfig({
|
|
572
583
|
displayName: "StyledAddItem",
|
|
573
584
|
componentId: "sc-ekqk50-0"
|
|
@@ -583,7 +594,7 @@ StyledAddItem.defaultProps = {
|
|
|
583
594
|
var COMPONENT_ID$h = 'dropdowns.item_meta';
|
|
584
595
|
var StyledItemMeta = styled__default['default'].span.attrs({
|
|
585
596
|
'data-garden-id': COMPONENT_ID$h,
|
|
586
|
-
'data-garden-version': '8.
|
|
597
|
+
'data-garden-version': '8.47.0'
|
|
587
598
|
}).withConfig({
|
|
588
599
|
displayName: "StyledItemMeta",
|
|
589
600
|
componentId: "sc-k6xy28-0"
|
|
@@ -606,7 +617,7 @@ var getSizeStyles = function getSizeStyles(props) {
|
|
|
606
617
|
};
|
|
607
618
|
var StyledItemIcon = styled__default['default'].div.attrs({
|
|
608
619
|
'data-garden-id': COMPONENT_ID$g,
|
|
609
|
-
'data-garden-version': '8.
|
|
620
|
+
'data-garden-version': '8.47.0'
|
|
610
621
|
}).withConfig({
|
|
611
622
|
displayName: "StyledItemIcon",
|
|
612
623
|
componentId: "sc-1v0ty11-0"
|
|
@@ -632,7 +643,7 @@ StyledItemIcon.defaultProps = {
|
|
|
632
643
|
var COMPONENT_ID$f = 'dropdowns.next_item';
|
|
633
644
|
var StyledNextItem = styled__default['default'](StyledItem).attrs({
|
|
634
645
|
'data-garden-id': COMPONENT_ID$f,
|
|
635
|
-
'data-garden-version': '8.
|
|
646
|
+
'data-garden-version': '8.47.0'
|
|
636
647
|
}).withConfig({
|
|
637
648
|
displayName: "StyledNextItem",
|
|
638
649
|
componentId: "sc-1bcygn5-0"
|
|
@@ -670,7 +681,7 @@ var NextIconComponent = function NextIconComponent(_ref) {
|
|
|
670
681
|
var className = _ref.className;
|
|
671
682
|
return React__default['default'].createElement(SvgChevronRightStroke, {
|
|
672
683
|
"data-garden-id": COMPONENT_ID$e,
|
|
673
|
-
"data-garden-version": '8.
|
|
684
|
+
"data-garden-version": '8.47.0',
|
|
674
685
|
className: className
|
|
675
686
|
});
|
|
676
687
|
};
|
|
@@ -691,7 +702,7 @@ StyledNextIcon.defaultProps = {
|
|
|
691
702
|
var COMPONENT_ID$d = 'dropdowns.previous_item';
|
|
692
703
|
var StyledPreviousItem = styled__default['default'](StyledItem).attrs({
|
|
693
704
|
'data-garden-id': COMPONENT_ID$d,
|
|
694
|
-
'data-garden-version': '8.
|
|
705
|
+
'data-garden-version': '8.47.0'
|
|
695
706
|
}).withConfig({
|
|
696
707
|
displayName: "StyledPreviousItem",
|
|
697
708
|
componentId: "sc-1nmdds9-0"
|
|
@@ -727,7 +738,7 @@ var PreviousIconComponent = function PreviousIconComponent(_ref) {
|
|
|
727
738
|
var className = _ref.className;
|
|
728
739
|
return React__default['default'].createElement(SvgChevronLeftStroke, {
|
|
729
740
|
"data-garden-id": COMPONENT_ID$c,
|
|
730
|
-
"data-garden-version": '8.
|
|
741
|
+
"data-garden-version": '8.47.0',
|
|
731
742
|
className: className
|
|
732
743
|
});
|
|
733
744
|
};
|
|
@@ -748,7 +759,7 @@ StyledPreviousIcon.defaultProps = {
|
|
|
748
759
|
var COMPONENT_ID$b = 'dropdowns.header_icon';
|
|
749
760
|
var StyledHeaderIcon = styled__default['default'].div.attrs({
|
|
750
761
|
'data-garden-id': COMPONENT_ID$b,
|
|
751
|
-
'data-garden-version': '8.
|
|
762
|
+
'data-garden-version': '8.47.0'
|
|
752
763
|
}).withConfig({
|
|
753
764
|
displayName: "StyledHeaderIcon",
|
|
754
765
|
componentId: "sc-1fl6nsz-0"
|
|
@@ -778,7 +789,7 @@ var getHorizontalPadding = function getHorizontalPadding(props) {
|
|
|
778
789
|
};
|
|
779
790
|
var StyledHeaderItem = styled__default['default'](StyledItem).attrs({
|
|
780
791
|
'data-garden-id': COMPONENT_ID$a,
|
|
781
|
-
'data-garden-version': '8.
|
|
792
|
+
'data-garden-version': '8.47.0'
|
|
782
793
|
}).withConfig({
|
|
783
794
|
displayName: "StyledHeaderItem",
|
|
784
795
|
componentId: "sc-137filx-0"
|
|
@@ -798,7 +809,7 @@ StyledHeaderItem.defaultProps = {
|
|
|
798
809
|
var COMPONENT_ID$9 = 'dropdowns.media_body';
|
|
799
810
|
var StyledMediaBody = styled__default['default'].div.attrs({
|
|
800
811
|
'data-garden-id': COMPONENT_ID$9,
|
|
801
|
-
'data-garden-version': '8.
|
|
812
|
+
'data-garden-version': '8.47.0'
|
|
802
813
|
}).withConfig({
|
|
803
814
|
displayName: "StyledMediaBody",
|
|
804
815
|
componentId: "sc-36j7ef-0"
|
|
@@ -826,7 +837,7 @@ function (_ref) {
|
|
|
826
837
|
);
|
|
827
838
|
}).attrs({
|
|
828
839
|
'data-garden-id': COMPONENT_ID$8,
|
|
829
|
-
'data-garden-version': '8.
|
|
840
|
+
'data-garden-version': '8.47.0'
|
|
830
841
|
}).withConfig({
|
|
831
842
|
displayName: "StyledMediaFigure",
|
|
832
843
|
componentId: "sc-2f2x8x-0"
|
|
@@ -848,7 +859,7 @@ StyledMediaFigure.defaultProps = {
|
|
|
848
859
|
var COMPONENT_ID$7 = 'dropdowns.media_item';
|
|
849
860
|
var StyledMediaItem = styled__default['default'](StyledItem).attrs({
|
|
850
861
|
'data-garden-id': COMPONENT_ID$7,
|
|
851
|
-
'data-garden-version': '8.
|
|
862
|
+
'data-garden-version': '8.47.0'
|
|
852
863
|
}).withConfig({
|
|
853
864
|
displayName: "StyledMediaItem",
|
|
854
865
|
componentId: "sc-ikwshz-0"
|
|
@@ -863,7 +874,7 @@ var COMPONENT_ID$6 = 'dropdowns.faux_input';
|
|
|
863
874
|
var StyledFauxInput = styled__default['default'](reactForms.FauxInput).attrs(function (props) {
|
|
864
875
|
return {
|
|
865
876
|
'data-garden-id': COMPONENT_ID$6,
|
|
866
|
-
'data-garden-version': '8.
|
|
877
|
+
'data-garden-version': '8.47.0',
|
|
867
878
|
mediaLayout: true,
|
|
868
879
|
theme: props.theme
|
|
869
880
|
};
|
|
@@ -885,7 +896,7 @@ var COMPONENT_ID$5 = 'dropdowns.input';
|
|
|
885
896
|
var hiddenStyling = styled.css(["position:fixed;border:0;clip:rect(1px,1px,1px,1px);padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;"]);
|
|
886
897
|
var StyledInput = styled__default['default'](reactForms.Input).attrs({
|
|
887
898
|
'data-garden-id': COMPONENT_ID$5,
|
|
888
|
-
'data-garden-version': '8.
|
|
899
|
+
'data-garden-version': '8.47.0',
|
|
889
900
|
isBare: true
|
|
890
901
|
}).withConfig({
|
|
891
902
|
displayName: "StyledInput",
|
|
@@ -902,7 +913,7 @@ StyledInput.defaultProps = {
|
|
|
902
913
|
var COMPONENT_ID$4 = 'dropdowns.select';
|
|
903
914
|
var StyledSelect = styled__default['default'].div.attrs({
|
|
904
915
|
'data-garden-id': COMPONENT_ID$4,
|
|
905
|
-
'data-garden-version': '8.
|
|
916
|
+
'data-garden-version': '8.47.0'
|
|
906
917
|
}).withConfig({
|
|
907
918
|
displayName: "StyledSelect",
|
|
908
919
|
componentId: "sc-xifmwj-0"
|
|
@@ -925,7 +936,7 @@ var visibleStyling = function visibleStyling(props) {
|
|
|
925
936
|
};
|
|
926
937
|
var StyledMultiselectInput = styled__default['default'](StyledInput).attrs({
|
|
927
938
|
'data-garden-id': COMPONENT_ID$3,
|
|
928
|
-
'data-garden-version': '8.
|
|
939
|
+
'data-garden-version': '8.47.0'
|
|
929
940
|
}).withConfig({
|
|
930
941
|
displayName: "StyledMultiselectInput",
|
|
931
942
|
componentId: "sc-1avnf6f-0"
|
|
@@ -955,7 +966,7 @@ var sizeStyles = function sizeStyles(props) {
|
|
|
955
966
|
};
|
|
956
967
|
var StyledMultiselectItemsContainer = styled__default['default'].div.attrs({
|
|
957
968
|
'data-garden-id': COMPONENT_ID$2,
|
|
958
|
-
'data-garden-version': '8.
|
|
969
|
+
'data-garden-version': '8.47.0'
|
|
959
970
|
}).withConfig({
|
|
960
971
|
displayName: "StyledMultiselectItemsContainer",
|
|
961
972
|
componentId: "sc-1jzhet8-0"
|
|
@@ -971,7 +982,7 @@ StyledMultiselectItemsContainer.defaultProps = {
|
|
|
971
982
|
var COMPONENT_ID$1 = 'dropdowns.multiselect_item_wrapper';
|
|
972
983
|
var StyledMultiselectItemWrapper = styled__default['default'].div.attrs({
|
|
973
984
|
'data-garden-id': COMPONENT_ID$1,
|
|
974
|
-
'data-garden-version': '8.
|
|
985
|
+
'data-garden-version': '8.47.0'
|
|
975
986
|
}).withConfig({
|
|
976
987
|
displayName: "StyledMultiselectItemWrapper",
|
|
977
988
|
componentId: "sc-1rb2bye-0"
|
|
@@ -987,7 +998,7 @@ StyledMultiselectItemWrapper.defaultProps = {
|
|
|
987
998
|
var COMPONENT_ID = 'dropdowns.multiselect_more_anchor';
|
|
988
999
|
var StyledMultiselectMoreAnchor = styled__default['default'].div.attrs({
|
|
989
1000
|
'data-garden-id': COMPONENT_ID,
|
|
990
|
-
'data-garden-version': '8.
|
|
1001
|
+
'data-garden-version': '8.47.0'
|
|
991
1002
|
}).withConfig({
|
|
992
1003
|
displayName: "StyledMultiselectMoreAnchor",
|
|
993
1004
|
componentId: "sc-1m9v46e-0"
|
|
@@ -2046,10 +2057,11 @@ var useItemContext = function useItemContext() {
|
|
|
2046
2057
|
return context;
|
|
2047
2058
|
};
|
|
2048
2059
|
|
|
2049
|
-
var _excluded$3 = ["value", "disabled", "component", "children"];
|
|
2060
|
+
var _excluded$3 = ["value", "disabled", "isDanger", "component", "children"];
|
|
2050
2061
|
var Item = React__default['default'].forwardRef(function (_ref, forwardRef) {
|
|
2051
2062
|
var value = _ref.value,
|
|
2052
2063
|
disabled = _ref.disabled,
|
|
2064
|
+
isDanger = _ref.isDanger,
|
|
2053
2065
|
_ref$component = _ref.component,
|
|
2054
2066
|
component = _ref$component === void 0 ? StyledItem : _ref$component,
|
|
2055
2067
|
children = _ref.children,
|
|
@@ -2112,6 +2124,7 @@ var Item = React__default['default'].forwardRef(function (_ref, forwardRef) {
|
|
|
2112
2124
|
}, React__default['default'].createElement(Component, _extends$5({
|
|
2113
2125
|
ref: ref,
|
|
2114
2126
|
disabled: disabled,
|
|
2127
|
+
isDanger: isDanger,
|
|
2115
2128
|
isCompact: isCompact
|
|
2116
2129
|
}, props), isSelected && React__default['default'].createElement(StyledItemIcon, {
|
|
2117
2130
|
isCompact: isCompact,
|
|
@@ -2126,7 +2139,8 @@ var Item = React__default['default'].forwardRef(function (_ref, forwardRef) {
|
|
|
2126
2139
|
item: value,
|
|
2127
2140
|
isFocused: isFocused,
|
|
2128
2141
|
ref: ref,
|
|
2129
|
-
isCompact: isCompact
|
|
2142
|
+
isCompact: isCompact,
|
|
2143
|
+
isDanger: isDanger
|
|
2130
2144
|
}, hasMenuRef.current && {
|
|
2131
2145
|
role: 'menuitem',
|
|
2132
2146
|
'aria-selected': null
|
package/dist/index.esm.js
CHANGED
|
@@ -14,7 +14,7 @@ import { Manager, Reference, Popper } from 'react-popper';
|
|
|
14
14
|
import { withTheme, isRtl, arrowStyles, retrieveComponentStyles, DEFAULT_THEME, menuStyles, getColor, getLineHeight } from '@zendeskgarden/react-theming';
|
|
15
15
|
import { composeEventHandlers, KEY_CODES } from '@zendeskgarden/container-utilities';
|
|
16
16
|
import styled, { css } from 'styled-components';
|
|
17
|
-
import { math } from 'polished';
|
|
17
|
+
import { rgba, math } from 'polished';
|
|
18
18
|
import { FauxInput, Input, MediaInput, Field as Field$1, Hint as Hint$1, Label as Label$1, Message as Message$1 } from '@zendeskgarden/react-forms';
|
|
19
19
|
import mergeRefs from 'react-merge-refs';
|
|
20
20
|
import { useSelection } from '@zendeskgarden/container-selection';
|
|
@@ -428,7 +428,7 @@ var COMPONENT_ID$m = 'dropdowns.menu';
|
|
|
428
428
|
var StyledMenu = styled.ul.attrs(function (props) {
|
|
429
429
|
return {
|
|
430
430
|
'data-garden-id': COMPONENT_ID$m,
|
|
431
|
-
'data-garden-version': '8.
|
|
431
|
+
'data-garden-version': '8.47.0',
|
|
432
432
|
className: props.isAnimated && 'is-animated'
|
|
433
433
|
};
|
|
434
434
|
}).withConfig({
|
|
@@ -453,7 +453,7 @@ var COMPONENT_ID$l = 'dropdowns.menu_wrapper';
|
|
|
453
453
|
var StyledMenuWrapper = styled.div.attrs(function (props) {
|
|
454
454
|
return {
|
|
455
455
|
'data-garden-id': COMPONENT_ID$l,
|
|
456
|
-
'data-garden-version': '8.
|
|
456
|
+
'data-garden-version': '8.47.0',
|
|
457
457
|
className: props.isAnimated && 'is-animated'
|
|
458
458
|
};
|
|
459
459
|
}).withConfig({
|
|
@@ -477,7 +477,7 @@ StyledMenuWrapper.defaultProps = {
|
|
|
477
477
|
var COMPONENT_ID$k = 'dropdowns.separator';
|
|
478
478
|
var StyledSeparator = styled.li.attrs({
|
|
479
479
|
'data-garden-id': COMPONENT_ID$k,
|
|
480
|
-
'data-garden-version': '8.
|
|
480
|
+
'data-garden-version': '8.47.0',
|
|
481
481
|
role: 'separator'
|
|
482
482
|
}).withConfig({
|
|
483
483
|
displayName: "StyledSeparator",
|
|
@@ -501,18 +501,29 @@ var getItemPaddingVertical = function getItemPaddingVertical(props) {
|
|
|
501
501
|
return "".concat(props.theme.space.base * 2, "px");
|
|
502
502
|
};
|
|
503
503
|
var getColorStyles = function getColorStyles(props) {
|
|
504
|
-
|
|
504
|
+
var foregroundColor;
|
|
505
|
+
var backgroundColor;
|
|
506
|
+
if (props.disabled) {
|
|
507
|
+
foregroundColor = getColor('neutralHue', 400, props.theme);
|
|
508
|
+
} else if (props.isDanger) {
|
|
509
|
+
foregroundColor = getColor('dangerHue', 600, props.theme);
|
|
510
|
+
backgroundColor = props.isFocused ? rgba(foregroundColor, 0.08) : 'inherit';
|
|
511
|
+
} else {
|
|
512
|
+
foregroundColor = props.theme.colors.foreground;
|
|
513
|
+
backgroundColor = props.isFocused ? getColor('primaryHue', 600, props.theme, 0.08) : 'inherit';
|
|
514
|
+
}
|
|
515
|
+
return css(["background-color:", ";color:", ";& a,& a:hover,& a:focus,& a:active{color:inherit;}"], backgroundColor, foregroundColor);
|
|
505
516
|
};
|
|
506
517
|
var StyledItem = styled.li.attrs(function (props) {
|
|
507
518
|
return {
|
|
508
519
|
'data-garden-id': COMPONENT_ID$j,
|
|
509
|
-
'data-garden-version': '8.
|
|
520
|
+
'data-garden-version': '8.47.0',
|
|
510
521
|
'aria-disabled': props.disabled
|
|
511
522
|
};
|
|
512
523
|
}).withConfig({
|
|
513
524
|
displayName: "StyledItem",
|
|
514
525
|
componentId: "sc-1xeog7q-0"
|
|
515
|
-
})(["display:block;position:relative;z-index:0;cursor:", ";padding:", " ", "px;text-decoration:none;line-height:", "px;word-wrap:break-word;user-select:none;&:first-child{margin-top:", "px;}&:last-child{margin-bottom:", "px;}&:focus{outline:none;}& a,& a:hover,& a:focus,& a:active{text-decoration:none;}", "
|
|
526
|
+
})(["display:block;position:relative;z-index:0;cursor:", ";padding:", " ", "px;text-decoration:none;line-height:", "px;word-wrap:break-word;user-select:none;&:first-child{margin-top:", "px;}&:last-child{margin-bottom:", "px;}&:focus{outline:none;}& a,& a:hover,& a:focus,& a:active{text-decoration:none;}", ";", ";"], function (props) {
|
|
516
527
|
return props.disabled ? 'default' : 'pointer';
|
|
517
528
|
}, function (props) {
|
|
518
529
|
return getItemPaddingVertical(props);
|
|
@@ -536,7 +547,7 @@ StyledItem.defaultProps = {
|
|
|
536
547
|
var COMPONENT_ID$i = 'dropdowns.add_item';
|
|
537
548
|
var StyledAddItem = styled(StyledItem).attrs({
|
|
538
549
|
'data-garden-id': COMPONENT_ID$i,
|
|
539
|
-
'data-garden-version': '8.
|
|
550
|
+
'data-garden-version': '8.47.0'
|
|
540
551
|
}).withConfig({
|
|
541
552
|
displayName: "StyledAddItem",
|
|
542
553
|
componentId: "sc-ekqk50-0"
|
|
@@ -552,7 +563,7 @@ StyledAddItem.defaultProps = {
|
|
|
552
563
|
var COMPONENT_ID$h = 'dropdowns.item_meta';
|
|
553
564
|
var StyledItemMeta = styled.span.attrs({
|
|
554
565
|
'data-garden-id': COMPONENT_ID$h,
|
|
555
|
-
'data-garden-version': '8.
|
|
566
|
+
'data-garden-version': '8.47.0'
|
|
556
567
|
}).withConfig({
|
|
557
568
|
displayName: "StyledItemMeta",
|
|
558
569
|
componentId: "sc-k6xy28-0"
|
|
@@ -575,7 +586,7 @@ var getSizeStyles = function getSizeStyles(props) {
|
|
|
575
586
|
};
|
|
576
587
|
var StyledItemIcon = styled.div.attrs({
|
|
577
588
|
'data-garden-id': COMPONENT_ID$g,
|
|
578
|
-
'data-garden-version': '8.
|
|
589
|
+
'data-garden-version': '8.47.0'
|
|
579
590
|
}).withConfig({
|
|
580
591
|
displayName: "StyledItemIcon",
|
|
581
592
|
componentId: "sc-1v0ty11-0"
|
|
@@ -601,7 +612,7 @@ StyledItemIcon.defaultProps = {
|
|
|
601
612
|
var COMPONENT_ID$f = 'dropdowns.next_item';
|
|
602
613
|
var StyledNextItem = styled(StyledItem).attrs({
|
|
603
614
|
'data-garden-id': COMPONENT_ID$f,
|
|
604
|
-
'data-garden-version': '8.
|
|
615
|
+
'data-garden-version': '8.47.0'
|
|
605
616
|
}).withConfig({
|
|
606
617
|
displayName: "StyledNextItem",
|
|
607
618
|
componentId: "sc-1bcygn5-0"
|
|
@@ -639,7 +650,7 @@ var NextIconComponent = function NextIconComponent(_ref) {
|
|
|
639
650
|
var className = _ref.className;
|
|
640
651
|
return React__default.createElement(SvgChevronRightStroke, {
|
|
641
652
|
"data-garden-id": COMPONENT_ID$e,
|
|
642
|
-
"data-garden-version": '8.
|
|
653
|
+
"data-garden-version": '8.47.0',
|
|
643
654
|
className: className
|
|
644
655
|
});
|
|
645
656
|
};
|
|
@@ -660,7 +671,7 @@ StyledNextIcon.defaultProps = {
|
|
|
660
671
|
var COMPONENT_ID$d = 'dropdowns.previous_item';
|
|
661
672
|
var StyledPreviousItem = styled(StyledItem).attrs({
|
|
662
673
|
'data-garden-id': COMPONENT_ID$d,
|
|
663
|
-
'data-garden-version': '8.
|
|
674
|
+
'data-garden-version': '8.47.0'
|
|
664
675
|
}).withConfig({
|
|
665
676
|
displayName: "StyledPreviousItem",
|
|
666
677
|
componentId: "sc-1nmdds9-0"
|
|
@@ -696,7 +707,7 @@ var PreviousIconComponent = function PreviousIconComponent(_ref) {
|
|
|
696
707
|
var className = _ref.className;
|
|
697
708
|
return React__default.createElement(SvgChevronLeftStroke, {
|
|
698
709
|
"data-garden-id": COMPONENT_ID$c,
|
|
699
|
-
"data-garden-version": '8.
|
|
710
|
+
"data-garden-version": '8.47.0',
|
|
700
711
|
className: className
|
|
701
712
|
});
|
|
702
713
|
};
|
|
@@ -717,7 +728,7 @@ StyledPreviousIcon.defaultProps = {
|
|
|
717
728
|
var COMPONENT_ID$b = 'dropdowns.header_icon';
|
|
718
729
|
var StyledHeaderIcon = styled.div.attrs({
|
|
719
730
|
'data-garden-id': COMPONENT_ID$b,
|
|
720
|
-
'data-garden-version': '8.
|
|
731
|
+
'data-garden-version': '8.47.0'
|
|
721
732
|
}).withConfig({
|
|
722
733
|
displayName: "StyledHeaderIcon",
|
|
723
734
|
componentId: "sc-1fl6nsz-0"
|
|
@@ -747,7 +758,7 @@ var getHorizontalPadding = function getHorizontalPadding(props) {
|
|
|
747
758
|
};
|
|
748
759
|
var StyledHeaderItem = styled(StyledItem).attrs({
|
|
749
760
|
'data-garden-id': COMPONENT_ID$a,
|
|
750
|
-
'data-garden-version': '8.
|
|
761
|
+
'data-garden-version': '8.47.0'
|
|
751
762
|
}).withConfig({
|
|
752
763
|
displayName: "StyledHeaderItem",
|
|
753
764
|
componentId: "sc-137filx-0"
|
|
@@ -767,7 +778,7 @@ StyledHeaderItem.defaultProps = {
|
|
|
767
778
|
var COMPONENT_ID$9 = 'dropdowns.media_body';
|
|
768
779
|
var StyledMediaBody = styled.div.attrs({
|
|
769
780
|
'data-garden-id': COMPONENT_ID$9,
|
|
770
|
-
'data-garden-version': '8.
|
|
781
|
+
'data-garden-version': '8.47.0'
|
|
771
782
|
}).withConfig({
|
|
772
783
|
displayName: "StyledMediaBody",
|
|
773
784
|
componentId: "sc-36j7ef-0"
|
|
@@ -795,7 +806,7 @@ function (_ref) {
|
|
|
795
806
|
);
|
|
796
807
|
}).attrs({
|
|
797
808
|
'data-garden-id': COMPONENT_ID$8,
|
|
798
|
-
'data-garden-version': '8.
|
|
809
|
+
'data-garden-version': '8.47.0'
|
|
799
810
|
}).withConfig({
|
|
800
811
|
displayName: "StyledMediaFigure",
|
|
801
812
|
componentId: "sc-2f2x8x-0"
|
|
@@ -817,7 +828,7 @@ StyledMediaFigure.defaultProps = {
|
|
|
817
828
|
var COMPONENT_ID$7 = 'dropdowns.media_item';
|
|
818
829
|
var StyledMediaItem = styled(StyledItem).attrs({
|
|
819
830
|
'data-garden-id': COMPONENT_ID$7,
|
|
820
|
-
'data-garden-version': '8.
|
|
831
|
+
'data-garden-version': '8.47.0'
|
|
821
832
|
}).withConfig({
|
|
822
833
|
displayName: "StyledMediaItem",
|
|
823
834
|
componentId: "sc-ikwshz-0"
|
|
@@ -832,7 +843,7 @@ var COMPONENT_ID$6 = 'dropdowns.faux_input';
|
|
|
832
843
|
var StyledFauxInput = styled(FauxInput).attrs(function (props) {
|
|
833
844
|
return {
|
|
834
845
|
'data-garden-id': COMPONENT_ID$6,
|
|
835
|
-
'data-garden-version': '8.
|
|
846
|
+
'data-garden-version': '8.47.0',
|
|
836
847
|
mediaLayout: true,
|
|
837
848
|
theme: props.theme
|
|
838
849
|
};
|
|
@@ -854,7 +865,7 @@ var COMPONENT_ID$5 = 'dropdowns.input';
|
|
|
854
865
|
var hiddenStyling = css(["position:fixed;border:0;clip:rect(1px,1px,1px,1px);padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;"]);
|
|
855
866
|
var StyledInput = styled(Input).attrs({
|
|
856
867
|
'data-garden-id': COMPONENT_ID$5,
|
|
857
|
-
'data-garden-version': '8.
|
|
868
|
+
'data-garden-version': '8.47.0',
|
|
858
869
|
isBare: true
|
|
859
870
|
}).withConfig({
|
|
860
871
|
displayName: "StyledInput",
|
|
@@ -871,7 +882,7 @@ StyledInput.defaultProps = {
|
|
|
871
882
|
var COMPONENT_ID$4 = 'dropdowns.select';
|
|
872
883
|
var StyledSelect = styled.div.attrs({
|
|
873
884
|
'data-garden-id': COMPONENT_ID$4,
|
|
874
|
-
'data-garden-version': '8.
|
|
885
|
+
'data-garden-version': '8.47.0'
|
|
875
886
|
}).withConfig({
|
|
876
887
|
displayName: "StyledSelect",
|
|
877
888
|
componentId: "sc-xifmwj-0"
|
|
@@ -894,7 +905,7 @@ var visibleStyling = function visibleStyling(props) {
|
|
|
894
905
|
};
|
|
895
906
|
var StyledMultiselectInput = styled(StyledInput).attrs({
|
|
896
907
|
'data-garden-id': COMPONENT_ID$3,
|
|
897
|
-
'data-garden-version': '8.
|
|
908
|
+
'data-garden-version': '8.47.0'
|
|
898
909
|
}).withConfig({
|
|
899
910
|
displayName: "StyledMultiselectInput",
|
|
900
911
|
componentId: "sc-1avnf6f-0"
|
|
@@ -924,7 +935,7 @@ var sizeStyles = function sizeStyles(props) {
|
|
|
924
935
|
};
|
|
925
936
|
var StyledMultiselectItemsContainer = styled.div.attrs({
|
|
926
937
|
'data-garden-id': COMPONENT_ID$2,
|
|
927
|
-
'data-garden-version': '8.
|
|
938
|
+
'data-garden-version': '8.47.0'
|
|
928
939
|
}).withConfig({
|
|
929
940
|
displayName: "StyledMultiselectItemsContainer",
|
|
930
941
|
componentId: "sc-1jzhet8-0"
|
|
@@ -940,7 +951,7 @@ StyledMultiselectItemsContainer.defaultProps = {
|
|
|
940
951
|
var COMPONENT_ID$1 = 'dropdowns.multiselect_item_wrapper';
|
|
941
952
|
var StyledMultiselectItemWrapper = styled.div.attrs({
|
|
942
953
|
'data-garden-id': COMPONENT_ID$1,
|
|
943
|
-
'data-garden-version': '8.
|
|
954
|
+
'data-garden-version': '8.47.0'
|
|
944
955
|
}).withConfig({
|
|
945
956
|
displayName: "StyledMultiselectItemWrapper",
|
|
946
957
|
componentId: "sc-1rb2bye-0"
|
|
@@ -956,7 +967,7 @@ StyledMultiselectItemWrapper.defaultProps = {
|
|
|
956
967
|
var COMPONENT_ID = 'dropdowns.multiselect_more_anchor';
|
|
957
968
|
var StyledMultiselectMoreAnchor = styled.div.attrs({
|
|
958
969
|
'data-garden-id': COMPONENT_ID,
|
|
959
|
-
'data-garden-version': '8.
|
|
970
|
+
'data-garden-version': '8.47.0'
|
|
960
971
|
}).withConfig({
|
|
961
972
|
displayName: "StyledMultiselectMoreAnchor",
|
|
962
973
|
componentId: "sc-1m9v46e-0"
|
|
@@ -2015,10 +2026,11 @@ var useItemContext = function useItemContext() {
|
|
|
2015
2026
|
return context;
|
|
2016
2027
|
};
|
|
2017
2028
|
|
|
2018
|
-
var _excluded$3 = ["value", "disabled", "component", "children"];
|
|
2029
|
+
var _excluded$3 = ["value", "disabled", "isDanger", "component", "children"];
|
|
2019
2030
|
var Item = React__default.forwardRef(function (_ref, forwardRef) {
|
|
2020
2031
|
var value = _ref.value,
|
|
2021
2032
|
disabled = _ref.disabled,
|
|
2033
|
+
isDanger = _ref.isDanger,
|
|
2022
2034
|
_ref$component = _ref.component,
|
|
2023
2035
|
component = _ref$component === void 0 ? StyledItem : _ref$component,
|
|
2024
2036
|
children = _ref.children,
|
|
@@ -2081,6 +2093,7 @@ var Item = React__default.forwardRef(function (_ref, forwardRef) {
|
|
|
2081
2093
|
}, React__default.createElement(Component, _extends$5({
|
|
2082
2094
|
ref: ref,
|
|
2083
2095
|
disabled: disabled,
|
|
2096
|
+
isDanger: isDanger,
|
|
2084
2097
|
isCompact: isCompact
|
|
2085
2098
|
}, props), isSelected && React__default.createElement(StyledItemIcon, {
|
|
2086
2099
|
isCompact: isCompact,
|
|
@@ -2095,7 +2108,8 @@ var Item = React__default.forwardRef(function (_ref, forwardRef) {
|
|
|
2095
2108
|
item: value,
|
|
2096
2109
|
isFocused: isFocused,
|
|
2097
2110
|
ref: ref,
|
|
2098
|
-
isCompact: isCompact
|
|
2111
|
+
isCompact: isCompact,
|
|
2112
|
+
isDanger: isDanger
|
|
2099
2113
|
}, hasMenuRef.current && {
|
|
2100
2114
|
role: 'menuitem',
|
|
2101
2115
|
'aria-selected': null
|
|
@@ -9,4 +9,4 @@ import { IItemProps } from './Item';
|
|
|
9
9
|
/**
|
|
10
10
|
* @extends LiHTMLAttributes<HTMLLIElement>
|
|
11
11
|
*/
|
|
12
|
-
export declare const AddItem: React.ForwardRefExoticComponent<Pick<IItemProps, "children" | "disabled" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLLIElement>>;
|
|
12
|
+
export declare const AddItem: React.ForwardRefExoticComponent<Pick<IItemProps, "children" | "disabled" | "value" | "isDanger" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLLIElement>>;
|
|
@@ -9,11 +9,13 @@ export interface IItemProps extends LiHTMLAttributes<HTMLLIElement> {
|
|
|
9
9
|
/** Sets the value that is returned upon selection */
|
|
10
10
|
value?: any;
|
|
11
11
|
/**
|
|
12
|
-
* @ignore
|
|
12
|
+
* @ignore Sets the wrapping component for the item
|
|
13
13
|
*/
|
|
14
14
|
component?: any;
|
|
15
15
|
/** Indicates that the element is not interactive */
|
|
16
16
|
disabled?: boolean;
|
|
17
|
+
/** Applies danger styling */
|
|
18
|
+
isDanger?: boolean;
|
|
17
19
|
}
|
|
18
20
|
/**
|
|
19
21
|
* @extends LiHTMLAttributes<HTMLLIElement>
|
|
@@ -9,4 +9,4 @@ import { IItemProps } from './Item';
|
|
|
9
9
|
/**
|
|
10
10
|
* @extends LiHTMLAttributes<HTMLLIElement>
|
|
11
11
|
*/
|
|
12
|
-
export declare const NextItem: React.ForwardRefExoticComponent<Pick<IItemProps, "children" | "disabled" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLLIElement>>;
|
|
12
|
+
export declare const NextItem: React.ForwardRefExoticComponent<Pick<IItemProps, "children" | "disabled" | "value" | "isDanger" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLLIElement>>;
|
|
@@ -9,4 +9,4 @@ import { IItemProps } from './Item';
|
|
|
9
9
|
/**
|
|
10
10
|
* @extends LiHTMLAttributes<HTMLLIElement>
|
|
11
11
|
*/
|
|
12
|
-
export declare const PreviousItem: React.ForwardRefExoticComponent<Pick<IItemProps, "children" | "disabled" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLLIElement>>;
|
|
12
|
+
export declare const PreviousItem: React.ForwardRefExoticComponent<Pick<IItemProps, "children" | "disabled" | "value" | "isDanger" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLLIElement>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zendeskgarden/react-dropdowns",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.47.0",
|
|
4
4
|
"description": "Components relating to dropdowns in the Garden Design System",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zendesk Garden <garden@zendesk.com>",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@zendeskgarden/container-selection": "^1.3.8",
|
|
25
25
|
"@zendeskgarden/container-utilities": "^0.6.0",
|
|
26
|
-
"@zendeskgarden/react-forms": "^8.
|
|
26
|
+
"@zendeskgarden/react-forms": "^8.47.0",
|
|
27
27
|
"downshift": "^6.0.0",
|
|
28
28
|
"polished": "^4.0.0",
|
|
29
29
|
"prop-types": "^15.5.7",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/lodash.debounce": "4.0.6",
|
|
41
|
-
"@zendeskgarden/react-theming": "^8.
|
|
41
|
+
"@zendeskgarden/react-theming": "^8.47.0",
|
|
42
42
|
"@zendeskgarden/svg-icons": "6.30.2",
|
|
43
43
|
"lodash.debounce": "4.0.8"
|
|
44
44
|
},
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
54
|
"zendeskgarden:src": "src/index.ts",
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "aba4138c9eb030ab3f204ba783b340ca55be6988"
|
|
56
56
|
}
|