@spscommerce/ds-react 4.0.0 → 4.4.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.cjs.js CHANGED
@@ -211,7 +211,7 @@ var spsGlobalPropTypes = {
211
211
 
212
212
  var I18nContext = React__namespace.createContext(dsShared.noI18nI18n);
213
213
 
214
- var propsDoc$1r = {
214
+ var propsDoc$1u = {
215
215
  disabled: 'boolean',
216
216
  href: 'string',
217
217
  icon: 'SpsIcon',
@@ -220,7 +220,7 @@ var propsDoc$1r = {
220
220
  spinningTitle: 'string',
221
221
  type: 'ButtonType',
222
222
  };
223
- var propTypes$1w = __assign(__assign({}, spsGlobalPropTypes), { disabled: PropTypes.bool, href: PropTypes.string, icon: enumValue(dsShared.SpsIcon), kind: enumValue(dsShared.ButtonKind), spinning: PropTypes.bool, spinningTitle: PropTypes.string, type: enumValue(dsShared.ButtonType) });
223
+ var propTypes$1z = __assign(__assign({}, spsGlobalPropTypes), { disabled: PropTypes.bool, href: PropTypes.string, icon: enumValue(dsShared.SpsIcon), kind: enumValue(dsShared.ButtonKind), spinning: PropTypes.bool, spinningTitle: PropTypes.string, type: enumValue(dsShared.ButtonType) });
224
224
  function SpsButton(props) {
225
225
  var children = props.children, className = props.className, href = props.href, icon = props.icon, _a = props.kind, kind = _a === void 0 ? dsShared.ButtonKind.DEFAULT : _a, spinning = props.spinning, spinningTitle = props.spinningTitle, _b = props.type, type = _b === void 0 ? dsShared.ButtonType.BUTTON : _b, unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "href", "icon", "kind", "spinning", "spinningTitle", "type", "unsafelyReplaceClassName"]);
226
226
  var disabled = props.disabled;
@@ -244,8 +244,8 @@ function SpsButton(props) {
244
244
  spinner))));
245
245
  }
246
246
  Object.assign(SpsButton, {
247
- props: propsDoc$1r,
248
- propTypes: propTypes$1w,
247
+ props: propsDoc$1u,
248
+ propTypes: propTypes$1z,
249
249
  displayName: 'SpsButton',
250
250
  });
251
251
 
@@ -282,8 +282,8 @@ function contentOf(nodeOrRenderFn) {
282
282
  : nodeOrRenderFn;
283
283
  }
284
284
 
285
- var propsDoc$1q = __assign(__assign({}, spsFormProps), { controlsDisabled: 'boolean', footerLinks: 'ReactNodeOrRenderFn', formMeta: 'SpsFormArrayMeta<any> | SpsFormGroupMeta<any>', isOpen: 'boolean', onClear: '() => void', onSubmit: 'React.FormEventHandler', pinned: { type: 'boolean', deprecated: true } });
286
- var propTypes$1v = __assign(__assign(__assign({}, spsGlobalPropTypes), spsFormPropTypes), { controlsDisabled: PropTypes.bool, footerLinks: nodeOrRenderFn, formArray: impl(), formGroup: impl(), formMeta: PropTypes.oneOfType([
285
+ var propsDoc$1t = __assign(__assign({}, spsFormProps), { controlsDisabled: 'boolean', footerLinks: 'ReactNodeOrRenderFn', formMeta: 'SpsFormArrayMeta<any> | SpsFormGroupMeta<any>', isOpen: 'boolean', onClear: '() => void', onSubmit: 'React.FormEventHandler', pinned: { type: 'boolean', deprecated: true } });
286
+ var propTypes$1y = __assign(__assign(__assign({}, spsGlobalPropTypes), spsFormPropTypes), { controlsDisabled: PropTypes.bool, footerLinks: nodeOrRenderFn, formArray: impl(), formGroup: impl(), formMeta: PropTypes.oneOfType([
287
287
  impl(),
288
288
  impl(),
289
289
  ]), isOpen: PropTypes.bool, onClear: fun(), onSubmit: fun(), pinned: PropTypes.bool });
@@ -309,8 +309,8 @@ function SpsAdvancedSearch(props) {
309
309
  React__namespace.createElement(SpsButton, { kind: dsShared.ButtonKind.KEY, type: dsShared.ButtonType.SUBMIT, disabled: controlsDisabled }, t('design-system:advancedSearch.search')))))));
310
310
  }
311
311
  Object.assign(SpsAdvancedSearch, {
312
- props: propsDoc$1q,
313
- propTypes: propTypes$1v,
312
+ props: propsDoc$1t,
313
+ propTypes: propTypes$1y,
314
314
  displayName: 'SpsAdvancedSearch',
315
315
  });
316
316
 
@@ -319,7 +319,7 @@ var SpsAdvancedSearchExamples = {
319
319
  label: 'Basic Usage',
320
320
  examples: {
321
321
  basic: {
322
- react: utils.code(templateObject_1$R || (templateObject_1$R = __makeTemplateObject(["\n function Component(props) {\n const [toolbarSearchText, setToolbarSearchText] = React.useState(\"\");\n const [advSearch, patchAdvSearch] = usePatchReducer({\n isOpen: true,\n enteredFields: 0,\n });\n\n const initValue = {\n sender: \"\",\n receiver: \"\",\n doctype: \"\",\n status: \"\",\n };\n const { formValue, formMeta, updateForm } = useSpsForm(initValue);\n\n React.useEffect(() => {\n // Simulate that someone has entered a search term\n updateForm({\n ...formValue,\n receiver: \"Walmart\"\n });\n patchAdvSearch({ enteredFields: 1 });\n }, []);\n\n function handleToolbarSearchChange(event) {\n setToolbarSearchText(event.target.value);\n }\n\n function handleToggleAdvancedSearch(isOpen) {\n patchAdvSearch({ isOpen });\n }\n\n function handleAdvancedSearchSubmit() {\n patchAdvSearch({ enteredFields: diff(initValue, formValue).length });\n }\n\n function handleAdvancedSearchClear() {\n updateForm(initValue);\n patchAdvSearch({ enteredFields: 0 });\n }\n\n return <>\n <SpsListToolbar advancedSearch={advSearch}\n onToggleAdvancedSearch={handleToggleAdvancedSearch}\n >\n <SpsListToolbarSearch>\n <SpsTextInput value={toolbarSearchText}\n onChange={handleToolbarSearchChange}\n disabled={advSearch.isOpen}\n title=\"Search\"\n />\n <SpsButton kind={ButtonKind.ICON}\n icon={SpsIcon.SEARCH}\n disabled={advSearch.isOpen}\n />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n <SpsAdvancedSearch {...advSearch}\n formMeta={formMeta}\n onSubmit={handleAdvancedSearchSubmit}\n onClear={handleAdvancedSearchClear}\n >\n <div className=\"sfg-row\">\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.sender}>Sender</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.sender}\n value={formValue.sender}\n />\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.receiver}>Receiver</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.receiver}\n value={formValue.receiver}\n />\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.doctype}>Document Type</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.doctype}\n value={formValue.doctype}\n />\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.status}>Status</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.status}\n value={formValue.status}\n />\n </div>\n </div>\n </SpsAdvancedSearch>\n </>;\n }\n "], ["\n function Component(props) {\n const [toolbarSearchText, setToolbarSearchText] = React.useState(\"\");\n const [advSearch, patchAdvSearch] = usePatchReducer({\n isOpen: true,\n enteredFields: 0,\n });\n\n const initValue = {\n sender: \"\",\n receiver: \"\",\n doctype: \"\",\n status: \"\",\n };\n const { formValue, formMeta, updateForm } = useSpsForm(initValue);\n\n React.useEffect(() => {\n // Simulate that someone has entered a search term\n updateForm({\n ...formValue,\n receiver: \"Walmart\"\n });\n patchAdvSearch({ enteredFields: 1 });\n }, []);\n\n function handleToolbarSearchChange(event) {\n setToolbarSearchText(event.target.value);\n }\n\n function handleToggleAdvancedSearch(isOpen) {\n patchAdvSearch({ isOpen });\n }\n\n function handleAdvancedSearchSubmit() {\n patchAdvSearch({ enteredFields: diff(initValue, formValue).length });\n }\n\n function handleAdvancedSearchClear() {\n updateForm(initValue);\n patchAdvSearch({ enteredFields: 0 });\n }\n\n return <>\n <SpsListToolbar advancedSearch={advSearch}\n onToggleAdvancedSearch={handleToggleAdvancedSearch}\n >\n <SpsListToolbarSearch>\n <SpsTextInput value={toolbarSearchText}\n onChange={handleToolbarSearchChange}\n disabled={advSearch.isOpen}\n title=\"Search\"\n />\n <SpsButton kind={ButtonKind.ICON}\n icon={SpsIcon.SEARCH}\n disabled={advSearch.isOpen}\n />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n <SpsAdvancedSearch {...advSearch}\n formMeta={formMeta}\n onSubmit={handleAdvancedSearchSubmit}\n onClear={handleAdvancedSearchClear}\n >\n <div className=\"sfg-row\">\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.sender}>Sender</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.sender}\n value={formValue.sender}\n />\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.receiver}>Receiver</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.receiver}\n value={formValue.receiver}\n />\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.doctype}>Document Type</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.doctype}\n value={formValue.doctype}\n />\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.status}>Status</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.status}\n value={formValue.status}\n />\n </div>\n </div>\n </SpsAdvancedSearch>\n </>;\n }\n "]))),
322
+ react: utils.code(templateObject_1$S || (templateObject_1$S = __makeTemplateObject(["\n function Component(props) {\n const [toolbarSearchText, setToolbarSearchText] = React.useState(\"\");\n const [advSearch, patchAdvSearch] = usePatchReducer({\n isOpen: true,\n enteredFields: 0,\n });\n\n const initValue = {\n sender: \"\",\n receiver: \"\",\n doctype: \"\",\n status: \"\",\n };\n const { formValue, formMeta, updateForm } = useSpsForm(initValue);\n\n React.useEffect(() => {\n // Simulate that someone has entered a search term\n updateForm({\n ...formValue,\n receiver: \"Walmart\"\n });\n patchAdvSearch({ enteredFields: 1 });\n }, []);\n\n function handleToolbarSearchChange(event) {\n setToolbarSearchText(event.target.value);\n }\n\n function handleToggleAdvancedSearch(isOpen) {\n patchAdvSearch({ isOpen });\n }\n\n function handleAdvancedSearchSubmit() {\n patchAdvSearch({ enteredFields: diff(initValue, formValue).length });\n }\n\n function handleAdvancedSearchClear() {\n updateForm(initValue);\n patchAdvSearch({ enteredFields: 0 });\n }\n\n return <>\n <SpsListToolbar advancedSearch={advSearch}\n onToggleAdvancedSearch={handleToggleAdvancedSearch}\n >\n <SpsListToolbarSearch>\n <SpsTextInput value={toolbarSearchText}\n onChange={handleToolbarSearchChange}\n disabled={advSearch.isOpen}\n title=\"Search\"\n />\n <SpsButton kind={ButtonKind.ICON}\n icon={SpsIcon.SEARCH}\n disabled={advSearch.isOpen}\n />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n <SpsAdvancedSearch {...advSearch}\n formMeta={formMeta}\n onSubmit={handleAdvancedSearchSubmit}\n onClear={handleAdvancedSearchClear}\n >\n <div className=\"sfg-row\">\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.sender}>Sender</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.sender}\n value={formValue.sender}\n />\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.receiver}>Receiver</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.receiver}\n value={formValue.receiver}\n />\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.doctype}>Document Type</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.doctype}\n value={formValue.doctype}\n />\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.status}>Status</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.status}\n value={formValue.status}\n />\n </div>\n </div>\n </SpsAdvancedSearch>\n </>;\n }\n "], ["\n function Component(props) {\n const [toolbarSearchText, setToolbarSearchText] = React.useState(\"\");\n const [advSearch, patchAdvSearch] = usePatchReducer({\n isOpen: true,\n enteredFields: 0,\n });\n\n const initValue = {\n sender: \"\",\n receiver: \"\",\n doctype: \"\",\n status: \"\",\n };\n const { formValue, formMeta, updateForm } = useSpsForm(initValue);\n\n React.useEffect(() => {\n // Simulate that someone has entered a search term\n updateForm({\n ...formValue,\n receiver: \"Walmart\"\n });\n patchAdvSearch({ enteredFields: 1 });\n }, []);\n\n function handleToolbarSearchChange(event) {\n setToolbarSearchText(event.target.value);\n }\n\n function handleToggleAdvancedSearch(isOpen) {\n patchAdvSearch({ isOpen });\n }\n\n function handleAdvancedSearchSubmit() {\n patchAdvSearch({ enteredFields: diff(initValue, formValue).length });\n }\n\n function handleAdvancedSearchClear() {\n updateForm(initValue);\n patchAdvSearch({ enteredFields: 0 });\n }\n\n return <>\n <SpsListToolbar advancedSearch={advSearch}\n onToggleAdvancedSearch={handleToggleAdvancedSearch}\n >\n <SpsListToolbarSearch>\n <SpsTextInput value={toolbarSearchText}\n onChange={handleToolbarSearchChange}\n disabled={advSearch.isOpen}\n title=\"Search\"\n />\n <SpsButton kind={ButtonKind.ICON}\n icon={SpsIcon.SEARCH}\n disabled={advSearch.isOpen}\n />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n <SpsAdvancedSearch {...advSearch}\n formMeta={formMeta}\n onSubmit={handleAdvancedSearchSubmit}\n onClear={handleAdvancedSearchClear}\n >\n <div className=\"sfg-row\">\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.sender}>Sender</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.sender}\n value={formValue.sender}\n />\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.receiver}>Receiver</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.receiver}\n value={formValue.receiver}\n />\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.doctype}>Document Type</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.doctype}\n value={formValue.doctype}\n />\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.status}>Status</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.status}\n value={formValue.status}\n />\n </div>\n </div>\n </SpsAdvancedSearch>\n </>;\n }\n "]))),
323
323
  },
324
324
  },
325
325
  },
@@ -350,7 +350,7 @@ var SpsAdvancedSearchExamples = {
350
350
  },
351
351
  },
352
352
  };
353
- var templateObject_1$R, templateObject_2$M, templateObject_3$E, templateObject_4$w, templateObject_5$o, templateObject_6$j;
353
+ var templateObject_1$S, templateObject_2$M, templateObject_3$E, templateObject_4$w, templateObject_5$o, templateObject_6$j;
354
354
 
355
355
  function useElementId(id) {
356
356
  return React.useRef(id || nanoid__default['default']());
@@ -633,7 +633,7 @@ var searchableOptionListProps = {
633
633
  searchDebounce: PropTypes.number,
634
634
  searchPlaceholder: PropTypes.string,
635
635
  };
636
- var propTypes$1u = __assign(__assign(__assign(__assign({}, spsGlobalPropTypes), spsOptionListPassthroughProps.propTypes), searchableOptionListProps), { attachTo: ref().isRequired, conformWidth: PropTypes.bool, id: PropTypes.string.isRequired, isOpen: PropTypes.bool, keepOpen: PropTypes.bool, keyDown: impl(), nullOption: PropTypes.string, offsets: PropTypes.arrayOf(PropTypes.number), onOptionListChanged: fun(), onOptionSelected: fun(), onPositionFlip: fun(), onSelfToggle: fun(), optionRole: PropTypes.string, positionOverride: PropTypes.arrayOf(enumValue(dsShared.Position)), selectedOption: PropTypes.any, specialAction: fun(), ignoreWidthStyles: PropTypes.bool });
636
+ var propTypes$1x = __assign(__assign(__assign(__assign({}, spsGlobalPropTypes), spsOptionListPassthroughProps.propTypes), searchableOptionListProps), { attachTo: ref().isRequired, conformWidth: PropTypes.bool, id: PropTypes.string.isRequired, isOpen: PropTypes.bool, keepOpen: PropTypes.bool, keyDown: impl(), nullOption: PropTypes.string, offsets: PropTypes.arrayOf(PropTypes.number), onOptionListChanged: fun(), onOptionSelected: fun(), onPositionFlip: fun(), onSelfToggle: fun(), optionRole: PropTypes.string, positionOverride: PropTypes.arrayOf(enumValue(dsShared.Position)), selectedOption: PropTypes.any, specialAction: fun(), ignoreWidthStyles: PropTypes.bool });
637
637
 
638
638
  function updateOptions(props, searchState, searchStatePatch, setOptionList, setAnyOptionHasIcon) {
639
639
  return __awaiter(this, void 0, void 0, function () {
@@ -1105,7 +1105,7 @@ var SpsOptionList = React__namespace.forwardRef(function (props, ref) {
1105
1105
  React__namespace.createElement("span", null, specialAction.label)))));
1106
1106
  });
1107
1107
  Object.assign(SpsOptionList, {
1108
- propTypes: propTypes$1u,
1108
+ propTypes: propTypes$1x,
1109
1109
  displayName: 'SpsOptionList',
1110
1110
  });
1111
1111
 
@@ -1244,7 +1244,7 @@ function useInputPopup(rootRef, popupRef, formMeta) {
1244
1244
  };
1245
1245
  }
1246
1246
 
1247
- var propsDoc$1p = {
1247
+ var propsDoc$1s = {
1248
1248
  debounce: 'number',
1249
1249
  disabled: 'boolean',
1250
1250
  formMeta: 'SpsFormFieldMeta<string>',
@@ -1259,7 +1259,7 @@ var propsDoc$1p = {
1259
1259
  value: 'string',
1260
1260
  zeroState: 'string',
1261
1261
  };
1262
- var propTypes$1t = __assign(__assign({}, spsGlobalPropTypes), { debounce: PropTypes.number, disabled: PropTypes.bool, formControl: impl(), formMeta: impl(), icon: enumValue(dsShared.SpsIcon), onChange: fun(), placeholder: PropTypes.string, suggestions: PropTypes.oneOfType([
1262
+ var propTypes$1w = __assign(__assign({}, spsGlobalPropTypes), { debounce: PropTypes.number, disabled: PropTypes.bool, formControl: impl(), formMeta: impl(), icon: enumValue(dsShared.SpsIcon), onChange: fun(), placeholder: PropTypes.string, suggestions: PropTypes.oneOfType([
1263
1263
  PropTypes.arrayOf(PropTypes.string),
1264
1264
  PropTypes.instanceOf(Promise),
1265
1265
  fun(),
@@ -1327,8 +1327,8 @@ function SpsAutocomplete(_a) {
1327
1327
  React__namespace.createElement(SpsOptionList, { id: wrapperId + "_options", ref: optionListRef, attachTo: rootRef, isOpen: showPopup, options: suggestions, hideInlineSearch: true, keyDown: state.keyDown, onOptionSelected: setAndPropagateValue, onPositionFlip: handlePositionFlip, onSelfToggle: handleSelfToggle, offsets: [1, 0], search: value, searchDebounce: debounce, tall: tallOptionList, zeroState: zeroState })));
1328
1328
  }
1329
1329
  Object.assign(SpsAutocomplete, {
1330
- props: propsDoc$1p,
1331
- propTypes: propTypes$1t,
1330
+ props: propsDoc$1s,
1331
+ propTypes: propTypes$1w,
1332
1332
  displayName: 'SpsAutocomplete',
1333
1333
  });
1334
1334
 
@@ -1337,7 +1337,7 @@ var SpsAutocompleteExamples = {
1337
1337
  label: 'Basic',
1338
1338
  examples: {
1339
1339
  basic: {
1340
- react: utils.code(templateObject_1$Q || (templateObject_1$Q = __makeTemplateObject(["\n function DemoComponent() {\n const [color, setColor] = React.useState();\n const colors = [\"red\", \"blue\", \"green\"];\n\n function handleChange(event) {\n setColor(event.target.value);\n }\n\n return (\n <SpsAutocomplete suggestions={colors}\n value={color}\n onChange={handleChange}\n placeholder=\"Enter a color\"\n />\n );\n }\n "], ["\n function DemoComponent() {\n const [color, setColor] = React.useState();\n const colors = [\"red\", \"blue\", \"green\"];\n\n function handleChange(event) {\n setColor(event.target.value);\n }\n\n return (\n <SpsAutocomplete suggestions={colors}\n value={color}\n onChange={handleChange}\n placeholder=\"Enter a color\"\n />\n );\n }\n "]))),
1340
+ react: utils.code(templateObject_1$R || (templateObject_1$R = __makeTemplateObject(["\n function DemoComponent() {\n const [color, setColor] = React.useState();\n const colors = [\"red\", \"blue\", \"green\"];\n\n function handleChange(event) {\n setColor(event.target.value);\n }\n\n return (\n <SpsAutocomplete suggestions={colors}\n value={color}\n onChange={handleChange}\n placeholder=\"Enter a color\"\n />\n );\n }\n "], ["\n function DemoComponent() {\n const [color, setColor] = React.useState();\n const colors = [\"red\", \"blue\", \"green\"];\n\n function handleChange(event) {\n setColor(event.target.value);\n }\n\n return (\n <SpsAutocomplete suggestions={colors}\n value={color}\n onChange={handleChange}\n placeholder=\"Enter a color\"\n />\n );\n }\n "]))),
1341
1341
  },
1342
1342
  disabled: {
1343
1343
  jsx: utils.code(templateObject_2$L || (templateObject_2$L = __makeTemplateObject(["\n <SpsAutocomplete suggestions={[\"red\", \"blue\", \"green\"]} value=\"yellow\" disabled id=\"disabledAutocomplete\"/>\n "], ["\n <SpsAutocomplete suggestions={[\"red\", \"blue\", \"green\"]} value=\"yellow\" disabled id=\"disabledAutocomplete\"/>\n "]))),
@@ -1362,9 +1362,9 @@ var SpsAutocompleteExamples = {
1362
1362
  },
1363
1363
  },
1364
1364
  };
1365
- var templateObject_1$Q, templateObject_2$L, templateObject_3$D, templateObject_4$v, templateObject_5$n, templateObject_6$i;
1365
+ var templateObject_1$R, templateObject_2$L, templateObject_3$D, templateObject_4$v, templateObject_5$n, templateObject_6$i;
1366
1366
 
1367
- var propsDoc$1o = {
1367
+ var propsDoc$1r = {
1368
1368
  alignLeft: 'boolean',
1369
1369
  disabled: 'boolean',
1370
1370
  icon: 'SpsIcon',
@@ -1377,7 +1377,7 @@ var propsDoc$1o = {
1377
1377
  onOpen: '() => void',
1378
1378
  onClose: '() => void',
1379
1379
  };
1380
- var propTypes$1s = __assign(__assign({}, spsGlobalPropTypes), { alignLeft: PropTypes.bool, disabled: PropTypes.bool, icon: enumValue(dsShared.SpsIcon), kind: enumValue(dsShared.DropdownKind), label: PropTypes.string,
1380
+ var propTypes$1v = __assign(__assign({}, spsGlobalPropTypes), { alignLeft: PropTypes.bool, disabled: PropTypes.bool, icon: enumValue(dsShared.SpsIcon), kind: enumValue(dsShared.DropdownKind), label: PropTypes.string,
1381
1381
  // eslint thinks there is a space between the name and open paren below for some reason
1382
1382
  // eslint-disable-next-line no-spaced-func
1383
1383
  options: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.any])).isRequired, spinning: PropTypes.bool, spinningTitle: PropTypes.string, tallOptionList: PropTypes.bool, onOpen: fun(), onClose: fun() });
@@ -1472,13 +1472,13 @@ function SpsDropdown(props) {
1472
1472
  spinning && (React__namespace.createElement("div", { className: "sps-spinner", key: 1 }, spinningTitle || t('design-system:button.spinningTitle')))))));
1473
1473
  }
1474
1474
  Object.assign(SpsDropdown, {
1475
- props: propsDoc$1o,
1476
- propTypes: propTypes$1s,
1475
+ props: propsDoc$1r,
1476
+ propTypes: propTypes$1v,
1477
1477
  displayName: 'SpsDropdown',
1478
1478
  });
1479
1479
 
1480
- var propsDoc$1n = {};
1481
- var propTypes$1r = __assign({}, spsGlobalPropTypes);
1480
+ var propsDoc$1q = {};
1481
+ var propTypes$1u = __assign({}, spsGlobalPropTypes);
1482
1482
  function SpsButtonGroup(props) {
1483
1483
  var children = props.children, className = props.className, unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "unsafelyReplaceClassName"]);
1484
1484
  var _a = __read(selectChildren(children, [
@@ -1496,8 +1496,8 @@ function SpsButtonGroup(props) {
1496
1496
  others.length > 0 && others));
1497
1497
  }
1498
1498
  Object.assign(SpsButtonGroup, {
1499
- props: propsDoc$1n,
1500
- propTypes: propTypes$1r,
1499
+ props: propsDoc$1q,
1500
+ propTypes: propTypes$1u,
1501
1501
  displayName: 'SpsButtonGroup',
1502
1502
  });
1503
1503
 
@@ -1514,7 +1514,7 @@ var SpsButtonExamples = {
1514
1514
  examples: {
1515
1515
  basic: {
1516
1516
  description: 'Without Icons',
1517
- jsx: utils.code(templateObject_1$P || (templateObject_1$P = __makeTemplateObject(["\n <>\n <SpsButton className=\"mr-1 mb-1\">Default</SpsButton>\n <SpsButton className=\"mr-1 mb-1\" kind={ButtonKind.KEY}>Key</SpsButton>\n <SpsButton className=\"mr-1 mb-1\" kind={ButtonKind.CONFIRM}>Confirm</SpsButton>\n <SpsButton className=\"mr-1 mb-1\" kind={ButtonKind.DELETE}>Delete</SpsButton>\n <SpsButton className=\"mr-1 mb-1\" disabled>Disabled</SpsButton>\n </>\n "], ["\n <>\n <SpsButton className=\"mr-1 mb-1\">Default</SpsButton>\n <SpsButton className=\"mr-1 mb-1\" kind={ButtonKind.KEY}>Key</SpsButton>\n <SpsButton className=\"mr-1 mb-1\" kind={ButtonKind.CONFIRM}>Confirm</SpsButton>\n <SpsButton className=\"mr-1 mb-1\" kind={ButtonKind.DELETE}>Delete</SpsButton>\n <SpsButton className=\"mr-1 mb-1\" disabled>Disabled</SpsButton>\n </>\n "]))),
1517
+ jsx: utils.code(templateObject_1$Q || (templateObject_1$Q = __makeTemplateObject(["\n <>\n <SpsButton className=\"mr-1 mb-1\">Default</SpsButton>\n <SpsButton className=\"mr-1 mb-1\" kind={ButtonKind.KEY}>Key</SpsButton>\n <SpsButton className=\"mr-1 mb-1\" kind={ButtonKind.CONFIRM}>Confirm</SpsButton>\n <SpsButton className=\"mr-1 mb-1\" kind={ButtonKind.DELETE}>Delete</SpsButton>\n <SpsButton className=\"mr-1 mb-1\" disabled>Disabled</SpsButton>\n </>\n "], ["\n <>\n <SpsButton className=\"mr-1 mb-1\">Default</SpsButton>\n <SpsButton className=\"mr-1 mb-1\" kind={ButtonKind.KEY}>Key</SpsButton>\n <SpsButton className=\"mr-1 mb-1\" kind={ButtonKind.CONFIRM}>Confirm</SpsButton>\n <SpsButton className=\"mr-1 mb-1\" kind={ButtonKind.DELETE}>Delete</SpsButton>\n <SpsButton className=\"mr-1 mb-1\" disabled>Disabled</SpsButton>\n </>\n "]))),
1518
1518
  },
1519
1519
  buttonsWithIcons: {
1520
1520
  description: 'With Icons',
@@ -1554,7 +1554,7 @@ var SpsButtonExamples = {
1554
1554
  },
1555
1555
  withIcon: {
1556
1556
  description: 'With Icons',
1557
- jsx: utils.code(templateObject_8$c || (templateObject_8$c = __makeTemplateObject(["\n <>\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n label=\"Default\"\n />\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n kind={ButtonKind.KEY}\n label=\"Key\"\n />\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n kind={ButtonKind.CONFIRM}\n label=\"Confirm\"\n />\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n kind={ButtonKind.DELETE}\n label=\"Delete\"\n />\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n disabled\n label=\"Disabled\"\n />\n </>\n "], ["\n <>\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n label=\"Default\"\n />\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n kind={ButtonKind.KEY}\n label=\"Key\"\n />\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n kind={ButtonKind.CONFIRM}\n label=\"Confirm\"\n />\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n kind={ButtonKind.DELETE}\n label=\"Delete\"\n />\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n disabled\n label=\"Disabled\"\n />\n </>\n "]))),
1557
+ jsx: utils.code(templateObject_8$d || (templateObject_8$d = __makeTemplateObject(["\n <>\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n label=\"Default\"\n />\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n kind={ButtonKind.KEY}\n label=\"Key\"\n />\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n kind={ButtonKind.CONFIRM}\n label=\"Confirm\"\n />\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n kind={ButtonKind.DELETE}\n label=\"Delete\"\n />\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n disabled\n label=\"Disabled\"\n />\n </>\n "], ["\n <>\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n label=\"Default\"\n />\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n kind={ButtonKind.KEY}\n label=\"Key\"\n />\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n kind={ButtonKind.CONFIRM}\n label=\"Confirm\"\n />\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n kind={ButtonKind.DELETE}\n label=\"Delete\"\n />\n <SpsSplitButton\n className=\"mr-1 mb-1\"\n icon={SpsIcon.PLUS_SIGN}\n disabled\n label=\"Disabled\"\n />\n </>\n "]))),
1558
1558
  },
1559
1559
  },
1560
1560
  },
@@ -1589,7 +1589,7 @@ var SpsButtonExamples = {
1589
1589
  React__namespace.createElement(NavigateTo, { to: "Content Row" }, "Content Row"),
1590
1590
  ".")));
1591
1591
  },
1592
- jsx: utils.code(templateObject_10$7 || (templateObject_10$7 = __makeTemplateObject(["\n <SpsDropdown\n className=\"mr-1 mb-1\"\n kind={ButtonKind.ICON}\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")]]}\n />\n "], ["\n <SpsDropdown\n className=\"mr-1 mb-1\"\n kind={ButtonKind.ICON}\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")]]}\n />\n "]))),
1592
+ jsx: utils.code(templateObject_10$8 || (templateObject_10$8 = __makeTemplateObject(["\n <SpsDropdown\n className=\"mr-1 mb-1\"\n kind={ButtonKind.ICON}\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")]]}\n />\n "], ["\n <SpsDropdown\n className=\"mr-1 mb-1\"\n kind={ButtonKind.ICON}\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")]]}\n />\n "]))),
1593
1593
  },
1594
1594
  spin: {
1595
1595
  description: 'Spinner',
@@ -1692,14 +1692,14 @@ var SpsButtonExamples = {
1692
1692
  },
1693
1693
  },
1694
1694
  };
1695
- var templateObject_1$P, templateObject_2$K, templateObject_3$C, templateObject_4$u, templateObject_5$m, templateObject_6$h, templateObject_7$e, templateObject_8$c, templateObject_9$a, templateObject_10$7, templateObject_11$6, templateObject_12$4, templateObject_13$4, templateObject_14$4, templateObject_15$3, templateObject_16$2, templateObject_17$1, templateObject_18$1, templateObject_19$1, templateObject_20$1, templateObject_21$1, templateObject_22$1;
1695
+ var templateObject_1$Q, templateObject_2$K, templateObject_3$C, templateObject_4$u, templateObject_5$m, templateObject_6$h, templateObject_7$e, templateObject_8$d, templateObject_9$a, templateObject_10$8, templateObject_11$6, templateObject_12$4, templateObject_13$4, templateObject_14$4, templateObject_15$3, templateObject_16$2, templateObject_17$1, templateObject_18$1, templateObject_19$1, templateObject_20$1, templateObject_21$1, templateObject_22$1;
1696
1696
 
1697
- var propsDoc$1m = {
1697
+ var propsDoc$1p = {
1698
1698
  content: 'ReactNodeLike',
1699
1699
  icon: 'SpsIcon',
1700
1700
  title: 'string',
1701
1701
  };
1702
- var propTypes$1q = __assign(__assign({}, spsGlobalPropTypes), { content: PropTypes.node, icon: enumValue(dsShared.SpsIcon), title: PropTypes.string });
1702
+ var propTypes$1t = __assign(__assign({}, spsGlobalPropTypes), { content: PropTypes.node, icon: enumValue(dsShared.SpsIcon), title: PropTypes.string });
1703
1703
  function SpsCardHeader(props) {
1704
1704
  var content = props.content, className = props.className, icon = props.icon, title = props.title; props["data-testid"]; var unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["content", "className", "icon", "title", 'data-testid', "unsafelyReplaceClassName"]);
1705
1705
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-card__header', className);
@@ -1712,16 +1712,16 @@ function SpsCardHeader(props) {
1712
1712
  React__namespace.createElement("div", { className: "sps-card__header-content" }, content)));
1713
1713
  }
1714
1714
  Object.assign(SpsCardHeader, {
1715
- props: propsDoc$1m,
1716
- propTypes: propTypes$1q,
1715
+ props: propsDoc$1p,
1716
+ propTypes: propTypes$1t,
1717
1717
  displayName: 'SpsCardHeader',
1718
1718
  });
1719
1719
 
1720
- var propsDoc$1l = {
1720
+ var propsDoc$1o = {
1721
1721
  icon: 'SpsIcon',
1722
1722
  kind: 'TagKind',
1723
1723
  };
1724
- var propTypes$1p = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(dsShared.SpsIcon), kind: enumValue(dsShared.TagKind) });
1724
+ var propTypes$1s = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(dsShared.SpsIcon), kind: enumValue(dsShared.TagKind) });
1725
1725
  function SpsTag(props) {
1726
1726
  var children = props.children, className = props.className, icon = props.icon, _a = props.kind, kind = _a === void 0 ? dsShared.TagKind.DEFAULT : _a, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "icon", "kind", 'data-testid', "unsafelyReplaceClassName"]);
1727
1727
  var title = React__namespace.Children.toArray(children)
@@ -1733,12 +1733,12 @@ function SpsTag(props) {
1733
1733
  children));
1734
1734
  }
1735
1735
  Object.assign(SpsTag, {
1736
- props: propsDoc$1l,
1737
- propTypes: propTypes$1p,
1736
+ props: propsDoc$1o,
1737
+ propTypes: propTypes$1s,
1738
1738
  displayName: 'SpsTag',
1739
1739
  });
1740
1740
 
1741
- var propsDoc$1k = {
1741
+ var propsDoc$1n = {
1742
1742
  activateTab: 'Function',
1743
1743
  active: 'boolean',
1744
1744
  icon: 'SpsIcon',
@@ -1748,7 +1748,7 @@ var propsDoc$1k = {
1748
1748
  tagKind: 'TagKind',
1749
1749
  tagIcon: 'SpsIcon',
1750
1750
  };
1751
- var propTypes$1o = __assign(__assign({}, spsGlobalPropTypes), { activateTab: PropTypes.func, active: PropTypes.bool, icon: enumValue(dsShared.SpsIcon), label: PropTypes.string, index: PropTypes.number, tag: PropTypes.string, tagKind: enumValue(dsShared.TagKind), tagIcon: enumValue(dsShared.SpsIcon) });
1751
+ var propTypes$1r = __assign(__assign({}, spsGlobalPropTypes), { activateTab: PropTypes.func, active: PropTypes.bool, icon: enumValue(dsShared.SpsIcon), label: PropTypes.string, index: PropTypes.number, tag: PropTypes.string, tagKind: enumValue(dsShared.TagKind), tagIcon: enumValue(dsShared.SpsIcon) });
1752
1752
  function SpsCardTabbedPane(props) {
1753
1753
  var _this = this;
1754
1754
  var activateTab = props.activateTab, active = props.active, children = props.children, className = props.className, label = props.label, icon = props.icon, id = props.id, index = props.index, tag = props.tag, tagKind = props.tagKind, tagIcon = props.tagIcon; props["data-testid"]; var unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["activateTab", "active", "children", "className", "label", "icon", "id", "index", "tag", "tagKind", "tagIcon", 'data-testid', "unsafelyReplaceClassName"]);
@@ -1769,8 +1769,8 @@ function SpsCardTabbedPane(props) {
1769
1769
  tag && React__namespace.createElement(SpsTag, { kind: tagKind || dsShared.TagKind.KEY, icon: tagIcon }, tag)));
1770
1770
  }
1771
1771
  Object.assign(SpsCardTabbedPane, {
1772
- props: propsDoc$1k,
1773
- propTypes: propTypes$1o,
1772
+ props: propsDoc$1n,
1773
+ propTypes: propTypes$1r,
1774
1774
  displayName: 'SpsCardTabbedPane',
1775
1775
  });
1776
1776
 
@@ -1845,14 +1845,14 @@ function useTab$1(children, activeTab, isTabbedCard) {
1845
1845
  return [currentlyActiveTab, activateTab];
1846
1846
  }
1847
1847
 
1848
- var propsDoc$1j = {
1848
+ var propsDoc$1m = {
1849
1849
  activeTab: 'string',
1850
1850
  footer: 'ReactNodeOrRenderFn',
1851
1851
  headerContent: 'ReactNodeOrRenderFn',
1852
1852
  headerIcon: 'SpsIcon',
1853
1853
  headerTitle: 'string',
1854
1854
  };
1855
- var propTypes$1n = __assign(__assign({}, spsGlobalPropTypes), { activeTab: PropTypes.string, footer: nodeOrRenderFn, headerContent: nodeOrRenderFn, headerIcon: enumValue(dsShared.SpsIcon), headerTitle: PropTypes.string });
1855
+ var propTypes$1q = __assign(__assign({}, spsGlobalPropTypes), { activeTab: PropTypes.string, footer: nodeOrRenderFn, headerContent: nodeOrRenderFn, headerIcon: enumValue(dsShared.SpsIcon), headerTitle: PropTypes.string });
1856
1856
  function SpsCard(props) {
1857
1857
  React__namespace.useEffect(function () {
1858
1858
  console.log([
@@ -1883,8 +1883,8 @@ function SpsCard(props) {
1883
1883
  footer && (React__namespace.createElement("div", { className: "sps-card__footer", "data-testid": testId + "__footer" }, contentOf(footer)))));
1884
1884
  }
1885
1885
  Object.assign(SpsCard, {
1886
- props: propsDoc$1j,
1887
- propTypes: propTypes$1n,
1886
+ props: propsDoc$1m,
1887
+ propTypes: propTypes$1q,
1888
1888
  displayName: 'SpsCard',
1889
1889
  });
1890
1890
 
@@ -1894,7 +1894,7 @@ var SpsCardExamples = {
1894
1894
  description: '<p>Basic Cards can include any type of content, such as tables, forms, description lists, or general copy</p>',
1895
1895
  examples: {
1896
1896
  basic: {
1897
- jsx: utils.code(templateObject_1$O || (templateObject_1$O = __makeTemplateObject(["\n <SpsCardV2>\n <p>Plain card.</p>\n </SpsCardV2>\n "], ["\n <SpsCardV2>\n <p>Plain card.</p>\n </SpsCardV2>\n "]))),
1897
+ jsx: utils.code(templateObject_1$P || (templateObject_1$P = __makeTemplateObject(["\n <SpsCardV2>\n <p>Plain card.</p>\n </SpsCardV2>\n "], ["\n <SpsCardV2>\n <p>Plain card.</p>\n </SpsCardV2>\n "]))),
1898
1898
  },
1899
1899
  sections: {
1900
1900
  jsx: utils.code(templateObject_2$J || (templateObject_2$J = __makeTemplateObject(["\n <SpsCardV2>\n <section>\n <h3>Description</h3>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt\n ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco\n laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in\n voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat\n non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n </p>\n </section>\n <section>\n <h3>Usage Guidelines</h3>\n <p>\n Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque\n laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi\n architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit\n aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione\n voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet,\n consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et\n dolore magnam aliquam quaerat voluptatem.\n </p>\n </section>\n </SpsCardV2>\n "], ["\n <SpsCardV2>\n <section>\n <h3>Description</h3>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt\n ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco\n laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in\n voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat\n non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\n </p>\n </section>\n <section>\n <h3>Usage Guidelines</h3>\n <p>\n Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque\n laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi\n architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit\n aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione\n voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet,\n consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et\n dolore magnam aliquam quaerat voluptatem.\n </p>\n </section>\n </SpsCardV2>\n "]))),
@@ -1927,7 +1927,7 @@ var SpsCardExamples = {
1927
1927
  jsx: utils.code(templateObject_7$d || (templateObject_7$d = __makeTemplateObject(["\n <SpsCardV2>\n <p>Card with footer.</p>\n <SpsCardV2Footer>Footer</SpsCardV2Footer>\n </SpsCardV2>\n "], ["\n <SpsCardV2>\n <p>Card with footer.</p>\n <SpsCardV2Footer>Footer</SpsCardV2Footer>\n </SpsCardV2>\n "]))),
1928
1928
  },
1929
1929
  gridFooter: {
1930
- jsx: utils.code(templateObject_8$b || (templateObject_8$b = __makeTemplateObject(["\n <SpsCardV2>\n <p>Card content</p>\n <SpsCardV2Footer className=\"sfg-row\">\n <div className=\"sfg-col-6\">\n Footer Content\n </div>\n <div className=\"sfg-col-6 text-right\">\n More Footer Content\n </div>\n </SpsCardV2Footer>\n </SpsCardV2>\n "], ["\n <SpsCardV2>\n <p>Card content</p>\n <SpsCardV2Footer className=\"sfg-row\">\n <div className=\"sfg-col-6\">\n Footer Content\n </div>\n <div className=\"sfg-col-6 text-right\">\n More Footer Content\n </div>\n </SpsCardV2Footer>\n </SpsCardV2>\n "]))),
1930
+ jsx: utils.code(templateObject_8$c || (templateObject_8$c = __makeTemplateObject(["\n <SpsCardV2>\n <p>Card content</p>\n <SpsCardV2Footer className=\"sfg-row\">\n <div className=\"sfg-col-6\">\n Footer Content\n </div>\n <div className=\"sfg-col-6 text-right\">\n More Footer Content\n </div>\n </SpsCardV2Footer>\n </SpsCardV2>\n "], ["\n <SpsCardV2>\n <p>Card content</p>\n <SpsCardV2Footer className=\"sfg-row\">\n <div className=\"sfg-col-6\">\n Footer Content\n </div>\n <div className=\"sfg-col-6 text-right\">\n More Footer Content\n </div>\n </SpsCardV2Footer>\n </SpsCardV2>\n "]))),
1931
1931
  },
1932
1932
  footerAndHeader: {
1933
1933
  jsx: utils.code(templateObject_9$9 || (templateObject_9$9 = __makeTemplateObject(["\n <SpsCardV2>\n <SpsCardV2Header>\n <SpsCardV2Title>Card Title</SpsCardV2Title>\n </SpsCardV2Header>\n <p>Card with header and footer.</p>\n <SpsCardV2Footer>Footer</SpsCardV2Footer>\n </SpsCardV2>\n "], ["\n <SpsCardV2>\n <SpsCardV2Header>\n <SpsCardV2Title>Card Title</SpsCardV2Title>\n </SpsCardV2Header>\n <p>Card with header and footer.</p>\n <SpsCardV2Footer>Footer</SpsCardV2Footer>\n </SpsCardV2>\n "]))),
@@ -1936,7 +1936,7 @@ var SpsCardExamples = {
1936
1936
  },
1937
1937
  tabbed: {
1938
1938
  label: 'Card + Tabs',
1939
- description: utils.code(templateObject_10$6 || (templateObject_10$6 = __makeTemplateObject(["\n <p>Multiple cards can be combined into a single view with the use of tabs.</p>\n <ul>\n <li>\n The content displayed in the Card below should be different for each tab\n </li>\n <li>\n The content in each tab should have a relationship or association to one\n another\n </li>\n </ul>\n <p>\n <code>&lt;Item&gt;</code> comes from the <code>@react-stately/collections</code>\n package, which is a peer dependency of our React components.\n </p>\n "], ["\n <p>Multiple cards can be combined into a single view with the use of tabs.</p>\n <ul>\n <li>\n The content displayed in the Card below should be different for each tab\n </li>\n <li>\n The content in each tab should have a relationship or association to one\n another\n </li>\n </ul>\n <p>\n <code>&lt;Item&gt;</code> comes from the <code>@react-stately/collections</code>\n package, which is a peer dependency of our React components.\n </p>\n "]))),
1939
+ description: utils.code(templateObject_10$7 || (templateObject_10$7 = __makeTemplateObject(["\n <p>Multiple cards can be combined into a single view with the use of tabs.</p>\n <ul>\n <li>\n The content displayed in the Card below should be different for each tab\n </li>\n <li>\n The content in each tab should have a relationship or association to one\n another\n </li>\n </ul>\n <p>\n <code>&lt;Item&gt;</code> comes from the <code>@react-stately/collections</code>\n package, which is a peer dependency of our React components.\n </p>\n "], ["\n <p>Multiple cards can be combined into a single view with the use of tabs.</p>\n <ul>\n <li>\n The content displayed in the Card below should be different for each tab\n </li>\n <li>\n The content in each tab should have a relationship or association to one\n another\n </li>\n </ul>\n <p>\n <code>&lt;Item&gt;</code> comes from the <code>@react-stately/collections</code>\n package, which is a peer dependency of our React components.\n </p>\n "]))),
1940
1940
  examples: {
1941
1941
  tabsOnly: {
1942
1942
  jsx: utils.code(templateObject_11$5 || (templateObject_11$5 = __makeTemplateObject(["\n <SpsCardV2>\n <SpsTabsV2>\n <Item\n key=\"tab1\"\n title={<>\n <SpsI icon={SpsIcon.CHART_PIE}/>\n <span>Tab 1</span>\n </>}\n >\n <p>Card with tabs, pane 1.</p>\n </Item>\n <Item key=\"tab2\" title=\"Tab 2\">\n <p>Card with tabs, pane 2.</p>\n </Item>\n <Item key=\"tab3\" title=\"Tab 3\">\n <p>Card with tabs, pane 3.</p>\n </Item>\n </SpsTabsV2>\n </SpsCardV2>\n "], ["\n <SpsCardV2>\n <SpsTabsV2>\n <Item\n key=\"tab1\"\n title={<>\n <SpsI icon={SpsIcon.CHART_PIE}/>\n <span>Tab 1</span>\n </>}\n >\n <p>Card with tabs, pane 1.</p>\n </Item>\n <Item key=\"tab2\" title=\"Tab 2\">\n <p>Card with tabs, pane 2.</p>\n </Item>\n <Item key=\"tab3\" title=\"Tab 3\">\n <p>Card with tabs, pane 3.</p>\n </Item>\n </SpsTabsV2>\n </SpsCardV2>\n "]))),
@@ -1956,9 +1956,9 @@ var SpsCardExamples = {
1956
1956
  },
1957
1957
  },
1958
1958
  };
1959
- var templateObject_1$O, templateObject_2$J, templateObject_3$B, templateObject_4$t, templateObject_5$l, templateObject_6$g, templateObject_7$d, templateObject_8$b, templateObject_9$9, templateObject_10$6, templateObject_11$5, templateObject_12$3, templateObject_13$3, templateObject_14$3, templateObject_15$2;
1959
+ var templateObject_1$P, templateObject_2$J, templateObject_3$B, templateObject_4$t, templateObject_5$l, templateObject_6$g, templateObject_7$d, templateObject_8$c, templateObject_9$9, templateObject_10$7, templateObject_11$5, templateObject_12$3, templateObject_13$3, templateObject_14$3, templateObject_15$2;
1960
1960
 
1961
- var propsDoc$1i = {
1961
+ var propsDoc$1l = {
1962
1962
  checked: 'boolean',
1963
1963
  disabled: 'boolean',
1964
1964
  formMeta: 'SpsFormFieldMeta<boolean>',
@@ -1967,7 +1967,7 @@ var propsDoc$1i = {
1967
1967
  label: 'string',
1968
1968
  onChange: 'ChangeEventHandler',
1969
1969
  };
1970
- var propTypes$1m = __assign(__assign({}, spsGlobalPropTypes), { checked: PropTypes.bool, disabled: PropTypes.bool, formControl: impl(), formMeta: impl(), indeterminate: PropTypes.bool, inline: PropTypes.bool, label: PropTypes.string, onChange: fun() });
1970
+ var propTypes$1p = __assign(__assign({}, spsGlobalPropTypes), { checked: PropTypes.bool, disabled: PropTypes.bool, formControl: impl(), formMeta: impl(), indeterminate: PropTypes.bool, inline: PropTypes.bool, label: PropTypes.string, onChange: fun() });
1971
1971
  function SpsCheckbox(_a) {
1972
1972
  var checkedProp = _a.checked, className = _a.className, disabled = _a.disabled, formControl = _a.formControl, formMeta = _a.formMeta, id = _a.id, indeterminateProp = _a.indeterminate, inline = _a.inline, label = _a.label, onChange = _a.onChange, testId = _a["data-testid"], unsafelyReplaceClassName = _a.unsafelyReplaceClassName, rest = __rest(_a, ["checked", "className", "disabled", "formControl", "formMeta", "id", "indeterminate", "inline", "label", "onChange", 'data-testid', "unsafelyReplaceClassName"]);
1973
1973
  var meta = formMeta || formControl;
@@ -1998,15 +1998,15 @@ function SpsCheckbox(_a) {
1998
1998
  React__namespace.createElement("label", { className: "sps-checkable__label", htmlFor: controlId }, label || '')));
1999
1999
  }
2000
2000
  Object.assign(SpsCheckbox, {
2001
- props: propsDoc$1i,
2002
- propTypes: propTypes$1m,
2001
+ props: propsDoc$1l,
2002
+ propTypes: propTypes$1p,
2003
2003
  displayName: 'SpsCheckbox',
2004
2004
  });
2005
2005
 
2006
2006
  var SpsCheckboxExamples = {
2007
2007
  labels: {
2008
2008
  label: 'Labels',
2009
- description: utils.code(templateObject_1$N || (templateObject_1$N = __makeTemplateObject(["\n <p>An individual checkbox should be labeled with its own <code>label</code> prop,\n not the <code>&lt;SpsLabel&gt;</code> component.</p>\n "], ["\n <p>An individual checkbox should be labeled with its own <code>label</code> prop,\n not the <code>&lt;SpsLabel&gt;</code> component.</p>\n "]))),
2009
+ description: utils.code(templateObject_1$O || (templateObject_1$O = __makeTemplateObject(["\n <p>An individual checkbox should be labeled with its own <code>label</code> prop,\n not the <code>&lt;SpsLabel&gt;</code> component.</p>\n "], ["\n <p>An individual checkbox should be labeled with its own <code>label</code> prop,\n not the <code>&lt;SpsLabel&gt;</code> component.</p>\n "]))),
2010
2010
  examples: {
2011
2011
  label: {
2012
2012
  react: utils.code(templateObject_2$I || (templateObject_2$I = __makeTemplateObject(["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n red: true,\n blue: false,\n green: false,\n })\n\n return <>\n <SpsCheckbox\n name=\"red\"\n label=\"Red\"\n checked={formValue.red}\n formMeta={formMeta.fields.red}\n />\n <SpsCheckbox\n name=\"blue\"\n label=\"Blue\"\n checked={formValue.blue}\n formMeta={formMeta.fields.blue}\n />\n <SpsCheckbox\n name=\"green\"\n label=\"Green\"\n checked={formValue.green}\n formMeta={formMeta.fields.green}\n indeterminate\n />\n </>\n }\n "], ["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n red: true,\n blue: false,\n green: false,\n })\n\n return <>\n <SpsCheckbox\n name=\"red\"\n label=\"Red\"\n checked={formValue.red}\n formMeta={formMeta.fields.red}\n />\n <SpsCheckbox\n name=\"blue\"\n label=\"Blue\"\n checked={formValue.blue}\n formMeta={formMeta.fields.blue}\n />\n <SpsCheckbox\n name=\"green\"\n label=\"Green\"\n checked={formValue.green}\n formMeta={formMeta.fields.green}\n indeterminate\n />\n </>\n }\n "]))),
@@ -2031,16 +2031,16 @@ var SpsCheckboxExamples = {
2031
2031
  },
2032
2032
  },
2033
2033
  };
2034
- var templateObject_1$N, templateObject_2$I, templateObject_3$A, templateObject_4$s, templateObject_5$k;
2034
+ var templateObject_1$O, templateObject_2$I, templateObject_3$A, templateObject_4$s, templateObject_5$k;
2035
2035
 
2036
- var propsDoc$1h = {
2036
+ var propsDoc$1k = {
2037
2037
  disabled: 'boolean',
2038
2038
  href: 'string',
2039
2039
  kind: 'ClickableTagKind',
2040
2040
  onAdd: '() => void',
2041
2041
  onRemove: '() => void',
2042
2042
  };
2043
- var propTypes$1l = __assign(__assign({}, spsGlobalPropTypes), { disabled: PropTypes.bool, href: PropTypes.string, kind: enumValue(dsShared.ClickableTagKind), onAdd: fun(), onRemove: fun() });
2043
+ var propTypes$1o = __assign(__assign({}, spsGlobalPropTypes), { disabled: PropTypes.bool, href: PropTypes.string, kind: enumValue(dsShared.ClickableTagKind), onAdd: fun(), onRemove: fun() });
2044
2044
  function SpsClickableTag(props) {
2045
2045
  var children = props.children, className = props.className, disabled = props.disabled, href = props.href, _a = props.kind, kind = _a === void 0 ? dsShared.ClickableTagKind.BLUE : _a, onAdd = props.onAdd, onRemove = props.onRemove, onClick = props.onClick, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "disabled", "href", "kind", "onAdd", "onRemove", "onClick", 'data-testid', "unsafelyReplaceClassName"]);
2046
2046
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-clickable-tag', "sps-clickable-tag--" + kind, className, disabled && 'sps-clickable-tag--disabled', (onAdd || onRemove) && 'sps-clickable-tag--icon');
@@ -2095,8 +2095,8 @@ function SpsMultiSelectTag(props) {
2095
2095
  return React__namespace.createElement(SpsClickableTag, __assign({}, clickableTagProps), children);
2096
2096
  }
2097
2097
  Object.assign(SpsClickableTag, {
2098
- props: propsDoc$1h,
2099
- propTypes: propTypes$1l,
2098
+ props: propsDoc$1k,
2099
+ propTypes: propTypes$1o,
2100
2100
  displayName: 'SpsClickableTag',
2101
2101
  });
2102
2102
 
@@ -2105,7 +2105,7 @@ var SpsClickableTagExamples = {
2105
2105
  label: 'Basic',
2106
2106
  examples: {
2107
2107
  basic: {
2108
- react: utils.code(templateObject_1$M || (templateObject_1$M = __makeTemplateObject(["\n import { SpsClickableTag } from \"@spscommerce/ds-react\";\n import { ClickableTagKind } from \"@spscommerce/ds-shared\";\n function Component() {\n return (\n <>\n <SpsClickableTag className=\"mt-1 ml-1\">Blue</SpsClickableTag>\n <SpsClickableTag className=\"mt-1 ml-1\" kind={ClickableTagKind.GRAY}>\n Gray\n </SpsClickableTag>\n </>\n );\n }\n "], ["\n import { SpsClickableTag } from \"@spscommerce/ds-react\";\n import { ClickableTagKind } from \"@spscommerce/ds-shared\";\n function Component() {\n return (\n <>\n <SpsClickableTag className=\"mt-1 ml-1\">Blue</SpsClickableTag>\n <SpsClickableTag className=\"mt-1 ml-1\" kind={ClickableTagKind.GRAY}>\n Gray\n </SpsClickableTag>\n </>\n );\n }\n "]))),
2108
+ react: utils.code(templateObject_1$N || (templateObject_1$N = __makeTemplateObject(["\n import { SpsClickableTag } from \"@spscommerce/ds-react\";\n import { ClickableTagKind } from \"@spscommerce/ds-shared\";\n function Component() {\n return (\n <>\n <SpsClickableTag className=\"mt-1 ml-1\">Blue</SpsClickableTag>\n <SpsClickableTag className=\"mt-1 ml-1\" kind={ClickableTagKind.GRAY}>\n Gray\n </SpsClickableTag>\n </>\n );\n }\n "], ["\n import { SpsClickableTag } from \"@spscommerce/ds-react\";\n import { ClickableTagKind } from \"@spscommerce/ds-shared\";\n function Component() {\n return (\n <>\n <SpsClickableTag className=\"mt-1 ml-1\">Blue</SpsClickableTag>\n <SpsClickableTag className=\"mt-1 ml-1\" kind={ClickableTagKind.GRAY}>\n Gray\n </SpsClickableTag>\n </>\n );\n }\n "]))),
2109
2109
  },
2110
2110
  disabled: {
2111
2111
  react: utils.code(templateObject_2$H || (templateObject_2$H = __makeTemplateObject(["\n import { SpsClickableTag } from \"@spscommerce/ds-react\";\n function Component() {\n return (\n <SpsClickableTag className=\"mt-1 ml-1\" disabled>\n Disabled\n </SpsClickableTag>\n );\n }\n "], ["\n import { SpsClickableTag } from \"@spscommerce/ds-react\";\n function Component() {\n return (\n <SpsClickableTag className=\"mt-1 ml-1\" disabled>\n Disabled\n </SpsClickableTag>\n );\n }\n "]))),
@@ -2135,9 +2135,9 @@ var SpsClickableTagExamples = {
2135
2135
  },
2136
2136
  },
2137
2137
  };
2138
- var templateObject_1$M, templateObject_2$H, templateObject_3$z, templateObject_4$r, templateObject_5$j, templateObject_6$f;
2138
+ var templateObject_1$N, templateObject_2$H, templateObject_3$z, templateObject_4$r, templateObject_5$j, templateObject_6$f;
2139
2139
 
2140
- var propsDoc$1g = {
2140
+ var propsDoc$1j = {
2141
2141
  index: 'number',
2142
2142
  key: 'string',
2143
2143
  columnId: 'string',
@@ -2146,7 +2146,7 @@ var propsDoc$1g = {
2146
2146
  onDelete: '(columnValue: string) => void',
2147
2147
  mandatory: 'boolean',
2148
2148
  };
2149
- var propTypes$1k = __assign(__assign({}, spsGlobalPropTypes), { index: PropTypes.number, key: PropTypes.string, columnId: PropTypes.string, name: PropTypes.string, value: PropTypes.string, onDelete: fun(), mandatory: PropTypes.bool });
2149
+ var propTypes$1n = __assign(__assign({}, spsGlobalPropTypes), { index: PropTypes.number, key: PropTypes.string, columnId: PropTypes.string, name: PropTypes.string, value: PropTypes.string, onDelete: fun(), mandatory: PropTypes.bool });
2150
2150
  function SpsColumnChooserColumn(props) {
2151
2151
  var index = props.index; props.key; var columnId = props.columnId, name = props.name, value = props.value, onDelete = props.onDelete, mandatory = props.mandatory, rest = __rest(props, ["index", "key", "columnId", "name", "value", "onDelete", "mandatory"]);
2152
2152
  var t = React__namespace.useContext(I18nContext).t;
@@ -2165,19 +2165,19 @@ function SpsColumnChooserColumn(props) {
2165
2165
  } })))))); }));
2166
2166
  }
2167
2167
  Object.assign(SpsColumnChooserColumn, {
2168
- props: propsDoc$1g,
2169
- propTypes: propTypes$1k,
2168
+ props: propsDoc$1j,
2169
+ propTypes: propTypes$1n,
2170
2170
  displayName: 'SpsColumnChooserColumn',
2171
2171
  });
2172
2172
 
2173
2173
  // TODO: Put English strings into i18n system
2174
- var propsDoc$1f = {
2174
+ var propsDoc$1i = {
2175
2175
  maxSelectedColumns: 'number',
2176
2176
  unselectedColumns: 'ColumnProps[]',
2177
2177
  selectedColumns: 'ColumnProps[]',
2178
2178
  onApplyChanges: '(selectedColumns: ColumnProps[]) => void',
2179
2179
  };
2180
- var propTypes$1j = __assign(__assign({}, spsGlobalPropTypes), { maxSelectedColumns: PropTypes.number, unselectedColumns: PropTypes.array, selectedColumns: PropTypes.array, onApplyChanges: fun() });
2180
+ var propTypes$1m = __assign(__assign({}, spsGlobalPropTypes), { maxSelectedColumns: PropTypes.number, unselectedColumns: PropTypes.array, selectedColumns: PropTypes.array, onApplyChanges: fun() });
2181
2181
  function SpsColumnChooser(props) {
2182
2182
  var unselectedColumns = props.unselectedColumns, selectedColumns = props.selectedColumns, maxSelectedColumns = props.maxSelectedColumns, onApplyChanges = props.onApplyChanges, className = props.className; props.unsafelyReplaceClassName; var rest = __rest(props, ["unselectedColumns", "selectedColumns", "maxSelectedColumns", "onApplyChanges", "className", "unsafelyReplaceClassName"]);
2183
2183
  var _a = __read(usePatchReducer({
@@ -2265,8 +2265,8 @@ function SpsColumnChooser(props) {
2265
2265
  provided.placeholder)); }))))));
2266
2266
  }
2267
2267
  Object.assign(SpsColumnChooser, {
2268
- props: propsDoc$1f,
2269
- propTypes: propTypes$1j,
2268
+ props: propsDoc$1i,
2269
+ propTypes: propTypes$1m,
2270
2270
  displayName: 'SpsColumnChooser',
2271
2271
  });
2272
2272
 
@@ -2276,45 +2276,45 @@ var SpsColumnChooserExamples = {
2276
2276
  description: 'Column chooser component',
2277
2277
  examples: {
2278
2278
  basic: {
2279
- react: utils.code(templateObject_1$L || (templateObject_1$L = __makeTemplateObject(["\n function DemoComponent() {\n const unselectedCols = [\n { name: \"Red Fish\", value: \"Red\" },\n { name: \"Blue Fish\", value: \"Blue\" }\n ];\n const selectedCols = [\n { name: \"One Fish\", value: \"One\" },\n { name: \"Two Fish\", value: \"Two\" }\n ]\n return (\n <SpsColumnChooser\n unselectedColumns={unselectedCols}\n selectedColumns={selectedCols}\n onApplyChanges={(selectedColumns) => {console.log(selectedColumns)}}\n />\n );\n }\n "], ["\n function DemoComponent() {\n const unselectedCols = [\n { name: \"Red Fish\", value: \"Red\" },\n { name: \"Blue Fish\", value: \"Blue\" }\n ];\n const selectedCols = [\n { name: \"One Fish\", value: \"One\" },\n { name: \"Two Fish\", value: \"Two\" }\n ]\n return (\n <SpsColumnChooser\n unselectedColumns={unselectedCols}\n selectedColumns={selectedCols}\n onApplyChanges={(selectedColumns) => {console.log(selectedColumns)}}\n />\n );\n }\n "]))),
2279
+ react: utils.code(templateObject_1$M || (templateObject_1$M = __makeTemplateObject(["\n function DemoComponent() {\n const unselectedCols = [\n { name: \"Red Fish\", value: \"Red\" },\n { name: \"Blue Fish\", value: \"Blue\" }\n ];\n const selectedCols = [\n { name: \"One Fish\", value: \"One\" },\n { name: \"Two Fish\", value: \"Two\" }\n ]\n return (\n <SpsColumnChooser\n unselectedColumns={unselectedCols}\n selectedColumns={selectedCols}\n onApplyChanges={(selectedColumns) => {console.log(selectedColumns)}}\n />\n );\n }\n "], ["\n function DemoComponent() {\n const unselectedCols = [\n { name: \"Red Fish\", value: \"Red\" },\n { name: \"Blue Fish\", value: \"Blue\" }\n ];\n const selectedCols = [\n { name: \"One Fish\", value: \"One\" },\n { name: \"Two Fish\", value: \"Two\" }\n ]\n return (\n <SpsColumnChooser\n unselectedColumns={unselectedCols}\n selectedColumns={selectedCols}\n onApplyChanges={(selectedColumns) => {console.log(selectedColumns)}}\n />\n );\n }\n "]))),
2280
2280
  },
2281
2281
  },
2282
2282
  },
2283
2283
  };
2284
- var templateObject_1$L;
2284
+ var templateObject_1$M;
2285
2285
 
2286
- var propsDoc$1e = {
2286
+ var propsDoc$1h = {
2287
2287
  icon: { type: 'SpsIcon', required: true },
2288
2288
  size: 'SpsIconSize',
2289
2289
  };
2290
- var propTypes$1i = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(dsShared.SpsIcon).isRequired, size: enumValue(dsShared.SpsIconSize) });
2290
+ var propTypes$1l = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(dsShared.SpsIcon).isRequired, size: enumValue(dsShared.SpsIconSize) });
2291
2291
  function SpsIcon(props) {
2292
2292
  var className = props.className, testId = props["data-testid"], icon = props.icon, _a = props.size, size = _a === void 0 ? dsShared.SpsIconSize.MEDIUM : _a, unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["className", 'data-testid', "icon", "size", "unsafelyReplaceClassName"]);
2293
2293
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-icon', "sps-icon-" + icon, "sps-icon--" + size, className);
2294
2294
  return React__namespace.createElement("i", __assign({ className: classes, "aria-hidden": "true", "data-testid": testId }, rest));
2295
2295
  }
2296
2296
  Object.assign(SpsIcon, {
2297
- props: propsDoc$1e,
2298
- propTypes: propTypes$1i,
2297
+ props: propsDoc$1h,
2298
+ propTypes: propTypes$1l,
2299
2299
  displayName: 'SpsI',
2300
2300
  });
2301
2301
  function SpsI(props) {
2302
2302
  return React__namespace.createElement(SpsIcon, __assign({}, props));
2303
2303
  }
2304
2304
  Object.assign(SpsI, {
2305
- props: propsDoc$1e,
2306
- propTypes: propTypes$1i,
2305
+ props: propsDoc$1h,
2306
+ propTypes: propTypes$1l,
2307
2307
  displayName: 'SpsI',
2308
2308
  });
2309
2309
 
2310
- var propsDoc$1d = {
2310
+ var propsDoc$1g = {
2311
2311
  borderless: 'boolean',
2312
2312
  lean: 'boolean',
2313
2313
  leaner: { type: 'boolean', deprecated: true },
2314
2314
  widthPx: 'number',
2315
2315
  widthRem: 'number',
2316
2316
  };
2317
- var propTypes$1h = __assign(__assign({}, spsGlobalPropTypes), { borderless: PropTypes.bool, lean: PropTypes.bool, leaner: PropTypes.bool, widthPx: PropTypes.number, widthRem: PropTypes.number });
2317
+ var propTypes$1k = __assign(__assign({}, spsGlobalPropTypes), { borderless: PropTypes.bool, lean: PropTypes.bool, leaner: PropTypes.bool, widthPx: PropTypes.number, widthRem: PropTypes.number });
2318
2318
  function SpsContentRowCol(props) {
2319
2319
  var borderless = props.borderless, children = props.children; props.className; var lean = props.lean, leaner = props.leaner, style = props.style, unsafelyReplaceClassName = props.unsafelyReplaceClassName, widthPx = props.widthPx, widthRem = props.widthRem, rest = __rest(props, ["borderless", "children", "className", "lean", "leaner", "style", "unsafelyReplaceClassName", "widthPx", "widthRem"]);
2320
2320
  React__namespace.useEffect(function () {
@@ -2334,25 +2334,25 @@ function SpsContentRowCol(props) {
2334
2334
  return (React__namespace.createElement("div", __assign({}, rest, { className: classes, style: inlineStyles }), children));
2335
2335
  }
2336
2336
  Object.assign(SpsContentRowCol, {
2337
- props: propsDoc$1d,
2338
- propTypes: propTypes$1h,
2337
+ props: propsDoc$1g,
2338
+ propTypes: propTypes$1k,
2339
2339
  displayName: 'SpsContentRowCol',
2340
2340
  });
2341
2341
 
2342
- var propsDoc$1c = {};
2343
- var propTypes$1g = __assign({}, spsGlobalPropTypes);
2342
+ var propsDoc$1f = {};
2343
+ var propTypes$1j = __assign({}, spsGlobalPropTypes);
2344
2344
  function SpsContentRowExpansion(props) {
2345
2345
  var children = props.children, className = props.className, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", 'data-testid', "unsafelyReplaceClassName"]);
2346
2346
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-content-row__expansion', className);
2347
2347
  return (React__namespace.createElement("div", __assign({ className: classes }, rest, { "data-testid": testId + "__expansion" }), children));
2348
2348
  }
2349
2349
  Object.assign(SpsContentRowExpansion, {
2350
- props: propsDoc$1c,
2351
- propTypes: propTypes$1g,
2350
+ props: propsDoc$1f,
2351
+ propTypes: propTypes$1j,
2352
2352
  displayName: 'SpsContentRowExpansion',
2353
2353
  });
2354
2354
 
2355
- var propsDoc$1b = {
2355
+ var propsDoc$1e = {
2356
2356
  alternateLayout: 'boolean',
2357
2357
  initiallyExpanded: 'boolean',
2358
2358
  cardSpacing: 'boolean',
@@ -2364,7 +2364,7 @@ var propsDoc$1b = {
2364
2364
  selectable: 'boolean',
2365
2365
  selected: 'boolean',
2366
2366
  };
2367
- var propTypes$1f = __assign(__assign({}, spsGlobalPropTypes), { alternateLayout: PropTypes.bool, cardSpacing: PropTypes.bool, initiallyExpanded: PropTypes.bool, onBeforeCollapsed: fun(), onBeforeExpanded: fun(), onSelectionChange: fun(), onCollapsed: fun(), onExpanded: fun(), selectable: PropTypes.bool, selected: PropTypes.bool });
2367
+ var propTypes$1i = __assign(__assign({}, spsGlobalPropTypes), { alternateLayout: PropTypes.bool, cardSpacing: PropTypes.bool, initiallyExpanded: PropTypes.bool, onBeforeCollapsed: fun(), onBeforeExpanded: fun(), onSelectionChange: fun(), onCollapsed: fun(), onExpanded: fun(), selectable: PropTypes.bool, selected: PropTypes.bool });
2368
2368
  function SpsContentRow(props) {
2369
2369
  var _a = props.alternateLayout, alternateLayout = _a === void 0 ? false : _a, children = props.children, className = props.className, onBeforeCollapsed = props.onBeforeCollapsed, onBeforeExpanded = props.onBeforeExpanded, onSelectionChange = props.onSelectionChange, onCollapsed = props.onCollapsed, onExpanded = props.onExpanded, _b = props.initiallyExpanded, initiallyExpanded = _b === void 0 ? false : _b, _c = props.cardSpacing, cardSpacing = _c === void 0 ? false : _c, _d = props.selectable, selectable = _d === void 0 ? false : _d, selected = props.selected, unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["alternateLayout", "children", "className", "onBeforeCollapsed", "onBeforeExpanded", "onSelectionChange", "onCollapsed", "onExpanded", "initiallyExpanded", "cardSpacing", "selectable", "selected", "unsafelyReplaceClassName"]);
2370
2370
  var t = React__namespace.useContext(I18nContext).t;
@@ -2407,8 +2407,8 @@ function SpsContentRow(props) {
2407
2407
  expansion));
2408
2408
  }
2409
2409
  Object.assign(SpsContentRow, {
2410
- props: propsDoc$1b,
2411
- propTypes: propTypes$1f,
2410
+ props: propsDoc$1e,
2411
+ propTypes: propTypes$1i,
2412
2412
  displayName: 'SpsContentRow',
2413
2413
  });
2414
2414
 
@@ -2417,7 +2417,7 @@ var SpsContentRowExamples = {
2417
2417
  label: 'Content rows',
2418
2418
  examples: {
2419
2419
  basic: {
2420
- react: utils.code(templateObject_1$K || (templateObject_1$K = __makeTemplateObject(["\n function DemoComponent() {\n return (\n <SpsContentRow>\n <SpsContentRowCol>\n <SpsI icon={SpsIcon.STATUS_IN_PROCESS} size={SpsIconSize.LARGE} className=\"mr-2\" />\n <a href=\"#\" className=\"fs-14\">3532379</a>\n </SpsContentRowCol>\n <SpsContentRowCol widthPx={150}>\n May 23, 2018 @ 4:38 PM\n </SpsContentRowCol>\n </SpsContentRow>\n )\n }\n "], ["\n function DemoComponent() {\n return (\n <SpsContentRow>\n <SpsContentRowCol>\n <SpsI icon={SpsIcon.STATUS_IN_PROCESS} size={SpsIconSize.LARGE} className=\"mr-2\" />\n <a href=\"#\" className=\"fs-14\">3532379</a>\n </SpsContentRowCol>\n <SpsContentRowCol widthPx={150}>\n May 23, 2018 @ 4:38 PM\n </SpsContentRowCol>\n </SpsContentRow>\n )\n }\n "]))),
2420
+ react: utils.code(templateObject_1$L || (templateObject_1$L = __makeTemplateObject(["\n function DemoComponent() {\n return (\n <SpsContentRow>\n <SpsContentRowCol>\n <SpsI icon={SpsIcon.STATUS_IN_PROCESS} size={SpsIconSize.LARGE} className=\"mr-2\" />\n <a href=\"#\" className=\"fs-14\">3532379</a>\n </SpsContentRowCol>\n <SpsContentRowCol widthPx={150}>\n May 23, 2018 @ 4:38 PM\n </SpsContentRowCol>\n </SpsContentRow>\n )\n }\n "], ["\n function DemoComponent() {\n return (\n <SpsContentRow>\n <SpsContentRowCol>\n <SpsI icon={SpsIcon.STATUS_IN_PROCESS} size={SpsIconSize.LARGE} className=\"mr-2\" />\n <a href=\"#\" className=\"fs-14\">3532379</a>\n </SpsContentRowCol>\n <SpsContentRowCol widthPx={150}>\n May 23, 2018 @ 4:38 PM\n </SpsContentRowCol>\n </SpsContentRow>\n )\n }\n "]))),
2421
2421
  },
2422
2422
  withCheckbox: {
2423
2423
  react: utils.code(templateObject_2$G || (templateObject_2$G = __makeTemplateObject(["\n function DemoComponent() {\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n selected: false\n });\n\n function selectRow() {\n updateForm({ selected: !formValue.selected })\n }\n\n return (\n <>\n <SpsContentRow\n selectable\n selected={formValue.selected}\n onSelect={selectRow}\n >\n <SpsContentRowCol>\n <SpsI icon={SpsIcon.STATUS_IN_PROCESS} size={SpsIconSize.LARGE} className=\"mr-2\" />\n <a href=\"#\" className=\"fs-14\">3532379</a>\n </SpsContentRowCol>\n <SpsContentRowCol widthPx={150}>\n May 23, 2018 @ 4:38 PM\n </SpsContentRowCol>\n </SpsContentRow>\n </>\n )\n }\n "], ["\n function DemoComponent() {\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n selected: false\n });\n\n function selectRow() {\n updateForm({ selected: !formValue.selected })\n }\n\n return (\n <>\n <SpsContentRow\n selectable\n selected={formValue.selected}\n onSelect={selectRow}\n >\n <SpsContentRowCol>\n <SpsI icon={SpsIcon.STATUS_IN_PROCESS} size={SpsIconSize.LARGE} className=\"mr-2\" />\n <a href=\"#\" className=\"fs-14\">3532379</a>\n </SpsContentRowCol>\n <SpsContentRowCol widthPx={150}>\n May 23, 2018 @ 4:38 PM\n </SpsContentRowCol>\n </SpsContentRow>\n </>\n )\n }\n "]))),
@@ -2443,7 +2443,7 @@ var SpsContentRowExamples = {
2443
2443
  react: utils.code(templateObject_7$c || (templateObject_7$c = __makeTemplateObject(["\n function DemoComponent() {\n\n const { formValue, formMeta, updateForm } = useSpsForm({ selected: false });\n\n function selectRow() {\n updateForm({ selected: !formValue.selected })\n }\n\n return (\n <>\n <SpsContentRow\n selectable\n selected={formValue.selected}\n onSelect={selectRow}\n >\n <SpsContentRowCol style={{ width: \"2.9rem\" }}>\n <SpsI\n className=\"blue200\"\n icon={SpsIcon.STAR}\n />\n </SpsContentRowCol>\n <SpsContentRowCol>\n <SpsI icon={SpsIcon.STATUS_IN_PROCESS} size={SpsIconSize.LARGE} className=\"mr-2\" />\n <a href=\"#\" className=\"fs-14\">3532379</a>\n </SpsContentRowCol>\n <SpsContentRowCol widthPx={150}>\n May 23, 2018 @ 4:38 PM\n </SpsContentRowCol>\n <SpsContentRowExpansion>\n <SpsCard>\n <br />\n <br />\n <br />\n <br />\n Additional content\n <br />\n <br />\n <br />\n <br />\n </SpsCard>\n </SpsContentRowExpansion>\n </SpsContentRow>\n </>\n )\n }\n "], ["\n function DemoComponent() {\n\n const { formValue, formMeta, updateForm } = useSpsForm({ selected: false });\n\n function selectRow() {\n updateForm({ selected: !formValue.selected })\n }\n\n return (\n <>\n <SpsContentRow\n selectable\n selected={formValue.selected}\n onSelect={selectRow}\n >\n <SpsContentRowCol style={{ width: \"2.9rem\" }}>\n <SpsI\n className=\"blue200\"\n icon={SpsIcon.STAR}\n />\n </SpsContentRowCol>\n <SpsContentRowCol>\n <SpsI icon={SpsIcon.STATUS_IN_PROCESS} size={SpsIconSize.LARGE} className=\"mr-2\" />\n <a href=\"#\" className=\"fs-14\">3532379</a>\n </SpsContentRowCol>\n <SpsContentRowCol widthPx={150}>\n May 23, 2018 @ 4:38 PM\n </SpsContentRowCol>\n <SpsContentRowExpansion>\n <SpsCard>\n <br />\n <br />\n <br />\n <br />\n Additional content\n <br />\n <br />\n <br />\n <br />\n </SpsCard>\n </SpsContentRowExpansion>\n </SpsContentRow>\n </>\n )\n }\n "]))),
2444
2444
  },
2445
2445
  expandableWithCheckboxAndFavoriteAlternate: {
2446
- react: utils.code(templateObject_8$a || (templateObject_8$a = __makeTemplateObject(["\n function DemoComponent() {\n\n const { formValue, formMeta, updateForm } = useSpsForm({ selected: false });\n\n function selectRow() {\n updateForm({ selected: !formValue.selected })\n }\n\n return (\n <>\n <SpsContentRow\n selectable\n selected={formValue.selected}\n onSelect={selectRow}\n alternateLayout\n >\n <SpsContentRowCol style={{ width: \"2.9rem\" }}>\n <SpsI\n className=\"gray300\"\n icon={SpsIcon.STAR}\n />\n </SpsContentRowCol>\n <SpsContentRowCol>\n <SpsI icon={SpsIcon.STATUS_IN_PROCESS} size={SpsIconSize.LARGE} className=\"mr-2\" />\n <a href=\"#\" className=\"fs-14\">3532379</a>\n </SpsContentRowCol>\n <SpsContentRowCol widthPx={150}>\n May 23, 2018 @ 4:38 PM\n </SpsContentRowCol>\n <SpsContentRowExpansion>\n <SpsCard>\n <br />\n <br />\n <br />\n <br />\n Additional content\n <br />\n <br />\n <br />\n <br />\n </SpsCard>\n </SpsContentRowExpansion>\n </SpsContentRow>\n </>\n )\n }\n "], ["\n function DemoComponent() {\n\n const { formValue, formMeta, updateForm } = useSpsForm({ selected: false });\n\n function selectRow() {\n updateForm({ selected: !formValue.selected })\n }\n\n return (\n <>\n <SpsContentRow\n selectable\n selected={formValue.selected}\n onSelect={selectRow}\n alternateLayout\n >\n <SpsContentRowCol style={{ width: \"2.9rem\" }}>\n <SpsI\n className=\"gray300\"\n icon={SpsIcon.STAR}\n />\n </SpsContentRowCol>\n <SpsContentRowCol>\n <SpsI icon={SpsIcon.STATUS_IN_PROCESS} size={SpsIconSize.LARGE} className=\"mr-2\" />\n <a href=\"#\" className=\"fs-14\">3532379</a>\n </SpsContentRowCol>\n <SpsContentRowCol widthPx={150}>\n May 23, 2018 @ 4:38 PM\n </SpsContentRowCol>\n <SpsContentRowExpansion>\n <SpsCard>\n <br />\n <br />\n <br />\n <br />\n Additional content\n <br />\n <br />\n <br />\n <br />\n </SpsCard>\n </SpsContentRowExpansion>\n </SpsContentRow>\n </>\n )\n }\n "]))),
2446
+ react: utils.code(templateObject_8$b || (templateObject_8$b = __makeTemplateObject(["\n function DemoComponent() {\n\n const { formValue, formMeta, updateForm } = useSpsForm({ selected: false });\n\n function selectRow() {\n updateForm({ selected: !formValue.selected })\n }\n\n return (\n <>\n <SpsContentRow\n selectable\n selected={formValue.selected}\n onSelect={selectRow}\n alternateLayout\n >\n <SpsContentRowCol style={{ width: \"2.9rem\" }}>\n <SpsI\n className=\"gray300\"\n icon={SpsIcon.STAR}\n />\n </SpsContentRowCol>\n <SpsContentRowCol>\n <SpsI icon={SpsIcon.STATUS_IN_PROCESS} size={SpsIconSize.LARGE} className=\"mr-2\" />\n <a href=\"#\" className=\"fs-14\">3532379</a>\n </SpsContentRowCol>\n <SpsContentRowCol widthPx={150}>\n May 23, 2018 @ 4:38 PM\n </SpsContentRowCol>\n <SpsContentRowExpansion>\n <SpsCard>\n <br />\n <br />\n <br />\n <br />\n Additional content\n <br />\n <br />\n <br />\n <br />\n </SpsCard>\n </SpsContentRowExpansion>\n </SpsContentRow>\n </>\n )\n }\n "], ["\n function DemoComponent() {\n\n const { formValue, formMeta, updateForm } = useSpsForm({ selected: false });\n\n function selectRow() {\n updateForm({ selected: !formValue.selected })\n }\n\n return (\n <>\n <SpsContentRow\n selectable\n selected={formValue.selected}\n onSelect={selectRow}\n alternateLayout\n >\n <SpsContentRowCol style={{ width: \"2.9rem\" }}>\n <SpsI\n className=\"gray300\"\n icon={SpsIcon.STAR}\n />\n </SpsContentRowCol>\n <SpsContentRowCol>\n <SpsI icon={SpsIcon.STATUS_IN_PROCESS} size={SpsIconSize.LARGE} className=\"mr-2\" />\n <a href=\"#\" className=\"fs-14\">3532379</a>\n </SpsContentRowCol>\n <SpsContentRowCol widthPx={150}>\n May 23, 2018 @ 4:38 PM\n </SpsContentRowCol>\n <SpsContentRowExpansion>\n <SpsCard>\n <br />\n <br />\n <br />\n <br />\n Additional content\n <br />\n <br />\n <br />\n <br />\n </SpsCard>\n </SpsContentRowExpansion>\n </SpsContentRow>\n </>\n )\n }\n "]))),
2447
2447
  },
2448
2448
  },
2449
2449
  },
@@ -2456,7 +2456,7 @@ var SpsContentRowExamples = {
2456
2456
  },
2457
2457
  },
2458
2458
  };
2459
- var templateObject_1$K, templateObject_2$G, templateObject_3$y, templateObject_4$q, templateObject_5$i, templateObject_6$e, templateObject_7$c, templateObject_8$a, templateObject_9$8;
2459
+ var templateObject_1$L, templateObject_2$G, templateObject_3$y, templateObject_4$q, templateObject_5$i, templateObject_6$e, templateObject_7$c, templateObject_8$b, templateObject_9$8;
2460
2460
 
2461
2461
  var moment$5 = moment__namespace.default || moment__namespace;
2462
2462
  function newWeekArray$1() {
@@ -2488,7 +2488,7 @@ function parse(value) {
2488
2488
  function weekOfMonth$1(date) {
2489
2489
  return Math.floor((date.clone().date(1).day() + date.date() - 1) / 7);
2490
2490
  }
2491
- var propsDoc$1a = {
2491
+ var propsDoc$1d = {
2492
2492
  disabled: 'boolean',
2493
2493
  format: 'string',
2494
2494
  maxDate: 'string',
@@ -2498,7 +2498,7 @@ var propsDoc$1a = {
2498
2498
  placeholder: 'string',
2499
2499
  value: 'string',
2500
2500
  };
2501
- var propTypes$1e = __assign(__assign({}, spsGlobalPropTypes), { disabled: PropTypes.bool, format: PropTypes.string, maxDate: PropTypes.string, minDate: PropTypes.string, onChange: fun(), onClickOutside: fun(), placeholder: PropTypes.string, value: PropTypes.string });
2501
+ var propTypes$1h = __assign(__assign({}, spsGlobalPropTypes), { disabled: PropTypes.bool, format: PropTypes.string, maxDate: PropTypes.string, minDate: PropTypes.string, onChange: fun(), onClickOutside: fun(), placeholder: PropTypes.string, value: PropTypes.string });
2502
2502
  function SpsDatepicker(props) {
2503
2503
  var className = props.className, disabled = props.disabled, _a = props.format, format = _a === void 0 ? moment$5.localeData().longDateFormat('MM/DD/YYYY') || 'MM/DD/YYYY' : _a, maxDate = props.maxDate, minDate = props.minDate, onChange = props.onChange, onClickOutside = props.onClickOutside, _b = props.placeholder, placeholder = _b === void 0 ? 'MM/DD/YYYY' : _b, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, value = props.value, id = props.id, rest = __rest(props, ["className", "disabled", "format", "maxDate", "minDate", "onChange", "onClickOutside", "placeholder", 'data-testid', "unsafelyReplaceClassName", "value", "id"]);
2504
2504
  var calendarRef = React__namespace.useRef();
@@ -2833,8 +2833,8 @@ function SpsDatepicker(props) {
2833
2833
  !disabled && (inputRef && inputRef.current && inputRef.current.value) && (React__namespace.createElement("i", { className: "sps-icon sps-icon-x-circle sps-form-control__clear-btn", onClick: handleClearClick }))))));
2834
2834
  }
2835
2835
  Object.assign(SpsDatepicker, {
2836
- props: propsDoc$1a,
2837
- propTypes: propTypes$1e,
2836
+ props: propsDoc$1d,
2837
+ propTypes: propTypes$1h,
2838
2838
  displayName: 'SpsDatepicker',
2839
2839
  });
2840
2840
 
@@ -2843,7 +2843,7 @@ var SpsDatepickerExamples = {
2843
2843
  label: 'Basic',
2844
2844
  examples: {
2845
2845
  basic: {
2846
- react: utils.code(templateObject_1$J || (templateObject_1$J = __makeTemplateObject(["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n date: { year: 2018, month: 10, date: 31 },\n }, {\n \"date\": [SpsValidators.date]\n });\n\n return (\n <div className=\"sfg-row\">\n <div className=\"sfg-col-3\">\n <SpsLabel for={formMeta.fields.date}>Date</SpsLabel>\n <SpsDatepickerV2\n value={formValue.date}\n formMeta={formMeta.fields.date}\n />\n </div>\n </div>\n );\n }\n "], ["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n date: { year: 2018, month: 10, date: 31 },\n }, {\n \"date\": [SpsValidators.date]\n });\n\n return (\n <div className=\"sfg-row\">\n <div className=\"sfg-col-3\">\n <SpsLabel for={formMeta.fields.date}>Date</SpsLabel>\n <SpsDatepickerV2\n value={formValue.date}\n formMeta={formMeta.fields.date}\n />\n </div>\n </div>\n );\n }\n "]))),
2846
+ react: utils.code(templateObject_1$K || (templateObject_1$K = __makeTemplateObject(["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n date: { year: 2018, month: 10, date: 31 },\n }, {\n \"date\": [SpsValidators.date]\n });\n\n return (\n <div className=\"sfg-row\">\n <div className=\"sfg-col-3\">\n <SpsLabel for={formMeta.fields.date}>Date</SpsLabel>\n <SpsDatepickerV2\n value={formValue.date}\n formMeta={formMeta.fields.date}\n />\n </div>\n </div>\n );\n }\n "], ["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n date: { year: 2018, month: 10, date: 31 },\n }, {\n \"date\": [SpsValidators.date]\n });\n\n return (\n <div className=\"sfg-row\">\n <div className=\"sfg-col-3\">\n <SpsLabel for={formMeta.fields.date}>Date</SpsLabel>\n <SpsDatepickerV2\n value={formValue.date}\n formMeta={formMeta.fields.date}\n />\n </div>\n </div>\n );\n }\n "]))),
2847
2847
  },
2848
2848
  },
2849
2849
  },
@@ -2864,9 +2864,9 @@ var SpsDatepickerExamples = {
2864
2864
  },
2865
2865
  },
2866
2866
  };
2867
- var templateObject_1$J, templateObject_2$F, templateObject_3$x;
2867
+ var templateObject_1$K, templateObject_2$F, templateObject_3$x;
2868
2868
 
2869
- var propsDoc$19 = {
2869
+ var propsDoc$1c = {
2870
2870
  placeholder: 'string',
2871
2871
  disabled: 'boolean',
2872
2872
  format: 'string',
@@ -2877,7 +2877,7 @@ var propsDoc$19 = {
2877
2877
  value: 'MomentRange',
2878
2878
  preset: 'Duration',
2879
2879
  };
2880
- var propTypes$1d = __assign(__assign({}, spsGlobalPropTypes), { placeholder: PropTypes.string, disabled: PropTypes.bool, format: PropTypes.string, minDate: PropTypes.string, maxDate: PropTypes.string, availablePresets: PropTypes.array, onChange: fun(), value: impl(), preset: impl() });
2880
+ var propTypes$1g = __assign(__assign({}, spsGlobalPropTypes), { placeholder: PropTypes.string, disabled: PropTypes.bool, format: PropTypes.string, minDate: PropTypes.string, maxDate: PropTypes.string, availablePresets: PropTypes.array, onChange: fun(), value: impl(), preset: impl() });
2881
2881
  function weekOfMonth(mmt) {
2882
2882
  return Math.floor((mmt.clone().date(1).day() + mmt.date() - 1) / 7);
2883
2883
  }
@@ -3451,8 +3451,8 @@ function SpsDateRangePicker(props) {
3451
3451
  (currentValue && currentValue.start && currentValue.end && !disabled) ? (React__namespace.createElement("i", { className: "sps-icon sps-icon-x-circle sps-form-control__clear-btn", onClick: clear })) : ''))));
3452
3452
  }
3453
3453
  Object.assign(SpsDateRangePicker, {
3454
- props: propsDoc$19,
3455
- propTypes: propTypes$1d,
3454
+ props: propsDoc$1c,
3455
+ propTypes: propTypes$1g,
3456
3456
  displayName: 'SpsDateRangePicker',
3457
3457
  });
3458
3458
 
@@ -3461,7 +3461,7 @@ var SpsDateRangePickerExamples = {
3461
3461
  label: 'Basic',
3462
3462
  examples: {
3463
3463
  basic: {
3464
- react: utils.code(templateObject_1$I || (templateObject_1$I = __makeTemplateObject(["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n dateRange: [\n { year: 2021, month: 4, date: 10 },\n { year: 2021, month: 4, date: 18 }\n ]\n }, {\n \"dateRange\": [SpsValidators.dateRange]\n });\n\n return (\n <div className=\"sfg-row\">\n <div className=\"sfg-col-3\">\n <SpsLabel for={formMeta.fields.dateRange}>Date</SpsLabel>\n <SpsDateRangePickerV2\n value={formValue.dateRange}\n formMeta={formMeta.fields.dateRange}\n />\n </div>\n </div>\n );\n }\n "], ["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n dateRange: [\n { year: 2021, month: 4, date: 10 },\n { year: 2021, month: 4, date: 18 }\n ]\n }, {\n \"dateRange\": [SpsValidators.dateRange]\n });\n\n return (\n <div className=\"sfg-row\">\n <div className=\"sfg-col-3\">\n <SpsLabel for={formMeta.fields.dateRange}>Date</SpsLabel>\n <SpsDateRangePickerV2\n value={formValue.dateRange}\n formMeta={formMeta.fields.dateRange}\n />\n </div>\n </div>\n );\n }\n "]))),
3464
+ react: utils.code(templateObject_1$J || (templateObject_1$J = __makeTemplateObject(["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n dateRange: [\n { year: 2021, month: 4, date: 10 },\n { year: 2021, month: 4, date: 18 }\n ]\n }, {\n \"dateRange\": [SpsValidators.dateRange]\n });\n\n return (\n <div className=\"sfg-row\">\n <div className=\"sfg-col-3\">\n <SpsLabel for={formMeta.fields.dateRange}>Date</SpsLabel>\n <SpsDateRangePickerV2\n value={formValue.dateRange}\n formMeta={formMeta.fields.dateRange}\n />\n </div>\n </div>\n );\n }\n "], ["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n dateRange: [\n { year: 2021, month: 4, date: 10 },\n { year: 2021, month: 4, date: 18 }\n ]\n }, {\n \"dateRange\": [SpsValidators.dateRange]\n });\n\n return (\n <div className=\"sfg-row\">\n <div className=\"sfg-col-3\">\n <SpsLabel for={formMeta.fields.dateRange}>Date</SpsLabel>\n <SpsDateRangePickerV2\n value={formValue.dateRange}\n formMeta={formMeta.fields.dateRange}\n />\n </div>\n </div>\n );\n }\n "]))),
3465
3465
  },
3466
3466
  },
3467
3467
  },
@@ -3491,7 +3491,7 @@ var SpsDateRangePickerExamples = {
3491
3491
  },
3492
3492
  },
3493
3493
  };
3494
- var templateObject_1$I, templateObject_2$E, templateObject_3$w, templateObject_4$p;
3494
+ var templateObject_1$J, templateObject_2$E, templateObject_3$w, templateObject_4$p;
3495
3495
 
3496
3496
  var currentLocale = moment__default['default'].locale();
3497
3497
  require('moment/locale/en-au');
@@ -3589,7 +3589,7 @@ var formatMaps = {
3589
3589
  LONG_FULLDATETIME: 'LLLL',
3590
3590
  LONG_FULLDATETIME_ZONE: 'LLLL z', // Monday February 29, 2016 3:03 PM CST
3591
3591
  };
3592
- var propsDoc$18 = {
3592
+ var propsDoc$1b = {
3593
3593
  currentUser: 'any',
3594
3594
  dateToFormat: 'string | Date',
3595
3595
  format: 'string',
@@ -3598,7 +3598,7 @@ var propsDoc$18 = {
3598
3598
  relativeHrs: 'number',
3599
3599
  tz: 'string',
3600
3600
  };
3601
- var propTypes$1c = __assign(__assign({}, spsGlobalPropTypes), { currentUser: PropTypes.any, dateToFormat: PropTypes.oneOfType([
3601
+ var propTypes$1f = __assign(__assign({}, spsGlobalPropTypes), { currentUser: PropTypes.any, dateToFormat: PropTypes.oneOfType([
3602
3602
  PropTypes.string,
3603
3603
  PropTypes.instanceOf(Date),
3604
3604
  ]), format: PropTypes.string, locale: PropTypes.string, relative: PropTypes.bool, relativeHrs: PropTypes.number, tz: PropTypes.string });
@@ -3655,8 +3655,8 @@ function SpsDateTime(props) {
3655
3655
  })));
3656
3656
  }
3657
3657
  Object.assign(SpsDateTime, {
3658
- props: propsDoc$18,
3659
- propTypes: propTypes$1c,
3658
+ props: propsDoc$1b,
3659
+ propTypes: propTypes$1f,
3660
3660
  displayName: 'SpsDateTime',
3661
3661
  });
3662
3662
 
@@ -3666,7 +3666,7 @@ var SpsDatetimeExamples = {
3666
3666
  description: '<p>Formats dates</p>',
3667
3667
  examples: {
3668
3668
  basicAttribute: {
3669
- jsx: utils.code(templateObject_1$H || (templateObject_1$H = __makeTemplateObject(["\n <SpsDateTime dateToFormat=\"2018-09-11T16:32:52.822000Z\" />\n "], ["\n <SpsDateTime dateToFormat=\"2018-09-11T16:32:52.822000Z\" />\n "]))),
3669
+ jsx: utils.code(templateObject_1$I || (templateObject_1$I = __makeTemplateObject(["\n <SpsDateTime dateToFormat=\"2018-09-11T16:32:52.822000Z\" />\n "], ["\n <SpsDateTime dateToFormat=\"2018-09-11T16:32:52.822000Z\" />\n "]))),
3670
3670
  },
3671
3671
  basicChild: {
3672
3672
  jsx: utils.code(templateObject_2$D || (templateObject_2$D = __makeTemplateObject(["\n <SpsDateTime>2018-09-11T16:32:52.822000Z</SpsDateTime>\n "], ["\n <SpsDateTime>2018-09-11T16:32:52.822000Z</SpsDateTime>\n "]))),
@@ -3674,14 +3674,14 @@ var SpsDatetimeExamples = {
3674
3674
  },
3675
3675
  },
3676
3676
  };
3677
- var templateObject_1$H, templateObject_2$D;
3677
+ var templateObject_1$I, templateObject_2$D;
3678
3678
 
3679
- var propsDoc$17 = {
3679
+ var propsDoc$1a = {
3680
3680
  compact: 'boolean',
3681
3681
  wideTerms: 'boolean',
3682
3682
  widerTerms: 'boolean',
3683
3683
  };
3684
- var propTypes$1b = __assign(__assign({}, spsGlobalPropTypes), { compact: PropTypes.bool, wideTerms: PropTypes.bool, widerTerms: PropTypes.bool });
3684
+ var propTypes$1e = __assign(__assign({}, spsGlobalPropTypes), { compact: PropTypes.bool, wideTerms: PropTypes.bool, widerTerms: PropTypes.bool });
3685
3685
  function SpsDescriptionList(props) {
3686
3686
  var children = props.children, className = props.className, _a = props.compact, compact = _a === void 0 ? false : _a, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, _b = props.wideTerms, wideTerms = _b === void 0 ? false : _b, _c = props.widerTerms, widerTerms = _c === void 0 ? false : _c, rest = __rest(props, ["children", "className", "compact", 'data-testid', "unsafelyReplaceClassName", "wideTerms", "widerTerms"]);
3687
3687
  /** holy shit this is awful. TODO: fix this garbage */
@@ -3703,37 +3703,37 @@ function SpsDescriptionList(props) {
3703
3703
  return (React__namespace.createElement("dl", __assign({ className: classes, "data-testid": "" + testId }, rest), childrenWithProps));
3704
3704
  }
3705
3705
  Object.assign(SpsDescriptionList, {
3706
- props: propsDoc$17,
3707
- propTypes: propTypes$1b,
3706
+ props: propsDoc$1a,
3707
+ propTypes: propTypes$1e,
3708
3708
  displayName: 'SpsDescriptionList / SpsDl',
3709
3709
  });
3710
3710
  function SpsDl(p) {
3711
3711
  return SpsDescriptionList(p);
3712
3712
  }
3713
3713
  Object.assign(SpsDl, {
3714
- props: propsDoc$17,
3715
- propTypes: propTypes$1b,
3714
+ props: propsDoc$1a,
3715
+ propTypes: propTypes$1e,
3716
3716
  displayName: 'SpsDescriptionList / SpsDl',
3717
3717
  });
3718
3718
 
3719
- var propsDoc$16 = {};
3720
- var propTypes$1a = __assign({}, spsGlobalPropTypes);
3719
+ var propsDoc$19 = {};
3720
+ var propTypes$1d = __assign({}, spsGlobalPropTypes);
3721
3721
  function SpsDescriptionListDefinition(props) {
3722
3722
  var children = props.children, className = props.className, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", 'data-testid', "unsafelyReplaceClassName"]);
3723
3723
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-description-list__definition', className);
3724
3724
  return (React__namespace.createElement("dd", __assign({ className: classes, "data-testid": "" + testId }, rest), children));
3725
3725
  }
3726
3726
  Object.assign(SpsDescriptionListDefinition, {
3727
- props: propsDoc$16,
3728
- propTypes: propTypes$1a,
3727
+ props: propsDoc$19,
3728
+ propTypes: propTypes$1d,
3729
3729
  displayName: 'SpsDescriptionListDefinition / SpsDd',
3730
3730
  });
3731
3731
  function SpsDd(p) {
3732
3732
  return SpsDescriptionListDefinition(p);
3733
3733
  }
3734
3734
  Object.assign(SpsDd, {
3735
- props: propsDoc$16,
3736
- propTypes: propTypes$1a,
3735
+ props: propsDoc$19,
3736
+ propTypes: propTypes$1d,
3737
3737
  displayName: 'SpsDescriptionListDefinition / SpsDd',
3738
3738
  });
3739
3739
 
@@ -3751,7 +3751,7 @@ function toggleTooltipState(state) {
3751
3751
  }
3752
3752
  var CARET_SPACING_PX = 13;
3753
3753
  var openTips = new Map();
3754
- var propsDoc$15 = {
3754
+ var propsDoc$18 = {
3755
3755
  for: { type: 'React.MutableRefObject<any> | string', required: true },
3756
3756
  hideDelay: 'number',
3757
3757
  isShown: 'TooltipVisibility',
@@ -3763,7 +3763,7 @@ var propsDoc$15 = {
3763
3763
  showOn: 'TooltipShowTrigger',
3764
3764
  title: 'string',
3765
3765
  };
3766
- var propTypes$19 = __assign(__assign({}, spsGlobalPropTypes), { for: PropTypes.oneOfType([ref(), PropTypes.string]).isRequired, hideDelay: PropTypes.number, isShown: enumValue(exports.TooltipVisibility), kind: enumValue(dsShared.TooltipKind), offsets: PropTypes.arrayOf(PropTypes.number), onDeferred: fun(), position: enumValue(dsShared.Position), altPosition: enumValue(dsShared.Position), showOn: enumValue(dsShared.TooltipShowTrigger), title: PropTypes.string });
3766
+ var propTypes$1c = __assign(__assign({}, spsGlobalPropTypes), { for: PropTypes.oneOfType([ref(), PropTypes.string]).isRequired, hideDelay: PropTypes.number, isShown: enumValue(exports.TooltipVisibility), kind: enumValue(dsShared.TooltipKind), offsets: PropTypes.arrayOf(PropTypes.number), onDeferred: fun(), position: enumValue(dsShared.Position), altPosition: enumValue(dsShared.Position), showOn: enumValue(dsShared.TooltipShowTrigger), title: PropTypes.string });
3767
3767
  function SpsTooltip(_a) {
3768
3768
  var children = _a.children, className = _a.className, forProp = _a.for, testId = _a["data-testid"], _b = _a.hideDelay, hideDelay = _b === void 0 ? dsShared.TOOLTIP_HIDE_DELAY_MS_DEFAULT : _b, isShown = _a.isShown, _c = _a.kind, kind = _c === void 0 ? dsShared.TooltipKind.DEFAULT : _c, _d = _a.offsets, offsets = _d === void 0 ? [0, 0] : _d, onDeferred = _a.onDeferred, _e = _a.position, position = _e === void 0 ? dsShared.Position.TOP_MIDDLE : _e, _f = _a.altPosition, altPosition = _f === void 0 ? flipPosition(position) : _f, _g = _a.showOn, showOn = _g === void 0 ? dsShared.TooltipShowTrigger.MOUSEOVER : _g, style = _a.style, title = _a.title, unsafelyReplaceClassName = _a.unsafelyReplaceClassName;
3769
3769
  var iref = React__namespace.useRef({
@@ -3921,19 +3921,19 @@ function SpsTooltip(_a) {
3921
3921
  React__namespace.createElement("span", { className: "sps-tooltip__caret" })));
3922
3922
  }
3923
3923
  Object.assign(SpsTooltip, {
3924
- props: propsDoc$15,
3925
- propTypes: propTypes$19,
3924
+ props: propsDoc$18,
3925
+ propTypes: propTypes$1c,
3926
3926
  displayName: 'SpsTooltip',
3927
3927
  });
3928
3928
 
3929
- var propsDoc$14 = {
3929
+ var propsDoc$17 = {
3930
3930
  error: 'boolean',
3931
3931
  errors: 'ReactNodeOrRenderFn',
3932
3932
  help: 'ReactNodeOrRenderFn',
3933
3933
  labelFor: 'SpsFormFieldMeta<any>',
3934
3934
  required: 'boolean',
3935
3935
  };
3936
- var propTypes$18 = __assign(__assign({}, spsGlobalPropTypes), { error: PropTypes.bool, errors: nodeOrRenderFn, help: nodeOrRenderFn, labelFor: PropTypes.oneOfType([
3936
+ var propTypes$1b = __assign(__assign({}, spsGlobalPropTypes), { error: PropTypes.bool, errors: nodeOrRenderFn, help: nodeOrRenderFn, labelFor: PropTypes.oneOfType([
3937
3937
  impl(),
3938
3938
  impl(),
3939
3939
  ]), required: PropTypes.bool });
@@ -3962,16 +3962,16 @@ function SpsDescriptionListTerm(props) {
3962
3962
  React__namespace.createElement(SpsTooltip, { kind: tipKind, for: dtElement, showOn: dsShared.TooltipShowTrigger.MANUAL, isShown: showTip }, contentOf(tipKind === dsShared.TooltipKind.ERROR ? errors : help))));
3963
3963
  }
3964
3964
  Object.assign(SpsDescriptionListTerm, {
3965
- props: propsDoc$14,
3966
- propTypes: propTypes$18,
3965
+ props: propsDoc$17,
3966
+ propTypes: propTypes$1b,
3967
3967
  displayName: 'SpsDescriptionListTerm / SpsDt',
3968
3968
  });
3969
3969
  function SpsDt(p) {
3970
3970
  return SpsDescriptionListTerm(p);
3971
3971
  }
3972
3972
  Object.assign(SpsDt, {
3973
- props: propsDoc$14,
3974
- propTypes: propTypes$18,
3973
+ props: propsDoc$17,
3974
+ propTypes: propTypes$1b,
3975
3975
  displayName: 'SpsDescriptionListTerm / SpsDt',
3976
3976
  });
3977
3977
 
@@ -3980,7 +3980,7 @@ var SpsDescriptionListExamples = {
3980
3980
  label: 'Basic Description List',
3981
3981
  examples: {
3982
3982
  basic: {
3983
- jsx: utils.code(templateObject_1$G || (templateObject_1$G = __makeTemplateObject(["\n <SpsDl>\n <SpsDt>Term 1</SpsDt>\n <SpsDd>Definition</SpsDd>\n <SpsDt>Term</SpsDt>\n <SpsDd>Definition</SpsDd>\n <SpsDt>\n Term that wraps to the next line cause it's got so dang much text in it.\n </SpsDt>\n <SpsDd>Definition</SpsDd>\n <SpsDt>Term</SpsDt>\n <SpsDd>\n Definition that has a LOOOOOOOOOOT of text in it.\n Definition that has a LOOOOOOOOOOT of text in it.\n </SpsDd>\n </SpsDl>\n "], ["\n <SpsDl>\n <SpsDt>Term 1</SpsDt>\n <SpsDd>Definition</SpsDd>\n <SpsDt>Term</SpsDt>\n <SpsDd>Definition</SpsDd>\n <SpsDt>\n Term that wraps to the next line cause it's got so dang much text in it.\n </SpsDt>\n <SpsDd>Definition</SpsDd>\n <SpsDt>Term</SpsDt>\n <SpsDd>\n Definition that has a LOOOOOOOOOOT of text in it.\n Definition that has a LOOOOOOOOOOT of text in it.\n </SpsDd>\n </SpsDl>\n "]))),
3983
+ jsx: utils.code(templateObject_1$H || (templateObject_1$H = __makeTemplateObject(["\n <SpsDl>\n <SpsDt>Term 1</SpsDt>\n <SpsDd>Definition</SpsDd>\n <SpsDt>Term</SpsDt>\n <SpsDd>Definition</SpsDd>\n <SpsDt>\n Term that wraps to the next line cause it's got so dang much text in it.\n </SpsDt>\n <SpsDd>Definition</SpsDd>\n <SpsDt>Term</SpsDt>\n <SpsDd>\n Definition that has a LOOOOOOOOOOT of text in it.\n Definition that has a LOOOOOOOOOOT of text in it.\n </SpsDd>\n </SpsDl>\n "], ["\n <SpsDl>\n <SpsDt>Term 1</SpsDt>\n <SpsDd>Definition</SpsDd>\n <SpsDt>Term</SpsDt>\n <SpsDd>Definition</SpsDd>\n <SpsDt>\n Term that wraps to the next line cause it's got so dang much text in it.\n </SpsDt>\n <SpsDd>Definition</SpsDd>\n <SpsDt>Term</SpsDt>\n <SpsDd>\n Definition that has a LOOOOOOOOOOT of text in it.\n Definition that has a LOOOOOOOOOOT of text in it.\n </SpsDd>\n </SpsDl>\n "]))),
3984
3984
  },
3985
3985
  dynamic: {
3986
3986
  react: utils.code(templateObject_2$C || (templateObject_2$C = __makeTemplateObject(["\n function DemoComponent() {\n const list = [\n { term: \"Term 1\", definition: \"Definition 1\" },\n { term: \"Term 2\", definition: \"Definition 2\" },\n { term: \"Term 3\", definition: \"Definition 3\" },\n ];\n\n return (\n <SpsDl>\n {list.map((item, i) => (\n <React.Fragment>\n <SpsDt>{item.term}</SpsDt>\n <SpsDd>{item.definition}</SpsDd>\n </React.Fragment>\n ))}\n </SpsDl>\n );\n }\n "], ["\n function DemoComponent() {\n const list = [\n { term: \"Term 1\", definition: \"Definition 1\" },\n { term: \"Term 2\", definition: \"Definition 2\" },\n { term: \"Term 3\", definition: \"Definition 3\" },\n ];\n\n return (\n <SpsDl>\n {list.map((item, i) => (\n <React.Fragment>\n <SpsDt>{item.term}</SpsDt>\n <SpsDd>{item.definition}</SpsDd>\n </React.Fragment>\n ))}\n </SpsDl>\n );\n }\n "]))),
@@ -4015,7 +4015,7 @@ var SpsDescriptionListExamples = {
4015
4015
  },
4016
4016
  },
4017
4017
  };
4018
- var templateObject_1$G, templateObject_2$C, templateObject_3$v, templateObject_4$o, templateObject_5$h, templateObject_6$d;
4018
+ var templateObject_1$H, templateObject_2$C, templateObject_3$v, templateObject_4$o, templateObject_5$h, templateObject_6$d;
4019
4019
 
4020
4020
  var SpsDropdownExamples = {
4021
4021
  labelled: {
@@ -4023,7 +4023,7 @@ var SpsDropdownExamples = {
4023
4023
  examples: {
4024
4024
  default: {
4025
4025
  description: '<h3> Default Dropdown</h3>',
4026
- react: utils.code(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["\n function SpsDropdownBasicDefault(props) {\n const [action, updateAction] = useSpsAction({\n label: \"Option B\"\n }, () => console.log(\"Option B\"));\n return (\n <SpsDropdown id=\"regular\" label=\"Dropdown\" options={[\n [{ label: \"Option A\" }, () => console.log(\"Option A\")],\n action,\n ]}/>\n );\n }\n "], ["\n function SpsDropdownBasicDefault(props) {\n const [action, updateAction] = useSpsAction({\n label: \"Option B\"\n }, () => console.log(\"Option B\"));\n return (\n <SpsDropdown id=\"regular\" label=\"Dropdown\" options={[\n [{ label: \"Option A\" }, () => console.log(\"Option A\")],\n action,\n ]}/>\n );\n }\n "]))),
4026
+ react: utils.code(templateObject_1$G || (templateObject_1$G = __makeTemplateObject(["\n function SpsDropdownBasicDefault(props) {\n const [action, updateAction] = useSpsAction({\n label: \"Option B\"\n }, () => console.log(\"Option B\"));\n return (\n <SpsDropdown id=\"regular\" label=\"Dropdown\" options={[\n [{ label: \"Option A\" }, () => console.log(\"Option A\")],\n action,\n ]}/>\n );\n }\n "], ["\n function SpsDropdownBasicDefault(props) {\n const [action, updateAction] = useSpsAction({\n label: \"Option B\"\n }, () => console.log(\"Option B\"));\n return (\n <SpsDropdown id=\"regular\" label=\"Dropdown\" options={[\n [{ label: \"Option A\" }, () => console.log(\"Option A\")],\n action,\n ]}/>\n );\n }\n "]))),
4027
4027
  },
4028
4028
  key: {
4029
4029
  description: '<h3> Key Dropdown</h3>',
@@ -4056,7 +4056,7 @@ var SpsDropdownExamples = {
4056
4056
  },
4057
4057
  delete: {
4058
4058
  description: '<h3> Delete Dropdown With Icon</h3>',
4059
- react: utils.code(templateObject_8$9 || (templateObject_8$9 = __makeTemplateObject(["\n function SpsDropdownWithIconDelete(props) {\n return (\n <SpsDropdown\n label=\"Dropdown\"\n kind=\"delete\"\n icon=\"trash\"\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")]]}\n />\n );\n }\n "], ["\n function SpsDropdownWithIconDelete(props) {\n return (\n <SpsDropdown\n label=\"Dropdown\"\n kind=\"delete\"\n icon=\"trash\"\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")]]}\n />\n );\n }\n "]))),
4059
+ react: utils.code(templateObject_8$a || (templateObject_8$a = __makeTemplateObject(["\n function SpsDropdownWithIconDelete(props) {\n return (\n <SpsDropdown\n label=\"Dropdown\"\n kind=\"delete\"\n icon=\"trash\"\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")]]}\n />\n );\n }\n "], ["\n function SpsDropdownWithIconDelete(props) {\n return (\n <SpsDropdown\n label=\"Dropdown\"\n kind=\"delete\"\n icon=\"trash\"\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")]]}\n />\n );\n }\n "]))),
4060
4060
  },
4061
4061
  },
4062
4062
  },
@@ -4069,7 +4069,7 @@ var SpsDropdownExamples = {
4069
4069
  },
4070
4070
  custom: {
4071
4071
  description: '<h3>Custom Icon</h3>',
4072
- react: utils.code(templateObject_10$5 || (templateObject_10$5 = __makeTemplateObject(["\n function SpsDropdownIconCustomIcon(props) {\n return (\n <SpsDropdown\n kind=\"icon\"\n icon=\"gear\"\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")]]}\n />\n );\n }\n "], ["\n function SpsDropdownIconCustomIcon(props) {\n return (\n <SpsDropdown\n kind=\"icon\"\n icon=\"gear\"\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")]]}\n />\n );\n }\n "]))),
4072
+ react: utils.code(templateObject_10$6 || (templateObject_10$6 = __makeTemplateObject(["\n function SpsDropdownIconCustomIcon(props) {\n return (\n <SpsDropdown\n kind=\"icon\"\n icon=\"gear\"\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")]]}\n />\n );\n }\n "], ["\n function SpsDropdownIconCustomIcon(props) {\n return (\n <SpsDropdown\n kind=\"icon\"\n icon=\"gear\"\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")]]}\n />\n );\n }\n "]))),
4073
4073
  },
4074
4074
  },
4075
4075
  },
@@ -4105,16 +4105,16 @@ var SpsDropdownExamples = {
4105
4105
  },
4106
4106
  },
4107
4107
  };
4108
- var templateObject_1$F, templateObject_2$B, templateObject_3$u, templateObject_4$n, templateObject_5$g, templateObject_6$c, templateObject_7$b, templateObject_8$9, templateObject_9$7, templateObject_10$5, templateObject_11$4, templateObject_12$2, templateObject_13$2, templateObject_14$2;
4108
+ var templateObject_1$G, templateObject_2$B, templateObject_3$u, templateObject_4$n, templateObject_5$g, templateObject_6$c, templateObject_7$b, templateObject_8$a, templateObject_9$7, templateObject_10$6, templateObject_11$4, templateObject_12$2, templateObject_13$2, templateObject_14$2;
4109
4109
 
4110
- var propsDoc$13 = {
4110
+ var propsDoc$16 = {
4111
4111
  checked: 'boolean',
4112
4112
  onChange: 'ChangeEventHandler',
4113
4113
  indeterminate: 'boolean',
4114
4114
  disabled: 'boolean',
4115
4115
  options: 'Array<SpsActionMethod | [SpsActionDescriptor, () => void]>',
4116
4116
  };
4117
- var propTypes$17 = __assign(__assign({}, spsGlobalPropTypes), { checked: PropTypes.bool, onChange: fun(), indeterminate: PropTypes.bool,
4117
+ var propTypes$1a = __assign(__assign({}, spsGlobalPropTypes), { checked: PropTypes.bool, onChange: fun(), indeterminate: PropTypes.bool,
4118
4118
  // the type arg to PropTypes.arrayOf<T>() here confuses eslint greatly
4119
4119
  /* eslint-disable */
4120
4120
  options: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.any])).isRequired,
@@ -4128,15 +4128,15 @@ function SpsCheckboxDropdown(props) {
4128
4128
  React__namespace.createElement(SpsDropdown, { disabled: disabled, options: options, icon: dsShared.SpsIcon.CHEVRON_DOWN })));
4129
4129
  }
4130
4130
  Object.assign(SpsCheckboxDropdown, {
4131
- props: propsDoc$13,
4132
- propTypes: propTypes$17,
4131
+ props: propsDoc$16,
4132
+ propTypes: propTypes$1a,
4133
4133
  displayName: 'SpsCheckboxDropdown',
4134
4134
  });
4135
4135
 
4136
- var propsDoc$12 = {
4136
+ var propsDoc$15 = {
4137
4137
  kind: 'FeedbackBlockKind',
4138
4138
  };
4139
- var propTypes$16 = __assign(__assign({}, spsGlobalPropTypes), { kind: enumValue(dsShared.FeedbackBlockKind) });
4139
+ var propTypes$19 = __assign(__assign({}, spsGlobalPropTypes), { kind: enumValue(dsShared.FeedbackBlockKind) });
4140
4140
  function SpsFeedbackBlock(props) {
4141
4141
  var children = props.children, className = props.className, _a = props.kind, kind = _a === void 0 ? dsShared.FeedbackBlockKind.TIP : _a, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "kind", 'data-testid', "unsafelyReplaceClassName"]);
4142
4142
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-feedback-block', "sps-feedback-block--" + kind, className);
@@ -4145,8 +4145,8 @@ function SpsFeedbackBlock(props) {
4145
4145
  React__namespace.createElement("span", { className: "sps-feedback-block__content", "data-testid": testId + "__text" }, children)));
4146
4146
  }
4147
4147
  Object.assign(SpsFeedbackBlock, {
4148
- props: propsDoc$12,
4149
- propTypes: propTypes$16,
4148
+ props: propsDoc$15,
4149
+ propTypes: propTypes$19,
4150
4150
  displayName: 'SpsFeedbackBlock',
4151
4151
  });
4152
4152
 
@@ -4157,7 +4157,7 @@ var SpsFeedbackBlockExamples = {
4157
4157
  examples: {
4158
4158
  error: {
4159
4159
  description: 'Error',
4160
- jsx: utils.code(templateObject_1$E || (templateObject_1$E = __makeTemplateObject(["\n <SpsFeedbackBlock kind={FeedbackBlockKind.ERROR}>\n We are experiencing difficulties communicating to the server. Please try again later.\n </SpsFeedbackBlock>\n "], ["\n <SpsFeedbackBlock kind={FeedbackBlockKind.ERROR}>\n We are experiencing difficulties communicating to the server. Please try again later.\n </SpsFeedbackBlock>\n "]))),
4160
+ jsx: utils.code(templateObject_1$F || (templateObject_1$F = __makeTemplateObject(["\n <SpsFeedbackBlock kind={FeedbackBlockKind.ERROR}>\n We are experiencing difficulties communicating to the server. Please try again later.\n </SpsFeedbackBlock>\n "], ["\n <SpsFeedbackBlock kind={FeedbackBlockKind.ERROR}>\n We are experiencing difficulties communicating to the server. Please try again later.\n </SpsFeedbackBlock>\n "]))),
4161
4161
  },
4162
4162
  info: {
4163
4163
  description: 'Information',
@@ -4191,7 +4191,7 @@ var SpsFeedbackBlockExamples = {
4191
4191
  },
4192
4192
  proTip: {
4193
4193
  description: 'Pro Tip',
4194
- jsx: utils.code(templateObject_8$8 || (templateObject_8$8 = __makeTemplateObject(["\n <SpsMicroBlock\n kind={FeedbackBlockKind.TIP}\n message=\"Tip: Click the Receive button to check for new transactions.\"\n />\n "], ["\n <SpsMicroBlock\n kind={FeedbackBlockKind.TIP}\n message=\"Tip: Click the Receive button to check for new transactions.\"\n />\n "]))),
4194
+ jsx: utils.code(templateObject_8$9 || (templateObject_8$9 = __makeTemplateObject(["\n <SpsMicroBlock\n kind={FeedbackBlockKind.TIP}\n message=\"Tip: Click the Receive button to check for new transactions.\"\n />\n "], ["\n <SpsMicroBlock\n kind={FeedbackBlockKind.TIP}\n message=\"Tip: Click the Receive button to check for new transactions.\"\n />\n "]))),
4195
4195
  },
4196
4196
  success: {
4197
4197
  description: 'Success',
@@ -4199,14 +4199,14 @@ var SpsFeedbackBlockExamples = {
4199
4199
  },
4200
4200
  warning: {
4201
4201
  description: 'Warning',
4202
- jsx: utils.code(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject(["\n <SpsMicroBlock\n kind={FeedbackBlockKind.WARNING}\n message=\"This order is missing a shipment date.\"\n />\n "], ["\n <SpsMicroBlock\n kind={FeedbackBlockKind.WARNING}\n message=\"This order is missing a shipment date.\"\n />\n "]))),
4202
+ jsx: utils.code(templateObject_10$5 || (templateObject_10$5 = __makeTemplateObject(["\n <SpsMicroBlock\n kind={FeedbackBlockKind.WARNING}\n message=\"This order is missing a shipment date.\"\n />\n "], ["\n <SpsMicroBlock\n kind={FeedbackBlockKind.WARNING}\n message=\"This order is missing a shipment date.\"\n />\n "]))),
4203
4203
  },
4204
4204
  },
4205
4205
  },
4206
4206
  };
4207
- var templateObject_1$E, templateObject_2$A, templateObject_3$t, templateObject_4$m, templateObject_5$f, templateObject_6$b, templateObject_7$a, templateObject_8$8, templateObject_9$6, templateObject_10$4;
4207
+ var templateObject_1$F, templateObject_2$A, templateObject_3$t, templateObject_4$m, templateObject_5$f, templateObject_6$b, templateObject_7$a, templateObject_8$9, templateObject_9$6, templateObject_10$5;
4208
4208
 
4209
- var propsDoc$11 = {
4209
+ var propsDoc$14 = {
4210
4210
  errors: 'ReactNodeOrRenderFn',
4211
4211
  formMeta: 'SpsFormSetMeta<any>',
4212
4212
  legend: 'string',
@@ -4215,7 +4215,7 @@ var propsDoc$11 = {
4215
4215
  onToggled: '(isEnabled: boolean) => void',
4216
4216
  tooltip: 'string',
4217
4217
  };
4218
- var propTypes$15 = __assign(__assign({}, spsGlobalPropTypes), { errors: nodeOrRenderFn, formArray: impl(), formGroup: impl(), formMeta: impl(), legend: PropTypes.string, optional: PropTypes.bool, enabled: PropTypes.bool, onToggled: fun(), tooltip: PropTypes.string });
4218
+ var propTypes$18 = __assign(__assign({}, spsGlobalPropTypes), { errors: nodeOrRenderFn, formArray: impl(), formGroup: impl(), formMeta: impl(), legend: PropTypes.string, optional: PropTypes.bool, enabled: PropTypes.bool, onToggled: fun(), tooltip: PropTypes.string });
4219
4219
  function SpsFieldset(_a) {
4220
4220
  var children = _a.children, className = _a.className, errors = _a.errors, formArray = _a.formArray, formGroup = _a.formGroup, formMeta = _a.formMeta, legend = _a.legend, unsafelyReplaceClassName = _a.unsafelyReplaceClassName, _b = _a.optional, optional = _b === void 0 ? false : _b, enabled = _a.enabled, onToggled = _a.onToggled, tooltip = _a.tooltip;
4221
4221
  var formControlSet = formGroup || formArray;
@@ -4265,8 +4265,8 @@ function SpsFieldset(_a) {
4265
4265
  children)));
4266
4266
  }
4267
4267
  Object.assign(SpsFieldset, {
4268
- props: propsDoc$11,
4269
- propTypes: propTypes$15,
4268
+ props: propsDoc$14,
4269
+ propTypes: propTypes$18,
4270
4270
  displayName: 'SpsFieldset',
4271
4271
  });
4272
4272
 
@@ -4276,7 +4276,7 @@ var SpsFieldsetExamples = {
4276
4276
  description: 'info about basic fieldsets',
4277
4277
  examples: {
4278
4278
  basic: {
4279
- react: utils.code(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n function DemoComponent() {\n const RADIO_OPTIONS = [\n { value: \"a\", label: \"Option A\" },\n { value: \"b\", label: \"Option B\" }\n ];\n const { formValue, formMeta, updateForm } = useSpsForm({\n myFieldset: {\n foo: \"\",\n bar: \"\",\n baz: RADIO_OPTIONS[0].value\n }\n });\n\n return <>\n <SpsFieldset formMeta={formMeta.fields.myFieldset} legend=\"Fieldset Legend\" tooltip=\"Add a Tooltip\">\n <div className=\"sfg-row\">\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.myFieldset.fields.foo}>Foo</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.myFieldset.fields.foo}\n value={formValue.myFieldset.foo}\n ></SpsTextInput>\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.myFieldset.fields.bar}>Bar</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.myFieldset.fields.bar}\n value={formValue.myFieldset.bar}\n ></SpsTextInput>\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.myFieldset.fields.baz}>Baz</SpsLabel>\n {RADIO_OPTIONS.map(option => (\n <SpsRadioButton key={option.value} name=\"baz\"\n label={option.label} value={option.value}\n formMeta={formMeta.fields.myFieldset.fields.baz}\n checked={formValue.myFieldset.baz === option.value}\n />\n ))}\n </div>\n </div>\n </SpsFieldset>\n </>\n }\n "], ["\n function DemoComponent() {\n const RADIO_OPTIONS = [\n { value: \"a\", label: \"Option A\" },\n { value: \"b\", label: \"Option B\" }\n ];\n const { formValue, formMeta, updateForm } = useSpsForm({\n myFieldset: {\n foo: \"\",\n bar: \"\",\n baz: RADIO_OPTIONS[0].value\n }\n });\n\n return <>\n <SpsFieldset formMeta={formMeta.fields.myFieldset} legend=\"Fieldset Legend\" tooltip=\"Add a Tooltip\">\n <div className=\"sfg-row\">\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.myFieldset.fields.foo}>Foo</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.myFieldset.fields.foo}\n value={formValue.myFieldset.foo}\n ></SpsTextInput>\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.myFieldset.fields.bar}>Bar</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.myFieldset.fields.bar}\n value={formValue.myFieldset.bar}\n ></SpsTextInput>\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.myFieldset.fields.baz}>Baz</SpsLabel>\n {RADIO_OPTIONS.map(option => (\n <SpsRadioButton key={option.value} name=\"baz\"\n label={option.label} value={option.value}\n formMeta={formMeta.fields.myFieldset.fields.baz}\n checked={formValue.myFieldset.baz === option.value}\n />\n ))}\n </div>\n </div>\n </SpsFieldset>\n </>\n }\n "]))),
4279
+ react: utils.code(templateObject_1$E || (templateObject_1$E = __makeTemplateObject(["\n function DemoComponent() {\n const RADIO_OPTIONS = [\n { value: \"a\", label: \"Option A\" },\n { value: \"b\", label: \"Option B\" }\n ];\n const { formValue, formMeta, updateForm } = useSpsForm({\n myFieldset: {\n foo: \"\",\n bar: \"\",\n baz: RADIO_OPTIONS[0].value\n }\n });\n\n return <>\n <SpsFieldset formMeta={formMeta.fields.myFieldset} legend=\"Fieldset Legend\" tooltip=\"Add a Tooltip\">\n <div className=\"sfg-row\">\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.myFieldset.fields.foo}>Foo</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.myFieldset.fields.foo}\n value={formValue.myFieldset.foo}\n ></SpsTextInput>\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.myFieldset.fields.bar}>Bar</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.myFieldset.fields.bar}\n value={formValue.myFieldset.bar}\n ></SpsTextInput>\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.myFieldset.fields.baz}>Baz</SpsLabel>\n {RADIO_OPTIONS.map(option => (\n <SpsRadioButton key={option.value} name=\"baz\"\n label={option.label} value={option.value}\n formMeta={formMeta.fields.myFieldset.fields.baz}\n checked={formValue.myFieldset.baz === option.value}\n />\n ))}\n </div>\n </div>\n </SpsFieldset>\n </>\n }\n "], ["\n function DemoComponent() {\n const RADIO_OPTIONS = [\n { value: \"a\", label: \"Option A\" },\n { value: \"b\", label: \"Option B\" }\n ];\n const { formValue, formMeta, updateForm } = useSpsForm({\n myFieldset: {\n foo: \"\",\n bar: \"\",\n baz: RADIO_OPTIONS[0].value\n }\n });\n\n return <>\n <SpsFieldset formMeta={formMeta.fields.myFieldset} legend=\"Fieldset Legend\" tooltip=\"Add a Tooltip\">\n <div className=\"sfg-row\">\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.myFieldset.fields.foo}>Foo</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.myFieldset.fields.foo}\n value={formValue.myFieldset.foo}\n ></SpsTextInput>\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.myFieldset.fields.bar}>Bar</SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.myFieldset.fields.bar}\n value={formValue.myFieldset.bar}\n ></SpsTextInput>\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.myFieldset.fields.baz}>Baz</SpsLabel>\n {RADIO_OPTIONS.map(option => (\n <SpsRadioButton key={option.value} name=\"baz\"\n label={option.label} value={option.value}\n formMeta={formMeta.fields.myFieldset.fields.baz}\n checked={formValue.myFieldset.baz === option.value}\n />\n ))}\n </div>\n </div>\n </SpsFieldset>\n </>\n }\n "]))),
4280
4280
  },
4281
4281
  },
4282
4282
  },
@@ -4317,10 +4317,10 @@ var SpsFieldsetExamples = {
4317
4317
  },
4318
4318
  },
4319
4319
  };
4320
- var templateObject_1$D, templateObject_2$z, templateObject_3$s, templateObject_4$l, templateObject_5$e;
4320
+ var templateObject_1$E, templateObject_2$z, templateObject_3$s, templateObject_4$l, templateObject_5$e;
4321
4321
 
4322
- var propsDoc$10 = {};
4323
- var propTypes$14 = __assign({}, spsGlobalPropTypes);
4322
+ var propsDoc$13 = {};
4323
+ var propTypes$17 = __assign({}, spsGlobalPropTypes);
4324
4324
  function SpsFocusedTaskActions(props) {
4325
4325
  var children = props.children, className = props.className, unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "unsafelyReplaceClassName"]);
4326
4326
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-list-action-bar-container', 'z-stratum-bar', className);
@@ -4329,17 +4329,17 @@ function SpsFocusedTaskActions(props) {
4329
4329
  React__namespace.createElement("div", { className: "sps-list-action-bar__actions" }, children))));
4330
4330
  }
4331
4331
  Object.assign(SpsFocusedTaskActions, {
4332
- props: propsDoc$10,
4333
- propTypes: propTypes$14,
4332
+ props: propsDoc$13,
4333
+ propTypes: propTypes$17,
4334
4334
  displayName: 'SpsFocusedTaskActions',
4335
4335
  });
4336
4336
 
4337
- var propsDoc$$ = {
4337
+ var propsDoc$12 = {
4338
4338
  fullWidth: 'boolean',
4339
4339
  isOpen: 'boolean',
4340
4340
  onClose: '() => void',
4341
4341
  };
4342
- var propTypes$13 = __assign(__assign({}, spsGlobalPropTypes), { fullWidth: PropTypes.bool, isOpen: PropTypes.bool, onClose: fun() });
4342
+ var propTypes$16 = __assign(__assign({}, spsGlobalPropTypes), { fullWidth: PropTypes.bool, isOpen: PropTypes.bool, onClose: fun() });
4343
4343
  function SpsFocusedTask(props) {
4344
4344
  var children = props.children, className = props.className, fullWidth = props.fullWidth, isOpen = props.isOpen, onClose = props.onClose; props.title; var testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "fullWidth", "isOpen", "onClose", "title", 'data-testid', "unsafelyReplaceClassName"]);
4345
4345
  var rootRef = React__namespace.useRef();
@@ -4362,8 +4362,8 @@ function SpsFocusedTask(props) {
4362
4362
  actions));
4363
4363
  }
4364
4364
  Object.assign(SpsFocusedTask, {
4365
- props: propsDoc$$,
4366
- propTypes: propTypes$13,
4365
+ props: propsDoc$12,
4366
+ propTypes: propTypes$16,
4367
4367
  displayName: 'SpsFocusedTask',
4368
4368
  });
4369
4369
 
@@ -4371,7 +4371,7 @@ var SpsFocusedTaskExamples = {
4371
4371
  basic: {
4372
4372
  examples: {
4373
4373
  basic: {
4374
- react: utils.code(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n function SpsFocusedTaskBasic() {\n const [showFocusedTask, setShowFocusedTask] = React.useState(false);\n\n function onClose() {\n setShowFocusedTask(false);\n console.log(\"onClose called\");\n }\n\n function onFormSubmit() {\n setShowFocusedTask(false);\n }\n\n return (\n <>\n <SpsButton onClick={() => setShowFocusedTask(true)}>\n Open Focused Task\n </SpsButton>\n <SpsFocusedTask isOpen={showFocusedTask} onClose={onClose}>\n <h2>Focused Task</h2>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-3\"></div>\n <div className=\"sfg-col-6\">\n <SpsCard>\n <i>pretend there's a form here</i>\n </SpsCard>\n </div>\n <div className=\"sfg-col-3\"></div>\n </div>\n <SpsFocusedTaskActions>\n <SpsButton kind=\"confirm\" onClick={onFormSubmit}>\n Submit\n </SpsButton>\n </SpsFocusedTaskActions>\n </SpsFocusedTask>\n </>\n );\n }\n "], ["\n function SpsFocusedTaskBasic() {\n const [showFocusedTask, setShowFocusedTask] = React.useState(false);\n\n function onClose() {\n setShowFocusedTask(false);\n console.log(\"onClose called\");\n }\n\n function onFormSubmit() {\n setShowFocusedTask(false);\n }\n\n return (\n <>\n <SpsButton onClick={() => setShowFocusedTask(true)}>\n Open Focused Task\n </SpsButton>\n <SpsFocusedTask isOpen={showFocusedTask} onClose={onClose}>\n <h2>Focused Task</h2>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-3\"></div>\n <div className=\"sfg-col-6\">\n <SpsCard>\n <i>pretend there's a form here</i>\n </SpsCard>\n </div>\n <div className=\"sfg-col-3\"></div>\n </div>\n <SpsFocusedTaskActions>\n <SpsButton kind=\"confirm\" onClick={onFormSubmit}>\n Submit\n </SpsButton>\n </SpsFocusedTaskActions>\n </SpsFocusedTask>\n </>\n );\n }\n "]))),
4374
+ react: utils.code(templateObject_1$D || (templateObject_1$D = __makeTemplateObject(["\n function SpsFocusedTaskBasic() {\n const [showFocusedTask, setShowFocusedTask] = React.useState(false);\n\n function onClose() {\n setShowFocusedTask(false);\n console.log(\"onClose called\");\n }\n\n function onFormSubmit() {\n setShowFocusedTask(false);\n }\n\n return (\n <>\n <SpsButton onClick={() => setShowFocusedTask(true)}>\n Open Focused Task\n </SpsButton>\n <SpsFocusedTask isOpen={showFocusedTask} onClose={onClose}>\n <h2>Focused Task</h2>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-3\"></div>\n <div className=\"sfg-col-6\">\n <SpsCard>\n <i>pretend there's a form here</i>\n </SpsCard>\n </div>\n <div className=\"sfg-col-3\"></div>\n </div>\n <SpsFocusedTaskActions>\n <SpsButton kind=\"confirm\" onClick={onFormSubmit}>\n Submit\n </SpsButton>\n </SpsFocusedTaskActions>\n </SpsFocusedTask>\n </>\n );\n }\n "], ["\n function SpsFocusedTaskBasic() {\n const [showFocusedTask, setShowFocusedTask] = React.useState(false);\n\n function onClose() {\n setShowFocusedTask(false);\n console.log(\"onClose called\");\n }\n\n function onFormSubmit() {\n setShowFocusedTask(false);\n }\n\n return (\n <>\n <SpsButton onClick={() => setShowFocusedTask(true)}>\n Open Focused Task\n </SpsButton>\n <SpsFocusedTask isOpen={showFocusedTask} onClose={onClose}>\n <h2>Focused Task</h2>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-3\"></div>\n <div className=\"sfg-col-6\">\n <SpsCard>\n <i>pretend there's a form here</i>\n </SpsCard>\n </div>\n <div className=\"sfg-col-3\"></div>\n </div>\n <SpsFocusedTaskActions>\n <SpsButton kind=\"confirm\" onClick={onFormSubmit}>\n Submit\n </SpsButton>\n </SpsFocusedTaskActions>\n </SpsFocusedTask>\n </>\n );\n }\n "]))),
4375
4375
  },
4376
4376
  fullWidth: {
4377
4377
  react: utils.code(templateObject_2$y || (templateObject_2$y = __makeTemplateObject(["\n function SpsFocusedTaskFullWidth() {\n const [showFocusedTask, setShowFocusedTask] = React.useState(false);\n\n function onClose() {\n setShowFocusedTask(false);\n console.log(\"onClose called\");\n }\n\n function onFormSubmit() {\n setShowFocusedTask(false);\n }\n\n return (\n <>\n <SpsButton onClick={() => setShowFocusedTask(true)}>\n Open Focused Task\n </SpsButton>\n <SpsFocusedTask fullWidth isOpen={showFocusedTask} onClose={onClose}>\n <h2>Focused Task</h2>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-3\"></div>\n <div className=\"sfg-col-6\">\n <SpsCard>\n <i>pretend there's a form here</i>\n </SpsCard>\n </div>\n <div className=\"sfg-col-3\"></div>\n </div>\n <SpsFocusedTaskActions>\n <SpsButton kind=\"confirm\" onClick={onFormSubmit}>\n Submit\n </SpsButton>\n </SpsFocusedTaskActions>\n </SpsFocusedTask>\n </>\n );\n }\n "], ["\n function SpsFocusedTaskFullWidth() {\n const [showFocusedTask, setShowFocusedTask] = React.useState(false);\n\n function onClose() {\n setShowFocusedTask(false);\n console.log(\"onClose called\");\n }\n\n function onFormSubmit() {\n setShowFocusedTask(false);\n }\n\n return (\n <>\n <SpsButton onClick={() => setShowFocusedTask(true)}>\n Open Focused Task\n </SpsButton>\n <SpsFocusedTask fullWidth isOpen={showFocusedTask} onClose={onClose}>\n <h2>Focused Task</h2>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-3\"></div>\n <div className=\"sfg-col-6\">\n <SpsCard>\n <i>pretend there's a form here</i>\n </SpsCard>\n </div>\n <div className=\"sfg-col-3\"></div>\n </div>\n <SpsFocusedTaskActions>\n <SpsButton kind=\"confirm\" onClick={onFormSubmit}>\n Submit\n </SpsButton>\n </SpsFocusedTaskActions>\n </SpsFocusedTask>\n </>\n );\n }\n "]))),
@@ -4379,7 +4379,7 @@ var SpsFocusedTaskExamples = {
4379
4379
  },
4380
4380
  },
4381
4381
  };
4382
- var templateObject_1$C, templateObject_2$y;
4382
+ var templateObject_1$D, templateObject_2$y;
4383
4383
 
4384
4384
  var OnBlurErrorKeys = new Set();
4385
4385
 
@@ -5687,7 +5687,7 @@ var SpsFormExamples = {
5687
5687
  description: '',
5688
5688
  examples: {
5689
5689
  basic: {
5690
- react: utils.code(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n function DemoComponent() {\n const COLOR_OPTIONS = [\"red\", \"blue\", \"green\"];\n const initValue = {\n name: \"Foo\",\n color: COLOR_OPTIONS[0],\n };\n const { formValue, formMeta, updateForm } = useSpsForm(initValue, {\n \"name\": value => value.color === COLOR_OPTIONS[0] ? [SpsValidators.required] : []\n });\n\n function handleSubmit() {\n console.log(\"submit\", formValue);\n }\n function reset() {\n updateForm(initValue);\n }\n\n return <>\n <SpsForm formMeta={formMeta} onSubmit={handleSubmit}>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-8\">\n <SpsLabel for={formMeta.fields.name}>Name</SpsLabel>\n <SpsTextInput\n value={formValue.name}\n formMeta={formMeta.fields.name}\n />\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.color}>Color</SpsLabel>\n {COLOR_OPTIONS.map(color =>\n <SpsRadioButton key={color} name={color} value={color} label={color}\n checked={color === formValue.color}\n formMeta={formMeta.fields.color}\n />\n )}\n </div>\n </div>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-12\">\n <SpsButton className=\"mr-1\" onClick={reset}>Reset</SpsButton>\n <SpsButton type={ButtonType.SUBMIT} kind={ButtonKind.CONFIRM}>Submit</SpsButton>\n </div>\n </div>\n </SpsForm>\n <br/>\n {JSON.stringify(formValue)}\n </>;\n }\n "], ["\n function DemoComponent() {\n const COLOR_OPTIONS = [\"red\", \"blue\", \"green\"];\n const initValue = {\n name: \"Foo\",\n color: COLOR_OPTIONS[0],\n };\n const { formValue, formMeta, updateForm } = useSpsForm(initValue, {\n \"name\": value => value.color === COLOR_OPTIONS[0] ? [SpsValidators.required] : []\n });\n\n function handleSubmit() {\n console.log(\"submit\", formValue);\n }\n function reset() {\n updateForm(initValue);\n }\n\n return <>\n <SpsForm formMeta={formMeta} onSubmit={handleSubmit}>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-8\">\n <SpsLabel for={formMeta.fields.name}>Name</SpsLabel>\n <SpsTextInput\n value={formValue.name}\n formMeta={formMeta.fields.name}\n />\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.color}>Color</SpsLabel>\n {COLOR_OPTIONS.map(color =>\n <SpsRadioButton key={color} name={color} value={color} label={color}\n checked={color === formValue.color}\n formMeta={formMeta.fields.color}\n />\n )}\n </div>\n </div>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-12\">\n <SpsButton className=\"mr-1\" onClick={reset}>Reset</SpsButton>\n <SpsButton type={ButtonType.SUBMIT} kind={ButtonKind.CONFIRM}>Submit</SpsButton>\n </div>\n </div>\n </SpsForm>\n <br/>\n {JSON.stringify(formValue)}\n </>;\n }\n "]))),
5690
+ react: utils.code(templateObject_1$C || (templateObject_1$C = __makeTemplateObject(["\n function DemoComponent() {\n const COLOR_OPTIONS = [\"red\", \"blue\", \"green\"];\n const initValue = {\n name: \"Foo\",\n color: COLOR_OPTIONS[0],\n };\n const { formValue, formMeta, updateForm } = useSpsForm(initValue, {\n \"name\": value => value.color === COLOR_OPTIONS[0] ? [SpsValidators.required] : []\n });\n\n function handleSubmit() {\n console.log(\"submit\", formValue);\n }\n function reset() {\n updateForm(initValue);\n }\n\n return <>\n <SpsForm formMeta={formMeta} onSubmit={handleSubmit}>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-8\">\n <SpsLabel for={formMeta.fields.name}>Name</SpsLabel>\n <SpsTextInput\n value={formValue.name}\n formMeta={formMeta.fields.name}\n />\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.color}>Color</SpsLabel>\n {COLOR_OPTIONS.map(color =>\n <SpsRadioButton key={color} name={color} value={color} label={color}\n checked={color === formValue.color}\n formMeta={formMeta.fields.color}\n />\n )}\n </div>\n </div>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-12\">\n <SpsButton className=\"mr-1\" onClick={reset}>Reset</SpsButton>\n <SpsButton type={ButtonType.SUBMIT} kind={ButtonKind.CONFIRM}>Submit</SpsButton>\n </div>\n </div>\n </SpsForm>\n <br/>\n {JSON.stringify(formValue)}\n </>;\n }\n "], ["\n function DemoComponent() {\n const COLOR_OPTIONS = [\"red\", \"blue\", \"green\"];\n const initValue = {\n name: \"Foo\",\n color: COLOR_OPTIONS[0],\n };\n const { formValue, formMeta, updateForm } = useSpsForm(initValue, {\n \"name\": value => value.color === COLOR_OPTIONS[0] ? [SpsValidators.required] : []\n });\n\n function handleSubmit() {\n console.log(\"submit\", formValue);\n }\n function reset() {\n updateForm(initValue);\n }\n\n return <>\n <SpsForm formMeta={formMeta} onSubmit={handleSubmit}>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-8\">\n <SpsLabel for={formMeta.fields.name}>Name</SpsLabel>\n <SpsTextInput\n value={formValue.name}\n formMeta={formMeta.fields.name}\n />\n </div>\n <div className=\"sfg-col-4\">\n <SpsLabel for={formMeta.fields.color}>Color</SpsLabel>\n {COLOR_OPTIONS.map(color =>\n <SpsRadioButton key={color} name={color} value={color} label={color}\n checked={color === formValue.color}\n formMeta={formMeta.fields.color}\n />\n )}\n </div>\n </div>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-12\">\n <SpsButton className=\"mr-1\" onClick={reset}>Reset</SpsButton>\n <SpsButton type={ButtonType.SUBMIT} kind={ButtonKind.CONFIRM}>Submit</SpsButton>\n </div>\n </div>\n </SpsForm>\n <br/>\n {JSON.stringify(formValue)}\n </>;\n }\n "]))),
5691
5691
  },
5692
5692
  },
5693
5693
  },
@@ -5710,14 +5710,14 @@ var SpsFormExamples = {
5710
5710
  },
5711
5711
  },
5712
5712
  };
5713
- var templateObject_1$B, templateObject_2$x, templateObject_3$r;
5713
+ var templateObject_1$C, templateObject_2$x, templateObject_3$r;
5714
5714
 
5715
5715
  var SpsAddRemoveFormRowExamples = {
5716
5716
  ideal: {
5717
5717
  label: 'Ideal',
5718
5718
  examples: {
5719
5719
  ideal: {
5720
- react: utils.code(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["\n function DemoComponent() {\n const initValue = {\n names: [\"Foo\"],\n }\n const { formValue, formMeta, updateForm } = useSpsForm(initValue, {\n \"names.*\": [SpsValidators.required]\n });\n\n function addName() {\n updateForm({ names: [...formValue.names, \"\"] })\n }\n\n function removeName(index) {\n updateForm({\n names: formValue.names.filter((_, i) => i !== index),\n })\n }\n\n function reset() {\n updateForm(initValue)\n }\n\n return (\n <>\n <SpsForm formMeta={formMeta}>\n {formMeta.fields.names.fields.map((meta, i) => (\n <div className=\"sfg-row\" key={i}>\n <div className=\"sfg-col-6\">\n <SpsLabel for={meta}>Name</SpsLabel>\n <div className=\"d-flex align-items-center\">\n <SpsTextInput\n value={formValue.names[i]}\n formMeta={meta}\n className=\"flex-grow-1 mr-2\"\n />\n <SpsButton kind={ButtonKind.ICON}\n icon={SpsIcon.X}\n onClick={() => removeName(i)}\n />\n </div>\n </div>\n </div>\n ))}\n <div className=\"sfg-row\">\n <div className=\"sfg-col-12\">\n <SpsButton\n kind={ButtonKind.LINK}\n icon={SpsIcon.PLUS_SIGN}\n onClick={addName}\n >\n Add Another\n </SpsButton>\n </div>\n </div>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-12\">\n <SpsButton onClick={reset}>Reset</SpsButton>\n </div>\n </div>\n </SpsForm>\n <br />\n {JSON.stringify(formValue)}\n </>\n )\n }\n "], ["\n function DemoComponent() {\n const initValue = {\n names: [\"Foo\"],\n }\n const { formValue, formMeta, updateForm } = useSpsForm(initValue, {\n \"names.*\": [SpsValidators.required]\n });\n\n function addName() {\n updateForm({ names: [...formValue.names, \"\"] })\n }\n\n function removeName(index) {\n updateForm({\n names: formValue.names.filter((_, i) => i !== index),\n })\n }\n\n function reset() {\n updateForm(initValue)\n }\n\n return (\n <>\n <SpsForm formMeta={formMeta}>\n {formMeta.fields.names.fields.map((meta, i) => (\n <div className=\"sfg-row\" key={i}>\n <div className=\"sfg-col-6\">\n <SpsLabel for={meta}>Name</SpsLabel>\n <div className=\"d-flex align-items-center\">\n <SpsTextInput\n value={formValue.names[i]}\n formMeta={meta}\n className=\"flex-grow-1 mr-2\"\n />\n <SpsButton kind={ButtonKind.ICON}\n icon={SpsIcon.X}\n onClick={() => removeName(i)}\n />\n </div>\n </div>\n </div>\n ))}\n <div className=\"sfg-row\">\n <div className=\"sfg-col-12\">\n <SpsButton\n kind={ButtonKind.LINK}\n icon={SpsIcon.PLUS_SIGN}\n onClick={addName}\n >\n Add Another\n </SpsButton>\n </div>\n </div>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-12\">\n <SpsButton onClick={reset}>Reset</SpsButton>\n </div>\n </div>\n </SpsForm>\n <br />\n {JSON.stringify(formValue)}\n </>\n )\n }\n "]))),
5720
+ react: utils.code(templateObject_1$B || (templateObject_1$B = __makeTemplateObject(["\n function DemoComponent() {\n const initValue = {\n names: [\"Foo\"],\n }\n const { formValue, formMeta, updateForm } = useSpsForm(initValue, {\n \"names.*\": [SpsValidators.required]\n });\n\n function addName() {\n updateForm({ names: [...formValue.names, \"\"] })\n }\n\n function removeName(index) {\n updateForm({\n names: formValue.names.filter((_, i) => i !== index),\n })\n }\n\n function reset() {\n updateForm(initValue)\n }\n\n return (\n <>\n <SpsForm formMeta={formMeta}>\n {formMeta.fields.names.fields.map((meta, i) => (\n <div className=\"sfg-row\" key={i}>\n <div className=\"sfg-col-6\">\n <SpsLabel for={meta}>Name</SpsLabel>\n <div className=\"d-flex align-items-center\">\n <SpsTextInput\n value={formValue.names[i]}\n formMeta={meta}\n className=\"flex-grow-1 mr-2\"\n />\n <SpsButton kind={ButtonKind.ICON}\n icon={SpsIcon.X}\n onClick={() => removeName(i)}\n />\n </div>\n </div>\n </div>\n ))}\n <div className=\"sfg-row\">\n <div className=\"sfg-col-12\">\n <SpsButton\n kind={ButtonKind.LINK}\n icon={SpsIcon.PLUS_SIGN}\n onClick={addName}\n >\n Add Another\n </SpsButton>\n </div>\n </div>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-12\">\n <SpsButton onClick={reset}>Reset</SpsButton>\n </div>\n </div>\n </SpsForm>\n <br />\n {JSON.stringify(formValue)}\n </>\n )\n }\n "], ["\n function DemoComponent() {\n const initValue = {\n names: [\"Foo\"],\n }\n const { formValue, formMeta, updateForm } = useSpsForm(initValue, {\n \"names.*\": [SpsValidators.required]\n });\n\n function addName() {\n updateForm({ names: [...formValue.names, \"\"] })\n }\n\n function removeName(index) {\n updateForm({\n names: formValue.names.filter((_, i) => i !== index),\n })\n }\n\n function reset() {\n updateForm(initValue)\n }\n\n return (\n <>\n <SpsForm formMeta={formMeta}>\n {formMeta.fields.names.fields.map((meta, i) => (\n <div className=\"sfg-row\" key={i}>\n <div className=\"sfg-col-6\">\n <SpsLabel for={meta}>Name</SpsLabel>\n <div className=\"d-flex align-items-center\">\n <SpsTextInput\n value={formValue.names[i]}\n formMeta={meta}\n className=\"flex-grow-1 mr-2\"\n />\n <SpsButton kind={ButtonKind.ICON}\n icon={SpsIcon.X}\n onClick={() => removeName(i)}\n />\n </div>\n </div>\n </div>\n ))}\n <div className=\"sfg-row\">\n <div className=\"sfg-col-12\">\n <SpsButton\n kind={ButtonKind.LINK}\n icon={SpsIcon.PLUS_SIGN}\n onClick={addName}\n >\n Add Another\n </SpsButton>\n </div>\n </div>\n <div className=\"sfg-row\">\n <div className=\"sfg-col-12\">\n <SpsButton onClick={reset}>Reset</SpsButton>\n </div>\n </div>\n </SpsForm>\n <br />\n {JSON.stringify(formValue)}\n </>\n )\n }\n "]))),
5721
5721
  },
5722
5722
  },
5723
5723
  },
@@ -5730,16 +5730,16 @@ var SpsAddRemoveFormRowExamples = {
5730
5730
  },
5731
5731
  },
5732
5732
  };
5733
- var templateObject_1$A, templateObject_2$w;
5733
+ var templateObject_1$B, templateObject_2$w;
5734
5734
 
5735
- var propsDoc$_ = {
5735
+ var propsDoc$11 = {
5736
5736
  imgSrc: 'string',
5737
5737
  kind: 'GrowlerKind',
5738
5738
  onClose: '() => void',
5739
5739
  persist: 'boolean',
5740
5740
  title: 'string',
5741
5741
  };
5742
- var propTypes$12 = __assign(__assign({}, spsGlobalPropTypes), { imgSrc: PropTypes.string, kind: enumValue(dsShared.GrowlerKind), onClose: fun(), persist: PropTypes.bool, title: PropTypes.string });
5742
+ var propTypes$15 = __assign(__assign({}, spsGlobalPropTypes), { imgSrc: PropTypes.string, kind: enumValue(dsShared.GrowlerKind), onClose: fun(), persist: PropTypes.bool, title: PropTypes.string });
5743
5743
  function SpsGrowler(props) {
5744
5744
  var children = props.children, className = props.className, imgSrc = props.imgSrc, _a = props.kind, kind = _a === void 0 ? dsShared.GrowlerKind.INFO : _a, onClose = props.onClose, persist = props.persist, title = props.title, unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "imgSrc", "kind", "onClose", "persist", "title", "unsafelyReplaceClassName"]);
5745
5745
  var closeCallback = React__namespace.useRef(onClose);
@@ -5819,8 +5819,8 @@ function SpsGrowler(props) {
5819
5819
  React__namespace.createElement("i", { className: "sps-icon sps-icon-x", title: t('design-system:growler.dismiss') })))));
5820
5820
  }
5821
5821
  Object.assign(SpsGrowler, {
5822
- props: propsDoc$_,
5823
- propTypes: propTypes$12,
5822
+ props: propsDoc$11,
5823
+ propTypes: propTypes$15,
5824
5824
  displayName: 'SpsGrowler',
5825
5825
  });
5826
5826
 
@@ -5852,7 +5852,7 @@ var SpsGrowlerExamples = {
5852
5852
  examples: {
5853
5853
  primary: {
5854
5854
  description: 'Primary Message Only',
5855
- react: utils.code(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerError() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.ERROR}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Document ABC123 has not been sent.\"\n />\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerError() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.ERROR}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Document ABC123 has not been sent.\"\n />\n )}\n </>\n );\n }\n "]))),
5855
+ react: utils.code(templateObject_1$A || (templateObject_1$A = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerError() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.ERROR}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Document ABC123 has not been sent.\"\n />\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerError() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.ERROR}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Document ABC123 has not been sent.\"\n />\n )}\n </>\n );\n }\n "]))),
5856
5856
  },
5857
5857
  primaryAndSecondary: {
5858
5858
  description: 'Primary and Secondary Messages',
@@ -5900,7 +5900,7 @@ var SpsGrowlerExamples = {
5900
5900
  react: utils.code(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerSuccess() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.SUCCESS}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Message sent.\"\n />\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerSuccess() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.SUCCESS}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Message sent.\"\n />\n )}\n </>\n );\n }\n "]))),
5901
5901
  },
5902
5902
  primaryAndSecondary: {
5903
- react: utils.code(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerSuccess() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.SUCCESS}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Message sent.\"\n >\n Our support team will respond to your message within 24 hours.\n </SpsGrowler>\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerSuccess() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.SUCCESS}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Message sent.\"\n >\n Our support team will respond to your message within 24 hours.\n </SpsGrowler>\n )}\n </>\n );\n }\n "]))),
5903
+ react: utils.code(templateObject_8$8 || (templateObject_8$8 = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerSuccess() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.SUCCESS}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Message sent.\"\n >\n Our support team will respond to your message within 24 hours.\n </SpsGrowler>\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerSuccess() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.SUCCESS}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"Message sent.\"\n >\n Our support team will respond to your message within 24 hours.\n </SpsGrowler>\n )}\n </>\n );\n }\n "]))),
5904
5904
  },
5905
5905
  },
5906
5906
  },
@@ -5915,7 +5915,7 @@ var SpsGrowlerExamples = {
5915
5915
  react: utils.code(templateObject_9$5 || (templateObject_9$5 = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerWarning() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.WARNING}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"No internet connection detected.\"\n />\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerWarning() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.WARNING}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"No internet connection detected.\"\n />\n )}\n </>\n );\n }\n "]))),
5916
5916
  },
5917
5917
  primaryAndSecondary: {
5918
- react: utils.code(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerWarning() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.WARNING}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"No internet connection detected\"\n >\n Check your connection and try again.\n </SpsGrowler>\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerWarning() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.WARNING}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"No internet connection detected\"\n >\n Check your connection and try again.\n </SpsGrowler>\n )}\n </>\n );\n }\n "]))),
5918
+ react: utils.code(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject(["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerWarning() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.WARNING}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"No internet connection detected\"\n >\n Check your connection and try again.\n </SpsGrowler>\n )}\n </>\n );\n }\n "], ["\n import { SpsButton, SpsGrowler } from \"@spscommerce/ds-react\";\n import { ButtonKind, GrowlerKind } from \"@spscommerce/ds-shared\";\n\n function SpsGrowlerWarning() {\n const [growl, setGrowl] = React.useState(false);\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setGrowl(true)} disabled={growl}>\n Show Growler\n </SpsButton>\n {growl && (\n <SpsGrowler\n kind={GrowlerKind.WARNING}\n onClose={() => {\n console.log(\"Growler closed.\");\n setGrowl(false);\n }}\n title=\"No internet connection detected\"\n >\n Check your connection and try again.\n </SpsGrowler>\n )}\n </>\n );\n }\n "]))),
5919
5919
  },
5920
5920
  },
5921
5921
  },
@@ -5936,16 +5936,16 @@ var SpsGrowlerExamples = {
5936
5936
  },
5937
5937
  },
5938
5938
  };
5939
- var templateObject_1$z, templateObject_2$v, templateObject_3$q, templateObject_4$k, templateObject_5$d, templateObject_6$a, templateObject_7$9, templateObject_8$7, templateObject_9$5, templateObject_10$3, templateObject_11$3;
5939
+ var templateObject_1$A, templateObject_2$v, templateObject_3$q, templateObject_4$k, templateObject_5$d, templateObject_6$a, templateObject_7$9, templateObject_8$8, templateObject_9$5, templateObject_10$4, templateObject_11$3;
5940
5940
 
5941
- var propsDoc$Z = {
5941
+ var propsDoc$10 = {
5942
5942
  disabled: 'boolean',
5943
5943
  min: 'number',
5944
5944
  max: 'number',
5945
5945
  step: 'number',
5946
5946
  onValueChange: '(newValue: number) => void',
5947
5947
  };
5948
- var propTypes$11 = __assign({ disabled: PropTypes.bool, min: PropTypes.number, max: PropTypes.number, step: PropTypes.number, onValueChange: fun() }, spsGlobalPropTypes);
5948
+ var propTypes$14 = __assign({ disabled: PropTypes.bool, min: PropTypes.number, max: PropTypes.number, step: PropTypes.number, onValueChange: fun() }, spsGlobalPropTypes);
5949
5949
  function SpsIncrementor(props) {
5950
5950
  var disabled = props.disabled, min = props.min, max = props.max, _a = props.step, step = _a === void 0 ? 1 : _a, onValueChange = props.onValueChange, unsafelyReplaceClassName = props.unsafelyReplaceClassName, className = props.className, testId = props["data-testid"], rest = __rest(props, ["disabled", "min", "max", "step", "onValueChange", "unsafelyReplaceClassName", "className", 'data-testid']);
5951
5951
  var _b = __read(React__namespace.useState(min || 0), 2), value = _b[0], setValue = _b[1];
@@ -6005,8 +6005,8 @@ function SpsIncrementor(props) {
6005
6005
  React__namespace.createElement("i", { className: "sps-icon sps-icon-plus-sign", "aria-hidden": "true" })))));
6006
6006
  }
6007
6007
  Object.assign(SpsIncrementor, {
6008
- props: propsDoc$Z,
6009
- propTypes: propTypes$11,
6008
+ props: propsDoc$10,
6009
+ propTypes: propTypes$14,
6010
6010
  displayName: 'SpsIncrementor',
6011
6011
  });
6012
6012
 
@@ -6016,32 +6016,32 @@ var SpsIncrementorExamples = {
6016
6016
  description: 'info about incrementor',
6017
6017
  examples: {
6018
6018
  stacked: {
6019
- react: utils.code(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["\n function Component () {\n const [value, setValue] = React.useState(\"\");\n const handleChange = val => {\n setValue(val);\n };\n return (\n <React.Fragment>\n <SpsIncrementor\n min={0}\n max={10}\n step={2}\n id=\"basicIncrementor\"\n onValueChange={handleChange}\n />\n Value: {value}\n </React.Fragment>\n );\n }\n "], ["\n function Component () {\n const [value, setValue] = React.useState(\"\");\n const handleChange = val => {\n setValue(val);\n };\n return (\n <React.Fragment>\n <SpsIncrementor\n min={0}\n max={10}\n step={2}\n id=\"basicIncrementor\"\n onValueChange={handleChange}\n />\n Value: {value}\n </React.Fragment>\n );\n }\n "]))),
6019
+ react: utils.code(templateObject_1$z || (templateObject_1$z = __makeTemplateObject(["\n function Component () {\n const [value, setValue] = React.useState(\"\");\n const handleChange = val => {\n setValue(val);\n };\n return (\n <React.Fragment>\n <SpsIncrementor\n min={0}\n max={10}\n step={2}\n id=\"basicIncrementor\"\n onValueChange={handleChange}\n />\n Value: {value}\n </React.Fragment>\n );\n }\n "], ["\n function Component () {\n const [value, setValue] = React.useState(\"\");\n const handleChange = val => {\n setValue(val);\n };\n return (\n <React.Fragment>\n <SpsIncrementor\n min={0}\n max={10}\n step={2}\n id=\"basicIncrementor\"\n onValueChange={handleChange}\n />\n Value: {value}\n </React.Fragment>\n );\n }\n "]))),
6020
6020
  },
6021
6021
  },
6022
6022
  },
6023
6023
  };
6024
- var templateObject_1$y;
6024
+ var templateObject_1$z;
6025
6025
 
6026
- var propsDoc$Y = {
6026
+ var propsDoc$$ = {
6027
6027
  inline: 'boolean',
6028
6028
  };
6029
- var propTypes$10 = __assign(__assign({}, spsGlobalPropTypes), { inline: PropTypes.bool });
6029
+ var propTypes$13 = __assign(__assign({}, spsGlobalPropTypes), { inline: PropTypes.bool });
6030
6030
  function SpsKeyValueList(props) {
6031
6031
  var children = props.children, className = props.className, inline = props.inline, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "inline", 'data-testid', "unsafelyReplaceClassName"]);
6032
6032
  var keyValueListClass = clsx__default['default'](unsafelyReplaceClassName || 'sps-key-value-list', inline && 'sps-key-value-list--inline', className);
6033
6033
  return (React__namespace.createElement("div", __assign({ className: keyValueListClass, "data-testid": "" + testId }, rest), children));
6034
6034
  }
6035
6035
  Object.assign(SpsKeyValueList, {
6036
- props: propsDoc$Y,
6037
- propTypes: propTypes$10,
6036
+ props: propsDoc$$,
6037
+ propTypes: propTypes$13,
6038
6038
  displayName: 'SpsKeyValueList',
6039
6039
  });
6040
6040
 
6041
- var propsDoc$X = {
6041
+ var propsDoc$_ = {
6042
6042
  itemKey: { type: 'string', required: true },
6043
6043
  };
6044
- var propTypes$$ = __assign(__assign({}, spsGlobalPropTypes), { itemKey: PropTypes.string.isRequired });
6044
+ var propTypes$12 = __assign(__assign({}, spsGlobalPropTypes), { itemKey: PropTypes.string.isRequired });
6045
6045
  function SpsKeyValueListItem(props) {
6046
6046
  var children = props.children, className = props.className, itemKey = props.itemKey, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "itemKey", 'data-testid', "unsafelyReplaceClassName"]);
6047
6047
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-key-value-list__item', className);
@@ -6050,8 +6050,8 @@ function SpsKeyValueListItem(props) {
6050
6050
  React__namespace.createElement("span", { className: "sps-key-value-list__value", "data-testid": testId + "__value" }, children)));
6051
6051
  }
6052
6052
  Object.assign(SpsKeyValueListItem, {
6053
- props: propsDoc$X,
6054
- propTypes: propTypes$$,
6053
+ props: propsDoc$_,
6054
+ propTypes: propTypes$12,
6055
6055
  displayName: 'SpsKeyValueListItem',
6056
6056
  });
6057
6057
 
@@ -6060,7 +6060,7 @@ var SpsKeyValueListExamples = {
6060
6060
  label: 'Stacked',
6061
6061
  examples: {
6062
6062
  stacked: {
6063
- jsx: utils.code(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["\n <SpsKeyValueList>\n <SpsKeyValueListItem itemKey=\"Buying From\">\n 75 Companies\n <span className=\"font-weight-light d-block\">38 of 75 Operational</span>\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey=\"Some Other Key\">Its Value</SpsKeyValueListItem>\n </SpsKeyValueList>\n "], ["\n <SpsKeyValueList>\n <SpsKeyValueListItem itemKey=\"Buying From\">\n 75 Companies\n <span className=\"font-weight-light d-block\">38 of 75 Operational</span>\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey=\"Some Other Key\">Its Value</SpsKeyValueListItem>\n </SpsKeyValueList>\n "]))),
6063
+ jsx: utils.code(templateObject_1$y || (templateObject_1$y = __makeTemplateObject(["\n <SpsKeyValueList>\n <SpsKeyValueListItem itemKey=\"Buying From\">\n 75 Companies\n <span className=\"font-weight-light d-block\">38 of 75 Operational</span>\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey=\"Some Other Key\">Its Value</SpsKeyValueListItem>\n </SpsKeyValueList>\n "], ["\n <SpsKeyValueList>\n <SpsKeyValueListItem itemKey=\"Buying From\">\n 75 Companies\n <span className=\"font-weight-light d-block\">38 of 75 Operational</span>\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey=\"Some Other Key\">Its Value</SpsKeyValueListItem>\n </SpsKeyValueList>\n "]))),
6064
6064
  },
6065
6065
  },
6066
6066
  },
@@ -6073,9 +6073,9 @@ var SpsKeyValueListExamples = {
6073
6073
  },
6074
6074
  },
6075
6075
  };
6076
- var templateObject_1$x, templateObject_2$u;
6076
+ var templateObject_1$y, templateObject_2$u;
6077
6077
 
6078
- var propsDoc$W = {
6078
+ var propsDoc$Z = {
6079
6079
  for: { type: 'SpsFormMetaBase<any>', required: true },
6080
6080
  description: 'string',
6081
6081
  stronglySuggested: 'boolean',
@@ -6084,7 +6084,7 @@ var propsDoc$W = {
6084
6084
  helpIconColor: 'string',
6085
6085
  errors: 'ReactNodeOrRenderFn',
6086
6086
  };
6087
- var propTypes$_ = __assign(__assign({}, spsGlobalPropTypes), { description: PropTypes.string, for: PropTypes.oneOfType([
6087
+ var propTypes$11 = __assign(__assign({}, spsGlobalPropTypes), { description: PropTypes.string, for: PropTypes.oneOfType([
6088
6088
  impl(),
6089
6089
  impl(),
6090
6090
  ]).isRequired, stronglySuggested: PropTypes.bool, help: nodeOrRenderFn, helpIcon: enumValue(dsShared.SpsIcon), helpIconColor: PropTypes.string, errors: nodeOrRenderFn });
@@ -6201,8 +6201,8 @@ function SpsLabel(_a) {
6201
6201
  description && React__namespace.createElement("div", { className: "sps-form-control__description" }, description)));
6202
6202
  }
6203
6203
  Object.assign(SpsLabel, {
6204
- props: propsDoc$W,
6205
- propTypes: propTypes$_,
6204
+ props: propsDoc$Z,
6205
+ propTypes: propTypes$11,
6206
6206
  displayName: 'SpsLabel',
6207
6207
  });
6208
6208
 
@@ -6211,7 +6211,7 @@ var SpsLabelExamples = {
6211
6211
  label: 'Basic',
6212
6212
  examples: {
6213
6213
  basic: {
6214
- react: utils.code(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n companyName: \"\"\n });\n\n return <>\n <SpsLabel for={formMeta.fields.companyName}>\n Company Name\n </SpsLabel>\n <SpsTextInput value={formValue.companyName}\n formMeta={formMeta.fields.companyName}\n ></SpsTextInput>\n </>;\n }\n "], ["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n companyName: \"\"\n });\n\n return <>\n <SpsLabel for={formMeta.fields.companyName}>\n Company Name\n </SpsLabel>\n <SpsTextInput value={formValue.companyName}\n formMeta={formMeta.fields.companyName}\n ></SpsTextInput>\n </>;\n }\n "]))),
6214
+ react: utils.code(templateObject_1$x || (templateObject_1$x = __makeTemplateObject(["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n companyName: \"\"\n });\n\n return <>\n <SpsLabel for={formMeta.fields.companyName}>\n Company Name\n </SpsLabel>\n <SpsTextInput value={formValue.companyName}\n formMeta={formMeta.fields.companyName}\n ></SpsTextInput>\n </>;\n }\n "], ["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n companyName: \"\"\n });\n\n return <>\n <SpsLabel for={formMeta.fields.companyName}>\n Company Name\n </SpsLabel>\n <SpsTextInput value={formValue.companyName}\n formMeta={formMeta.fields.companyName}\n ></SpsTextInput>\n </>;\n }\n "]))),
6215
6215
  },
6216
6216
  },
6217
6217
  },
@@ -6259,18 +6259,18 @@ var SpsLabelExamples = {
6259
6259
  react: utils.code(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject(["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n companyName: \"Target\"\n }, {\n \"companyName\": [SpsValidators.minLength(7)]\n });\n\n React.useEffect(() => {\n // Make validation error visible for the purpose of this demo\n formMeta.markAsDirty();\n }, []);\n\n return <>\n <SpsLabel for={formMeta.fields.companyName}\n stronglySuggested\n errors={() => formMeta.fields.companyName.hasError(\"minLength\")\n && \"Company Name must be at least 7 characters.\"}\n >\n Company Name\n </SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.companyName}\n value={formValue.companyName}\n ></SpsTextInput>\n </>;\n }\n "], ["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n companyName: \"Target\"\n }, {\n \"companyName\": [SpsValidators.minLength(7)]\n });\n\n React.useEffect(() => {\n // Make validation error visible for the purpose of this demo\n formMeta.markAsDirty();\n }, []);\n\n return <>\n <SpsLabel for={formMeta.fields.companyName}\n stronglySuggested\n errors={() => formMeta.fields.companyName.hasError(\"minLength\")\n && \"Company Name must be at least 7 characters.\"}\n >\n Company Name\n </SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.companyName}\n value={formValue.companyName}\n ></SpsTextInput>\n </>;\n }\n "]))),
6260
6260
  },
6261
6261
  b_combo2: {
6262
- react: utils.code(templateObject_8$6 || (templateObject_8$6 = __makeTemplateObject(["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n companyName: \"\"\n }, {\n \"companyName\": [SpsValidators.required]\n });\n\n return <>\n <SpsLabel for={formMeta.fields.companyName}\n help=\"Pretend there's something helpful written here.\"\n errors={() => formMeta.fields.companyName.hasError(\"required\")\n && \"Please enter a company name.\"}\n >\n Company Name\n </SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.companyName}\n value={formValue.companyName}\n ></SpsTextInput>\n </>;\n }\n "], ["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n companyName: \"\"\n }, {\n \"companyName\": [SpsValidators.required]\n });\n\n return <>\n <SpsLabel for={formMeta.fields.companyName}\n help=\"Pretend there's something helpful written here.\"\n errors={() => formMeta.fields.companyName.hasError(\"required\")\n && \"Please enter a company name.\"}\n >\n Company Name\n </SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.companyName}\n value={formValue.companyName}\n ></SpsTextInput>\n </>;\n }\n "]))),
6262
+ react: utils.code(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject(["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n companyName: \"\"\n }, {\n \"companyName\": [SpsValidators.required]\n });\n\n return <>\n <SpsLabel for={formMeta.fields.companyName}\n help=\"Pretend there's something helpful written here.\"\n errors={() => formMeta.fields.companyName.hasError(\"required\")\n && \"Please enter a company name.\"}\n >\n Company Name\n </SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.companyName}\n value={formValue.companyName}\n ></SpsTextInput>\n </>;\n }\n "], ["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n companyName: \"\"\n }, {\n \"companyName\": [SpsValidators.required]\n });\n\n return <>\n <SpsLabel for={formMeta.fields.companyName}\n help=\"Pretend there's something helpful written here.\"\n errors={() => formMeta.fields.companyName.hasError(\"required\")\n && \"Please enter a company name.\"}\n >\n Company Name\n </SpsLabel>\n <SpsTextInput formMeta={formMeta.fields.companyName}\n value={formValue.companyName}\n ></SpsTextInput>\n </>;\n }\n "]))),
6263
6263
  },
6264
6264
  },
6265
6265
  },
6266
6266
  };
6267
- var templateObject_1$w, templateObject_2$t, templateObject_3$p, templateObject_4$j, templateObject_5$c, templateObject_6$9, templateObject_7$8, templateObject_8$6;
6267
+ var templateObject_1$x, templateObject_2$t, templateObject_3$p, templateObject_4$j, templateObject_5$c, templateObject_6$9, templateObject_7$8, templateObject_8$7;
6268
6268
 
6269
- var propsDoc$V = {
6269
+ var propsDoc$Y = {
6270
6270
  clearSelected: { type: '() => void', required: true },
6271
6271
  itemsSelected: { type: 'string | number', required: true },
6272
6272
  };
6273
- var propTypes$Z = __assign(__assign({}, spsGlobalPropTypes), { clearSelected: fun().isRequired, itemsSelected: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) });
6273
+ var propTypes$10 = __assign(__assign({}, spsGlobalPropTypes), { clearSelected: fun().isRequired, itemsSelected: PropTypes.oneOfType([PropTypes.string, PropTypes.number]) });
6274
6274
  function SpsListActionBar(props) {
6275
6275
  var itemsSelected = props.itemsSelected, clearSelected = props.clearSelected, children = props.children, className = props.className, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["itemsSelected", "clearSelected", "children", "className", 'data-testid', "unsafelyReplaceClassName"]);
6276
6276
  var t = React__namespace.useContext(I18nContext).t;
@@ -6291,11 +6291,39 @@ function SpsListActionBar(props) {
6291
6291
  React__namespace.createElement(SpsButton, { kind: dsShared.ButtonKind.LINK, icon: dsShared.SpsIcon.X, onClick: handleClearClick, "data-testid": testId + "__clear-button" }, t('design-system:listActionBar.clearSelected'))))))));
6292
6292
  }
6293
6293
  Object.assign(SpsListActionBar, {
6294
- props: propsDoc$V,
6295
- propTypes: propTypes$Z,
6294
+ props: propsDoc$Y,
6295
+ propTypes: propTypes$10,
6296
6296
  displayName: 'SpsListActionBar',
6297
6297
  });
6298
6298
 
6299
+ var getScrollParent = function (node) {
6300
+ var regex = /(auto|scroll)/;
6301
+ var parents = function (_node, ps) {
6302
+ if (_node.parentNode === null) {
6303
+ return ps;
6304
+ }
6305
+ return parents(_node.parentNode, ps.concat([_node]));
6306
+ };
6307
+ var style = function (_node, prop) { return getComputedStyle(_node, null).getPropertyValue(prop); };
6308
+ var overflow = function (_node) { return style(_node, 'overflow') + style(_node, 'overflow-y'); };
6309
+ var scroll = function (_node) { return regex.test(overflow(_node)); };
6310
+ /* eslint-disable consistent-return */
6311
+ var scrollParent = function (_node) {
6312
+ if (!(_node instanceof HTMLElement || _node instanceof SVGElement)) {
6313
+ return;
6314
+ }
6315
+ var ps = parents(_node.parentNode, []);
6316
+ for (var i = 0; i < ps.length; i += 1) {
6317
+ if (scroll(ps[i])) {
6318
+ return ps[i];
6319
+ }
6320
+ }
6321
+ return null;
6322
+ };
6323
+ return scrollParent(node);
6324
+ /* eslint-enable consistent-return */
6325
+ };
6326
+
6299
6327
  /* eslint-disable no-param-reassign */
6300
6328
  var usePinnedCellStyle = function (isPinned, elementRef) {
6301
6329
  React__namespace.useLayoutEffect(function () {
@@ -6367,15 +6395,126 @@ var usePinnedTableBackgroundStyle = function (containerRef) {
6367
6395
  }
6368
6396
  }
6369
6397
  });
6398
+ };
6399
+ var usePinnedTableHeadStyle = function (containerRef) {
6400
+ React__namespace.useLayoutEffect(function () {
6401
+ var container = containerRef.current;
6402
+ var headElement = container === null || container === void 0 ? void 0 : container.querySelector('thead');
6403
+ var table = container === null || container === void 0 ? void 0 : container.querySelector('table');
6404
+ var tableBodyFirstRow = table === null || table === void 0 ? void 0 : table.querySelector('tbody>tr');
6405
+ var tableBodyFirstRowCells = tableBodyFirstRow === null || tableBodyFirstRow === void 0 ? void 0 : tableBodyFirstRow.querySelectorAll('td');
6406
+ var tableHeadCells = headElement === null || headElement === void 0 ? void 0 : headElement.querySelectorAll('th');
6407
+ var navBarContainer = document.body.querySelector('.sps-navbar-container');
6408
+ var placeholder = container === null || container === void 0 ? void 0 : container.querySelector('.placeholder-head');
6409
+ var scrollableParent = null;
6410
+ var resetAppliedStyles = function () {
6411
+ if (headElement) {
6412
+ headElement.style.position = null;
6413
+ headElement.style.top = null;
6414
+ headElement.style.overflow = null;
6415
+ headElement.style.maxWidth = null;
6416
+ headElement.style.width = null;
6417
+ headElement.style.minWidth = null;
6418
+ }
6419
+ if (placeholder) {
6420
+ placeholder.style.width = null;
6421
+ placeholder.style.height = null;
6422
+ }
6423
+ if (tableBodyFirstRowCells) {
6424
+ Array.from(tableBodyFirstRowCells).forEach(function (cell, idx) {
6425
+ tableHeadCells[idx].style.minWidth = null;
6426
+ tableHeadCells[idx].style.width = null;
6427
+ tableHeadCells[idx].style.maxWidth = null;
6428
+ cell.style.minWidth = null;
6429
+ cell.style.width = null;
6430
+ cell.style.maxWidth = null;
6431
+ });
6432
+ }
6433
+ };
6434
+ var adjustHorizontalScroll = function () {
6435
+ headElement.scrollLeft = container.scrollLeft;
6436
+ };
6437
+ var adjustHeadPosition = function () {
6438
+ var topPosition = null;
6439
+ if (scrollableParent === window) {
6440
+ topPosition = navBarContainer ? navBarContainer.getBoundingClientRect().height : 0;
6441
+ }
6442
+ else if (scrollableParent instanceof HTMLElement) {
6443
+ topPosition = scrollableParent.getBoundingClientRect().top;
6444
+ }
6445
+ var containerHorizontalScroll = container.scrollLeft;
6446
+ var headRect = headElement.getBoundingClientRect();
6447
+ var containerRect = container.getBoundingClientRect();
6448
+ if (headRect.top <= topPosition
6449
+ && topPosition <= containerRect.bottom - headRect.height
6450
+ && containerRect.top <= topPosition) {
6451
+ headElement.style.position = 'fixed';
6452
+ headElement.style.top = topPosition + "px";
6453
+ headElement.style.overflow = 'hidden';
6454
+ var headElementWidth = containerRect.width + "px";
6455
+ headElement.style.maxWidth = headElementWidth;
6456
+ headElement.style.width = headElementWidth;
6457
+ headElement.style.minWidth = headElementWidth;
6458
+ if (tableBodyFirstRowCells) {
6459
+ Array.from(tableBodyFirstRowCells).forEach(function (cell, idx) {
6460
+ var cellWidth = cell.getBoundingClientRect().width;
6461
+ var headerWidth = tableHeadCells[idx].getBoundingClientRect().width;
6462
+ var width = Math.max(cellWidth, headerWidth) + "px";
6463
+ tableHeadCells[idx].style.minWidth = width;
6464
+ tableHeadCells[idx].style.width = width;
6465
+ tableHeadCells[idx].style.maxWidth = width;
6466
+ cell.style.minWidth = width;
6467
+ cell.style.width = width;
6468
+ cell.style.maxWidth = width;
6469
+ });
6470
+ }
6471
+ if (!placeholder) {
6472
+ placeholder = document.createElement('div');
6473
+ placeholder.style.width = headRect.width + "px";
6474
+ placeholder.style.height = headRect.height + "px";
6475
+ placeholder.className = 'placeholder-head';
6476
+ container.insertBefore(placeholder, table);
6477
+ }
6478
+ }
6479
+ else if (placeholder) {
6480
+ container.removeChild(placeholder);
6481
+ placeholder = null;
6482
+ resetAppliedStyles();
6483
+ }
6484
+ container.scrollLeft = containerHorizontalScroll;
6485
+ adjustHorizontalScroll();
6486
+ };
6487
+ var adjustElements = function () {
6488
+ resetAppliedStyles();
6489
+ adjustHeadPosition();
6490
+ adjustHorizontalScroll();
6491
+ };
6492
+ if (headElement && headElement.classList.contains('sps-table__head--pinned')) {
6493
+ scrollableParent = getScrollParent(container) || window;
6494
+ scrollableParent.addEventListener('scroll', adjustHeadPosition);
6495
+ window.addEventListener('resize', adjustElements);
6496
+ container.addEventListener('scroll', adjustHorizontalScroll);
6497
+ adjustElements();
6498
+ }
6499
+ return function () {
6500
+ if (scrollableParent) {
6501
+ scrollableParent.removeEventListener('scroll', adjustHeadPosition);
6502
+ window.removeEventListener('resize', adjustElements);
6503
+ }
6504
+ if (container) {
6505
+ container.removeEventListener('scroll', adjustHorizontalScroll);
6506
+ }
6507
+ };
6508
+ });
6370
6509
  };
6371
6510
 
6372
- var propsDoc$U = {
6511
+ var propsDoc$X = {
6373
6512
  controlCell: 'boolean',
6374
6513
  currentSort: 'Array<SortedColumn>',
6375
6514
  onSortChange: 'SortChangeHandler',
6376
6515
  sortKey: 'string',
6377
6516
  };
6378
- var propTypes$Y = __assign(__assign({}, spsGlobalPropTypes), { controlCell: PropTypes.bool, currentSort: PropTypes.arrayOf(impl()), onSortChange: fun(), sortKey: PropTypes.string, pinned: PropTypes.bool });
6517
+ var propTypes$$ = __assign(__assign({}, spsGlobalPropTypes), { controlCell: PropTypes.bool, currentSort: PropTypes.arrayOf(impl()), onSortChange: fun(), sortKey: PropTypes.string, pinned: PropTypes.bool });
6379
6518
  function SpsTableHeader(props) {
6380
6519
  var children = props.children, className = props.className, controlCell = props.controlCell, currentSort = props.currentSort, onSortChange = props.onSortChange, sortKey = props.sortKey, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, pinned = props.pinned, rest = __rest(props, ["children", "className", "controlCell", "currentSort", "onSortChange", "sortKey", 'data-testid', "unsafelyReplaceClassName", "pinned"]);
6381
6520
  var _a = __read(React__namespace.useState(), 2), sort = _a[0], setSort = _a[1];
@@ -6404,24 +6543,24 @@ function SpsTableHeader(props) {
6404
6543
  React__namespace.createElement("span", { className: "sps-table__header-cell-body", "data-testid": testId + "__header-cell-body", onClick: flipSort, tabIndex: sortKey ? 0 : null, onKeyDown: handleKeyEvent }, children)));
6405
6544
  }
6406
6545
  Object.assign(SpsTableHeader, {
6407
- props: propsDoc$U,
6408
- propTypes: propTypes$Y,
6546
+ props: propsDoc$X,
6547
+ propTypes: propTypes$$,
6409
6548
  displayName: 'SpsTableHeader',
6410
6549
  });
6411
6550
  function SpsTh(props) {
6412
6551
  return SpsTableHeader(props);
6413
6552
  }
6414
6553
  Object.assign(SpsTh, {
6415
- props: propsDoc$U,
6416
- propTypes: propTypes$Y,
6554
+ props: propsDoc$X,
6555
+ propTypes: propTypes$$,
6417
6556
  displayName: 'SpsTh',
6418
6557
  });
6419
6558
 
6420
- var propsDoc$T = {
6559
+ var propsDoc$W = {
6421
6560
  currentSort: 'Array<SortedColumn>',
6422
6561
  onSortChange: 'SortChangeHandler',
6423
6562
  };
6424
- var propTypes$X = __assign(__assign({}, spsGlobalPropTypes), { currentSort: PropTypes.arrayOf(impl()), onSortChange: fun() });
6563
+ var propTypes$_ = __assign(__assign({}, spsGlobalPropTypes), { currentSort: PropTypes.arrayOf(impl()), onSortChange: fun() });
6425
6564
  function SpsTableRow(props) {
6426
6565
  var children = props.children, className = props.className, currentSort = props.currentSort, onSortChange = props.onSortChange, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "currentSort", "onSortChange", 'data-testid', "unsafelyReplaceClassName"]);
6427
6566
  var newProps = {
@@ -6437,31 +6576,31 @@ function SpsTableRow(props) {
6437
6576
  })));
6438
6577
  }
6439
6578
  Object.assign(SpsTableRow, {
6440
- props: propsDoc$T,
6441
- propTypes: propTypes$X,
6579
+ props: propsDoc$W,
6580
+ propTypes: propTypes$_,
6442
6581
  displayName: 'SpsTableRow',
6443
6582
  });
6444
6583
  function SpsTr(props) {
6445
6584
  return SpsTableRow(props);
6446
6585
  }
6447
6586
  Object.assign(SpsTr, {
6448
- props: propsDoc$T,
6449
- propTypes: propTypes$X,
6587
+ props: propsDoc$W,
6588
+ propTypes: propTypes$_,
6450
6589
  displayName: 'SpsTr',
6451
6590
  });
6452
6591
 
6453
- var propsDoc$S = {
6592
+ var propsDoc$V = {
6454
6593
  currentSort: 'Array<SortedColumn>',
6455
6594
  onSortChange: 'SortChangeHandler',
6456
6595
  };
6457
- var propTypes$W = __assign(__assign({}, spsGlobalPropTypes), { onSortChange: fun(), currentSort: PropTypes.arrayOf(impl()) });
6596
+ var propTypes$Z = __assign(__assign({}, spsGlobalPropTypes), { onSortChange: fun(), currentSort: PropTypes.arrayOf(impl()), pinned: PropTypes.bool });
6458
6597
  function SpsTableHead(props) {
6459
- var children = props.children, className = props.className, currentSort = props.currentSort, onSortChange = props.onSortChange, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "currentSort", "onSortChange", 'data-testid', "unsafelyReplaceClassName"]);
6598
+ var children = props.children, className = props.className, currentSort = props.currentSort, onSortChange = props.onSortChange, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, pinned = props.pinned, rest = __rest(props, ["children", "className", "currentSort", "onSortChange", 'data-testid', "unsafelyReplaceClassName", "pinned"]);
6460
6599
  var newProps = {
6461
6600
  onSortChange: onSortChange,
6462
6601
  currentSort: currentSort,
6463
6602
  };
6464
- var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-table__head', className);
6603
+ var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-table__head', pinned && 'sps-table__head--pinned', className);
6465
6604
  return (React__namespace.createElement("thead", __assign({ className: classes, "data-testid": testId + "__head" }, rest), React__namespace.Children.map(children, function (child) {
6466
6605
  if (child && (child.type === SpsTableRow || child.type === SpsTr)) {
6467
6606
  return React__namespace.cloneElement(child, newProps);
@@ -6470,25 +6609,25 @@ function SpsTableHead(props) {
6470
6609
  })));
6471
6610
  }
6472
6611
  Object.assign(SpsTableHead, {
6473
- props: propsDoc$S,
6474
- propTypes: propTypes$W,
6612
+ props: propsDoc$V,
6613
+ propTypes: propTypes$Z,
6475
6614
  displayName: 'SpsTableHead',
6476
6615
  });
6477
6616
  function SpsThead(props) {
6478
6617
  return SpsTableHead(props);
6479
6618
  }
6480
6619
  Object.assign(SpsThead, {
6481
- props: propsDoc$S,
6482
- propTypes: propTypes$W,
6620
+ props: propsDoc$V,
6621
+ propTypes: propTypes$Z,
6483
6622
  displayName: 'SpsThead',
6484
6623
  });
6485
6624
 
6486
- var propsDoc$R = {
6625
+ var propsDoc$U = {
6487
6626
  sort: 'SortedColumn',
6488
6627
  onSortChange: 'SortChangeHandler',
6489
6628
  selectable: 'boolean',
6490
6629
  };
6491
- var propTypes$V = __assign(__assign({}, spsGlobalPropTypes), { onSortChange: fun(), sort: PropTypes.arrayOf(impl()), selectable: PropTypes.bool });
6630
+ var propTypes$Y = __assign(__assign({}, spsGlobalPropTypes), { onSortChange: fun(), sort: PropTypes.arrayOf(impl()), selectable: PropTypes.bool });
6492
6631
  function SpsTable(props) {
6493
6632
  var children = props.children, className = props.className, onSortChange = props.onSortChange, sort = props.sort, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "onSortChange", "sort", 'data-testid', "unsafelyReplaceClassName"]);
6494
6633
  var _a = __read(React__namespace.useState(sort), 2), currentSort = _a[0], setSort = _a[1];
@@ -6513,6 +6652,7 @@ function SpsTable(props) {
6513
6652
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-table-container', className);
6514
6653
  var containerRef = React__namespace.useRef(null);
6515
6654
  usePinnedTableBackgroundStyle(containerRef);
6655
+ usePinnedTableHeadStyle(containerRef);
6516
6656
  return (React__namespace.createElement("div", { ref: containerRef, className: classes },
6517
6657
  React__namespace.createElement("table", __assign({ className: "sps-table", role: "table", "data-testid": "" + testId }, rest), React__namespace.Children.map(children, function (child) {
6518
6658
  if (child.type === SpsTableHead || child.type === SpsThead) {
@@ -6522,38 +6662,38 @@ function SpsTable(props) {
6522
6662
  }))));
6523
6663
  }
6524
6664
  Object.assign(SpsTable, {
6525
- props: propsDoc$R,
6526
- propTypes: propTypes$V,
6665
+ props: propsDoc$U,
6666
+ propTypes: propTypes$Y,
6527
6667
  displayName: 'SpsTable',
6528
6668
  });
6529
6669
 
6530
- var propsDoc$Q = {};
6531
- var propTypes$U = __assign({}, spsGlobalPropTypes);
6670
+ var propsDoc$T = {};
6671
+ var propTypes$X = __assign({}, spsGlobalPropTypes);
6532
6672
  function SpsTableBody(props) {
6533
6673
  var children = props.children, className = props.className, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", 'data-testid', "unsafelyReplaceClassName"]);
6534
6674
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-table__body', className);
6535
6675
  return (React__namespace.createElement("tbody", __assign({ className: classes, "data-testid": testId + "__body" }, rest), children));
6536
6676
  }
6537
6677
  Object.assign(SpsTableBody, {
6538
- props: propsDoc$Q,
6539
- propTypes: propTypes$U,
6678
+ props: propsDoc$T,
6679
+ propTypes: propTypes$X,
6540
6680
  displayName: 'SpsTableBody',
6541
6681
  });
6542
6682
  function SpsTbody(props) {
6543
6683
  return SpsTableBody(props);
6544
6684
  }
6545
6685
  Object.assign(SpsTbody, {
6546
- props: propsDoc$Q,
6547
- propTypes: propTypes$U,
6686
+ props: propsDoc$T,
6687
+ propTypes: propTypes$X,
6548
6688
  displayName: 'SpsTbody',
6549
6689
  });
6550
6690
 
6551
- var propsDoc$P = {
6691
+ var propsDoc$S = {
6552
6692
  buttonCell: 'boolean',
6553
6693
  controlCell: 'boolean',
6554
6694
  wrap: 'SpsTableCellWrapWidth',
6555
6695
  };
6556
- var propTypes$T = __assign(__assign({}, spsGlobalPropTypes), { buttonCell: PropTypes.bool, controlCell: PropTypes.bool, wrap: PropTypes.oneOf([200, 300, 400, 500, 600]), pinned: PropTypes.bool });
6696
+ var propTypes$W = __assign(__assign({}, spsGlobalPropTypes), { buttonCell: PropTypes.bool, controlCell: PropTypes.bool, wrap: PropTypes.oneOf([200, 300, 400, 500, 600]), pinned: PropTypes.bool });
6557
6697
  function SpsTableCell(props) {
6558
6698
  var buttonCell = props.buttonCell, children = props.children, className = props.className, controlCell = props.controlCell, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, wrap = props.wrap, pinned = props.pinned, rest = __rest(props, ["buttonCell", "children", "className", "controlCell", 'data-testid', "unsafelyReplaceClassName", "wrap", "pinned"]);
6559
6699
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-table__cell', buttonCell && 'sps-table__cell--button-cell', controlCell && 'sps-table__cell--control', wrap && "sps-table__cell--text-wrap-" + wrap, pinned && 'sps-table__cell--pinned', className);
@@ -6562,21 +6702,21 @@ function SpsTableCell(props) {
6562
6702
  return (React__namespace.createElement("td", __assign({ className: classes, ref: tableCellRef, role: "cell", "data-testid": testId + "__cell" }, rest), children));
6563
6703
  }
6564
6704
  Object.assign(SpsTableCell, {
6565
- props: propsDoc$P,
6566
- propTypes: propTypes$T,
6705
+ props: propsDoc$S,
6706
+ propTypes: propTypes$W,
6567
6707
  displayName: 'SpsTableCell',
6568
6708
  });
6569
6709
  function SpsTd(props) {
6570
6710
  return SpsTableCell(props);
6571
6711
  }
6572
6712
  Object.assign(SpsTd, {
6573
- props: propsDoc$P,
6574
- propTypes: propTypes$T,
6713
+ props: propsDoc$S,
6714
+ propTypes: propTypes$W,
6575
6715
  displayName: 'SpsTd',
6576
6716
  });
6577
6717
 
6578
- var propsDoc$O = {};
6579
- var propTypes$S = __assign({}, spsGlobalPropTypes);
6718
+ var propsDoc$R = {};
6719
+ var propTypes$V = __assign({}, spsGlobalPropTypes);
6580
6720
  var CSS_BLOCK$3 = 'sps-icon-button-panel';
6581
6721
  function SpsIconButtonPanel(_a) {
6582
6722
  var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]);
@@ -6587,8 +6727,8 @@ function SpsIconButtonPanel(_a) {
6587
6727
  return (React__namespace.createElement("div", __assign({ className: classes }, rest), iconButtons));
6588
6728
  }
6589
6729
  Object.assign(SpsIconButtonPanel, {
6590
- props: propsDoc$O,
6591
- propTypes: propTypes$S,
6730
+ props: propsDoc$R,
6731
+ propTypes: propTypes$V,
6592
6732
  displayName: 'SpsIconButtonPanel',
6593
6733
  });
6594
6734
 
@@ -6622,7 +6762,7 @@ var SpsTableExamples = {
6622
6762
  React__namespace.createElement("div", { className: "sps-body-14" },
6623
6763
  "Tables can be used in conjunction with the",
6624
6764
  ' ',
6625
- React__namespace.createElement(NavigateTo, { to: "List Search Bar" }, "List Search Bar"),
6765
+ React__namespace.createElement(NavigateTo, { to: "List Toolbar" }, "List Toolbar"),
6626
6766
  " and",
6627
6767
  ' ',
6628
6768
  React__namespace.createElement(NavigateTo, { to: "Pagination" }, "Pagination"),
@@ -6630,7 +6770,7 @@ var SpsTableExamples = {
6630
6770
  },
6631
6771
  examples: {
6632
6772
  basic: {
6633
- react: utils.code(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n countries: [\"Japan\"],\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n countries: [\"Australia\"],\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n countries: [\"France\"],\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n countries: [\"France\", \"Belgium\"],\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n countries: [\"Sweden\"],\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n countries: [\"West Germany\"],\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n countries: [\"India\"],\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n countries: [\"Soviet Union\"],\n price: \"$31.96\"\n }\n ];\n\n return (\n <>\n <h5>Building Standard Tables</h5>\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader>Spine#</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Price</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">{row[\"price\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n </>\n );\n }\n "], ["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n countries: [\"Japan\"],\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n countries: [\"Australia\"],\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n countries: [\"France\"],\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n countries: [\"France\", \"Belgium\"],\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n countries: [\"Sweden\"],\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n countries: [\"West Germany\"],\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n countries: [\"India\"],\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n countries: [\"Soviet Union\"],\n price: \"$31.96\"\n }\n ];\n\n return (\n <>\n <h5>Building Standard Tables</h5>\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader>Spine#</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Price</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">{row[\"price\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n </>\n );\n }\n "]))),
6773
+ react: utils.code(templateObject_1$w || (templateObject_1$w = __makeTemplateObject(["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n countries: [\"Japan\"],\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n countries: [\"Australia\"],\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n countries: [\"France\"],\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n countries: [\"France\", \"Belgium\"],\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n countries: [\"Sweden\"],\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n countries: [\"West Germany\"],\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n countries: [\"India\"],\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n countries: [\"Soviet Union\"],\n price: \"$31.96\"\n }\n ];\n\n return (\n <>\n <h5>Building Standard Tables</h5>\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader>Spine#</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Price</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">{row[\"price\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n </>\n );\n }\n "], ["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n countries: [\"Japan\"],\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n countries: [\"Australia\"],\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n countries: [\"France\"],\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n countries: [\"France\", \"Belgium\"],\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n countries: [\"Sweden\"],\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n countries: [\"West Germany\"],\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n countries: [\"India\"],\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n countries: [\"Soviet Union\"],\n price: \"$31.96\"\n }\n ];\n\n return (\n <>\n <h5>Building Standard Tables</h5>\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader>Spine#</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Price</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">{row[\"price\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n </>\n );\n }\n "]))),
6634
6774
  },
6635
6775
  },
6636
6776
  },
@@ -6644,7 +6784,7 @@ var SpsTableExamples = {
6644
6784
  React__namespace.createElement("div", { className: "sps-body-14" }, "Sorting is applied on a column-by-column basis and should only be applied to columns that present a practical value when sorted alphabetically or numercally (i.e., not every column in a table requires sorting)."))); },
6645
6785
  examples: {
6646
6786
  sorting: {
6647
- react: utils.code(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n price: \"$31.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n price: \"$31.96\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n price: \"$31.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n price: \"$31.96\"\n }\n ]\n\n const initialSort = [{ key: \"title\", direction: SortDirection.ASCENDING }]\n\n const [itemsSorted, setItemsSorted] = React.useState(items)\n\n function ignoreArticles(value) {\n return typeof value === \"string\"\n ? value.replace(/^(The|A) /, \"\")\n : value\n }\n\n function sortItems([newSort]) {\n const { key, direction } = newSort;\n itemsSorted.sort((a, b) =>\n (direction === SortDirection.ASCENDING ? 1 : -1)\n * (ignoreArticles(a[key]) >= ignoreArticles(b[key]) ? 1 : -1)\n )\n setItemsSorted([...itemsSorted])\n }\n\n React.useEffect(() => {\n sortItems(initialSort)\n }, [])\n\n return (\n <SpsTable\n sort={initialSort}\n onSortChange={sortItems}\n >\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader sortKey=\"spine\">Spine #</SpsTableHeader>\n <SpsTableHeader sortKey=\"title\">Title</SpsTableHeader>\n <SpsTableHeader sortKey=\"year\">Year</SpsTableHeader>\n <SpsTableHeader sortKey=\"director\">Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader sortKey=\"price\" className=\"text-right\">\n Price\n </SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {itemsSorted.map((row, i) => {\n return (\n <SpsTableRow key={i}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">\n {row[\"price\"]}\n </SpsTableCell>\n </SpsTableRow>\n )\n })}\n </SpsTableBody>\n </SpsTable>\n )\n }\n "], ["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n price: \"$31.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n price: \"$31.96\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n price: \"$31.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n price: \"$31.96\"\n }\n ]\n\n const initialSort = [{ key: \"title\", direction: SortDirection.ASCENDING }]\n\n const [itemsSorted, setItemsSorted] = React.useState(items)\n\n function ignoreArticles(value) {\n return typeof value === \"string\"\n ? value.replace(/^(The|A) /, \"\")\n : value\n }\n\n function sortItems([newSort]) {\n const { key, direction } = newSort;\n itemsSorted.sort((a, b) =>\n (direction === SortDirection.ASCENDING ? 1 : -1)\n * (ignoreArticles(a[key]) >= ignoreArticles(b[key]) ? 1 : -1)\n )\n setItemsSorted([...itemsSorted])\n }\n\n React.useEffect(() => {\n sortItems(initialSort)\n }, [])\n\n return (\n <SpsTable\n sort={initialSort}\n onSortChange={sortItems}\n >\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader sortKey=\"spine\">Spine #</SpsTableHeader>\n <SpsTableHeader sortKey=\"title\">Title</SpsTableHeader>\n <SpsTableHeader sortKey=\"year\">Year</SpsTableHeader>\n <SpsTableHeader sortKey=\"director\">Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader sortKey=\"price\" className=\"text-right\">\n Price\n </SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {itemsSorted.map((row, i) => {\n return (\n <SpsTableRow key={i}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">\n {row[\"price\"]}\n </SpsTableCell>\n </SpsTableRow>\n )\n })}\n </SpsTableBody>\n </SpsTable>\n )\n }\n "]))),
6787
+ react: utils.code(templateObject_2$s || (templateObject_2$s = __makeTemplateObject(["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n price: \"$31.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n price: \"$31.96\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n price: \"$31.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n price: \"$31.96\"\n }\n ]\n\n const initialSort = [{ key: \"title\", direction: SortDirection.ASCENDING }]\n\n const [itemsSorted, setItemsSorted] = React.useState(items)\n\n function ignoreArticles(value) {\n return typeof value === \"string\"\n ? value.replace(/^(The|A) /, \"\")\n : value\n }\n\n function sortItems([newSort]) {\n const { key, direction } = newSort;\n itemsSorted.sort((a, b) =>\n (direction === SortDirection.ASCENDING ? 1 : -1)\n * (ignoreArticles(a[key]) >= ignoreArticles(b[key]) ? 1 : -1)\n )\n setItemsSorted([...itemsSorted])\n }\n\n React.useEffect(() => {\n sortItems(initialSort)\n }, [])\n\n return (\n <SpsTable\n sort={initialSort}\n onSortChange={sortItems}\n >\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader sortKey=\"spine\">Spine #</SpsTableHeader>\n <SpsTableHeader sortKey=\"title\">Title</SpsTableHeader>\n <SpsTableHeader sortKey=\"year\">Year</SpsTableHeader>\n <SpsTableHeader sortKey=\"director\">Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader sortKey=\"price\" className=\"text-right\">\n Price\n </SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {itemsSorted.map((row, i) => {\n return (\n <SpsTableRow key={i}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">\n {row[\"price\"]}\n </SpsTableCell>\n </SpsTableRow>\n )\n })}\n </SpsTableBody>\n </SpsTable>\n )\n }\n "], ["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n price: \"$31.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n price: \"$31.96\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n price: \"$31.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n price: \"$31.96\"\n }\n ]\n\n const initialSort = [{ key: \"title\", direction: SortDirection.ASCENDING }]\n\n const [itemsSorted, setItemsSorted] = React.useState(items)\n\n function ignoreArticles(value) {\n return typeof value === \"string\"\n ? value.replace(/^(The|A) /, \"\")\n : value\n }\n\n function sortItems([newSort]) {\n const { key, direction } = newSort;\n itemsSorted.sort((a, b) =>\n (direction === SortDirection.ASCENDING ? 1 : -1)\n * (ignoreArticles(a[key]) >= ignoreArticles(b[key]) ? 1 : -1)\n )\n setItemsSorted([...itemsSorted])\n }\n\n React.useEffect(() => {\n sortItems(initialSort)\n }, [])\n\n return (\n <SpsTable\n sort={initialSort}\n onSortChange={sortItems}\n >\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader sortKey=\"spine\">Spine #</SpsTableHeader>\n <SpsTableHeader sortKey=\"title\">Title</SpsTableHeader>\n <SpsTableHeader sortKey=\"year\">Year</SpsTableHeader>\n <SpsTableHeader sortKey=\"director\">Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader sortKey=\"price\" className=\"text-right\">\n Price\n </SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {itemsSorted.map((row, i) => {\n return (\n <SpsTableRow key={i}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">\n {row[\"price\"]}\n </SpsTableCell>\n </SpsTableRow>\n )\n })}\n </SpsTableBody>\n </SpsTable>\n )\n }\n "]))),
6648
6788
  },
6649
6789
  },
6650
6790
  },
@@ -6662,7 +6802,7 @@ var SpsTableExamples = {
6662
6802
  description: function () { return (React__namespace.createElement("div", { className: "sps-body-14" }, "Some table may require more content than will fit on the page horizontally. Horizontal scrolling allows users to scroll left and right inside the table to view all existing content.")); },
6663
6803
  examples: {
6664
6804
  scroll: {
6665
- react: utils.code(templateObject_4$i || (templateObject_4$i = __makeTemplateObject(["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n summary:\n \"One of the most thrilling movie epics of all time, Seven Samurai (Shichinin no samurai) tells the story of a sixteenth-century village whose desperate inhabitants hire the eponymous warriors to protect them from invading bandits. This three-hour ride from Akira Kurosawa\u2014featuring legendary actors Toshiro Mifune and Takashi Shimura\u2014seamlessly weaves philosophy and entertainment, delicate human emotions and relentless action, into a rich, evocative, and unforgettable tale of courage and hope.\",\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n summary:\n \"This sensual and striking chronicle of a disappearance and its aftermath put director Peter Weir on the map and helped usher in a new era of Australian cinema. Based on an acclaimed 1967 novel by Joan Lindsay, Picnic at Hanging Rock is set at the turn of the twentieth century and concerns a small group of students from an all- female college who vanish, along with a chaperone, while on a St. Valentine\u2019s Day outing. Less a mystery than a journey into the mystic, as well as an inquiry into issues of class and sexual repression in Australian society, Weir\u2019s gorgeous, disquieting film is a work of poetic horror whose secrets haunt viewers to this day.\",\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n summary:\n \"Spiritual rapture and institutional hypocrisy come to stark, vivid life in one of the most transcendent masterpieces of the silent era. Chronicling the trial of Joan of Arc in the hours leading up to her execution, Danish master Carl Theodor Dreyer depicts her torment with startling immediacy, employing an array of techniques\u2014expressionistic lighting, interconnected sets, painfully intimate close-ups\u2014to immerse viewers in her subjective experience. Anchoring Dreyer\u2019s audacious formal experimentation is a legendary performance by Ren\u00E9e Falconetti, whose haunted face channels both the agony and the ecstasy of martyrdom.\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n summary:\n \"A singular work in film history, Chantal Akerman\u2019s Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles meticulously details, with a sense of impending doom, the daily routine of a middle-aged widow, whose chores include making the beds, cooking dinner for her son, and turning the occasional trick. In its enormous spareness, Akerman\u2019s film seems simple, but it encompasses an entire world. Whether seen as an exacting character study or as one of cinema\u2019s most hypnotic and complete depictions of space and time, Jeanne Dielman is an astonishing, compelling movie experiment, one that has been analyzed and argued over for decades.\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n summary:\n \"By the midsixties, Ingmar Bergman had already conjured many of the cinema\u2019s most unforgettable images. But with the radical Persona, he attained new levels of visual poetry. In the first of a series of legendary performances for Bergman, Liv Ullmann plays a stage actor who has inexplicably gone mute; an equally mesmerizing Bibi Andersson is the garrulous young nurse caring for her in a remote island cottage. While isolated together there, the women undergo a mysterious spiritual and emotional transference. Performed with astonishing nuance and shot in stark contrast and soft light by Sven Nykvist, the influential Persona is a penetrating, dreamlike work of profound psychological depth.\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n summary:\n \"In the early 1970s, Rainer Werner Fassbinder discovered the American melodramas of Douglas Sirk and was inspired by them to begin working in a new, more intensely emotional register. One of the first and best-loved films of this period in his career is The Bitter Tears of Petra von Kant, which balances a realistic depiction of tormented romance with staging that remains true to the director\u2019s roots in experimental theater. This unforgettable, unforgiving dissection of the imbalanced relationship between a haughty fashion designer (Margit Carstensen) and a beautiful but icy ingenue (Hanna Schygulla)\u2014based, in a sly gender reversal, on the writer-director\u2019s own desperate obsession with a young actor\u2014is a true Fassbinder affair, featuring exquisitely claustrophobic cinematography by Michael Ballhaus and full-throttle performances by an all-female cast.\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n summary:\n \"Two decades after its original negatives were burned in a fire, Satyajit Ray\u2019s breathtaking milestone of world cinema rises from the ashes in a meticulously reconstructed new restoration. The Apu Trilogy brought India into the golden age of international art-house film, following one indelible character, a free-spirited child in rural Bengal who matures into an adolescent urban student and finally a sensitive man of the world. These delicate masterworks\u2014Pather Panchali (Song of the Little Road), Aparajito (The Unvanquished), and Apur Sansar (The World of Apu)\u2014based on two books by Bibhutibhusan Banerjee, were shot over the course of five years, and each stands on its own as a tender, visually radiant journey. They are among the most achingly beautiful, richly humane movies ever made\u2014essential works for any film lover.\",\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n summary:\n \"Andrei Tarkovsky\u2019s final Soviet feature is a metaphys\u00ADical journey through an enigmatic postapocalyptic landscape, and a rarefied cinematic experience like no other. A hired guide\u2014the Stalker\u2014leads a writer and a professor into the heart of the Zone, the restricted site of a long-ago disaster, where the three men eventually zero in on the Room, a place rumored to fulfill one\u2019s most deeply held desires. Adapting a science-fiction novel by Arkady and Boris Strugatsky, Tarkovsky created an immersive world with a wealth of material detail and a sense of organic atmosphere. A religious allegory, a reflection of contemporaneous political anxieties, a meditation on film itself\u2014Stalker envelops the viewer by opening up a multitude of possible meanings.\",\n price: \"$31.96\"\n }\n ];\n\n return (\n <SpsTable style={{ width: \"200%\" }}>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader>Spine#</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Price</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell wrap={400}>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell wrap={400}>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell wrap={400}>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">{row[\"price\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "], ["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n summary:\n \"One of the most thrilling movie epics of all time, Seven Samurai (Shichinin no samurai) tells the story of a sixteenth-century village whose desperate inhabitants hire the eponymous warriors to protect them from invading bandits. This three-hour ride from Akira Kurosawa\u2014featuring legendary actors Toshiro Mifune and Takashi Shimura\u2014seamlessly weaves philosophy and entertainment, delicate human emotions and relentless action, into a rich, evocative, and unforgettable tale of courage and hope.\",\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n summary:\n \"This sensual and striking chronicle of a disappearance and its aftermath put director Peter Weir on the map and helped usher in a new era of Australian cinema. Based on an acclaimed 1967 novel by Joan Lindsay, Picnic at Hanging Rock is set at the turn of the twentieth century and concerns a small group of students from an all- female college who vanish, along with a chaperone, while on a St. Valentine\u2019s Day outing. Less a mystery than a journey into the mystic, as well as an inquiry into issues of class and sexual repression in Australian society, Weir\u2019s gorgeous, disquieting film is a work of poetic horror whose secrets haunt viewers to this day.\",\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n summary:\n \"Spiritual rapture and institutional hypocrisy come to stark, vivid life in one of the most transcendent masterpieces of the silent era. Chronicling the trial of Joan of Arc in the hours leading up to her execution, Danish master Carl Theodor Dreyer depicts her torment with startling immediacy, employing an array of techniques\u2014expressionistic lighting, interconnected sets, painfully intimate close-ups\u2014to immerse viewers in her subjective experience. Anchoring Dreyer\u2019s audacious formal experimentation is a legendary performance by Ren\u00E9e Falconetti, whose haunted face channels both the agony and the ecstasy of martyrdom.\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n summary:\n \"A singular work in film history, Chantal Akerman\u2019s Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles meticulously details, with a sense of impending doom, the daily routine of a middle-aged widow, whose chores include making the beds, cooking dinner for her son, and turning the occasional trick. In its enormous spareness, Akerman\u2019s film seems simple, but it encompasses an entire world. Whether seen as an exacting character study or as one of cinema\u2019s most hypnotic and complete depictions of space and time, Jeanne Dielman is an astonishing, compelling movie experiment, one that has been analyzed and argued over for decades.\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n summary:\n \"By the midsixties, Ingmar Bergman had already conjured many of the cinema\u2019s most unforgettable images. But with the radical Persona, he attained new levels of visual poetry. In the first of a series of legendary performances for Bergman, Liv Ullmann plays a stage actor who has inexplicably gone mute; an equally mesmerizing Bibi Andersson is the garrulous young nurse caring for her in a remote island cottage. While isolated together there, the women undergo a mysterious spiritual and emotional transference. Performed with astonishing nuance and shot in stark contrast and soft light by Sven Nykvist, the influential Persona is a penetrating, dreamlike work of profound psychological depth.\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n summary:\n \"In the early 1970s, Rainer Werner Fassbinder discovered the American melodramas of Douglas Sirk and was inspired by them to begin working in a new, more intensely emotional register. One of the first and best-loved films of this period in his career is The Bitter Tears of Petra von Kant, which balances a realistic depiction of tormented romance with staging that remains true to the director\u2019s roots in experimental theater. This unforgettable, unforgiving dissection of the imbalanced relationship between a haughty fashion designer (Margit Carstensen) and a beautiful but icy ingenue (Hanna Schygulla)\u2014based, in a sly gender reversal, on the writer-director\u2019s own desperate obsession with a young actor\u2014is a true Fassbinder affair, featuring exquisitely claustrophobic cinematography by Michael Ballhaus and full-throttle performances by an all-female cast.\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n summary:\n \"Two decades after its original negatives were burned in a fire, Satyajit Ray\u2019s breathtaking milestone of world cinema rises from the ashes in a meticulously reconstructed new restoration. The Apu Trilogy brought India into the golden age of international art-house film, following one indelible character, a free-spirited child in rural Bengal who matures into an adolescent urban student and finally a sensitive man of the world. These delicate masterworks\u2014Pather Panchali (Song of the Little Road), Aparajito (The Unvanquished), and Apur Sansar (The World of Apu)\u2014based on two books by Bibhutibhusan Banerjee, were shot over the course of five years, and each stands on its own as a tender, visually radiant journey. They are among the most achingly beautiful, richly humane movies ever made\u2014essential works for any film lover.\",\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n summary:\n \"Andrei Tarkovsky\u2019s final Soviet feature is a metaphys\u00ADical journey through an enigmatic postapocalyptic landscape, and a rarefied cinematic experience like no other. A hired guide\u2014the Stalker\u2014leads a writer and a professor into the heart of the Zone, the restricted site of a long-ago disaster, where the three men eventually zero in on the Room, a place rumored to fulfill one\u2019s most deeply held desires. Adapting a science-fiction novel by Arkady and Boris Strugatsky, Tarkovsky created an immersive world with a wealth of material detail and a sense of organic atmosphere. A religious allegory, a reflection of contemporaneous political anxieties, a meditation on film itself\u2014Stalker envelops the viewer by opening up a multitude of possible meanings.\",\n price: \"$31.96\"\n }\n ];\n\n return (\n <SpsTable style={{ width: \"200%\" }}>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader>Spine#</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Price</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell wrap={400}>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell wrap={400}>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell wrap={400}>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">{row[\"price\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "]))),
6805
+ react: utils.code(templateObject_4$i || (templateObject_4$i = __makeTemplateObject(["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n summary:\n \"One of the most thrilling movie epics of all time, Seven Samurai (Shichinin no samurai) tells the story of a sixteenth-century village whose desperate inhabitants hire the eponymous warriors to protect them from invading bandits. This three-hour ride from Akira Kurosawa\u2014featuring legendary actors Toshiro Mifune and Takashi Shimura\u2014seamlessly weaves philosophy and entertainment, delicate human emotions and relentless action, into a rich, evocative, and unforgettable tale of courage and hope.\",\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n summary:\n \"This sensual and striking chronicle of a disappearance and its aftermath put director Peter Weir on the map and helped usher in a new era of Australian cinema. Based on an acclaimed 1967 novel by Joan Lindsay, Picnic at Hanging Rock is set at the turn of the twentieth century and concerns a small group of students from an all- female college who vanish, along with a chaperone, while on a St. Valentine\u2019s Day outing. Less a mystery than a journey into the mystic, as well as an inquiry into issues of class and sexual repression in Australian society, Weir\u2019s gorgeous, disquieting film is a work of poetic horror whose secrets haunt viewers to this day.\",\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n summary:\n \"Spiritual rapture and institutional hypocrisy come to stark, vivid life in one of the most transcendent masterpieces of the silent era. Chronicling the trial of Joan of Arc in the hours leading up to her execution, Danish master Carl Theodor Dreyer depicts her torment with startling immediacy, employing an array of techniques\u2014expressionistic lighting, interconnected sets, painfully intimate close-ups\u2014to immerse viewers in her subjective experience. Anchoring Dreyer\u2019s audacious formal experimentation is a legendary performance by Ren\u00E9e Falconetti, whose haunted face channels both the agony and the ecstasy of martyrdom.\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n summary:\n \"A singular work in film history, Chantal Akerman\u2019s Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles meticulously details, with a sense of impending doom, the daily routine of a middle-aged widow, whose chores include making the beds, cooking dinner for her son, and turning the occasional trick. In its enormous spareness, Akerman\u2019s film seems simple, but it encompasses an entire world. Whether seen as an exacting character study or as one of cinema\u2019s most hypnotic and complete depictions of space and time, Jeanne Dielman is an astonishing, compelling movie experiment, one that has been analyzed and argued over for decades.\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n summary:\n \"By the midsixties, Ingmar Bergman had already conjured many of the cinema\u2019s most unforgettable images. But with the radical Persona, he attained new levels of visual poetry. In the first of a series of legendary performances for Bergman, Liv Ullmann plays a stage actor who has inexplicably gone mute; an equally mesmerizing Bibi Andersson is the garrulous young nurse caring for her in a remote island cottage. While isolated together there, the women undergo a mysterious spiritual and emotional transference. Performed with astonishing nuance and shot in stark contrast and soft light by Sven Nykvist, the influential Persona is a penetrating, dreamlike work of profound psychological depth.\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n summary:\n \"In the early 1970s, Rainer Werner Fassbinder discovered the American melodramas of Douglas Sirk and was inspired by them to begin working in a new, more intensely emotional register. One of the first and best-loved films of this period in his career is The Bitter Tears of Petra von Kant, which balances a realistic depiction of tormented romance with staging that remains true to the director\u2019s roots in experimental theater. This unforgettable, unforgiving dissection of the imbalanced relationship between a haughty fashion designer (Margit Carstensen) and a beautiful but icy ingenue (Hanna Schygulla)\u2014based, in a sly gender reversal, on the writer-director\u2019s own desperate obsession with a young actor\u2014is a true Fassbinder affair, featuring exquisitely claustrophobic cinematography by Michael Ballhaus and full-throttle performances by an all-female cast.\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n summary:\n \"Two decades after its original negatives were burned in a fire, Satyajit Ray\u2019s breathtaking milestone of world cinema rises from the ashes in a meticulously reconstructed new restoration. The Apu Trilogy brought India into the golden age of international art-house film, following one indelible character, a free-spirited child in rural Bengal who matures into an adolescent urban student and finally a sensitive man of the world. These delicate masterworks\u2014Pather Panchali (Song of the Little Road), Aparajito (The Unvanquished), and Apur Sansar (The World of Apu)\u2014based on two books by Bibhutibhusan Banerjee, were shot over the course of five years, and each stands on its own as a tender, visually radiant journey. They are among the most achingly beautiful, richly humane movies ever made\u2014essential works for any film lover.\",\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n summary:\n \"Andrei Tarkovsky\u2019s final Soviet feature is a metaphys\u00ADical journey through an enigmatic postapocalyptic landscape, and a rarefied cinematic experience like no other. A hired guide\u2014the Stalker\u2014leads a writer and a professor into the heart of the Zone, the restricted site of a long-ago disaster, where the three men eventually zero in on the Room, a place rumored to fulfill one\u2019s most deeply held desires. Adapting a science-fiction novel by Arkady and Boris Strugatsky, Tarkovsky created an immersive world with a wealth of material detail and a sense of organic atmosphere. A religious allegory, a reflection of contemporaneous political anxieties, a meditation on film itself\u2014Stalker envelops the viewer by opening up a multitude of possible meanings.\",\n price: \"$31.96\"\n }\n ];\n\n return (\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader>Spine#</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Runtime</SpsTableHeader>\n <SpsTableHeader>Aspect Ratio</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader>Languages</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Price</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"runtime\"]}</SpsTableCell>\n <SpsTableCell>{row[\"aspect_ratio\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell>{row[\"languages\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">{row[\"price\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "], ["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n summary:\n \"One of the most thrilling movie epics of all time, Seven Samurai (Shichinin no samurai) tells the story of a sixteenth-century village whose desperate inhabitants hire the eponymous warriors to protect them from invading bandits. This three-hour ride from Akira Kurosawa\u2014featuring legendary actors Toshiro Mifune and Takashi Shimura\u2014seamlessly weaves philosophy and entertainment, delicate human emotions and relentless action, into a rich, evocative, and unforgettable tale of courage and hope.\",\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n summary:\n \"This sensual and striking chronicle of a disappearance and its aftermath put director Peter Weir on the map and helped usher in a new era of Australian cinema. Based on an acclaimed 1967 novel by Joan Lindsay, Picnic at Hanging Rock is set at the turn of the twentieth century and concerns a small group of students from an all- female college who vanish, along with a chaperone, while on a St. Valentine\u2019s Day outing. Less a mystery than a journey into the mystic, as well as an inquiry into issues of class and sexual repression in Australian society, Weir\u2019s gorgeous, disquieting film is a work of poetic horror whose secrets haunt viewers to this day.\",\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n summary:\n \"Spiritual rapture and institutional hypocrisy come to stark, vivid life in one of the most transcendent masterpieces of the silent era. Chronicling the trial of Joan of Arc in the hours leading up to her execution, Danish master Carl Theodor Dreyer depicts her torment with startling immediacy, employing an array of techniques\u2014expressionistic lighting, interconnected sets, painfully intimate close-ups\u2014to immerse viewers in her subjective experience. Anchoring Dreyer\u2019s audacious formal experimentation is a legendary performance by Ren\u00E9e Falconetti, whose haunted face channels both the agony and the ecstasy of martyrdom.\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n summary:\n \"A singular work in film history, Chantal Akerman\u2019s Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles meticulously details, with a sense of impending doom, the daily routine of a middle-aged widow, whose chores include making the beds, cooking dinner for her son, and turning the occasional trick. In its enormous spareness, Akerman\u2019s film seems simple, but it encompasses an entire world. Whether seen as an exacting character study or as one of cinema\u2019s most hypnotic and complete depictions of space and time, Jeanne Dielman is an astonishing, compelling movie experiment, one that has been analyzed and argued over for decades.\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n summary:\n \"By the midsixties, Ingmar Bergman had already conjured many of the cinema\u2019s most unforgettable images. But with the radical Persona, he attained new levels of visual poetry. In the first of a series of legendary performances for Bergman, Liv Ullmann plays a stage actor who has inexplicably gone mute; an equally mesmerizing Bibi Andersson is the garrulous young nurse caring for her in a remote island cottage. While isolated together there, the women undergo a mysterious spiritual and emotional transference. Performed with astonishing nuance and shot in stark contrast and soft light by Sven Nykvist, the influential Persona is a penetrating, dreamlike work of profound psychological depth.\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n summary:\n \"In the early 1970s, Rainer Werner Fassbinder discovered the American melodramas of Douglas Sirk and was inspired by them to begin working in a new, more intensely emotional register. One of the first and best-loved films of this period in his career is The Bitter Tears of Petra von Kant, which balances a realistic depiction of tormented romance with staging that remains true to the director\u2019s roots in experimental theater. This unforgettable, unforgiving dissection of the imbalanced relationship between a haughty fashion designer (Margit Carstensen) and a beautiful but icy ingenue (Hanna Schygulla)\u2014based, in a sly gender reversal, on the writer-director\u2019s own desperate obsession with a young actor\u2014is a true Fassbinder affair, featuring exquisitely claustrophobic cinematography by Michael Ballhaus and full-throttle performances by an all-female cast.\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n summary:\n \"Two decades after its original negatives were burned in a fire, Satyajit Ray\u2019s breathtaking milestone of world cinema rises from the ashes in a meticulously reconstructed new restoration. The Apu Trilogy brought India into the golden age of international art-house film, following one indelible character, a free-spirited child in rural Bengal who matures into an adolescent urban student and finally a sensitive man of the world. These delicate masterworks\u2014Pather Panchali (Song of the Little Road), Aparajito (The Unvanquished), and Apur Sansar (The World of Apu)\u2014based on two books by Bibhutibhusan Banerjee, were shot over the course of five years, and each stands on its own as a tender, visually radiant journey. They are among the most achingly beautiful, richly humane movies ever made\u2014essential works for any film lover.\",\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n summary:\n \"Andrei Tarkovsky\u2019s final Soviet feature is a metaphys\u00ADical journey through an enigmatic postapocalyptic landscape, and a rarefied cinematic experience like no other. A hired guide\u2014the Stalker\u2014leads a writer and a professor into the heart of the Zone, the restricted site of a long-ago disaster, where the three men eventually zero in on the Room, a place rumored to fulfill one\u2019s most deeply held desires. Adapting a science-fiction novel by Arkady and Boris Strugatsky, Tarkovsky created an immersive world with a wealth of material detail and a sense of organic atmosphere. A religious allegory, a reflection of contemporaneous political anxieties, a meditation on film itself\u2014Stalker envelops the viewer by opening up a multitude of possible meanings.\",\n price: \"$31.96\"\n }\n ];\n\n return (\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader>Spine#</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Runtime</SpsTableHeader>\n <SpsTableHeader>Aspect Ratio</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader>Languages</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Price</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"runtime\"]}</SpsTableCell>\n <SpsTableCell>{row[\"aspect_ratio\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell>{row[\"languages\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">{row[\"price\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "]))),
6666
6806
  },
6667
6807
  },
6668
6808
  },
@@ -6678,7 +6818,7 @@ var SpsTableExamples = {
6678
6818
  },
6679
6819
  examples: {
6680
6820
  controls: {
6681
- react: utils.code(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\nfunction DemoComponent() {\n const items = [\n {\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n countries: \"Japan\",\n },\n {\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n countries: \"Australia\",\n },\n {\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n countries: \"France\",\n },\n {\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n countries: \"Sweden\",\n },\n {\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n countries: \"West Germany\",\n },\n {\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n countries: \"India\",\n },\n {\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n countries: \"Soviet Union\",\n },\n ];\n\n return (\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader ></SpsTableHeader>\n <SpsTableHeader >Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader >Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell><SpsCheckbox/></SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n}\n "], ["\nfunction DemoComponent() {\n const items = [\n {\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n countries: \"Japan\",\n },\n {\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n countries: \"Australia\",\n },\n {\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n countries: \"France\",\n },\n {\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n countries: \"Sweden\",\n },\n {\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n countries: \"West Germany\",\n },\n {\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n countries: \"India\",\n },\n {\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n countries: \"Soviet Union\",\n },\n ];\n\n return (\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader ></SpsTableHeader>\n <SpsTableHeader >Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader >Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell><SpsCheckbox/></SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n}\n "]))),
6821
+ react: utils.code(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\n function DemoComponent() {\n const items = [\n {\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n countries: \"Japan\",\n },\n {\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n countries: \"Australia\",\n },\n {\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n countries: \"France\",\n },\n {\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n countries: \"Sweden\",\n },\n {\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n countries: \"West Germany\",\n },\n {\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n countries: \"India\",\n },\n {\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n countries: \"Soviet Union\",\n },\n ];\n\n return (\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader ></SpsTableHeader>\n <SpsTableHeader >Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader >Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell><SpsCheckbox/></SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "], ["\n function DemoComponent() {\n const items = [\n {\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n countries: \"Japan\",\n },\n {\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n countries: \"Australia\",\n },\n {\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n countries: \"France\",\n },\n {\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n countries: \"Sweden\",\n },\n {\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n countries: \"West Germany\",\n },\n {\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n countries: \"India\",\n },\n {\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n countries: \"Soviet Union\",\n },\n ];\n\n return (\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader ></SpsTableHeader>\n <SpsTableHeader >Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader >Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell><SpsCheckbox/></SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "]))),
6682
6822
  },
6683
6823
  },
6684
6824
  },
@@ -6707,19 +6847,27 @@ var SpsTableExamples = {
6707
6847
  description: 'When certain columns existing in a Horizontal Scrolling table, certain columns on the left or right of the table may need to be pinned in place to maintain visibility while the user scrolls.',
6708
6848
  examples: {
6709
6849
  controls: {
6710
- react: utils.code(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n function DemoComponent() {\n const [allRowsChecked, setAllRowsChecked] = React.useState(false);\n\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n summary:\n \"One of the most thrilling movie epics of all time, Seven Samurai (Shichinin no samurai) tells the story of a sixteenth-century village whose desperate inhabitants hire the eponymous warriors to protect them from invading bandits. This three-hour ride from Akira Kurosawa\u2014featuring legendary actors Toshiro Mifune and Takashi Shimura\u2014seamlessly weaves philosophy and entertainment, delicate human emotions and relentless action, into a rich, evocative, and unforgettable tale of courage and hope.\",\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n summary:\n \"This sensual and striking chronicle of a disappearance and its aftermath put director Peter Weir on the map and helped usher in a new era of Australian cinema. Based on an acclaimed 1967 novel by Joan Lindsay, Picnic at Hanging Rock is set at the turn of the twentieth century and concerns a small group of students from an all- female college who vanish, along with a chaperone, while on a St. Valentine\u2019s Day outing. Less a mystery than a journey into the mystic, as well as an inquiry into issues of class and sexual repression in Australian society, Weir\u2019s gorgeous, disquieting film is a work of poetic horror whose secrets haunt viewers to this day.\",\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n summary:\n \"Spiritual rapture and institutional hypocrisy come to stark, vivid life in one of the most transcendent masterpieces of the silent era. Chronicling the trial of Joan of Arc in the hours leading up to her execution, Danish master Carl Theodor Dreyer depicts her torment with startling immediacy, employing an array of techniques\u2014expressionistic lighting, interconnected sets, painfully intimate close-ups\u2014to immerse viewers in her subjective experience. Anchoring Dreyer\u2019s audacious formal experimentation is a legendary performance by Ren\u00E9e Falconetti, whose haunted face channels both the agony and the ecstasy of martyrdom.\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n summary:\n \"A singular work in film history, Chantal Akerman\u2019s Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles meticulously details, with a sense of impending doom, the daily routine of a middle-aged widow, whose chores include making the beds, cooking dinner for her son, and turning the occasional trick. In its enormous spareness, Akerman\u2019s film seems simple, but it encompasses an entire world. Whether seen as an exacting character study or as one of cinema\u2019s most hypnotic and complete depictions of space and time, Jeanne Dielman is an astonishing, compelling movie experiment, one that has been analyzed and argued over for decades.\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n summary:\n \"By the midsixties, Ingmar Bergman had already conjured many of the cinema\u2019s most unforgettable images. But with the radical Persona, he attained new levels of visual poetry. In the first of a series of legendary performances for Bergman, Liv Ullmann plays a stage actor who has inexplicably gone mute; an equally mesmerizing Bibi Andersson is the garrulous young nurse caring for her in a remote island cottage. While isolated together there, the women undergo a mysterious spiritual and emotional transference. Performed with astonishing nuance and shot in stark contrast and soft light by Sven Nykvist, the influential Persona is a penetrating, dreamlike work of profound psychological depth.\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n summary:\n \"In the early 1970s, Rainer Werner Fassbinder discovered the American melodramas of Douglas Sirk and was inspired by them to begin working in a new, more intensely emotional register. One of the first and best-loved films of this period in his career is The Bitter Tears of Petra von Kant, which balances a realistic depiction of tormented romance with staging that remains true to the director\u2019s roots in experimental theater. This unforgettable, unforgiving dissection of the imbalanced relationship between a haughty fashion designer (Margit Carstensen) and a beautiful but icy ingenue (Hanna Schygulla)\u2014based, in a sly gender reversal, on the writer-director\u2019s own desperate obsession with a young actor\u2014is a true Fassbinder affair, featuring exquisitely claustrophobic cinematography by Michael Ballhaus and full-throttle performances by an all-female cast.\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n summary:\n \"Two decades after its original negatives were burned in a fire, Satyajit Ray\u2019s breathtaking milestone of world cinema rises from the ashes in a meticulously reconstructed new restoration. The Apu Trilogy brought India into the golden age of international art-house film, following one indelible character, a free-spirited child in rural Bengal who matures into an adolescent urban student and finally a sensitive man of the world. These delicate masterworks\u2014Pather Panchali (Song of the Little Road), Aparajito (The Unvanquished), and Apur Sansar (The World of Apu)\u2014based on two books by Bibhutibhusan Banerjee, were shot over the course of five years, and each stands on its own as a tender, visually radiant journey. They are among the most achingly beautiful, richly humane movies ever made\u2014essential works for any film lover.\",\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n summary:\n \"Andrei Tarkovsky\u2019s final Soviet feature is a metaphys\u00ADical journey through an enigmatic postapocalyptic landscape, and a rarefied cinematic experience like no other. A hired guide\u2014the Stalker\u2014leads a writer and a professor into the heart of the Zone, the restricted site of a long-ago disaster, where the three men eventually zero in on the Room, a place rumored to fulfill one\u2019s most deeply held desires. Adapting a science-fiction novel by Arkady and Boris Strugatsky, Tarkovsky created an immersive world with a wealth of material detail and a sense of organic atmosphere. A religious allegory, a reflection of contemporaneous political anxieties, a meditation on film itself\u2014Stalker envelops the viewer by opening up a multitude of possible meanings.\",\n price: \"$31.96\"\n }\n ];\n\n return (\n <SpsTable selectable={true} style={{ width: \"200%\" }}>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader pinned controlCell>\n <SpsCheckbox checked={allRowsChecked} onChange={() => setAllRowsChecked((prev) => !prev) } />\n </SpsTableHeader>\n <SpsTableHeader>Spine #</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader>Price</SpsTableHeader>\n <SpsTableHeader className=\"text-right\" pinned>\n Actions\n </SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell controlCell pinned>\n <SpsCheckbox checked={allRowsChecked} />\n </SpsTableCell>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell wrap={400}>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell wrap={400}>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell wrap={400}>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell>{row['price']}</SpsTableCell>\n <SpsTableCell className=\"text-right\" buttonCell pinned>\n <SpsButton kind=\"icon\" icon=\"ellipses\" />\n </SpsTableCell>\n </SpsTableRow>\n )\n })}\n </SpsTableBody>\n </SpsTable>\n )\n}\n "], ["\n function DemoComponent() {\n const [allRowsChecked, setAllRowsChecked] = React.useState(false);\n\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n summary:\n \"One of the most thrilling movie epics of all time, Seven Samurai (Shichinin no samurai) tells the story of a sixteenth-century village whose desperate inhabitants hire the eponymous warriors to protect them from invading bandits. This three-hour ride from Akira Kurosawa\u2014featuring legendary actors Toshiro Mifune and Takashi Shimura\u2014seamlessly weaves philosophy and entertainment, delicate human emotions and relentless action, into a rich, evocative, and unforgettable tale of courage and hope.\",\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n summary:\n \"This sensual and striking chronicle of a disappearance and its aftermath put director Peter Weir on the map and helped usher in a new era of Australian cinema. Based on an acclaimed 1967 novel by Joan Lindsay, Picnic at Hanging Rock is set at the turn of the twentieth century and concerns a small group of students from an all- female college who vanish, along with a chaperone, while on a St. Valentine\u2019s Day outing. Less a mystery than a journey into the mystic, as well as an inquiry into issues of class and sexual repression in Australian society, Weir\u2019s gorgeous, disquieting film is a work of poetic horror whose secrets haunt viewers to this day.\",\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n summary:\n \"Spiritual rapture and institutional hypocrisy come to stark, vivid life in one of the most transcendent masterpieces of the silent era. Chronicling the trial of Joan of Arc in the hours leading up to her execution, Danish master Carl Theodor Dreyer depicts her torment with startling immediacy, employing an array of techniques\u2014expressionistic lighting, interconnected sets, painfully intimate close-ups\u2014to immerse viewers in her subjective experience. Anchoring Dreyer\u2019s audacious formal experimentation is a legendary performance by Ren\u00E9e Falconetti, whose haunted face channels both the agony and the ecstasy of martyrdom.\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n summary:\n \"A singular work in film history, Chantal Akerman\u2019s Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles meticulously details, with a sense of impending doom, the daily routine of a middle-aged widow, whose chores include making the beds, cooking dinner for her son, and turning the occasional trick. In its enormous spareness, Akerman\u2019s film seems simple, but it encompasses an entire world. Whether seen as an exacting character study or as one of cinema\u2019s most hypnotic and complete depictions of space and time, Jeanne Dielman is an astonishing, compelling movie experiment, one that has been analyzed and argued over for decades.\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n summary:\n \"By the midsixties, Ingmar Bergman had already conjured many of the cinema\u2019s most unforgettable images. But with the radical Persona, he attained new levels of visual poetry. In the first of a series of legendary performances for Bergman, Liv Ullmann plays a stage actor who has inexplicably gone mute; an equally mesmerizing Bibi Andersson is the garrulous young nurse caring for her in a remote island cottage. While isolated together there, the women undergo a mysterious spiritual and emotional transference. Performed with astonishing nuance and shot in stark contrast and soft light by Sven Nykvist, the influential Persona is a penetrating, dreamlike work of profound psychological depth.\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n summary:\n \"In the early 1970s, Rainer Werner Fassbinder discovered the American melodramas of Douglas Sirk and was inspired by them to begin working in a new, more intensely emotional register. One of the first and best-loved films of this period in his career is The Bitter Tears of Petra von Kant, which balances a realistic depiction of tormented romance with staging that remains true to the director\u2019s roots in experimental theater. This unforgettable, unforgiving dissection of the imbalanced relationship between a haughty fashion designer (Margit Carstensen) and a beautiful but icy ingenue (Hanna Schygulla)\u2014based, in a sly gender reversal, on the writer-director\u2019s own desperate obsession with a young actor\u2014is a true Fassbinder affair, featuring exquisitely claustrophobic cinematography by Michael Ballhaus and full-throttle performances by an all-female cast.\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n summary:\n \"Two decades after its original negatives were burned in a fire, Satyajit Ray\u2019s breathtaking milestone of world cinema rises from the ashes in a meticulously reconstructed new restoration. The Apu Trilogy brought India into the golden age of international art-house film, following one indelible character, a free-spirited child in rural Bengal who matures into an adolescent urban student and finally a sensitive man of the world. These delicate masterworks\u2014Pather Panchali (Song of the Little Road), Aparajito (The Unvanquished), and Apur Sansar (The World of Apu)\u2014based on two books by Bibhutibhusan Banerjee, were shot over the course of five years, and each stands on its own as a tender, visually radiant journey. They are among the most achingly beautiful, richly humane movies ever made\u2014essential works for any film lover.\",\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n summary:\n \"Andrei Tarkovsky\u2019s final Soviet feature is a metaphys\u00ADical journey through an enigmatic postapocalyptic landscape, and a rarefied cinematic experience like no other. A hired guide\u2014the Stalker\u2014leads a writer and a professor into the heart of the Zone, the restricted site of a long-ago disaster, where the three men eventually zero in on the Room, a place rumored to fulfill one\u2019s most deeply held desires. Adapting a science-fiction novel by Arkady and Boris Strugatsky, Tarkovsky created an immersive world with a wealth of material detail and a sense of organic atmosphere. A religious allegory, a reflection of contemporaneous political anxieties, a meditation on film itself\u2014Stalker envelops the viewer by opening up a multitude of possible meanings.\",\n price: \"$31.96\"\n }\n ];\n\n return (\n <SpsTable selectable={true} style={{ width: \"200%\" }}>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader pinned controlCell>\n <SpsCheckbox checked={allRowsChecked} onChange={() => setAllRowsChecked((prev) => !prev) } />\n </SpsTableHeader>\n <SpsTableHeader>Spine #</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader>Price</SpsTableHeader>\n <SpsTableHeader className=\"text-right\" pinned>\n Actions\n </SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell controlCell pinned>\n <SpsCheckbox checked={allRowsChecked} />\n </SpsTableCell>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell wrap={400}>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell wrap={400}>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell wrap={400}>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell>{row['price']}</SpsTableCell>\n <SpsTableCell className=\"text-right\" buttonCell pinned>\n <SpsButton kind=\"icon\" icon=\"ellipses\" />\n </SpsTableCell>\n </SpsTableRow>\n )\n })}\n </SpsTableBody>\n </SpsTable>\n )\n}\n "]))),
6850
+ react: utils.code(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\n function DemoComponent() {\n const [allRowsChecked, setAllRowsChecked] = React.useState(false);\n\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n price: 39.96,\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n price: 39.95,\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n price: 31.96,\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n price: 31.96,\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n price: 31.96,\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n price: 31.96,\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n price: 79.96,\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n price: 31.96,\n }, \n ]\n return (\n <SpsTable selectable={true}>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader pinned controlCell>\n <SpsCheckbox checked={allRowsChecked} onChange={() => setAllRowsChecked((prev) => !prev) } />\n </SpsTableHeader>\n <SpsTableHeader pinned controlCell>\n <SpsToggle />\n </SpsTableHeader>\n <SpsTableHeader>Spine #</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader>Languages</SpsTableHeader>\n <SpsTableHeader>Run time</SpsTableHeader>\n <SpsTableHeader>Aspect Ratio</SpsTableHeader>\n <SpsTableHeader>Price</SpsTableHeader>\n <SpsTableHeader className=\"text-right\" pinned>\n Actions\n </SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell controlCell pinned>\n <SpsCheckbox checked={allRowsChecked} />\n </SpsTableCell>\n <SpsTableCell controlCell pinned>\n <SpsToggle />\n </SpsTableCell>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell>{row[\"languages\"]}</SpsTableCell>\n <SpsTableCell>{row[\"runtime\"] ? row[\"runtime\"] + \" minutes\" : \"\"}</SpsTableCell>\n <SpsTableCell>{row[\"aspect_ratio\"]}</SpsTableCell>\n <SpsTableCell>${row[\"price\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\" buttonCell pinned>\n <SpsButton kind=\"icon\" icon=\"ellipses\" />\n </SpsTableCell>\n </SpsTableRow>\n )\n })}\n </SpsTableBody>\n </SpsTable>\n )\n }\n "], ["\n function DemoComponent() {\n const [allRowsChecked, setAllRowsChecked] = React.useState(false);\n\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n price: 39.96,\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n price: 39.95,\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n price: 31.96,\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n price: 31.96,\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n price: 31.96,\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n price: 31.96,\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n price: 79.96,\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n price: 31.96,\n }, \n ]\n return (\n <SpsTable selectable={true}>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader pinned controlCell>\n <SpsCheckbox checked={allRowsChecked} onChange={() => setAllRowsChecked((prev) => !prev) } />\n </SpsTableHeader>\n <SpsTableHeader pinned controlCell>\n <SpsToggle />\n </SpsTableHeader>\n <SpsTableHeader>Spine #</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader>Languages</SpsTableHeader>\n <SpsTableHeader>Run time</SpsTableHeader>\n <SpsTableHeader>Aspect Ratio</SpsTableHeader>\n <SpsTableHeader>Price</SpsTableHeader>\n <SpsTableHeader className=\"text-right\" pinned>\n Actions\n </SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell controlCell pinned>\n <SpsCheckbox checked={allRowsChecked} />\n </SpsTableCell>\n <SpsTableCell controlCell pinned>\n <SpsToggle />\n </SpsTableCell>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell>{row[\"languages\"]}</SpsTableCell>\n <SpsTableCell>{row[\"runtime\"] ? row[\"runtime\"] + \" minutes\" : \"\"}</SpsTableCell>\n <SpsTableCell>{row[\"aspect_ratio\"]}</SpsTableCell>\n <SpsTableCell>\\${row[\"price\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\" buttonCell pinned>\n <SpsButton kind=\"icon\" icon=\"ellipses\" />\n </SpsTableCell>\n </SpsTableRow>\n )\n })}\n </SpsTableBody>\n </SpsTable>\n )\n }\n "]))),
6851
+ },
6852
+ },
6853
+ },
6854
+ stickyHeaders: {
6855
+ label: 'Sticky Headers',
6856
+ examples: {
6857
+ basic: {
6858
+ react: utils.code(templateObject_8$6 || (templateObject_8$6 = __makeTemplateObject(["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n price: \"$31.96\"\n }\n ];\n\n const [sort, setSort] = React.useState([{ key: \"title\", direction: SortDirection.ASCENDING }]);\n\n function ignoreArticles(value) {\n return typeof value === \"string\"\n ? value.replace(/^(The|A) /, \"\")\n : value\n }\n \n const sortedItems = React.useMemo(() => {\n const [{key, direction}] = sort;\n return [...items].sort((a, b) =>\n (direction === SortDirection.ASCENDING ? 1 : -1)\n * (ignoreArticles(a[key]) >= ignoreArticles(b[key]) ? 1 : -1)\n );\n }, [sort]);\n\n return (\n <SpsTable sort={sort} onSortChange={setSort}>\n <SpsTableHead pinned>\n <SpsTableRow>\n <SpsTableHeader sortKey=\"spine\">Spine#</SpsTableHeader>\n <SpsTableHeader sortKey=\"title\">Title</SpsTableHeader>\n <SpsTableHeader sortKey=\"year\">Year</SpsTableHeader>\n <SpsTableHeader sortKey=\"director\">Director</SpsTableHeader>\n <SpsTableHeader>Runtime</SpsTableHeader>\n <SpsTableHeader>Aspect Ratio</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader>Languages</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Price</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {sortedItems.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"runtime\"]}</SpsTableCell>\n <SpsTableCell>{row[\"aspect_ratio\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell>{row[\"languages\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">{row[\"price\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "], ["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n price: \"$31.96\"\n }\n ];\n\n const [sort, setSort] = React.useState([{ key: \"title\", direction: SortDirection.ASCENDING }]);\n\n function ignoreArticles(value) {\n return typeof value === \"string\"\n ? value.replace(/^(The|A) /, \"\")\n : value\n }\n \n const sortedItems = React.useMemo(() => {\n const [{key, direction}] = sort;\n return [...items].sort((a, b) =>\n (direction === SortDirection.ASCENDING ? 1 : -1)\n * (ignoreArticles(a[key]) >= ignoreArticles(b[key]) ? 1 : -1)\n );\n }, [sort]);\n\n return (\n <SpsTable sort={sort} onSortChange={setSort}>\n <SpsTableHead pinned>\n <SpsTableRow>\n <SpsTableHeader sortKey=\"spine\">Spine#</SpsTableHeader>\n <SpsTableHeader sortKey=\"title\">Title</SpsTableHeader>\n <SpsTableHeader sortKey=\"year\">Year</SpsTableHeader>\n <SpsTableHeader sortKey=\"director\">Director</SpsTableHeader>\n <SpsTableHeader>Runtime</SpsTableHeader>\n <SpsTableHeader>Aspect Ratio</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader>Languages</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Price</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {sortedItems.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"runtime\"]}</SpsTableCell>\n <SpsTableCell>{row[\"aspect_ratio\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell>{row[\"languages\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">{row[\"price\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "]))),
6711
6859
  },
6712
6860
  },
6713
6861
  },
6714
6862
  };
6715
- var templateObject_1$v, templateObject_2$s, templateObject_3$o, templateObject_4$i, templateObject_5$b, templateObject_6$8, templateObject_7$7;
6863
+ var templateObject_1$w, templateObject_2$s, templateObject_3$o, templateObject_4$i, templateObject_5$b, templateObject_6$8, templateObject_7$7, templateObject_8$6;
6716
6864
 
6717
6865
  var SpsTagExamples = {
6718
6866
  basic: {
6719
6867
  label: 'Basic Tag',
6720
6868
  examples: {
6721
6869
  basic: {
6722
- react: utils.code(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n import { SpsTag } from \"@spscommerce/ds-react\";\n import { TagKind } from \"@spscommerce/ds-shared\";\n function Component() {\n return (\n <>\n <SpsTag className=\"mr-1 mb-1\">Default</SpsTag>\n <SpsTag kind={TagKind.KEY} className=\"mr-1 mb-1\">\n Key\n </SpsTag>\n <SpsTag kind={TagKind.WARNING} className=\"mr-1 mb-1\">\n Warning\n </SpsTag>\n <SpsTag kind={TagKind.ERROR} className=\"mr-1 mb-1\">\n Error\n </SpsTag>\n <SpsTag kind={TagKind.PENDING} className=\"mr-1 mb-1\">\n Pending\n </SpsTag>\n <SpsTag kind={TagKind.SUCCESS} className=\"mr-1 mb-1\">\n Success\n </SpsTag>\n <SpsTag kind={TagKind.INFO} className=\"mr-1 mb-1\">\n Info\n </SpsTag>\n </>\n );\n }\n "], ["\n import { SpsTag } from \"@spscommerce/ds-react\";\n import { TagKind } from \"@spscommerce/ds-shared\";\n function Component() {\n return (\n <>\n <SpsTag className=\"mr-1 mb-1\">Default</SpsTag>\n <SpsTag kind={TagKind.KEY} className=\"mr-1 mb-1\">\n Key\n </SpsTag>\n <SpsTag kind={TagKind.WARNING} className=\"mr-1 mb-1\">\n Warning\n </SpsTag>\n <SpsTag kind={TagKind.ERROR} className=\"mr-1 mb-1\">\n Error\n </SpsTag>\n <SpsTag kind={TagKind.PENDING} className=\"mr-1 mb-1\">\n Pending\n </SpsTag>\n <SpsTag kind={TagKind.SUCCESS} className=\"mr-1 mb-1\">\n Success\n </SpsTag>\n <SpsTag kind={TagKind.INFO} className=\"mr-1 mb-1\">\n Info\n </SpsTag>\n </>\n );\n }\n "]))),
6870
+ react: utils.code(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\n import { SpsTag } from \"@spscommerce/ds-react\";\n import { TagKind } from \"@spscommerce/ds-shared\";\n function Component() {\n return (\n <>\n <SpsTag className=\"mr-1 mb-1\">Default</SpsTag>\n <SpsTag kind={TagKind.KEY} className=\"mr-1 mb-1\">\n Key\n </SpsTag>\n <SpsTag kind={TagKind.WARNING} className=\"mr-1 mb-1\">\n Warning\n </SpsTag>\n <SpsTag kind={TagKind.ERROR} className=\"mr-1 mb-1\">\n Error\n </SpsTag>\n <SpsTag kind={TagKind.PENDING} className=\"mr-1 mb-1\">\n Pending\n </SpsTag>\n <SpsTag kind={TagKind.SUCCESS} className=\"mr-1 mb-1\">\n Success\n </SpsTag>\n <SpsTag kind={TagKind.INFO} className=\"mr-1 mb-1\">\n Info\n </SpsTag>\n </>\n );\n }\n "], ["\n import { SpsTag } from \"@spscommerce/ds-react\";\n import { TagKind } from \"@spscommerce/ds-shared\";\n function Component() {\n return (\n <>\n <SpsTag className=\"mr-1 mb-1\">Default</SpsTag>\n <SpsTag kind={TagKind.KEY} className=\"mr-1 mb-1\">\n Key\n </SpsTag>\n <SpsTag kind={TagKind.WARNING} className=\"mr-1 mb-1\">\n Warning\n </SpsTag>\n <SpsTag kind={TagKind.ERROR} className=\"mr-1 mb-1\">\n Error\n </SpsTag>\n <SpsTag kind={TagKind.PENDING} className=\"mr-1 mb-1\">\n Pending\n </SpsTag>\n <SpsTag kind={TagKind.SUCCESS} className=\"mr-1 mb-1\">\n Success\n </SpsTag>\n <SpsTag kind={TagKind.INFO} className=\"mr-1 mb-1\">\n Info\n </SpsTag>\n </>\n );\n }\n "]))),
6723
6871
  },
6724
6872
  },
6725
6873
  },
@@ -6732,7 +6880,7 @@ var SpsTagExamples = {
6732
6880
  },
6733
6881
  },
6734
6882
  };
6735
- var templateObject_1$u, templateObject_2$r;
6883
+ var templateObject_1$v, templateObject_2$r;
6736
6884
 
6737
6885
  var SpsListActionBarExamples = {
6738
6886
  general: {
@@ -6778,14 +6926,14 @@ var SpsListActionBarExamples = {
6778
6926
  description: 'This example makes use of the Text Buttons + Icon Buttons + Basic Buttons Group.',
6779
6927
  examples: {
6780
6928
  basic: {
6781
- react: utils.code(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n function SpsActionBarExample() {\n const [itemsSelected, setItemsSelected] = React.useState(0);\n\n function handleClear() {\n setItemsSelected(0);\n }\n\n function showExample() {\n setItemsSelected(3);\n }\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={showExample}>Show Action Bar</SpsButton>\n <SpsListActionBar itemsSelected={itemsSelected} clearSelected={handleClear}>\n <SpsButton kind={ButtonKind.LINK}>Text Button</SpsButton>\n <SpsVr style={{ marginLeft: \"15px\" }} />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.PRINTER} aria-label=\"Print\" />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.DOWNLOAD_CLOUD} aria-label=\"Download\" />\n <SpsVr style={{ marginRight: \"15px\" }} />\n <SpsButton className=\"mr-1\">Button</SpsButton>\n <SpsButton kind={ButtonKind.KEY} className=\"mr-1\">Button</SpsButton>\n <SpsButton kind={ButtonKind.CONFIRM} className=\"mr-1\">Button</SpsButton>\n </SpsListActionBar>\n </>\n )\n }\n "], ["\n function SpsActionBarExample() {\n const [itemsSelected, setItemsSelected] = React.useState(0);\n\n function handleClear() {\n setItemsSelected(0);\n }\n\n function showExample() {\n setItemsSelected(3);\n }\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={showExample}>Show Action Bar</SpsButton>\n <SpsListActionBar itemsSelected={itemsSelected} clearSelected={handleClear}>\n <SpsButton kind={ButtonKind.LINK}>Text Button</SpsButton>\n <SpsVr style={{ marginLeft: \"15px\" }} />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.PRINTER} aria-label=\"Print\" />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.DOWNLOAD_CLOUD} aria-label=\"Download\" />\n <SpsVr style={{ marginRight: \"15px\" }} />\n <SpsButton className=\"mr-1\">Button</SpsButton>\n <SpsButton kind={ButtonKind.KEY} className=\"mr-1\">Button</SpsButton>\n <SpsButton kind={ButtonKind.CONFIRM} className=\"mr-1\">Button</SpsButton>\n </SpsListActionBar>\n </>\n )\n }\n "]))),
6929
+ react: utils.code(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\n function SpsActionBarExample() {\n const [itemsSelected, setItemsSelected] = React.useState(0);\n\n function handleClear() {\n setItemsSelected(0);\n }\n\n function showExample() {\n setItemsSelected(3);\n }\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={showExample}>Show Action Bar</SpsButton>\n <SpsListActionBar itemsSelected={itemsSelected} clearSelected={handleClear}>\n <SpsButton kind={ButtonKind.LINK}>Text Button</SpsButton>\n <SpsVr style={{ marginLeft: \"15px\" }} />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.PRINTER} aria-label=\"Print\" />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.DOWNLOAD_CLOUD} aria-label=\"Download\" />\n <SpsVr style={{ marginRight: \"15px\" }} />\n <SpsButton className=\"mr-1\">Button</SpsButton>\n <SpsButton kind={ButtonKind.KEY} className=\"mr-1\">Button</SpsButton>\n <SpsButton kind={ButtonKind.CONFIRM} className=\"mr-1\">Button</SpsButton>\n </SpsListActionBar>\n </>\n )\n }\n "], ["\n function SpsActionBarExample() {\n const [itemsSelected, setItemsSelected] = React.useState(0);\n\n function handleClear() {\n setItemsSelected(0);\n }\n\n function showExample() {\n setItemsSelected(3);\n }\n\n return (\n <>\n <SpsButton kind={ButtonKind.LINK} onClick={showExample}>Show Action Bar</SpsButton>\n <SpsListActionBar itemsSelected={itemsSelected} clearSelected={handleClear}>\n <SpsButton kind={ButtonKind.LINK}>Text Button</SpsButton>\n <SpsVr style={{ marginLeft: \"15px\" }} />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.PRINTER} aria-label=\"Print\" />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.DOWNLOAD_CLOUD} aria-label=\"Download\" />\n <SpsVr style={{ marginRight: \"15px\" }} />\n <SpsButton className=\"mr-1\">Button</SpsButton>\n <SpsButton kind={ButtonKind.KEY} className=\"mr-1\">Button</SpsButton>\n <SpsButton kind={ButtonKind.CONFIRM} className=\"mr-1\">Button</SpsButton>\n </SpsListActionBar>\n </>\n )\n }\n "]))),
6782
6930
  },
6783
6931
  },
6784
6932
  },
6785
6933
  };
6786
- var templateObject_1$t;
6934
+ var templateObject_1$u;
6787
6935
 
6788
- var propTypes$R = __assign(__assign({}, spsGlobalPropTypes), { tabs: PropTypes.arrayOf(impl()).isRequired, activeTab: impl(), onTabChange: fun() });
6936
+ var propTypes$U = __assign(__assign({}, spsGlobalPropTypes), { tabs: PropTypes.arrayOf(impl()).isRequired, activeTab: impl(), onTabChange: fun() });
6789
6937
  function SpsTabs(props) {
6790
6938
  var tabs = props.tabs, activeTab = props.activeTab, onTabChange = props.onTabChange, className = props.className, unsafelyReplaceClassName = props.unsafelyReplaceClassName, testId = props["data-testid"], rest = __rest(props, ["tabs", "activeTab", "onTabChange", "className", "unsafelyReplaceClassName", 'data-testid']);
6791
6939
  var _a = __read(React__namespace.useState(null), 2), activeTabState = _a[0], setActiveTabState = _a[1];
@@ -6817,15 +6965,15 @@ function SpsTabs(props) {
6817
6965
  tab.tag && React__namespace.createElement("span", { className: "sps-tag sps-tag--key" }, tab.tag))); }))));
6818
6966
  }
6819
6967
  Object.assign(SpsTabs, {
6820
- propTypes: propTypes$R,
6968
+ propTypes: propTypes$U,
6821
6969
  displayName: 'SpsTabs',
6822
6970
  });
6823
6971
 
6824
- var propsDoc$N = {
6972
+ var propsDoc$Q = {
6825
6973
  formMeta: 'SpsFormSetMeta<any>',
6826
6974
  stacked: 'boolean',
6827
6975
  };
6828
- var propTypes$Q = __assign(__assign({}, spsGlobalPropTypes), { formArray: impl(), formGroup: impl(), formMeta: impl(), stacked: PropTypes.bool });
6976
+ var propTypes$T = __assign(__assign({}, spsGlobalPropTypes), { formArray: impl(), formGroup: impl(), formMeta: impl(), stacked: PropTypes.bool });
6829
6977
  function SpsInputGroup(_a) {
6830
6978
  var children = _a.children, className = _a.className, formArray = _a.formArray, formGroup = _a.formGroup, formMeta = _a.formMeta, stacked = _a.stacked, testId = _a["data-testid"], unsafelyReplaceClassName = _a.unsafelyReplaceClassName, rest = __rest(_a, ["children", "className", "formArray", "formGroup", "formMeta", "stacked", 'data-testid', "unsafelyReplaceClassName"]);
6831
6979
  var formControlSet = formGroup || formArray;
@@ -6849,15 +6997,15 @@ function SpsInputGroup(_a) {
6849
6997
  React__namespace.createElement("div", { className: clsx__default['default']('sps-input-group', stacked && 'sps-input-group--stacked') }, children)));
6850
6998
  }
6851
6999
  Object.assign(SpsInputGroup, {
6852
- props: propsDoc$N,
6853
- propTypes: propTypes$Q,
7000
+ props: propsDoc$Q,
7001
+ propTypes: propTypes$T,
6854
7002
  displayName: 'SpsInputGroup',
6855
7003
  });
6856
7004
 
6857
- var propsDoc$M = {
7005
+ var propsDoc$P = {
6858
7006
  onSubmit: 'FormEventHandler',
6859
7007
  };
6860
- var propTypes$P = __assign(__assign({}, spsGlobalPropTypes), { onSubmit: fun() });
7008
+ var propTypes$S = __assign(__assign({}, spsGlobalPropTypes), { onSubmit: fun() });
6861
7009
  function SpsListToolbarSearch(props) {
6862
7010
  var children = props.children, onSubmit = props.onSubmit;
6863
7011
  function handleSubmit(event) {
@@ -6870,12 +7018,12 @@ function SpsListToolbarSearch(props) {
6870
7018
  React__namespace.createElement(SpsInputGroup, { className: "sps-list-toolbar__search-field" }, children)));
6871
7019
  }
6872
7020
  Object.assign(SpsListToolbarSearch, {
6873
- props: propsDoc$M,
6874
- propTypes: propTypes$P,
7021
+ props: propsDoc$P,
7022
+ propTypes: propTypes$S,
6875
7023
  displayName: 'SpsListToolbarSearch',
6876
7024
  });
6877
7025
 
6878
- var propsDoc$L = {
7026
+ var propsDoc$O = {
6879
7027
  activeTab: 'SpsTab',
6880
7028
  advancedSearch: '{ isOpen: boolean, enteredFields: number }',
6881
7029
  onToggleAdvancedSearch: '(boolean) => void',
@@ -6883,13 +7031,17 @@ var propsDoc$L = {
6883
7031
  title: 'string',
6884
7032
  tabs: 'Array<SpsTab>',
6885
7033
  onToolbarPinned: '(boolean) => void',
7034
+ selectable: 'boolean',
7035
+ isSelected: 'boolean',
7036
+ isIndeterminate: 'boolean',
7037
+ onSelectionChange: '(boolean) => void',
6886
7038
  };
6887
- var propTypes$O = __assign(__assign({}, spsGlobalPropTypes), { activeTab: impl(), advancedSearch: PropTypes.shape({
7039
+ var propTypes$R = __assign(__assign({}, spsGlobalPropTypes), { activeTab: impl(), advancedSearch: PropTypes.shape({
6888
7040
  isOpen: PropTypes.bool,
6889
7041
  enteredFields: PropTypes.number,
6890
- }), onToggleAdvancedSearch: fun(), onTabChange: fun(), title: PropTypes.string, tabs: PropTypes.arrayOf(impl()), onToolbarPinned: fun() });
7042
+ }), onToggleAdvancedSearch: fun(), onTabChange: fun(), title: PropTypes.string, tabs: PropTypes.arrayOf(impl()), onToolbarPinned: fun(), selectable: PropTypes.bool, isSelected: PropTypes.bool, isIndeterminate: PropTypes.bool, onSelectionChange: fun() });
6891
7043
  function SpsListToolbar(props) {
6892
- var activeTab = props.activeTab, advancedSearch = props.advancedSearch, children = props.children, className = props.className, onToggleAdvancedSearch = props.onToggleAdvancedSearch, onTabChange = props.onTabChange, tabs = props.tabs, title = props.title, unsafelyReplaceClassName = props.unsafelyReplaceClassName, onToolbarPinned = props.onToolbarPinned, testId = props["data-testid"], rest = __rest(props, ["activeTab", "advancedSearch", "children", "className", "onToggleAdvancedSearch", "onTabChange", "tabs", "title", "unsafelyReplaceClassName", "onToolbarPinned", 'data-testid']);
7044
+ var activeTab = props.activeTab, advancedSearch = props.advancedSearch, children = props.children, className = props.className, onToggleAdvancedSearch = props.onToggleAdvancedSearch, onTabChange = props.onTabChange, tabs = props.tabs, title = props.title, unsafelyReplaceClassName = props.unsafelyReplaceClassName, onToolbarPinned = props.onToolbarPinned, selectable = props.selectable, isSelected = props.isSelected, isIndeterminate = props.isIndeterminate, onSelectionChange = props.onSelectionChange, testId = props["data-testid"], rest = __rest(props, ["activeTab", "advancedSearch", "children", "className", "onToggleAdvancedSearch", "onTabChange", "tabs", "title", "unsafelyReplaceClassName", "onToolbarPinned", "selectable", "isSelected", "isIndeterminate", "onSelectionChange", 'data-testid']);
6893
7045
  var t = React__namespace.useContext(I18nContext).t;
6894
7046
  var unpinScrollY = null;
6895
7047
  var _a = __read(React__namespace.useState(false), 2), isPinned = _a[0], setIsPinned = _a[1];
@@ -6943,7 +7095,11 @@ function SpsListToolbar(props) {
6943
7095
  { type: SpsListToolbarSearch },
6944
7096
  ]), 2), listToolbarSearch = _b[0], otherChildren = _b[1];
6945
7097
  return (React__namespace.createElement("div", __assign({ className: classes, "data-testid": testId, ref: rootElement }, rest),
6946
- tabs && React__namespace.createElement(SpsTabs, { tabs: tabs, onTabChange: handleTabChange, activeTab: activeTab, "data-testid": testId + "__tabs" }),
7098
+ !!selectable && (React__namespace.createElement("div", { className: "sps-list-toolbar__selection-controls" },
7099
+ React__namespace.createElement(SpsCheckbox, { checked: isSelected, indeterminate: isIndeterminate, onChange: function () {
7100
+ onSelectionChange === null || onSelectionChange === void 0 ? void 0 : onSelectionChange(!isSelected);
7101
+ } }))),
7102
+ tabs && (React__namespace.createElement(SpsTabs, { tabs: tabs, onTabChange: handleTabChange, activeTab: activeTab, "data-testid": testId + "__tabs" })),
6947
7103
  React__namespace.createElement("div", { className: "sps-list-toolbar__search-controls" },
6948
7104
  !title && listToolbarSearch,
6949
7105
  listToolbarSearch.length > 0 && advancedSearch && (React__namespace.createElement("div", { className: "sps-list-toolbar__advanced-search-toggle", "data-testid": testId + "__advanced-search" },
@@ -6951,14 +7107,13 @@ function SpsListToolbar(props) {
6951
7107
  React__namespace.createElement(SpsButton, { kind: dsShared.ButtonKind.LINK, onClick: toggleAdvancedSearch }, t('design-system:listToolbar.advancedSearchToggle'))),
6952
7108
  advancedSearch.enteredFields > 0 && (React__namespace.createElement(SpsTag, { kind: dsShared.TagKind.INFO },
6953
7109
  React__namespace.createElement("span", null, advancedSearch.enteredFields))))),
6954
- title
6955
- && (React__namespace.createElement("div", { "data-testid": testId + "-title", className: "sps-list-toolbar__advanced-search-title" }, title))),
7110
+ title && (React__namespace.createElement("div", { "data-testid": testId + "-title", className: "sps-list-toolbar__advanced-search-title" }, title))),
6956
7111
  isPinned ? (React__namespace.createElement("div", { className: "sps-list-toolbar__header-content" },
6957
7112
  React__namespace.createElement(PortalContext.Provider, { value: { fixed: true } }, otherChildren))) : (React__namespace.createElement("div", { className: "sps-list-toolbar__header-content" }, otherChildren))));
6958
7113
  }
6959
7114
  Object.assign(SpsListToolbar, {
6960
- props: propsDoc$L,
6961
- propTypes: propTypes$O,
7115
+ props: propsDoc$O,
7116
+ propTypes: propTypes$R,
6962
7117
  displayName: 'SpsListToolbar',
6963
7118
  });
6964
7119
 
@@ -7039,34 +7194,25 @@ var SpsListToolbarExamples = {
7039
7194
  label: 'Content Order',
7040
7195
  description: React__namespace.createElement(ContentOrderExample, null),
7041
7196
  },
7042
- // TODO: updates needed to the list toolbar component
7043
- // checkbox: {
7044
- // label: 'Checkbox',
7045
- // description: ({ NavigateTo }) => (
7046
- // <p>
7047
- // Use a Checkbox in the List Toolbar when items in a{' '}
7048
- // <NavigateTo to="content-row">Content Row</NavigateTo> or{' '}
7049
- // <NavigateTo to="tile-list">Content Tile</NavigateTo> are selectable. The Checkbox
7050
- // selects all items in the list, and will cause the Action Bar to appear.
7051
- // Do not use this with a Table, as Tables have a built-in checkbox in the
7052
- // header row.
7053
- // </p>
7054
- // ),
7055
- // examples: {
7056
- // checkbox: {
7057
- // react: code`
7058
- // function Component() {
7059
- // const { formValue, formMeta, updateForm } = useSpsForm({
7060
- // searchText: "",
7061
- // });
7062
- // return (
7063
- // <p>placeholder</p>
7064
- // )
7065
- // }
7066
- // `,
7067
- // },
7068
- // },
7069
- // },
7197
+ checkbox: {
7198
+ label: 'Checkbox',
7199
+ description: function (_a) {
7200
+ var NavigateTo = _a.NavigateTo;
7201
+ return (React__namespace.createElement("p", null,
7202
+ "Use a Checkbox in the List Toolbar when items in a",
7203
+ ' ',
7204
+ React__namespace.createElement(NavigateTo, { to: "content-row" }, "Content Row"),
7205
+ " or",
7206
+ ' ',
7207
+ React__namespace.createElement(NavigateTo, { to: "tile-list" }, "Content Tile"),
7208
+ " are selectable. The Checkbox selects all items in the list, and will cause the Action Bar to appear. Do not use this with a Table, as Tables have a built-in checkbox in the header row."));
7209
+ },
7210
+ examples: {
7211
+ checkbox: {
7212
+ react: utils.code(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n const [isSelected, setIsSelected] = React.useState(false);\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar \n selectable \n onSelectionChange={setIsSelected} \n isSelected={isSelected}\n >\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n icon={SpsIcon.FILTER}\n placeholder=\"Filter fields\"\n />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "], ["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n const [isSelected, setIsSelected] = React.useState(false);\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar \n selectable \n onSelectionChange={setIsSelected} \n isSelected={isSelected}\n >\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n icon={SpsIcon.FILTER}\n placeholder=\"Filter fields\"\n />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "]))),
7213
+ },
7214
+ },
7215
+ },
7070
7216
  searchAndFilter: {
7071
7217
  label: 'Search + Filter Inputs',
7072
7218
  description: function () { return (React__namespace.createElement("p", null, "Use Search and Filter inputs to make it easier to quickly find list items.")); },
@@ -7075,25 +7221,25 @@ var SpsListToolbarExamples = {
7075
7221
  description: function () { return (React__namespace.createElement(React__namespace.Fragment, null,
7076
7222
  React__namespace.createElement("h5", null, "Search"),
7077
7223
  React__namespace.createElement("p", null, "Use Search to find list item(s) starting from an empty list."))); },
7078
- react: utils.code(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} type=\"submit\" />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "], ["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} type=\"submit\" />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "]))),
7224
+ react: utils.code(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} type=\"submit\" />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "], ["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} type=\"submit\" />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "]))),
7079
7225
  },
7080
7226
  searchAndSelect: {
7081
7227
  description: function () { return (React__namespace.createElement(React__namespace.Fragment, null,
7082
7228
  React__namespace.createElement("h5", null, "Search + Select"),
7083
7229
  React__namespace.createElement("p", null, "Use Select to search for list item(s) in a particular category."))); },
7084
- react: utils.code(templateObject_2$q || (templateObject_2$q = __makeTemplateObject(["\n function Component() {\n const filterKeys = [\"Document Type\", \"Sender Name\", \"Receiver Name\"];\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n filterOption: filterKeys[0],\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsSelect\n options={filterKeys}\n formMeta={formMeta.fields.filterOption}\n value={formValue.filterOption}\n notClearable\n />\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} type=\"submit\" />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "], ["\n function Component() {\n const filterKeys = [\"Document Type\", \"Sender Name\", \"Receiver Name\"];\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n filterOption: filterKeys[0],\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsSelect\n options={filterKeys}\n formMeta={formMeta.fields.filterOption}\n value={formValue.filterOption}\n notClearable\n />\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} type=\"submit\" />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "]))),
7230
+ react: utils.code(templateObject_3$n || (templateObject_3$n = __makeTemplateObject(["\n function Component() {\n const filterKeys = [\"Document Type\", \"Sender Name\", \"Receiver Name\"];\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n filterOption: filterKeys[0],\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsSelect\n options={filterKeys}\n formMeta={formMeta.fields.filterOption}\n value={formValue.filterOption}\n notClearable\n />\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} type=\"submit\" />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "], ["\n function Component() {\n const filterKeys = [\"Document Type\", \"Sender Name\", \"Receiver Name\"];\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n filterOption: filterKeys[0],\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsSelect\n options={filterKeys}\n formMeta={formMeta.fields.filterOption}\n value={formValue.filterOption}\n notClearable\n />\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} type=\"submit\" />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "]))),
7085
7231
  },
7086
7232
  filter: {
7087
7233
  description: function () { return (React__namespace.createElement(React__namespace.Fragment, null,
7088
7234
  React__namespace.createElement("h5", null, "Filter"),
7089
7235
  React__namespace.createElement("p", null, "Use Filter to find list item(s) starting from a populated list."))); },
7090
- react: utils.code(templateObject_3$n || (templateObject_3$n = __makeTemplateObject(["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n icon={SpsIcon.FILTER}\n placeholder=\"Filter fields\"\n />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "], ["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n icon={SpsIcon.FILTER}\n placeholder=\"Filter fields\"\n />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "]))),
7236
+ react: utils.code(templateObject_4$h || (templateObject_4$h = __makeTemplateObject(["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n icon={SpsIcon.FILTER}\n placeholder=\"Filter fields\"\n />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "], ["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n icon={SpsIcon.FILTER}\n placeholder=\"Filter fields\"\n />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "]))),
7091
7237
  },
7092
7238
  filterAndSelect: {
7093
7239
  description: function () { return (React__namespace.createElement(React__namespace.Fragment, null,
7094
7240
  React__namespace.createElement("h5", null, "Filter + Select"),
7095
7241
  React__namespace.createElement("p", null, "Use Select to filter list item(s) in a particular category."))); },
7096
- react: utils.code(templateObject_4$h || (templateObject_4$h = __makeTemplateObject(["\n function Component() {\n const filterKeys = [\"Document Type\", \"Sender Name\", \"Receiver Name\"];\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n filterOption: filterKeys[0],\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsSelect\n options={filterKeys}\n formMeta={formMeta.fields.filterOption}\n value={formValue.filterOption}\n notClearable\n />\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n icon={SpsIcon.FILTER}\n placeholder=\"Filter fields\"\n />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "], ["\n function Component() {\n const filterKeys = [\"Document Type\", \"Sender Name\", \"Receiver Name\"];\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n filterOption: filterKeys[0],\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsSelect\n options={filterKeys}\n formMeta={formMeta.fields.filterOption}\n value={formValue.filterOption}\n notClearable\n />\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n icon={SpsIcon.FILTER}\n placeholder=\"Filter fields\"\n />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "]))),
7242
+ react: utils.code(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n function Component() {\n const filterKeys = [\"Document Type\", \"Sender Name\", \"Receiver Name\"];\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n filterOption: filterKeys[0],\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsSelect\n options={filterKeys}\n formMeta={formMeta.fields.filterOption}\n value={formValue.filterOption}\n notClearable\n />\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n icon={SpsIcon.FILTER}\n placeholder=\"Filter fields\"\n />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "], ["\n function Component() {\n const filterKeys = [\"Document Type\", \"Sender Name\", \"Receiver Name\"];\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n filterOption: filterKeys[0],\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsSelect\n options={filterKeys}\n formMeta={formMeta.fields.filterOption}\n value={formValue.filterOption}\n notClearable\n />\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n icon={SpsIcon.FILTER}\n placeholder=\"Filter fields\"\n />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n )\n }\n "]))),
7097
7243
  },
7098
7244
  },
7099
7245
  },
@@ -7156,7 +7302,7 @@ var SpsListToolbarExamples = {
7156
7302
  },
7157
7303
  examples: {
7158
7304
  advancedSearch: {
7159
- react: utils.code(templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n function Component() {\n const [advSearch, setAdvSearch] = React.useState({\n isOpen: false,\n controlsDisabled: true,\n });\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleToggleAdvancedSearch(isOpen) {\n setAdvSearch({ isOpen });\n }\n \n return (\n <>\n <SpsListToolbar advancedSearch={advSearch}\n onToggleAdvancedSearch={handleToggleAdvancedSearch}\n >\n <SpsListToolbarSearch>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n <SpsAdvancedSearch {...advSearch}>\n <i>insert form here</i>\n </SpsAdvancedSearch>\n </>\n )\n }\n "], ["\n function Component() {\n const [advSearch, setAdvSearch] = React.useState({\n isOpen: false,\n controlsDisabled: true,\n });\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleToggleAdvancedSearch(isOpen) {\n setAdvSearch({ isOpen });\n }\n \n return (\n <>\n <SpsListToolbar advancedSearch={advSearch}\n onToggleAdvancedSearch={handleToggleAdvancedSearch}\n >\n <SpsListToolbarSearch>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n <SpsAdvancedSearch {...advSearch}>\n <i>insert form here</i>\n </SpsAdvancedSearch>\n </>\n )\n }\n "]))),
7305
+ react: utils.code(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject(["\n function Component() {\n const [advSearch, setAdvSearch] = React.useState({\n isOpen: false,\n controlsDisabled: true,\n });\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleToggleAdvancedSearch(isOpen) {\n setAdvSearch({ isOpen });\n }\n \n return (\n <>\n <SpsListToolbar advancedSearch={advSearch}\n onToggleAdvancedSearch={handleToggleAdvancedSearch}\n >\n <SpsListToolbarSearch>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n <SpsAdvancedSearch {...advSearch}>\n <i>insert form here</i>\n </SpsAdvancedSearch>\n </>\n )\n }\n "], ["\n function Component() {\n const [advSearch, setAdvSearch] = React.useState({\n isOpen: false,\n controlsDisabled: true,\n });\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleToggleAdvancedSearch(isOpen) {\n setAdvSearch({ isOpen });\n }\n \n return (\n <>\n <SpsListToolbar advancedSearch={advSearch}\n onToggleAdvancedSearch={handleToggleAdvancedSearch}\n >\n <SpsListToolbarSearch>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n <SpsAdvancedSearch {...advSearch}>\n <i>insert form here</i>\n </SpsAdvancedSearch>\n </>\n )\n }\n "]))),
7160
7306
  },
7161
7307
  },
7162
7308
  },
@@ -7175,7 +7321,7 @@ var SpsListToolbarExamples = {
7175
7321
  },
7176
7322
  examples: {
7177
7323
  columnEditor: {
7178
- react: utils.code(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject(["\n function Component() {\n const unselectedCols = [\n { name: \"Title\" },\n ];\n const selectedCols = [\n { name: \"Documents\" },\n { name: \"Price\" },\n ]\n \n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} type=\"submit\" />\n </SpsListToolbarSearch>\n <SpsColumnChooser\n unselectedColumns={unselectedCols}\n selectedColumns={selectedCols}\n onApplyChanges={(selectedColumns) => {console.log(selectedColumns)}}\n />\n </SpsListToolbar>\n )\n }\n "], ["\n function Component() {\n const unselectedCols = [\n { name: \"Title\" },\n ];\n const selectedCols = [\n { name: \"Documents\" },\n { name: \"Price\" },\n ]\n \n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} type=\"submit\" />\n </SpsListToolbarSearch>\n <SpsColumnChooser\n unselectedColumns={unselectedCols}\n selectedColumns={selectedCols}\n onApplyChanges={(selectedColumns) => {console.log(selectedColumns)}}\n />\n </SpsListToolbar>\n )\n }\n "]))),
7324
+ react: utils.code(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n function Component() {\n const unselectedCols = [\n { name: \"Title\" },\n ];\n const selectedCols = [\n { name: \"Documents\" },\n { name: \"Price\" },\n ]\n \n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} type=\"submit\" />\n </SpsListToolbarSearch>\n <SpsColumnChooser\n unselectedColumns={unselectedCols}\n selectedColumns={selectedCols}\n onApplyChanges={(selectedColumns) => {console.log(selectedColumns)}}\n />\n </SpsListToolbar>\n )\n }\n "], ["\n function Component() {\n const unselectedCols = [\n { name: \"Title\" },\n ];\n const selectedCols = [\n { name: \"Documents\" },\n { name: \"Price\" },\n ]\n \n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} type=\"submit\" />\n </SpsListToolbarSearch>\n <SpsColumnChooser\n unselectedColumns={unselectedCols}\n selectedColumns={selectedCols}\n onApplyChanges={(selectedColumns) => {console.log(selectedColumns)}}\n />\n </SpsListToolbar>\n )\n }\n "]))),
7179
7325
  },
7180
7326
  },
7181
7327
  },
@@ -7287,7 +7433,7 @@ var SpsListToolbarExamples = {
7287
7433
  },
7288
7434
  examples: {
7289
7435
  buttons: {
7290
- react: utils.code(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} type=\"submit\" />\n </SpsListToolbarSearch>\n <SpsButton kind={ButtonKind.LINK}>Text Button</SpsButton>\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.DOWNLOAD_CLOUD} />\n <SpsButton>Button</SpsButton>\n <SpsButton kind={ButtonKind.KEY}>Button</SpsButton>\n </SpsListToolbar>\n )\n }\n "], ["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} type=\"submit\" />\n </SpsListToolbarSearch>\n <SpsButton kind={ButtonKind.LINK}>Text Button</SpsButton>\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.DOWNLOAD_CLOUD} />\n <SpsButton>Button</SpsButton>\n <SpsButton kind={ButtonKind.KEY}>Button</SpsButton>\n </SpsListToolbar>\n )\n }\n "]))),
7436
+ react: utils.code(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} type=\"submit\" />\n </SpsListToolbarSearch>\n <SpsButton kind={ButtonKind.LINK}>Text Button</SpsButton>\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.DOWNLOAD_CLOUD} />\n <SpsButton>Button</SpsButton>\n <SpsButton kind={ButtonKind.KEY}>Button</SpsButton>\n </SpsListToolbar>\n )\n }\n "], ["\n function Component() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n });\n\n function handleSearch(event) {\n console.log(event, formValue.searchText)\n }\n\n return (\n <SpsListToolbar>\n <SpsListToolbarSearch onSubmit={handleSearch}>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.SEARCH} type=\"submit\" />\n </SpsListToolbarSearch>\n <SpsButton kind={ButtonKind.LINK}>Text Button</SpsButton>\n <SpsButton kind={ButtonKind.ICON} icon={SpsIcon.DOWNLOAD_CLOUD} />\n <SpsButton>Button</SpsButton>\n <SpsButton kind={ButtonKind.KEY}>Button</SpsButton>\n </SpsListToolbar>\n )\n }\n "]))),
7291
7437
  },
7292
7438
  },
7293
7439
  },
@@ -7302,7 +7448,7 @@ var SpsListToolbarExamples = {
7302
7448
  },
7303
7449
  examples: {
7304
7450
  tabs: {
7305
- react: utils.code(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["\n function Component() {\n const tabs = [\n {\n label: \"Good Tab\",\n },\n {\n label: \"Great Tab\",\n },\n {\n label: \"Best Tab\",\n },\n ];\n const activeTab = { label: \"Good Tab\" };\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n })\n const handleChange = e => {\n setSearchText(e.target.value);\n };\n\n function handleTabChange(tab) {\n console.log(tab);\n }\n\n return (\n <SpsListToolbar\n tabs={tabs}\n activeTab={activeTab}\n onTabChange={handleTabChange}\n >\n <SpsListToolbarSearch>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind=\"icon\" icon=\"search\" />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n );\n }\n "], ["\n function Component() {\n const tabs = [\n {\n label: \"Good Tab\",\n },\n {\n label: \"Great Tab\",\n },\n {\n label: \"Best Tab\",\n },\n ];\n const activeTab = { label: \"Good Tab\" };\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n })\n const handleChange = e => {\n setSearchText(e.target.value);\n };\n\n function handleTabChange(tab) {\n console.log(tab);\n }\n\n return (\n <SpsListToolbar\n tabs={tabs}\n activeTab={activeTab}\n onTabChange={handleTabChange}\n >\n <SpsListToolbarSearch>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind=\"icon\" icon=\"search\" />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n );\n }\n "]))),
7451
+ react: utils.code(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject(["\n function Component() {\n const tabs = [\n {\n label: \"Good Tab\",\n },\n {\n label: \"Great Tab\",\n },\n {\n label: \"Best Tab\",\n },\n ];\n const activeTab = { label: \"Good Tab\" };\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n })\n const handleChange = e => {\n setSearchText(e.target.value);\n };\n\n function handleTabChange(tab) {\n console.log(tab);\n }\n\n return (\n <SpsListToolbar\n tabs={tabs}\n activeTab={activeTab}\n onTabChange={handleTabChange}\n >\n <SpsListToolbarSearch>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind=\"icon\" icon=\"search\" />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n );\n }\n "], ["\n function Component() {\n const tabs = [\n {\n label: \"Good Tab\",\n },\n {\n label: \"Great Tab\",\n },\n {\n label: \"Best Tab\",\n },\n ];\n const activeTab = { label: \"Good Tab\" };\n const { formValue, formMeta, updateForm } = useSpsForm({\n searchText: \"\",\n })\n const handleChange = e => {\n setSearchText(e.target.value);\n };\n\n function handleTabChange(tab) {\n console.log(tab);\n }\n\n return (\n <SpsListToolbar\n tabs={tabs}\n activeTab={activeTab}\n onTabChange={handleTabChange}\n >\n <SpsListToolbarSearch>\n <SpsTextInput\n value={formValue.searchText}\n formMeta={formMeta.fields.searchText}\n placeholder=\"Search fields\"\n />\n <SpsButton kind=\"icon\" icon=\"search\" />\n </SpsListToolbarSearch>\n </SpsListToolbar>\n );\n }\n "]))),
7306
7452
  },
7307
7453
  },
7308
7454
  },
@@ -7318,18 +7464,18 @@ var SpsListToolbarExamples = {
7318
7464
  },
7319
7465
  examples: {
7320
7466
  title: {
7321
- react: utils.code(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject(["\n function Component() {\n return (\n <SpsListToolbar title=\"Good List Title\">\n <SpsButton>Button</SpsButton>\n </SpsListToolbar>\n )\n }\n "], ["\n function Component() {\n return (\n <SpsListToolbar title=\"Good List Title\">\n <SpsButton>Button</SpsButton>\n </SpsListToolbar>\n )\n }\n "]))),
7467
+ react: utils.code(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["\n function Component() {\n return (\n <SpsListToolbar title=\"Good List Title\">\n <SpsButton>Button</SpsButton>\n </SpsListToolbar>\n )\n }\n "], ["\n function Component() {\n return (\n <SpsListToolbar title=\"Good List Title\">\n <SpsButton>Button</SpsButton>\n </SpsListToolbar>\n )\n }\n "]))),
7322
7468
  },
7323
7469
  },
7324
7470
  },
7325
7471
  };
7326
- var templateObject_1$s, templateObject_2$q, templateObject_3$n, templateObject_4$h, templateObject_5$a, templateObject_6$7, templateObject_7$6, templateObject_8$5, templateObject_9$4;
7472
+ var templateObject_1$t, templateObject_2$q, templateObject_3$n, templateObject_4$h, templateObject_5$a, templateObject_6$7, templateObject_7$6, templateObject_8$5, templateObject_9$4, templateObject_10$3;
7327
7473
 
7328
- var propsDoc$K = {
7474
+ var propsDoc$N = {
7329
7475
  kind: 'FeedbackBlockKind',
7330
7476
  message: { type: 'string', required: true },
7331
7477
  };
7332
- var propTypes$N = __assign(__assign({}, spsGlobalPropTypes), { kind: enumValue(dsShared.FeedbackBlockKind), message: PropTypes.node.isRequired });
7478
+ var propTypes$Q = __assign(__assign({}, spsGlobalPropTypes), { kind: enumValue(dsShared.FeedbackBlockKind), message: PropTypes.node.isRequired });
7333
7479
  function SpsMicroBlock(props) {
7334
7480
  var className = props.className, _a = props.kind, kind = _a === void 0 ? dsShared.FeedbackBlockKind.INFO : _a, message = props.message, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["className", "kind", "message", 'data-testid', "unsafelyReplaceClassName"]);
7335
7481
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-micro-block', "sps-micro-block--" + kind, className);
@@ -7338,8 +7484,8 @@ function SpsMicroBlock(props) {
7338
7484
  React__namespace.createElement("span", null, message)));
7339
7485
  }
7340
7486
  Object.assign(SpsMicroBlock, {
7341
- props: propsDoc$K,
7342
- propTypes: propTypes$N,
7487
+ props: propsDoc$N,
7488
+ propTypes: propTypes$Q,
7343
7489
  displayName: 'SpsMicroBlock',
7344
7490
  });
7345
7491
 
@@ -7348,7 +7494,7 @@ var SpsMicroBlockExamples = {
7348
7494
  label: 'Info Micro Block',
7349
7495
  examples: {
7350
7496
  infoBlock: {
7351
- jsx: utils.code(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n <SpsMicroBlock kind={FeedbackBlockKind.INFO} message=\"Hey, here's something neat.\"/>\n "], ["\n <SpsMicroBlock kind={FeedbackBlockKind.INFO} message=\"Hey, here's something neat.\"/>\n "]))),
7497
+ jsx: utils.code(templateObject_1$s || (templateObject_1$s = __makeTemplateObject(["\n <SpsMicroBlock kind={FeedbackBlockKind.INFO} message=\"Hey, here's something neat.\"/>\n "], ["\n <SpsMicroBlock kind={FeedbackBlockKind.INFO} message=\"Hey, here's something neat.\"/>\n "]))),
7352
7498
  },
7353
7499
  },
7354
7500
  },
@@ -7385,16 +7531,16 @@ var SpsMicroBlockExamples = {
7385
7531
  },
7386
7532
  },
7387
7533
  };
7388
- var templateObject_1$r, templateObject_2$p, templateObject_3$m, templateObject_4$g, templateObject_5$9;
7534
+ var templateObject_1$s, templateObject_2$p, templateObject_3$m, templateObject_4$g, templateObject_5$9;
7389
7535
 
7390
- var propsDoc$J = {
7536
+ var propsDoc$M = {
7391
7537
  kind: 'ModalKind',
7392
7538
  size: 'ModalSize',
7393
7539
  title: 'string',
7394
7540
  onClose: '() => void',
7395
7541
  focusElementOnOpen: 'React.MutableRefObject<HTMLElement>',
7396
7542
  };
7397
- var propTypes$M = __assign(__assign({}, spsGlobalPropTypes), { kind: enumValue(dsShared.ModalKind), size: enumValue(dsShared.ModalSize), title: PropTypes.string, onClose: fun(), focusElementOnOpen: ref() });
7543
+ var propTypes$P = __assign(__assign({}, spsGlobalPropTypes), { kind: enumValue(dsShared.ModalKind), size: enumValue(dsShared.ModalSize), title: PropTypes.string, onClose: fun(), focusElementOnOpen: ref() });
7398
7544
  function SpsModalV2Footer(_a) {
7399
7545
  var children = _a.children;
7400
7546
  return React__namespace.createElement("div", { className: "sps-modal__footer" }, children);
@@ -7464,8 +7610,8 @@ function SpsModalV2(_a) {
7464
7610
  : React__namespace.createElement(React__namespace.Fragment, null);
7465
7611
  }
7466
7612
  Object.assign(SpsModalV2, {
7467
- props: propsDoc$J,
7468
- propTypes: propTypes$M,
7613
+ props: propsDoc$M,
7614
+ propTypes: propTypes$P,
7469
7615
  displayName: 'SpsModalV2',
7470
7616
  });
7471
7617
 
@@ -7498,7 +7644,7 @@ var SpsModalExamples = {
7498
7644
  description: function () { return (React__namespace.createElement(React__namespace.Fragment, null,
7499
7645
  React__namespace.createElement("h5", null, "Close Button"),
7500
7646
  React__namespace.createElement("p", null, "Remove the Close Button in the upper right of the Modal if the user must choose the course of action before proceeding."))); },
7501
- react: utils.code(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n function Component() {\n const [showModal, setShowModal] = React.useState(false);\n\n function secondaryAction() {\n console.log(\"Secondary action invoked\");\n setShowModal(false);\n }\n \n function primaryAction() {\n console.log(\"Primary action invoked\");\n setShowModal(false);\n }\n\n return <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setShowModal(true)}>\n Show Modal\n </SpsButton>\n {showModal && (\n <SpsModalV2\n size={ModalSize.SMALL}\n >\n <div className=\"sps-text-semibold mb-1\">Optional Headline</div>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>\n <SpsModalV2Footer>\n <SpsButton onClick={secondaryAction}>Secondary Action</SpsButton>\n <SpsButton kind={ButtonKind.KEY} onClick={primaryAction}>Primary Action</SpsButton>\n </SpsModalV2Footer>\n </SpsModalV2>\n )}\n </>;\n }\n "], ["\n function Component() {\n const [showModal, setShowModal] = React.useState(false);\n\n function secondaryAction() {\n console.log(\"Secondary action invoked\");\n setShowModal(false);\n }\n \n function primaryAction() {\n console.log(\"Primary action invoked\");\n setShowModal(false);\n }\n\n return <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setShowModal(true)}>\n Show Modal\n </SpsButton>\n {showModal && (\n <SpsModalV2\n size={ModalSize.SMALL}\n >\n <div className=\"sps-text-semibold mb-1\">Optional Headline</div>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>\n <SpsModalV2Footer>\n <SpsButton onClick={secondaryAction}>Secondary Action</SpsButton>\n <SpsButton kind={ButtonKind.KEY} onClick={primaryAction}>Primary Action</SpsButton>\n </SpsModalV2Footer>\n </SpsModalV2>\n )}\n </>;\n }\n "]))),
7647
+ react: utils.code(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\n function Component() {\n const [showModal, setShowModal] = React.useState(false);\n\n function secondaryAction() {\n console.log(\"Secondary action invoked\");\n setShowModal(false);\n }\n \n function primaryAction() {\n console.log(\"Primary action invoked\");\n setShowModal(false);\n }\n\n return <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setShowModal(true)}>\n Show Modal\n </SpsButton>\n {showModal && (\n <SpsModalV2\n size={ModalSize.SMALL}\n >\n <div className=\"sps-text-semibold mb-1\">Optional Headline</div>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>\n <SpsModalV2Footer>\n <SpsButton onClick={secondaryAction}>Secondary Action</SpsButton>\n <SpsButton kind={ButtonKind.KEY} onClick={primaryAction}>Primary Action</SpsButton>\n </SpsModalV2Footer>\n </SpsModalV2>\n )}\n </>;\n }\n "], ["\n function Component() {\n const [showModal, setShowModal] = React.useState(false);\n\n function secondaryAction() {\n console.log(\"Secondary action invoked\");\n setShowModal(false);\n }\n \n function primaryAction() {\n console.log(\"Primary action invoked\");\n setShowModal(false);\n }\n\n return <>\n <SpsButton kind={ButtonKind.LINK} onClick={() => setShowModal(true)}>\n Show Modal\n </SpsButton>\n {showModal && (\n <SpsModalV2\n size={ModalSize.SMALL}\n >\n <div className=\"sps-text-semibold mb-1\">Optional Headline</div>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>\n <SpsModalV2Footer>\n <SpsButton onClick={secondaryAction}>Secondary Action</SpsButton>\n <SpsButton kind={ButtonKind.KEY} onClick={primaryAction}>Primary Action</SpsButton>\n </SpsModalV2Footer>\n </SpsModalV2>\n )}\n </>;\n }\n "]))),
7502
7648
  },
7503
7649
  },
7504
7650
  },
@@ -7597,9 +7743,9 @@ var SpsModalExamples = {
7597
7743
  },
7598
7744
  },
7599
7745
  };
7600
- var templateObject_1$q, templateObject_2$o, templateObject_3$l, templateObject_4$f, templateObject_5$8, templateObject_6$6, templateObject_7$5, templateObject_8$4, templateObject_9$3, templateObject_10$2, templateObject_11$2, templateObject_12$1, templateObject_13$1, templateObject_14$1, templateObject_15$1, templateObject_16$1;
7746
+ var templateObject_1$r, templateObject_2$o, templateObject_3$l, templateObject_4$f, templateObject_5$8, templateObject_6$6, templateObject_7$5, templateObject_8$4, templateObject_9$3, templateObject_10$2, templateObject_11$2, templateObject_12$1, templateObject_13$1, templateObject_14$1, templateObject_15$1, templateObject_16$1;
7601
7747
 
7602
- var propsDoc$I = {
7748
+ var propsDoc$L = {
7603
7749
  captionKey: 'string',
7604
7750
  debounce: 'number',
7605
7751
  disabled: 'boolean',
@@ -7615,7 +7761,7 @@ var propsDoc$I = {
7615
7761
  value: 'any',
7616
7762
  zeroState: 'string',
7617
7763
  };
7618
- var propTypes$L = __assign(__assign({}, spsGlobalPropTypes), { action: fun(), captionKey: PropTypes.string, debounce: PropTypes.number, disabled: PropTypes.bool, disableSelected: PropTypes.bool, formControl: impl(), formMeta: impl(), hideSelected: PropTypes.bool, icon: enumValue(dsShared.SpsIcon), onChange: fun(), options: PropTypes.oneOfType([
7764
+ var propTypes$O = __assign(__assign({}, spsGlobalPropTypes), { action: fun(), captionKey: PropTypes.string, debounce: PropTypes.number, disabled: PropTypes.bool, disableSelected: PropTypes.bool, formControl: impl(), formMeta: impl(), hideSelected: PropTypes.bool, icon: enumValue(dsShared.SpsIcon), onChange: fun(), options: PropTypes.oneOfType([
7619
7765
  PropTypes.array,
7620
7766
  PropTypes.instanceOf(Promise),
7621
7767
  fun(),
@@ -7765,8 +7911,8 @@ function SpsMultiSelect(_a) {
7765
7911
  React__namespace.createElement(SpsOptionList, { id: wrapperId + "_options", ref: optionListRef, attachTo: inputVisual, captionKey: captionKey, disabledOptions: disableSelected ? value : null, isOpen: showPopup, keepOpen: true, keyDown: state.keyDown, options: options, specialAction: action, onOptionSelected: selectOption, onPositionFlip: handlePositionFlip, hideInlineSearch: true, optionRole: "option", onOptionListChanged: handleOptionListChanged, searchDebounce: debounce, search: state.searchText, tall: tallOptionList, textKey: textKey, zeroState: zeroState })));
7766
7912
  }
7767
7913
  Object.assign(SpsMultiSelect, {
7768
- props: propsDoc$I,
7769
- propTypes: propTypes$L,
7914
+ props: propsDoc$L,
7915
+ propTypes: propTypes$O,
7770
7916
  displayName: 'SpsMultiSelect',
7771
7917
  });
7772
7918
 
@@ -7776,7 +7922,7 @@ var SpsMultiSelectExamples = {
7776
7922
  description: '<p>Multi select component</p>',
7777
7923
  examples: {
7778
7924
  a_basic: {
7779
- react: utils.code(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n function Component() {\n const [opts] = React.useState([\"foo\", \"bar\", \"baz\", \"orp\"])\n const { formValue, formMeta, updateForm } = useSpsForm({\n things: [ opts[0] ]\n })\n\n return <>\n <SpsLabel for={formMeta.fields.things}>Things</SpsLabel>\n <SpsMultiSelect\n options={opts}\n formMeta={formMeta.fields.things}\n value={formValue.things}\n />\n <br />\n {JSON.stringify(formValue)}\n </>\n }\n "], ["\n function Component() {\n const [opts] = React.useState([\"foo\", \"bar\", \"baz\", \"orp\"])\n const { formValue, formMeta, updateForm } = useSpsForm({\n things: [ opts[0] ]\n })\n\n return <>\n <SpsLabel for={formMeta.fields.things}>Things</SpsLabel>\n <SpsMultiSelect\n options={opts}\n formMeta={formMeta.fields.things}\n value={formValue.things}\n />\n <br />\n {JSON.stringify(formValue)}\n </>\n }\n "]))),
7925
+ react: utils.code(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\n function Component() {\n const [opts] = React.useState([\"foo\", \"bar\", \"baz\", \"orp\"])\n const { formValue, formMeta, updateForm } = useSpsForm({\n things: [ opts[0] ]\n })\n\n return <>\n <SpsLabel for={formMeta.fields.things}>Things</SpsLabel>\n <SpsMultiSelect\n options={opts}\n formMeta={formMeta.fields.things}\n value={formValue.things}\n />\n <br />\n {JSON.stringify(formValue)}\n </>\n }\n "], ["\n function Component() {\n const [opts] = React.useState([\"foo\", \"bar\", \"baz\", \"orp\"])\n const { formValue, formMeta, updateForm } = useSpsForm({\n things: [ opts[0] ]\n })\n\n return <>\n <SpsLabel for={formMeta.fields.things}>Things</SpsLabel>\n <SpsMultiSelect\n options={opts}\n formMeta={formMeta.fields.things}\n value={formValue.things}\n />\n <br />\n {JSON.stringify(formValue)}\n </>\n }\n "]))),
7780
7926
  },
7781
7927
  b_disabled: {
7782
7928
  react: utils.code(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\n function Component() {\n const [opts] = React.useState([\"foo\", \"bar\", \"baz\", \"orp\"])\n const { formValue, formMeta, updateForm } = useSpsForm({\n things: [ opts[0] ]\n })\n\n return <>\n <SpsLabel for={formMeta.fields.things}>Things</SpsLabel>\n <SpsMultiSelect disabled\n options={opts}\n formMeta={formMeta.fields.things}\n value={formValue.things}\n />\n <br />\n {JSON.stringify(formValue)}\n </>\n }\n "], ["\n function Component() {\n const [opts] = React.useState([\"foo\", \"bar\", \"baz\", \"orp\"])\n const { formValue, formMeta, updateForm } = useSpsForm({\n things: [ opts[0] ]\n })\n\n return <>\n <SpsLabel for={formMeta.fields.things}>Things</SpsLabel>\n <SpsMultiSelect disabled\n options={opts}\n formMeta={formMeta.fields.things}\n value={formValue.things}\n />\n <br />\n {JSON.stringify(formValue)}\n </>\n }\n "]))),
@@ -7796,10 +7942,10 @@ var SpsMultiSelectExamples = {
7796
7942
  },
7797
7943
  },
7798
7944
  };
7799
- var templateObject_1$p, templateObject_2$n, templateObject_3$k, templateObject_4$e, templateObject_5$7, templateObject_6$5;
7945
+ var templateObject_1$q, templateObject_2$n, templateObject_3$k, templateObject_4$e, templateObject_5$7, templateObject_6$5;
7800
7946
 
7801
- var propsDoc$H = {};
7802
- var propTypes$K = __assign({}, spsGlobalPropTypes);
7947
+ var propsDoc$K = {};
7948
+ var propTypes$N = __assign({}, spsGlobalPropTypes);
7803
7949
  function SpsPageTitle(props) {
7804
7950
  var children = props.children, className = props.className, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", 'data-testid', "unsafelyReplaceClassName"]);
7805
7951
  var icon;
@@ -7818,21 +7964,21 @@ function SpsPageTitle(props) {
7818
7964
  React__namespace.createElement("div", { className: "sps-page-title__text", "data-testid": testId + "__text" }, otherChildren)));
7819
7965
  }
7820
7966
  Object.assign(SpsPageTitle, {
7821
- props: propsDoc$H,
7822
- propTypes: propTypes$K,
7967
+ props: propsDoc$K,
7968
+ propTypes: propTypes$N,
7823
7969
  displayName: 'SpsPageTitle',
7824
7970
  });
7825
7971
 
7826
- var propsDoc$G = {};
7827
- var propTypes$J = __assign({}, spsGlobalPropTypes);
7972
+ var propsDoc$J = {};
7973
+ var propTypes$M = __assign({}, spsGlobalPropTypes);
7828
7974
  function SpsPageSubtitle(props) {
7829
7975
  var children = props.children, className = props.className, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", 'data-testid', "unsafelyReplaceClassName"]);
7830
7976
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-page-title__subtitle', className);
7831
7977
  return (React__namespace.createElement("div", __assign({ className: classes, "data-testid": testId }, rest), children));
7832
7978
  }
7833
7979
  Object.assign(SpsPageSubtitle, {
7834
- props: propsDoc$G,
7835
- propTypes: propTypes$J,
7980
+ props: propsDoc$J,
7981
+ propTypes: propTypes$M,
7836
7982
  displayName: 'SpsPageSubtitle',
7837
7983
  });
7838
7984
 
@@ -7841,7 +7987,7 @@ var SpsPageTitleExamples = {
7841
7987
  label: 'Basic',
7842
7988
  examples: {
7843
7989
  basic: {
7844
- jsx: utils.code(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n <SpsPageTitle>\n Cabela's Purchase Order #123456789012\n </SpsPageTitle>\n "], ["\n <SpsPageTitle>\n Cabela's Purchase Order #123456789012\n </SpsPageTitle>\n "]))),
7990
+ jsx: utils.code(templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\n <SpsPageTitle>\n Cabela's Purchase Order #123456789012\n </SpsPageTitle>\n "], ["\n <SpsPageTitle>\n Cabela's Purchase Order #123456789012\n </SpsPageTitle>\n "]))),
7845
7991
  },
7846
7992
  },
7847
7993
  },
@@ -7870,9 +8016,9 @@ var SpsPageTitleExamples = {
7870
8016
  },
7871
8017
  },
7872
8018
  };
7873
- var templateObject_1$o, templateObject_2$m, templateObject_3$j, templateObject_4$d;
8019
+ var templateObject_1$p, templateObject_2$m, templateObject_3$j, templateObject_4$d;
7874
8020
 
7875
- var propsDoc$F = {
8021
+ var propsDoc$I = {
7876
8022
  action: 'SpsActionMethod',
7877
8023
  captionKey: 'string',
7878
8024
  comparisonKey: 'string',
@@ -7891,7 +8037,7 @@ var propsDoc$F = {
7891
8037
  zeroState: 'string',
7892
8038
  autoFixWidth: 'boolean',
7893
8039
  };
7894
- var propTypes$I = __assign(__assign({}, spsGlobalPropTypes), { action: fun(), captionKey: PropTypes.string, comparisonKey: PropTypes.string, disabled: PropTypes.bool, formControl: impl(), formMeta: impl(), notClearable: PropTypes.bool, options: PropTypes.oneOfType([
8040
+ var propTypes$L = __assign(__assign({}, spsGlobalPropTypes), { action: fun(), captionKey: PropTypes.string, comparisonKey: PropTypes.string, disabled: PropTypes.bool, formControl: impl(), formMeta: impl(), notClearable: PropTypes.bool, options: PropTypes.oneOfType([
7895
8041
  PropTypes.array,
7896
8042
  PropTypes.instanceOf(Promise),
7897
8043
  fun(),
@@ -8017,18 +8163,18 @@ var SpsSelect = React__namespace.forwardRef(function (props, ref) {
8017
8163
  React__namespace.createElement(SpsOptionList, { id: wrapperId + "-options", ref: optionsList, attachTo: controlButton, captionKey: captionKey, comparisonKey: comparisonKey, isOpen: state.isOpen, keyDown: state.keyDown, nullOption: state.value && !notClearable ? placeholder : null, options: options, onOptionSelected: updateValue, onPositionFlip: handlePositionFlip, onSelfToggle: handleSelfToggle, searchDebounce: searchDebounce, searchPlaceholder: searchPlaceholder, selectedOption: state.value, specialAction: action, tall: tallOptionList, textKey: textKey, optionRole: "option", valueKey: valueKey, onOptionListChanged: handleOptionListChanged, zeroState: zeroState, ignoreWidthStyles: autoFixWidth })));
8018
8164
  });
8019
8165
  Object.assign(SpsSelect, {
8020
- props: propsDoc$F,
8021
- propTypes: propTypes$I,
8166
+ props: propsDoc$I,
8167
+ propTypes: propTypes$L,
8022
8168
  displayName: 'SpsSelect',
8023
8169
  });
8024
8170
 
8025
- var propsDoc$E = {
8171
+ var propsDoc$H = {
8026
8172
  page: 'number',
8027
8173
  numPages: 'number',
8028
8174
  onPageChange: '(number) => void',
8029
8175
  disabled: 'boolean',
8030
8176
  };
8031
- var propTypes$H = __assign({ numPages: PropTypes.number, onPageChange: fun(), page: PropTypes.number, disabled: PropTypes.bool }, spsGlobalPropTypes);
8177
+ var propTypes$K = __assign({ numPages: PropTypes.number, onPageChange: fun(), page: PropTypes.number, disabled: PropTypes.bool }, spsGlobalPropTypes);
8032
8178
  function SpsPageSelector(props) {
8033
8179
  var _a = props.numPages, numPages = _a === void 0 ? 0 : _a, onPageChange = props.onPageChange, _b = props.page, pageProp = _b === void 0 ? 1 : _b, unsafelyReplaceClassName = props.unsafelyReplaceClassName, className = props.className, testId = props["data-testid"], _c = props.disabled, disabled = _c === void 0 ? false : _c, rest = __rest(props, ["numPages", "onPageChange", "page", "unsafelyReplaceClassName", "className", 'data-testid', "disabled"]);
8034
8180
  var t = React__namespace.useContext(I18nContext).t;
@@ -8072,12 +8218,12 @@ function SpsPageSelector(props) {
8072
8218
  React__namespace.createElement("i", { className: "sps-icon sps-icon-chevron-right", "aria-hidden": "true" }))))));
8073
8219
  }
8074
8220
  Object.assign(SpsPageSelector, {
8075
- props: propsDoc$E,
8076
- propTypes: propTypes$H,
8221
+ props: propsDoc$H,
8222
+ propTypes: propTypes$K,
8077
8223
  displayName: 'SpsPageSelector',
8078
8224
  });
8079
8225
 
8080
- var propsDoc$D = {
8226
+ var propsDoc$G = {
8081
8227
  page: 'number',
8082
8228
  pageSize: 'number',
8083
8229
  pageSizeOptions: 'Array<number>',
@@ -8085,7 +8231,7 @@ var propsDoc$D = {
8085
8231
  onPageChange: '(page: number, pageSize: number, indices: [number, number]) => void',
8086
8232
  disabled: 'boolean',
8087
8233
  };
8088
- var propTypes$G = __assign({ onPageChange: fun()
8234
+ var propTypes$J = __assign({ onPageChange: fun()
8089
8235
  .isRequired, page: PropTypes.number, pageSize: PropTypes.number, pageSizeOptions: PropTypes.arrayOf(PropTypes.number), totalResults: PropTypes.number, disabled: PropTypes.bool }, spsGlobalPropTypes);
8090
8236
  function SpsPagination(props) {
8091
8237
  var className = props.className, onPageChange = props.onPageChange, _a = props.page, pageProp = _a === void 0 ? 1 : _a, _b = props.pageSizeOptions, pageSizeOptions = _b === void 0 ? dsShared.DEFAULT_PAGE_SIZE_OPTIONS : _b, _c = props.pageSize, pageSizeProp = _c === void 0 ? pageSizeOptions[0] : _c, testId = props["data-testid"], totalResults = props.totalResults, unsafelyReplaceClassName = props.unsafelyReplaceClassName, _d = props.disabled, disabled = _d === void 0 ? false : _d, rest = __rest(props, ["className", "onPageChange", "page", "pageSizeOptions", "pageSize", 'data-testid', "totalResults", "unsafelyReplaceClassName", "disabled"]);
@@ -8165,8 +8311,8 @@ function SpsPagination(props) {
8165
8311
  React__namespace.createElement(SpsPageSelector, { numPages: state.numPages, page: state.page, onPageChange: handlePageChange, disabled: disabled })));
8166
8312
  }
8167
8313
  Object.assign(SpsPagination, {
8168
- props: propsDoc$D,
8169
- propTypes: propTypes$G,
8314
+ props: propsDoc$G,
8315
+ propTypes: propTypes$J,
8170
8316
  displayName: 'SpsPagination',
8171
8317
  });
8172
8318
 
@@ -8176,7 +8322,7 @@ var SpsPaginationExamples = {
8176
8322
  description: 'info about pagination',
8177
8323
  examples: {
8178
8324
  basic: {
8179
- react: utils.code(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n function Component() {\n const [page, setPage] = React.useState(2);\n const [pageSize, setPageSize] = React.useState(25);\n\n function handlePageChange(newPage, newPageSize) {\n console.log(\"change\", newPage, newPageSize);\n setPage(newPage);\n setPageSize(newPageSize);\n }\n\n return (\n <React.Fragment>\n <SpsPagination id=\"basic\"\n totalResults={123}\n page={page}\n pageSize={pageSize}\n onPageChange={handlePageChange}\n />\n <span className=\"mr-2\">page: {page}</span>\n <span>pageSize: {pageSize}</span>\n </React.Fragment>\n );\n }\n "], ["\n function Component() {\n const [page, setPage] = React.useState(2);\n const [pageSize, setPageSize] = React.useState(25);\n\n function handlePageChange(newPage, newPageSize) {\n console.log(\"change\", newPage, newPageSize);\n setPage(newPage);\n setPageSize(newPageSize);\n }\n\n return (\n <React.Fragment>\n <SpsPagination id=\"basic\"\n totalResults={123}\n page={page}\n pageSize={pageSize}\n onPageChange={handlePageChange}\n />\n <span className=\"mr-2\">page: {page}</span>\n <span>pageSize: {pageSize}</span>\n </React.Fragment>\n );\n }\n "]))),
8325
+ react: utils.code(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\n function Component() {\n const [page, setPage] = React.useState(2);\n const [pageSize, setPageSize] = React.useState(25);\n\n function handlePageChange(newPage, newPageSize) {\n console.log(\"change\", newPage, newPageSize);\n setPage(newPage);\n setPageSize(newPageSize);\n }\n\n return (\n <React.Fragment>\n <SpsPagination id=\"basic\"\n totalResults={123}\n page={page}\n pageSize={pageSize}\n onPageChange={handlePageChange}\n />\n <span className=\"mr-2\">page: {page}</span>\n <span>pageSize: {pageSize}</span>\n </React.Fragment>\n );\n }\n "], ["\n function Component() {\n const [page, setPage] = React.useState(2);\n const [pageSize, setPageSize] = React.useState(25);\n\n function handlePageChange(newPage, newPageSize) {\n console.log(\"change\", newPage, newPageSize);\n setPage(newPage);\n setPageSize(newPageSize);\n }\n\n return (\n <React.Fragment>\n <SpsPagination id=\"basic\"\n totalResults={123}\n page={page}\n pageSize={pageSize}\n onPageChange={handlePageChange}\n />\n <span className=\"mr-2\">page: {page}</span>\n <span>pageSize: {pageSize}</span>\n </React.Fragment>\n );\n }\n "]))),
8180
8326
  },
8181
8327
  disabled: {
8182
8328
  description: 'Disabled state',
@@ -8198,24 +8344,24 @@ var SpsPaginationExamples = {
8198
8344
  },
8199
8345
  },
8200
8346
  };
8201
- var templateObject_1$n, templateObject_2$l, templateObject_3$i, templateObject_4$c;
8347
+ var templateObject_1$o, templateObject_2$l, templateObject_3$i, templateObject_4$c;
8202
8348
 
8203
- var propsDoc$C = {
8349
+ var propsDoc$F = {
8204
8350
  active: 'boolean',
8205
8351
  };
8206
- var propTypes$F = __assign(__assign({}, spsGlobalPropTypes), { active: PropTypes.bool });
8352
+ var propTypes$I = __assign(__assign({}, spsGlobalPropTypes), { active: PropTypes.bool });
8207
8353
  function SpsProductBarTab(props) {
8208
8354
  var children = props.children, active = props.active; props.className; var unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "active", "className", "unsafelyReplaceClassName"]);
8209
8355
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-nav__item', 'sps-nav__link', active && 'active');
8210
8356
  return (React__namespace.createElement("a", __assign({ className: classes }, rest), children));
8211
8357
  }
8212
8358
  Object.assign(SpsProductBarTab, {
8213
- props: propsDoc$C,
8214
- propTypes: propTypes$F,
8359
+ props: propsDoc$F,
8360
+ propTypes: propTypes$I,
8215
8361
  displayName: 'SpsProductBarTab',
8216
8362
  });
8217
8363
 
8218
- var propsDoc$B = {
8364
+ var propsDoc$E = {
8219
8365
  activeTab: 'string',
8220
8366
  fullWidth: 'boolean',
8221
8367
  onTabChange: '(newTab: string) => void',
@@ -8225,7 +8371,7 @@ var propsDoc$B = {
8225
8371
  productNameHref: 'string',
8226
8372
  tabs: 'Array<string>',
8227
8373
  };
8228
- var propTypes$E = __assign(__assign({}, spsGlobalPropTypes), { activeTab: PropTypes.string, fullWidth: PropTypes.bool, onTabChange: fun(), onProductNameClick: fun(), productLogoSrc: PropTypes.string, productName: PropTypes.string.isRequired, productNameHref: PropTypes.string, tabs: PropTypes.arrayOf(PropTypes.string) });
8374
+ var propTypes$H = __assign(__assign({}, spsGlobalPropTypes), { activeTab: PropTypes.string, fullWidth: PropTypes.bool, onTabChange: fun(), onProductNameClick: fun(), productLogoSrc: PropTypes.string, productName: PropTypes.string.isRequired, productNameHref: PropTypes.string, tabs: PropTypes.arrayOf(PropTypes.string) });
8229
8375
  function SpsProductBar(props) {
8230
8376
  var activeTabInit = props.activeTab, children = props.children, className = props.className, fullWidth = props.fullWidth, onProductNameClick = props.onProductNameClick, onTabChange = props.onTabChange, productLogoSrc = props.productLogoSrc, productName = props.productName, productNameHref = props.productNameHref, _a = props.tabs, tabs = _a === void 0 ? [] : _a, unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["activeTab", "children", "className", "fullWidth", "onProductNameClick", "onTabChange", "productLogoSrc", "productName", "productNameHref", "tabs", "unsafelyReplaceClassName"]);
8231
8377
  var rootElement = React__namespace.useRef();
@@ -8256,15 +8402,15 @@ function SpsProductBar(props) {
8256
8402
  React__namespace.createElement(PortalContext.Provider, { value: { parentElementRef: rootElement, fixed: true } }, otherChildren)))));
8257
8403
  }
8258
8404
  Object.assign(SpsProductBar, {
8259
- props: propsDoc$B,
8260
- propTypes: propTypes$E,
8405
+ props: propsDoc$E,
8406
+ propTypes: propTypes$H,
8261
8407
  displayName: 'SpsProductBar',
8262
8408
  });
8263
8409
 
8264
8410
  var SpsProductBarExamples = {
8265
8411
  basic: {
8266
8412
  label: 'Basic',
8267
- description: utils.code(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n <p>Product navigation bar</p>\n "], ["\n <p>Product navigation bar</p>\n "]))),
8413
+ description: utils.code(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n <p>Product navigation bar</p>\n "], ["\n <p>Product navigation bar</p>\n "]))),
8268
8414
  examples: {
8269
8415
  basic: {
8270
8416
  react: utils.code(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\n function DemoComponent() {\n const navTabs = [\"Foo\", \"Bar\", \"Baz\"];\n function handleTabChange(newTab) {\n alert(newTab);\n }\n\n return (\n <SpsProductBar productName=\"My Product\"\n productLogoSrc=\"https://cdn.prod.spsc.io/web/framework/assets/17.08.01/icons/cube/cube.svg\"\n tabs={navTabs}\n activeTab=\"Bar\"\n onTabChange={handleTabChange}\n fullWidth\n style={{ position: \"relative\", zIndex: \"auto\" }} // display this example in its place instead of at the top\n ><SpsButton>do the thing</SpsButton></SpsProductBar>\n );\n }\n "], ["\n function DemoComponent() {\n const navTabs = [\"Foo\", \"Bar\", \"Baz\"];\n function handleTabChange(newTab) {\n alert(newTab);\n }\n\n return (\n <SpsProductBar productName=\"My Product\"\n productLogoSrc=\"https://cdn.prod.spsc.io/web/framework/assets/17.08.01/icons/cube/cube.svg\"\n tabs={navTabs}\n activeTab=\"Bar\"\n onTabChange={handleTabChange}\n fullWidth\n style={{ position: \"relative\", zIndex: \"auto\" }} // display this example in its place instead of at the top\n ><SpsButton>do the thing</SpsButton></SpsProductBar>\n );\n }\n "]))),
@@ -8296,16 +8442,16 @@ var SpsProductBarExamples = {
8296
8442
  },
8297
8443
  },
8298
8444
  };
8299
- var templateObject_1$m, templateObject_2$k, templateObject_3$h, templateObject_4$b, templateObject_5$6;
8445
+ var templateObject_1$n, templateObject_2$k, templateObject_3$h, templateObject_4$b, templateObject_5$6;
8300
8446
 
8301
- var propsDoc$A = {
8447
+ var propsDoc$D = {
8302
8448
  percentComplete: 'number',
8303
8449
  title: 'string',
8304
8450
  detail: 'string',
8305
8451
  disabled: 'boolean',
8306
8452
  onClose: '() => void',
8307
8453
  };
8308
- var propTypes$D = __assign(__assign({}, spsGlobalPropTypes), { percentComplete: PropTypes.number, title: PropTypes.string, detail: PropTypes.string, disabled: PropTypes.bool, onClose: fun() });
8454
+ var propTypes$G = __assign(__assign({}, spsGlobalPropTypes), { percentComplete: PropTypes.number, title: PropTypes.string, detail: PropTypes.string, disabled: PropTypes.bool, onClose: fun() });
8309
8455
  function SpsProgressBar(props) {
8310
8456
  props.children; var className = props.className, detail = props.detail, disabled = props.disabled, onClose = props.onClose, percentComplete = props.percentComplete, title = props.title; props["data-testid"]; var unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "detail", "disabled", "onClose", "percentComplete", "title", 'data-testid', "unsafelyReplaceClassName"]);
8311
8457
  var t = React__namespace.useContext(I18nContext).t;
@@ -8324,8 +8470,8 @@ function SpsProgressBar(props) {
8324
8470
  React__namespace.createElement(SpsButton, { kind: dsShared.ButtonKind.ICON, icon: dsShared.SpsIcon.X, onClick: onClose, title: t('design-system:progressBar.closeButtonTitle') })))));
8325
8471
  }
8326
8472
  Object.assign(SpsProgressBar, {
8327
- props: propsDoc$A,
8328
- propTypes: propTypes$D,
8473
+ props: propsDoc$D,
8474
+ propTypes: propTypes$G,
8329
8475
  displayName: 'SpsProgressBar',
8330
8476
  });
8331
8477
 
@@ -8384,7 +8530,7 @@ var SpsProgressBarExamples = {
8384
8530
  standard: {
8385
8531
  label: 'Building Standard Progress Bars',
8386
8532
  description: function () { return (React__namespace.createElement("p", null, "The Standard Progress Bar is designed to expand to fit the entire width of its container. View the diagram above for rules regarding including or excluding certain elements.")); },
8387
- react: utils.code(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n function Component() {\n function handleClose() {\n console.log(\"closed\");\n }\n\n return (\n <SpsCard>\n <SpsProgressBar\n title=\"File Name\"\n detail=\"Step 3 of 5: Verifying Headers\"\n percentComplete={0.5}\n onClose={handleClose}\n />\n </SpsCard>\n )\n }\n "], ["\n function Component() {\n function handleClose() {\n console.log(\"closed\");\n }\n\n return (\n <SpsCard>\n <SpsProgressBar\n title=\"File Name\"\n detail=\"Step 3 of 5: Verifying Headers\"\n percentComplete={0.5}\n onClose={handleClose}\n />\n </SpsCard>\n )\n }\n "]))),
8533
+ react: utils.code(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n function Component() {\n function handleClose() {\n console.log(\"closed\");\n }\n\n return (\n <SpsCard>\n <SpsProgressBar\n title=\"File Name\"\n detail=\"Step 3 of 5: Verifying Headers\"\n percentComplete={0.5}\n onClose={handleClose}\n />\n </SpsCard>\n )\n }\n "], ["\n function Component() {\n function handleClose() {\n console.log(\"closed\");\n }\n\n return (\n <SpsCard>\n <SpsProgressBar\n title=\"File Name\"\n detail=\"Step 3 of 5: Verifying Headers\"\n percentComplete={0.5}\n onClose={handleClose}\n />\n </SpsCard>\n )\n }\n "]))),
8388
8534
  },
8389
8535
  completed: {
8390
8536
  label: 'Completed State',
@@ -8399,9 +8545,9 @@ var SpsProgressBarExamples = {
8399
8545
  },
8400
8546
  },
8401
8547
  };
8402
- var templateObject_1$l, templateObject_2$j, templateObject_3$g;
8548
+ var templateObject_1$m, templateObject_2$j, templateObject_3$g;
8403
8549
 
8404
- var propsDoc$z = {
8550
+ var propsDoc$C = {
8405
8551
  checked: 'boolean',
8406
8552
  disabled: 'boolean',
8407
8553
  formMeta: 'SpsFormFieldMeta<any>',
@@ -8411,7 +8557,7 @@ var propsDoc$z = {
8411
8557
  onChange: 'ChangeEventHandler',
8412
8558
  value: 'any',
8413
8559
  };
8414
- var propTypes$C = __assign(__assign({}, spsGlobalPropTypes), { checked: PropTypes.bool, disabled: PropTypes.bool, formControl: impl(), formMeta: impl(), inline: PropTypes.bool, label: PropTypes.string, name: PropTypes.string.isRequired, onChange: fun(), ref: ref(), value: PropTypes.any });
8560
+ var propTypes$F = __assign(__assign({}, spsGlobalPropTypes), { checked: PropTypes.bool, disabled: PropTypes.bool, formControl: impl(), formMeta: impl(), inline: PropTypes.bool, label: PropTypes.string, name: PropTypes.string.isRequired, onChange: fun(), ref: ref(), value: PropTypes.any });
8415
8561
  function SpsRadioButton(_a) {
8416
8562
  var checked = _a.checked, className = _a.className, testId = _a["data-testid"], disabled = _a.disabled, formControl = _a.formControl, formMeta = _a.formMeta, id = _a.id, inline = _a.inline, label = _a.label, name = _a.name, onChange = _a.onChange, ref = _a.ref, unsafelyReplaceClassName = _a.unsafelyReplaceClassName, value = _a.value, rest = __rest(_a, ["checked", "className", 'data-testid', "disabled", "formControl", "formMeta", "id", "inline", "label", "name", "onChange", "ref", "unsafelyReplaceClassName", "value"]);
8417
8563
  var meta = formMeta || formControl;
@@ -8433,8 +8579,8 @@ function SpsRadioButton(_a) {
8433
8579
  React__namespace.createElement("label", { className: "sps-checkable__label", htmlFor: controlId }, label || '')));
8434
8580
  }
8435
8581
  Object.assign(SpsRadioButton, {
8436
- props: propsDoc$z,
8437
- propTypes: propTypes$C,
8582
+ props: propsDoc$C,
8583
+ propTypes: propTypes$F,
8438
8584
  displayName: 'SpsRadioButton',
8439
8585
  });
8440
8586
 
@@ -8444,7 +8590,7 @@ var SpsRadioButtonExamples = {
8444
8590
  description: 'info about radio buttons with labels',
8445
8591
  examples: {
8446
8592
  label: {
8447
- react: utils.code(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n color: \"blue\"\n });\n\n return <SpsForm formMeta={formMeta} id=\"labelRadioButton\">\n <SpsRadioButton name=\"blue\" value=\"blue\" label=\"Blue\"\n formMeta={formMeta.fields.color}\n checked={formValue.color === \"blue\"}\n ></SpsRadioButton>\n <SpsRadioButton name=\"green\" value=\"green\" label=\"Green\"\n formMeta={formMeta.fields.color}\n checked={formValue.color === \"green\"}\n ></SpsRadioButton>\n </SpsForm>\n }\n "], ["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n color: \"blue\"\n });\n\n return <SpsForm formMeta={formMeta} id=\"labelRadioButton\">\n <SpsRadioButton name=\"blue\" value=\"blue\" label=\"Blue\"\n formMeta={formMeta.fields.color}\n checked={formValue.color === \"blue\"}\n ></SpsRadioButton>\n <SpsRadioButton name=\"green\" value=\"green\" label=\"Green\"\n formMeta={formMeta.fields.color}\n checked={formValue.color === \"green\"}\n ></SpsRadioButton>\n </SpsForm>\n }\n "]))),
8593
+ react: utils.code(templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n color: \"blue\"\n });\n\n return <SpsForm formMeta={formMeta} id=\"labelRadioButton\">\n <SpsRadioButton name=\"blue\" value=\"blue\" label=\"Blue\"\n formMeta={formMeta.fields.color}\n checked={formValue.color === \"blue\"}\n ></SpsRadioButton>\n <SpsRadioButton name=\"green\" value=\"green\" label=\"Green\"\n formMeta={formMeta.fields.color}\n checked={formValue.color === \"green\"}\n ></SpsRadioButton>\n </SpsForm>\n }\n "], ["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n color: \"blue\"\n });\n\n return <SpsForm formMeta={formMeta} id=\"labelRadioButton\">\n <SpsRadioButton name=\"blue\" value=\"blue\" label=\"Blue\"\n formMeta={formMeta.fields.color}\n checked={formValue.color === \"blue\"}\n ></SpsRadioButton>\n <SpsRadioButton name=\"green\" value=\"green\" label=\"Green\"\n formMeta={formMeta.fields.color}\n checked={formValue.color === \"green\"}\n ></SpsRadioButton>\n </SpsForm>\n }\n "]))),
8448
8594
  },
8449
8595
  },
8450
8596
  },
@@ -8467,19 +8613,19 @@ var SpsRadioButtonExamples = {
8467
8613
  },
8468
8614
  },
8469
8615
  };
8470
- var templateObject_1$k, templateObject_2$i, templateObject_3$f;
8616
+ var templateObject_1$l, templateObject_2$i, templateObject_3$f;
8471
8617
 
8472
- var propsDoc$y = {
8618
+ var propsDoc$B = {
8473
8619
  maxHeight: 'string',
8474
8620
  };
8475
- var propTypes$B = __assign(__assign({}, spsGlobalPropTypes), { maxHeight: PropTypes.string });
8621
+ var propTypes$E = __assign(__assign({}, spsGlobalPropTypes), { maxHeight: PropTypes.string });
8476
8622
  function SpsScrollableContainer(props) {
8477
8623
  var children = props.children, maxHeight = props.maxHeight;
8478
8624
  return (React__namespace.createElement("div", { className: "sps-scrollable-container", style: { maxHeight: maxHeight } }, children));
8479
8625
  }
8480
8626
  Object.assign(SpsScrollableContainer, {
8481
- props: propsDoc$y,
8482
- propTypes: propTypes$B,
8627
+ props: propsDoc$B,
8628
+ propTypes: propTypes$E,
8483
8629
  displayName: 'SpsScrollableContainer',
8484
8630
  });
8485
8631
 
@@ -8489,7 +8635,7 @@ var SpsScrollableContainerExamples = {
8489
8635
  description: 'basic scrollable container',
8490
8636
  examples: {
8491
8637
  text: {
8492
- jsx: utils.code(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n <SpsCard>\n <SpsScrollableContainer maxHeight='100px'>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris\n sit amet molestie metus. Phasellus dignissim interdum arcu. Sed\n in nunc id sapien porta mollis eleifend nec mauris. Nulla\n molestie pulvinar velit eget fringilla. Pellentesque habitant\n morbi tristique senectus et netus et malesuada fames ac turpis\n egestas. Nam eu sem ut neque condimentum tempor. Integer\n bibendum in velit at consectetur. Nunc ut velit ac magna sodales\n tempor. Ut tempor rhoncus mi, eget feugiat nisi finibus at.\n Pellentesque habitant morbi tristique senectus et netus et\n malesuada fames ac turpis egestas. Vestibulum nunc ipsum,\n elementum consectetur urna a, sodales pellentesque nibh. Nullam\n in dui dolor. Vivamus sapien enim, tristique accumsan finibus\n nec, fringilla eget tellus. Duis sed pulvinar ipsum. Donec\n convallis aliquet dui, nec ullamcorper nulla tincidunt ac. Fusce\n tempus neque sit amet libero vestibulum maximus. Praesent id dui\n sed diam scelerisque pretium id vitae ante. Sed ullamcorper\n ligula quis mi vehicula, in interdum purus suscipit.\n Pellentesque venenatis velit nunc, quis tincidunt ligula egestas\n id. Praesent sollicitudin et mauris et auctor. Nullam diam erat,\n tincidunt at odio non, tincidunt laoreet quam. In consequat\n pulvinar sapien vel varius. Suspendisse potenti. Aenean pharetra\n felis sit amet tempus consequat. Donec eu molestie mauris. Nunc\n scelerisque ex id vehicula semper. Nunc eu interdum ante. Etiam\n in metus ante. Nulla ac turpis vel sem fermentum mattis. Nam\n elit mi, pretium a tristique vitae, vestibulum id tellus. In\n vitae nisl lectus. Sed fringilla eget velit quis aliquet.\n Vestibulum euismod, leo ut egestas dictum, mi quam euismod\n velit, nec iaculis elit mi a orci. Duis volutpat purus lacus. Ut\n sit amet semper ipsum. Sed aliquam, quam ac placerat facilisis,\n nulla odio vulputate erat, id condimentum sem arcu vel turpis.\n Fusce finibus tortor ac viverra semper. Pellentesque convallis\n mi sed metus finibus molestie. Duis vehicula dolor consequat\n placerat sollicitudin. Phasellus sed sagittis ligula, in\n molestie velit. In scelerisque maximus metus, ac convallis nisi\n dignissim non.\n </p>\n </SpsScrollableContainer>\n </SpsCard>\n "], ["\n <SpsCard>\n <SpsScrollableContainer maxHeight='100px'>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris\n sit amet molestie metus. Phasellus dignissim interdum arcu. Sed\n in nunc id sapien porta mollis eleifend nec mauris. Nulla\n molestie pulvinar velit eget fringilla. Pellentesque habitant\n morbi tristique senectus et netus et malesuada fames ac turpis\n egestas. Nam eu sem ut neque condimentum tempor. Integer\n bibendum in velit at consectetur. Nunc ut velit ac magna sodales\n tempor. Ut tempor rhoncus mi, eget feugiat nisi finibus at.\n Pellentesque habitant morbi tristique senectus et netus et\n malesuada fames ac turpis egestas. Vestibulum nunc ipsum,\n elementum consectetur urna a, sodales pellentesque nibh. Nullam\n in dui dolor. Vivamus sapien enim, tristique accumsan finibus\n nec, fringilla eget tellus. Duis sed pulvinar ipsum. Donec\n convallis aliquet dui, nec ullamcorper nulla tincidunt ac. Fusce\n tempus neque sit amet libero vestibulum maximus. Praesent id dui\n sed diam scelerisque pretium id vitae ante. Sed ullamcorper\n ligula quis mi vehicula, in interdum purus suscipit.\n Pellentesque venenatis velit nunc, quis tincidunt ligula egestas\n id. Praesent sollicitudin et mauris et auctor. Nullam diam erat,\n tincidunt at odio non, tincidunt laoreet quam. In consequat\n pulvinar sapien vel varius. Suspendisse potenti. Aenean pharetra\n felis sit amet tempus consequat. Donec eu molestie mauris. Nunc\n scelerisque ex id vehicula semper. Nunc eu interdum ante. Etiam\n in metus ante. Nulla ac turpis vel sem fermentum mattis. Nam\n elit mi, pretium a tristique vitae, vestibulum id tellus. In\n vitae nisl lectus. Sed fringilla eget velit quis aliquet.\n Vestibulum euismod, leo ut egestas dictum, mi quam euismod\n velit, nec iaculis elit mi a orci. Duis volutpat purus lacus. Ut\n sit amet semper ipsum. Sed aliquam, quam ac placerat facilisis,\n nulla odio vulputate erat, id condimentum sem arcu vel turpis.\n Fusce finibus tortor ac viverra semper. Pellentesque convallis\n mi sed metus finibus molestie. Duis vehicula dolor consequat\n placerat sollicitudin. Phasellus sed sagittis ligula, in\n molestie velit. In scelerisque maximus metus, ac convallis nisi\n dignissim non.\n </p>\n </SpsScrollableContainer>\n </SpsCard>\n "]))),
8638
+ jsx: utils.code(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\n <SpsCard>\n <SpsScrollableContainer maxHeight='100px'>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris\n sit amet molestie metus. Phasellus dignissim interdum arcu. Sed\n in nunc id sapien porta mollis eleifend nec mauris. Nulla\n molestie pulvinar velit eget fringilla. Pellentesque habitant\n morbi tristique senectus et netus et malesuada fames ac turpis\n egestas. Nam eu sem ut neque condimentum tempor. Integer\n bibendum in velit at consectetur. Nunc ut velit ac magna sodales\n tempor. Ut tempor rhoncus mi, eget feugiat nisi finibus at.\n Pellentesque habitant morbi tristique senectus et netus et\n malesuada fames ac turpis egestas. Vestibulum nunc ipsum,\n elementum consectetur urna a, sodales pellentesque nibh. Nullam\n in dui dolor. Vivamus sapien enim, tristique accumsan finibus\n nec, fringilla eget tellus. Duis sed pulvinar ipsum. Donec\n convallis aliquet dui, nec ullamcorper nulla tincidunt ac. Fusce\n tempus neque sit amet libero vestibulum maximus. Praesent id dui\n sed diam scelerisque pretium id vitae ante. Sed ullamcorper\n ligula quis mi vehicula, in interdum purus suscipit.\n Pellentesque venenatis velit nunc, quis tincidunt ligula egestas\n id. Praesent sollicitudin et mauris et auctor. Nullam diam erat,\n tincidunt at odio non, tincidunt laoreet quam. In consequat\n pulvinar sapien vel varius. Suspendisse potenti. Aenean pharetra\n felis sit amet tempus consequat. Donec eu molestie mauris. Nunc\n scelerisque ex id vehicula semper. Nunc eu interdum ante. Etiam\n in metus ante. Nulla ac turpis vel sem fermentum mattis. Nam\n elit mi, pretium a tristique vitae, vestibulum id tellus. In\n vitae nisl lectus. Sed fringilla eget velit quis aliquet.\n Vestibulum euismod, leo ut egestas dictum, mi quam euismod\n velit, nec iaculis elit mi a orci. Duis volutpat purus lacus. Ut\n sit amet semper ipsum. Sed aliquam, quam ac placerat facilisis,\n nulla odio vulputate erat, id condimentum sem arcu vel turpis.\n Fusce finibus tortor ac viverra semper. Pellentesque convallis\n mi sed metus finibus molestie. Duis vehicula dolor consequat\n placerat sollicitudin. Phasellus sed sagittis ligula, in\n molestie velit. In scelerisque maximus metus, ac convallis nisi\n dignissim non.\n </p>\n </SpsScrollableContainer>\n </SpsCard>\n "], ["\n <SpsCard>\n <SpsScrollableContainer maxHeight='100px'>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris\n sit amet molestie metus. Phasellus dignissim interdum arcu. Sed\n in nunc id sapien porta mollis eleifend nec mauris. Nulla\n molestie pulvinar velit eget fringilla. Pellentesque habitant\n morbi tristique senectus et netus et malesuada fames ac turpis\n egestas. Nam eu sem ut neque condimentum tempor. Integer\n bibendum in velit at consectetur. Nunc ut velit ac magna sodales\n tempor. Ut tempor rhoncus mi, eget feugiat nisi finibus at.\n Pellentesque habitant morbi tristique senectus et netus et\n malesuada fames ac turpis egestas. Vestibulum nunc ipsum,\n elementum consectetur urna a, sodales pellentesque nibh. Nullam\n in dui dolor. Vivamus sapien enim, tristique accumsan finibus\n nec, fringilla eget tellus. Duis sed pulvinar ipsum. Donec\n convallis aliquet dui, nec ullamcorper nulla tincidunt ac. Fusce\n tempus neque sit amet libero vestibulum maximus. Praesent id dui\n sed diam scelerisque pretium id vitae ante. Sed ullamcorper\n ligula quis mi vehicula, in interdum purus suscipit.\n Pellentesque venenatis velit nunc, quis tincidunt ligula egestas\n id. Praesent sollicitudin et mauris et auctor. Nullam diam erat,\n tincidunt at odio non, tincidunt laoreet quam. In consequat\n pulvinar sapien vel varius. Suspendisse potenti. Aenean pharetra\n felis sit amet tempus consequat. Donec eu molestie mauris. Nunc\n scelerisque ex id vehicula semper. Nunc eu interdum ante. Etiam\n in metus ante. Nulla ac turpis vel sem fermentum mattis. Nam\n elit mi, pretium a tristique vitae, vestibulum id tellus. In\n vitae nisl lectus. Sed fringilla eget velit quis aliquet.\n Vestibulum euismod, leo ut egestas dictum, mi quam euismod\n velit, nec iaculis elit mi a orci. Duis volutpat purus lacus. Ut\n sit amet semper ipsum. Sed aliquam, quam ac placerat facilisis,\n nulla odio vulputate erat, id condimentum sem arcu vel turpis.\n Fusce finibus tortor ac viverra semper. Pellentesque convallis\n mi sed metus finibus molestie. Duis vehicula dolor consequat\n placerat sollicitudin. Phasellus sed sagittis ligula, in\n molestie velit. In scelerisque maximus metus, ac convallis nisi\n dignissim non.\n </p>\n </SpsScrollableContainer>\n </SpsCard>\n "]))),
8493
8639
  },
8494
8640
  components: {
8495
8641
  react: utils.code(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n function Component() {\n function buildTags() {\n let tagNames = [];\n for (let i = 0; i < 150; i++) {\n tagNames.push('tagName ' + i);\n }\n return tagNames;\n }\n return <SpsCard>\n <SpsScrollableContainer maxHeight='8.5rem'>\n {buildTags().map((name, index) => {\n return (\n <SpsClickableTag key={index} className=\"mt-1 ml-1\">\n {name}\n </SpsClickableTag>\n );\n })}\n </SpsScrollableContainer>\n </SpsCard>\n }\n "], ["\n function Component() {\n function buildTags() {\n let tagNames = [];\n for (let i = 0; i < 150; i++) {\n tagNames.push('tagName ' + i);\n }\n return tagNames;\n }\n return <SpsCard>\n <SpsScrollableContainer maxHeight='8.5rem'>\n {buildTags().map((name, index) => {\n return (\n <SpsClickableTag key={index} className=\"mt-1 ml-1\">\n {name}\n </SpsClickableTag>\n );\n })}\n </SpsScrollableContainer>\n </SpsCard>\n }\n "]))),
@@ -8497,14 +8643,14 @@ var SpsScrollableContainerExamples = {
8497
8643
  },
8498
8644
  },
8499
8645
  };
8500
- var templateObject_1$j, templateObject_2$h;
8646
+ var templateObject_1$k, templateObject_2$h;
8501
8647
 
8502
- var propsDoc$x = {
8648
+ var propsDoc$A = {
8503
8649
  resultsCount: 'number',
8504
8650
  totalResults: 'number',
8505
8651
  onClear: '() => void',
8506
8652
  };
8507
- var propTypes$A = __assign(__assign({}, spsGlobalPropTypes), { resultsCount: PropTypes.number, totalResults: PropTypes.number, onClear: fun() });
8653
+ var propTypes$D = __assign(__assign({}, spsGlobalPropTypes), { resultsCount: PropTypes.number, totalResults: PropTypes.number, onClear: fun() });
8508
8654
  function SpsSearchResultsBar(props) {
8509
8655
  props.children; var className = props.className, resultsCount = props.resultsCount, totalResults = props.totalResults, onClear = props.onClear, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "resultsCount", "totalResults", "onClear", 'data-testid', "unsafelyReplaceClassName"]);
8510
8656
  var t = React__namespace.useContext(I18nContext).t;
@@ -8526,8 +8672,8 @@ function SpsSearchResultsBar(props) {
8526
8672
  React__namespace.createElement("button", { type: "button", onClick: onClear }, t('design-system:searchResultsBar.clear')))));
8527
8673
  }
8528
8674
  Object.assign(SpsSearchResultsBar, {
8529
- props: propsDoc$x,
8530
- propTypes: propTypes$A,
8675
+ props: propsDoc$A,
8676
+ propTypes: propTypes$D,
8531
8677
  displayName: 'SpsSearchResultsBar',
8532
8678
  });
8533
8679
 
@@ -8537,7 +8683,7 @@ var SpsSearchResultsBarExamples = {
8537
8683
  description: '<p>Info about Basic Search Result Bars</p>',
8538
8684
  examples: {
8539
8685
  noCount: {
8540
- react: utils.code(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n function SpsSearchResultsBarBasic() {\n function clearHandler() {\n console.log(\"change handler called\");\n }\n return (\n <SpsSearchResultsBar onClear={clearHandler}/>\n );\n }\n "], ["\n function SpsSearchResultsBarBasic() {\n function clearHandler() {\n console.log(\"change handler called\");\n }\n return (\n <SpsSearchResultsBar onClear={clearHandler}/>\n );\n }\n "]))),
8686
+ react: utils.code(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n function SpsSearchResultsBarBasic() {\n function clearHandler() {\n console.log(\"change handler called\");\n }\n return (\n <SpsSearchResultsBar onClear={clearHandler}/>\n );\n }\n "], ["\n function SpsSearchResultsBarBasic() {\n function clearHandler() {\n console.log(\"change handler called\");\n }\n return (\n <SpsSearchResultsBar onClear={clearHandler}/>\n );\n }\n "]))),
8541
8687
  },
8542
8688
  },
8543
8689
  },
@@ -8560,7 +8706,7 @@ var SpsSearchResultsBarExamples = {
8560
8706
  },
8561
8707
  },
8562
8708
  };
8563
- var templateObject_1$i, templateObject_2$g, templateObject_3$e;
8709
+ var templateObject_1$j, templateObject_2$g, templateObject_3$e;
8564
8710
 
8565
8711
  var SpsSelectExamples = {
8566
8712
  basic: {
@@ -8569,7 +8715,7 @@ var SpsSelectExamples = {
8569
8715
  examples: {
8570
8716
  a_simple: {
8571
8717
  description: 'Simple value options',
8572
- react: utils.code(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n function DemoComponent() {\n const colors = [\"red\", \"blue\", \"green\"];\n\n return (\n <SpsSelect id=\"basic\" options={colors}/>\n )\n }\n "], ["\n function DemoComponent() {\n const colors = [\"red\", \"blue\", \"green\"];\n\n return (\n <SpsSelect id=\"basic\" options={colors}/>\n )\n }\n "]))),
8718
+ react: utils.code(templateObject_1$i || (templateObject_1$i = __makeTemplateObject(["\n function DemoComponent() {\n const colors = [\"red\", \"blue\", \"green\"];\n\n return (\n <SpsSelect id=\"basic\" options={colors}/>\n )\n }\n "], ["\n function DemoComponent() {\n const colors = [\"red\", \"blue\", \"green\"];\n\n return (\n <SpsSelect id=\"basic\" options={colors}/>\n )\n }\n "]))),
8573
8719
  },
8574
8720
  b_formHooks: {
8575
8721
  description: 'Form hooks',
@@ -8632,7 +8778,7 @@ var SpsSelectExamples = {
8632
8778
  },
8633
8779
  },
8634
8780
  };
8635
- var templateObject_1$h, templateObject_2$f, templateObject_3$d, templateObject_4$a, templateObject_5$5, templateObject_6$4, templateObject_7$4, templateObject_8$3, templateObject_9$2, templateObject_10$1, templateObject_11$1;
8781
+ var templateObject_1$i, templateObject_2$f, templateObject_3$d, templateObject_4$a, templateObject_5$5, templateObject_6$4, templateObject_7$4, templateObject_8$3, templateObject_9$2, templateObject_10$1, templateObject_11$1;
8636
8782
 
8637
8783
  var SpsSideNavBranch = function (_a) {
8638
8784
  var branch = _a.branch, setActiveBranch = _a.setActiveBranch, activeBranch = _a.activeBranch;
@@ -8778,7 +8924,7 @@ var SpsSideNavExamples = {
8778
8924
  description: 'Use Filters when the Side Navigation benefits from filtering, usually when it contains a long list of navigation items.',
8779
8925
  examples: {
8780
8926
  simple: {
8781
- react: utils.code(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n function DemoComponent() {\n function onChange(selection) {\n console.log(selection);\n }\n\n const items = [\n {\n sectionTitle: \"\",\n navItems: [\n {\n name: \"A Multiple Line Navigation Item That Has to Wrap Because it\u2019s so Long\",\n },\n {\n name: \"Navigation Item 2\",\n },\n {\n name: \"Navigation Item 3\",\n },\n {\n name: \"Navigation Item 4\",\n },\n {\n name: \"Navigation Item 5\",\n },\n {\n name: \"Navigation Item 6\",\n },\n {\n name: \"Navigation Item 7\",\n },\n {\n name: \"Navigation Item 8\",\n },\n {\n name: \"Navigation Item 9\",\n },\n {\n name: \"Navigation Item 10\",\n },\n {\n name: \"Navigation Item 11\",\n },\n {\n name: \"Navigation Item 12\",\n },\n {\n name: \"Navigation Item 13\",\n },\n ],\n }\n ];\n\n return (\n <div className=\"sfg-row\">\n <div className=\"sfg-col-4\">\n <SpsSideNav\n title=\"Title\"\n titleIcon={SpsIcon.STATUS_OK}\n navOptions={items}\n activeNavItem=\"Navigation Item 2\"\n onNavChange={onChange}\n filterable={true}\n filterInputPlaceholder=\"Filter\"\n />\n </div>\n </div>\n );\n }\n "], ["\n function DemoComponent() {\n function onChange(selection) {\n console.log(selection);\n }\n\n const items = [\n {\n sectionTitle: \"\",\n navItems: [\n {\n name: \"A Multiple Line Navigation Item That Has to Wrap Because it\u2019s so Long\",\n },\n {\n name: \"Navigation Item 2\",\n },\n {\n name: \"Navigation Item 3\",\n },\n {\n name: \"Navigation Item 4\",\n },\n {\n name: \"Navigation Item 5\",\n },\n {\n name: \"Navigation Item 6\",\n },\n {\n name: \"Navigation Item 7\",\n },\n {\n name: \"Navigation Item 8\",\n },\n {\n name: \"Navigation Item 9\",\n },\n {\n name: \"Navigation Item 10\",\n },\n {\n name: \"Navigation Item 11\",\n },\n {\n name: \"Navigation Item 12\",\n },\n {\n name: \"Navigation Item 13\",\n },\n ],\n }\n ];\n\n return (\n <div className=\"sfg-row\">\n <div className=\"sfg-col-4\">\n <SpsSideNav\n title=\"Title\"\n titleIcon={SpsIcon.STATUS_OK}\n navOptions={items}\n activeNavItem=\"Navigation Item 2\"\n onNavChange={onChange}\n filterable={true}\n filterInputPlaceholder=\"Filter\"\n />\n </div>\n </div>\n );\n }\n "]))),
8927
+ react: utils.code(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\n function DemoComponent() {\n function onChange(selection) {\n console.log(selection);\n }\n\n const items = [\n {\n sectionTitle: \"\",\n navItems: [\n {\n name: \"A Multiple Line Navigation Item That Has to Wrap Because it\u2019s so Long\",\n },\n {\n name: \"Navigation Item 2\",\n },\n {\n name: \"Navigation Item 3\",\n },\n {\n name: \"Navigation Item 4\",\n },\n {\n name: \"Navigation Item 5\",\n },\n {\n name: \"Navigation Item 6\",\n },\n {\n name: \"Navigation Item 7\",\n },\n {\n name: \"Navigation Item 8\",\n },\n {\n name: \"Navigation Item 9\",\n },\n {\n name: \"Navigation Item 10\",\n },\n {\n name: \"Navigation Item 11\",\n },\n {\n name: \"Navigation Item 12\",\n },\n {\n name: \"Navigation Item 13\",\n },\n ],\n }\n ];\n\n return (\n <div className=\"sfg-row\">\n <div className=\"sfg-col-4\">\n <SpsSideNav\n title=\"Title\"\n titleIcon={SpsIcon.STATUS_OK}\n navOptions={items}\n activeNavItem=\"Navigation Item 2\"\n onNavChange={onChange}\n filterable={true}\n filterInputPlaceholder=\"Filter\"\n />\n </div>\n </div>\n );\n }\n "], ["\n function DemoComponent() {\n function onChange(selection) {\n console.log(selection);\n }\n\n const items = [\n {\n sectionTitle: \"\",\n navItems: [\n {\n name: \"A Multiple Line Navigation Item That Has to Wrap Because it\u2019s so Long\",\n },\n {\n name: \"Navigation Item 2\",\n },\n {\n name: \"Navigation Item 3\",\n },\n {\n name: \"Navigation Item 4\",\n },\n {\n name: \"Navigation Item 5\",\n },\n {\n name: \"Navigation Item 6\",\n },\n {\n name: \"Navigation Item 7\",\n },\n {\n name: \"Navigation Item 8\",\n },\n {\n name: \"Navigation Item 9\",\n },\n {\n name: \"Navigation Item 10\",\n },\n {\n name: \"Navigation Item 11\",\n },\n {\n name: \"Navigation Item 12\",\n },\n {\n name: \"Navigation Item 13\",\n },\n ],\n }\n ];\n\n return (\n <div className=\"sfg-row\">\n <div className=\"sfg-col-4\">\n <SpsSideNav\n title=\"Title\"\n titleIcon={SpsIcon.STATUS_OK}\n navOptions={items}\n activeNavItem=\"Navigation Item 2\"\n onNavChange={onChange}\n filterable={true}\n filterInputPlaceholder=\"Filter\"\n />\n </div>\n </div>\n );\n }\n "]))),
8782
8928
  },
8783
8929
  },
8784
8930
  },
@@ -8825,9 +8971,9 @@ var SpsSideNavExamples = {
8825
8971
  },
8826
8972
  },
8827
8973
  };
8828
- var templateObject_1$g, templateObject_2$e, templateObject_3$c, templateObject_4$9, templateObject_5$4;
8974
+ var templateObject_1$h, templateObject_2$e, templateObject_3$c, templateObject_4$9, templateObject_5$4;
8829
8975
 
8830
- var propsDoc$w = {
8976
+ var propsDoc$z = {
8831
8977
  sortKey: 'string',
8832
8978
  sortDisabled: 'boolean',
8833
8979
  sort: 'SortedColumn[]',
@@ -8835,7 +8981,7 @@ var propsDoc$w = {
8835
8981
  widthPx: 'number',
8836
8982
  widthRem: 'number',
8837
8983
  };
8838
- var propTypes$z = __assign({ sortKey: PropTypes.string, sortDisabled: PropTypes.bool, sort: PropTypes.arrayOf(impl()), onSortChange: fun(), widthPx: PropTypes.number, widthRem: PropTypes.number }, spsGlobalPropTypes);
8984
+ var propTypes$C = __assign({ sortKey: PropTypes.string, sortDisabled: PropTypes.bool, sort: PropTypes.arrayOf(impl()), onSortChange: fun(), widthPx: PropTypes.number, widthRem: PropTypes.number }, spsGlobalPropTypes);
8839
8985
  function SpsSortingHeaderCell(_a) {
8840
8986
  var className = _a.className, testId = _a["data-testid"], unsafelyReplaceClassName = _a.unsafelyReplaceClassName, sortKey = _a.sortKey, sort = _a.sort, sortDisabled = _a.sortDisabled, onSortChange = _a.onSortChange, onClick = _a.onClick, children = _a.children, widthPx = _a.widthPx, widthRem = _a.widthRem, style = _a.style, rest = __rest(_a, ["className", 'data-testid', "unsafelyReplaceClassName", "sortKey", "sort", "sortDisabled", "onSortChange", "onClick", "children", "widthPx", "widthRem", "style"]);
8841
8987
  var sortDirection = React__namespace.useMemo(function () {
@@ -8865,16 +9011,16 @@ function SpsSortingHeaderCell(_a) {
8865
9011
  }, "data-testid": testId, style: inlineStyles }, rest), children));
8866
9012
  }
8867
9013
  Object.assign(SpsSortingHeaderCell, {
8868
- props: propsDoc$w,
8869
- propTypes: propTypes$z,
9014
+ props: propsDoc$z,
9015
+ propTypes: propTypes$C,
8870
9016
  displayName: 'SpsSortingHeaderCell',
8871
9017
  });
8872
9018
 
8873
- var propsDoc$v = {
9019
+ var propsDoc$y = {
8874
9020
  sort: 'SortedColumn[]',
8875
9021
  onSortChange: 'SortChangeHandler',
8876
9022
  };
8877
- var propTypes$y = __assign(__assign({}, spsGlobalPropTypes), { sort: PropTypes.arrayOf(impl()), onSortChange: fun() });
9023
+ var propTypes$B = __assign(__assign({}, spsGlobalPropTypes), { sort: PropTypes.arrayOf(impl()), onSortChange: fun() });
8878
9024
  function SpsSortingHeader(_a) {
8879
9025
  var className = _a.className; _a["data-testid"]; var unsafelyReplaceClassName = _a.unsafelyReplaceClassName, sort = _a.sort, onSortChange = _a.onSortChange, children = _a.children, rest = __rest(_a, ["className", 'data-testid', "unsafelyReplaceClassName", "sort", "onSortChange", "children"]);
8880
9026
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-sorting-header', className);
@@ -8890,17 +9036,17 @@ function SpsSortingHeader(_a) {
8890
9036
  })));
8891
9037
  }
8892
9038
  Object.assign(SpsSortingHeader, {
8893
- props: propsDoc$v,
8894
- propTypes: propTypes$y,
9039
+ props: propsDoc$y,
9040
+ propTypes: propTypes$B,
8895
9041
  displayName: 'SpsSortingHeader',
8896
9042
  });
8897
9043
 
8898
- var propsDoc$u = {
9044
+ var propsDoc$x = {
8899
9045
  alt: 'string',
8900
9046
  size: 'SpinnerSize',
8901
9047
  title: 'string',
8902
9048
  };
8903
- var propTypes$x = __assign(__assign({}, spsGlobalPropTypes), { alt: PropTypes.string, size: enumValue(dsShared.SpinnerSize), title: PropTypes.string });
9049
+ var propTypes$A = __assign(__assign({}, spsGlobalPropTypes), { alt: PropTypes.string, size: enumValue(dsShared.SpinnerSize), title: PropTypes.string });
8904
9050
  function SpsSpinner(props) {
8905
9051
  var alt = props.alt, className = props.className, _a = props.size, size = _a === void 0 ? dsShared.SpinnerSize.MEDIUM : _a, testId = props["data-testid"], title = props.title, unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["alt", "className", "size", 'data-testid', "title", "unsafelyReplaceClassName"]);
8906
9052
  var t = React__namespace.useContext(I18nContext).t;
@@ -8909,8 +9055,8 @@ function SpsSpinner(props) {
8909
9055
  return (React__namespace.createElement("i", __assign({ className: spinnerClasses, "data-testid": testId, title: altText }, rest)));
8910
9056
  }
8911
9057
  Object.assign(SpsSpinner, {
8912
- props: propsDoc$u,
8913
- propTypes: propTypes$x,
9058
+ props: propsDoc$x,
9059
+ propTypes: propTypes$A,
8914
9060
  displayName: 'SpsSpinner',
8915
9061
  });
8916
9062
 
@@ -8918,7 +9064,7 @@ var SpsSpinnerExamples = {
8918
9064
  basic: {
8919
9065
  examples: {
8920
9066
  small: {
8921
- jsx: utils.code(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\n <React.Fragment>\n <SpsSpinner size=\"small\"/>\n <SpsSpinner size={SpinnerSize.SMALL}/>\n </React.Fragment>\n "], ["\n <React.Fragment>\n <SpsSpinner size=\"small\"/>\n <SpsSpinner size={SpinnerSize.SMALL}/>\n </React.Fragment>\n "]))),
9067
+ jsx: utils.code(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\n <React.Fragment>\n <SpsSpinner size=\"small\"/>\n <SpsSpinner size={SpinnerSize.SMALL}/>\n </React.Fragment>\n "], ["\n <React.Fragment>\n <SpsSpinner size=\"small\"/>\n <SpsSpinner size={SpinnerSize.SMALL}/>\n </React.Fragment>\n "]))),
8922
9068
  },
8923
9069
  medium: {
8924
9070
  jsx: utils.code(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n <React.Fragment>\n <SpsSpinner />\n <SpsSpinner size=\"medium\" title=\"Please wait\u2026\"/>\n <SpsSpinner size={SpinnerSize.MEDIUM}/>\n </React.Fragment>\n "], ["\n <React.Fragment>\n <SpsSpinner />\n <SpsSpinner size=\"medium\" title=\"Please wait\u2026\"/>\n <SpsSpinner size={SpinnerSize.MEDIUM}/>\n </React.Fragment>\n "]))),
@@ -8929,9 +9075,9 @@ var SpsSpinnerExamples = {
8929
9075
  },
8930
9076
  },
8931
9077
  };
8932
- var templateObject_1$f, templateObject_2$d, templateObject_3$b;
9078
+ var templateObject_1$g, templateObject_2$d, templateObject_3$b;
8933
9079
 
8934
- var propsDoc$t = {
9080
+ var propsDoc$w = {
8935
9081
  disabled: 'boolean',
8936
9082
  href: 'string',
8937
9083
  label: 'string',
@@ -8939,7 +9085,7 @@ var propsDoc$t = {
8939
9085
  kind: 'StdButtonKind',
8940
9086
  options: 'Array<SpsActionMethod | [SpsActionDescriptor, () => void]>',
8941
9087
  };
8942
- var propTypes$w = __assign(__assign({}, spsGlobalPropTypes), { disabled: PropTypes.bool, href: PropTypes.string, label: PropTypes.string, icon: enumValue(dsShared.SpsIcon), kind: enumValue(dsShared.StdButtonKind),
9088
+ var propTypes$z = __assign(__assign({}, spsGlobalPropTypes), { disabled: PropTypes.bool, href: PropTypes.string, label: PropTypes.string, icon: enumValue(dsShared.SpsIcon), kind: enumValue(dsShared.StdButtonKind),
8943
9089
  // eslint thinks there is a space between the name and open paren below for some reason
8944
9090
  // eslint-disable-next-line no-spaced-func
8945
9091
  options: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.any])) });
@@ -8958,15 +9104,15 @@ function SpsSplitButton(props) {
8958
9104
  React__namespace.createElement(SpsDropdown, { kind: kind, options: options, disabled: disabled, onOpen: setOpen, onClose: setClose })));
8959
9105
  }
8960
9106
  Object.assign(SpsSplitButton, {
8961
- props: propsDoc$t,
8962
- propTypes: propTypes$w,
9107
+ props: propsDoc$w,
9108
+ propTypes: propTypes$z,
8963
9109
  displayName: 'SpsSplitButton',
8964
9110
  });
8965
9111
 
8966
9112
  var SpsSplitButtonExamples = {
8967
9113
  kinds: {
8968
9114
  label: 'Regular Split Buttons',
8969
- description: utils.code(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["<p>info about split buttons</p>"], ["<p>info about split buttons</p>"]))),
9115
+ description: utils.code(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["<p>info about split buttons</p>"], ["<p>info about split buttons</p>"]))),
8970
9116
  examples: {
8971
9117
  basic: {
8972
9118
  description: utils.code(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["<p>Basic</p>"], ["<p>Basic</p>"]))),
@@ -8995,12 +9141,12 @@ var SpsSplitButtonExamples = {
8995
9141
  },
8996
9142
  },
8997
9143
  };
8998
- var templateObject_1$e, templateObject_2$c, templateObject_3$a, templateObject_4$8, templateObject_5$3, templateObject_6$3, templateObject_7$3, templateObject_8$2, templateObject_9$1;
9144
+ var templateObject_1$f, templateObject_2$c, templateObject_3$a, templateObject_4$8, templateObject_5$3, templateObject_6$3, templateObject_7$3, templateObject_8$2, templateObject_9$1;
8999
9145
 
9000
- var propsDoc$s = {
9146
+ var propsDoc$v = {
9001
9147
  channelId: { type: 'string', required: true },
9002
9148
  };
9003
- var propTypes$v = __assign(__assign({}, spsGlobalPropTypes), { channelId: PropTypes.string.isRequired });
9149
+ var propTypes$y = __assign(__assign({}, spsGlobalPropTypes), { channelId: PropTypes.string.isRequired });
9004
9150
  function SpsSlackLink(props) {
9005
9151
  var channelId = props.channelId, className = props.className, unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["channelId", "className", "unsafelyReplaceClassName"]);
9006
9152
  var t = React__namespace.useContext(I18nContext).t;
@@ -9010,8 +9156,8 @@ function SpsSlackLink(props) {
9010
9156
  React__namespace.createElement("span", null, t('design-system:slackLink.label'))));
9011
9157
  }
9012
9158
  Object.assign(SpsSlackLink, {
9013
- props: propsDoc$s,
9014
- propTypes: propTypes$v,
9159
+ props: propsDoc$v,
9160
+ propTypes: propTypes$y,
9015
9161
  displayName: 'SpsSlackLink',
9016
9162
  });
9017
9163
 
@@ -9019,32 +9165,32 @@ var SpsSlackLinkExamples = {
9019
9165
  basic: {
9020
9166
  examples: {
9021
9167
  basic: {
9022
- react: utils.code(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n function DemoComponent() {\n return (\n <SpsProductBar productName=\"My Product\"\n productLogoSrc=\"https://cdn.prod.spsc.io/web/framework/assets/17.08.01/icons/cube/cube.svg\"\n tabs={[\"Foo\", \"Bar\", \"Baz\"]}\n activeTab=\"Bar\"\n fullWidth\n style={{ position: \"relative\" }} // display this example in its place instead of at the top\n ><SpsSlackLink channelId=\"CELEGDK4Y\" /></SpsProductBar>\n );\n }\n "], ["\n function DemoComponent() {\n return (\n <SpsProductBar productName=\"My Product\"\n productLogoSrc=\"https://cdn.prod.spsc.io/web/framework/assets/17.08.01/icons/cube/cube.svg\"\n tabs={[\"Foo\", \"Bar\", \"Baz\"]}\n activeTab=\"Bar\"\n fullWidth\n style={{ position: \"relative\" }} // display this example in its place instead of at the top\n ><SpsSlackLink channelId=\"CELEGDK4Y\" /></SpsProductBar>\n );\n }\n "]))),
9168
+ react: utils.code(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\n function DemoComponent() {\n return (\n <SpsProductBar productName=\"My Product\"\n productLogoSrc=\"https://cdn.prod.spsc.io/web/framework/assets/17.08.01/icons/cube/cube.svg\"\n tabs={[\"Foo\", \"Bar\", \"Baz\"]}\n activeTab=\"Bar\"\n fullWidth\n style={{ position: \"relative\" }} // display this example in its place instead of at the top\n ><SpsSlackLink channelId=\"CELEGDK4Y\" /></SpsProductBar>\n );\n }\n "], ["\n function DemoComponent() {\n return (\n <SpsProductBar productName=\"My Product\"\n productLogoSrc=\"https://cdn.prod.spsc.io/web/framework/assets/17.08.01/icons/cube/cube.svg\"\n tabs={[\"Foo\", \"Bar\", \"Baz\"]}\n activeTab=\"Bar\"\n fullWidth\n style={{ position: \"relative\" }} // display this example in its place instead of at the top\n ><SpsSlackLink channelId=\"CELEGDK4Y\" /></SpsProductBar>\n );\n }\n "]))),
9023
9169
  },
9024
9170
  },
9025
9171
  },
9026
9172
  };
9027
- var templateObject_1$d;
9173
+ var templateObject_1$e;
9028
9174
 
9029
- var propsDoc$r = {};
9030
- var propTypes$u = __assign({}, spsGlobalPropTypes);
9175
+ var propsDoc$u = {};
9176
+ var propTypes$x = __assign({}, spsGlobalPropTypes);
9031
9177
  function SpsSummaryListExpansion(props) {
9032
9178
  var children = props.children, className = props.className, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", 'data-testid', "unsafelyReplaceClassName"]);
9033
9179
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-content-row__expansion', className);
9034
9180
  return (React__namespace.createElement("div", __assign({ className: classes }, rest, { "data-testid": testId + "__expansion" }), children));
9035
9181
  }
9036
9182
  Object.assign(SpsSummaryListExpansion, {
9037
- props: propsDoc$r,
9038
- propTypes: propTypes$u,
9183
+ props: propsDoc$u,
9184
+ propTypes: propTypes$x,
9039
9185
  displayName: 'SpsSummaryListExpansion',
9040
9186
  });
9041
9187
 
9042
- var propsDoc$q = {
9188
+ var propsDoc$t = {
9043
9189
  expanded: 'boolean',
9044
9190
  selected: 'boolean',
9045
9191
  onToggle: '(isExpanded: boolean) => void',
9046
9192
  };
9047
- var propTypes$t = __assign(__assign({}, spsGlobalPropTypes), { expanded: PropTypes.bool, selected: PropTypes.bool, onToggle: fun() });
9193
+ var propTypes$w = __assign(__assign({}, spsGlobalPropTypes), { expanded: PropTypes.bool, selected: PropTypes.bool, onToggle: fun() });
9048
9194
  function SpsSummaryListRow(props) {
9049
9195
  var children = props.children, className = props.className, expanded = props.expanded, onToggle = props.onToggle, selected = props.selected, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "expanded", "onToggle", "selected", 'data-testid', "unsafelyReplaceClassName"]);
9050
9196
  var _a = __read(usePatchReducer({
@@ -9088,26 +9234,26 @@ function SpsSummaryListRow(props) {
9088
9234
  expansion));
9089
9235
  }
9090
9236
  Object.assign(SpsSummaryListRow, {
9091
- props: propsDoc$q,
9092
- propTypes: propTypes$t,
9237
+ props: propsDoc$t,
9238
+ propTypes: propTypes$w,
9093
9239
  displayName: 'SpsSummaryListRow',
9094
9240
  });
9095
9241
 
9096
- var propsDoc$p = {
9242
+ var propsDoc$s = {
9097
9243
  borderless: 'boolean',
9098
9244
  lean: 'boolean',
9099
9245
  leaner: 'boolean',
9100
9246
  width: 'string',
9101
9247
  };
9102
- var propTypes$s = __assign(__assign({}, spsGlobalPropTypes), { borderless: PropTypes.bool, lean: PropTypes.bool, leaner: PropTypes.bool, width: PropTypes.string });
9248
+ var propTypes$v = __assign(__assign({}, spsGlobalPropTypes), { borderless: PropTypes.bool, lean: PropTypes.bool, leaner: PropTypes.bool, width: PropTypes.string });
9103
9249
  function SpsSummaryListColumn(props) {
9104
9250
  var className = props.className, children = props.children, borderless = props.borderless, lean = props.lean, leaner = props.leaner, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, width = props.width, rest = __rest(props, ["className", "children", "borderless", "lean", "leaner", 'data-testid', "unsafelyReplaceClassName", "width"]);
9105
9251
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-content-row__col', lean && 'sps-content-row__col--lean', leaner && 'sps-content-row__col--leaner', borderless && 'sps-content-row__col--borderless', className);
9106
9252
  return (React__namespace.createElement("div", __assign({ className: classes, style: { width: width } }, rest, { "data-testid": testId + "__col" }), children));
9107
9253
  }
9108
9254
  Object.assign(SpsSummaryListColumn, {
9109
- props: propsDoc$p,
9110
- propTypes: propTypes$s,
9255
+ props: propsDoc$s,
9256
+ propTypes: propTypes$v,
9111
9257
  displayName: 'SpsSummaryListColumn',
9112
9258
  });
9113
9259
 
@@ -9116,7 +9262,7 @@ var SpsSummaryListExamples = {
9116
9262
  label: 'Basic Usage',
9117
9263
  examples: {
9118
9264
  basic: {
9119
- jsx: utils.code(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n <>\n <SpsSummaryListRow>\n <SpsSummaryListColumn width=\"2.8rem\" lean>\n <SpsI icon={SpsIcon.STAR} size={SpsIconSize.MEDIUM} className=\"d-block mb-2 yellow300\" />\n <SpsI icon={SpsIcon.FLAG} size={SpsIconSize.MEDIUM} className=\"d-block yellow300\" />\n </SpsSummaryListColumn>\n <SpsSummaryListColumn>\n <SpsI icon={SpsIcon.STATUS_ERROR} size={SpsIconSize.LARGE} className=\"align-middle mr-2 pr-1\" />\n <div className=\"d-inline-block align-middle\">\n <div className=\"fs-18\">\n <a href=\"#\">Heading</a>\n </div>\n <div className=\"fs-14\">Sub Heading</div>\n </div>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"13.5rem\">\n <SpsKeyValueList inline>\n <SpsKeyValueListItem itemKey={\"Title\"}>\n Sub copy goes here\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey={\"Long Title\"}>\n Sub copy goes here\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey={\"Title\"}>\n Sub copy goes here\n </SpsKeyValueListItem>\n </SpsKeyValueList>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"9rem\">\n <SpsKeyValueList>\n <SpsKeyValueListItem itemKey=\"Buying From\">\n 75 Companies\n <div className=\"font-weight-light\">38 of 75 Operational</div>\n </SpsKeyValueListItem>\n </SpsKeyValueList>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"3.6rem\" leaner>\n <SpsDropdown\n label=\"\"\n icon=\"ellipses\"\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")], [{ label: \"Option B\" }, () => console.log(\"Option B\")]]}\n />\n </SpsSummaryListColumn>\n </SpsSummaryListRow>\n <SpsSummaryListRow>\n <SpsSummaryListColumn width=\"2.8rem\" lean>\n <SpsI icon={SpsIcon.STAR} size={SpsIconSize.MEDIUM} className=\"d-block mb-2 yellow300\" />\n <SpsI icon={SpsIcon.FLAG} size={SpsIconSize.MEDIUM} className=\"d-block yellow300\" />\n </SpsSummaryListColumn>\n <SpsSummaryListColumn>\n <SpsI icon={SpsIcon.STATUS_ERROR} size={SpsIconSize.LARGE} className=\"align-middle mr-2 pr-1\" />\n <div className=\"d-inline-block align-middle\">\n <div className=\"fs-18\">\n <a href=\"#\">Heading</a>\n </div>\n <div className=\"fs-14\">Sub Heading</div>\n </div>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"13.5rem\">\n <SpsKeyValueList inline>\n <SpsKeyValueListItem itemKey=\"Title\">\n Sub copy goes here\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey=\"Long Title\">\n Sub copy goes here\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey=\"Title\">\n Sub copy goes here\n </SpsKeyValueListItem>\n </SpsKeyValueList>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"9rem\">\n <SpsKeyValueList>\n <SpsKeyValueListItem itemKey=\"Buying From\">\n 75 Companies\n <div className=\"font-weight-light\">38 of 75 Operational</div>\n </SpsKeyValueListItem>\n </SpsKeyValueList>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"3.6rem\" leaner>\n <SpsDropdown\n label=\"\"\n icon=\"ellipses\"\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")], [{ label: \"Option B\" }, () => console.log(\"Option B\")]]}\n />\n </SpsSummaryListColumn>\n </SpsSummaryListRow>\n </>"], ["\n <>\n <SpsSummaryListRow>\n <SpsSummaryListColumn width=\"2.8rem\" lean>\n <SpsI icon={SpsIcon.STAR} size={SpsIconSize.MEDIUM} className=\"d-block mb-2 yellow300\" />\n <SpsI icon={SpsIcon.FLAG} size={SpsIconSize.MEDIUM} className=\"d-block yellow300\" />\n </SpsSummaryListColumn>\n <SpsSummaryListColumn>\n <SpsI icon={SpsIcon.STATUS_ERROR} size={SpsIconSize.LARGE} className=\"align-middle mr-2 pr-1\" />\n <div className=\"d-inline-block align-middle\">\n <div className=\"fs-18\">\n <a href=\"#\">Heading</a>\n </div>\n <div className=\"fs-14\">Sub Heading</div>\n </div>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"13.5rem\">\n <SpsKeyValueList inline>\n <SpsKeyValueListItem itemKey={\"Title\"}>\n Sub copy goes here\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey={\"Long Title\"}>\n Sub copy goes here\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey={\"Title\"}>\n Sub copy goes here\n </SpsKeyValueListItem>\n </SpsKeyValueList>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"9rem\">\n <SpsKeyValueList>\n <SpsKeyValueListItem itemKey=\"Buying From\">\n 75 Companies\n <div className=\"font-weight-light\">38 of 75 Operational</div>\n </SpsKeyValueListItem>\n </SpsKeyValueList>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"3.6rem\" leaner>\n <SpsDropdown\n label=\"\"\n icon=\"ellipses\"\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")], [{ label: \"Option B\" }, () => console.log(\"Option B\")]]}\n />\n </SpsSummaryListColumn>\n </SpsSummaryListRow>\n <SpsSummaryListRow>\n <SpsSummaryListColumn width=\"2.8rem\" lean>\n <SpsI icon={SpsIcon.STAR} size={SpsIconSize.MEDIUM} className=\"d-block mb-2 yellow300\" />\n <SpsI icon={SpsIcon.FLAG} size={SpsIconSize.MEDIUM} className=\"d-block yellow300\" />\n </SpsSummaryListColumn>\n <SpsSummaryListColumn>\n <SpsI icon={SpsIcon.STATUS_ERROR} size={SpsIconSize.LARGE} className=\"align-middle mr-2 pr-1\" />\n <div className=\"d-inline-block align-middle\">\n <div className=\"fs-18\">\n <a href=\"#\">Heading</a>\n </div>\n <div className=\"fs-14\">Sub Heading</div>\n </div>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"13.5rem\">\n <SpsKeyValueList inline>\n <SpsKeyValueListItem itemKey=\"Title\">\n Sub copy goes here\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey=\"Long Title\">\n Sub copy goes here\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey=\"Title\">\n Sub copy goes here\n </SpsKeyValueListItem>\n </SpsKeyValueList>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"9rem\">\n <SpsKeyValueList>\n <SpsKeyValueListItem itemKey=\"Buying From\">\n 75 Companies\n <div className=\"font-weight-light\">38 of 75 Operational</div>\n </SpsKeyValueListItem>\n </SpsKeyValueList>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"3.6rem\" leaner>\n <SpsDropdown\n label=\"\"\n icon=\"ellipses\"\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")], [{ label: \"Option B\" }, () => console.log(\"Option B\")]]}\n />\n </SpsSummaryListColumn>\n </SpsSummaryListRow>\n </>"]))),
9265
+ jsx: utils.code(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\n <>\n <SpsSummaryListRow>\n <SpsSummaryListColumn width=\"2.8rem\" lean>\n <SpsI icon={SpsIcon.STAR} size={SpsIconSize.MEDIUM} className=\"d-block mb-2 yellow300\" />\n <SpsI icon={SpsIcon.FLAG} size={SpsIconSize.MEDIUM} className=\"d-block yellow300\" />\n </SpsSummaryListColumn>\n <SpsSummaryListColumn>\n <SpsI icon={SpsIcon.STATUS_ERROR} size={SpsIconSize.LARGE} className=\"align-middle mr-2 pr-1\" />\n <div className=\"d-inline-block align-middle\">\n <div className=\"fs-18\">\n <a href=\"#\">Heading</a>\n </div>\n <div className=\"fs-14\">Sub Heading</div>\n </div>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"13.5rem\">\n <SpsKeyValueList inline>\n <SpsKeyValueListItem itemKey={\"Title\"}>\n Sub copy goes here\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey={\"Long Title\"}>\n Sub copy goes here\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey={\"Title\"}>\n Sub copy goes here\n </SpsKeyValueListItem>\n </SpsKeyValueList>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"9rem\">\n <SpsKeyValueList>\n <SpsKeyValueListItem itemKey=\"Buying From\">\n 75 Companies\n <div className=\"font-weight-light\">38 of 75 Operational</div>\n </SpsKeyValueListItem>\n </SpsKeyValueList>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"3.6rem\" leaner>\n <SpsDropdown\n label=\"\"\n icon=\"ellipses\"\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")], [{ label: \"Option B\" }, () => console.log(\"Option B\")]]}\n />\n </SpsSummaryListColumn>\n </SpsSummaryListRow>\n <SpsSummaryListRow>\n <SpsSummaryListColumn width=\"2.8rem\" lean>\n <SpsI icon={SpsIcon.STAR} size={SpsIconSize.MEDIUM} className=\"d-block mb-2 yellow300\" />\n <SpsI icon={SpsIcon.FLAG} size={SpsIconSize.MEDIUM} className=\"d-block yellow300\" />\n </SpsSummaryListColumn>\n <SpsSummaryListColumn>\n <SpsI icon={SpsIcon.STATUS_ERROR} size={SpsIconSize.LARGE} className=\"align-middle mr-2 pr-1\" />\n <div className=\"d-inline-block align-middle\">\n <div className=\"fs-18\">\n <a href=\"#\">Heading</a>\n </div>\n <div className=\"fs-14\">Sub Heading</div>\n </div>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"13.5rem\">\n <SpsKeyValueList inline>\n <SpsKeyValueListItem itemKey=\"Title\">\n Sub copy goes here\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey=\"Long Title\">\n Sub copy goes here\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey=\"Title\">\n Sub copy goes here\n </SpsKeyValueListItem>\n </SpsKeyValueList>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"9rem\">\n <SpsKeyValueList>\n <SpsKeyValueListItem itemKey=\"Buying From\">\n 75 Companies\n <div className=\"font-weight-light\">38 of 75 Operational</div>\n </SpsKeyValueListItem>\n </SpsKeyValueList>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"3.6rem\" leaner>\n <SpsDropdown\n label=\"\"\n icon=\"ellipses\"\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")], [{ label: \"Option B\" }, () => console.log(\"Option B\")]]}\n />\n </SpsSummaryListColumn>\n </SpsSummaryListRow>\n </>"], ["\n <>\n <SpsSummaryListRow>\n <SpsSummaryListColumn width=\"2.8rem\" lean>\n <SpsI icon={SpsIcon.STAR} size={SpsIconSize.MEDIUM} className=\"d-block mb-2 yellow300\" />\n <SpsI icon={SpsIcon.FLAG} size={SpsIconSize.MEDIUM} className=\"d-block yellow300\" />\n </SpsSummaryListColumn>\n <SpsSummaryListColumn>\n <SpsI icon={SpsIcon.STATUS_ERROR} size={SpsIconSize.LARGE} className=\"align-middle mr-2 pr-1\" />\n <div className=\"d-inline-block align-middle\">\n <div className=\"fs-18\">\n <a href=\"#\">Heading</a>\n </div>\n <div className=\"fs-14\">Sub Heading</div>\n </div>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"13.5rem\">\n <SpsKeyValueList inline>\n <SpsKeyValueListItem itemKey={\"Title\"}>\n Sub copy goes here\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey={\"Long Title\"}>\n Sub copy goes here\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey={\"Title\"}>\n Sub copy goes here\n </SpsKeyValueListItem>\n </SpsKeyValueList>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"9rem\">\n <SpsKeyValueList>\n <SpsKeyValueListItem itemKey=\"Buying From\">\n 75 Companies\n <div className=\"font-weight-light\">38 of 75 Operational</div>\n </SpsKeyValueListItem>\n </SpsKeyValueList>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"3.6rem\" leaner>\n <SpsDropdown\n label=\"\"\n icon=\"ellipses\"\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")], [{ label: \"Option B\" }, () => console.log(\"Option B\")]]}\n />\n </SpsSummaryListColumn>\n </SpsSummaryListRow>\n <SpsSummaryListRow>\n <SpsSummaryListColumn width=\"2.8rem\" lean>\n <SpsI icon={SpsIcon.STAR} size={SpsIconSize.MEDIUM} className=\"d-block mb-2 yellow300\" />\n <SpsI icon={SpsIcon.FLAG} size={SpsIconSize.MEDIUM} className=\"d-block yellow300\" />\n </SpsSummaryListColumn>\n <SpsSummaryListColumn>\n <SpsI icon={SpsIcon.STATUS_ERROR} size={SpsIconSize.LARGE} className=\"align-middle mr-2 pr-1\" />\n <div className=\"d-inline-block align-middle\">\n <div className=\"fs-18\">\n <a href=\"#\">Heading</a>\n </div>\n <div className=\"fs-14\">Sub Heading</div>\n </div>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"13.5rem\">\n <SpsKeyValueList inline>\n <SpsKeyValueListItem itemKey=\"Title\">\n Sub copy goes here\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey=\"Long Title\">\n Sub copy goes here\n </SpsKeyValueListItem>\n <SpsKeyValueListItem itemKey=\"Title\">\n Sub copy goes here\n </SpsKeyValueListItem>\n </SpsKeyValueList>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"9rem\">\n <SpsKeyValueList>\n <SpsKeyValueListItem itemKey=\"Buying From\">\n 75 Companies\n <div className=\"font-weight-light\">38 of 75 Operational</div>\n </SpsKeyValueListItem>\n </SpsKeyValueList>\n </SpsSummaryListColumn>\n <SpsSummaryListColumn width=\"3.6rem\" leaner>\n <SpsDropdown\n label=\"\"\n icon=\"ellipses\"\n options={[[{ label: \"Option A\" }, () => console.log(\"Option A\")], [{ label: \"Option B\" }, () => console.log(\"Option B\")]]}\n />\n </SpsSummaryListColumn>\n </SpsSummaryListRow>\n </>"]))),
9120
9266
  },
9121
9267
  },
9122
9268
  },
@@ -9148,7 +9294,7 @@ var SpsSummaryListExamples = {
9148
9294
  },
9149
9295
  },
9150
9296
  };
9151
- var templateObject_1$c, templateObject_2$b, templateObject_3$9, templateObject_4$7, templateObject_5$2, templateObject_6$2, templateObject_7$2;
9297
+ var templateObject_1$d, templateObject_2$b, templateObject_3$9, templateObject_4$7, templateObject_5$2, templateObject_6$2, templateObject_7$2;
9152
9298
 
9153
9299
  var props = {
9154
9300
  tasks: 'ReactSpsTask[]',
@@ -9160,7 +9306,7 @@ var props = {
9160
9306
  onClearCompleted: '() => void',
9161
9307
  suppressTooltips: 'boolean',
9162
9308
  };
9163
- var propTypes$r = __assign(__assign({}, spsGlobalPropTypes), { tasks: PropTypes.arrayOf(PropTypes.any), taskQueuePosition: enumValue(dsShared.Position), notificationText: PropTypes.string, tooltipConfig: PropTypes.shape({
9309
+ var propTypes$u = __assign(__assign({}, spsGlobalPropTypes), { tasks: PropTypes.arrayOf(PropTypes.any), taskQueuePosition: enumValue(dsShared.Position), notificationText: PropTypes.string, tooltipConfig: PropTypes.shape({
9164
9310
  position: enumValue(dsShared.Position),
9165
9311
  kind: enumValue(dsShared.TooltipKind),
9166
9312
  }), onClose: fun(), onOpen: fun(), onClearCompleted: fun(), suppressTooltips: PropTypes.bool });
@@ -9314,7 +9460,7 @@ function SpsTaskQueue(_a) {
9314
9460
  }
9315
9461
  Object.assign(SpsTaskQueue, {
9316
9462
  props: props,
9317
- propTypes: propTypes$r,
9463
+ propTypes: propTypes$u,
9318
9464
  displayName: 'SpsTaskQueue',
9319
9465
  });
9320
9466
 
@@ -9324,7 +9470,7 @@ var SpsTaskQueueExamples = {
9324
9470
  description: '<p>Info about Task Queue</p>',
9325
9471
  examples: {
9326
9472
  inProgress: {
9327
- react: utils.code(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n function SpsTaskQueueInProgress() {\n const [tasks, setTasks] = React.useState([\n {\n status: SpsTaskStatus.IN_PROGRESS,\n unread: false,\n heading: \"Downloading 245 transactions\",\n subheading: \"processing\u2026\",\n actions: [\n {\n icon: SpsIcon.X,\n onClick: task => {\n console.log(\"cancel\", task);\n }\n }\n ]\n },\n {\n status: SpsTaskStatus.COMPLETED,\n unread: false,\n heading: \"Document Upload - 02/21/2021\",\n subheading: \"Lamps Plus | VY1X_Williams Sonoma Iventory Upload Spreadsheet (846).xls\",\n actions: [\n {\n icon: SpsIcon.X,\n onClick: task => {\n console.log(\"remove\", task);\n }\n }\n ]\n },\n {\n status: SpsTaskStatus.COMPLETED,\n unread: true,\n heading: \"Document Download - 02/21/2019\",\n subheading: \"245 transactions | Expires in 2 days\",\n actions: [\n {\n icon: SpsIcon.SEARCH,\n onClick: task => {\n console.log(\"view\", task);\n }\n },\n {\n icon: SpsIcon.DOWNLOAD_CLOUD,\n onClick: task => {\n console.log(\"download\", task);\n }\n }\n ]\n },\n {\n status: SpsTaskStatus.ERRORED,\n unread: true,\n heading: \"Data XREF Test.xls\",\n subheading: \"Failed | Reason it failed\u2026\",\n actions: [\n {\n icon: SpsIcon.REFRESH,\n onClick: task => {\n console.log(\"retry\", task);\n }\n }\n ]\n }\n ]);\n\n function handleOpen() {\n console.log(\"opened\");\n }\n\n function handleClose() {\n console.log(\"closed (we mark all tasks as read)\");\n setTasks(currentTasks => currentTasks.map(task => ({ ...task, unread: false })));\n }\n\n function handleClearCompleted() {\n setTasks(currentTasks =>\n currentTasks.filter(task => task.status === SpsTaskStatus.IN_PROGRESS)\n );\n }\n\n return (\n <SpsTaskQueue\n tasks={tasks}\n onOpen={handleOpen}\n onClose={handleClose}\n onClearCompleted={handleClearCompleted}\n />\n );\n }\n "], ["\n function SpsTaskQueueInProgress() {\n const [tasks, setTasks] = React.useState([\n {\n status: SpsTaskStatus.IN_PROGRESS,\n unread: false,\n heading: \"Downloading 245 transactions\",\n subheading: \"processing\u2026\",\n actions: [\n {\n icon: SpsIcon.X,\n onClick: task => {\n console.log(\"cancel\", task);\n }\n }\n ]\n },\n {\n status: SpsTaskStatus.COMPLETED,\n unread: false,\n heading: \"Document Upload - 02/21/2021\",\n subheading: \"Lamps Plus | VY1X_Williams Sonoma Iventory Upload Spreadsheet (846).xls\",\n actions: [\n {\n icon: SpsIcon.X,\n onClick: task => {\n console.log(\"remove\", task);\n }\n }\n ]\n },\n {\n status: SpsTaskStatus.COMPLETED,\n unread: true,\n heading: \"Document Download - 02/21/2019\",\n subheading: \"245 transactions | Expires in 2 days\",\n actions: [\n {\n icon: SpsIcon.SEARCH,\n onClick: task => {\n console.log(\"view\", task);\n }\n },\n {\n icon: SpsIcon.DOWNLOAD_CLOUD,\n onClick: task => {\n console.log(\"download\", task);\n }\n }\n ]\n },\n {\n status: SpsTaskStatus.ERRORED,\n unread: true,\n heading: \"Data XREF Test.xls\",\n subheading: \"Failed | Reason it failed\u2026\",\n actions: [\n {\n icon: SpsIcon.REFRESH,\n onClick: task => {\n console.log(\"retry\", task);\n }\n }\n ]\n }\n ]);\n\n function handleOpen() {\n console.log(\"opened\");\n }\n\n function handleClose() {\n console.log(\"closed (we mark all tasks as read)\");\n setTasks(currentTasks => currentTasks.map(task => ({ ...task, unread: false })));\n }\n\n function handleClearCompleted() {\n setTasks(currentTasks =>\n currentTasks.filter(task => task.status === SpsTaskStatus.IN_PROGRESS)\n );\n }\n\n return (\n <SpsTaskQueue\n tasks={tasks}\n onOpen={handleOpen}\n onClose={handleClose}\n onClearCompleted={handleClearCompleted}\n />\n );\n }\n "]))),
9473
+ react: utils.code(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\n function SpsTaskQueueInProgress() {\n const [tasks, setTasks] = React.useState([\n {\n status: SpsTaskStatus.IN_PROGRESS,\n unread: false,\n heading: \"Downloading 245 transactions\",\n subheading: \"processing\u2026\",\n actions: [\n {\n icon: SpsIcon.X,\n onClick: task => {\n console.log(\"cancel\", task);\n }\n }\n ]\n },\n {\n status: SpsTaskStatus.COMPLETED,\n unread: false,\n heading: \"Document Upload - 02/21/2021\",\n subheading: \"Lamps Plus | VY1X_Williams Sonoma Iventory Upload Spreadsheet (846).xls\",\n actions: [\n {\n icon: SpsIcon.X,\n onClick: task => {\n console.log(\"remove\", task);\n }\n }\n ]\n },\n {\n status: SpsTaskStatus.COMPLETED,\n unread: true,\n heading: \"Document Download - 02/21/2019\",\n subheading: \"245 transactions | Expires in 2 days\",\n actions: [\n {\n icon: SpsIcon.SEARCH,\n onClick: task => {\n console.log(\"view\", task);\n }\n },\n {\n icon: SpsIcon.DOWNLOAD_CLOUD,\n onClick: task => {\n console.log(\"download\", task);\n }\n }\n ]\n },\n {\n status: SpsTaskStatus.ERRORED,\n unread: true,\n heading: \"Data XREF Test.xls\",\n subheading: \"Failed | Reason it failed\u2026\",\n actions: [\n {\n icon: SpsIcon.REFRESH,\n onClick: task => {\n console.log(\"retry\", task);\n }\n }\n ]\n }\n ]);\n\n function handleOpen() {\n console.log(\"opened\");\n }\n\n function handleClose() {\n console.log(\"closed (we mark all tasks as read)\");\n setTasks(currentTasks => currentTasks.map(task => ({ ...task, unread: false })));\n }\n\n function handleClearCompleted() {\n setTasks(currentTasks =>\n currentTasks.filter(task => task.status === SpsTaskStatus.IN_PROGRESS)\n );\n }\n\n return (\n <SpsTaskQueue\n tasks={tasks}\n onOpen={handleOpen}\n onClose={handleClose}\n onClearCompleted={handleClearCompleted}\n />\n );\n }\n "], ["\n function SpsTaskQueueInProgress() {\n const [tasks, setTasks] = React.useState([\n {\n status: SpsTaskStatus.IN_PROGRESS,\n unread: false,\n heading: \"Downloading 245 transactions\",\n subheading: \"processing\u2026\",\n actions: [\n {\n icon: SpsIcon.X,\n onClick: task => {\n console.log(\"cancel\", task);\n }\n }\n ]\n },\n {\n status: SpsTaskStatus.COMPLETED,\n unread: false,\n heading: \"Document Upload - 02/21/2021\",\n subheading: \"Lamps Plus | VY1X_Williams Sonoma Iventory Upload Spreadsheet (846).xls\",\n actions: [\n {\n icon: SpsIcon.X,\n onClick: task => {\n console.log(\"remove\", task);\n }\n }\n ]\n },\n {\n status: SpsTaskStatus.COMPLETED,\n unread: true,\n heading: \"Document Download - 02/21/2019\",\n subheading: \"245 transactions | Expires in 2 days\",\n actions: [\n {\n icon: SpsIcon.SEARCH,\n onClick: task => {\n console.log(\"view\", task);\n }\n },\n {\n icon: SpsIcon.DOWNLOAD_CLOUD,\n onClick: task => {\n console.log(\"download\", task);\n }\n }\n ]\n },\n {\n status: SpsTaskStatus.ERRORED,\n unread: true,\n heading: \"Data XREF Test.xls\",\n subheading: \"Failed | Reason it failed\u2026\",\n actions: [\n {\n icon: SpsIcon.REFRESH,\n onClick: task => {\n console.log(\"retry\", task);\n }\n }\n ]\n }\n ]);\n\n function handleOpen() {\n console.log(\"opened\");\n }\n\n function handleClose() {\n console.log(\"closed (we mark all tasks as read)\");\n setTasks(currentTasks => currentTasks.map(task => ({ ...task, unread: false })));\n }\n\n function handleClearCompleted() {\n setTasks(currentTasks =>\n currentTasks.filter(task => task.status === SpsTaskStatus.IN_PROGRESS)\n );\n }\n\n return (\n <SpsTaskQueue\n tasks={tasks}\n onOpen={handleOpen}\n onClose={handleClose}\n onClearCompleted={handleClearCompleted}\n />\n );\n }\n "]))),
9328
9474
  },
9329
9475
  },
9330
9476
  },
@@ -9356,9 +9502,9 @@ var SpsTaskQueueExamples = {
9356
9502
  },
9357
9503
  },
9358
9504
  };
9359
- var templateObject_1$b, templateObject_2$a, templateObject_3$8, templateObject_4$6;
9505
+ var templateObject_1$c, templateObject_2$a, templateObject_3$8, templateObject_4$6;
9360
9506
 
9361
- var propsDoc$o = {
9507
+ var propsDoc$r = {
9362
9508
  disabled: 'boolean',
9363
9509
  formMeta: 'SpsFormFieldMeta<string>',
9364
9510
  icon: 'SpsIcon',
@@ -9367,7 +9513,7 @@ var propsDoc$o = {
9367
9513
  placeholder: 'string',
9368
9514
  value: 'string',
9369
9515
  };
9370
- var propTypes$q = __assign(__assign({}, spsGlobalPropTypes), { disabled: PropTypes.bool, formControl: impl(), formMeta: impl(), icon: enumValue(dsShared.SpsIcon), name: PropTypes.string, onChange: fun(), placeholder: PropTypes.string, value: PropTypes.string });
9516
+ var propTypes$t = __assign(__assign({}, spsGlobalPropTypes), { disabled: PropTypes.bool, formControl: impl(), formMeta: impl(), icon: enumValue(dsShared.SpsIcon), name: PropTypes.string, onChange: fun(), placeholder: PropTypes.string, value: PropTypes.string });
9371
9517
  var SpsTextInput = React__namespace.forwardRef(function (_a, ref) {
9372
9518
  var className = _a.className, _b = _a.disabled, disabled = _b === void 0 ? false : _b, formControl = _a.formControl, formMeta = _a.formMeta, icon = _a.icon, id = _a.id, name = _a.name, onChange = _a.onChange, placeholder = _a.placeholder, testId = _a["data-testid"], title = _a.title, unsafelyReplaceClassName = _a.unsafelyReplaceClassName, _c = _a.value, value = _c === void 0 ? '' : _c, rest = __rest(_a, ["className", "disabled", "formControl", "formMeta", "icon", "id", "name", "onChange", "placeholder", 'data-testid', "title", "unsafelyReplaceClassName", "value"]);
9373
9519
  var meta = formMeta || formControl;
@@ -9397,8 +9543,8 @@ var SpsTextInput = React__namespace.forwardRef(function (_a, ref) {
9397
9543
  value && !disabled && (React__namespace.createElement("i", { className: "sps-icon sps-icon-x-circle sps-form-control__clear-btn", onClick: clear })))));
9398
9544
  });
9399
9545
  Object.assign(SpsTextInput, {
9400
- props: propsDoc$o,
9401
- propTypes: propTypes$q,
9546
+ props: propsDoc$r,
9547
+ propTypes: propTypes$t,
9402
9548
  displayName: 'SpsTextInput',
9403
9549
  });
9404
9550
 
@@ -9408,7 +9554,7 @@ var SpsTextInputExamples = {
9408
9554
  description: 'info about standard text inputs',
9409
9555
  examples: {
9410
9556
  standard: {
9411
- react: utils.code(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({ foo: \"bar\" });\n\n return <>\n <SpsLabel for={formMeta.fields.foo}>Foo</SpsLabel>\n <SpsTextInput\n value={formValue.foo}\n formMeta={formMeta.fields.foo}\n />\n </>;\n }\n "], ["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({ foo: \"bar\" });\n\n return <>\n <SpsLabel for={formMeta.fields.foo}>Foo</SpsLabel>\n <SpsTextInput\n value={formValue.foo}\n formMeta={formMeta.fields.foo}\n />\n </>;\n }\n "]))),
9557
+ react: utils.code(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({ foo: \"bar\" });\n\n return <>\n <SpsLabel for={formMeta.fields.foo}>Foo</SpsLabel>\n <SpsTextInput\n value={formValue.foo}\n formMeta={formMeta.fields.foo}\n />\n </>;\n }\n "], ["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({ foo: \"bar\" });\n\n return <>\n <SpsLabel for={formMeta.fields.foo}>Foo</SpsLabel>\n <SpsTextInput\n value={formValue.foo}\n formMeta={formMeta.fields.foo}\n />\n </>;\n }\n "]))),
9412
9558
  },
9413
9559
  },
9414
9560
  },
@@ -9440,9 +9586,9 @@ var SpsTextInputExamples = {
9440
9586
  },
9441
9587
  },
9442
9588
  };
9443
- var templateObject_1$a, templateObject_2$9, templateObject_3$7, templateObject_4$5;
9589
+ var templateObject_1$b, templateObject_2$9, templateObject_3$7, templateObject_4$5;
9444
9590
 
9445
- var propsDoc$n = {
9591
+ var propsDoc$q = {
9446
9592
  disabled: 'boolean',
9447
9593
  formMeta: 'SpsFormFieldMeta<string>',
9448
9594
  name: 'string',
@@ -9451,7 +9597,7 @@ var propsDoc$n = {
9451
9597
  rows: 'number',
9452
9598
  value: 'string',
9453
9599
  };
9454
- var propTypes$p = __assign(__assign({}, spsGlobalPropTypes), { disabled: PropTypes.bool, formControl: impl(), formMeta: impl(), name: PropTypes.string, onChange: fun(), placeholder: PropTypes.string, ref: ref(), rows: PropTypes.number, value: PropTypes.string });
9600
+ var propTypes$s = __assign(__assign({}, spsGlobalPropTypes), { disabled: PropTypes.bool, formControl: impl(), formMeta: impl(), name: PropTypes.string, onChange: fun(), placeholder: PropTypes.string, ref: ref(), rows: PropTypes.number, value: PropTypes.string });
9455
9601
  function SpsTextarea(_a) {
9456
9602
  var className = _a.className, _b = _a.disabled, disabled = _b === void 0 ? false : _b, formControl = _a.formControl, formMeta = _a.formMeta, id = _a.id, name = _a.name, onChange = _a.onChange, _c = _a.placeholder, placeholder = _c === void 0 ? '' : _c, ref = _a.ref, _d = _a.rows, rows = _d === void 0 ? 2 : _d, testId = _a["data-testid"], unsafelyReplaceClassName = _a.unsafelyReplaceClassName, _e = _a.value, value = _e === void 0 ? '' : _e, rest = __rest(_a, ["className", "disabled", "formControl", "formMeta", "id", "name", "onChange", "placeholder", "ref", "rows", 'data-testid', "unsafelyReplaceClassName", "value"]);
9457
9603
  var meta = formMeta || formControl;
@@ -9480,8 +9626,8 @@ function SpsTextarea(_a) {
9480
9626
  value && !disabled && (React__namespace.createElement("i", { className: "sps-icon sps-icon-x-circle sps-form-control__clear-btn", onClick: clear })))));
9481
9627
  }
9482
9628
  Object.assign(SpsTextarea, {
9483
- props: propsDoc$n,
9484
- propTypes: propTypes$p,
9629
+ props: propsDoc$q,
9630
+ propTypes: propTypes$s,
9485
9631
  displayName: 'SpsTextarea',
9486
9632
  });
9487
9633
 
@@ -9491,7 +9637,7 @@ var SpsTextareaExamples = {
9491
9637
  description: 'info about basic text areas',
9492
9638
  examples: {
9493
9639
  basic: {
9494
- react: utils.code(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n function DemoComponent() {\n function numLinesValidator(n) {\n return function(value) {\n const lines = typeof value === \"string\" ? value.split(\"\\n\").length : 0;\n if (lines !== n) {\n return {\n numLines: {\n actualLines: lines,\n requiredLines: n\n }\n };\n }\n return null;\n };\n }\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n haiku: \"\"\n }, {\n \"haiku\": [numLinesValidator(3)]\n });\n\n return <>\n <SpsLabel for={formMeta.fields.haiku}\n help=\"A haiku is a three-line poem of 5, 7, and 5 syllables respectively.\"\n errors={() =>\n formMeta.fields.haiku.hasError(\"numLines\") && (\n <>\n You need {formMeta.fields.haiku.errors[\"numLines\"].requiredLines} lines,\n but you've only written {formMeta.fields.haiku.errors[\"numLines\"].actualLines} lines!\n </>\n )\n }>\n Haiku\n </SpsLabel>\n <SpsTextarea placeholder=\"Write a haiku\" rows={3}\n formMeta={formMeta.fields.haiku}\n value={formValue.haiku}\n ></SpsTextarea>\n </>\n }\n "], ["\n function DemoComponent() {\n function numLinesValidator(n) {\n return function(value) {\n const lines = typeof value === \"string\" ? value.split(\"\\\\n\").length : 0;\n if (lines !== n) {\n return {\n numLines: {\n actualLines: lines,\n requiredLines: n\n }\n };\n }\n return null;\n };\n }\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n haiku: \"\"\n }, {\n \"haiku\": [numLinesValidator(3)]\n });\n\n return <>\n <SpsLabel for={formMeta.fields.haiku}\n help=\"A haiku is a three-line poem of 5, 7, and 5 syllables respectively.\"\n errors={() =>\n formMeta.fields.haiku.hasError(\"numLines\") && (\n <>\n You need {formMeta.fields.haiku.errors[\"numLines\"].requiredLines} lines,\n but you've only written {formMeta.fields.haiku.errors[\"numLines\"].actualLines} lines!\n </>\n )\n }>\n Haiku\n </SpsLabel>\n <SpsTextarea placeholder=\"Write a haiku\" rows={3}\n formMeta={formMeta.fields.haiku}\n value={formValue.haiku}\n ></SpsTextarea>\n </>\n }\n "]))),
9640
+ react: utils.code(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\n function DemoComponent() {\n function numLinesValidator(n) {\n return function(value) {\n const lines = typeof value === \"string\" ? value.split(\"\\n\").length : 0;\n if (lines !== n) {\n return {\n numLines: {\n actualLines: lines,\n requiredLines: n\n }\n };\n }\n return null;\n };\n }\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n haiku: \"\"\n }, {\n \"haiku\": [numLinesValidator(3)]\n });\n\n return <>\n <SpsLabel for={formMeta.fields.haiku}\n help=\"A haiku is a three-line poem of 5, 7, and 5 syllables respectively.\"\n errors={() =>\n formMeta.fields.haiku.hasError(\"numLines\") && (\n <>\n You need {formMeta.fields.haiku.errors[\"numLines\"].requiredLines} lines,\n but you've only written {formMeta.fields.haiku.errors[\"numLines\"].actualLines} lines!\n </>\n )\n }>\n Haiku\n </SpsLabel>\n <SpsTextarea placeholder=\"Write a haiku\" rows={3}\n formMeta={formMeta.fields.haiku}\n value={formValue.haiku}\n ></SpsTextarea>\n </>\n }\n "], ["\n function DemoComponent() {\n function numLinesValidator(n) {\n return function(value) {\n const lines = typeof value === \"string\" ? value.split(\"\\\\n\").length : 0;\n if (lines !== n) {\n return {\n numLines: {\n actualLines: lines,\n requiredLines: n\n }\n };\n }\n return null;\n };\n }\n\n const { formValue, formMeta, updateForm } = useSpsForm({\n haiku: \"\"\n }, {\n \"haiku\": [numLinesValidator(3)]\n });\n\n return <>\n <SpsLabel for={formMeta.fields.haiku}\n help=\"A haiku is a three-line poem of 5, 7, and 5 syllables respectively.\"\n errors={() =>\n formMeta.fields.haiku.hasError(\"numLines\") && (\n <>\n You need {formMeta.fields.haiku.errors[\"numLines\"].requiredLines} lines,\n but you've only written {formMeta.fields.haiku.errors[\"numLines\"].actualLines} lines!\n </>\n )\n }>\n Haiku\n </SpsLabel>\n <SpsTextarea placeholder=\"Write a haiku\" rows={3}\n formMeta={formMeta.fields.haiku}\n value={formValue.haiku}\n ></SpsTextarea>\n </>\n }\n "]))),
9495
9641
  },
9496
9642
  },
9497
9643
  },
@@ -9514,16 +9660,16 @@ var SpsTextareaExamples = {
9514
9660
  },
9515
9661
  },
9516
9662
  };
9517
- var templateObject_1$9, templateObject_2$8, templateObject_3$6;
9663
+ var templateObject_1$a, templateObject_2$8, templateObject_3$6;
9518
9664
 
9519
- var propsDoc$m = {
9665
+ var propsDoc$p = {
9520
9666
  href: 'string',
9521
9667
  icon: { type: 'ReactNodeOrRenderFn', required: 'true' },
9522
9668
  error: 'boolean',
9523
9669
  title: { type: 'string', required: 'true' },
9524
9670
  warning: 'boolean',
9525
9671
  };
9526
- var propTypes$o = __assign(__assign({}, spsGlobalPropTypes), { href: PropTypes.string, target: PropTypes.string, icon: nodeOrRenderFn.isRequired, error: PropTypes.bool, title: PropTypes.string.isRequired, warning: PropTypes.bool });
9672
+ var propTypes$r = __assign(__assign({}, spsGlobalPropTypes), { href: PropTypes.string, target: PropTypes.string, icon: nodeOrRenderFn.isRequired, error: PropTypes.bool, title: PropTypes.string.isRequired, warning: PropTypes.bool });
9527
9673
  function SpsTile(props) {
9528
9674
  var className = props.className, href = props.href, target = props.target, icon = props.icon, _a = props.error, error = _a === void 0 ? false : _a, title = props.title, unsafelyReplaceClassName = props.unsafelyReplaceClassName, _b = props.warning, warning = _b === void 0 ? false : _b, rest = __rest(props, ["className", "href", "target", "icon", "error", "title", "unsafelyReplaceClassName", "warning"]);
9529
9675
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-tile', className, error && 'sps-tile--error', warning && 'sps-tile--warning');
@@ -9545,21 +9691,21 @@ function SpsTile(props) {
9545
9691
  target === '_blank' && (React__namespace.createElement("i", { className: clsx__default['default']('sps-icon', 'sps-icon-tabs') }))))))));
9546
9692
  }
9547
9693
  Object.assign(SpsTile, {
9548
- props: propsDoc$m,
9549
- propTypes: propTypes$o,
9694
+ props: propsDoc$p,
9695
+ propTypes: propTypes$r,
9550
9696
  displayName: 'SpsTile',
9551
9697
  });
9552
9698
 
9553
- var propsDoc$l = {};
9554
- var propTypes$n = __assign({}, spsGlobalPropTypes);
9699
+ var propsDoc$o = {};
9700
+ var propTypes$q = __assign({}, spsGlobalPropTypes);
9555
9701
  function SpsTileList(props) {
9556
9702
  var children = props.children, unsafelyReplaceClassName = props.unsafelyReplaceClassName; props["data-testid"]; var className = props.className, rest = __rest(props, ["children", "unsafelyReplaceClassName", 'data-testid', "className"]);
9557
9703
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-tile-list', className || 'sfg-row');
9558
9704
  return (React__namespace.createElement("div", __assign({ className: classes }, rest), children));
9559
9705
  }
9560
9706
  Object.assign(SpsTileList, {
9561
- props: propsDoc$l,
9562
- propTypes: propTypes$n,
9707
+ props: propsDoc$o,
9708
+ propTypes: propTypes$q,
9563
9709
  displayName: 'SpsTileList',
9564
9710
  });
9565
9711
 
@@ -9568,7 +9714,7 @@ var SpsTileListExamples = {
9568
9714
  label: 'Basic',
9569
9715
  examples: {
9570
9716
  basic: {
9571
- react: utils.code(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n function Component() {\n const apps = [\n {\n name: \"App Manager\",\n warning: false,\n error: false,\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/generic/generic.svg\",\n },\n {\n name: \"Assortment\",\n warning: false,\n error: false,\n href: \"https://www.google.com\",\n target: \"_blank\",\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/barcode/barcode.svg\",\n },\n {\n name: \"Community\",\n warning: false,\n error: false,\n onClick: () => console.log(\"Community\"),\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/community/community.svg\",\n },\n {\n name: \"Design System\",\n warning: false,\n error: true,\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/design-system/design-system.svg\",\n },\n {\n name: \"Nexus\",\n warning: false,\n error: false,\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/nexus/nexus.svg\",\n },\n {\n name: \"Testing & Certification\",\n warning: true,\n error: false,\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/checkmark/checkmark.svg\",\n },\n ];\n\n return (\n <>\n <SpsTileList>\n {apps.map((app, index) => {\n return (\n <SpsTile\n key={index}\n title={app.name}\n warning={app.warning}\n error={app.error}\n href={app.href}\n target={app.target}\n icon={app.icon}\n onClick={app.onClick}\n />\n )\n })}\n </SpsTileList>\n </>\n )\n }\n "], ["\n function Component() {\n const apps = [\n {\n name: \"App Manager\",\n warning: false,\n error: false,\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/generic/generic.svg\",\n },\n {\n name: \"Assortment\",\n warning: false,\n error: false,\n href: \"https://www.google.com\",\n target: \"_blank\",\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/barcode/barcode.svg\",\n },\n {\n name: \"Community\",\n warning: false,\n error: false,\n onClick: () => console.log(\"Community\"),\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/community/community.svg\",\n },\n {\n name: \"Design System\",\n warning: false,\n error: true,\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/design-system/design-system.svg\",\n },\n {\n name: \"Nexus\",\n warning: false,\n error: false,\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/nexus/nexus.svg\",\n },\n {\n name: \"Testing & Certification\",\n warning: true,\n error: false,\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/checkmark/checkmark.svg\",\n },\n ];\n\n return (\n <>\n <SpsTileList>\n {apps.map((app, index) => {\n return (\n <SpsTile\n key={index}\n title={app.name}\n warning={app.warning}\n error={app.error}\n href={app.href}\n target={app.target}\n icon={app.icon}\n onClick={app.onClick}\n />\n )\n })}\n </SpsTileList>\n </>\n )\n }\n "]))),
9717
+ react: utils.code(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n function Component() {\n const apps = [\n {\n name: \"App Manager\",\n warning: false,\n error: false,\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/generic/generic.svg\",\n },\n {\n name: \"Assortment\",\n warning: false,\n error: false,\n href: \"https://www.google.com\",\n target: \"_blank\",\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/barcode/barcode.svg\",\n },\n {\n name: \"Community\",\n warning: false,\n error: false,\n onClick: () => console.log(\"Community\"),\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/community/community.svg\",\n },\n {\n name: \"Design System\",\n warning: false,\n error: true,\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/design-system/design-system.svg\",\n },\n {\n name: \"Nexus\",\n warning: false,\n error: false,\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/nexus/nexus.svg\",\n },\n {\n name: \"Testing & Certification\",\n warning: true,\n error: false,\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/checkmark/checkmark.svg\",\n },\n ];\n\n return (\n <>\n <SpsTileList>\n {apps.map((app, index) => {\n return (\n <SpsTile\n key={index}\n title={app.name}\n warning={app.warning}\n error={app.error}\n href={app.href}\n target={app.target}\n icon={app.icon}\n onClick={app.onClick}\n />\n )\n })}\n </SpsTileList>\n </>\n )\n }\n "], ["\n function Component() {\n const apps = [\n {\n name: \"App Manager\",\n warning: false,\n error: false,\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/generic/generic.svg\",\n },\n {\n name: \"Assortment\",\n warning: false,\n error: false,\n href: \"https://www.google.com\",\n target: \"_blank\",\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/barcode/barcode.svg\",\n },\n {\n name: \"Community\",\n warning: false,\n error: false,\n onClick: () => console.log(\"Community\"),\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/community/community.svg\",\n },\n {\n name: \"Design System\",\n warning: false,\n error: true,\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/design-system/design-system.svg\",\n },\n {\n name: \"Nexus\",\n warning: false,\n error: false,\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/nexus/nexus.svg\",\n },\n {\n name: \"Testing & Certification\",\n warning: true,\n error: false,\n icon: \"https://cdn.dev.spsc.io/web/framework/assets/21.05.01/icons/checkmark/checkmark.svg\",\n },\n ];\n\n return (\n <>\n <SpsTileList>\n {apps.map((app, index) => {\n return (\n <SpsTile\n key={index}\n title={app.name}\n warning={app.warning}\n error={app.error}\n href={app.href}\n target={app.target}\n icon={app.icon}\n onClick={app.onClick}\n />\n )\n })}\n </SpsTileList>\n </>\n )\n }\n "]))),
9572
9718
  },
9573
9719
  },
9574
9720
  },
@@ -9592,9 +9738,9 @@ var SpsTileListExamples = {
9592
9738
  },
9593
9739
  },
9594
9740
  };
9595
- var templateObject_1$8, templateObject_2$7, templateObject_3$5, templateObject_4$4;
9741
+ var templateObject_1$9, templateObject_2$7, templateObject_3$5, templateObject_4$4;
9596
9742
 
9597
- var propsDoc$k = {
9743
+ var propsDoc$n = {
9598
9744
  active: 'boolean',
9599
9745
  activeDescription: { type: 'string', deprecated: true },
9600
9746
  activeLabel: { type: 'string', deprecated: true },
@@ -9607,10 +9753,10 @@ var propsDoc$k = {
9607
9753
  large: 'boolean',
9608
9754
  onChange: '(isActive: boolean) => void',
9609
9755
  };
9610
- var propTypes$m = __assign(__assign({}, spsGlobalPropTypes), { active: PropTypes.bool, activeDescription: deprecated(PropTypes.string), activeLabel: deprecated(PropTypes.string), description: PropTypes.string, disabled: PropTypes.bool, formControl: impl(), formMeta: impl(), id: PropTypes.string, inactiveDescription: deprecated(PropTypes.string), inactiveLabel: deprecated(PropTypes.string), label: PropTypes.string, large: PropTypes.bool, onChange: fun(), ref: ref() });
9756
+ var propTypes$p = __assign(__assign({}, spsGlobalPropTypes), { active: PropTypes.bool, activeDescription: deprecated(PropTypes.string), activeLabel: deprecated(PropTypes.string), description: PropTypes.string, disabled: PropTypes.bool, formControl: impl(), formMeta: impl(), id: PropTypes.string, inactiveDescription: deprecated(PropTypes.string), inactiveLabel: deprecated(PropTypes.string), label: PropTypes.string, large: PropTypes.bool, onChange: fun(), ref: ref() });
9611
9757
  function SpsToggle(props) {
9612
9758
  var activeProp = props.active, activeDescription = props.activeDescription, activeLabel = props.activeLabel, className = props.className, _a = props.description, description = _a === void 0 ? activeDescription : _a, disabled = props.disabled, formControl = props.formControl, formMeta = props.formMeta, id = props.id; props.inactiveDescription; props.inactiveLabel; var _b = props.label, label = _b === void 0 ? activeLabel : _b, large = props.large, onChange = props.onChange, ref = props.ref, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["active", "activeDescription", "activeLabel", "className", "description", "disabled", "formControl", "formMeta", "id", "inactiveDescription", "inactiveLabel", "label", "large", "onChange", "ref", 'data-testid', "unsafelyReplaceClassName"]);
9613
- useCheckDeprecatedProps('SpsToggle', propsDoc$k, props);
9759
+ useCheckDeprecatedProps('SpsToggle', propsDoc$n, props);
9614
9760
  var meta = formMeta || formControl;
9615
9761
  var _c = __read(React__namespace.useState(activeProp), 2), active = _c[0], setActive = _c[1];
9616
9762
  var _d = useFormControlId(id, meta), wrapperId = _d.wrapperId, controlId = _d.controlId;
@@ -9640,8 +9786,8 @@ function SpsToggle(props) {
9640
9786
  && (React__namespace.createElement("span", { className: "sps-toggle__description", id: descriptionID }, description)))));
9641
9787
  }
9642
9788
  Object.assign(SpsToggle, {
9643
- props: propsDoc$k,
9644
- propTypes: propTypes$m,
9789
+ props: propsDoc$n,
9790
+ propTypes: propTypes$p,
9645
9791
  displayName: 'SpsToggle',
9646
9792
  });
9647
9793
 
@@ -9650,7 +9796,7 @@ var SpsToggleExamples = {
9650
9796
  label: 'Small',
9651
9797
  examples: {
9652
9798
  a_small: {
9653
- react: utils.code(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n toggle: false\n });\n\n return <SpsToggle formMeta={formMeta.fields.toggle}\n active={formValue.toggle}\n label=\"Main Label\"\n description=\"Extra descriptive text\"\n />;\n }\n "], ["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n toggle: false\n });\n\n return <SpsToggle formMeta={formMeta.fields.toggle}\n active={formValue.toggle}\n label=\"Main Label\"\n description=\"Extra descriptive text\"\n />;\n }\n "]))),
9799
+ react: utils.code(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n toggle: false\n });\n\n return <SpsToggle formMeta={formMeta.fields.toggle}\n active={formValue.toggle}\n label=\"Main Label\"\n description=\"Extra descriptive text\"\n />;\n }\n "], ["\n function DemoComponent() {\n const { formValue, formMeta, updateForm } = useSpsForm({\n toggle: false\n });\n\n return <SpsToggle formMeta={formMeta.fields.toggle}\n active={formValue.toggle}\n label=\"Main Label\"\n description=\"Extra descriptive text\"\n />;\n }\n "]))),
9654
9800
  },
9655
9801
  b_changeHandler: {
9656
9802
  description: 'With UseState',
@@ -9675,7 +9821,7 @@ var SpsToggleExamples = {
9675
9821
  },
9676
9822
  },
9677
9823
  };
9678
- var templateObject_1$7, templateObject_2$6, templateObject_3$4, templateObject_4$3;
9824
+ var templateObject_1$8, templateObject_2$6, templateObject_3$4, templateObject_4$3;
9679
9825
 
9680
9826
  var SpsTooltipExamples = {
9681
9827
  basic: {
@@ -9683,7 +9829,7 @@ var SpsTooltipExamples = {
9683
9829
  description: 'Info about basic usage of tooltip',
9684
9830
  examples: {
9685
9831
  basic: {
9686
- description: utils.code(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n <p>There are two ways to tell the tooltip what to attach to. The first is to\n pass in a ref.</p>\n "], ["\n <p>There are two ways to tell the tooltip what to attach to. The first is to\n pass in a ref.</p>\n "]))),
9832
+ description: utils.code(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\n <p>There are two ways to tell the tooltip what to attach to. The first is to\n pass in a ref.</p>\n "], ["\n <p>There are two ways to tell the tooltip what to attach to. The first is to\n pass in a ref.</p>\n "]))),
9687
9833
  react: utils.code(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n function Component() {\n const target = React.useRef(null);\n\n return (\n <div>\n <div className=\"bg-gray200 text-center p-2\" ref={target}>\n target\n </div>\n <SpsTooltip for={target} title=\"Tooltip Title\">\n Tooltip content\n </SpsTooltip>\n </div>\n );\n }\n "], ["\n function Component() {\n const target = React.useRef(null);\n\n return (\n <div>\n <div className=\"bg-gray200 text-center p-2\" ref={target}>\n target\n </div>\n <SpsTooltip for={target} title=\"Tooltip Title\">\n Tooltip content\n </SpsTooltip>\n </div>\n );\n }\n "]))),
9688
9834
  },
9689
9835
  withElementId: {
@@ -9781,13 +9927,13 @@ var SpsTooltipExamples = {
9781
9927
  },
9782
9928
  },
9783
9929
  };
9784
- var templateObject_1$6, templateObject_2$5, templateObject_3$3, templateObject_4$2, templateObject_5$1, templateObject_6$1, templateObject_7$1, templateObject_8$1, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25;
9930
+ var templateObject_1$7, templateObject_2$5, templateObject_3$3, templateObject_4$2, templateObject_5$1, templateObject_6$1, templateObject_7$1, templateObject_8$1, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25;
9785
9931
 
9786
- var propsDoc$j = {
9932
+ var propsDoc$m = {
9787
9933
  heading: 'string',
9788
9934
  icon: 'SpsIcon',
9789
9935
  };
9790
- var propTypes$l = __assign(__assign({}, spsGlobalPropTypes), { heading: PropTypes.string, icon: enumValue(dsShared.SpsIcon) });
9936
+ var propTypes$o = __assign(__assign({}, spsGlobalPropTypes), { heading: PropTypes.string, icon: enumValue(dsShared.SpsIcon) });
9791
9937
  function SpsWorkflow(props) {
9792
9938
  var children = props.children, className = props.className, icon = props.icon, title = props.title, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "icon", "title", 'data-testid', "unsafelyReplaceClassName"]);
9793
9939
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-workflow', className);
@@ -9800,24 +9946,24 @@ function SpsWorkflow(props) {
9800
9946
  children));
9801
9947
  }
9802
9948
  Object.assign(SpsWorkflow, {
9803
- props: propsDoc$j,
9804
- propTypes: propTypes$l,
9949
+ props: propsDoc$m,
9950
+ propTypes: propTypes$o,
9805
9951
  displayName: 'SpsWorkflow',
9806
9952
  });
9807
9953
  function SpsWf(props) {
9808
9954
  return SpsWorkflow(props);
9809
9955
  }
9810
9956
  Object.assign(SpsWf, {
9811
- props: propsDoc$j,
9812
- propTypes: propTypes$l,
9957
+ props: propsDoc$m,
9958
+ propTypes: propTypes$o,
9813
9959
  displayName: 'SpsWf',
9814
9960
  });
9815
9961
 
9816
- var propsDoc$i = {
9962
+ var propsDoc$l = {
9817
9963
  size: 'RingSize',
9818
9964
  progress: 'number',
9819
9965
  };
9820
- var propTypes$k = __assign(__assign({}, spsGlobalPropTypes), { progress: PropTypes.number, size: enumValue(dsShared.RingSize) });
9966
+ var propTypes$n = __assign(__assign({}, spsGlobalPropTypes), { progress: PropTypes.number, size: enumValue(dsShared.RingSize) });
9821
9967
  function SpsProgressRing(_a) {
9822
9968
  var _b = _a.size, size = _b === void 0 ? dsShared.RingSize.SMALL : _b, _c = _a.progress, progress = _c === void 0 ? 0 : _c;
9823
9969
  var stroke = 4;
@@ -9830,15 +9976,15 @@ function SpsProgressRing(_a) {
9830
9976
  React__namespace.createElement("circle", { stroke: dsColors.colors.purple200, fill: "transparent", strokeWidth: stroke, strokeDasharray: circumference + " " + circumference, style: { strokeDashoffset: strokeDashoffset }, r: normalizedRadius, cx: size, cy: size }))));
9831
9977
  }
9832
9978
  Object.assign(SpsProgressRing, {
9833
- props: propsDoc$i,
9834
- propTypes: propTypes$k,
9979
+ props: propsDoc$l,
9980
+ propTypes: propTypes$n,
9835
9981
  displayName: 'SpsProgressRing',
9836
9982
  });
9837
9983
 
9838
- var propsDoc$h = {
9984
+ var propsDoc$k = {
9839
9985
  phases: 'WizardPhase[]',
9840
9986
  };
9841
- var propTypes$j = __assign(__assign({}, spsGlobalPropTypes), { phases: PropTypes.arrayOf(impl()) });
9987
+ var propTypes$m = __assign(__assign({}, spsGlobalPropTypes), { phases: PropTypes.arrayOf(impl()) });
9842
9988
  var CSS_BLOCK$2 = 'sps-wizard-sidebar';
9843
9989
  function SpsWizardSidebar(_a) {
9844
9990
  var className = _a.className, phases = _a.phases;
@@ -9857,17 +10003,17 @@ function SpsWizardSidebar(_a) {
9857
10003
  })));
9858
10004
  }
9859
10005
  Object.assign(SpsWizardSidebar, {
9860
- props: propsDoc$h,
9861
- propTypes: propTypes$j,
10006
+ props: propsDoc$k,
10007
+ propTypes: propTypes$m,
9862
10008
  displayName: 'SpsWizardSidebar',
9863
10009
  });
9864
10010
 
9865
- var propsDoc$g = {
10011
+ var propsDoc$j = {
9866
10012
  display: 'string',
9867
10013
  condition: 'WizardSubstepConditions',
9868
10014
  orderPosition: 'string | number',
9869
10015
  };
9870
- var propTypes$i = __assign(__assign({}, spsGlobalPropTypes), { condition: enumValue(dsShared.WizardSubstepConditions).isRequired, display: PropTypes.string.isRequired, orderPosition: PropTypes.oneOfType([
10016
+ var propTypes$l = __assign(__assign({}, spsGlobalPropTypes), { condition: enumValue(dsShared.WizardSubstepConditions).isRequired, display: PropTypes.string.isRequired, orderPosition: PropTypes.oneOfType([
9871
10017
  PropTypes.string,
9872
10018
  PropTypes.number,
9873
10019
  ]).isRequired });
@@ -9880,8 +10026,8 @@ function SpsWizardSubstep(props) {
9880
10026
  React__namespace.createElement("div", { className: clsx__default['default']('sps-wizard-substep__body', "sps-wizard-substep__body--" + condition) }, children)));
9881
10027
  }
9882
10028
  Object.assign(SpsWizardSubstep, {
9883
- props: propsDoc$g,
9884
- propTypes: propTypes$i,
10029
+ props: propsDoc$j,
10030
+ propTypes: propTypes$l,
9885
10031
  displayName: 'SpsWizardSubstep',
9886
10032
  });
9887
10033
 
@@ -9890,7 +10036,7 @@ var SpsWizardExamples = {
9890
10036
  label: 'Substep',
9891
10037
  examples: {
9892
10038
  completed: {
9893
- jsx: utils.code(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n <SpsWizardSubstep condition={WizardSubstepConditions.COMPLETED} orderPosition=\"1\" display=\"Payment Options\">\n <div>Put a Route here</div>\n </SpsWizardSubstep>\n "], ["\n <SpsWizardSubstep condition={WizardSubstepConditions.COMPLETED} orderPosition=\"1\" display=\"Payment Options\">\n <div>Put a Route here</div>\n </SpsWizardSubstep>\n "]))),
10039
+ jsx: utils.code(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\n <SpsWizardSubstep condition={WizardSubstepConditions.COMPLETED} orderPosition=\"1\" display=\"Payment Options\">\n <div>Put a Route here</div>\n </SpsWizardSubstep>\n "], ["\n <SpsWizardSubstep condition={WizardSubstepConditions.COMPLETED} orderPosition=\"1\" display=\"Payment Options\">\n <div>Put a Route here</div>\n </SpsWizardSubstep>\n "]))),
9894
10040
  },
9895
10041
  active: {
9896
10042
  jsx: utils.code(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n <SpsWizardSubstep condition={WizardSubstepConditions.ACTIVE} orderPosition=\"2\" display=\"Payment Options\">\n <div>Put a Route here</div>\n </SpsWizardSubstep>\n "], ["\n <SpsWizardSubstep condition={WizardSubstepConditions.ACTIVE} orderPosition=\"2\" display=\"Payment Options\">\n <div>Put a Route here</div>\n </SpsWizardSubstep>\n "]))),
@@ -9909,33 +10055,33 @@ var SpsWizardExamples = {
9909
10055
  },
9910
10056
  },
9911
10057
  };
9912
- var templateObject_1$5, templateObject_2$4, templateObject_3$2, templateObject_4$1;
10058
+ var templateObject_1$6, templateObject_2$4, templateObject_3$2, templateObject_4$1;
9913
10059
 
9914
- var propsDoc$f = {};
9915
- var propTypes$h = __assign({}, spsGlobalPropTypes);
10060
+ var propsDoc$i = {};
10061
+ var propTypes$k = __assign({}, spsGlobalPropTypes);
9916
10062
  function SpsWorkflowDocument(props) {
9917
10063
  var children = props.children, className = props.className, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", 'data-testid', "unsafelyReplaceClassName"]);
9918
10064
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-workflow__document', className);
9919
10065
  return (React__namespace.createElement("span", __assign({ className: classes, "data-testid": testId + "__document" }, rest), children));
9920
10066
  }
9921
10067
  Object.assign(SpsWorkflowDocument, {
9922
- props: propsDoc$f,
9923
- propTypes: propTypes$h,
10068
+ props: propsDoc$i,
10069
+ propTypes: propTypes$k,
9924
10070
  displayName: 'SpsWorkflowDocument',
9925
10071
  });
9926
10072
  function SpsWfDoc(props) {
9927
10073
  return SpsWorkflowDocument(props);
9928
10074
  }
9929
10075
  Object.assign(SpsWfDoc, {
9930
- props: propsDoc$f,
9931
- propTypes: propTypes$h,
10076
+ props: propsDoc$i,
10077
+ propTypes: propTypes$k,
9932
10078
  displayName: 'SpsWfDoc',
9933
10079
  });
9934
10080
 
9935
- var propsDoc$e = {
10081
+ var propsDoc$h = {
9936
10082
  icon: 'SpsIcon',
9937
10083
  };
9938
- var propTypes$g = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(dsShared.SpsIcon) });
10084
+ var propTypes$j = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(dsShared.SpsIcon) });
9939
10085
  function SpsWorkflowDocumentStatus(props) {
9940
10086
  var children = props.children, className = props.className, icon = props.icon, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "icon", 'data-testid', "unsafelyReplaceClassName"]);
9941
10087
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-workflow__document-status', className);
@@ -9945,24 +10091,24 @@ function SpsWorkflowDocumentStatus(props) {
9945
10091
  children));
9946
10092
  }
9947
10093
  Object.assign(SpsWorkflowDocumentStatus, {
9948
- props: propsDoc$e,
9949
- propTypes: propTypes$g,
10094
+ props: propsDoc$h,
10095
+ propTypes: propTypes$j,
9950
10096
  displayName: 'SpsWorkflowDocumentStatus',
9951
10097
  });
9952
10098
  function SpsWfDs(props) {
9953
10099
  return SpsWorkflowDocumentStatus(props);
9954
10100
  }
9955
10101
  Object.assign(SpsWfDs, {
9956
- props: propsDoc$e,
9957
- propTypes: propTypes$g,
10102
+ props: propsDoc$h,
10103
+ propTypes: propTypes$j,
9958
10104
  displayName: 'SpsWfDs',
9959
10105
  });
9960
10106
 
9961
- var propsDoc$d = {
10107
+ var propsDoc$g = {
9962
10108
  icon: { type: 'SpsIcon', required: true },
9963
10109
  title: { type: 'string', required: true },
9964
10110
  };
9965
- var propTypes$f = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(dsShared.SpsIcon).isRequired, title: PropTypes.string.isRequired });
10111
+ var propTypes$i = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(dsShared.SpsIcon).isRequired, title: PropTypes.string.isRequired });
9966
10112
  function SpsWorkflowStep(props) {
9967
10113
  var children = props.children, className = props.className, icon = props.icon, title = props.title, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "icon", "title", 'data-testid', "unsafelyReplaceClassName"]);
9968
10114
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-workflow__step', className);
@@ -9972,16 +10118,16 @@ function SpsWorkflowStep(props) {
9972
10118
  children));
9973
10119
  }
9974
10120
  Object.assign(SpsWorkflowStep, {
9975
- props: propsDoc$d,
9976
- propTypes: propTypes$f,
10121
+ props: propsDoc$g,
10122
+ propTypes: propTypes$i,
9977
10123
  displayName: 'SpsWorkflowStep',
9978
10124
  });
9979
10125
  function SpsWfStep(props) {
9980
10126
  return SpsWorkflowStep(props);
9981
10127
  }
9982
10128
  Object.assign(SpsWfStep, {
9983
- props: propsDoc$d,
9984
- propTypes: propTypes$f,
10129
+ props: propsDoc$g,
10130
+ propTypes: propTypes$i,
9985
10131
  displayName: 'SpsWfStep',
9986
10132
  });
9987
10133
 
@@ -9990,7 +10136,7 @@ var SpsWorkflowExamples = {
9990
10136
  label: 'Basic Usage',
9991
10137
  examples: {
9992
10138
  basic: {
9993
- jsx: utils.code(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n <div className=\"col-4\">\n <SpsWorkflow icon=\"list-summary\" title=\"Workflow\">\n <SpsWorkflowStep icon=\"heart\" title=\"Name of Step\">\n <SpsWorkflowDocument>\n <a href=\"https://github.com/SPSCommerce/ui-angular\" target=\"_blank\">\n Document Name\n </a>\n <SpsWorkflowDocumentStatus icon=\"status-error\">\n Status\n </SpsWorkflowDocumentStatus>\n </SpsWorkflowDocument>\n <SpsWorkflowDocument>\n Document Name\n <SpsWorkflowDocumentStatus>\n Status\n </SpsWorkflowDocumentStatus>\n </SpsWorkflowDocument>\n </SpsWorkflowStep>\n <SpsWorkflowStep icon=\"heart\" title=\"Done\">\n </SpsWorkflowStep>\n </SpsWorkflow>\n </div>\n "], ["\n <div className=\"col-4\">\n <SpsWorkflow icon=\"list-summary\" title=\"Workflow\">\n <SpsWorkflowStep icon=\"heart\" title=\"Name of Step\">\n <SpsWorkflowDocument>\n <a href=\"https://github.com/SPSCommerce/ui-angular\" target=\"_blank\">\n Document Name\n </a>\n <SpsWorkflowDocumentStatus icon=\"status-error\">\n Status\n </SpsWorkflowDocumentStatus>\n </SpsWorkflowDocument>\n <SpsWorkflowDocument>\n Document Name\n <SpsWorkflowDocumentStatus>\n Status\n </SpsWorkflowDocumentStatus>\n </SpsWorkflowDocument>\n </SpsWorkflowStep>\n <SpsWorkflowStep icon=\"heart\" title=\"Done\">\n </SpsWorkflowStep>\n </SpsWorkflow>\n </div>\n "]))),
10139
+ jsx: utils.code(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n <div className=\"col-4\">\n <SpsWorkflow icon=\"list-summary\" title=\"Workflow\">\n <SpsWorkflowStep icon=\"heart\" title=\"Name of Step\">\n <SpsWorkflowDocument>\n <a href=\"https://github.com/SPSCommerce/ui-angular\" target=\"_blank\">\n Document Name\n </a>\n <SpsWorkflowDocumentStatus icon=\"status-error\">\n Status\n </SpsWorkflowDocumentStatus>\n </SpsWorkflowDocument>\n <SpsWorkflowDocument>\n Document Name\n <SpsWorkflowDocumentStatus>\n Status\n </SpsWorkflowDocumentStatus>\n </SpsWorkflowDocument>\n </SpsWorkflowStep>\n <SpsWorkflowStep icon=\"heart\" title=\"Done\">\n </SpsWorkflowStep>\n </SpsWorkflow>\n </div>\n "], ["\n <div className=\"col-4\">\n <SpsWorkflow icon=\"list-summary\" title=\"Workflow\">\n <SpsWorkflowStep icon=\"heart\" title=\"Name of Step\">\n <SpsWorkflowDocument>\n <a href=\"https://github.com/SPSCommerce/ui-angular\" target=\"_blank\">\n Document Name\n </a>\n <SpsWorkflowDocumentStatus icon=\"status-error\">\n Status\n </SpsWorkflowDocumentStatus>\n </SpsWorkflowDocument>\n <SpsWorkflowDocument>\n Document Name\n <SpsWorkflowDocumentStatus>\n Status\n </SpsWorkflowDocumentStatus>\n </SpsWorkflowDocument>\n </SpsWorkflowStep>\n <SpsWorkflowStep icon=\"heart\" title=\"Done\">\n </SpsWorkflowStep>\n </SpsWorkflow>\n </div>\n "]))),
9994
10140
  },
9995
10141
  },
9996
10142
  },
@@ -10003,14 +10149,14 @@ var SpsWorkflowExamples = {
10003
10149
  },
10004
10150
  },
10005
10151
  };
10006
- var templateObject_1$4, templateObject_2$3;
10152
+ var templateObject_1$5, templateObject_2$3;
10007
10153
 
10008
- var propsDoc$c = {
10154
+ var propsDoc$f = {
10009
10155
  artwork: { type: 'string', required: true },
10010
10156
  heading: { type: 'string', required: true },
10011
10157
  subHeading: 'string',
10012
10158
  };
10013
- var propTypes$e = __assign(__assign({}, spsGlobalPropTypes), { artwork: PropTypes.string.isRequired, heading: PropTypes.string.isRequired, subHeading: PropTypes.string });
10159
+ var propTypes$h = __assign(__assign({}, spsGlobalPropTypes), { artwork: PropTypes.string.isRequired, heading: PropTypes.string.isRequired, subHeading: PropTypes.string });
10014
10160
  function SpsZeroState(props) {
10015
10161
  var artwork = props.artwork, children = props.children, className = props.className, heading = props.heading, subHeading = props.subHeading, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["artwork", "children", "className", "heading", "subHeading", 'data-testid', "unsafelyReplaceClassName"]);
10016
10162
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-zero-state', className);
@@ -10022,17 +10168,17 @@ function SpsZeroState(props) {
10022
10168
  React__namespace.createElement("div", { className: "sps-zero-state__content", "data-testid": testId + "__content" }, children))));
10023
10169
  }
10024
10170
  Object.assign(SpsZeroState, {
10025
- props: propsDoc$c,
10026
- propTypes: propTypes$e,
10171
+ props: propsDoc$f,
10172
+ propTypes: propTypes$h,
10027
10173
  displayName: 'SpsZeroState',
10028
10174
  });
10029
10175
 
10030
- var propsDoc$b = {
10176
+ var propsDoc$e = {
10031
10177
  icon: { type: 'SpsIcon', required: true },
10032
10178
  heading: 'ReactNodeOrRenderFn',
10033
10179
  subHeading: 'ReactNodeOrRenderFn',
10034
10180
  };
10035
- var propTypes$d = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(dsShared.SpsIcon).isRequired, heading: nodeOrRenderFn, subHeading: nodeOrRenderFn });
10181
+ var propTypes$g = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(dsShared.SpsIcon).isRequired, heading: nodeOrRenderFn, subHeading: nodeOrRenderFn });
10036
10182
  function SpsMicroZeroState(props) {
10037
10183
  var className = props.className, heading = props.heading, icon = props.icon, subHeading = props.subHeading, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["className", "heading", "icon", "subHeading", 'data-testid', "unsafelyReplaceClassName"]);
10038
10184
  var classes = clsx__default['default'](unsafelyReplaceClassName || 'sps-zero-state', 'sps-zero-state--micro', className);
@@ -10042,8 +10188,8 @@ function SpsMicroZeroState(props) {
10042
10188
  subHeading && React__namespace.createElement("h2", { className: "sps-zero-state__subheading", "data-testid": testId + "__subheading" }, subHeading)));
10043
10189
  }
10044
10190
  Object.assign(SpsMicroZeroState, {
10045
- props: propsDoc$b,
10046
- propTypes: propTypes$d,
10191
+ props: propsDoc$e,
10192
+ propTypes: propTypes$g,
10047
10193
  displayName: 'SpsMicroZeroState',
10048
10194
  });
10049
10195
 
@@ -10077,7 +10223,7 @@ var SpsZeroStateExamples = {
10077
10223
  examples: {
10078
10224
  illustrationAndHeading: {
10079
10225
  description: 'Illustration + Heading',
10080
- jsx: utils.code(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n <SpsCard>\n <SpsZeroState\n heading=\"Search for a record\"\n artwork=\"https://cdn.prod.spsc.io/web/framework/assets/18.03.02/images/icon-empty-search@2x.svg\"\n />\n </SpsCard>\n "], ["\n <SpsCard>\n <SpsZeroState\n heading=\"Search for a record\"\n artwork=\"https://cdn.prod.spsc.io/web/framework/assets/18.03.02/images/icon-empty-search@2x.svg\"\n />\n </SpsCard>\n "]))),
10226
+ jsx: utils.code(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["\n <SpsCard>\n <SpsZeroState\n heading=\"Search for a record\"\n artwork=\"https://cdn.prod.spsc.io/web/framework/assets/18.03.02/images/icon-empty-search@2x.svg\"\n />\n </SpsCard>\n "], ["\n <SpsCard>\n <SpsZeroState\n heading=\"Search for a record\"\n artwork=\"https://cdn.prod.spsc.io/web/framework/assets/18.03.02/images/icon-empty-search@2x.svg\"\n />\n </SpsCard>\n "]))),
10081
10227
  },
10082
10228
  illustrationHeadingAndSubtitle: {
10083
10229
  description: 'Illustration + Heading + Subtitle',
@@ -10116,7 +10262,91 @@ var SpsZeroStateExamples = {
10116
10262
  },
10117
10263
  },
10118
10264
  };
10119
- var templateObject_1$3, templateObject_2$2, templateObject_3$1, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
10265
+ var templateObject_1$4, templateObject_2$2, templateObject_3$1, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
10266
+
10267
+ var propsDoc$d = {};
10268
+ var propTypes$f = __assign({}, spsGlobalPropTypes);
10269
+ function SpsFilterPanel(_a) {
10270
+ var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]);
10271
+ return (React__namespace.createElement("div", __assign({ className: clsx__default['default']('sps-filter-panel', className) }, rest), children));
10272
+ }
10273
+ Object.assign(SpsFilterPanel, {
10274
+ props: propsDoc$d,
10275
+ propTypes: propTypes$f,
10276
+ displayName: 'SpsFilterPanel',
10277
+ });
10278
+
10279
+ var propsDoc$c = {
10280
+ title: 'string',
10281
+ expanded: 'boolean',
10282
+ heightPx: 'number',
10283
+ heightRem: 'number',
10284
+ onExpand: '() => void',
10285
+ onCollapse: '() => void',
10286
+ };
10287
+ var propTypes$e = __assign(__assign({}, spsGlobalPropTypes), { title: PropTypes.string, expanded: PropTypes.bool, heightPx: PropTypes.number, heightRem: PropTypes.number, onExpand: fun(), onCollapse: fun() });
10288
+ function SpsFilterPanelSection(_a) {
10289
+ var children = _a.children, className = _a.className, title = _a.title, expanded = _a.expanded, heightPx = _a.heightPx, heightRem = _a.heightRem, onExpand = _a.onExpand, onCollapse = _a.onCollapse, rest = __rest(_a, ["children", "className", "title", "expanded", "heightPx", "heightRem", "onExpand", "onCollapse"]);
10290
+ var _b = __read(React__namespace.useState(expanded), 2), localExpanded = _b[0], setLocalExpanded = _b[1];
10291
+ var isExpanded = typeof expanded !== 'undefined' ? expanded : localExpanded;
10292
+ var height = heightPx ? heightPx / 16 : heightRem;
10293
+ var inlineStyles = height ? { overflowY: 'scroll', height: height + "rem" } : {};
10294
+ var ExpandHideButton = function () { return (React__namespace.createElement("button", { type: "button", className: "sps-filter-panel__section__expand-btn", onClick: function () {
10295
+ setLocalExpanded(!isExpanded);
10296
+ if (!isExpanded && onExpand) {
10297
+ onExpand();
10298
+ }
10299
+ else if (isExpanded && onCollapse) {
10300
+ onCollapse();
10301
+ }
10302
+ } },
10303
+ React__namespace.createElement(SpsI, { icon: isExpanded ? dsShared.SpsIcon.MINUS_CIRCLE : dsShared.SpsIcon.PLUS_CIRCLE }))); };
10304
+ React__namespace.useEffect(function () {
10305
+ setLocalExpanded(expanded);
10306
+ }, [expanded]);
10307
+ return (React__namespace.createElement("div", __assign({ className: clsx__default['default']('sps-filter-panel__section', className) }, rest),
10308
+ React__namespace.createElement("div", { className: "sps-filter-panel__section__title-wrapper" },
10309
+ React__namespace.createElement(ExpandHideButton, null),
10310
+ React__namespace.createElement("p", null, title)),
10311
+ isExpanded && (React__namespace.createElement("div", { className: "sps-filter-panel__section__content-wrapper", style: inlineStyles },
10312
+ React__namespace.createElement("div", { className: "sps-filter-panel__section__content" }, children)))));
10313
+ }
10314
+ Object.assign(SpsFilterPanelSection, {
10315
+ props: propsDoc$c,
10316
+ propTypes: propTypes$e,
10317
+ displayName: 'SpsFilterPanelSection',
10318
+ });
10319
+
10320
+ var propsDoc$b = {
10321
+ onClear: '() => void',
10322
+ };
10323
+ var propTypes$d = __assign(__assign({}, spsGlobalPropTypes), { onClear: fun() });
10324
+ function SpsFilterPanelCap(_a) {
10325
+ _a.children; var className = _a.className, onClear = _a.onClear, rest = __rest(_a, ["children", "className", "onClear"]);
10326
+ var t = React__namespace.useContext(I18nContext).t;
10327
+ return (React__namespace.createElement("div", __assign({ className: clsx__default['default']('sps-filter-panel__cap', className) }, rest),
10328
+ React__namespace.createElement("div", { className: "sps-filter-panel__cap__title-wrapper" },
10329
+ React__namespace.createElement(SpsI, { icon: dsShared.SpsIcon.FILTER, size: dsShared.SpsIconSize.SMALL }),
10330
+ React__namespace.createElement("p", null, t('design-system:filterPanel.title'))),
10331
+ React__namespace.createElement(SpsButton, { kind: dsShared.ButtonKind.LINK, onClick: onClear }, t('design-system:filterPanel.clear'))));
10332
+ }
10333
+ Object.assign(SpsFilterPanelCap, {
10334
+ props: propsDoc$b,
10335
+ propTypes: propTypes$d,
10336
+ displayName: 'SpsFilterPanelCap',
10337
+ });
10338
+
10339
+ var SpsFilterPanelExamples = {
10340
+ generalUsage: {
10341
+ label: 'General Usage',
10342
+ examples: {
10343
+ general: {
10344
+ react: utils.code(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n function Component() {\n const initialValues = {\n colors: {\n red: false,\n blue: false,\n green: false,\n },\n options: {\n '1': false,\n '2': false,\n '3': false,\n '4': false,\n '5': false,\n '6': false,\n '7': false,\n '8': false,\n '9': false,\n '10': false,\n },\n radio: 'yes', \n }\n\n const { formValue, formMeta, updateForm } = useSpsForm(initialValues);\n\n const handleClear = () => {\n updateForm(initialValues);\n formMeta.markAsPristine();\n }\n\n const [expanded, setExpanded] = React.useState(true);\n \n const onExpand = () => {\n setExpanded(true);\n }\n \n const onCollapse = () => {\n setExpanded(false);\n }\n \n return (\n <div className=\"sfg-row\">\n <div className=\"sfg-col-4\">\n <SpsForm formMeta={formMeta}>\n <SpsFilterPanel>\n <SpsFilterPanelCap onClear={handleClear}/>\n <SpsFilterPanelSection title=\"Section one\">\n <SpsCheckbox\n name=\"red\"\n label=\"Red\"\n checked={formValue.colors.red}\n formMeta={formMeta.fields.colors.fields.red}\n />\n <SpsCheckbox\n name=\"blue\"\n label=\"Blue\"\n checked={formValue.colors.blue}\n formMeta={formMeta.fields.colors.fields.blue}\n />\n <SpsCheckbox\n name=\"green\"\n label=\"Green\"\n checked={formValue.colors.green}\n formMeta={formMeta.fields.colors.fields.green}\n />\n </SpsFilterPanelSection>\n <SpsFilterPanelSection title=\"Section two\"\n expanded={expanded}\n onExpand={onExpand}\n onCollapse={onCollapse}\n heightPx={150}\n >\n {Object.keys(initialValues.options).map((o) => (\n <SpsCheckbox\n name={`option_${o}`}\n label={`Option ${o}`}\n checked={formValue.options[o]}\n formMeta={formMeta.fields.options.fields[o]}\n />\n ))} \n </SpsFilterPanelSection>\n <SpsFilterPanelSection title=\"Section three\"> \n <SpsRadioButton name=\"yes\" value=\"yes\" label=\"Yes\"\n formMeta={formMeta.fields.radio}\n checked={formValue.radio === \"yes\"}\n ></SpsRadioButton>\n <SpsRadioButton name=\"no\" value=\"no\" label=\"No\"\n formMeta={formMeta.fields.radio}\n checked={formValue.radio === \"no\"}\n ></SpsRadioButton> \n </SpsFilterPanelSection>\n </SpsFilterPanel>\n </SpsForm>\n </div>\n </div>\n );\n }\n "], ["\n function Component() {\n const initialValues = {\n colors: {\n red: false,\n blue: false,\n green: false,\n },\n options: {\n '1': false,\n '2': false,\n '3': false,\n '4': false,\n '5': false,\n '6': false,\n '7': false,\n '8': false,\n '9': false,\n '10': false,\n },\n radio: 'yes', \n }\n\n const { formValue, formMeta, updateForm } = useSpsForm(initialValues);\n\n const handleClear = () => {\n updateForm(initialValues);\n formMeta.markAsPristine();\n }\n\n const [expanded, setExpanded] = React.useState(true);\n \n const onExpand = () => {\n setExpanded(true);\n }\n \n const onCollapse = () => {\n setExpanded(false);\n }\n \n return (\n <div className=\"sfg-row\">\n <div className=\"sfg-col-4\">\n <SpsForm formMeta={formMeta}>\n <SpsFilterPanel>\n <SpsFilterPanelCap onClear={handleClear}/>\n <SpsFilterPanelSection title=\"Section one\">\n <SpsCheckbox\n name=\"red\"\n label=\"Red\"\n checked={formValue.colors.red}\n formMeta={formMeta.fields.colors.fields.red}\n />\n <SpsCheckbox\n name=\"blue\"\n label=\"Blue\"\n checked={formValue.colors.blue}\n formMeta={formMeta.fields.colors.fields.blue}\n />\n <SpsCheckbox\n name=\"green\"\n label=\"Green\"\n checked={formValue.colors.green}\n formMeta={formMeta.fields.colors.fields.green}\n />\n </SpsFilterPanelSection>\n <SpsFilterPanelSection title=\"Section two\"\n expanded={expanded}\n onExpand={onExpand}\n onCollapse={onCollapse}\n heightPx={150}\n >\n {Object.keys(initialValues.options).map((o) => (\n <SpsCheckbox\n name={\\`option_\\${o}\\`}\n label={\\`Option \\${o}\\`}\n checked={formValue.options[o]}\n formMeta={formMeta.fields.options.fields[o]}\n />\n ))} \n </SpsFilterPanelSection>\n <SpsFilterPanelSection title=\"Section three\"> \n <SpsRadioButton name=\"yes\" value=\"yes\" label=\"Yes\"\n formMeta={formMeta.fields.radio}\n checked={formValue.radio === \"yes\"}\n ></SpsRadioButton>\n <SpsRadioButton name=\"no\" value=\"no\" label=\"No\"\n formMeta={formMeta.fields.radio}\n checked={formValue.radio === \"no\"}\n ></SpsRadioButton> \n </SpsFilterPanelSection>\n </SpsFilterPanel>\n </SpsForm>\n </div>\n </div>\n );\n }\n "]))),
10345
+ },
10346
+ },
10347
+ },
10348
+ };
10349
+ var templateObject_1$3;
10120
10350
 
10121
10351
  /* eslint-disable react/prop-types */
10122
10352
  var MANIFEST = {
@@ -10227,6 +10457,10 @@ var MANIFEST = {
10227
10457
  components: [SpsFieldset],
10228
10458
  examples: SpsFieldsetExamples,
10229
10459
  },
10460
+ 'Filter Panel': {
10461
+ components: [SpsFilterPanel, SpsFilterPanelSection, SpsFilterPanelCap],
10462
+ examples: SpsFilterPanelExamples,
10463
+ },
10230
10464
  'Focused Task': {
10231
10465
  components: [SpsFocusedTask, SpsFocusedTaskActions],
10232
10466
  examples: SpsFocusedTaskExamples,
@@ -14496,6 +14730,10 @@ exports.SpsFeedbackBlock = SpsFeedbackBlock;
14496
14730
  exports.SpsFeedbackBlockExamples = SpsFeedbackBlockExamples;
14497
14731
  exports.SpsFieldset = SpsFieldset;
14498
14732
  exports.SpsFieldsetExamples = SpsFieldsetExamples;
14733
+ exports.SpsFilterPanel = SpsFilterPanel;
14734
+ exports.SpsFilterPanelCap = SpsFilterPanelCap;
14735
+ exports.SpsFilterPanelExamples = SpsFilterPanelExamples;
14736
+ exports.SpsFilterPanelSection = SpsFilterPanelSection;
14499
14737
  exports.SpsFocusedTask = SpsFocusedTask;
14500
14738
  exports.SpsFocusedTaskActions = SpsFocusedTaskActions;
14501
14739
  exports.SpsFocusedTaskExamples = SpsFocusedTaskExamples;