@spscommerce/ds-react 5.11.1 → 5.12.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/lib/index.es.js CHANGED
@@ -1671,7 +1671,8 @@ const spsOptionListPassthroughProps = {
1671
1671
  tall: "boolean",
1672
1672
  textKey: "string",
1673
1673
  valueKey: "string",
1674
- zeroState: "string"
1674
+ zeroState: "string",
1675
+ maxHeight: "number"
1675
1676
  },
1676
1677
  propTypes: {
1677
1678
  captionKey: propTypes$1N.exports.string,
@@ -1685,7 +1686,8 @@ const spsOptionListPassthroughProps = {
1685
1686
  tall: propTypes$1N.exports.bool,
1686
1687
  textKey: propTypes$1N.exports.string,
1687
1688
  valueKey: propTypes$1N.exports.string,
1688
- zeroState: propTypes$1N.exports.string
1689
+ zeroState: propTypes$1N.exports.string,
1690
+ maxHeight: propTypes$1N.exports.number
1689
1691
  }
1690
1692
  };
1691
1693
  const searchableOptionListProps = {
@@ -2023,6 +2025,7 @@ const SpsOptionList = React.forwardRef((props2, ref2) => {
2023
2025
  unsafelyReplaceClassName,
2024
2026
  loading,
2025
2027
  filterByTextAndCaptionKey,
2028
+ maxHeight,
2026
2029
  "data-testid": testId
2027
2030
  } = _a, rest = __objRest(_a, [
2028
2031
  "captionKey",
@@ -2058,6 +2061,7 @@ const SpsOptionList = React.forwardRef((props2, ref2) => {
2058
2061
  "unsafelyReplaceClassName",
2059
2062
  "loading",
2060
2063
  "filterByTextAndCaptionKey",
2064
+ "maxHeight",
2061
2065
  "data-testid"
2062
2066
  ]);
2063
2067
  const specialActionOption = React.useMemo(() => specialAction ? new SpsOptionListOption(specialAction, {
@@ -2291,7 +2295,8 @@ const SpsOptionList = React.forwardRef((props2, ref2) => {
2291
2295
  }, rest), searchElement, /* @__PURE__ */ React.createElement("div", {
2292
2296
  className: optionsClasses,
2293
2297
  ref: optionsRef,
2294
- "data-testid": `${testId}-options`
2298
+ "data-testid": `${testId}-options`,
2299
+ style: maxHeight ? { maxHeight: `${maxHeight}px` } : {}
2295
2300
  }, !loading && !searchState.pending && zeroState && (searchState.value || !searchState.isAsync) && optionList.length === 0 && /* @__PURE__ */ React.createElement("div", {
2296
2301
  className: "sps-option-list__zero-state"
2297
2302
  }, zeroState), (loading || searchState.pending) && /* @__PURE__ */ React.createElement("div", {
@@ -2445,7 +2450,8 @@ const propsDoc$1F = {
2445
2450
  tallOptionList: "boolean",
2446
2451
  value: "string",
2447
2452
  zeroState: "string",
2448
- loading: "boolean"
2453
+ loading: "boolean",
2454
+ maxHeightOptionList: "number"
2449
2455
  };
2450
2456
  const propTypes$1I = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
2451
2457
  debounce: propTypes$1N.exports.number,
@@ -2463,7 +2469,8 @@ const propTypes$1I = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
2463
2469
  tallOptionList: propTypes$1N.exports.bool,
2464
2470
  value: propTypes$1N.exports.string,
2465
2471
  zeroState: propTypes$1N.exports.string,
2466
- loading: propTypes$1N.exports.bool
2472
+ loading: propTypes$1N.exports.bool,
2473
+ maxHeightOptionList: propTypes$1N.exports.number
2467
2474
  });
2468
2475
  function SpsAutocomplete(_a) {
2469
2476
  var _b = _a, {
@@ -2481,7 +2488,8 @@ function SpsAutocomplete(_a) {
2481
2488
  tallOptionList,
2482
2489
  value = "",
2483
2490
  zeroState,
2484
- loading
2491
+ loading,
2492
+ maxHeightOptionList
2485
2493
  } = _b, rest = __objRest(_b, [
2486
2494
  "className",
2487
2495
  "debounce",
@@ -2497,7 +2505,8 @@ function SpsAutocomplete(_a) {
2497
2505
  "tallOptionList",
2498
2506
  "value",
2499
2507
  "zeroState",
2500
- "loading"
2508
+ "loading",
2509
+ "maxHeightOptionList"
2501
2510
  ]);
2502
2511
  const meta = formMeta || formControl2;
2503
2512
  const { wrapperId, controlId } = useFormControlId(id2, meta);
@@ -2606,7 +2615,8 @@ function SpsAutocomplete(_a) {
2606
2615
  searchDebounce: debounce2,
2607
2616
  tall: tallOptionList,
2608
2617
  zeroState,
2609
- loading
2618
+ loading,
2619
+ maxHeight: maxHeightOptionList
2610
2620
  }));
2611
2621
  }
2612
2622
  Object.assign(SpsAutocomplete, {
@@ -2746,7 +2756,8 @@ const propsDoc$1E = {
2746
2756
  tallOptionList: "boolean",
2747
2757
  onOpen: "() => void",
2748
2758
  onClose: "() => void",
2749
- loading: "boolean"
2759
+ loading: "boolean",
2760
+ maxHeightOptionList: "number"
2750
2761
  };
2751
2762
  const propTypes$1H = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
2752
2763
  alignLeft: propTypes$1N.exports.bool,
@@ -2760,7 +2771,8 @@ const propTypes$1H = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
2760
2771
  tallOptionList: propTypes$1N.exports.bool,
2761
2772
  onOpen: fun(),
2762
2773
  onClose: fun(),
2763
- loading: propTypes$1N.exports.bool
2774
+ loading: propTypes$1N.exports.bool,
2775
+ maxHeightOptionList: propTypes$1N.exports.number
2764
2776
  });
2765
2777
  function SpsDropdown(props2) {
2766
2778
  const _a = props2, {
@@ -2779,7 +2791,8 @@ function SpsDropdown(props2) {
2779
2791
  unsafelyReplaceClassName,
2780
2792
  onOpen,
2781
2793
  onClose,
2782
- loading
2794
+ loading,
2795
+ maxHeightOptionList
2783
2796
  } = _a, rest = __objRest(_a, [
2784
2797
  "alignLeft",
2785
2798
  "className",
@@ -2796,7 +2809,8 @@ function SpsDropdown(props2) {
2796
2809
  "unsafelyReplaceClassName",
2797
2810
  "onOpen",
2798
2811
  "onClose",
2799
- "loading"
2812
+ "loading",
2813
+ "maxHeightOptionList"
2800
2814
  ]);
2801
2815
  const { t: t2 } = React.useContext(I18nContext);
2802
2816
  const id2 = useElementId(idProp);
@@ -2895,7 +2909,8 @@ function SpsDropdown(props2) {
2895
2909
  offsets: [0, 0],
2896
2910
  tall: tallOptionList,
2897
2911
  optionRole: "option",
2898
- loading
2912
+ loading,
2913
+ maxHeight: maxHeightOptionList
2899
2914
  }), /* @__PURE__ */ React.createElement("div", {
2900
2915
  onClick: handleButtonClick,
2901
2916
  className: buttonClasses,
@@ -29651,7 +29666,8 @@ const propsDoc$P = {
29651
29666
  textKey: "string",
29652
29667
  value: "any",
29653
29668
  zeroState: "string",
29654
- loading: "boolean"
29669
+ loading: "boolean",
29670
+ maxHeightOptionList: "number"
29655
29671
  };
29656
29672
  const propTypes$R = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
29657
29673
  action: fun(),
@@ -29675,7 +29691,8 @@ const propTypes$R = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
29675
29691
  textKey: propTypes$1N.exports.string,
29676
29692
  value: propTypes$1N.exports.any,
29677
29693
  zeroState: propTypes$1N.exports.string,
29678
- loading: propTypes$1N.exports.bool
29694
+ loading: propTypes$1N.exports.bool,
29695
+ maxHeightOptionList: propTypes$1N.exports.number
29679
29696
  });
29680
29697
  function SpsMultiSelect(_w) {
29681
29698
  var _x = _w, {
@@ -29700,6 +29717,7 @@ function SpsMultiSelect(_w) {
29700
29717
  zeroState = "There are no matching options.",
29701
29718
  loading,
29702
29719
  icon,
29720
+ maxHeightOptionList,
29703
29721
  "data-testid": testId
29704
29722
  } = _x, rest = __objRest(_x, [
29705
29723
  "action",
@@ -29723,6 +29741,7 @@ function SpsMultiSelect(_w) {
29723
29741
  "zeroState",
29724
29742
  "loading",
29725
29743
  "icon",
29744
+ "maxHeightOptionList",
29726
29745
  "data-testid"
29727
29746
  ]);
29728
29747
  const meta = formMeta || formControl2;
@@ -29921,7 +29940,8 @@ function SpsMultiSelect(_w) {
29921
29940
  tall: tallOptionList,
29922
29941
  textKey,
29923
29942
  zeroState,
29924
- loading
29943
+ loading,
29944
+ maxHeight: maxHeightOptionList
29925
29945
  }));
29926
29946
  }
29927
29947
  Object.assign(SpsMultiSelect, {
@@ -30231,7 +30251,8 @@ const propsDoc$M = {
30231
30251
  zeroState: "string",
30232
30252
  autoFixWidth: "boolean",
30233
30253
  loading: "boolean",
30234
- filterByTextAndCaptionKey: "boolean"
30254
+ filterByTextAndCaptionKey: "boolean",
30255
+ maxHeightOptionList: "number"
30235
30256
  };
30236
30257
  const propTypes$O = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
30237
30258
  action: fun(),
@@ -30257,7 +30278,8 @@ const propTypes$O = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
30257
30278
  zeroState: propTypes$1N.exports.string,
30258
30279
  autoFixWidth: propTypes$1N.exports.bool,
30259
30280
  loading: propTypes$1N.exports.bool,
30260
- filterByTextAndCaptionKey: propTypes$1N.exports.bool
30281
+ filterByTextAndCaptionKey: propTypes$1N.exports.bool,
30282
+ maxHeightOptionList: propTypes$1N.exports.number
30261
30283
  });
30262
30284
  const SpsSelect = React.forwardRef((props2, ref2) => {
30263
30285
  const _a = props2, {
@@ -30285,6 +30307,7 @@ const SpsSelect = React.forwardRef((props2, ref2) => {
30285
30307
  zeroState,
30286
30308
  loading,
30287
30309
  filterByTextAndCaptionKey,
30310
+ maxHeightOptionList,
30288
30311
  "data-testid": testId
30289
30312
  } = _a, rest = __objRest(_a, [
30290
30313
  "action",
@@ -30311,6 +30334,7 @@ const SpsSelect = React.forwardRef((props2, ref2) => {
30311
30334
  "zeroState",
30312
30335
  "loading",
30313
30336
  "filterByTextAndCaptionKey",
30337
+ "maxHeightOptionList",
30314
30338
  "data-testid"
30315
30339
  ]);
30316
30340
  const meta = formMeta || formControl2;
@@ -30481,6 +30505,7 @@ const SpsSelect = React.forwardRef((props2, ref2) => {
30481
30505
  zeroState,
30482
30506
  ignoreWidthStyles: autoFixWidth,
30483
30507
  loading,
30508
+ maxHeight: maxHeightOptionList,
30484
30509
  "data-testid": `${testId}-option-list`
30485
30510
  }));
30486
30511
  });
@@ -24,11 +24,12 @@ declare const propTypes: {
24
24
  value: PropTypes.Requireable<any>;
25
25
  zeroState: PropTypes.Requireable<string>;
26
26
  loading: PropTypes.Requireable<boolean>;
27
+ maxHeightOptionList: PropTypes.Requireable<number>;
27
28
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
28
29
  className: PropTypes.Requireable<string>;
29
30
  "data-testid": PropTypes.Requireable<string>;
30
31
  unsafelyReplaceClassName: PropTypes.Requireable<string>;
31
32
  };
32
33
  export declare type SpsMultiSelectProps = PropTypes.InferTS<typeof propTypes, HTMLInputElement>;
33
- export declare function SpsMultiSelect({ action, captionKey, className, debounce, disabled, disableSelected, comparisonKey, formControl, formMeta, hideSelected, id, onChange, options, placeholder, tallOptionList, textKey, unsafelyReplaceClassName, value, zeroState, loading, icon, "data-testid": testId, ...rest }: SpsMultiSelectProps): JSX.Element;
34
+ export declare function SpsMultiSelect({ action, captionKey, className, debounce, disabled, disableSelected, comparisonKey, formControl, formMeta, hideSelected, id, onChange, options, placeholder, tallOptionList, textKey, unsafelyReplaceClassName, value, zeroState, loading, icon, maxHeightOptionList, "data-testid": testId, ...rest }: SpsMultiSelectProps): JSX.Element;
34
35
  export {};
@@ -13,6 +13,7 @@ export declare const spsOptionListPassthroughProps: {
13
13
  textKey: string;
14
14
  valueKey: string;
15
15
  zeroState: string;
16
+ maxHeight: string;
16
17
  };
17
18
  propTypes: {
18
19
  captionKey: PropTypes.Requireable<string>;
@@ -23,6 +24,7 @@ export declare const spsOptionListPassthroughProps: {
23
24
  textKey: PropTypes.Requireable<string>;
24
25
  valueKey: PropTypes.Requireable<string>;
25
26
  zeroState: PropTypes.Requireable<string>;
27
+ maxHeight: PropTypes.Requireable<number>;
26
28
  };
27
29
  };
28
30
  export declare const searchableOptionListProps: {
@@ -67,6 +69,7 @@ export declare const propTypes: {
67
69
  textKey: PropTypes.Requireable<string>;
68
70
  valueKey: PropTypes.Requireable<string>;
69
71
  zeroState: PropTypes.Requireable<string>;
72
+ maxHeight: PropTypes.Requireable<number>;
70
73
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
71
74
  className: PropTypes.Requireable<string>;
72
75
  "data-testid": PropTypes.Requireable<string>;
@@ -25,13 +25,14 @@ declare const propTypes: {
25
25
  autoFixWidth: PropTypes.Requireable<boolean>;
26
26
  loading: PropTypes.Requireable<boolean>;
27
27
  filterByTextAndCaptionKey: PropTypes.Requireable<boolean>;
28
+ maxHeightOptionList: PropTypes.Requireable<number>;
28
29
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
29
30
  className: PropTypes.Requireable<string>;
30
31
  "data-testid": PropTypes.Requireable<string>;
31
32
  unsafelyReplaceClassName: PropTypes.Requireable<string>;
32
33
  };
33
34
  export declare type SpsSelectProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
34
- export declare const SpsSelect: React.ForwardRefExoticComponent<Pick<SpsSelectProps, "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "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" | "children" | "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" | "key" | "data-testid" | "unsafelyReplaceClassName" | "formMeta" | "formControl" | "loading" | "filterByTextAndCaptionKey" | "searchDebounce" | "searchPlaceholder" | "captionKey" | "comparisonKey" | "options" | "textKey" | "valueKey" | "zeroState" | "tallOptionList" | "notClearable" | "autoFixWidth"> & React.RefAttributes<{
35
+ export declare const SpsSelect: React.ForwardRefExoticComponent<Pick<SpsSelectProps, "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "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" | "children" | "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" | "key" | "data-testid" | "unsafelyReplaceClassName" | "formMeta" | "formControl" | "loading" | "filterByTextAndCaptionKey" | "searchDebounce" | "searchPlaceholder" | "captionKey" | "comparisonKey" | "options" | "textKey" | "valueKey" | "zeroState" | "tallOptionList" | "maxHeightOptionList" | "notClearable" | "autoFixWidth"> & React.RefAttributes<{
35
36
  focus: () => void;
36
37
  }>>;
37
38
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spscommerce/ds-react",
3
3
  "description": "SPS Design System React components",
4
- "version": "5.11.1",
4
+ "version": "5.12.0",
5
5
  "author": "SPS Commerce",
6
6
  "license": "UNLICENSED",
7
7
  "repository": "https://github.com/spscommerce/design-system/tree/main/packages/@spscommerce/ds-react",
@@ -28,10 +28,10 @@
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@react-stately/collections": "^3.3.3",
31
- "@spscommerce/ds-colors": "5.11.1",
32
- "@spscommerce/ds-shared": "5.11.1",
33
- "@spscommerce/positioning": "5.11.1",
34
- "@spscommerce/utils": "5.11.1",
31
+ "@spscommerce/ds-colors": "5.12.0",
32
+ "@spscommerce/ds-shared": "5.12.0",
33
+ "@spscommerce/positioning": "5.12.0",
34
+ "@spscommerce/utils": "5.12.0",
35
35
  "moment": "^2.25.3",
36
36
  "moment-timezone": "^0.5.28",
37
37
  "react": "^16.9.0",
@@ -39,10 +39,10 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "@react-stately/collections": "^3.3.3",
42
- "@spscommerce/ds-colors": "5.11.1",
43
- "@spscommerce/ds-shared": "5.11.1",
44
- "@spscommerce/positioning": "5.11.1",
45
- "@spscommerce/utils": "5.11.1",
42
+ "@spscommerce/ds-colors": "5.12.0",
43
+ "@spscommerce/ds-shared": "5.12.0",
44
+ "@spscommerce/positioning": "5.12.0",
45
+ "@spscommerce/utils": "5.12.0",
46
46
  "@testing-library/react": "^9.3.2",
47
47
  "@types/prop-types": "^15.7.1",
48
48
  "@types/react": "^16.9.0",