@spscommerce/ds-react 5.10.5 → 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
@@ -81,7 +81,7 @@ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof win
81
81
  function commonjsRequire(path) {
82
82
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
83
83
  }
84
- var propTypes$1M = { exports: {} };
84
+ var propTypes$1N = { exports: {} };
85
85
  var ReactPropTypesSecret$1 = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
86
86
  var ReactPropTypesSecret_1 = ReactPropTypesSecret$1;
87
87
  var ReactPropTypesSecret = ReactPropTypesSecret_1;
@@ -129,32 +129,32 @@ var factoryWithThrowingShims = function() {
129
129
  return ReactPropTypes;
130
130
  };
131
131
  {
132
- propTypes$1M.exports = factoryWithThrowingShims();
132
+ propTypes$1N.exports = factoryWithThrowingShims();
133
133
  }
134
134
  function deprecated(type) {
135
135
  return type;
136
136
  }
137
137
  function enumValue(e2) {
138
- return propTypes$1M.exports.oneOf(values$3(e2));
138
+ return propTypes$1N.exports.oneOf(values$3(e2));
139
139
  }
140
140
  function fun() {
141
- return propTypes$1M.exports.func;
141
+ return propTypes$1N.exports.func;
142
142
  }
143
143
  function impl() {
144
- return propTypes$1M.exports.object;
144
+ return propTypes$1N.exports.object;
145
145
  }
146
146
  function ref() {
147
- return propTypes$1M.exports.object;
147
+ return propTypes$1N.exports.object;
148
148
  }
149
- const nodeOrRenderFn = propTypes$1M.exports.oneOfType([propTypes$1M.exports.node, propTypes$1M.exports.func]);
149
+ const nodeOrRenderFn = propTypes$1N.exports.oneOfType([propTypes$1N.exports.node, propTypes$1N.exports.func]);
150
150
  const spsGlobalPropTypes = {
151
- children: propTypes$1M.exports.oneOfType([propTypes$1M.exports.arrayOf(propTypes$1M.exports.node), propTypes$1M.exports.node]),
152
- className: propTypes$1M.exports.string,
153
- "data-testid": propTypes$1M.exports.string,
154
- unsafelyReplaceClassName: propTypes$1M.exports.string
151
+ children: propTypes$1N.exports.oneOfType([propTypes$1N.exports.arrayOf(propTypes$1N.exports.node), propTypes$1N.exports.node]),
152
+ className: propTypes$1N.exports.string,
153
+ "data-testid": propTypes$1N.exports.string,
154
+ unsafelyReplaceClassName: propTypes$1N.exports.string
155
155
  };
156
156
  const I18nContext = React.createContext(noI18nI18n);
157
- const propsDoc$1H = {
157
+ const propsDoc$1I = {
158
158
  disabled: "boolean",
159
159
  href: "string",
160
160
  icon: "SpsIcon",
@@ -163,13 +163,13 @@ const propsDoc$1H = {
163
163
  spinningTitle: "string",
164
164
  type: "ButtonType"
165
165
  };
166
- const propTypes$1L = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
167
- disabled: propTypes$1M.exports.bool,
168
- href: propTypes$1M.exports.string,
166
+ const propTypes$1M = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
167
+ disabled: propTypes$1N.exports.bool,
168
+ href: propTypes$1N.exports.string,
169
169
  icon: enumValue(SpsIcon),
170
170
  kind: enumValue(ButtonKind),
171
- spinning: propTypes$1M.exports.bool,
172
- spinningTitle: propTypes$1M.exports.string,
171
+ spinning: propTypes$1N.exports.bool,
172
+ spinningTitle: propTypes$1N.exports.string,
173
173
  type: enumValue(ButtonType)
174
174
  });
175
175
  function SpsButton(props2) {
@@ -219,8 +219,8 @@ function SpsButton(props2) {
219
219
  }), iconElement, children, spinner));
220
220
  }
221
221
  Object.assign(SpsButton, {
222
- props: propsDoc$1H,
223
- propTypes: propTypes$1L,
222
+ props: propsDoc$1I,
223
+ propTypes: propTypes$1M,
224
224
  displayName: "SpsButton"
225
225
  });
226
226
  const spsFormProps = {
@@ -272,7 +272,7 @@ Object.assign(SpsForm, {
272
272
  function contentOf(nodeOrRenderFn2) {
273
273
  return typeof nodeOrRenderFn2 === "function" ? nodeOrRenderFn2() : nodeOrRenderFn2;
274
274
  }
275
- const propsDoc$1G = __spreadProps(__spreadValues({}, spsFormProps), {
275
+ const propsDoc$1H = __spreadProps(__spreadValues({}, spsFormProps), {
276
276
  controlsDisabled: "boolean",
277
277
  footerLinks: "ReactNodeOrRenderFn",
278
278
  formMeta: "SpsFormArrayMeta<any> | SpsFormGroupMeta<any>",
@@ -280,16 +280,16 @@ const propsDoc$1G = __spreadProps(__spreadValues({}, spsFormProps), {
280
280
  onClear: "() => void",
281
281
  onSubmit: "React.FormEventHandler"
282
282
  });
283
- const propTypes$1K = __spreadProps(__spreadValues(__spreadValues({}, spsGlobalPropTypes), spsFormPropTypes), {
284
- controlsDisabled: propTypes$1M.exports.bool,
283
+ const propTypes$1L = __spreadProps(__spreadValues(__spreadValues({}, spsGlobalPropTypes), spsFormPropTypes), {
284
+ controlsDisabled: propTypes$1N.exports.bool,
285
285
  footerLinks: nodeOrRenderFn,
286
286
  formArray: impl(),
287
287
  formGroup: impl(),
288
- formMeta: propTypes$1M.exports.oneOfType([
288
+ formMeta: propTypes$1N.exports.oneOfType([
289
289
  impl(),
290
290
  impl()
291
291
  ]),
292
- isOpen: propTypes$1M.exports.bool,
292
+ isOpen: propTypes$1N.exports.bool,
293
293
  onClear: fun(),
294
294
  onSubmit: fun()
295
295
  });
@@ -354,8 +354,8 @@ function SpsAdvancedSearch(props2) {
354
354
  }, t2("design-system:advancedSearch.search"))))));
355
355
  }
356
356
  Object.assign(SpsAdvancedSearch, {
357
- props: propsDoc$1G,
358
- propTypes: propTypes$1K,
357
+ props: propsDoc$1H,
358
+ propTypes: propTypes$1L,
359
359
  displayName: "SpsAdvancedSearch"
360
360
  });
361
361
  const SpsAdvancedSearchExamples = {
@@ -922,6 +922,9 @@ class SpsFormMetaBase {
922
922
  isValid() {
923
923
  return !this.errors || this.isPristine();
924
924
  }
925
+ hasErrors() {
926
+ return !!this.errors;
927
+ }
925
928
  isVisibilyInvalid() {
926
929
  return this.errors && (this.revealAllErrors || !this.isPristine() && Object.keys(this.errors).some((key) => AsTypingErrorKeys.has(key)));
927
930
  }
@@ -1019,6 +1022,9 @@ class SpsFormSetMeta extends SpsFormFieldMeta {
1019
1022
  isValid() {
1020
1023
  return super.isValid() && this.rollup("isValid");
1021
1024
  }
1025
+ hasErrors() {
1026
+ return super.hasErrors() || Object.keys(this.fields).some((key) => this.fields[key].hasErrors());
1027
+ }
1022
1028
  contentsAreValid() {
1023
1029
  return this.rollup("isValid") && this.rollup("contentsAreValid");
1024
1030
  }
@@ -1268,7 +1274,7 @@ function useSpsForm(value, validatorMap) {
1268
1274
  return state;
1269
1275
  }
1270
1276
  const spsFormComponentWrapperPropTypes = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
1271
- focusInputOnClick: propTypes$1M.exports.bool,
1277
+ focusInputOnClick: propTypes$1N.exports.bool,
1272
1278
  formMeta: impl(),
1273
1279
  formControl: impl(),
1274
1280
  inputRef: ref()
@@ -1444,15 +1450,15 @@ var scrollIntoViewImport = /* @__PURE__ */ Object.freeze({
1444
1450
  [Symbol.toStringTag]: "Module",
1445
1451
  "default": scrollIntoView$1
1446
1452
  });
1447
- const propsDoc$1F = {
1453
+ const propsDoc$1G = {
1448
1454
  alt: "string",
1449
1455
  size: "SpinnerSize",
1450
1456
  title: "string"
1451
1457
  };
1452
- const propTypes$1J = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
1453
- alt: propTypes$1M.exports.string,
1458
+ const propTypes$1K = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
1459
+ alt: propTypes$1N.exports.string,
1454
1460
  size: enumValue(SpinnerSize),
1455
- title: propTypes$1M.exports.string
1461
+ title: propTypes$1N.exports.string
1456
1462
  });
1457
1463
  function SpsSpinner(props2) {
1458
1464
  const _a = props2, {
@@ -1480,8 +1486,8 @@ function SpsSpinner(props2) {
1480
1486
  }, rest));
1481
1487
  }
1482
1488
  Object.assign(SpsSpinner, {
1483
- props: propsDoc$1F,
1484
- propTypes: propTypes$1J,
1489
+ props: propsDoc$1G,
1490
+ propTypes: propTypes$1K,
1485
1491
  displayName: "SpsSpinner"
1486
1492
  });
1487
1493
  const NAVBAR_HEIGHT = 60;
@@ -1665,51 +1671,53 @@ const spsOptionListPassthroughProps = {
1665
1671
  tall: "boolean",
1666
1672
  textKey: "string",
1667
1673
  valueKey: "string",
1668
- zeroState: "string"
1674
+ zeroState: "string",
1675
+ maxHeight: "number"
1669
1676
  },
1670
1677
  propTypes: {
1671
- captionKey: propTypes$1M.exports.string,
1672
- comparisonKey: propTypes$1M.exports.string,
1673
- disabledOptions: propTypes$1M.exports.arrayOf(propTypes$1M.exports.any),
1674
- options: propTypes$1M.exports.oneOfType([
1675
- propTypes$1M.exports.array,
1676
- propTypes$1M.exports.instanceOf(Promise),
1678
+ captionKey: propTypes$1N.exports.string,
1679
+ comparisonKey: propTypes$1N.exports.string,
1680
+ disabledOptions: propTypes$1N.exports.arrayOf(propTypes$1N.exports.any),
1681
+ options: propTypes$1N.exports.oneOfType([
1682
+ propTypes$1N.exports.array,
1683
+ propTypes$1N.exports.instanceOf(Promise),
1677
1684
  fun()
1678
1685
  ]).isRequired,
1679
- tall: propTypes$1M.exports.bool,
1680
- textKey: propTypes$1M.exports.string,
1681
- valueKey: propTypes$1M.exports.string,
1682
- zeroState: propTypes$1M.exports.string
1686
+ tall: propTypes$1N.exports.bool,
1687
+ textKey: propTypes$1N.exports.string,
1688
+ valueKey: propTypes$1N.exports.string,
1689
+ zeroState: propTypes$1N.exports.string,
1690
+ maxHeight: propTypes$1N.exports.number
1683
1691
  }
1684
1692
  };
1685
1693
  const searchableOptionListProps = {
1686
- hideInlineSearch: propTypes$1M.exports.bool,
1694
+ hideInlineSearch: propTypes$1N.exports.bool,
1687
1695
  onSearchChange: fun(),
1688
- search: propTypes$1M.exports.string,
1689
- searchDebounce: propTypes$1M.exports.number,
1690
- searchPlaceholder: propTypes$1M.exports.string,
1696
+ search: propTypes$1N.exports.string,
1697
+ searchDebounce: propTypes$1N.exports.number,
1698
+ searchPlaceholder: propTypes$1N.exports.string,
1691
1699
  searchInputRef: ref()
1692
1700
  };
1693
- const propTypes$1I = __spreadProps(__spreadValues(__spreadValues(__spreadValues({}, spsGlobalPropTypes), spsOptionListPassthroughProps.propTypes), searchableOptionListProps), {
1701
+ const propTypes$1J = __spreadProps(__spreadValues(__spreadValues(__spreadValues({}, spsGlobalPropTypes), spsOptionListPassthroughProps.propTypes), searchableOptionListProps), {
1694
1702
  attachTo: ref().isRequired,
1695
- conformWidth: propTypes$1M.exports.bool,
1696
- id: propTypes$1M.exports.string.isRequired,
1697
- isOpen: propTypes$1M.exports.bool,
1698
- keepOpen: propTypes$1M.exports.bool,
1703
+ conformWidth: propTypes$1N.exports.bool,
1704
+ id: propTypes$1N.exports.string.isRequired,
1705
+ isOpen: propTypes$1N.exports.bool,
1706
+ keepOpen: propTypes$1N.exports.bool,
1699
1707
  keyDown: impl(),
1700
- nullOption: propTypes$1M.exports.string,
1701
- offsets: propTypes$1M.exports.arrayOf(propTypes$1M.exports.number),
1708
+ nullOption: propTypes$1N.exports.string,
1709
+ offsets: propTypes$1N.exports.arrayOf(propTypes$1N.exports.number),
1702
1710
  onOptionListChanged: fun(),
1703
1711
  onOptionSelected: fun(),
1704
1712
  onPositionFlip: fun(),
1705
1713
  onSelfToggle: fun(),
1706
- optionRole: propTypes$1M.exports.string,
1707
- positionOverride: propTypes$1M.exports.arrayOf(enumValue(Position)),
1708
- selectedOption: propTypes$1M.exports.any,
1714
+ optionRole: propTypes$1N.exports.string,
1715
+ positionOverride: propTypes$1N.exports.arrayOf(enumValue(Position)),
1716
+ selectedOption: propTypes$1N.exports.any,
1709
1717
  specialAction: fun(),
1710
- ignoreWidthStyles: propTypes$1M.exports.bool,
1711
- loading: propTypes$1M.exports.bool,
1712
- filterByTextAndCaptionKey: propTypes$1M.exports.bool
1718
+ ignoreWidthStyles: propTypes$1N.exports.bool,
1719
+ loading: propTypes$1N.exports.bool,
1720
+ filterByTextAndCaptionKey: propTypes$1N.exports.bool
1713
1721
  });
1714
1722
  async function updateOptions(props2, searchState, searchStatePatch, setOptionList, setAnyOptionHasIcon, promiseRef) {
1715
1723
  const options = typeof props2.options === "function" ? props2.options(searchState.value) : props2.options || [];
@@ -1760,11 +1768,15 @@ function useOptionListOptions(props2, searchState, searchStatePatch) {
1760
1768
  const [optionList, setOptionList] = React.useState(Object.freeze([]));
1761
1769
  const [anyOptionHasIcon, setAnyOptionHasIcon] = React.useState(false);
1762
1770
  const promiseRef = React.useRef(null);
1763
- const update2 = React.useMemo(() => typeof props2.options === "function" ? debounce(updateOptions, typeof props2.searchDebounce !== "undefined" ? props2.searchDebounce : 500) : updateOptions, [props2.options, props2.disabledOptions]);
1771
+ const optionsRef = React.useRef(props2.options);
1772
+ if (typeof props2.options !== "function") {
1773
+ optionsRef.current = props2.options;
1774
+ }
1775
+ const update2 = React.useMemo(() => typeof optionsRef.current === "function" ? debounce(updateOptions, typeof props2.searchDebounce !== "undefined" ? props2.searchDebounce : 500) : updateOptions, [optionsRef.current, props2.disabledOptions]);
1764
1776
  React.useEffect(() => {
1765
1777
  void update2(props2, searchState, searchStatePatch, setOptionList, setAnyOptionHasIcon, promiseRef);
1766
1778
  }, [
1767
- props2.options,
1779
+ optionsRef.current,
1768
1780
  searchState.value,
1769
1781
  props2.disabledOptions
1770
1782
  ]);
@@ -2013,6 +2025,7 @@ const SpsOptionList = React.forwardRef((props2, ref2) => {
2013
2025
  unsafelyReplaceClassName,
2014
2026
  loading,
2015
2027
  filterByTextAndCaptionKey,
2028
+ maxHeight,
2016
2029
  "data-testid": testId
2017
2030
  } = _a, rest = __objRest(_a, [
2018
2031
  "captionKey",
@@ -2048,6 +2061,7 @@ const SpsOptionList = React.forwardRef((props2, ref2) => {
2048
2061
  "unsafelyReplaceClassName",
2049
2062
  "loading",
2050
2063
  "filterByTextAndCaptionKey",
2064
+ "maxHeight",
2051
2065
  "data-testid"
2052
2066
  ]);
2053
2067
  const specialActionOption = React.useMemo(() => specialAction ? new SpsOptionListOption(specialAction, {
@@ -2281,7 +2295,8 @@ const SpsOptionList = React.forwardRef((props2, ref2) => {
2281
2295
  }, rest), searchElement, /* @__PURE__ */ React.createElement("div", {
2282
2296
  className: optionsClasses,
2283
2297
  ref: optionsRef,
2284
- "data-testid": `${testId}-options`
2298
+ "data-testid": `${testId}-options`,
2299
+ style: maxHeight ? { maxHeight: `${maxHeight}px` } : {}
2285
2300
  }, !loading && !searchState.pending && zeroState && (searchState.value || !searchState.isAsync) && optionList.length === 0 && /* @__PURE__ */ React.createElement("div", {
2286
2301
  className: "sps-option-list__zero-state"
2287
2302
  }, zeroState), (loading || searchState.pending) && /* @__PURE__ */ React.createElement("div", {
@@ -2329,7 +2344,7 @@ const SpsOptionList = React.forwardRef((props2, ref2) => {
2329
2344
  }), /* @__PURE__ */ React.createElement("span", null, specialAction.label))));
2330
2345
  });
2331
2346
  Object.assign(SpsOptionList, {
2332
- propTypes: propTypes$1I,
2347
+ propTypes: propTypes$1J,
2333
2348
  displayName: "SpsOptionList"
2334
2349
  });
2335
2350
  function selectChildren(children = [], groups = []) {
@@ -2396,17 +2411,17 @@ function documentClickHandlerFactory(rootRef, popupRef, doHidePopup) {
2396
2411
  function useInputPopup(rootRef, popupRef) {
2397
2412
  const suppressPopup = React.useRef(false);
2398
2413
  const [showPopup, setShowPopup] = React.useState(false);
2399
- function doShowPopup() {
2414
+ const doShowPopup = React.useCallback(() => {
2400
2415
  if (suppressPopup.current) {
2401
2416
  suppressPopup.current = false;
2402
2417
  } else {
2403
2418
  setShowPopup(true);
2404
2419
  }
2405
- }
2420
+ }, []);
2406
2421
  const doHidePopup = React.useCallback((suppressNextShow = false) => {
2407
2422
  setShowPopup(false);
2408
2423
  suppressPopup.current = suppressNextShow;
2409
- }, [setShowPopup]);
2424
+ }, []);
2410
2425
  useDocumentEventListener("click", documentClickHandlerFactory, [
2411
2426
  rootRef,
2412
2427
  popupRef,
@@ -2418,7 +2433,7 @@ function useInputPopup(rootRef, popupRef) {
2418
2433
  doHidePopup
2419
2434
  };
2420
2435
  }
2421
- const propsDoc$1E = {
2436
+ const propsDoc$1F = {
2422
2437
  debounce: "number",
2423
2438
  disabled: "boolean",
2424
2439
  formMeta: "SpsFormFieldMeta<string>",
@@ -2435,25 +2450,27 @@ const propsDoc$1E = {
2435
2450
  tallOptionList: "boolean",
2436
2451
  value: "string",
2437
2452
  zeroState: "string",
2438
- loading: "boolean"
2453
+ loading: "boolean",
2454
+ maxHeightOptionList: "number"
2439
2455
  };
2440
- const propTypes$1H = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
2441
- debounce: propTypes$1M.exports.number,
2442
- disabled: propTypes$1M.exports.bool,
2456
+ const propTypes$1I = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
2457
+ debounce: propTypes$1N.exports.number,
2458
+ disabled: propTypes$1N.exports.bool,
2443
2459
  formControl: impl(),
2444
2460
  formMeta: impl(),
2445
2461
  icon: enumValue(SpsIcon),
2446
2462
  onChange: fun(),
2447
- placeholder: propTypes$1M.exports.string,
2448
- suggestions: propTypes$1M.exports.oneOfType([
2449
- propTypes$1M.exports.arrayOf(propTypes$1M.exports.string),
2450
- propTypes$1M.exports.instanceOf(Promise),
2463
+ placeholder: propTypes$1N.exports.string,
2464
+ suggestions: propTypes$1N.exports.oneOfType([
2465
+ propTypes$1N.exports.arrayOf(propTypes$1N.exports.string),
2466
+ propTypes$1N.exports.instanceOf(Promise),
2451
2467
  fun()
2452
2468
  ]).isRequired,
2453
- tallOptionList: propTypes$1M.exports.bool,
2454
- value: propTypes$1M.exports.string,
2455
- zeroState: propTypes$1M.exports.string,
2456
- loading: propTypes$1M.exports.bool
2469
+ tallOptionList: propTypes$1N.exports.bool,
2470
+ value: propTypes$1N.exports.string,
2471
+ zeroState: propTypes$1N.exports.string,
2472
+ loading: propTypes$1N.exports.bool,
2473
+ maxHeightOptionList: propTypes$1N.exports.number
2457
2474
  });
2458
2475
  function SpsAutocomplete(_a) {
2459
2476
  var _b = _a, {
@@ -2471,7 +2488,8 @@ function SpsAutocomplete(_a) {
2471
2488
  tallOptionList,
2472
2489
  value = "",
2473
2490
  zeroState,
2474
- loading
2491
+ loading,
2492
+ maxHeightOptionList
2475
2493
  } = _b, rest = __objRest(_b, [
2476
2494
  "className",
2477
2495
  "debounce",
@@ -2487,7 +2505,8 @@ function SpsAutocomplete(_a) {
2487
2505
  "tallOptionList",
2488
2506
  "value",
2489
2507
  "zeroState",
2490
- "loading"
2508
+ "loading",
2509
+ "maxHeightOptionList"
2491
2510
  ]);
2492
2511
  const meta = formMeta || formControl2;
2493
2512
  const { wrapperId, controlId } = useFormControlId(id2, meta);
@@ -2596,12 +2615,13 @@ function SpsAutocomplete(_a) {
2596
2615
  searchDebounce: debounce2,
2597
2616
  tall: tallOptionList,
2598
2617
  zeroState,
2599
- loading
2618
+ loading,
2619
+ maxHeight: maxHeightOptionList
2600
2620
  }));
2601
2621
  }
2602
2622
  Object.assign(SpsAutocomplete, {
2603
- props: propsDoc$1E,
2604
- propTypes: propTypes$1H,
2623
+ props: propsDoc$1F,
2624
+ propTypes: propTypes$1I,
2605
2625
  displayName: "SpsAutocomplete"
2606
2626
  });
2607
2627
  const SpsAutocompleteExamples = {
@@ -2724,7 +2744,7 @@ const SpsAutocompleteExamples = {
2724
2744
  }
2725
2745
  }
2726
2746
  };
2727
- const propsDoc$1D = {
2747
+ const propsDoc$1E = {
2728
2748
  alignLeft: "boolean",
2729
2749
  disabled: "boolean",
2730
2750
  icon: "SpsIcon",
@@ -2736,21 +2756,23 @@ const propsDoc$1D = {
2736
2756
  tallOptionList: "boolean",
2737
2757
  onOpen: "() => void",
2738
2758
  onClose: "() => void",
2739
- loading: "boolean"
2759
+ loading: "boolean",
2760
+ maxHeightOptionList: "number"
2740
2761
  };
2741
- const propTypes$1G = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
2742
- alignLeft: propTypes$1M.exports.bool,
2743
- disabled: propTypes$1M.exports.bool,
2762
+ const propTypes$1H = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
2763
+ alignLeft: propTypes$1N.exports.bool,
2764
+ disabled: propTypes$1N.exports.bool,
2744
2765
  icon: enumValue(SpsIcon),
2745
2766
  kind: enumValue(DropdownKind),
2746
- label: propTypes$1M.exports.string,
2747
- options: propTypes$1M.exports.arrayOf(propTypes$1M.exports.oneOfType([propTypes$1M.exports.func, propTypes$1M.exports.any])).isRequired,
2748
- spinning: propTypes$1M.exports.bool,
2749
- spinningTitle: propTypes$1M.exports.string,
2750
- tallOptionList: propTypes$1M.exports.bool,
2767
+ label: propTypes$1N.exports.string,
2768
+ options: propTypes$1N.exports.arrayOf(propTypes$1N.exports.oneOfType([propTypes$1N.exports.func, propTypes$1N.exports.any])).isRequired,
2769
+ spinning: propTypes$1N.exports.bool,
2770
+ spinningTitle: propTypes$1N.exports.string,
2771
+ tallOptionList: propTypes$1N.exports.bool,
2751
2772
  onOpen: fun(),
2752
2773
  onClose: fun(),
2753
- loading: propTypes$1M.exports.bool
2774
+ loading: propTypes$1N.exports.bool,
2775
+ maxHeightOptionList: propTypes$1N.exports.number
2754
2776
  });
2755
2777
  function SpsDropdown(props2) {
2756
2778
  const _a = props2, {
@@ -2769,7 +2791,8 @@ function SpsDropdown(props2) {
2769
2791
  unsafelyReplaceClassName,
2770
2792
  onOpen,
2771
2793
  onClose,
2772
- loading
2794
+ loading,
2795
+ maxHeightOptionList
2773
2796
  } = _a, rest = __objRest(_a, [
2774
2797
  "alignLeft",
2775
2798
  "className",
@@ -2786,7 +2809,8 @@ function SpsDropdown(props2) {
2786
2809
  "unsafelyReplaceClassName",
2787
2810
  "onOpen",
2788
2811
  "onClose",
2789
- "loading"
2812
+ "loading",
2813
+ "maxHeightOptionList"
2790
2814
  ]);
2791
2815
  const { t: t2 } = React.useContext(I18nContext);
2792
2816
  const id2 = useElementId(idProp);
@@ -2885,7 +2909,8 @@ function SpsDropdown(props2) {
2885
2909
  offsets: [0, 0],
2886
2910
  tall: tallOptionList,
2887
2911
  optionRole: "option",
2888
- loading
2912
+ loading,
2913
+ maxHeight: maxHeightOptionList
2889
2914
  }), /* @__PURE__ */ React.createElement("div", {
2890
2915
  onClick: handleButtonClick,
2891
2916
  className: buttonClasses,
@@ -2907,12 +2932,12 @@ function SpsDropdown(props2) {
2907
2932
  }, spinningTitle || t2("design-system:button.spinningTitle")))));
2908
2933
  }
2909
2934
  Object.assign(SpsDropdown, {
2910
- props: propsDoc$1D,
2911
- propTypes: propTypes$1G,
2935
+ props: propsDoc$1E,
2936
+ propTypes: propTypes$1H,
2912
2937
  displayName: "SpsDropdown"
2913
2938
  });
2914
- const propsDoc$1C = {};
2915
- const propTypes$1F = __spreadValues({}, spsGlobalPropTypes);
2939
+ const propsDoc$1D = {};
2940
+ const propTypes$1G = __spreadValues({}, spsGlobalPropTypes);
2916
2941
  function SpsButtonGroup(props2) {
2917
2942
  const _a = props2, {
2918
2943
  children,
@@ -2943,8 +2968,8 @@ function SpsButtonGroup(props2) {
2943
2968
  }), others.length > 0 && others);
2944
2969
  }
2945
2970
  Object.assign(SpsButtonGroup, {
2946
- props: propsDoc$1C,
2947
- propTypes: propTypes$1F,
2971
+ props: propsDoc$1D,
2972
+ propTypes: propTypes$1G,
2948
2973
  displayName: "SpsButtonGroup"
2949
2974
  });
2950
2975
  const SpsButtonExamples = {
@@ -5676,8 +5701,8 @@ function SpsTabPanel(_c) {
5676
5701
  className: "sps-card__body"
5677
5702
  }), state.selectedItem ? state.selectedItem.props.children : null);
5678
5703
  }
5679
- const propsDoc$1B = {};
5680
- const propTypes$1E = {};
5704
+ const propsDoc$1C = {};
5705
+ const propTypes$1F = {};
5681
5706
  function SpsTabsV2(props2) {
5682
5707
  const state = useTabListState(props2);
5683
5708
  const ref2 = React.useRef();
@@ -5695,12 +5720,12 @@ function SpsTabsV2(props2) {
5695
5720
  }));
5696
5721
  }
5697
5722
  Object.assign(SpsTabsV2, {
5698
- props: propsDoc$1B,
5699
- propTypes: propTypes$1E,
5723
+ props: propsDoc$1C,
5724
+ propTypes: propTypes$1F,
5700
5725
  displayName: "SpsTabsV2"
5701
5726
  });
5702
- const propsDoc$1A = {};
5703
- const propTypes$1D = {};
5727
+ const propsDoc$1B = {};
5728
+ const propTypes$1E = {};
5704
5729
  function SpsCardV2Footer(_e) {
5705
5730
  var _f = _e, {
5706
5731
  children,
@@ -5714,12 +5739,12 @@ function SpsCardV2Footer(_e) {
5714
5739
  }, rest), children);
5715
5740
  }
5716
5741
  Object.assign(SpsCardV2Footer, {
5717
- props: propsDoc$1A,
5718
- propTypes: propTypes$1D,
5742
+ props: propsDoc$1B,
5743
+ propTypes: propTypes$1E,
5719
5744
  displayName: "SpsCardV2Footer"
5720
5745
  });
5721
- const propsDoc$1z = {};
5722
- const propTypes$1C = {};
5746
+ const propsDoc$1A = {};
5747
+ const propTypes$1D = {};
5723
5748
  function SpsCardV2Header(_g) {
5724
5749
  var _h = _g, {
5725
5750
  children,
@@ -5733,12 +5758,12 @@ function SpsCardV2Header(_g) {
5733
5758
  }, rest), children);
5734
5759
  }
5735
5760
  Object.assign(SpsCardV2Header, {
5736
- props: propsDoc$1z,
5737
- propTypes: propTypes$1C,
5761
+ props: propsDoc$1A,
5762
+ propTypes: propTypes$1D,
5738
5763
  displayName: "SpsCardV2Header"
5739
5764
  });
5740
- const propsDoc$1y = {};
5741
- const propTypes$1B = {};
5765
+ const propsDoc$1z = {};
5766
+ const propTypes$1C = {};
5742
5767
  function SpsCardV2(_i) {
5743
5768
  var _j = _i, {
5744
5769
  children,
@@ -5764,12 +5789,12 @@ function SpsCardV2(_i) {
5764
5789
  }, bodyContent), footer);
5765
5790
  }
5766
5791
  Object.assign(SpsCardV2, {
5767
- props: propsDoc$1y,
5768
- propTypes: propTypes$1B,
5792
+ props: propsDoc$1z,
5793
+ propTypes: propTypes$1C,
5769
5794
  displayName: "SpsCardV2"
5770
5795
  });
5771
- const propsDoc$1x = {};
5772
- const propTypes$1A = {};
5796
+ const propsDoc$1y = {};
5797
+ const propTypes$1B = {};
5773
5798
  function SpsCardV2Title(_k) {
5774
5799
  var _l = _k, {
5775
5800
  children,
@@ -5783,8 +5808,8 @@ function SpsCardV2Title(_k) {
5783
5808
  }, rest), children);
5784
5809
  }
5785
5810
  Object.assign(SpsCardV2Title, {
5786
- props: propsDoc$1x,
5787
- propTypes: propTypes$1A,
5811
+ props: propsDoc$1y,
5812
+ propTypes: propTypes$1B,
5788
5813
  displayName: "SpsCardV2Title"
5789
5814
  });
5790
5815
  const SpsCardExamples = {
@@ -6092,7 +6117,7 @@ const SpsCardExamples = {
6092
6117
  }
6093
6118
  }
6094
6119
  };
6095
- const propsDoc$1w = {
6120
+ const propsDoc$1x = {
6096
6121
  checked: "boolean",
6097
6122
  disabled: "boolean",
6098
6123
  formMeta: "SpsFormFieldMeta<boolean>",
@@ -6101,14 +6126,14 @@ const propsDoc$1w = {
6101
6126
  label: "string",
6102
6127
  onChange: "ChangeEventHandler"
6103
6128
  };
6104
- const propTypes$1z = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
6105
- checked: propTypes$1M.exports.bool,
6106
- disabled: propTypes$1M.exports.bool,
6129
+ const propTypes$1A = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
6130
+ checked: propTypes$1N.exports.bool,
6131
+ disabled: propTypes$1N.exports.bool,
6107
6132
  formControl: impl(),
6108
6133
  formMeta: impl(),
6109
- indeterminate: propTypes$1M.exports.bool,
6110
- inline: propTypes$1M.exports.bool,
6111
- label: propTypes$1M.exports.string,
6134
+ indeterminate: propTypes$1N.exports.bool,
6135
+ inline: propTypes$1N.exports.bool,
6136
+ label: propTypes$1N.exports.string,
6112
6137
  onChange: fun()
6113
6138
  });
6114
6139
  function SpsCheckbox(_m) {
@@ -6184,8 +6209,8 @@ function SpsCheckbox(_m) {
6184
6209
  }, label || ""));
6185
6210
  }
6186
6211
  Object.assign(SpsCheckbox, {
6187
- props: propsDoc$1w,
6188
- propTypes: propTypes$1z,
6212
+ props: propsDoc$1x,
6213
+ propTypes: propTypes$1A,
6189
6214
  displayName: "SpsCheckbox"
6190
6215
  });
6191
6216
  const SpsCheckboxExamples = {
@@ -6313,16 +6338,16 @@ const SpsCheckboxExamples = {
6313
6338
  }
6314
6339
  }
6315
6340
  };
6316
- const propsDoc$1v = {
6341
+ const propsDoc$1w = {
6317
6342
  disabled: "boolean",
6318
6343
  href: "string",
6319
6344
  kind: "ClickableTagKind",
6320
6345
  onAdd: "() => void",
6321
6346
  onRemove: "() => void"
6322
6347
  };
6323
- const propTypes$1y = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
6324
- disabled: propTypes$1M.exports.bool,
6325
- href: propTypes$1M.exports.string,
6348
+ const propTypes$1z = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
6349
+ disabled: propTypes$1N.exports.bool,
6350
+ href: propTypes$1N.exports.string,
6326
6351
  kind: enumValue(ClickableTagKind),
6327
6352
  onAdd: fun(),
6328
6353
  onRemove: fun()
@@ -6393,8 +6418,8 @@ function SpsClickableTag(props2) {
6393
6418
  })));
6394
6419
  }
6395
6420
  Object.assign(SpsClickableTag, {
6396
- props: propsDoc$1v,
6397
- propTypes: propTypes$1y,
6421
+ props: propsDoc$1w,
6422
+ propTypes: propTypes$1z,
6398
6423
  displayName: "SpsClickableTag"
6399
6424
  });
6400
6425
  const SpsClickableTagExamples = {
@@ -14622,15 +14647,15 @@ var ConnectedDraggable = connect(makeMapStateToProps$1, mapDispatchToProps$1, nu
14622
14647
  areStatePropsEqual: isStrictEqual
14623
14648
  })(Draggable);
14624
14649
  ConnectedDraggable.defaultProps = defaultProps$1;
14625
- const propsDoc$1u = {
14650
+ const propsDoc$1v = {
14626
14651
  content: "ReactNodeLike",
14627
14652
  icon: "SpsIcon",
14628
14653
  title: "string"
14629
14654
  };
14630
- const propTypes$1x = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
14631
- content: propTypes$1M.exports.node,
14655
+ const propTypes$1y = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
14656
+ content: propTypes$1N.exports.node,
14632
14657
  icon: enumValue(SpsIcon),
14633
- title: propTypes$1M.exports.string
14658
+ title: propTypes$1N.exports.string
14634
14659
  });
14635
14660
  function SpsCardHeader(props2) {
14636
14661
  const _a = props2, {
@@ -14662,15 +14687,15 @@ function SpsCardHeader(props2) {
14662
14687
  }, content));
14663
14688
  }
14664
14689
  Object.assign(SpsCardHeader, {
14665
- props: propsDoc$1u,
14666
- propTypes: propTypes$1x,
14690
+ props: propsDoc$1v,
14691
+ propTypes: propTypes$1y,
14667
14692
  displayName: "SpsCardHeader"
14668
14693
  });
14669
- const propsDoc$1t = {
14694
+ const propsDoc$1u = {
14670
14695
  icon: "SpsIcon",
14671
14696
  kind: "TagKind"
14672
14697
  };
14673
- const propTypes$1w = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
14698
+ const propTypes$1x = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
14674
14699
  icon: enumValue(SpsIcon),
14675
14700
  kind: enumValue(TagKind)
14676
14701
  });
@@ -14703,11 +14728,11 @@ function SpsTag(props2) {
14703
14728
  }), children);
14704
14729
  }
14705
14730
  Object.assign(SpsTag, {
14706
- props: propsDoc$1t,
14707
- propTypes: propTypes$1w,
14731
+ props: propsDoc$1u,
14732
+ propTypes: propTypes$1x,
14708
14733
  displayName: "SpsTag"
14709
14734
  });
14710
- const propsDoc$1s = {
14735
+ const propsDoc$1t = {
14711
14736
  activateTab: "Function",
14712
14737
  active: "boolean",
14713
14738
  icon: "SpsIcon",
@@ -14717,13 +14742,13 @@ const propsDoc$1s = {
14717
14742
  tagKind: "TagKind",
14718
14743
  tagIcon: "SpsIcon"
14719
14744
  };
14720
- const propTypes$1v = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
14721
- activateTab: propTypes$1M.exports.func,
14722
- active: propTypes$1M.exports.bool,
14745
+ const propTypes$1w = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
14746
+ activateTab: propTypes$1N.exports.func,
14747
+ active: propTypes$1N.exports.bool,
14723
14748
  icon: enumValue(SpsIcon),
14724
- label: propTypes$1M.exports.string,
14725
- index: propTypes$1M.exports.number,
14726
- tag: propTypes$1M.exports.string,
14749
+ label: propTypes$1N.exports.string,
14750
+ index: propTypes$1N.exports.number,
14751
+ tag: propTypes$1N.exports.string,
14727
14752
  tagKind: enumValue(TagKind),
14728
14753
  tagIcon: enumValue(SpsIcon)
14729
14754
  });
@@ -14786,8 +14811,8 @@ function SpsCardTabbedPane(props2) {
14786
14811
  }, tag));
14787
14812
  }
14788
14813
  Object.assign(SpsCardTabbedPane, {
14789
- props: propsDoc$1s,
14790
- propTypes: propTypes$1v,
14814
+ props: propsDoc$1t,
14815
+ propTypes: propTypes$1w,
14791
14816
  displayName: "SpsCardTabbedPane"
14792
14817
  });
14793
14818
  function useTab(children, activeTab, isTabbedCard) {
@@ -14829,19 +14854,19 @@ function useTab(children, activeTab, isTabbedCard) {
14829
14854
  }, [activeTab, children]);
14830
14855
  return [currentlyActiveTab, activateTab];
14831
14856
  }
14832
- const propsDoc$1r = {
14857
+ const propsDoc$1s = {
14833
14858
  activeTab: "string",
14834
14859
  footer: "ReactNodeOrRenderFn",
14835
14860
  headerContent: "ReactNodeOrRenderFn",
14836
14861
  headerIcon: "SpsIcon",
14837
14862
  headerTitle: "string"
14838
14863
  };
14839
- const propTypes$1u = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
14840
- activeTab: propTypes$1M.exports.string,
14864
+ const propTypes$1v = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
14865
+ activeTab: propTypes$1N.exports.string,
14841
14866
  footer: nodeOrRenderFn,
14842
14867
  headerContent: nodeOrRenderFn,
14843
14868
  headerIcon: enumValue(SpsIcon),
14844
- headerTitle: propTypes$1M.exports.string
14869
+ headerTitle: propTypes$1N.exports.string
14845
14870
  });
14846
14871
  function SpsCard(props2) {
14847
14872
  React.useEffect(() => {
@@ -14908,11 +14933,11 @@ function SpsCard(props2) {
14908
14933
  }, contentOf(footer)));
14909
14934
  }
14910
14935
  Object.assign(SpsCard, {
14911
- props: propsDoc$1r,
14912
- propTypes: propTypes$1u,
14936
+ props: propsDoc$1s,
14937
+ propTypes: propTypes$1v,
14913
14938
  displayName: "SpsCard"
14914
14939
  });
14915
- const propsDoc$1q = {
14940
+ const propsDoc$1r = {
14916
14941
  index: "number",
14917
14942
  key: "string",
14918
14943
  columnId: "string",
@@ -14921,14 +14946,14 @@ const propsDoc$1q = {
14921
14946
  onDelete: "(columnValue: string) => void",
14922
14947
  mandatory: "boolean"
14923
14948
  };
14924
- const propTypes$1t = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
14925
- index: propTypes$1M.exports.number,
14926
- key: propTypes$1M.exports.string,
14927
- columnId: propTypes$1M.exports.string,
14928
- name: propTypes$1M.exports.string,
14929
- value: propTypes$1M.exports.string,
14949
+ const propTypes$1u = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
14950
+ index: propTypes$1N.exports.number,
14951
+ key: propTypes$1N.exports.string,
14952
+ columnId: propTypes$1N.exports.string,
14953
+ name: propTypes$1N.exports.string,
14954
+ value: propTypes$1N.exports.string,
14930
14955
  onDelete: fun(),
14931
- mandatory: propTypes$1M.exports.bool
14956
+ mandatory: propTypes$1N.exports.bool
14932
14957
  });
14933
14958
  function SpsColumnChooserColumn(props2) {
14934
14959
  const _a = props2, {
@@ -14984,20 +15009,20 @@ function SpsColumnChooserColumn(props2) {
14984
15009
  })))));
14985
15010
  }
14986
15011
  Object.assign(SpsColumnChooserColumn, {
14987
- props: propsDoc$1q,
14988
- propTypes: propTypes$1t,
15012
+ props: propsDoc$1r,
15013
+ propTypes: propTypes$1u,
14989
15014
  displayName: "SpsColumnChooserColumn"
14990
15015
  });
14991
- const propsDoc$1p = {
15016
+ const propsDoc$1q = {
14992
15017
  maxSelectedColumns: "number",
14993
15018
  unselectedColumns: "ColumnProps[]",
14994
15019
  selectedColumns: "ColumnProps[]",
14995
15020
  onApplyChanges: "(selectedColumns: ColumnProps[]) => void"
14996
15021
  };
14997
- const propTypes$1s = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
14998
- maxSelectedColumns: propTypes$1M.exports.number,
14999
- unselectedColumns: propTypes$1M.exports.array,
15000
- selectedColumns: propTypes$1M.exports.array,
15022
+ const propTypes$1t = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
15023
+ maxSelectedColumns: propTypes$1N.exports.number,
15024
+ unselectedColumns: propTypes$1N.exports.array,
15025
+ selectedColumns: propTypes$1N.exports.array,
15001
15026
  onApplyChanges: fun()
15002
15027
  });
15003
15028
  function SpsColumnChooser(props2) {
@@ -15137,8 +15162,8 @@ function SpsColumnChooser(props2) {
15137
15162
  })), provided.placeholder)))));
15138
15163
  }
15139
15164
  Object.assign(SpsColumnChooser, {
15140
- props: propsDoc$1p,
15141
- propTypes: propTypes$1s,
15165
+ props: propsDoc$1q,
15166
+ propTypes: propTypes$1t,
15142
15167
  displayName: "SpsColumnChooser"
15143
15168
  });
15144
15169
  const SpsColumnChooserExamples = {
@@ -15170,11 +15195,11 @@ const SpsColumnChooserExamples = {
15170
15195
  }
15171
15196
  }
15172
15197
  };
15173
- const propsDoc$1o = {
15198
+ const propsDoc$1p = {
15174
15199
  icon: { type: "SpsIcon", required: true },
15175
15200
  size: "SpsIconSize"
15176
15201
  };
15177
- const propTypes$1r = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
15202
+ const propTypes$1s = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
15178
15203
  icon: enumValue(SpsIcon).isRequired,
15179
15204
  size: enumValue(SpsIconSize)
15180
15205
  });
@@ -15200,28 +15225,28 @@ function SpsI(props2) {
15200
15225
  }, rest));
15201
15226
  }
15202
15227
  Object.assign(SpsI, {
15203
- props: propsDoc$1o,
15204
- propTypes: propTypes$1r,
15228
+ props: propsDoc$1p,
15229
+ propTypes: propTypes$1s,
15205
15230
  displayName: "SpsI"
15206
15231
  });
15207
15232
  Object.assign(SpsI, {
15208
- props: propsDoc$1o,
15209
- propTypes: propTypes$1r,
15233
+ props: propsDoc$1p,
15234
+ propTypes: propTypes$1s,
15210
15235
  displayName: "SpsI"
15211
15236
  });
15212
- const propsDoc$1n = {
15237
+ const propsDoc$1o = {
15213
15238
  borderless: "boolean",
15214
15239
  lean: "boolean",
15215
15240
  leaner: { type: "boolean", deprecated: true },
15216
15241
  widthPx: "number",
15217
15242
  widthRem: "number"
15218
15243
  };
15219
- const propTypes$1q = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
15220
- borderless: propTypes$1M.exports.bool,
15221
- lean: propTypes$1M.exports.bool,
15222
- leaner: propTypes$1M.exports.bool,
15223
- widthPx: propTypes$1M.exports.number,
15224
- widthRem: propTypes$1M.exports.number
15244
+ const propTypes$1r = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
15245
+ borderless: propTypes$1N.exports.bool,
15246
+ lean: propTypes$1N.exports.bool,
15247
+ leaner: propTypes$1N.exports.bool,
15248
+ widthPx: propTypes$1N.exports.number,
15249
+ widthRem: propTypes$1N.exports.number
15225
15250
  });
15226
15251
  function SpsContentRowCol(props2) {
15227
15252
  const _a = props2, {
@@ -15266,12 +15291,12 @@ function SpsContentRowCol(props2) {
15266
15291
  }), children);
15267
15292
  }
15268
15293
  Object.assign(SpsContentRowCol, {
15269
- props: propsDoc$1n,
15270
- propTypes: propTypes$1q,
15294
+ props: propsDoc$1o,
15295
+ propTypes: propTypes$1r,
15271
15296
  displayName: "SpsContentRowCol"
15272
15297
  });
15273
- const propsDoc$1m = {};
15274
- const propTypes$1p = __spreadValues({}, spsGlobalPropTypes);
15298
+ const propsDoc$1n = {};
15299
+ const propTypes$1q = __spreadValues({}, spsGlobalPropTypes);
15275
15300
  function SpsContentRowExpansion(props2) {
15276
15301
  const _a = props2, {
15277
15302
  children,
@@ -15292,11 +15317,11 @@ function SpsContentRowExpansion(props2) {
15292
15317
  }), children);
15293
15318
  }
15294
15319
  Object.assign(SpsContentRowExpansion, {
15295
- props: propsDoc$1m,
15296
- propTypes: propTypes$1p,
15320
+ props: propsDoc$1n,
15321
+ propTypes: propTypes$1q,
15297
15322
  displayName: "SpsContentRowExpansion"
15298
15323
  });
15299
- const propsDoc$1l = {
15324
+ const propsDoc$1m = {
15300
15325
  alternateLayout: "boolean",
15301
15326
  initiallyExpanded: "boolean",
15302
15327
  cardSpacing: "boolean",
@@ -15309,18 +15334,18 @@ const propsDoc$1l = {
15309
15334
  selectable: "boolean",
15310
15335
  selected: "boolean"
15311
15336
  };
15312
- const propTypes$1o = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
15313
- alternateLayout: propTypes$1M.exports.bool,
15314
- cardSpacing: propTypes$1M.exports.bool,
15315
- expanded: propTypes$1M.exports.bool,
15316
- initiallyExpanded: propTypes$1M.exports.bool,
15337
+ const propTypes$1p = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
15338
+ alternateLayout: propTypes$1N.exports.bool,
15339
+ cardSpacing: propTypes$1N.exports.bool,
15340
+ expanded: propTypes$1N.exports.bool,
15341
+ initiallyExpanded: propTypes$1N.exports.bool,
15317
15342
  onBeforeCollapsed: fun(),
15318
15343
  onBeforeExpanded: fun(),
15319
15344
  onSelectionChange: fun(),
15320
15345
  onCollapsed: fun(),
15321
15346
  onExpanded: fun(),
15322
- selectable: propTypes$1M.exports.bool,
15323
- selected: propTypes$1M.exports.bool
15347
+ selectable: propTypes$1N.exports.bool,
15348
+ selected: propTypes$1N.exports.bool
15324
15349
  });
15325
15350
  function SpsContentRow(props2) {
15326
15351
  const _a = props2, {
@@ -15401,8 +15426,8 @@ function SpsContentRow(props2) {
15401
15426
  }, /* @__PURE__ */ React.createElement("section", null, ContentRowCheckBox()), /* @__PURE__ */ React.createElement("section", null, ExpandoThingy())), columns), expansion);
15402
15427
  }
15403
15428
  Object.assign(SpsContentRow, {
15404
- props: propsDoc$1l,
15405
- propTypes: propTypes$1o,
15429
+ props: propsDoc$1m,
15430
+ propTypes: propTypes$1p,
15406
15431
  displayName: "SpsContentRow"
15407
15432
  });
15408
15433
  const SpsContentRowExamples = {
@@ -15871,7 +15896,7 @@ function parse2(value) {
15871
15896
  function weekOfMonth$1(date2) {
15872
15897
  return Math.floor((date2.clone().date(1).day() + date2.date() - 1) / 7);
15873
15898
  }
15874
- const propsDoc$1k = {
15899
+ const propsDoc$1l = {
15875
15900
  disabled: "boolean",
15876
15901
  format: "string",
15877
15902
  maxDate: "string",
@@ -15881,15 +15906,15 @@ const propsDoc$1k = {
15881
15906
  placeholder: "string",
15882
15907
  value: "string"
15883
15908
  };
15884
- const propTypes$1n = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
15885
- disabled: propTypes$1M.exports.bool,
15886
- format: propTypes$1M.exports.string,
15887
- maxDate: propTypes$1M.exports.string,
15888
- minDate: propTypes$1M.exports.string,
15909
+ const propTypes$1o = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
15910
+ disabled: propTypes$1N.exports.bool,
15911
+ format: propTypes$1N.exports.string,
15912
+ maxDate: propTypes$1N.exports.string,
15913
+ minDate: propTypes$1N.exports.string,
15889
15914
  onChange: fun(),
15890
15915
  onClickOutside: fun(),
15891
- placeholder: propTypes$1M.exports.string,
15892
- value: propTypes$1M.exports.string
15916
+ placeholder: propTypes$1N.exports.string,
15917
+ value: propTypes$1N.exports.string
15893
15918
  });
15894
15919
  function SpsDatepicker(props2) {
15895
15920
  const _a = props2, {
@@ -16252,8 +16277,8 @@ function SpsDatepicker(props2) {
16252
16277
  }))));
16253
16278
  }
16254
16279
  Object.assign(SpsDatepicker, {
16255
- props: propsDoc$1k,
16256
- propTypes: propTypes$1n,
16280
+ props: propsDoc$1l,
16281
+ propTypes: propTypes$1o,
16257
16282
  displayName: "SpsDatepicker"
16258
16283
  });
16259
16284
  const SpsDatepickerExamples = {
@@ -16348,7 +16373,7 @@ const SpsDatepickerExamples = {
16348
16373
  }
16349
16374
  }
16350
16375
  };
16351
- const propsDoc$1j = {
16376
+ const propsDoc$1k = {
16352
16377
  placeholder: "string",
16353
16378
  disabled: "boolean",
16354
16379
  format: "string",
@@ -16359,13 +16384,13 @@ const propsDoc$1j = {
16359
16384
  value: "MomentRange",
16360
16385
  preset: "Duration"
16361
16386
  };
16362
- const propTypes$1m = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
16363
- placeholder: propTypes$1M.exports.string,
16364
- disabled: propTypes$1M.exports.bool,
16365
- format: propTypes$1M.exports.string,
16366
- minDate: propTypes$1M.exports.string,
16367
- maxDate: propTypes$1M.exports.string,
16368
- availablePresets: propTypes$1M.exports.array,
16387
+ const propTypes$1n = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
16388
+ placeholder: propTypes$1N.exports.string,
16389
+ disabled: propTypes$1N.exports.bool,
16390
+ format: propTypes$1N.exports.string,
16391
+ minDate: propTypes$1N.exports.string,
16392
+ maxDate: propTypes$1N.exports.string,
16393
+ availablePresets: propTypes$1N.exports.array,
16369
16394
  onChange: fun(),
16370
16395
  value: impl(),
16371
16396
  preset: impl()
@@ -17013,8 +17038,8 @@ function SpsDateRangePicker(props2) {
17013
17038
  }) : "")));
17014
17039
  }
17015
17040
  Object.assign(SpsDateRangePicker, {
17016
- props: propsDoc$1j,
17017
- propTypes: propTypes$1m,
17041
+ props: propsDoc$1k,
17042
+ propTypes: propTypes$1n,
17018
17043
  displayName: "SpsDateRangePicker"
17019
17044
  });
17020
17045
  const SpsDateRangePickerExamples = {
@@ -21617,7 +21642,7 @@ const formatMaps = {
21617
21642
  LONG_FULLDATETIME: "LLLL",
21618
21643
  LONG_FULLDATETIME_ZONE: "LLLL z"
21619
21644
  };
21620
- const propsDoc$1i = {
21645
+ const propsDoc$1j = {
21621
21646
  currentUser: "any",
21622
21647
  dateToFormat: "string | Date",
21623
21648
  format: "string",
@@ -21626,17 +21651,17 @@ const propsDoc$1i = {
21626
21651
  relativeHrs: "number",
21627
21652
  tz: "string"
21628
21653
  };
21629
- const propTypes$1l = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
21630
- currentUser: propTypes$1M.exports.any,
21631
- dateToFormat: propTypes$1M.exports.oneOfType([
21632
- propTypes$1M.exports.string,
21633
- propTypes$1M.exports.instanceOf(Date)
21654
+ const propTypes$1m = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
21655
+ currentUser: propTypes$1N.exports.any,
21656
+ dateToFormat: propTypes$1N.exports.oneOfType([
21657
+ propTypes$1N.exports.string,
21658
+ propTypes$1N.exports.instanceOf(Date)
21634
21659
  ]),
21635
- format: propTypes$1M.exports.string,
21636
- locale: propTypes$1M.exports.string,
21637
- relative: propTypes$1M.exports.bool,
21638
- relativeHrs: propTypes$1M.exports.number,
21639
- tz: propTypes$1M.exports.string
21660
+ format: propTypes$1N.exports.string,
21661
+ locale: propTypes$1N.exports.string,
21662
+ relative: propTypes$1N.exports.bool,
21663
+ relativeHrs: propTypes$1N.exports.number,
21664
+ tz: propTypes$1N.exports.string
21640
21665
  });
21641
21666
  function showRelative(dateToCheck, relative, relativeHrs) {
21642
21667
  if (!relativeHrs && !relative) {
@@ -21712,8 +21737,8 @@ function SpsDateTime(props2) {
21712
21737
  }));
21713
21738
  }
21714
21739
  Object.assign(SpsDateTime, {
21715
- props: propsDoc$1i,
21716
- propTypes: propTypes$1l,
21740
+ props: propsDoc$1j,
21741
+ propTypes: propTypes$1m,
21717
21742
  displayName: "SpsDateTime"
21718
21743
  });
21719
21744
  const SpsDatetimeExamples = {
@@ -21734,15 +21759,15 @@ const SpsDatetimeExamples = {
21734
21759
  }
21735
21760
  }
21736
21761
  };
21737
- const propsDoc$1h = {
21762
+ const propsDoc$1i = {
21738
21763
  compact: "boolean",
21739
21764
  wideTerms: "boolean",
21740
21765
  widerTerms: "boolean"
21741
21766
  };
21742
- const propTypes$1k = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
21743
- compact: propTypes$1M.exports.bool,
21744
- wideTerms: propTypes$1M.exports.bool,
21745
- widerTerms: propTypes$1M.exports.bool
21767
+ const propTypes$1l = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
21768
+ compact: propTypes$1N.exports.bool,
21769
+ wideTerms: propTypes$1N.exports.bool,
21770
+ widerTerms: propTypes$1N.exports.bool
21746
21771
  });
21747
21772
  function SpsDescriptionList(props2) {
21748
21773
  const _a = props2, {
@@ -21782,20 +21807,20 @@ function SpsDescriptionList(props2) {
21782
21807
  }, rest), childrenWithProps);
21783
21808
  }
21784
21809
  Object.assign(SpsDescriptionList, {
21785
- props: propsDoc$1h,
21786
- propTypes: propTypes$1k,
21810
+ props: propsDoc$1i,
21811
+ propTypes: propTypes$1l,
21787
21812
  displayName: "SpsDescriptionList / SpsDl"
21788
21813
  });
21789
21814
  function SpsDl(p2) {
21790
21815
  return SpsDescriptionList(p2);
21791
21816
  }
21792
21817
  Object.assign(SpsDl, {
21793
- props: propsDoc$1h,
21794
- propTypes: propTypes$1k,
21818
+ props: propsDoc$1i,
21819
+ propTypes: propTypes$1l,
21795
21820
  displayName: "SpsDescriptionList / SpsDl"
21796
21821
  });
21797
- const propsDoc$1g = {};
21798
- const propTypes$1j = __spreadValues({}, spsGlobalPropTypes);
21822
+ const propsDoc$1h = {};
21823
+ const propTypes$1k = __spreadValues({}, spsGlobalPropTypes);
21799
21824
  function SpsDescriptionListDefinition(props2) {
21800
21825
  const _a = props2, {
21801
21826
  children,
@@ -21815,16 +21840,16 @@ function SpsDescriptionListDefinition(props2) {
21815
21840
  }, rest), children);
21816
21841
  }
21817
21842
  Object.assign(SpsDescriptionListDefinition, {
21818
- props: propsDoc$1g,
21819
- propTypes: propTypes$1j,
21843
+ props: propsDoc$1h,
21844
+ propTypes: propTypes$1k,
21820
21845
  displayName: "SpsDescriptionListDefinition / SpsDd"
21821
21846
  });
21822
21847
  function SpsDd(p2) {
21823
21848
  return SpsDescriptionListDefinition(p2);
21824
21849
  }
21825
21850
  Object.assign(SpsDd, {
21826
- props: propsDoc$1g,
21827
- propTypes: propTypes$1j,
21851
+ props: propsDoc$1h,
21852
+ propTypes: propTypes$1k,
21828
21853
  displayName: "SpsDescriptionListDefinition / SpsDd"
21829
21854
  });
21830
21855
  var TooltipVisibility;
@@ -21839,7 +21864,7 @@ function toggleTooltipState(state) {
21839
21864
  }
21840
21865
  const CARET_SPACING_PX = 13;
21841
21866
  const openTips = new Map();
21842
- const propsDoc$1f = {
21867
+ const propsDoc$1g = {
21843
21868
  for: { type: "React.MutableRefObject<any> | string", required: true },
21844
21869
  hideDelay: "number",
21845
21870
  isShown: "TooltipVisibility",
@@ -21851,17 +21876,17 @@ const propsDoc$1f = {
21851
21876
  showOn: "TooltipShowTrigger",
21852
21877
  title: "string | ReactNode"
21853
21878
  };
21854
- const propTypes$1i = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
21855
- for: propTypes$1M.exports.oneOfType([ref(), propTypes$1M.exports.string]).isRequired,
21856
- hideDelay: propTypes$1M.exports.number,
21879
+ const propTypes$1j = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
21880
+ for: propTypes$1N.exports.oneOfType([ref(), propTypes$1N.exports.string]).isRequired,
21881
+ hideDelay: propTypes$1N.exports.number,
21857
21882
  isShown: enumValue(TooltipVisibility),
21858
21883
  kind: enumValue(TooltipKind),
21859
- offsets: propTypes$1M.exports.arrayOf(propTypes$1M.exports.number),
21884
+ offsets: propTypes$1N.exports.arrayOf(propTypes$1N.exports.number),
21860
21885
  onDeferred: fun(),
21861
21886
  position: enumValue(Position),
21862
21887
  altPosition: enumValue(Position),
21863
21888
  showOn: enumValue(TooltipShowTrigger),
21864
- title: propTypes$1M.exports.string || propTypes$1M.exports.node
21889
+ title: propTypes$1N.exports.string || propTypes$1N.exports.node
21865
21890
  });
21866
21891
  function SpsTooltip({
21867
21892
  children,
@@ -22034,11 +22059,18 @@ function SpsTooltip({
22034
22059
  }, []);
22035
22060
  const portal = usePortal("sps-tooltip-portal");
22036
22061
  const portalContext = React.useContext(PortalContext);
22037
- const [posStyle, altPositionUsed] = shown ? getPosition(rootElement, forElementRef, position3, __spreadValues({
22038
- altPosition,
22039
- setMinWidth: false,
22040
- offsets: [offsets[0] - CARET_SPACING_PX, offsets[1] + getSecondaryOffset(position3)]
22041
- }, portalContext)) : [{}, false];
22062
+ const [[posStyle, altPositionUsed], setPositionData] = React.useState([{}, false]);
22063
+ React.useEffect(() => {
22064
+ if (shown) {
22065
+ setPositionData(getPosition(rootElement, forElementRef, position3, __spreadValues({
22066
+ altPosition,
22067
+ setMinWidth: false,
22068
+ offsets: [offsets[0] - CARET_SPACING_PX, offsets[1] + getSecondaryOffset(position3)]
22069
+ }, portalContext)));
22070
+ } else {
22071
+ setPositionData([{}, false]);
22072
+ }
22073
+ }, [shown, position3, altPosition, offsets[0], offsets[1], children]);
22042
22074
  const classes = clsx(unsafelyReplaceClassName || "sps-tooltip", "z-stratum-tip", `sps-tooltip--${kind}`, `sps-tooltip--pos-${(altPositionUsed ? altPosition : position3).replace(" ", "-")}`, shown && "sps-tooltip--shown", className);
22043
22075
  return portal(/* @__PURE__ */ React.createElement("div", {
22044
22076
  role: "tooltip",
@@ -22058,26 +22090,26 @@ function SpsTooltip({
22058
22090
  })));
22059
22091
  }
22060
22092
  Object.assign(SpsTooltip, {
22061
- props: propsDoc$1f,
22062
- propTypes: propTypes$1i,
22093
+ props: propsDoc$1g,
22094
+ propTypes: propTypes$1j,
22063
22095
  displayName: "SpsTooltip"
22064
22096
  });
22065
- const propsDoc$1e = {
22097
+ const propsDoc$1f = {
22066
22098
  error: "boolean",
22067
22099
  errors: "ReactNodeOrRenderFn",
22068
22100
  help: "ReactNodeOrRenderFn",
22069
22101
  labelFor: "SpsFormFieldMeta<any>",
22070
22102
  required: "boolean"
22071
22103
  };
22072
- const propTypes$1h = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
22073
- error: propTypes$1M.exports.bool,
22104
+ const propTypes$1i = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
22105
+ error: propTypes$1N.exports.bool,
22074
22106
  errors: nodeOrRenderFn,
22075
22107
  help: nodeOrRenderFn,
22076
- labelFor: propTypes$1M.exports.oneOfType([
22108
+ labelFor: propTypes$1N.exports.oneOfType([
22077
22109
  impl(),
22078
22110
  impl()
22079
22111
  ]),
22080
- required: propTypes$1M.exports.bool
22112
+ required: propTypes$1N.exports.bool
22081
22113
  });
22082
22114
  function SpsDescriptionListTerm(props2) {
22083
22115
  const _a = props2, {
@@ -22133,16 +22165,16 @@ function SpsDescriptionListTerm(props2) {
22133
22165
  }, contentOf(tipKind === TooltipKind.ERROR ? errors : help)));
22134
22166
  }
22135
22167
  Object.assign(SpsDescriptionListTerm, {
22136
- props: propsDoc$1e,
22137
- propTypes: propTypes$1h,
22168
+ props: propsDoc$1f,
22169
+ propTypes: propTypes$1i,
22138
22170
  displayName: "SpsDescriptionListTerm / SpsDt"
22139
22171
  });
22140
22172
  function SpsDt(p2) {
22141
22173
  return SpsDescriptionListTerm(p2);
22142
22174
  }
22143
22175
  Object.assign(SpsDt, {
22144
- props: propsDoc$1e,
22145
- propTypes: propTypes$1h,
22176
+ props: propsDoc$1f,
22177
+ propTypes: propTypes$1i,
22146
22178
  displayName: "SpsDescriptionListTerm / SpsDt"
22147
22179
  });
22148
22180
  const SpsDescriptionListExamples = {
@@ -22620,19 +22652,19 @@ const SpsDropdownExamples = {
22620
22652
  }
22621
22653
  }
22622
22654
  };
22623
- const propsDoc$1d = {
22655
+ const propsDoc$1e = {
22624
22656
  checked: "boolean",
22625
22657
  onChange: "ChangeEventHandler",
22626
22658
  indeterminate: "boolean",
22627
22659
  disabled: "boolean",
22628
22660
  options: "Array<SpsActionMethod | [SpsActionDescriptor, () => void]>"
22629
22661
  };
22630
- const propTypes$1g = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
22631
- checked: propTypes$1M.exports.bool,
22662
+ const propTypes$1h = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
22663
+ checked: propTypes$1N.exports.bool,
22632
22664
  onChange: fun(),
22633
- indeterminate: propTypes$1M.exports.bool,
22634
- options: propTypes$1M.exports.arrayOf(propTypes$1M.exports.oneOfType([propTypes$1M.exports.func, propTypes$1M.exports.any])).isRequired,
22635
- disabled: propTypes$1M.exports.bool
22665
+ indeterminate: propTypes$1N.exports.bool,
22666
+ options: propTypes$1N.exports.arrayOf(propTypes$1N.exports.oneOfType([propTypes$1N.exports.func, propTypes$1N.exports.any])).isRequired,
22667
+ disabled: propTypes$1N.exports.bool
22636
22668
  });
22637
22669
  function SpsCheckboxDropdown(props2) {
22638
22670
  const _a = props2, {
@@ -22666,14 +22698,14 @@ function SpsCheckboxDropdown(props2) {
22666
22698
  }));
22667
22699
  }
22668
22700
  Object.assign(SpsCheckboxDropdown, {
22669
- props: propsDoc$1d,
22670
- propTypes: propTypes$1g,
22701
+ props: propsDoc$1e,
22702
+ propTypes: propTypes$1h,
22671
22703
  displayName: "SpsCheckboxDropdown"
22672
22704
  });
22673
- const propsDoc$1c = {
22705
+ const propsDoc$1d = {
22674
22706
  kind: "FeedbackBlockKind"
22675
22707
  };
22676
- const propTypes$1f = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
22708
+ const propTypes$1g = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
22677
22709
  kind: enumValue(FeedbackBlockKind)
22678
22710
  });
22679
22711
  function SpsFeedbackBlock(props2) {
@@ -22704,8 +22736,8 @@ function SpsFeedbackBlock(props2) {
22704
22736
  }, children));
22705
22737
  }
22706
22738
  Object.assign(SpsFeedbackBlock, {
22707
- props: propsDoc$1c,
22708
- propTypes: propTypes$1f,
22739
+ props: propsDoc$1d,
22740
+ propTypes: propTypes$1g,
22709
22741
  displayName: "SpsFeedbackBlock"
22710
22742
  });
22711
22743
  const SpsFeedbackBlockExamples = {
@@ -22807,7 +22839,7 @@ const SpsFeedbackBlockExamples = {
22807
22839
  }
22808
22840
  }
22809
22841
  };
22810
- const propsDoc$1b = {
22842
+ const propsDoc$1c = {
22811
22843
  errors: "ReactNodeOrRenderFn",
22812
22844
  formMeta: "SpsFormSetMeta<any>",
22813
22845
  legend: "string",
@@ -22816,16 +22848,16 @@ const propsDoc$1b = {
22816
22848
  onToggled: "(isEnabled: boolean) => void",
22817
22849
  tooltip: "string"
22818
22850
  };
22819
- const propTypes$1e = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
22851
+ const propTypes$1f = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
22820
22852
  errors: nodeOrRenderFn,
22821
22853
  formArray: impl(),
22822
22854
  formGroup: impl(),
22823
22855
  formMeta: impl(),
22824
- legend: propTypes$1M.exports.string,
22825
- optional: propTypes$1M.exports.bool,
22826
- enabled: propTypes$1M.exports.bool,
22856
+ legend: propTypes$1N.exports.string,
22857
+ optional: propTypes$1N.exports.bool,
22858
+ enabled: propTypes$1N.exports.bool,
22827
22859
  onToggled: fun(),
22828
- tooltip: propTypes$1M.exports.string
22860
+ tooltip: propTypes$1N.exports.string
22829
22861
  });
22830
22862
  function SpsFieldset({
22831
22863
  children,
@@ -22905,8 +22937,8 @@ function SpsFieldset({
22905
22937
  }, contentOf(errors)), children));
22906
22938
  }
22907
22939
  Object.assign(SpsFieldset, {
22908
- props: propsDoc$1b,
22909
- propTypes: propTypes$1e,
22940
+ props: propsDoc$1c,
22941
+ propTypes: propTypes$1f,
22910
22942
  displayName: "SpsFieldset"
22911
22943
  });
22912
22944
  const SpsFieldsetExamples = {
@@ -23192,8 +23224,8 @@ const SpsFieldsetExamples = {
23192
23224
  }
23193
23225
  }
23194
23226
  };
23195
- const propsDoc$1a = {};
23196
- const propTypes$1d = __spreadValues({}, spsGlobalPropTypes);
23227
+ const propsDoc$1b = {};
23228
+ const propTypes$1e = __spreadValues({}, spsGlobalPropTypes);
23197
23229
  function SpsFocusedTaskActions(props2) {
23198
23230
  const _a = props2, {
23199
23231
  children,
@@ -23214,18 +23246,18 @@ function SpsFocusedTaskActions(props2) {
23214
23246
  }, children)));
23215
23247
  }
23216
23248
  Object.assign(SpsFocusedTaskActions, {
23217
- props: propsDoc$1a,
23218
- propTypes: propTypes$1d,
23249
+ props: propsDoc$1b,
23250
+ propTypes: propTypes$1e,
23219
23251
  displayName: "SpsFocusedTaskActions"
23220
23252
  });
23221
- const propsDoc$19 = {
23253
+ const propsDoc$1a = {
23222
23254
  fullWidth: "boolean",
23223
23255
  isOpen: "boolean",
23224
23256
  onClose: "() => void"
23225
23257
  };
23226
- const propTypes$1c = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
23227
- fullWidth: propTypes$1M.exports.bool,
23228
- isOpen: propTypes$1M.exports.bool,
23258
+ const propTypes$1d = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
23259
+ fullWidth: propTypes$1N.exports.bool,
23260
+ isOpen: propTypes$1N.exports.bool,
23229
23261
  onClose: fun()
23230
23262
  });
23231
23263
  function SpsFocusedTask(props2) {
@@ -23282,8 +23314,8 @@ function SpsFocusedTask(props2) {
23282
23314
  }, isOpen && content)), actions);
23283
23315
  }
23284
23316
  Object.assign(SpsFocusedTask, {
23285
- props: propsDoc$19,
23286
- propTypes: propTypes$1c,
23317
+ props: propsDoc$1a,
23318
+ propTypes: propTypes$1d,
23287
23319
  displayName: "SpsFocusedTask"
23288
23320
  });
23289
23321
  const SpsFocusedTaskExamples = {
@@ -24268,19 +24300,19 @@ const SpsAddRemoveFormRowExamples = {
24268
24300
  }
24269
24301
  }
24270
24302
  };
24271
- const propsDoc$18 = {
24303
+ const propsDoc$19 = {
24272
24304
  imgSrc: "string",
24273
24305
  kind: "GrowlerKind",
24274
24306
  onClose: "() => void",
24275
24307
  persist: "boolean",
24276
24308
  title: "string"
24277
24309
  };
24278
- const propTypes$1b = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
24279
- imgSrc: propTypes$1M.exports.string,
24310
+ const propTypes$1c = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
24311
+ imgSrc: propTypes$1N.exports.string,
24280
24312
  kind: enumValue(GrowlerKind),
24281
24313
  onClose: fun(),
24282
- persist: propTypes$1M.exports.bool,
24283
- title: propTypes$1M.exports.string
24314
+ persist: propTypes$1N.exports.bool,
24315
+ title: propTypes$1N.exports.string
24284
24316
  });
24285
24317
  function SpsGrowler(props2) {
24286
24318
  const _a = props2, {
@@ -24386,8 +24418,8 @@ function SpsGrowler(props2) {
24386
24418
  })))));
24387
24419
  }
24388
24420
  Object.assign(SpsGrowler, {
24389
- props: propsDoc$18,
24390
- propTypes: propTypes$1b,
24421
+ props: propsDoc$19,
24422
+ propTypes: propTypes$1c,
24391
24423
  displayName: "SpsGrowler"
24392
24424
  });
24393
24425
  const SpsGrowlerExamples = {
@@ -24762,18 +24794,18 @@ const SpsGrowlerExamples = {
24762
24794
  }
24763
24795
  }
24764
24796
  };
24765
- const propsDoc$17 = {
24797
+ const propsDoc$18 = {
24766
24798
  disabled: "boolean",
24767
24799
  min: "number",
24768
24800
  max: "number",
24769
24801
  step: "number",
24770
24802
  onValueChange: "(newValue: number) => void"
24771
24803
  };
24772
- const propTypes$1a = __spreadValues({
24773
- disabled: propTypes$1M.exports.bool,
24774
- min: propTypes$1M.exports.number,
24775
- max: propTypes$1M.exports.number,
24776
- step: propTypes$1M.exports.number,
24804
+ const propTypes$1b = __spreadValues({
24805
+ disabled: propTypes$1N.exports.bool,
24806
+ min: propTypes$1N.exports.number,
24807
+ max: propTypes$1N.exports.number,
24808
+ step: propTypes$1N.exports.number,
24777
24809
  onValueChange: fun()
24778
24810
  }, spsGlobalPropTypes);
24779
24811
  function SpsIncrementor(props2) {
@@ -24876,8 +24908,8 @@ function SpsIncrementor(props2) {
24876
24908
  }))));
24877
24909
  }
24878
24910
  Object.assign(SpsIncrementor, {
24879
- props: propsDoc$17,
24880
- propTypes: propTypes$1a,
24911
+ props: propsDoc$18,
24912
+ propTypes: propTypes$1b,
24881
24913
  displayName: "SpsIncrementor"
24882
24914
  });
24883
24915
  const SpsIncrementorExamples = {
@@ -24916,7 +24948,7 @@ function SpsInsights(props2) {
24916
24948
  className: "insight-tile-wrapper"
24917
24949
  }, children);
24918
24950
  }
24919
- const propsDoc$16 = {
24951
+ const propsDoc$17 = {
24920
24952
  horizontal: "boolean",
24921
24953
  icon: "SpsIcon",
24922
24954
  kind: "SpsInsightTileKind",
@@ -24925,14 +24957,14 @@ const propsDoc$16 = {
24925
24957
  partnerCount: "number",
24926
24958
  totalPartners: "number"
24927
24959
  };
24928
- const propTypes$19 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
24929
- horizontal: propTypes$1M.exports.bool,
24960
+ const propTypes$1a = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
24961
+ horizontal: propTypes$1N.exports.bool,
24930
24962
  icon: enumValue(SpsIcon),
24931
24963
  kind: enumValue(SpsInsightTileKind),
24932
- title: propTypes$1M.exports.string,
24933
- metric: propTypes$1M.exports.number || propTypes$1M.exports.string,
24934
- partnerCount: propTypes$1M.exports.number,
24935
- totalPartners: propTypes$1M.exports.number
24964
+ title: propTypes$1N.exports.string,
24965
+ metric: propTypes$1N.exports.number || propTypes$1N.exports.string,
24966
+ partnerCount: propTypes$1N.exports.number,
24967
+ totalPartners: propTypes$1N.exports.number
24936
24968
  });
24937
24969
  function SpsInsightTile(props2) {
24938
24970
  const _a = props2, {
@@ -24992,8 +25024,8 @@ function SpsInsightTile(props2) {
24992
25024
  }, t2("design-system:insightTile.partners")))));
24993
25025
  }
24994
25026
  Object.assign(SpsInsightTile, {
24995
- props: propsDoc$16,
24996
- propTypes: propTypes$19,
25027
+ props: propsDoc$17,
25028
+ propTypes: propTypes$1a,
24997
25029
  displayName: "SpsInsightTile"
24998
25030
  });
24999
25031
  const SpsInsightTileExamples = {
@@ -25267,11 +25299,11 @@ const SpsInsightTileExamples = {
25267
25299
  }
25268
25300
  }
25269
25301
  };
25270
- const propsDoc$15 = {
25302
+ const propsDoc$16 = {
25271
25303
  inline: "boolean"
25272
25304
  };
25273
- const propTypes$18 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
25274
- inline: propTypes$1M.exports.bool
25305
+ const propTypes$19 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
25306
+ inline: propTypes$1N.exports.bool
25275
25307
  });
25276
25308
  function SpsKeyValueList(props2) {
25277
25309
  const _a = props2, {
@@ -25294,16 +25326,16 @@ function SpsKeyValueList(props2) {
25294
25326
  }, rest), children);
25295
25327
  }
25296
25328
  Object.assign(SpsKeyValueList, {
25297
- props: propsDoc$15,
25298
- propTypes: propTypes$18,
25329
+ props: propsDoc$16,
25330
+ propTypes: propTypes$19,
25299
25331
  displayName: "SpsKeyValueList"
25300
25332
  });
25301
- const propsDoc$14 = {
25333
+ const propsDoc$15 = {
25302
25334
  itemKey: { type: "string | nodeOrRenderFn", required: true },
25303
25335
  titleColor: "KeyValueListTitleColor"
25304
25336
  };
25305
- const propTypes$17 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
25306
- itemKey: propTypes$1M.exports.string.isRequired || nodeOrRenderFn.isRequired,
25337
+ const propTypes$18 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
25338
+ itemKey: propTypes$1N.exports.string.isRequired || nodeOrRenderFn.isRequired,
25307
25339
  titleColor: enumValue(KeyValueListTitleColor)
25308
25340
  });
25309
25341
  function SpsKeyValueListItem(props2) {
@@ -25335,8 +25367,8 @@ function SpsKeyValueListItem(props2) {
25335
25367
  }, children));
25336
25368
  }
25337
25369
  Object.assign(SpsKeyValueListItem, {
25338
- props: propsDoc$14,
25339
- propTypes: propTypes$17,
25370
+ props: propsDoc$15,
25371
+ propTypes: propTypes$18,
25340
25372
  displayName: "SpsKeyValueListItem"
25341
25373
  });
25342
25374
  const SpsKeyValueListExamples = {
@@ -25379,7 +25411,7 @@ const SpsKeyValueListExamples = {
25379
25411
  }
25380
25412
  }
25381
25413
  };
25382
- const propsDoc$13 = {
25414
+ const propsDoc$14 = {
25383
25415
  for: { type: "SpsFormMetaBase<any>", required: true },
25384
25416
  description: "string",
25385
25417
  stronglySuggested: "boolean",
@@ -25388,16 +25420,16 @@ const propsDoc$13 = {
25388
25420
  helpIconColor: "string",
25389
25421
  errors: "ReactNodeOrRenderFn"
25390
25422
  };
25391
- const propTypes$16 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
25392
- description: propTypes$1M.exports.string,
25393
- for: propTypes$1M.exports.oneOfType([
25423
+ const propTypes$17 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
25424
+ description: propTypes$1N.exports.string,
25425
+ for: propTypes$1N.exports.oneOfType([
25394
25426
  impl(),
25395
25427
  impl()
25396
25428
  ]).isRequired,
25397
- stronglySuggested: propTypes$1M.exports.bool,
25429
+ stronglySuggested: propTypes$1N.exports.bool,
25398
25430
  help: nodeOrRenderFn,
25399
25431
  helpIcon: enumValue(SpsIcon),
25400
- helpIconColor: propTypes$1M.exports.string,
25432
+ helpIconColor: propTypes$1N.exports.string,
25401
25433
  errors: nodeOrRenderFn
25402
25434
  });
25403
25435
  function SpsLabel(_o) {
@@ -25593,8 +25625,8 @@ function SpsLabel(_o) {
25593
25625
  }, description));
25594
25626
  }
25595
25627
  Object.assign(SpsLabel, {
25596
- props: propsDoc$13,
25597
- propTypes: propTypes$16,
25628
+ props: propsDoc$14,
25629
+ propTypes: propTypes$17,
25598
25630
  displayName: "SpsLabel"
25599
25631
  });
25600
25632
  const SpsLabelExamples = {
@@ -25812,13 +25844,13 @@ const SpsLabelExamples = {
25812
25844
  }
25813
25845
  }
25814
25846
  };
25815
- const propsDoc$12 = {
25847
+ const propsDoc$13 = {
25816
25848
  clearSelected: { type: "() => void", required: true },
25817
25849
  itemsSelected: { type: "string | number", required: true }
25818
25850
  };
25819
- const propTypes$15 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
25851
+ const propTypes$16 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
25820
25852
  clearSelected: fun().isRequired,
25821
- itemsSelected: propTypes$1M.exports.oneOfType([propTypes$1M.exports.string, propTypes$1M.exports.number])
25853
+ itemsSelected: propTypes$1N.exports.oneOfType([propTypes$1N.exports.string, propTypes$1N.exports.number])
25822
25854
  });
25823
25855
  function SpsListActionBar(props2) {
25824
25856
  const _a = props2, {
@@ -25868,8 +25900,8 @@ function SpsListActionBar(props2) {
25868
25900
  }, t2("design-system:listActionBar.clearSelected")))));
25869
25901
  }
25870
25902
  Object.assign(SpsListActionBar, {
25871
- props: propsDoc$12,
25872
- propTypes: propTypes$15,
25903
+ props: propsDoc$13,
25904
+ propTypes: propTypes$16,
25873
25905
  displayName: "SpsListActionBar"
25874
25906
  });
25875
25907
  const getScrollParent = (node) => {
@@ -26065,18 +26097,18 @@ const usePinnedTableHeadStyle = (containerRef) => {
26065
26097
  };
26066
26098
  });
26067
26099
  };
26068
- const propsDoc$11 = {
26100
+ const propsDoc$12 = {
26069
26101
  controlCell: "boolean",
26070
26102
  currentSort: "Array<SortedColumn>",
26071
26103
  onSortChange: "SortChangeHandler",
26072
26104
  sortKey: "string"
26073
26105
  };
26074
- const propTypes$14 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
26075
- controlCell: propTypes$1M.exports.bool,
26076
- currentSort: propTypes$1M.exports.arrayOf(impl()),
26106
+ const propTypes$15 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
26107
+ controlCell: propTypes$1N.exports.bool,
26108
+ currentSort: propTypes$1N.exports.arrayOf(impl()),
26077
26109
  onSortChange: fun(),
26078
- sortKey: propTypes$1M.exports.string,
26079
- pinned: propTypes$1M.exports.bool
26110
+ sortKey: propTypes$1N.exports.string,
26111
+ pinned: propTypes$1N.exports.bool
26080
26112
  });
26081
26113
  function SpsTableHeader(props2) {
26082
26114
  const _a = props2, {
@@ -26135,24 +26167,24 @@ function SpsTableHeader(props2) {
26135
26167
  }, children));
26136
26168
  }
26137
26169
  Object.assign(SpsTableHeader, {
26138
- props: propsDoc$11,
26139
- propTypes: propTypes$14,
26170
+ props: propsDoc$12,
26171
+ propTypes: propTypes$15,
26140
26172
  displayName: "SpsTableHeader"
26141
26173
  });
26142
26174
  function SpsTh(props2) {
26143
26175
  return /* @__PURE__ */ React.createElement(SpsTableHeader, __spreadValues({}, props2));
26144
26176
  }
26145
26177
  Object.assign(SpsTh, {
26146
- props: propsDoc$11,
26147
- propTypes: propTypes$14,
26178
+ props: propsDoc$12,
26179
+ propTypes: propTypes$15,
26148
26180
  displayName: "SpsTh"
26149
26181
  });
26150
- const propsDoc$10 = {
26182
+ const propsDoc$11 = {
26151
26183
  currentSort: "Array<SortedColumn>",
26152
26184
  onSortChange: "SortChangeHandler"
26153
26185
  };
26154
- const propTypes$13 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
26155
- currentSort: propTypes$1M.exports.arrayOf(impl()),
26186
+ const propTypes$14 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
26187
+ currentSort: propTypes$1N.exports.arrayOf(impl()),
26156
26188
  onSortChange: fun()
26157
26189
  });
26158
26190
  function SpsTableRow(props2) {
@@ -26188,26 +26220,26 @@ function SpsTableRow(props2) {
26188
26220
  }));
26189
26221
  }
26190
26222
  Object.assign(SpsTableRow, {
26191
- props: propsDoc$10,
26192
- propTypes: propTypes$13,
26223
+ props: propsDoc$11,
26224
+ propTypes: propTypes$14,
26193
26225
  displayName: "SpsTableRow"
26194
26226
  });
26195
26227
  function SpsTr(props2) {
26196
26228
  return /* @__PURE__ */ React.createElement(SpsTableRow, __spreadValues({}, props2));
26197
26229
  }
26198
26230
  Object.assign(SpsTr, {
26199
- props: propsDoc$10,
26200
- propTypes: propTypes$13,
26231
+ props: propsDoc$11,
26232
+ propTypes: propTypes$14,
26201
26233
  displayName: "SpsTr"
26202
26234
  });
26203
- const propsDoc$$ = {
26235
+ const propsDoc$10 = {
26204
26236
  currentSort: "Array<SortedColumn>",
26205
26237
  onSortChange: "SortChangeHandler"
26206
26238
  };
26207
- const propTypes$12 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
26239
+ const propTypes$13 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
26208
26240
  onSortChange: fun(),
26209
- currentSort: propTypes$1M.exports.arrayOf(impl()),
26210
- pinned: propTypes$1M.exports.bool
26241
+ currentSort: propTypes$1N.exports.arrayOf(impl()),
26242
+ pinned: propTypes$1N.exports.bool
26211
26243
  });
26212
26244
  function SpsTableHead(props2) {
26213
26245
  const _a = props2, {
@@ -26243,27 +26275,27 @@ function SpsTableHead(props2) {
26243
26275
  }));
26244
26276
  }
26245
26277
  Object.assign(SpsTableHead, {
26246
- props: propsDoc$$,
26247
- propTypes: propTypes$12,
26278
+ props: propsDoc$10,
26279
+ propTypes: propTypes$13,
26248
26280
  displayName: "SpsTableHead"
26249
26281
  });
26250
26282
  function SpsThead(props2) {
26251
26283
  return /* @__PURE__ */ React.createElement(SpsTableHead, __spreadValues({}, props2));
26252
26284
  }
26253
26285
  Object.assign(SpsThead, {
26254
- props: propsDoc$$,
26255
- propTypes: propTypes$12,
26286
+ props: propsDoc$10,
26287
+ propTypes: propTypes$13,
26256
26288
  displayName: "SpsThead"
26257
26289
  });
26258
- const propsDoc$_ = {
26290
+ const propsDoc$$ = {
26259
26291
  sort: "SortedColumn",
26260
26292
  onSortChange: "SortChangeHandler",
26261
26293
  selectable: "boolean"
26262
26294
  };
26263
- const propTypes$11 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
26295
+ const propTypes$12 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
26264
26296
  onSortChange: fun(),
26265
- sort: propTypes$1M.exports.arrayOf(impl()),
26266
- selectable: propTypes$1M.exports.bool
26297
+ sort: propTypes$1N.exports.arrayOf(impl()),
26298
+ selectable: propTypes$1N.exports.bool
26267
26299
  });
26268
26300
  function SpsTable(props2) {
26269
26301
  const _a = props2, {
@@ -26318,12 +26350,12 @@ function SpsTable(props2) {
26318
26350
  })));
26319
26351
  }
26320
26352
  Object.assign(SpsTable, {
26321
- props: propsDoc$_,
26322
- propTypes: propTypes$11,
26353
+ props: propsDoc$$,
26354
+ propTypes: propTypes$12,
26323
26355
  displayName: "SpsTable"
26324
26356
  });
26325
- const propsDoc$Z = {};
26326
- const propTypes$10 = __spreadValues({}, spsGlobalPropTypes);
26357
+ const propsDoc$_ = {};
26358
+ const propTypes$11 = __spreadValues({}, spsGlobalPropTypes);
26327
26359
  function SpsTableBody(props2) {
26328
26360
  const _a = props2, {
26329
26361
  children,
@@ -26343,34 +26375,34 @@ function SpsTableBody(props2) {
26343
26375
  }, rest), children);
26344
26376
  }
26345
26377
  Object.assign(SpsTableBody, {
26346
- props: propsDoc$Z,
26347
- propTypes: propTypes$10,
26378
+ props: propsDoc$_,
26379
+ propTypes: propTypes$11,
26348
26380
  displayName: "SpsTableBody"
26349
26381
  });
26350
26382
  function SpsTbody(props2) {
26351
26383
  return /* @__PURE__ */ React.createElement(SpsTableBody, __spreadValues({}, props2));
26352
26384
  }
26353
26385
  Object.assign(SpsTbody, {
26354
- props: propsDoc$Z,
26355
- propTypes: propTypes$10,
26386
+ props: propsDoc$_,
26387
+ propTypes: propTypes$11,
26356
26388
  displayName: "SpsTbody"
26357
26389
  });
26358
- const propsDoc$Y = {
26390
+ const propsDoc$Z = {
26359
26391
  buttonCell: "boolean",
26360
26392
  controlCell: "boolean",
26361
26393
  wrap: "SpsTableCellWrapWidth"
26362
26394
  };
26363
- const propTypes$$ = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
26364
- buttonCell: propTypes$1M.exports.bool,
26365
- controlCell: propTypes$1M.exports.bool,
26366
- wrap: propTypes$1M.exports.oneOf([
26395
+ const propTypes$10 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
26396
+ buttonCell: propTypes$1N.exports.bool,
26397
+ controlCell: propTypes$1N.exports.bool,
26398
+ wrap: propTypes$1N.exports.oneOf([
26367
26399
  200,
26368
26400
  300,
26369
26401
  400,
26370
26402
  500,
26371
26403
  600
26372
26404
  ]),
26373
- pinned: propTypes$1M.exports.bool
26405
+ pinned: propTypes$1N.exports.bool
26374
26406
  });
26375
26407
  function SpsTableCell(props2) {
26376
26408
  const _a = props2, {
@@ -26403,20 +26435,20 @@ function SpsTableCell(props2) {
26403
26435
  }, rest), children);
26404
26436
  }
26405
26437
  Object.assign(SpsTableCell, {
26406
- props: propsDoc$Y,
26407
- propTypes: propTypes$$,
26438
+ props: propsDoc$Z,
26439
+ propTypes: propTypes$10,
26408
26440
  displayName: "SpsTableCell"
26409
26441
  });
26410
26442
  function SpsTd(props2) {
26411
26443
  return /* @__PURE__ */ React.createElement(SpsTableCell, __spreadValues({}, props2));
26412
26444
  }
26413
26445
  Object.assign(SpsTd, {
26414
- props: propsDoc$Y,
26415
- propTypes: propTypes$$,
26446
+ props: propsDoc$Z,
26447
+ propTypes: propTypes$10,
26416
26448
  displayName: "SpsTd"
26417
26449
  });
26418
- const propsDoc$X = {};
26419
- const propTypes$_ = __spreadValues({}, spsGlobalPropTypes);
26450
+ const propsDoc$Y = {};
26451
+ const propTypes$$ = __spreadValues({}, spsGlobalPropTypes);
26420
26452
  const CSS_BLOCK$3 = "sps-icon-button-panel";
26421
26453
  function SpsIconButtonPanel(_q) {
26422
26454
  var _r = _q, {
@@ -26435,8 +26467,8 @@ function SpsIconButtonPanel(_q) {
26435
26467
  }, rest), iconButtons);
26436
26468
  }
26437
26469
  Object.assign(SpsIconButtonPanel, {
26438
- props: propsDoc$X,
26439
- propTypes: propTypes$_,
26470
+ props: propsDoc$Y,
26471
+ propTypes: propTypes$$,
26440
26472
  displayName: "SpsIconButtonPanel"
26441
26473
  });
26442
26474
  const SpsTableExamples = {
@@ -27620,8 +27652,8 @@ const SpsListActionBarExamples = {
27620
27652
  }
27621
27653
  }
27622
27654
  };
27623
- const propTypes$Z = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
27624
- tabs: propTypes$1M.exports.arrayOf(impl()).isRequired,
27655
+ const propTypes$_ = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
27656
+ tabs: propTypes$1N.exports.arrayOf(impl()).isRequired,
27625
27657
  activeTab: impl(),
27626
27658
  onTabChange: fun()
27627
27659
  });
@@ -27685,18 +27717,300 @@ function SpsTabs(props2) {
27685
27717
  }, tab2.tag)))));
27686
27718
  }
27687
27719
  Object.assign(SpsTabs, {
27688
- propTypes: propTypes$Z,
27720
+ propTypes: propTypes$_,
27689
27721
  displayName: "SpsTabs"
27690
27722
  });
27723
+ const propsDoc$X = {
27724
+ resultsCount: "number",
27725
+ totalResults: "number",
27726
+ onClear: "() => void"
27727
+ };
27728
+ const propTypes$Z = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
27729
+ resultsCount: propTypes$1N.exports.number,
27730
+ totalResults: propTypes$1N.exports.number,
27731
+ onClear: fun()
27732
+ });
27733
+ function SpsSearchResultsBar(props2) {
27734
+ const _a = props2, {
27735
+ children,
27736
+ className,
27737
+ resultsCount,
27738
+ totalResults,
27739
+ onClear,
27740
+ "data-testid": testId,
27741
+ unsafelyReplaceClassName
27742
+ } = _a, rest = __objRest(_a, [
27743
+ "children",
27744
+ "className",
27745
+ "resultsCount",
27746
+ "totalResults",
27747
+ "onClear",
27748
+ "data-testid",
27749
+ "unsafelyReplaceClassName"
27750
+ ]);
27751
+ const { t: t2 } = React.useContext(I18nContext);
27752
+ const classes = clsx(unsafelyReplaceClassName || "sps-search-results-bar", className);
27753
+ const [
27754
+ count,
27755
+ ofText,
27756
+ total
27757
+ ] = t2("design-system:searchResultsBar.count", { count: resultsCount, total: totalResults }).split(" ");
27758
+ return /* @__PURE__ */ React.createElement("div", __spreadValues({
27759
+ className: classes,
27760
+ "data-testid": `${testId}`
27761
+ }, rest), /* @__PURE__ */ React.createElement("span", {
27762
+ className: "sps-search-results-bar__label",
27763
+ "data-testid": `${testId}__label`
27764
+ }, t2("design-system:searchResultsBar.matchingResults")), count && !Number.isNaN(Number(count)) && /* @__PURE__ */ React.createElement("span", {
27765
+ className: "sps-search-results-bar__count",
27766
+ "data-testid": `${testId}__count`
27767
+ }, /* @__PURE__ */ React.createElement("i", {
27768
+ className: "sps-icon sps-icon-double-angle-right"
27769
+ }), /* @__PURE__ */ React.createElement("span", null, count)), total && !Number.isNaN(Number(total)) && /* @__PURE__ */ React.createElement("span", {
27770
+ className: "sps-search-results-bar__total",
27771
+ "data-testid": `${testId}__total`
27772
+ }, ofText, " ", total), /* @__PURE__ */ React.createElement("div", {
27773
+ className: "sps-search-results-bar__buttons",
27774
+ "data-testid": `${testId}__button`
27775
+ }, /* @__PURE__ */ React.createElement("button", {
27776
+ type: "button",
27777
+ onClick: onClear
27778
+ }, t2("design-system:searchResultsBar.clear"))));
27779
+ }
27780
+ Object.assign(SpsSearchResultsBar, {
27781
+ props: propsDoc$X,
27782
+ propTypes: propTypes$Z,
27783
+ displayName: "SpsSearchResultsBar"
27784
+ });
27691
27785
  const propsDoc$W = {
27786
+ results: "number",
27787
+ selections: "{ [key: string]: string[] }",
27788
+ zeroStateText: "string",
27789
+ onClear: "() => void"
27790
+ };
27791
+ const propTypes$Y = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
27792
+ results: propTypes$1N.exports.number,
27793
+ selections: impl(),
27794
+ zeroStateText: propTypes$1N.exports.string,
27795
+ onClear: fun()
27796
+ });
27797
+ function SpsSearchResultsBarV2(props2) {
27798
+ const _a = props2, {
27799
+ className,
27800
+ results = 0,
27801
+ selections,
27802
+ zeroStateText,
27803
+ onClear,
27804
+ "data-testid": testId,
27805
+ unsafelyReplaceClassName
27806
+ } = _a, rest = __objRest(_a, [
27807
+ "className",
27808
+ "results",
27809
+ "selections",
27810
+ "zeroStateText",
27811
+ "onClear",
27812
+ "data-testid",
27813
+ "unsafelyReplaceClassName"
27814
+ ]);
27815
+ const { t: t2 } = React.useContext(I18nContext);
27816
+ const classes = clsx(unsafelyReplaceClassName || "sps-search-results-bar-v2", className);
27817
+ const filteredSelections = selections ? Object.keys(selections).reduce((acc, value) => {
27818
+ if (selections[value].length > 0) {
27819
+ acc[value] = selections[value];
27820
+ }
27821
+ return acc;
27822
+ }, {}) : {};
27823
+ return /* @__PURE__ */ React.createElement("div", __spreadValues({
27824
+ className: classes,
27825
+ "data-testid": `${testId}`
27826
+ }, rest), /* @__PURE__ */ React.createElement("div", {
27827
+ className: "sps-search-results-bar-v2__results"
27828
+ }, /* @__PURE__ */ React.createElement("span", {
27829
+ "data-testid": `${testId}__label`
27830
+ }, t2("design-system:searchResultsBar.results")), /* @__PURE__ */ React.createElement(SpsTag, {
27831
+ kind: TagKind.INFO
27832
+ }, /* @__PURE__ */ React.createElement("span", null, results))), /* @__PURE__ */ React.createElement("div", {
27833
+ className: "sps-search-results-bar-v2__selections"
27834
+ }, Object.keys(filteredSelections).length > 0 ? Object.keys(filteredSelections).map((selection, i2) => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("span", {
27835
+ key: i2,
27836
+ className: "sps-search-results-bar-v2__selection"
27837
+ }, selection, ":"), filteredSelections[selection].map((label, j) => /* @__PURE__ */ React.createElement(SpsTag, {
27838
+ key: j,
27839
+ kind: TagKind.KEY
27840
+ }, /* @__PURE__ */ React.createElement("span", null, label))))) : /* @__PURE__ */ React.createElement("span", {
27841
+ className: "font-italic"
27842
+ }, zeroStateText || t2("design-system:searchResultsBar.noAdvancedSearchSelections"))), /* @__PURE__ */ React.createElement("div", {
27843
+ className: "sps-search-results-bar-v2__buttons",
27844
+ "data-testid": `${testId}__button`
27845
+ }, /* @__PURE__ */ React.createElement(SpsButton, {
27846
+ kind: ButtonKind.LINK,
27847
+ onClick: onClear
27848
+ }, t2("design-system:searchResultsBar.clearResults"))));
27849
+ }
27850
+ Object.assign(SpsSearchResultsBarV2, {
27851
+ props: propsDoc$W,
27852
+ propTypes: propTypes$Y,
27853
+ displayName: "SpsSearchResultsBarV2"
27854
+ });
27855
+ const SpsSearchResultsBarExamples = {
27856
+ basic: {
27857
+ label: "Basic",
27858
+ description: ({ NavigateTo }) => /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("p", null, "SpsSearchResultsBarV2 should be used with List Toolbar and Advanced Search."), /* @__PURE__ */ React.createElement("p", null, "For more examples go to the Advanced Search section on the", " ", /* @__PURE__ */ React.createElement(NavigateTo, {
27859
+ to: "list-toolbar"
27860
+ }, "List Toolbar"), " page.")),
27861
+ examples: {
27862
+ basic: {
27863
+ react: code`
27864
+ function Component() {
27865
+
27866
+ const [advSearch, setAdvSearch] = React.useState({
27867
+ isOpen: false
27868
+ });
27869
+
27870
+ const [showSearchBar, setShowSearchBar] = React.useState(true);
27871
+
27872
+ const [results, setResults] = React.useState(10);
27873
+
27874
+ const initialSelections = {
27875
+ sender: ["Aktie Sports","Modells Sporting Goods", "Perry Sport"],
27876
+ receiver: ["FGL Sports", "Foot Asylum", "Hervis", "Lovell Rugby"],
27877
+ };
27878
+
27879
+ const [selections, setSelections] = React.useState(initialSelections);
27880
+
27881
+ const initValue = {
27882
+ searchText: "",
27883
+ };
27884
+
27885
+ const { formValue, formMeta, updateForm } = useSpsForm(initValue);
27886
+
27887
+ function handleToggleAdvancedSearch(isOpen) {
27888
+ setAdvSearch({ isOpen });
27889
+ }
27890
+
27891
+ function handleAdvancedSearchSubmit() {
27892
+ console.log("submit");
27893
+ setResults(10);
27894
+ setSelections(initialSelections);
27895
+ }
27896
+
27897
+ function handleClear() {
27898
+ setResults(0);
27899
+ setSelections({});
27900
+ }
27901
+
27902
+ return (
27903
+ <>
27904
+ <SpsListToolbar advancedSearch={advSearch}
27905
+ onToggleAdvancedSearch={handleToggleAdvancedSearch}
27906
+ >
27907
+ <SpsListToolbarSearch>
27908
+ <SpsTextInput
27909
+ value={formValue.searchText}
27910
+ formMeta={formMeta.fields.searchText}
27911
+ placeholder="Search fields"
27912
+ />
27913
+ <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} />
27914
+ </SpsListToolbarSearch>
27915
+ <SpsSearchResultsBarV2
27916
+ results={results}
27917
+ onClear={handleClear}
27918
+ selections={selections}
27919
+ />
27920
+ </SpsListToolbar>
27921
+ <SpsAdvancedSearch {...advSearch} onSubmit={handleAdvancedSearchSubmit}>
27922
+ <i>insert form here</i>
27923
+ </SpsAdvancedSearch>
27924
+ </>
27925
+ )
27926
+ }
27927
+ `
27928
+ }
27929
+ }
27930
+ },
27931
+ customText: {
27932
+ label: "Custom Text",
27933
+ description: () => /* @__PURE__ */ React.createElement("p", null, "You can pass in custom text to be displayed when there are no selections."),
27934
+ examples: {
27935
+ customText: {
27936
+ react: code`
27937
+ function Component() {
27938
+ const [advSearch, setAdvSearch] = React.useState({
27939
+ isOpen: false
27940
+ });
27941
+
27942
+ const [showSearchBar, setShowSearchBar] = React.useState(true);
27943
+
27944
+ const [results, setResults] = React.useState(0);
27945
+
27946
+ const initialSelections = {
27947
+ sender: ["Aktie Sports","Modells Sporting Goods", "Perry Sport"],
27948
+ receiver: ["FGL Sports", "Foot Asylum", "Hervis", "Lovell Rugby"],
27949
+ };
27950
+
27951
+ const [selections, setSelections] = React.useState({});
27952
+
27953
+ const initValue = {
27954
+ searchText: "",
27955
+ };
27956
+
27957
+ const { formValue, formMeta, updateForm } = useSpsForm(initValue);
27958
+
27959
+ function handleToggleAdvancedSearch(isOpen) {
27960
+ setAdvSearch({ isOpen });
27961
+ }
27962
+
27963
+ function handleAdvancedSearchSubmit() {
27964
+ console.log("submit");
27965
+ setResults(10);
27966
+ setSelections(initialSelections);
27967
+ }
27968
+
27969
+ function handleClear() {
27970
+ setResults(0);
27971
+ setSelections({});
27972
+ }
27973
+
27974
+ return (
27975
+ <>
27976
+ <SpsListToolbar advancedSearch={advSearch}
27977
+ onToggleAdvancedSearch={handleToggleAdvancedSearch}
27978
+ >
27979
+ <SpsListToolbarSearch>
27980
+ <SpsTextInput
27981
+ value={formValue.searchText}
27982
+ formMeta={formMeta.fields.searchText}
27983
+ placeholder="Search fields"
27984
+ />
27985
+ <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} />
27986
+ </SpsListToolbarSearch>
27987
+ <SpsSearchResultsBarV2
27988
+ results={results}
27989
+ onClear={handleClear}
27990
+ selections={selections}
27991
+ zeroStateText="There are no selections here"
27992
+ />
27993
+ </SpsListToolbar>
27994
+ <SpsAdvancedSearch {...advSearch} onSubmit={handleAdvancedSearchSubmit}>
27995
+ <i>insert form here</i>
27996
+ </SpsAdvancedSearch>
27997
+ </>
27998
+ )
27999
+ }
28000
+ `
28001
+ }
28002
+ }
28003
+ }
28004
+ };
28005
+ const propsDoc$V = {
27692
28006
  formMeta: "SpsFormSetMeta<any>",
27693
28007
  stacked: "boolean"
27694
28008
  };
27695
- const propTypes$Y = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
28009
+ const propTypes$X = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
27696
28010
  formArray: impl(),
27697
28011
  formGroup: impl(),
27698
28012
  formMeta: impl(),
27699
- stacked: propTypes$1M.exports.bool
28013
+ stacked: propTypes$1N.exports.bool
27700
28014
  });
27701
28015
  function SpsInputGroup(_s) {
27702
28016
  var _t = _s, {
@@ -27741,14 +28055,14 @@ function SpsInputGroup(_s) {
27741
28055
  }, children));
27742
28056
  }
27743
28057
  Object.assign(SpsInputGroup, {
27744
- props: propsDoc$W,
27745
- propTypes: propTypes$Y,
28058
+ props: propsDoc$V,
28059
+ propTypes: propTypes$X,
27746
28060
  displayName: "SpsInputGroup"
27747
28061
  });
27748
- const propsDoc$V = {
28062
+ const propsDoc$U = {
27749
28063
  onSubmit: "FormEventHandler"
27750
28064
  };
27751
- const propTypes$X = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
28065
+ const propTypes$W = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
27752
28066
  onSubmit: fun()
27753
28067
  });
27754
28068
  function SpsListToolbarSearch(props2) {
@@ -27771,12 +28085,12 @@ function SpsListToolbarSearch(props2) {
27771
28085
  }, children));
27772
28086
  }
27773
28087
  Object.assign(SpsListToolbarSearch, {
27774
- props: propsDoc$V,
27775
- propTypes: propTypes$X,
28088
+ props: propsDoc$U,
28089
+ propTypes: propTypes$W,
27776
28090
  displayName: "SpsListToolbarSearch"
27777
28091
  });
27778
- const propsDoc$U = {};
27779
- const propTypes$W = __spreadValues({}, spsGlobalPropTypes);
28092
+ const propsDoc$T = {};
28093
+ const propTypes$V = __spreadValues({}, spsGlobalPropTypes);
27780
28094
  function SpsListToolbarSearchInfo(props2) {
27781
28095
  const {
27782
28096
  children
@@ -27784,11 +28098,11 @@ function SpsListToolbarSearchInfo(props2) {
27784
28098
  return /* @__PURE__ */ React.createElement("div", null, children);
27785
28099
  }
27786
28100
  Object.assign(SpsListToolbarSearchInfo, {
27787
- props: propsDoc$U,
27788
- propTypes: propTypes$W,
28101
+ props: propsDoc$T,
28102
+ propTypes: propTypes$V,
27789
28103
  displayName: "SpsListToolbarSearchInfo"
27790
28104
  });
27791
- const propsDoc$T = {
28105
+ const propsDoc$S = {
27792
28106
  activeTab: "SpsTab",
27793
28107
  advancedSearch: "{ isOpen: boolean, enteredFields: number }",
27794
28108
  onToggleAdvancedSearch: "(boolean) => void",
@@ -27799,23 +28113,25 @@ const propsDoc$T = {
27799
28113
  selectable: "boolean",
27800
28114
  isSelected: "boolean",
27801
28115
  isIndeterminate: "boolean",
27802
- onSelectionChange: "(boolean) => void"
28116
+ onSelectionChange: "(boolean) => void",
28117
+ pinResultsBar: "boolean"
27803
28118
  };
27804
- const propTypes$V = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
28119
+ const propTypes$U = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
27805
28120
  activeTab: impl(),
27806
- advancedSearch: propTypes$1M.exports.shape({
27807
- isOpen: propTypes$1M.exports.bool,
27808
- enteredFields: propTypes$1M.exports.number
28121
+ advancedSearch: propTypes$1N.exports.shape({
28122
+ isOpen: propTypes$1N.exports.bool,
28123
+ enteredFields: propTypes$1N.exports.number
27809
28124
  }),
27810
28125
  onToggleAdvancedSearch: fun(),
27811
28126
  onTabChange: fun(),
27812
- title: propTypes$1M.exports.string,
27813
- tabs: propTypes$1M.exports.arrayOf(impl()),
28127
+ title: propTypes$1N.exports.string,
28128
+ tabs: propTypes$1N.exports.arrayOf(impl()),
27814
28129
  onToolbarPinned: fun(),
27815
- selectable: propTypes$1M.exports.bool,
27816
- isSelected: propTypes$1M.exports.bool,
27817
- isIndeterminate: propTypes$1M.exports.bool,
27818
- onSelectionChange: fun()
28130
+ selectable: propTypes$1N.exports.bool,
28131
+ isSelected: propTypes$1N.exports.bool,
28132
+ isIndeterminate: propTypes$1N.exports.bool,
28133
+ onSelectionChange: fun(),
28134
+ pinResultsBar: propTypes$1N.exports.bool
27819
28135
  });
27820
28136
  function SpsListToolbar(props2) {
27821
28137
  const _a = props2, {
@@ -27833,6 +28149,7 @@ function SpsListToolbar(props2) {
27833
28149
  isSelected,
27834
28150
  isIndeterminate,
27835
28151
  onSelectionChange,
28152
+ pinResultsBar,
27836
28153
  "data-testid": testId
27837
28154
  } = _a, rest = __objRest(_a, [
27838
28155
  "activeTab",
@@ -27849,6 +28166,7 @@ function SpsListToolbar(props2) {
27849
28166
  "isSelected",
27850
28167
  "isIndeterminate",
27851
28168
  "onSelectionChange",
28169
+ "pinResultsBar",
27852
28170
  "data-testid"
27853
28171
  ]);
27854
28172
  const { t: t2 } = React.useContext(I18nContext);
@@ -27921,10 +28239,12 @@ function SpsListToolbar(props2) {
27921
28239
  const [
27922
28240
  listToolbarSearch,
27923
28241
  listToolbarSearchInfo,
28242
+ searchResultsBar,
27924
28243
  otherChildren
27925
28244
  ] = selectChildren(children, [
27926
28245
  { type: SpsListToolbarSearch },
27927
- { type: SpsListToolbarSearchInfo }
28246
+ { type: SpsListToolbarSearchInfo },
28247
+ { type: SpsSearchResultsBarV2 }
27928
28248
  ]);
27929
28249
  return /* @__PURE__ */ React.createElement("div", {
27930
28250
  className: "sps-list-toolbar__wrapper",
@@ -27933,7 +28253,9 @@ function SpsListToolbar(props2) {
27933
28253
  className: classes,
27934
28254
  "data-testid": testId,
27935
28255
  ref: rootElement
27936
- }, rest), !!selectable && /* @__PURE__ */ React.createElement("div", {
28256
+ }, rest), /* @__PURE__ */ React.createElement("div", {
28257
+ className: "sps-list-toolbar__content"
28258
+ }, !!selectable && /* @__PURE__ */ React.createElement("div", {
27937
28259
  className: "sps-list-toolbar__selection-controls"
27938
28260
  }, /* @__PURE__ */ React.createElement(SpsCheckbox, {
27939
28261
  checked: isSelected,
@@ -27967,11 +28289,11 @@ function SpsListToolbar(props2) {
27967
28289
  value: { fixed: true }
27968
28290
  }, otherChildren)) : /* @__PURE__ */ React.createElement("div", {
27969
28291
  className: "sps-list-toolbar__header-content"
27970
- }, otherChildren)));
28292
+ }, otherChildren)), /* @__PURE__ */ React.createElement("div", null, (!isPinned || isPinned && pinResultsBar) && searchResultsBar)));
27971
28293
  }
27972
28294
  Object.assign(SpsListToolbar, {
27973
- props: propsDoc$T,
27974
- propTypes: propTypes$V,
28295
+ props: propsDoc$S,
28296
+ propTypes: propTypes$U,
27975
28297
  displayName: "SpsListToolbar"
27976
28298
  });
27977
28299
  function ContentOrderExample() {
@@ -28313,6 +28635,185 @@ const SpsListToolbarExamples = {
28313
28635
  )
28314
28636
  }
28315
28637
  `
28638
+ },
28639
+ withResultsBar: {
28640
+ description: ({ NavigateTo }) => /* @__PURE__ */ React.createElement("p", null, "You can include ", /* @__PURE__ */ React.createElement(NavigateTo, {
28641
+ to: "search-results-bar"
28642
+ }, "Search Results Bar"), " (SpsSearchResultsBarV2)."),
28643
+ react: code`
28644
+ function Component() {
28645
+ const senderOptions = ["Aktie Sports", "FGL Sports","Modells Sporting Goods", "Perry Sport", "Sportman Warhouse Australia"];
28646
+ const receiverOptions = ["FGL Sports", "Foot Asylum", "Hervis", "Lovell Rugby", "Aktie Sports"];
28647
+ const doctypeOptions = [".doc", ".txt", ".pdf"];
28648
+ const statusOptions = ["pending", "done"];
28649
+
28650
+ const [advSearch, setAdvSearch] = React.useState({
28651
+ isOpen: false
28652
+ });
28653
+
28654
+ const [showSearchBar, setShowSearchBar] = React.useState(true);
28655
+
28656
+ const [selections, setSelections] = React.useState();
28657
+ const [results, setResults] = React.useState(0);
28658
+
28659
+ const initValue = {
28660
+ searchText: "",
28661
+ sender: [],
28662
+ receiver: [],
28663
+ doctype: [],
28664
+ status: [],
28665
+ };
28666
+
28667
+ const { formValue, formMeta, updateForm } = useSpsForm(initValue);
28668
+
28669
+ function handleToggleAdvancedSearch(isOpen) {
28670
+ setAdvSearch({ isOpen });
28671
+ }
28672
+
28673
+ function handleAdvancedSearchSubmit() {
28674
+ console.log("submit");
28675
+ setShowSearchBar(true);
28676
+ setSelections(omit(formValue, "searchText"));
28677
+ setResults(Math.floor(Math.random() * 100));
28678
+ }
28679
+
28680
+ function handleAdvancedSearchClear() {
28681
+ updateForm(initValue);
28682
+ }
28683
+
28684
+ return (
28685
+ <>
28686
+ <SpsListToolbar advancedSearch={advSearch}
28687
+ onToggleAdvancedSearch={handleToggleAdvancedSearch}
28688
+ >
28689
+ <SpsListToolbarSearch>
28690
+ <SpsTextInput
28691
+ value={formValue.searchText}
28692
+ formMeta={formMeta.fields.searchText}
28693
+ placeholder="Search fields"
28694
+ />
28695
+ <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} />
28696
+ </SpsListToolbarSearch>
28697
+ <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.DOWNLOAD_CLOUD} />
28698
+ <SpsButton>Button</SpsButton>
28699
+ <SpsButton kind={ButtonKind.KEY}>Button</SpsButton>
28700
+ {showSearchBar && (
28701
+ <SpsSearchResultsBarV2
28702
+ results={results}
28703
+ selections={selections}
28704
+ onClear={() => setShowSearchBar(false)}
28705
+ />
28706
+ )}
28707
+ </SpsListToolbar>
28708
+ <SpsAdvancedSearch {...advSearch}
28709
+ formMeta={formMeta}
28710
+ onSubmit={handleAdvancedSearchSubmit}
28711
+ onClear={handleAdvancedSearchClear}
28712
+ >
28713
+ <div className="sfg-row">
28714
+ <div className="sfg-col-4">
28715
+ <SpsLabel for={formMeta.fields.sender}>Sender</SpsLabel>
28716
+ <SpsMultiSelect
28717
+ formMeta={formMeta.fields.sender}
28718
+ value={formValue.sender}
28719
+ options={senderOptions}
28720
+ />
28721
+ </div>
28722
+ <div className="sfg-col-4">
28723
+ <SpsLabel for={formMeta.fields.receiver}>Receiver</SpsLabel>
28724
+ <SpsMultiSelect
28725
+ formMeta={formMeta.fields.receiver}
28726
+ value={formValue.receiver}
28727
+ options={receiverOptions}
28728
+ />
28729
+ </div>
28730
+ <div className="sfg-col-4">
28731
+ <SpsLabel for={formMeta.fields.doctype}>Document Type</SpsLabel>
28732
+ <SpsMultiSelect
28733
+ formMeta={formMeta.fields.doctype}
28734
+ value={formValue.doctype}
28735
+ options={doctypeOptions}
28736
+ />
28737
+ </div>
28738
+ <div className="sfg-col-4">
28739
+ <SpsLabel for={formMeta.fields.status}>Status</SpsLabel>
28740
+ <SpsMultiSelect
28741
+ formMeta={formMeta.fields.status}
28742
+ value={formValue.status}
28743
+ options={statusOptions}
28744
+ />
28745
+ </div>
28746
+ </div>
28747
+ </SpsAdvancedSearch>
28748
+ </>
28749
+ )
28750
+ }
28751
+ `
28752
+ },
28753
+ pinnedResultsBar: {
28754
+ description: () => /* @__PURE__ */ React.createElement("p", null, "You can pin the Results Bar by passing pinResultsBar prop to SpsListToolbar."),
28755
+ react: code`
28756
+ function Component() {
28757
+ const [advSearch, setAdvSearch] = React.useState({
28758
+ isOpen: false
28759
+ });
28760
+
28761
+ const [showSearchBar, setShowSearchBar] = React.useState(true);
28762
+
28763
+ const [results, setResults] = React.useState(0);
28764
+
28765
+ const initValue = {
28766
+ searchText: "",
28767
+ };
28768
+
28769
+ const { formValue, formMeta, updateForm } = useSpsForm(initValue);
28770
+
28771
+ function handleToggleAdvancedSearch(isOpen) {
28772
+ setAdvSearch({ isOpen });
28773
+ }
28774
+
28775
+ function handleAdvancedSearchSubmit() {
28776
+ setShowSearchBar(true);
28777
+ setResults(Math.floor(Math.random() * 100));
28778
+ }
28779
+
28780
+ function handleAdvancedSearchClear() {
28781
+ updateForm(initValue);
28782
+ }
28783
+
28784
+ return (
28785
+ <>
28786
+ <SpsListToolbar advancedSearch={advSearch}
28787
+ onToggleAdvancedSearch={handleToggleAdvancedSearch}
28788
+ pinResultsBar
28789
+ >
28790
+ <SpsListToolbarSearch>
28791
+ <SpsTextInput
28792
+ value={formValue.searchText}
28793
+ formMeta={formMeta.fields.searchText}
28794
+ placeholder="Search fields"
28795
+ />
28796
+ <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} />
28797
+ </SpsListToolbarSearch>
28798
+ <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.DOWNLOAD_CLOUD} />
28799
+ <SpsButton>Button</SpsButton>
28800
+ <SpsButton kind={ButtonKind.KEY}>Button</SpsButton>
28801
+ {showSearchBar && (
28802
+ <SpsSearchResultsBarV2
28803
+ results={results}
28804
+ onClear={() => setShowSearchBar(false)}
28805
+ />
28806
+ )}
28807
+ </SpsListToolbar>
28808
+ <SpsAdvancedSearch {...advSearch}
28809
+ onSubmit={handleAdvancedSearchSubmit}
28810
+ >
28811
+ <i>insert form here</i>
28812
+ </SpsAdvancedSearch>
28813
+ </>
28814
+ )
28815
+ }
28816
+ `
28316
28817
  }
28317
28818
  }
28318
28819
  },
@@ -28476,13 +28977,13 @@ const SpsListToolbarExamples = {
28476
28977
  }
28477
28978
  }
28478
28979
  };
28479
- const propsDoc$S = {
28980
+ const propsDoc$R = {
28480
28981
  kind: "FeedbackBlockKind",
28481
28982
  message: { type: "string", required: true }
28482
28983
  };
28483
- const propTypes$U = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
28984
+ const propTypes$T = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
28484
28985
  kind: enumValue(FeedbackBlockKind),
28485
- message: propTypes$1M.exports.node.isRequired
28986
+ message: propTypes$1N.exports.node.isRequired
28486
28987
  });
28487
28988
  function SpsMicroBlock(props2) {
28488
28989
  const _a = props2, {
@@ -28509,8 +29010,8 @@ function SpsMicroBlock(props2) {
28509
29010
  }), /* @__PURE__ */ React.createElement("span", null, message));
28510
29011
  }
28511
29012
  Object.assign(SpsMicroBlock, {
28512
- props: propsDoc$S,
28513
- propTypes: propTypes$U,
29013
+ props: propsDoc$R,
29014
+ propTypes: propTypes$T,
28514
29015
  displayName: "SpsMicroBlock"
28515
29016
  });
28516
29017
  const SpsMicroBlockExamples = {
@@ -28565,17 +29066,17 @@ const SpsMicroBlockExamples = {
28565
29066
  }
28566
29067
  }
28567
29068
  };
28568
- const propsDoc$R = {
29069
+ const propsDoc$Q = {
28569
29070
  kind: "ModalKind",
28570
29071
  size: "ModalSize",
28571
29072
  title: "string",
28572
29073
  onClose: "() => void",
28573
29074
  focusElementOnOpen: "React.MutableRefObject<HTMLElement>"
28574
29075
  };
28575
- const propTypes$T = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
29076
+ const propTypes$S = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
28576
29077
  kind: enumValue(ModalKind),
28577
29078
  size: enumValue(ModalSize),
28578
- title: propTypes$1M.exports.string,
29079
+ title: propTypes$1N.exports.string,
28579
29080
  onClose: fun(),
28580
29081
  focusElementOnOpen: ref()
28581
29082
  });
@@ -28701,8 +29202,8 @@ function SpsModalV2(_u) {
28701
29202
  }, t2("design-system:modal.defaultButtonLabel"))))) : /* @__PURE__ */ React.createElement(React.Fragment, null);
28702
29203
  }
28703
29204
  Object.assign(SpsModalV2, {
28704
- props: propsDoc$R,
28705
- propTypes: propTypes$T,
29205
+ props: propsDoc$Q,
29206
+ propTypes: propTypes$S,
28706
29207
  displayName: "SpsModalV2"
28707
29208
  });
28708
29209
  const SpsModalExamples = {
@@ -29149,7 +29650,7 @@ const SpsModalExamples = {
29149
29650
  }
29150
29651
  }
29151
29652
  };
29152
- const propsDoc$Q = {
29653
+ const propsDoc$P = {
29153
29654
  captionKey: "string",
29154
29655
  debounce: "number",
29155
29656
  disabled: "boolean",
@@ -29165,31 +29666,33 @@ const propsDoc$Q = {
29165
29666
  textKey: "string",
29166
29667
  value: "any",
29167
29668
  zeroState: "string",
29168
- loading: "boolean"
29669
+ loading: "boolean",
29670
+ maxHeightOptionList: "number"
29169
29671
  };
29170
- const propTypes$S = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
29672
+ const propTypes$R = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
29171
29673
  action: fun(),
29172
- captionKey: propTypes$1M.exports.string,
29173
- debounce: propTypes$1M.exports.number,
29174
- disabled: propTypes$1M.exports.bool,
29175
- disableSelected: propTypes$1M.exports.bool,
29176
- comparisonKey: propTypes$1M.exports.string,
29674
+ captionKey: propTypes$1N.exports.string,
29675
+ debounce: propTypes$1N.exports.number,
29676
+ disabled: propTypes$1N.exports.bool,
29677
+ disableSelected: propTypes$1N.exports.bool,
29678
+ comparisonKey: propTypes$1N.exports.string,
29177
29679
  formControl: impl(),
29178
29680
  formMeta: impl(),
29179
- hideSelected: propTypes$1M.exports.bool,
29681
+ hideSelected: propTypes$1N.exports.bool,
29180
29682
  icon: enumValue(SpsIcon),
29181
29683
  onChange: fun(),
29182
- options: propTypes$1M.exports.oneOfType([
29183
- propTypes$1M.exports.array,
29184
- propTypes$1M.exports.instanceOf(Promise),
29684
+ options: propTypes$1N.exports.oneOfType([
29685
+ propTypes$1N.exports.array,
29686
+ propTypes$1N.exports.instanceOf(Promise),
29185
29687
  fun()
29186
29688
  ]).isRequired,
29187
- placeholder: propTypes$1M.exports.string,
29188
- tallOptionList: propTypes$1M.exports.bool,
29189
- textKey: propTypes$1M.exports.string,
29190
- value: propTypes$1M.exports.any,
29191
- zeroState: propTypes$1M.exports.string,
29192
- loading: propTypes$1M.exports.bool
29689
+ placeholder: propTypes$1N.exports.string,
29690
+ tallOptionList: propTypes$1N.exports.bool,
29691
+ textKey: propTypes$1N.exports.string,
29692
+ value: propTypes$1N.exports.any,
29693
+ zeroState: propTypes$1N.exports.string,
29694
+ loading: propTypes$1N.exports.bool,
29695
+ maxHeightOptionList: propTypes$1N.exports.number
29193
29696
  });
29194
29697
  function SpsMultiSelect(_w) {
29195
29698
  var _x = _w, {
@@ -29214,6 +29717,7 @@ function SpsMultiSelect(_w) {
29214
29717
  zeroState = "There are no matching options.",
29215
29718
  loading,
29216
29719
  icon,
29720
+ maxHeightOptionList,
29217
29721
  "data-testid": testId
29218
29722
  } = _x, rest = __objRest(_x, [
29219
29723
  "action",
@@ -29237,6 +29741,7 @@ function SpsMultiSelect(_w) {
29237
29741
  "zeroState",
29238
29742
  "loading",
29239
29743
  "icon",
29744
+ "maxHeightOptionList",
29240
29745
  "data-testid"
29241
29746
  ]);
29242
29747
  const meta = formMeta || formControl2;
@@ -29435,12 +29940,13 @@ function SpsMultiSelect(_w) {
29435
29940
  tall: tallOptionList,
29436
29941
  textKey,
29437
29942
  zeroState,
29438
- loading
29943
+ loading,
29944
+ maxHeight: maxHeightOptionList
29439
29945
  }));
29440
29946
  }
29441
29947
  Object.assign(SpsMultiSelect, {
29442
- props: propsDoc$Q,
29443
- propTypes: propTypes$S,
29948
+ props: propsDoc$P,
29949
+ propTypes: propTypes$R,
29444
29950
  displayName: "SpsMultiSelect"
29445
29951
  });
29446
29952
  const SpsMultiSelectExamples = {
@@ -29604,8 +30110,8 @@ const SpsMultiSelectExamples = {
29604
30110
  }
29605
30111
  }
29606
30112
  };
29607
- const propsDoc$P = {};
29608
- const propTypes$R = __spreadValues({}, spsGlobalPropTypes);
30113
+ const propsDoc$O = {};
30114
+ const propTypes$Q = __spreadValues({}, spsGlobalPropTypes);
29609
30115
  function SpsPageTitle(props2) {
29610
30116
  const _a = props2, {
29611
30117
  children,
@@ -29637,12 +30143,12 @@ function SpsPageTitle(props2) {
29637
30143
  }, otherChildren));
29638
30144
  }
29639
30145
  Object.assign(SpsPageTitle, {
29640
- props: propsDoc$P,
29641
- propTypes: propTypes$R,
30146
+ props: propsDoc$O,
30147
+ propTypes: propTypes$Q,
29642
30148
  displayName: "SpsPageTitle"
29643
30149
  });
29644
- const propsDoc$O = {};
29645
- const propTypes$Q = __spreadValues({}, spsGlobalPropTypes);
30150
+ const propsDoc$N = {};
30151
+ const propTypes$P = __spreadValues({}, spsGlobalPropTypes);
29646
30152
  function SpsPageSubtitle(props2) {
29647
30153
  const _a = props2, {
29648
30154
  children,
@@ -29662,8 +30168,8 @@ function SpsPageSubtitle(props2) {
29662
30168
  }, rest), children);
29663
30169
  }
29664
30170
  Object.assign(SpsPageSubtitle, {
29665
- props: propsDoc$O,
29666
- propTypes: propTypes$Q,
30171
+ props: propsDoc$N,
30172
+ propTypes: propTypes$P,
29667
30173
  displayName: "SpsPageSubtitle"
29668
30174
  });
29669
30175
  const SpsPageTitleExamples = {
@@ -29726,7 +30232,7 @@ const SpsPageTitleExamples = {
29726
30232
  }
29727
30233
  }
29728
30234
  };
29729
- const propsDoc$N = {
30235
+ const propsDoc$M = {
29730
30236
  action: "SpsActionMethod",
29731
30237
  captionKey: "string",
29732
30238
  comparisonKey: "string",
@@ -29745,33 +30251,35 @@ const propsDoc$N = {
29745
30251
  zeroState: "string",
29746
30252
  autoFixWidth: "boolean",
29747
30253
  loading: "boolean",
29748
- filterByTextAndCaptionKey: "boolean"
30254
+ filterByTextAndCaptionKey: "boolean",
30255
+ maxHeightOptionList: "number"
29749
30256
  };
29750
- const propTypes$P = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
30257
+ const propTypes$O = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
29751
30258
  action: fun(),
29752
- captionKey: propTypes$1M.exports.string,
29753
- comparisonKey: propTypes$1M.exports.string,
29754
- disabled: propTypes$1M.exports.bool,
30259
+ captionKey: propTypes$1N.exports.string,
30260
+ comparisonKey: propTypes$1N.exports.string,
30261
+ disabled: propTypes$1N.exports.bool,
29755
30262
  formControl: impl(),
29756
30263
  formMeta: impl(),
29757
- notClearable: propTypes$1M.exports.bool,
29758
- options: propTypes$1M.exports.oneOfType([
29759
- propTypes$1M.exports.array,
29760
- propTypes$1M.exports.instanceOf(Promise),
30264
+ notClearable: propTypes$1N.exports.bool,
30265
+ options: propTypes$1N.exports.oneOfType([
30266
+ propTypes$1N.exports.array,
30267
+ propTypes$1N.exports.instanceOf(Promise),
29761
30268
  fun()
29762
30269
  ]).isRequired,
29763
30270
  onChange: fun(),
29764
- placeholder: propTypes$1M.exports.string,
29765
- searchDebounce: propTypes$1M.exports.number,
29766
- searchPlaceholder: propTypes$1M.exports.string,
29767
- tallOptionList: propTypes$1M.exports.bool,
29768
- textKey: propTypes$1M.exports.string,
29769
- valueKey: propTypes$1M.exports.string,
29770
- value: propTypes$1M.exports.any,
29771
- zeroState: propTypes$1M.exports.string,
29772
- autoFixWidth: propTypes$1M.exports.bool,
29773
- loading: propTypes$1M.exports.bool,
29774
- filterByTextAndCaptionKey: propTypes$1M.exports.bool
30271
+ placeholder: propTypes$1N.exports.string,
30272
+ searchDebounce: propTypes$1N.exports.number,
30273
+ searchPlaceholder: propTypes$1N.exports.string,
30274
+ tallOptionList: propTypes$1N.exports.bool,
30275
+ textKey: propTypes$1N.exports.string,
30276
+ valueKey: propTypes$1N.exports.string,
30277
+ value: propTypes$1N.exports.any,
30278
+ zeroState: propTypes$1N.exports.string,
30279
+ autoFixWidth: propTypes$1N.exports.bool,
30280
+ loading: propTypes$1N.exports.bool,
30281
+ filterByTextAndCaptionKey: propTypes$1N.exports.bool,
30282
+ maxHeightOptionList: propTypes$1N.exports.number
29775
30283
  });
29776
30284
  const SpsSelect = React.forwardRef((props2, ref2) => {
29777
30285
  const _a = props2, {
@@ -29799,6 +30307,7 @@ const SpsSelect = React.forwardRef((props2, ref2) => {
29799
30307
  zeroState,
29800
30308
  loading,
29801
30309
  filterByTextAndCaptionKey,
30310
+ maxHeightOptionList,
29802
30311
  "data-testid": testId
29803
30312
  } = _a, rest = __objRest(_a, [
29804
30313
  "action",
@@ -29825,6 +30334,7 @@ const SpsSelect = React.forwardRef((props2, ref2) => {
29825
30334
  "zeroState",
29826
30335
  "loading",
29827
30336
  "filterByTextAndCaptionKey",
30337
+ "maxHeightOptionList",
29828
30338
  "data-testid"
29829
30339
  ]);
29830
30340
  const meta = formMeta || formControl2;
@@ -29995,25 +30505,26 @@ const SpsSelect = React.forwardRef((props2, ref2) => {
29995
30505
  zeroState,
29996
30506
  ignoreWidthStyles: autoFixWidth,
29997
30507
  loading,
30508
+ maxHeight: maxHeightOptionList,
29998
30509
  "data-testid": `${testId}-option-list`
29999
30510
  }));
30000
30511
  });
30001
30512
  Object.assign(SpsSelect, {
30002
- props: propsDoc$N,
30003
- propTypes: propTypes$P,
30513
+ props: propsDoc$M,
30514
+ propTypes: propTypes$O,
30004
30515
  displayName: "SpsSelect"
30005
30516
  });
30006
- const propsDoc$M = {
30517
+ const propsDoc$L = {
30007
30518
  page: "number",
30008
30519
  numPages: "number",
30009
30520
  onPageChange: "(number) => void",
30010
30521
  disabled: "boolean"
30011
30522
  };
30012
- const propTypes$O = __spreadValues({
30013
- numPages: propTypes$1M.exports.number,
30523
+ const propTypes$N = __spreadValues({
30524
+ numPages: propTypes$1N.exports.number,
30014
30525
  onPageChange: fun(),
30015
- page: propTypes$1M.exports.number,
30016
- disabled: propTypes$1M.exports.bool
30526
+ page: propTypes$1N.exports.number,
30527
+ disabled: propTypes$1N.exports.bool
30017
30528
  }, spsGlobalPropTypes);
30018
30529
  function SpsPageSelector(props2) {
30019
30530
  const _a = props2, {
@@ -30106,11 +30617,11 @@ function SpsPageSelector(props2) {
30106
30617
  })))));
30107
30618
  }
30108
30619
  Object.assign(SpsPageSelector, {
30109
- props: propsDoc$M,
30110
- propTypes: propTypes$O,
30620
+ props: propsDoc$L,
30621
+ propTypes: propTypes$N,
30111
30622
  displayName: "SpsPageSelector"
30112
30623
  });
30113
- const propsDoc$L = {
30624
+ const propsDoc$K = {
30114
30625
  page: "number",
30115
30626
  pageSize: "number",
30116
30627
  pageSizeOptions: "Array<number>",
@@ -30118,13 +30629,13 @@ const propsDoc$L = {
30118
30629
  onPageChange: "(page: number, pageSize: number, indices: [number, number]) => void",
30119
30630
  disabled: "boolean"
30120
30631
  };
30121
- const propTypes$N = __spreadValues({
30632
+ const propTypes$M = __spreadValues({
30122
30633
  onPageChange: fun().isRequired,
30123
- page: propTypes$1M.exports.number,
30124
- pageSize: propTypes$1M.exports.number,
30125
- pageSizeOptions: propTypes$1M.exports.arrayOf(propTypes$1M.exports.number),
30126
- totalResults: propTypes$1M.exports.number,
30127
- disabled: propTypes$1M.exports.bool
30634
+ page: propTypes$1N.exports.number,
30635
+ pageSize: propTypes$1N.exports.number,
30636
+ pageSizeOptions: propTypes$1N.exports.arrayOf(propTypes$1N.exports.number),
30637
+ totalResults: propTypes$1N.exports.number,
30638
+ disabled: propTypes$1N.exports.bool
30128
30639
  }, spsGlobalPropTypes);
30129
30640
  function SpsPagination(props2) {
30130
30641
  const _a = props2, {
@@ -30234,8 +30745,8 @@ function SpsPagination(props2) {
30234
30745
  }));
30235
30746
  }
30236
30747
  Object.assign(SpsPagination, {
30237
- props: propsDoc$L,
30238
- propTypes: propTypes$N,
30748
+ props: propsDoc$K,
30749
+ propTypes: propTypes$M,
30239
30750
  displayName: "SpsPagination"
30240
30751
  });
30241
30752
  const SpsPaginationExamples = {
@@ -30331,7 +30842,7 @@ const SpsPaginationExamples = {
30331
30842
  }
30332
30843
  }
30333
30844
  };
30334
- const propsDoc$K = {
30845
+ const propsDoc$J = {
30335
30846
  active: "boolean",
30336
30847
  as: "React.ElementType"
30337
30848
  };
@@ -30355,10 +30866,10 @@ function SpsProductBarTab(props2) {
30355
30866
  }, rest), children);
30356
30867
  }
30357
30868
  Object.assign(SpsProductBarTab, {
30358
- props: propsDoc$K,
30869
+ props: propsDoc$J,
30359
30870
  displayName: "SpsProductBarTab"
30360
30871
  });
30361
- const propsDoc$J = {
30872
+ const propsDoc$I = {
30362
30873
  activeTab: "string",
30363
30874
  fullWidth: "boolean",
30364
30875
  onTabChange: "(newTab: string) => void",
@@ -30368,15 +30879,15 @@ const propsDoc$J = {
30368
30879
  productNameHref: "string",
30369
30880
  tabs: "Array<string>"
30370
30881
  };
30371
- const propTypes$M = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
30372
- activeTab: propTypes$1M.exports.string,
30373
- fullWidth: propTypes$1M.exports.bool,
30882
+ const propTypes$L = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
30883
+ activeTab: propTypes$1N.exports.string,
30884
+ fullWidth: propTypes$1N.exports.bool,
30374
30885
  onTabChange: fun(),
30375
30886
  onProductNameClick: fun(),
30376
- productLogoSrc: propTypes$1M.exports.string,
30377
- productName: propTypes$1M.exports.string.isRequired,
30378
- productNameHref: propTypes$1M.exports.string,
30379
- tabs: propTypes$1M.exports.arrayOf(propTypes$1M.exports.string)
30887
+ productLogoSrc: propTypes$1N.exports.string,
30888
+ productName: propTypes$1N.exports.string.isRequired,
30889
+ productNameHref: propTypes$1N.exports.string,
30890
+ tabs: propTypes$1N.exports.arrayOf(propTypes$1N.exports.string)
30380
30891
  });
30381
30892
  function SpsProductBar(props2) {
30382
30893
  const _a = props2, {
@@ -30451,8 +30962,8 @@ function SpsProductBar(props2) {
30451
30962
  }, otherChildren))));
30452
30963
  }
30453
30964
  Object.assign(SpsProductBar, {
30454
- props: propsDoc$J,
30455
- propTypes: propTypes$M,
30965
+ props: propsDoc$I,
30966
+ propTypes: propTypes$L,
30456
30967
  displayName: "SpsProductBar"
30457
30968
  });
30458
30969
  const SpsProductBarExamples = {
@@ -30591,18 +31102,18 @@ const SpsProductBarExamples = {
30591
31102
  }
30592
31103
  }
30593
31104
  };
30594
- const propsDoc$I = {
31105
+ const propsDoc$H = {
30595
31106
  percentComplete: "number",
30596
31107
  title: "string",
30597
31108
  detail: "string",
30598
31109
  disabled: "boolean",
30599
31110
  onClose: "() => void"
30600
31111
  };
30601
- const propTypes$L = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
30602
- percentComplete: propTypes$1M.exports.number,
30603
- title: propTypes$1M.exports.string,
30604
- detail: propTypes$1M.exports.string,
30605
- disabled: propTypes$1M.exports.bool,
31112
+ const propTypes$K = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
31113
+ percentComplete: propTypes$1N.exports.number,
31114
+ title: propTypes$1N.exports.string,
31115
+ detail: propTypes$1N.exports.string,
31116
+ disabled: propTypes$1N.exports.bool,
30606
31117
  onClose: fun()
30607
31118
  });
30608
31119
  function SpsProgressBar(props2) {
@@ -30658,8 +31169,8 @@ function SpsProgressBar(props2) {
30658
31169
  })));
30659
31170
  }
30660
31171
  Object.assign(SpsProgressBar, {
30661
- props: propsDoc$I,
30662
- propTypes: propTypes$L,
31172
+ props: propsDoc$H,
31173
+ propTypes: propTypes$K,
30663
31174
  displayName: "SpsProgressBar"
30664
31175
  });
30665
31176
  const SpsSteppedProgressBarExamples = {
@@ -30799,11 +31310,11 @@ const SpsSteppedProgressBarExamples = {
30799
31310
  }
30800
31311
  }
30801
31312
  };
30802
- const propsDoc$H = {
31313
+ const propsDoc$G = {
30803
31314
  icon: "SpsIcon",
30804
31315
  iconSize: "SpsIconSize"
30805
31316
  };
30806
- const propTypes$K = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
31317
+ const propTypes$J = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
30807
31318
  icon: enumValue(SpsIcon),
30808
31319
  iconSize: enumValue(SpsIconSize)
30809
31320
  });
@@ -30822,8 +31333,8 @@ function SpsTooltipTitle({
30822
31333
  }, children));
30823
31334
  }
30824
31335
  Object.assign(SpsTooltipTitle, {
30825
- props: propsDoc$H,
30826
- propTypes: propTypes$K,
31336
+ props: propsDoc$G,
31337
+ propTypes: propTypes$J,
30827
31338
  displayName: "SpsTooltipTitle"
30828
31339
  });
30829
31340
  const SpsTooltipExamples = {
@@ -31332,7 +31843,7 @@ const SpsTooltipExamples = {
31332
31843
  }
31333
31844
  }
31334
31845
  };
31335
- const propsDoc$G = {
31846
+ const propsDoc$F = {
31336
31847
  title: "string",
31337
31848
  stepsCount: "number",
31338
31849
  completedStepsCount: "number",
@@ -31342,14 +31853,14 @@ const propsDoc$G = {
31342
31853
  tooltipsData: "TooltipsProps[]",
31343
31854
  color: "SteppedProgressBarColor"
31344
31855
  };
31345
- const propTypes$J = {
31346
- title: propTypes$1M.exports.string,
31347
- stepsCount: propTypes$1M.exports.number,
31348
- completedStepsCount: propTypes$1M.exports.number,
31349
- disabled: propTypes$1M.exports.bool,
31350
- showStepsCounter: propTypes$1M.exports.bool,
31351
- icons: propTypes$1M.exports.arrayOf(impl()),
31352
- tooltipsData: propTypes$1M.exports.arrayOf(impl()),
31856
+ const propTypes$I = {
31857
+ title: propTypes$1N.exports.string,
31858
+ stepsCount: propTypes$1N.exports.number,
31859
+ completedStepsCount: propTypes$1N.exports.number,
31860
+ disabled: propTypes$1N.exports.bool,
31861
+ showStepsCounter: propTypes$1N.exports.bool,
31862
+ icons: propTypes$1N.exports.arrayOf(impl()),
31863
+ tooltipsData: propTypes$1N.exports.arrayOf(impl()),
31353
31864
  color: enumValue(SteppedProgressBarColor)
31354
31865
  };
31355
31866
  function SpsSteppedProgressBar(props2) {
@@ -31398,8 +31909,8 @@ function SpsSteppedProgressBar(props2) {
31398
31909
  }, findTooltipData(index).description))))));
31399
31910
  }
31400
31911
  Object.assign(SpsSteppedProgressBar, {
31401
- props: propsDoc$G,
31402
- propTypes: propTypes$J,
31912
+ props: propsDoc$F,
31913
+ propTypes: propTypes$I,
31403
31914
  displayName: "SpsSteppedProgressBar"
31404
31915
  });
31405
31916
  const SpsProgressBarExamples = {
@@ -31497,7 +32008,7 @@ const SpsProgressBarExamples = {
31497
32008
  }
31498
32009
  }
31499
32010
  };
31500
- const propsDoc$F = {
32011
+ const propsDoc$E = {
31501
32012
  checked: "boolean",
31502
32013
  disabled: "boolean",
31503
32014
  formMeta: "SpsFormFieldMeta<any>",
@@ -31507,17 +32018,17 @@ const propsDoc$F = {
31507
32018
  onChange: "ChangeEventHandler",
31508
32019
  value: "any"
31509
32020
  };
31510
- const propTypes$I = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
31511
- checked: propTypes$1M.exports.bool,
31512
- disabled: propTypes$1M.exports.bool,
32021
+ const propTypes$H = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
32022
+ checked: propTypes$1N.exports.bool,
32023
+ disabled: propTypes$1N.exports.bool,
31513
32024
  formControl: impl(),
31514
32025
  formMeta: impl(),
31515
- inline: propTypes$1M.exports.bool,
31516
- label: propTypes$1M.exports.string,
31517
- name: propTypes$1M.exports.string.isRequired,
32026
+ inline: propTypes$1N.exports.bool,
32027
+ label: propTypes$1N.exports.string,
32028
+ name: propTypes$1N.exports.string.isRequired,
31518
32029
  onChange: fun(),
31519
32030
  ref: ref(),
31520
- value: propTypes$1M.exports.any
32031
+ value: propTypes$1N.exports.any
31521
32032
  });
31522
32033
  function SpsRadioButton(_y) {
31523
32034
  var _z = _y, {
@@ -31590,8 +32101,8 @@ function SpsRadioButton(_y) {
31590
32101
  }, label || ""));
31591
32102
  }
31592
32103
  Object.assign(SpsRadioButton, {
31593
- props: propsDoc$F,
31594
- propTypes: propTypes$I,
32104
+ props: propsDoc$E,
32105
+ propTypes: propTypes$H,
31595
32106
  displayName: "SpsRadioButton"
31596
32107
  });
31597
32108
  const SpsRadioButtonExamples = {
@@ -31679,11 +32190,11 @@ const SpsRadioButtonExamples = {
31679
32190
  }
31680
32191
  }
31681
32192
  };
31682
- const propsDoc$E = {
32193
+ const propsDoc$D = {
31683
32194
  maxHeight: "string"
31684
32195
  };
31685
- const propTypes$H = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
31686
- maxHeight: propTypes$1M.exports.string
32196
+ const propTypes$G = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
32197
+ maxHeight: propTypes$1N.exports.string
31687
32198
  });
31688
32199
  function SpsScrollableContainer(props2) {
31689
32200
  const {
@@ -31696,8 +32207,8 @@ function SpsScrollableContainer(props2) {
31696
32207
  }, children);
31697
32208
  }
31698
32209
  Object.assign(SpsScrollableContainer, {
31699
- props: propsDoc$E,
31700
- propTypes: propTypes$H,
32210
+ props: propsDoc$D,
32211
+ propTypes: propTypes$G,
31701
32212
  displayName: "SpsScrollableContainer"
31702
32213
  });
31703
32214
  const SpsScrollableContainerExamples = {
@@ -31777,125 +32288,6 @@ const SpsScrollableContainerExamples = {
31777
32288
  }
31778
32289
  }
31779
32290
  };
31780
- const propsDoc$D = {
31781
- resultsCount: "number",
31782
- totalResults: "number",
31783
- onClear: "() => void"
31784
- };
31785
- const propTypes$G = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
31786
- resultsCount: propTypes$1M.exports.number,
31787
- totalResults: propTypes$1M.exports.number,
31788
- onClear: fun()
31789
- });
31790
- function SpsSearchResultsBar(props2) {
31791
- const _a = props2, {
31792
- children,
31793
- className,
31794
- resultsCount,
31795
- totalResults,
31796
- onClear,
31797
- "data-testid": testId,
31798
- unsafelyReplaceClassName
31799
- } = _a, rest = __objRest(_a, [
31800
- "children",
31801
- "className",
31802
- "resultsCount",
31803
- "totalResults",
31804
- "onClear",
31805
- "data-testid",
31806
- "unsafelyReplaceClassName"
31807
- ]);
31808
- const { t: t2 } = React.useContext(I18nContext);
31809
- const classes = clsx(unsafelyReplaceClassName || "sps-search-results-bar", className);
31810
- const [
31811
- count,
31812
- ofText,
31813
- total
31814
- ] = t2("design-system:searchResultsBar.count", { count: resultsCount, total: totalResults }).split(" ");
31815
- return /* @__PURE__ */ React.createElement("div", __spreadValues({
31816
- className: classes,
31817
- "data-testid": `${testId}`
31818
- }, rest), /* @__PURE__ */ React.createElement("span", {
31819
- className: "sps-search-results-bar__label",
31820
- "data-testid": `${testId}__label`
31821
- }, t2("design-system:searchResultsBar.matchingResults")), count && !Number.isNaN(Number(count)) && /* @__PURE__ */ React.createElement("span", {
31822
- className: "sps-search-results-bar__count",
31823
- "data-testid": `${testId}__count`
31824
- }, /* @__PURE__ */ React.createElement("i", {
31825
- className: "sps-icon sps-icon-double-angle-right"
31826
- }), /* @__PURE__ */ React.createElement("span", null, count)), total && !Number.isNaN(Number(total)) && /* @__PURE__ */ React.createElement("span", {
31827
- className: "sps-search-results-bar__total",
31828
- "data-testid": `${testId}__total`
31829
- }, ofText, " ", total), /* @__PURE__ */ React.createElement("div", {
31830
- className: "sps-search-results-bar__buttons",
31831
- "data-testid": `${testId}__button`
31832
- }, /* @__PURE__ */ React.createElement("button", {
31833
- type: "button",
31834
- onClick: onClear
31835
- }, t2("design-system:searchResultsBar.clear"))));
31836
- }
31837
- Object.assign(SpsSearchResultsBar, {
31838
- props: propsDoc$D,
31839
- propTypes: propTypes$G,
31840
- displayName: "SpsSearchResultsBar"
31841
- });
31842
- const SpsSearchResultsBarExamples = {
31843
- noCount: {
31844
- label: "Basic",
31845
- description: "<p>Info about Basic Search Result Bars</p>",
31846
- examples: {
31847
- noCount: {
31848
- react: code`
31849
- function SpsSearchResultsBarBasic() {
31850
- function clearHandler() {
31851
- console.log("change handler called");
31852
- }
31853
- return (
31854
- <SpsSearchResultsBar onClear={clearHandler}/>
31855
- );
31856
- }
31857
- `
31858
- }
31859
- }
31860
- },
31861
- withCount: {
31862
- label: "With Count",
31863
- description: "<p>Info about Search Result Bars with count bars</p>",
31864
- examples: {
31865
- withCount: {
31866
- react: code`
31867
- function SpsSearchResultsBarCount() {
31868
- function clearHandler() {
31869
- console.log("change handler called");
31870
- }
31871
-
31872
- return (
31873
- <SpsSearchResultsBar resultsCount={125} onClear={clearHandler}/>
31874
- );
31875
- }
31876
- `
31877
- }
31878
- }
31879
- },
31880
- withCountAndTotal: {
31881
- label: "With Count and total",
31882
- description: "<p> Info about Search Result Bars with count & total</p>",
31883
- examples: {
31884
- withCountAndTotal: {
31885
- react: code`
31886
- function SpsSearchResultsBarCountTotal() {
31887
- function clearHandler() {
31888
- console.log("change handler called");
31889
- }
31890
- return (
31891
- <SpsSearchResultsBar resultsCount={125} totalResults={250} onClear={clearHandler} />
31892
- );
31893
- }
31894
- `
31895
- }
31896
- }
31897
- }
31898
- };
31899
32291
  const SpsSelectExamples = {
31900
32292
  basic: {
31901
32293
  label: "Basic",
@@ -32653,12 +33045,12 @@ const propsDoc$C = {
32653
33045
  widthRem: "number"
32654
33046
  };
32655
33047
  const propTypes$F = __spreadValues({
32656
- sortKey: propTypes$1M.exports.string,
32657
- sortDisabled: propTypes$1M.exports.bool,
32658
- sort: propTypes$1M.exports.arrayOf(impl()),
33048
+ sortKey: propTypes$1N.exports.string,
33049
+ sortDisabled: propTypes$1N.exports.bool,
33050
+ sort: propTypes$1N.exports.arrayOf(impl()),
32659
33051
  onSortChange: fun(),
32660
- widthPx: propTypes$1M.exports.number,
32661
- widthRem: propTypes$1M.exports.number
33052
+ widthPx: propTypes$1N.exports.number,
33053
+ widthRem: propTypes$1N.exports.number
32662
33054
  }, spsGlobalPropTypes);
32663
33055
  function SpsSortingHeaderCell(_A) {
32664
33056
  var _B = _A, {
@@ -32728,7 +33120,7 @@ const propsDoc$B = {
32728
33120
  onSortChange: "SortChangeHandler"
32729
33121
  };
32730
33122
  const propTypes$E = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
32731
- sort: propTypes$1M.exports.arrayOf(impl()),
33123
+ sort: propTypes$1N.exports.arrayOf(impl()),
32732
33124
  onSortChange: fun()
32733
33125
  });
32734
33126
  function SpsSortingHeader(_C) {
@@ -32806,12 +33198,12 @@ const propsDoc$A = {
32806
33198
  options: "Array<SpsActionMethod | [SpsActionDescriptor, () => void]>"
32807
33199
  };
32808
33200
  const propTypes$D = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
32809
- disabled: propTypes$1M.exports.bool,
32810
- href: propTypes$1M.exports.string,
32811
- label: propTypes$1M.exports.string,
33201
+ disabled: propTypes$1N.exports.bool,
33202
+ href: propTypes$1N.exports.string,
33203
+ label: propTypes$1N.exports.string,
32812
33204
  icon: enumValue(SpsIcon),
32813
33205
  kind: enumValue(StdButtonKind),
32814
- options: propTypes$1M.exports.arrayOf(propTypes$1M.exports.oneOfType([propTypes$1M.exports.func, propTypes$1M.exports.any]))
33206
+ options: propTypes$1N.exports.arrayOf(propTypes$1N.exports.oneOfType([propTypes$1N.exports.func, propTypes$1N.exports.any]))
32815
33207
  });
32816
33208
  function SpsSplitButton(props2) {
32817
33209
  const _a = props2, {
@@ -32968,7 +33360,7 @@ const propsDoc$z = {
32968
33360
  channelId: { type: "string", required: true }
32969
33361
  };
32970
33362
  const propTypes$C = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
32971
- channelId: propTypes$1M.exports.string.isRequired
33363
+ channelId: propTypes$1N.exports.string.isRequired
32972
33364
  });
32973
33365
  function SpsSlackLink(props2) {
32974
33366
  const _a = props2, {
@@ -33050,8 +33442,8 @@ const propsDoc$x = {
33050
33442
  onToggle: "(isExpanded: boolean) => void"
33051
33443
  };
33052
33444
  const propTypes$A = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
33053
- expanded: propTypes$1M.exports.bool,
33054
- selected: propTypes$1M.exports.bool,
33445
+ expanded: propTypes$1N.exports.bool,
33446
+ selected: propTypes$1N.exports.bool,
33055
33447
  onToggle: fun()
33056
33448
  });
33057
33449
  function SpsSummaryListRow(props2) {
@@ -33133,10 +33525,10 @@ const propsDoc$w = {
33133
33525
  width: "string"
33134
33526
  };
33135
33527
  const propTypes$z = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
33136
- borderless: propTypes$1M.exports.bool,
33137
- lean: propTypes$1M.exports.bool,
33138
- leaner: propTypes$1M.exports.bool,
33139
- width: propTypes$1M.exports.string
33528
+ borderless: propTypes$1N.exports.bool,
33529
+ lean: propTypes$1N.exports.bool,
33530
+ leaner: propTypes$1N.exports.bool,
33531
+ width: propTypes$1N.exports.string
33140
33532
  });
33141
33533
  function SpsSummaryListColumn(props2) {
33142
33534
  const _a = props2, {
@@ -33469,17 +33861,17 @@ const props = {
33469
33861
  suppressTooltips: "boolean"
33470
33862
  };
33471
33863
  const propTypes$y = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
33472
- tasks: propTypes$1M.exports.arrayOf(propTypes$1M.exports.any),
33864
+ tasks: propTypes$1N.exports.arrayOf(propTypes$1N.exports.any),
33473
33865
  taskQueuePosition: enumValue(Position),
33474
- notificationText: propTypes$1M.exports.string,
33475
- tooltipConfig: propTypes$1M.exports.shape({
33866
+ notificationText: propTypes$1N.exports.string,
33867
+ tooltipConfig: propTypes$1N.exports.shape({
33476
33868
  position: enumValue(Position),
33477
33869
  kind: enumValue(TooltipKind)
33478
33870
  }),
33479
33871
  onClose: fun(),
33480
33872
  onOpen: fun(),
33481
33873
  onClearCompleted: fun(),
33482
- suppressTooltips: propTypes$1M.exports.bool
33874
+ suppressTooltips: propTypes$1N.exports.bool
33483
33875
  });
33484
33876
  function SpsTaskQueue(_E) {
33485
33877
  var _F = _E, {
@@ -34015,14 +34407,14 @@ const propsDoc$v = {
34015
34407
  value: "string"
34016
34408
  };
34017
34409
  const propTypes$x = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
34018
- disabled: propTypes$1M.exports.bool,
34410
+ disabled: propTypes$1N.exports.bool,
34019
34411
  formControl: impl(),
34020
34412
  formMeta: impl(),
34021
34413
  icon: enumValue(SpsIcon),
34022
- name: propTypes$1M.exports.string,
34414
+ name: propTypes$1N.exports.string,
34023
34415
  onChange: fun(),
34024
- placeholder: propTypes$1M.exports.string,
34025
- value: propTypes$1M.exports.string
34416
+ placeholder: propTypes$1N.exports.string,
34417
+ value: propTypes$1N.exports.string
34026
34418
  });
34027
34419
  const SpsTextInput = React.forwardRef((_G, ref2) => {
34028
34420
  var _H = _G, {
@@ -34212,15 +34604,15 @@ const propsDoc$u = {
34212
34604
  value: "string"
34213
34605
  };
34214
34606
  const propTypes$w = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
34215
- disabled: propTypes$1M.exports.bool,
34607
+ disabled: propTypes$1N.exports.bool,
34216
34608
  formControl: impl(),
34217
34609
  formMeta: impl(),
34218
- name: propTypes$1M.exports.string,
34610
+ name: propTypes$1N.exports.string,
34219
34611
  onChange: fun(),
34220
- placeholder: propTypes$1M.exports.string,
34612
+ placeholder: propTypes$1N.exports.string,
34221
34613
  ref: ref(),
34222
- rows: propTypes$1M.exports.number,
34223
- value: propTypes$1M.exports.string
34614
+ rows: propTypes$1N.exports.number,
34615
+ value: propTypes$1N.exports.string
34224
34616
  });
34225
34617
  function SpsTextarea(_I) {
34226
34618
  var _J = _I, {
@@ -34415,12 +34807,12 @@ const propsDoc$t = {
34415
34807
  warning: "boolean"
34416
34808
  };
34417
34809
  const propTypes$v = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
34418
- href: propTypes$1M.exports.string,
34419
- target: propTypes$1M.exports.string,
34810
+ href: propTypes$1N.exports.string,
34811
+ target: propTypes$1N.exports.string,
34420
34812
  icon: nodeOrRenderFn.isRequired,
34421
- error: propTypes$1M.exports.bool,
34422
- title: propTypes$1M.exports.string.isRequired,
34423
- warning: propTypes$1M.exports.bool
34813
+ error: propTypes$1N.exports.bool,
34814
+ title: propTypes$1N.exports.string.isRequired,
34815
+ warning: propTypes$1N.exports.bool
34424
34816
  });
34425
34817
  function SpsTile(props2) {
34426
34818
  const _a = props2, {
@@ -34739,10 +35131,10 @@ const propsDoc$r = {
34739
35131
  active: "boolean"
34740
35132
  };
34741
35133
  const propTypes$t = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
34742
- value: propTypes$1M.exports.number.isRequired,
34743
- title: propTypes$1M.exports.string.isRequired,
35134
+ value: propTypes$1N.exports.number.isRequired,
35135
+ title: propTypes$1N.exports.string.isRequired,
34744
35136
  kind: enumValue(SpsFilterTileKind),
34745
- active: propTypes$1M.exports.bool
35137
+ active: propTypes$1N.exports.bool
34746
35138
  });
34747
35139
  function SpsFilterTile(props2) {
34748
35140
  const _a = props2, {
@@ -34880,18 +35272,18 @@ const propsDoc$p = {
34880
35272
  onChange: "(isActive: boolean) => void"
34881
35273
  };
34882
35274
  const propTypes$r = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
34883
- active: propTypes$1M.exports.bool,
34884
- activeDescription: deprecated(propTypes$1M.exports.string),
34885
- activeLabel: deprecated(propTypes$1M.exports.string),
34886
- description: propTypes$1M.exports.string,
34887
- disabled: propTypes$1M.exports.bool,
35275
+ active: propTypes$1N.exports.bool,
35276
+ activeDescription: deprecated(propTypes$1N.exports.string),
35277
+ activeLabel: deprecated(propTypes$1N.exports.string),
35278
+ description: propTypes$1N.exports.string,
35279
+ disabled: propTypes$1N.exports.bool,
34888
35280
  formControl: impl(),
34889
35281
  formMeta: impl(),
34890
- id: propTypes$1M.exports.string,
34891
- inactiveDescription: deprecated(propTypes$1M.exports.string),
34892
- inactiveLabel: deprecated(propTypes$1M.exports.string),
34893
- label: propTypes$1M.exports.string,
34894
- large: propTypes$1M.exports.bool,
35282
+ id: propTypes$1N.exports.string,
35283
+ inactiveDescription: deprecated(propTypes$1N.exports.string),
35284
+ inactiveLabel: deprecated(propTypes$1N.exports.string),
35285
+ label: propTypes$1N.exports.string,
35286
+ large: propTypes$1N.exports.bool,
34895
35287
  onChange: fun(),
34896
35288
  ref: ref()
34897
35289
  });
@@ -35077,7 +35469,7 @@ const propsDoc$o = {
35077
35469
  icon: "SpsIcon"
35078
35470
  };
35079
35471
  const propTypes$q = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
35080
- heading: propTypes$1M.exports.string,
35472
+ heading: propTypes$1N.exports.string,
35081
35473
  icon: enumValue(SpsIcon)
35082
35474
  });
35083
35475
  function SpsWorkflow(props2) {
@@ -35129,7 +35521,7 @@ const propsDoc$n = {
35129
35521
  progress: "number"
35130
35522
  };
35131
35523
  const propTypes$p = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
35132
- progress: propTypes$1M.exports.number,
35524
+ progress: propTypes$1N.exports.number,
35133
35525
  size: enumValue(RingSize)
35134
35526
  });
35135
35527
  function SpsProgressRing({
@@ -35174,7 +35566,7 @@ const propsDoc$m = {
35174
35566
  phases: "WizardPhase[]"
35175
35567
  };
35176
35568
  const propTypes$o = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
35177
- phases: propTypes$1M.exports.arrayOf(impl())
35569
+ phases: propTypes$1N.exports.arrayOf(impl())
35178
35570
  });
35179
35571
  const CSS_BLOCK$2 = "sps-wizard-sidebar";
35180
35572
  function SpsWizardSidebar({
@@ -35225,10 +35617,10 @@ const propsDoc$l = {
35225
35617
  };
35226
35618
  const propTypes$n = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
35227
35619
  condition: enumValue(WizardSubstepConditions).isRequired,
35228
- display: propTypes$1M.exports.string.isRequired,
35229
- orderPosition: propTypes$1M.exports.oneOfType([
35230
- propTypes$1M.exports.string,
35231
- propTypes$1M.exports.number
35620
+ display: propTypes$1N.exports.string.isRequired,
35621
+ orderPosition: propTypes$1N.exports.oneOfType([
35622
+ propTypes$1N.exports.string,
35623
+ propTypes$1N.exports.number
35232
35624
  ]).isRequired
35233
35625
  });
35234
35626
  function SpsWizardSubstep(props2) {
@@ -35429,7 +35821,7 @@ const propsDoc$i = {
35429
35821
  };
35430
35822
  const propTypes$k = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
35431
35823
  icon: enumValue(SpsIcon).isRequired,
35432
- title: propTypes$1M.exports.string.isRequired
35824
+ title: propTypes$1N.exports.string.isRequired
35433
35825
  });
35434
35826
  function SpsWorkflowStep(props2) {
35435
35827
  const _a = props2, {
@@ -35540,9 +35932,9 @@ const propsDoc$h = {
35540
35932
  subHeading: "string"
35541
35933
  };
35542
35934
  const propTypes$j = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
35543
- artwork: propTypes$1M.exports.string.isRequired,
35544
- heading: propTypes$1M.exports.string.isRequired,
35545
- subHeading: propTypes$1M.exports.string
35935
+ artwork: propTypes$1N.exports.string.isRequired,
35936
+ heading: propTypes$1N.exports.string.isRequired,
35937
+ subHeading: propTypes$1N.exports.string
35546
35938
  });
35547
35939
  function SpsZeroState(props2) {
35548
35940
  const _a = props2, {
@@ -35818,10 +36210,10 @@ const propsDoc$e = {
35818
36210
  onCollapse: "() => void"
35819
36211
  };
35820
36212
  const propTypes$g = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
35821
- title: propTypes$1M.exports.string,
35822
- expanded: propTypes$1M.exports.bool,
35823
- heightPx: propTypes$1M.exports.number,
35824
- heightRem: propTypes$1M.exports.number,
36213
+ title: propTypes$1N.exports.string,
36214
+ expanded: propTypes$1N.exports.bool,
36215
+ heightPx: propTypes$1N.exports.number,
36216
+ heightRem: propTypes$1N.exports.number,
35825
36217
  onExpand: fun(),
35826
36218
  onCollapse: fun()
35827
36219
  });
@@ -36247,9 +36639,9 @@ const propsDoc$c = {
36247
36639
  onFilterChange: "ChangeEventHandler<HTMLInputElement>"
36248
36640
  };
36249
36641
  const propTypes$e = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
36250
- value: propTypes$1M.exports.string,
36251
- placeholder: propTypes$1M.exports.string,
36252
- formMeta: propTypes$1M.exports.oneOfType([
36642
+ value: propTypes$1N.exports.string,
36643
+ placeholder: propTypes$1N.exports.string,
36644
+ formMeta: propTypes$1N.exports.oneOfType([
36253
36645
  impl(),
36254
36646
  impl()
36255
36647
  ]),
@@ -36289,7 +36681,7 @@ const propsDoc$b = {
36289
36681
  showCondition: "boolean"
36290
36682
  };
36291
36683
  const propTypes$d = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
36292
- showCondition: propTypes$1M.exports.bool
36684
+ showCondition: propTypes$1N.exports.bool
36293
36685
  });
36294
36686
  function SpsConditionalField(_S) {
36295
36687
  var _T = _S, {
@@ -36483,7 +36875,13 @@ const MANIFEST = {
36483
36875
  },
36484
36876
  Cards: {
36485
36877
  description: () => /* @__PURE__ */ React.createElement("p", null, "Cards are used to group similar or related content together in a single container. They can be combined with additional elements such as Headers, Footers, or Tabs."),
36486
- components: [SpsCardV2, SpsCardV2Footer, SpsCardV2Header, SpsCardV2Title, SpsTabsV2],
36878
+ components: [
36879
+ SpsCardV2,
36880
+ SpsCardV2Footer,
36881
+ SpsCardV2Header,
36882
+ SpsCardV2Title,
36883
+ SpsTabsV2
36884
+ ],
36487
36885
  examples: SpsCardExamples
36488
36886
  },
36489
36887
  Checkbox: {
@@ -36668,7 +37066,7 @@ const MANIFEST = {
36668
37066
  examples: SpsScrollableContainerExamples
36669
37067
  },
36670
37068
  "Search Results Bar": {
36671
- components: [SpsSearchResultsBar],
37069
+ components: [SpsSearchResultsBarV2],
36672
37070
  examples: SpsSearchResultsBarExamples
36673
37071
  },
36674
37072
  Select: {
@@ -36816,7 +37214,7 @@ const propTypes$c = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
36816
37214
  minDate: impl(),
36817
37215
  onNewSelection: fun().isRequired,
36818
37216
  selectedDate: impl(),
36819
- selectedRange: propTypes$1M.exports.arrayOf(impl())
37217
+ selectedRange: propTypes$1N.exports.arrayOf(impl())
36820
37218
  });
36821
37219
  const CSS_ELEMENT$1 = "sps-datepicker__calendar";
36822
37220
  function determineViewMonth({
@@ -36942,7 +37340,7 @@ Object.assign(SpsDatepickerCalendar, {
36942
37340
  const CSS_ELEMENT = "sps-datepicker__popup";
36943
37341
  const propTypes$b = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
36944
37342
  attachTo: ref().isRequired,
36945
- isOpen: propTypes$1M.exports.bool.isRequired
37343
+ isOpen: propTypes$1N.exports.bool.isRequired
36946
37344
  });
36947
37345
  const SpsDatepickerPopup = React.forwardRef((_U, ref2) => {
36948
37346
  var _V = _U, {
@@ -36980,7 +37378,7 @@ const propsDoc$a = {
36980
37378
  value: "SimpleDate"
36981
37379
  };
36982
37380
  const propTypes$a = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
36983
- disabled: propTypes$1M.exports.bool,
37381
+ disabled: propTypes$1N.exports.bool,
36984
37382
  formMeta: impl(),
36985
37383
  maxDate: impl(),
36986
37384
  minDate: impl(),
@@ -36998,7 +37396,8 @@ function SpsDatepickerV2(_W) {
36998
37396
  maxDate,
36999
37397
  minDate,
37000
37398
  onChange,
37001
- value
37399
+ value,
37400
+ "data-testid": testId
37002
37401
  } = _X, rest = __objRest(_X, [
37003
37402
  "children",
37004
37403
  "className",
@@ -37008,7 +37407,8 @@ function SpsDatepickerV2(_W) {
37008
37407
  "maxDate",
37009
37408
  "minDate",
37010
37409
  "onChange",
37011
- "value"
37410
+ "value",
37411
+ "data-testid"
37012
37412
  ]);
37013
37413
  const { wrapperId, controlId } = useFormControlId(id2, formMeta);
37014
37414
  const rootRef = React.useRef(null);
@@ -37071,7 +37471,8 @@ function SpsDatepickerV2(_W) {
37071
37471
  onClick: doShowPopup,
37072
37472
  onFocus: doShowPopup,
37073
37473
  value: stringValue,
37074
- disabled
37474
+ disabled,
37475
+ "data-testid": `${testId}_date_input`
37075
37476
  }, rest)), value && !disabled && /* @__PURE__ */ React.createElement("i", {
37076
37477
  className: "sps-icon sps-icon-x-circle sps-form-control__clear-btn",
37077
37478
  onClick: clear
@@ -37080,6 +37481,7 @@ function SpsDatepickerV2(_W) {
37080
37481
  attachTo: rootRef,
37081
37482
  ref: datepickerPopupRef
37082
37483
  }, /* @__PURE__ */ React.createElement(SpsDatepickerCalendar, {
37484
+ "data-testid": `${testId}_calendar`,
37083
37485
  selectedDate: value,
37084
37486
  onNewSelection: handleNewSelection,
37085
37487
  minDate,
@@ -37101,12 +37503,12 @@ const propsDoc$9 = {
37101
37503
  value: "SimpleDateRange | DatePreset"
37102
37504
  };
37103
37505
  const propTypes$9 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
37104
- disabled: propTypes$1M.exports.bool,
37506
+ disabled: propTypes$1N.exports.bool,
37105
37507
  formMeta: impl(),
37106
37508
  maxDate: impl(),
37107
37509
  minDate: impl(),
37108
37510
  onChange: fun(),
37109
- presets: propTypes$1M.exports.arrayOf(impl())
37511
+ presets: propTypes$1N.exports.arrayOf(impl())
37110
37512
  });
37111
37513
  const CSS_BLOCK = "sps-datepicker";
37112
37514
  const DEFAULT_PRESETS = [
@@ -37332,12 +37734,12 @@ const propsDoc$8 = {
37332
37734
  value: "number"
37333
37735
  };
37334
37736
  const propTypes$8 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
37335
- disabled: propTypes$1M.exports.bool,
37737
+ disabled: propTypes$1N.exports.bool,
37336
37738
  formMeta: impl(),
37337
- name: propTypes$1M.exports.string,
37739
+ name: propTypes$1N.exports.string,
37338
37740
  onChange: fun(),
37339
37741
  ref: ref(),
37340
- value: propTypes$1M.exports.number
37742
+ value: propTypes$1N.exports.number
37341
37743
  });
37342
37744
  function strToDollars(str) {
37343
37745
  return str ? Number.parseInt(str.replace(/[^\d]/g, ""), 10) / 100 : null;
@@ -37512,10 +37914,10 @@ const propsDoc$7 = {
37512
37914
  };
37513
37915
  const propTypes$7 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
37514
37916
  color: enumValue(TagKind),
37515
- href: propTypes$1M.exports.string,
37917
+ href: propTypes$1N.exports.string,
37516
37918
  icon: enumValue(SpsIcon),
37517
- tagKey: propTypes$1M.exports.string.isRequired,
37518
- value: propTypes$1M.exports.string.isRequired
37919
+ tagKey: propTypes$1N.exports.string.isRequired,
37920
+ value: propTypes$1N.exports.string.isRequired
37519
37921
  });
37520
37922
  function SpsKeyValueTag(props2) {
37521
37923
  const _a = props2, {
@@ -37608,8 +38010,8 @@ const propsDoc$6 = {
37608
38010
  header: "string | () => string"
37609
38011
  };
37610
38012
  const propTypes$6 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
37611
- header: propTypes$1M.exports.oneOfType([
37612
- propTypes$1M.exports.string,
38013
+ header: propTypes$1N.exports.oneOfType([
38014
+ propTypes$1N.exports.string,
37613
38015
  fun()
37614
38016
  ])
37615
38017
  });
@@ -37641,8 +38043,8 @@ const propsDoc$5 = {
37641
38043
  backdrop: "string"
37642
38044
  };
37643
38045
  const propTypes$5 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
37644
- onOverlayClick: propTypes$1M.exports.func,
37645
- backdrop: propTypes$1M.exports.string
38046
+ onOverlayClick: propTypes$1N.exports.func,
38047
+ backdrop: propTypes$1N.exports.string
37646
38048
  });
37647
38049
  function SpsModalOverlay(props2) {
37648
38050
  const _a = props2, {
@@ -37712,12 +38114,12 @@ const propsDoc$3 = {
37712
38114
  closeModal: "() => void"
37713
38115
  };
37714
38116
  const propTypes$3 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
37715
- handleAsync: propTypes$1M.exports.shape({
37716
- turnAsyncOn: propTypes$1M.exports.func,
37717
- turnAsyncOff: propTypes$1M.exports.func,
37718
- isAsyncOn: propTypes$1M.exports.bool
38117
+ handleAsync: propTypes$1N.exports.shape({
38118
+ turnAsyncOn: propTypes$1N.exports.func,
38119
+ turnAsyncOff: propTypes$1N.exports.func,
38120
+ isAsyncOn: propTypes$1N.exports.bool
37719
38121
  }),
37720
- closeModal: propTypes$1M.exports.func
38122
+ closeModal: propTypes$1N.exports.func
37721
38123
  });
37722
38124
  function SpsModalFooter(props2) {
37723
38125
  const {
@@ -37759,10 +38161,10 @@ const propsDoc$2 = {
37759
38161
  const propTypes$2 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
37760
38162
  kind: enumValue(ButtonKind),
37761
38163
  closeModal: fun(),
37762
- handleAsync: propTypes$1M.exports.shape({
37763
- turnAsyncOn: propTypes$1M.exports.func,
37764
- turnAsyncOff: propTypes$1M.exports.func,
37765
- isAsyncOn: propTypes$1M.exports.bool
38164
+ handleAsync: propTypes$1N.exports.shape({
38165
+ turnAsyncOn: propTypes$1N.exports.func,
38166
+ turnAsyncOff: propTypes$1N.exports.func,
38167
+ isAsyncOn: propTypes$1N.exports.bool
37766
38168
  })
37767
38169
  });
37768
38170
  function SpsModalAction(props2) {
@@ -37817,18 +38219,18 @@ const propsDoc$1 = {
37817
38219
  onClose: "Function"
37818
38220
  };
37819
38221
  const propTypes$1 = __spreadProps(__spreadValues({}, spsGlobalPropTypes), {
37820
- kind: propTypes$1M.exports.string,
37821
- id: propTypes$1M.exports.string,
37822
- isOpen: propTypes$1M.exports.bool,
37823
- header: propTypes$1M.exports.oneOfType([
37824
- propTypes$1M.exports.string,
38222
+ kind: propTypes$1N.exports.string,
38223
+ id: propTypes$1N.exports.string,
38224
+ isOpen: propTypes$1N.exports.bool,
38225
+ header: propTypes$1N.exports.oneOfType([
38226
+ propTypes$1N.exports.string,
37825
38227
  fun()
37826
38228
  ]),
37827
- onClose: propTypes$1M.exports.func,
37828
- onOpen: propTypes$1M.exports.func,
37829
- size: propTypes$1M.exports.string,
37830
- backdrop: propTypes$1M.exports.string,
37831
- actionRequired: propTypes$1M.exports.bool
38229
+ onClose: propTypes$1N.exports.func,
38230
+ onOpen: propTypes$1N.exports.func,
38231
+ size: propTypes$1N.exports.string,
38232
+ backdrop: propTypes$1N.exports.string,
38233
+ actionRequired: propTypes$1N.exports.bool
37832
38234
  });
37833
38235
  function SpsModal(modalProps) {
37834
38236
  let lastFocusable;
@@ -38082,4 +38484,4 @@ Object.assign(SpsVr, {
38082
38484
  propTypes,
38083
38485
  displayName: "SpsDescriptionListTerm / SpsDt"
38084
38486
  });
38085
- export { AsTypingErrorKeys, ContentOrderExample, DEFAULT_PRESETS, FauxChangeEvent, I18nContext, MANIFEST, OnBlurErrorKeys, PortalContext, PreventativeErrorKeys, SimpleDateUtils, SpsAddRemoveFormRowExamples, SpsAdvancedSearch, SpsAdvancedSearchExamples, SpsAutocomplete, SpsAutocompleteExamples, SpsButton, SpsButtonExamples, SpsButtonGroup, SpsCard, SpsCardExamples, SpsCardTabbedPane, SpsCardV2, SpsCardV2Footer, SpsCardV2Header, SpsCardV2Title, SpsCheckbox, SpsCheckboxDropdown, SpsCheckboxExamples, SpsClickableTag, SpsClickableTagExamples, SpsColumnChooser, SpsColumnChooserColumn, SpsColumnChooserExamples, SpsConditionalField, SpsConditionalFieldExamples, SpsContentRow, SpsContentRowCol, SpsContentRowExamples, SpsContentRowExpansion, SpsCurrencyInput, SpsCurrencyInputExamples, SpsDateRangePicker, SpsDateRangePickerExamples, SpsDateRangePickerV2, SpsDateTime, SpsDatepicker, SpsDatepickerExamples, SpsDatepickerV2, SpsDatetimeExamples, SpsDd, SpsDescriptionList, SpsDescriptionListDefinition, SpsDescriptionListExamples, SpsDescriptionListTerm, SpsDl, SpsDropdown, SpsDropdownExamples, SpsDt, SpsFeedbackBlock, SpsFeedbackBlockExamples, SpsFieldset, SpsFieldsetExamples, SpsFilterPanel, SpsFilterPanelCap, SpsFilterPanelExamples, SpsFilterPanelFilterBox, SpsFilterPanelSection, SpsFilterTile, SpsFilterTileList, SpsFilterTileListExamples, SpsFocusedTask, SpsFocusedTaskActions, SpsFocusedTaskExamples, SpsForm, SpsFormArrayMeta, SpsFormComponentWrapper, SpsFormExamples, SpsFormFieldMeta, SpsFormGroupMeta, SpsFormMetaBase, SpsFormSetMeta, SpsGrowler, SpsGrowlerExamples, SpsI, SpsIconButtonPanel, SpsIncrementor, SpsIncrementorExamples, SpsInputGroup, SpsInsightTile, SpsInsights, SpsKeyValueList, SpsKeyValueListExamples, SpsKeyValueListItem, SpsKeyValueTag, SpsKeyValueTagExamples, SpsLabel, SpsLabelExamples, SpsListActionBar, SpsListActionBarExamples, SpsListToolbar, SpsListToolbarExamples, SpsListToolbarSearch, SpsListToolbarSearchInfo, SpsMicroBlock, SpsMicroBlockExamples, SpsMicroZeroState, SpsModal, SpsModalAction, SpsModalBody, SpsModalExamples, SpsModalFooter, SpsModalHeader, SpsModalOverlay, SpsModalV2, SpsModalV2Footer, SpsMultiSelect, SpsMultiSelectExamples, SpsPageSelector, SpsPageSubtitle, SpsPageTitle, SpsPageTitleExamples, SpsPagination, SpsPaginationExamples, SpsProductBar, SpsProductBarExamples, SpsProductBarTab, SpsProgressBar, SpsProgressBarExamples, SpsProgressRing, SpsRadioButton, SpsRadioButtonExamples, SpsScrollableContainer, SpsScrollableContainerExamples, SpsSearchResultsBar, SpsSearchResultsBarExamples, SpsSelect, SpsSelectExamples, SpsSideNav, SpsSideNavExamples, SpsSlackLink, SpsSlackLinkExamples, SpsSortingHeader, SpsSortingHeaderCell, SpsSortingHeaderExamples, SpsSpinner, SpsSpinnerExamples, SpsSplitButton, SpsSplitButtonExamples, SpsSteppedProgressBar, SpsSteppedProgressBarExamples, SpsSummaryListColumn, SpsSummaryListExamples, SpsSummaryListExpansion, SpsSummaryListRow, SpsTab, SpsTabPanel, SpsTable, SpsTableBody, SpsTableCell, SpsTableExamples, SpsTableHead, SpsTableHeader, SpsTableRow, SpsTabsV2, SpsTag, SpsTagExamples, SpsTaskQueue, SpsTaskQueueExamples, SpsTbody, SpsTd, SpsTextInput, SpsTextInputExamples, SpsTextarea, SpsTextareaExamples, SpsTh, SpsThead, SpsTile, SpsTileList, SpsTileListExamples, SpsToggle, SpsToggleExamples, SpsTooltip, SpsTooltipExamples, SpsTooltipTitle, SpsTr, SpsValidators, SpsVerticalRule, SpsVr, SpsWf, SpsWfDoc, SpsWfDs, SpsWfStep, SpsWizardExamples, SpsWizardSidebar, SpsWizardSubstep, SpsWorkflow, SpsWorkflowDocument, SpsWorkflowDocumentStatus, SpsWorkflowExamples, SpsWorkflowStep, SpsZeroState, SpsZeroStateExamples, TooltipVisibility, contentOf, date, dateConstraint, dateRange, findParentBranches, flipPosition, formArray, formControl, formGroup, getMember, getPosition, selectChildren, toggleTooltipState, useCheckDeprecatedProps, useDidUpdateEffect, useDocumentEventListener, useElementId, useForm, useGrowlers, useInputPopup, usePatchReducer, usePortal, useServerSideValidation, useSpsAction, useSpsForm, validate, weekOfMonth };
38487
+ export { AsTypingErrorKeys, ContentOrderExample, DEFAULT_PRESETS, FauxChangeEvent, I18nContext, MANIFEST, OnBlurErrorKeys, PortalContext, PreventativeErrorKeys, SimpleDateUtils, SpsAddRemoveFormRowExamples, SpsAdvancedSearch, SpsAdvancedSearchExamples, SpsAutocomplete, SpsAutocompleteExamples, SpsButton, SpsButtonExamples, SpsButtonGroup, SpsCard, SpsCardExamples, SpsCardTabbedPane, SpsCardV2, SpsCardV2Footer, SpsCardV2Header, SpsCardV2Title, SpsCheckbox, SpsCheckboxDropdown, SpsCheckboxExamples, SpsClickableTag, SpsClickableTagExamples, SpsColumnChooser, SpsColumnChooserColumn, SpsColumnChooserExamples, SpsConditionalField, SpsConditionalFieldExamples, SpsContentRow, SpsContentRowCol, SpsContentRowExamples, SpsContentRowExpansion, SpsCurrencyInput, SpsCurrencyInputExamples, SpsDateRangePicker, SpsDateRangePickerExamples, SpsDateRangePickerV2, SpsDateTime, SpsDatepicker, SpsDatepickerExamples, SpsDatepickerV2, SpsDatetimeExamples, SpsDd, SpsDescriptionList, SpsDescriptionListDefinition, SpsDescriptionListExamples, SpsDescriptionListTerm, SpsDl, SpsDropdown, SpsDropdownExamples, SpsDt, SpsFeedbackBlock, SpsFeedbackBlockExamples, SpsFieldset, SpsFieldsetExamples, SpsFilterPanel, SpsFilterPanelCap, SpsFilterPanelExamples, SpsFilterPanelFilterBox, SpsFilterPanelSection, SpsFilterTile, SpsFilterTileList, SpsFilterTileListExamples, SpsFocusedTask, SpsFocusedTaskActions, SpsFocusedTaskExamples, SpsForm, SpsFormArrayMeta, SpsFormComponentWrapper, SpsFormExamples, SpsFormFieldMeta, SpsFormGroupMeta, SpsFormMetaBase, SpsFormSetMeta, SpsGrowler, SpsGrowlerExamples, SpsI, SpsIconButtonPanel, SpsIncrementor, SpsIncrementorExamples, SpsInputGroup, SpsInsightTile, SpsInsights, SpsKeyValueList, SpsKeyValueListExamples, SpsKeyValueListItem, SpsKeyValueTag, SpsKeyValueTagExamples, SpsLabel, SpsLabelExamples, SpsListActionBar, SpsListActionBarExamples, SpsListToolbar, SpsListToolbarExamples, SpsListToolbarSearch, SpsListToolbarSearchInfo, SpsMicroBlock, SpsMicroBlockExamples, SpsMicroZeroState, SpsModal, SpsModalAction, SpsModalBody, SpsModalExamples, SpsModalFooter, SpsModalHeader, SpsModalOverlay, SpsModalV2, SpsModalV2Footer, SpsMultiSelect, SpsMultiSelectExamples, SpsPageSelector, SpsPageSubtitle, SpsPageTitle, SpsPageTitleExamples, SpsPagination, SpsPaginationExamples, SpsProductBar, SpsProductBarExamples, SpsProductBarTab, SpsProgressBar, SpsProgressBarExamples, SpsProgressRing, SpsRadioButton, SpsRadioButtonExamples, SpsScrollableContainer, SpsScrollableContainerExamples, SpsSearchResultsBar, SpsSearchResultsBarExamples, SpsSearchResultsBarV2, SpsSelect, SpsSelectExamples, SpsSideNav, SpsSideNavExamples, SpsSlackLink, SpsSlackLinkExamples, SpsSortingHeader, SpsSortingHeaderCell, SpsSortingHeaderExamples, SpsSpinner, SpsSpinnerExamples, SpsSplitButton, SpsSplitButtonExamples, SpsSteppedProgressBar, SpsSteppedProgressBarExamples, SpsSummaryListColumn, SpsSummaryListExamples, SpsSummaryListExpansion, SpsSummaryListRow, SpsTab, SpsTabPanel, SpsTable, SpsTableBody, SpsTableCell, SpsTableExamples, SpsTableHead, SpsTableHeader, SpsTableRow, SpsTabsV2, SpsTag, SpsTagExamples, SpsTaskQueue, SpsTaskQueueExamples, SpsTbody, SpsTd, SpsTextInput, SpsTextInputExamples, SpsTextarea, SpsTextareaExamples, SpsTh, SpsThead, SpsTile, SpsTileList, SpsTileListExamples, SpsToggle, SpsToggleExamples, SpsTooltip, SpsTooltipExamples, SpsTooltipTitle, SpsTr, SpsValidators, SpsVerticalRule, SpsVr, SpsWf, SpsWfDoc, SpsWfDs, SpsWfStep, SpsWizardExamples, SpsWizardSidebar, SpsWizardSubstep, SpsWorkflow, SpsWorkflowDocument, SpsWorkflowDocumentStatus, SpsWorkflowExamples, SpsWorkflowStep, SpsZeroState, SpsZeroStateExamples, TooltipVisibility, contentOf, date, dateConstraint, dateRange, findParentBranches, flipPosition, formArray, formControl, formGroup, getMember, getPosition, selectChildren, toggleTooltipState, useCheckDeprecatedProps, useDidUpdateEffect, useDocumentEventListener, useElementId, useForm, useGrowlers, useInputPopup, usePatchReducer, usePortal, useServerSideValidation, useSpsAction, useSpsForm, validate, weekOfMonth };