@spscommerce/ds-react 5.33.1 → 5.33.4

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
@@ -1764,7 +1764,8 @@ const spsOptionListPassthroughProps = {
1764
1764
  valueKey: "string",
1765
1765
  zeroState: "string",
1766
1766
  maxHeightPx: "number",
1767
- maxHeightRem: "number"
1767
+ maxHeightRem: "number",
1768
+ disableOptionsMemoization: "boolean"
1768
1769
  },
1769
1770
  propTypes: {
1770
1771
  captionKey: propTypes$1O.exports.string,
@@ -1810,7 +1811,8 @@ const propTypes$1K = __spreadProps(__spreadValues(__spreadValues(__spreadValues(
1810
1811
  specialAction: fun(),
1811
1812
  ignoreWidthStyles: propTypes$1O.exports.bool,
1812
1813
  loading: propTypes$1O.exports.bool,
1813
- filterByTextAndCaptionKey: propTypes$1O.exports.bool
1814
+ filterByTextAndCaptionKey: propTypes$1O.exports.bool,
1815
+ disableOptionsMemoization: propTypes$1O.exports.bool
1814
1816
  });
1815
1817
  async function updateOptions(props2, searchState, searchStatePatch, setOptionList, setAnyOptionHasIcon, promiseRef) {
1816
1818
  const options = typeof props2.options === "function" ? props2.options(searchState.value) : props2.options || [];
@@ -1865,7 +1867,7 @@ function useOptionListOptions(props2, searchState, searchStatePatch) {
1865
1867
  const [anyOptionHasIcon, setAnyOptionHasIcon] = React.useState(false);
1866
1868
  const promiseRef = React.useRef(null);
1867
1869
  const optionsRef = React.useRef(props2.options);
1868
- if (typeof props2.options !== "function") {
1870
+ if (typeof props2.options !== "function" || props2.disableOptionsMemoization) {
1869
1871
  optionsRef.current = props2.options;
1870
1872
  }
1871
1873
  const update2 = React.useMemo(() => typeof optionsRef.current === "function" ? debounce(updateOptions, typeof props2.searchDebounce !== "undefined" ? props2.searchDebounce : 500) : updateOptions, [optionsRef.current, props2.disabledOptions]);
@@ -2603,7 +2605,8 @@ const propsDoc$1G = {
2603
2605
  zeroState: "string",
2604
2606
  loading: "boolean",
2605
2607
  maxHeightOptionListPx: "number",
2606
- maxHeightOptionListRem: "number"
2608
+ maxHeightOptionListRem: "number",
2609
+ disableOptionsMemoization: "boolean"
2607
2610
  };
2608
2611
  const propTypes$1J = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
2609
2612
  debounce: propTypes$1O.exports.number,
@@ -2623,7 +2626,8 @@ const propTypes$1J = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
2623
2626
  zeroState: propTypes$1O.exports.string,
2624
2627
  loading: propTypes$1O.exports.bool,
2625
2628
  maxHeightOptionListPx: propTypes$1O.exports.number,
2626
- maxHeightOptionListRem: propTypes$1O.exports.number
2629
+ maxHeightOptionListRem: propTypes$1O.exports.number,
2630
+ disableOptionsMemoization: propTypes$1O.exports.bool
2627
2631
  });
2628
2632
  function SpsAutocomplete(_e) {
2629
2633
  var _f = _e, {
@@ -2644,6 +2648,7 @@ function SpsAutocomplete(_e) {
2644
2648
  loading,
2645
2649
  maxHeightOptionListPx,
2646
2650
  maxHeightOptionListRem,
2651
+ disableOptionsMemoization,
2647
2652
  "data-testid": testId
2648
2653
  } = _f, rest = __objRest(_f, [
2649
2654
  "className",
@@ -2663,6 +2668,7 @@ function SpsAutocomplete(_e) {
2663
2668
  "loading",
2664
2669
  "maxHeightOptionListPx",
2665
2670
  "maxHeightOptionListRem",
2671
+ "disableOptionsMemoization",
2666
2672
  "data-testid"
2667
2673
  ]);
2668
2674
  const meta = formMeta || formControl2;
@@ -2777,7 +2783,8 @@ function SpsAutocomplete(_e) {
2777
2783
  zeroState,
2778
2784
  loading,
2779
2785
  maxHeightPx: maxHeightOptionListPx,
2780
- maxHeightRem: maxHeightOptionListRem
2786
+ maxHeightRem: maxHeightOptionListRem,
2787
+ disableOptionsMemoization
2781
2788
  }));
2782
2789
  }
2783
2790
  Object.assign(SpsAutocomplete, {
@@ -2919,7 +2926,8 @@ const propsDoc$1F = {
2919
2926
  onClose: "() => void",
2920
2927
  loading: "boolean",
2921
2928
  maxHeightOptionListPx: "number",
2922
- maxHeightOptionListRem: "number"
2929
+ maxHeightOptionListRem: "number",
2930
+ disableOptionsMemoization: "boolean"
2923
2931
  };
2924
2932
  const propTypes$1I = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
2925
2933
  alignLeft: propTypes$1O.exports.bool,
@@ -2935,7 +2943,8 @@ const propTypes$1I = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
2935
2943
  onClose: fun(),
2936
2944
  loading: propTypes$1O.exports.bool,
2937
2945
  maxHeightOptionListPx: propTypes$1O.exports.number,
2938
- maxHeightOptionListRem: propTypes$1O.exports.number
2946
+ maxHeightOptionListRem: propTypes$1O.exports.number,
2947
+ disableOptionsMemoization: propTypes$1O.exports.bool
2939
2948
  });
2940
2949
  function SpsDropdown(props2) {
2941
2950
  const _a = props2, {
@@ -2956,7 +2965,8 @@ function SpsDropdown(props2) {
2956
2965
  onClose,
2957
2966
  loading,
2958
2967
  maxHeightOptionListPx,
2959
- maxHeightOptionListRem
2968
+ maxHeightOptionListRem,
2969
+ disableOptionsMemoization
2960
2970
  } = _a, rest = __objRest(_a, [
2961
2971
  "alignLeft",
2962
2972
  "className",
@@ -2975,7 +2985,8 @@ function SpsDropdown(props2) {
2975
2985
  "onClose",
2976
2986
  "loading",
2977
2987
  "maxHeightOptionListPx",
2978
- "maxHeightOptionListRem"
2988
+ "maxHeightOptionListRem",
2989
+ "disableOptionsMemoization"
2979
2990
  ]);
2980
2991
  const { t: t2 } = React.useContext(I18nContext);
2981
2992
  const id2 = useElementId(idProp);
@@ -3076,7 +3087,8 @@ function SpsDropdown(props2) {
3076
3087
  optionRole: "option",
3077
3088
  loading,
3078
3089
  maxHeightPx: maxHeightOptionListPx,
3079
- maxHeightRem: maxHeightOptionListRem
3090
+ maxHeightRem: maxHeightOptionListRem,
3091
+ disableOptionsMemoization
3080
3092
  }), /* @__PURE__ */ React.createElement("div", {
3081
3093
  onClick: handleButtonClick,
3082
3094
  className: buttonClasses,
@@ -30109,7 +30121,8 @@ const propsDoc$P = {
30109
30121
  zeroState: "string",
30110
30122
  loading: "boolean",
30111
30123
  maxHeightOptionListPx: "number",
30112
- maxHeightOptionListRem: "number"
30124
+ maxHeightOptionListRem: "number",
30125
+ disableOptionsMemoization: "boolean"
30113
30126
  };
30114
30127
  const propTypes$R = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
30115
30128
  action: fun(),
@@ -30137,7 +30150,8 @@ const propTypes$R = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
30137
30150
  zeroState: propTypes$1O.exports.string,
30138
30151
  loading: propTypes$1O.exports.bool,
30139
30152
  maxHeightOptionListPx: propTypes$1O.exports.number,
30140
- maxHeightOptionListRem: propTypes$1O.exports.number
30153
+ maxHeightOptionListRem: propTypes$1O.exports.number,
30154
+ disableOptionsMemoization: propTypes$1O.exports.bool
30141
30155
  });
30142
30156
  function SpsMultiSelect(_A) {
30143
30157
  var _B = _A, {
@@ -30166,6 +30180,7 @@ function SpsMultiSelect(_A) {
30166
30180
  icon,
30167
30181
  maxHeightOptionListPx,
30168
30182
  maxHeightOptionListRem,
30183
+ disableOptionsMemoization,
30169
30184
  "data-testid": testId
30170
30185
  } = _B, rest = __objRest(_B, [
30171
30186
  "action",
@@ -30193,6 +30208,7 @@ function SpsMultiSelect(_A) {
30193
30208
  "icon",
30194
30209
  "maxHeightOptionListPx",
30195
30210
  "maxHeightOptionListRem",
30211
+ "disableOptionsMemoization",
30196
30212
  "data-testid"
30197
30213
  ]);
30198
30214
  const meta = formMeta || formControl2;
@@ -30405,7 +30421,8 @@ function SpsMultiSelect(_A) {
30405
30421
  zeroState,
30406
30422
  loading,
30407
30423
  maxHeightPx: maxHeightOptionListPx,
30408
- maxHeightRem: maxHeightOptionListRem
30424
+ maxHeightRem: maxHeightOptionListRem,
30425
+ disableOptionsMemoization
30409
30426
  }));
30410
30427
  }
30411
30428
  Object.assign(SpsMultiSelect, {
@@ -30768,7 +30785,8 @@ const propsDoc$M = {
30768
30785
  loading: "boolean",
30769
30786
  filterByTextAndCaptionKey: "boolean",
30770
30787
  maxHeightOptionListPx: "number",
30771
- maxHeightOptionListRem: "number"
30788
+ maxHeightOptionListRem: "number",
30789
+ disableOptionsMemoization: "boolean"
30772
30790
  };
30773
30791
  const propTypes$O = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
30774
30792
  action: fun(),
@@ -30797,7 +30815,8 @@ const propTypes$O = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
30797
30815
  loading: propTypes$1O.exports.bool,
30798
30816
  filterByTextAndCaptionKey: propTypes$1O.exports.bool,
30799
30817
  maxHeightOptionListPx: propTypes$1O.exports.number,
30800
- maxHeightOptionListRem: propTypes$1O.exports.number
30818
+ maxHeightOptionListRem: propTypes$1O.exports.number,
30819
+ disableOptionsMemoization: propTypes$1O.exports.bool
30801
30820
  });
30802
30821
  const SpsSelect = React.forwardRef((props2, ref2) => {
30803
30822
  const _a = props2, {
@@ -30828,7 +30847,8 @@ const SpsSelect = React.forwardRef((props2, ref2) => {
30828
30847
  filterByTextAndCaptionKey,
30829
30848
  maxHeightOptionListPx,
30830
30849
  maxHeightOptionListRem,
30831
- "data-testid": testId
30850
+ "data-testid": testId,
30851
+ disableOptionsMemoization
30832
30852
  } = _a, rest = __objRest(_a, [
30833
30853
  "action",
30834
30854
  "autoFixWidth",
@@ -30857,7 +30877,8 @@ const SpsSelect = React.forwardRef((props2, ref2) => {
30857
30877
  "filterByTextAndCaptionKey",
30858
30878
  "maxHeightOptionListPx",
30859
30879
  "maxHeightOptionListRem",
30860
- "data-testid"
30880
+ "data-testid",
30881
+ "disableOptionsMemoization"
30861
30882
  ]);
30862
30883
  const meta = formMeta || formControl2;
30863
30884
  const { wrapperId, controlId } = useFormControlId(id2, meta);
@@ -31029,6 +31050,7 @@ const SpsSelect = React.forwardRef((props2, ref2) => {
31029
31050
  loading,
31030
31051
  maxHeightPx: maxHeightOptionListPx,
31031
31052
  maxHeightRem: maxHeightOptionListRem,
31053
+ disableOptionsMemoization,
31032
31054
  "data-testid": `${testId}-option-list`
31033
31055
  }));
31034
31056
  });
@@ -31398,7 +31420,7 @@ const propsDoc$I = {
31398
31420
  onTabChange: "(newTab: string) => void",
31399
31421
  onProductNameClick: "React.MouseEventHandler",
31400
31422
  productLogoSrc: "string",
31401
- productName: { type: "string", required: true },
31423
+ productName: "string",
31402
31424
  productNameHref: "string",
31403
31425
  tabs: "Array<string>"
31404
31426
  };
@@ -31408,7 +31430,7 @@ const propTypes$L = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
31408
31430
  onTabChange: fun(),
31409
31431
  onProductNameClick: fun(),
31410
31432
  productLogoSrc: propTypes$1O.exports.string,
31411
- productName: propTypes$1O.exports.string.isRequired,
31433
+ productName: propTypes$1O.exports.string,
31412
31434
  productNameHref: propTypes$1O.exports.string,
31413
31435
  tabs: propTypes$1O.exports.arrayOf(propTypes$1O.exports.string)
31414
31436
  });
@@ -31457,7 +31479,7 @@ function SpsProductBar(props2) {
31457
31479
  ref: rootElement
31458
31480
  }), /* @__PURE__ */ React.createElement("nav", {
31459
31481
  className: clsx("sps-navbar", "sps-navbar--expand-lg", fullWidth && "sps-navbar--full-width")
31460
- }, /* @__PURE__ */ React.createElement("a", {
31482
+ }, productName || productLogoSrc ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("a", {
31461
31483
  className: "sps-navbar__brand",
31462
31484
  href: productNameHref,
31463
31485
  onClick: onProductNameClick
@@ -31466,11 +31488,11 @@ function SpsProductBar(props2) {
31466
31488
  src: productLogoSrc,
31467
31489
  "aria-hidden": "true",
31468
31490
  alt: `${productName} Logo`
31469
- }), /* @__PURE__ */ React.createElement("span", {
31491
+ }), productName && /* @__PURE__ */ React.createElement("span", {
31470
31492
  className: "sps-navbar__brand-name"
31471
31493
  }, productName)), /* @__PURE__ */ React.createElement("span", {
31472
31494
  className: "sps-vertical-rule"
31473
- }), /* @__PURE__ */ React.createElement("div", {
31495
+ })) : null, /* @__PURE__ */ React.createElement("div", {
31474
31496
  className: "sps-navbar__nav"
31475
31497
  }, tabs.map((tab2) => /* @__PURE__ */ React.createElement("a", {
31476
31498
  className: clsx("sps-nav__item", "sps-nav__link", tab2 === activeTab && "active"),
@@ -38534,6 +38556,7 @@ const propTypes$7 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
38534
38556
  function SpsKeyValueTag(props2) {
38535
38557
  const _a = props2, {
38536
38558
  color = TagKind.KEY,
38559
+ className,
38537
38560
  "data-testid": testId,
38538
38561
  href,
38539
38562
  icon,
@@ -38542,6 +38565,7 @@ function SpsKeyValueTag(props2) {
38542
38565
  unsafelyReplaceClassName
38543
38566
  } = _a, rest = __objRest(_a, [
38544
38567
  "color",
38568
+ "className",
38545
38569
  "data-testid",
38546
38570
  "href",
38547
38571
  "icon",
@@ -38549,7 +38573,7 @@ function SpsKeyValueTag(props2) {
38549
38573
  "value",
38550
38574
  "unsafelyReplaceClassName"
38551
38575
  ]);
38552
- const classes = clsx(unsafelyReplaceClassName || "sps-key-value-tag", href && "sps-key-value-tag--link");
38576
+ const classes = clsx(unsafelyReplaceClassName || "sps-key-value-tag", href && "sps-key-value-tag--link", className);
38553
38577
  return /* @__PURE__ */ React.createElement("span", __spreadValues({
38554
38578
  className: classes,
38555
38579
  "data-testid": `${testId}__key-value-tag`
@@ -28,11 +28,12 @@ declare const propTypes: {
28
28
  loading: PropTypes.Requireable<boolean>;
29
29
  maxHeightOptionListPx: PropTypes.Requireable<number>;
30
30
  maxHeightOptionListRem: PropTypes.Requireable<number>;
31
+ disableOptionsMemoization: PropTypes.Requireable<boolean>;
31
32
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
32
33
  className: PropTypes.Requireable<string>;
33
34
  "data-testid": PropTypes.Requireable<string>;
34
35
  unsafelyReplaceClassName: PropTypes.Requireable<string>;
35
36
  };
36
37
  export declare type SpsMultiSelectProps = PropTypes.InferTS<typeof propTypes, HTMLInputElement>;
37
- export declare function SpsMultiSelect({ action, captionKey, className, clearSearchOnBlur, debounce, disabled, disableSelected, comparisonKey, formControl, formMeta, hideSelected, id, onChange, onSearchChange, options, placeholder, tallOptionList, textKey, unsafelyReplaceClassName, value, zeroState, loading, icon, maxHeightOptionListPx, maxHeightOptionListRem, "data-testid": testId, ...rest }: SpsMultiSelectProps): JSX.Element;
38
+ export declare function SpsMultiSelect({ action, captionKey, className, clearSearchOnBlur, debounce, disabled, disableSelected, comparisonKey, formControl, formMeta, hideSelected, id, onChange, onSearchChange, options, placeholder, tallOptionList, textKey, unsafelyReplaceClassName, value, zeroState, loading, icon, maxHeightOptionListPx, maxHeightOptionListRem, disableOptionsMemoization, "data-testid": testId, ...rest }: SpsMultiSelectProps): JSX.Element;
38
39
  export {};
@@ -15,6 +15,7 @@ export declare const spsOptionListPassthroughProps: {
15
15
  zeroState: string;
16
16
  maxHeightPx: string;
17
17
  maxHeightRem: string;
18
+ disableOptionsMemoization: string;
18
19
  };
19
20
  propTypes: {
20
21
  captionKey: PropTypes.Requireable<string>;
@@ -57,6 +58,7 @@ export declare const propTypes: {
57
58
  ignoreWidthStyles: PropTypes.Requireable<boolean>;
58
59
  loading: PropTypes.Requireable<boolean>;
59
60
  filterByTextAndCaptionKey: PropTypes.Requireable<boolean>;
61
+ disableOptionsMemoization: PropTypes.Requireable<boolean>;
60
62
  hideInlineSearch: PropTypes.Requireable<boolean>;
61
63
  onSearchChange: PropTypes.Requireable<ChangeEventHandler<Element>>;
62
64
  search: PropTypes.Requireable<string>;
@@ -6,7 +6,7 @@ declare const propTypes: {
6
6
  onTabChange: PropTypes.Requireable<(newTab: string) => void>;
7
7
  onProductNameClick: PropTypes.Requireable<React.MouseEventHandler<Element>>;
8
8
  productLogoSrc: PropTypes.Requireable<string>;
9
- productName: PropTypes.Validator<string>;
9
+ productName: PropTypes.Requireable<string>;
10
10
  productNameHref: PropTypes.Requireable<string>;
11
11
  tabs: PropTypes.Requireable<string[]>;
12
12
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
@@ -28,13 +28,14 @@ declare const propTypes: {
28
28
  filterByTextAndCaptionKey: PropTypes.Requireable<boolean>;
29
29
  maxHeightOptionListPx: PropTypes.Requireable<number>;
30
30
  maxHeightOptionListRem: PropTypes.Requireable<number>;
31
+ disableOptionsMemoization: PropTypes.Requireable<boolean>;
31
32
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
32
33
  className: PropTypes.Requireable<string>;
33
34
  "data-testid": PropTypes.Requireable<string>;
34
35
  unsafelyReplaceClassName: PropTypes.Requireable<string>;
35
36
  };
36
37
  export declare type SpsSelectProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
37
- 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" | "maxHeightOptionListPx" | "maxHeightOptionListRem" | "onOpen" | "notClearable" | "autoFixWidth"> & React.RefAttributes<{
38
+ 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" | "disableOptionsMemoization" | "searchDebounce" | "searchPlaceholder" | "captionKey" | "comparisonKey" | "options" | "textKey" | "valueKey" | "zeroState" | "tallOptionList" | "maxHeightOptionListPx" | "maxHeightOptionListRem" | "onOpen" | "notClearable" | "autoFixWidth"> & React.RefAttributes<{
38
39
  focus: () => void;
39
40
  }>>;
40
41
  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.33.1",
4
+ "version": "5.33.4",
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,11 +28,11 @@
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@react-stately/collections": "^3.3.3",
31
- "@spscommerce/ds-colors": "5.33.1",
32
- "@spscommerce/ds-illustrations": "5.33.1",
33
- "@spscommerce/ds-shared": "5.33.1",
34
- "@spscommerce/positioning": "5.33.1",
35
- "@spscommerce/utils": "5.33.1",
31
+ "@spscommerce/ds-colors": "5.33.4",
32
+ "@spscommerce/ds-illustrations": "5.33.4",
33
+ "@spscommerce/ds-shared": "5.33.4",
34
+ "@spscommerce/positioning": "5.33.4",
35
+ "@spscommerce/utils": "5.33.4",
36
36
  "moment": "^2.25.3",
37
37
  "moment-timezone": "^0.5.28",
38
38
  "react": "^16.9.0",
@@ -40,11 +40,11 @@
40
40
  },
41
41
  "devDependencies": {
42
42
  "@react-stately/collections": "^3.3.3",
43
- "@spscommerce/ds-colors": "5.33.1",
44
- "@spscommerce/ds-illustrations": "5.33.1",
45
- "@spscommerce/ds-shared": "5.33.1",
46
- "@spscommerce/positioning": "5.33.1",
47
- "@spscommerce/utils": "5.33.1",
43
+ "@spscommerce/ds-colors": "5.33.4",
44
+ "@spscommerce/ds-illustrations": "5.33.4",
45
+ "@spscommerce/ds-shared": "5.33.4",
46
+ "@spscommerce/positioning": "5.33.4",
47
+ "@spscommerce/utils": "5.33.4",
48
48
  "@testing-library/react": "^9.3.2",
49
49
  "@types/prop-types": "^15.7.1",
50
50
  "@types/react": "^16.9.0",