@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.esm.js CHANGED
@@ -178,7 +178,7 @@ var spsGlobalPropTypes = {
178
178
 
179
179
  var I18nContext = React.createContext(noI18nI18n);
180
180
 
181
- var propsDoc$1r = {
181
+ var propsDoc$1u = {
182
182
  disabled: 'boolean',
183
183
  href: 'string',
184
184
  icon: 'SpsIcon',
@@ -187,7 +187,7 @@ var propsDoc$1r = {
187
187
  spinningTitle: 'string',
188
188
  type: 'ButtonType',
189
189
  };
190
- var propTypes$1w = __assign(__assign({}, spsGlobalPropTypes), { disabled: bool, href: string, icon: enumValue(SpsIcon$1), kind: enumValue(ButtonKind), spinning: bool, spinningTitle: string, type: enumValue(ButtonType) });
190
+ var propTypes$1z = __assign(__assign({}, spsGlobalPropTypes), { disabled: bool, href: string, icon: enumValue(SpsIcon$1), kind: enumValue(ButtonKind), spinning: bool, spinningTitle: string, type: enumValue(ButtonType) });
191
191
  function SpsButton(props) {
192
192
  var children = props.children, className = props.className, href = props.href, icon = props.icon, _a = props.kind, kind = _a === void 0 ? ButtonKind.DEFAULT : _a, spinning = props.spinning, spinningTitle = props.spinningTitle, _b = props.type, type = _b === void 0 ? ButtonType.BUTTON : _b, unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "href", "icon", "kind", "spinning", "spinningTitle", "type", "unsafelyReplaceClassName"]);
193
193
  var disabled = props.disabled;
@@ -211,8 +211,8 @@ function SpsButton(props) {
211
211
  spinner))));
212
212
  }
213
213
  Object.assign(SpsButton, {
214
- props: propsDoc$1r,
215
- propTypes: propTypes$1w,
214
+ props: propsDoc$1u,
215
+ propTypes: propTypes$1z,
216
216
  displayName: 'SpsButton',
217
217
  });
218
218
 
@@ -249,8 +249,8 @@ function contentOf(nodeOrRenderFn) {
249
249
  : nodeOrRenderFn;
250
250
  }
251
251
 
252
- 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 } });
253
- var propTypes$1v = __assign(__assign(__assign({}, spsGlobalPropTypes), spsFormPropTypes), { controlsDisabled: bool, footerLinks: nodeOrRenderFn, formArray: impl(), formGroup: impl(), formMeta: oneOfType([
252
+ 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 } });
253
+ var propTypes$1y = __assign(__assign(__assign({}, spsGlobalPropTypes), spsFormPropTypes), { controlsDisabled: bool, footerLinks: nodeOrRenderFn, formArray: impl(), formGroup: impl(), formMeta: oneOfType([
254
254
  impl(),
255
255
  impl(),
256
256
  ]), isOpen: bool, onClear: fun(), onSubmit: fun(), pinned: bool });
@@ -276,8 +276,8 @@ function SpsAdvancedSearch(props) {
276
276
  React.createElement(SpsButton, { kind: ButtonKind.KEY, type: ButtonType.SUBMIT, disabled: controlsDisabled }, t('design-system:advancedSearch.search')))))));
277
277
  }
278
278
  Object.assign(SpsAdvancedSearch, {
279
- props: propsDoc$1q,
280
- propTypes: propTypes$1v,
279
+ props: propsDoc$1t,
280
+ propTypes: propTypes$1y,
281
281
  displayName: 'SpsAdvancedSearch',
282
282
  });
283
283
 
@@ -286,7 +286,7 @@ var SpsAdvancedSearchExamples = {
286
286
  label: 'Basic Usage',
287
287
  examples: {
288
288
  basic: {
289
- react: 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 "]))),
289
+ react: 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 "]))),
290
290
  },
291
291
  },
292
292
  },
@@ -317,7 +317,7 @@ var SpsAdvancedSearchExamples = {
317
317
  },
318
318
  },
319
319
  };
320
- var templateObject_1$R, templateObject_2$M, templateObject_3$E, templateObject_4$w, templateObject_5$o, templateObject_6$j;
320
+ var templateObject_1$S, templateObject_2$M, templateObject_3$E, templateObject_4$w, templateObject_5$o, templateObject_6$j;
321
321
 
322
322
  function useElementId(id) {
323
323
  return useRef(id || nanoid());
@@ -600,7 +600,7 @@ var searchableOptionListProps = {
600
600
  searchDebounce: number,
601
601
  searchPlaceholder: string,
602
602
  };
603
- var propTypes$1u = __assign(__assign(__assign(__assign({}, spsGlobalPropTypes), spsOptionListPassthroughProps.propTypes), searchableOptionListProps), { attachTo: ref().isRequired, conformWidth: bool, id: string.isRequired, isOpen: bool, keepOpen: bool, keyDown: impl(), nullOption: string, offsets: arrayOf(number), onOptionListChanged: fun(), onOptionSelected: fun(), onPositionFlip: fun(), onSelfToggle: fun(), optionRole: string, positionOverride: arrayOf(enumValue(Position)), selectedOption: any, specialAction: fun(), ignoreWidthStyles: bool });
603
+ var propTypes$1x = __assign(__assign(__assign(__assign({}, spsGlobalPropTypes), spsOptionListPassthroughProps.propTypes), searchableOptionListProps), { attachTo: ref().isRequired, conformWidth: bool, id: string.isRequired, isOpen: bool, keepOpen: bool, keyDown: impl(), nullOption: string, offsets: arrayOf(number), onOptionListChanged: fun(), onOptionSelected: fun(), onPositionFlip: fun(), onSelfToggle: fun(), optionRole: string, positionOverride: arrayOf(enumValue(Position)), selectedOption: any, specialAction: fun(), ignoreWidthStyles: bool });
604
604
 
605
605
  function updateOptions(props, searchState, searchStatePatch, setOptionList, setAnyOptionHasIcon) {
606
606
  return __awaiter(this, void 0, void 0, function () {
@@ -1072,7 +1072,7 @@ var SpsOptionList = React.forwardRef(function (props, ref) {
1072
1072
  React.createElement("span", null, specialAction.label)))));
1073
1073
  });
1074
1074
  Object.assign(SpsOptionList, {
1075
- propTypes: propTypes$1u,
1075
+ propTypes: propTypes$1x,
1076
1076
  displayName: 'SpsOptionList',
1077
1077
  });
1078
1078
 
@@ -1211,7 +1211,7 @@ function useInputPopup(rootRef, popupRef, formMeta) {
1211
1211
  };
1212
1212
  }
1213
1213
 
1214
- var propsDoc$1p = {
1214
+ var propsDoc$1s = {
1215
1215
  debounce: 'number',
1216
1216
  disabled: 'boolean',
1217
1217
  formMeta: 'SpsFormFieldMeta<string>',
@@ -1226,7 +1226,7 @@ var propsDoc$1p = {
1226
1226
  value: 'string',
1227
1227
  zeroState: 'string',
1228
1228
  };
1229
- var propTypes$1t = __assign(__assign({}, spsGlobalPropTypes), { debounce: number, disabled: bool, formControl: impl(), formMeta: impl(), icon: enumValue(SpsIcon$1), onChange: fun(), placeholder: string, suggestions: oneOfType([
1229
+ var propTypes$1w = __assign(__assign({}, spsGlobalPropTypes), { debounce: number, disabled: bool, formControl: impl(), formMeta: impl(), icon: enumValue(SpsIcon$1), onChange: fun(), placeholder: string, suggestions: oneOfType([
1230
1230
  arrayOf(string),
1231
1231
  instanceOf(Promise),
1232
1232
  fun(),
@@ -1294,8 +1294,8 @@ function SpsAutocomplete(_a) {
1294
1294
  React.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 })));
1295
1295
  }
1296
1296
  Object.assign(SpsAutocomplete, {
1297
- props: propsDoc$1p,
1298
- propTypes: propTypes$1t,
1297
+ props: propsDoc$1s,
1298
+ propTypes: propTypes$1w,
1299
1299
  displayName: 'SpsAutocomplete',
1300
1300
  });
1301
1301
 
@@ -1304,7 +1304,7 @@ var SpsAutocompleteExamples = {
1304
1304
  label: 'Basic',
1305
1305
  examples: {
1306
1306
  basic: {
1307
- react: 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 "]))),
1307
+ react: 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 "]))),
1308
1308
  },
1309
1309
  disabled: {
1310
1310
  jsx: 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 "]))),
@@ -1329,9 +1329,9 @@ var SpsAutocompleteExamples = {
1329
1329
  },
1330
1330
  },
1331
1331
  };
1332
- var templateObject_1$Q, templateObject_2$L, templateObject_3$D, templateObject_4$v, templateObject_5$n, templateObject_6$i;
1332
+ var templateObject_1$R, templateObject_2$L, templateObject_3$D, templateObject_4$v, templateObject_5$n, templateObject_6$i;
1333
1333
 
1334
- var propsDoc$1o = {
1334
+ var propsDoc$1r = {
1335
1335
  alignLeft: 'boolean',
1336
1336
  disabled: 'boolean',
1337
1337
  icon: 'SpsIcon',
@@ -1344,7 +1344,7 @@ var propsDoc$1o = {
1344
1344
  onOpen: '() => void',
1345
1345
  onClose: '() => void',
1346
1346
  };
1347
- var propTypes$1s = __assign(__assign({}, spsGlobalPropTypes), { alignLeft: bool, disabled: bool, icon: enumValue(SpsIcon$1), kind: enumValue(DropdownKind), label: string,
1347
+ var propTypes$1v = __assign(__assign({}, spsGlobalPropTypes), { alignLeft: bool, disabled: bool, icon: enumValue(SpsIcon$1), kind: enumValue(DropdownKind), label: string,
1348
1348
  // eslint thinks there is a space between the name and open paren below for some reason
1349
1349
  // eslint-disable-next-line no-spaced-func
1350
1350
  options: arrayOf(oneOfType([func, any])).isRequired, spinning: bool, spinningTitle: string, tallOptionList: bool, onOpen: fun(), onClose: fun() });
@@ -1439,13 +1439,13 @@ function SpsDropdown(props) {
1439
1439
  spinning && (React.createElement("div", { className: "sps-spinner", key: 1 }, spinningTitle || t('design-system:button.spinningTitle')))))));
1440
1440
  }
1441
1441
  Object.assign(SpsDropdown, {
1442
- props: propsDoc$1o,
1443
- propTypes: propTypes$1s,
1442
+ props: propsDoc$1r,
1443
+ propTypes: propTypes$1v,
1444
1444
  displayName: 'SpsDropdown',
1445
1445
  });
1446
1446
 
1447
- var propsDoc$1n = {};
1448
- var propTypes$1r = __assign({}, spsGlobalPropTypes);
1447
+ var propsDoc$1q = {};
1448
+ var propTypes$1u = __assign({}, spsGlobalPropTypes);
1449
1449
  function SpsButtonGroup(props) {
1450
1450
  var children = props.children, className = props.className, unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "unsafelyReplaceClassName"]);
1451
1451
  var _a = __read(selectChildren(children, [
@@ -1463,8 +1463,8 @@ function SpsButtonGroup(props) {
1463
1463
  others.length > 0 && others));
1464
1464
  }
1465
1465
  Object.assign(SpsButtonGroup, {
1466
- props: propsDoc$1n,
1467
- propTypes: propTypes$1r,
1466
+ props: propsDoc$1q,
1467
+ propTypes: propTypes$1u,
1468
1468
  displayName: 'SpsButtonGroup',
1469
1469
  });
1470
1470
 
@@ -1481,7 +1481,7 @@ var SpsButtonExamples = {
1481
1481
  examples: {
1482
1482
  basic: {
1483
1483
  description: 'Without Icons',
1484
- jsx: 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 "]))),
1484
+ jsx: 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 "]))),
1485
1485
  },
1486
1486
  buttonsWithIcons: {
1487
1487
  description: 'With Icons',
@@ -1521,7 +1521,7 @@ var SpsButtonExamples = {
1521
1521
  },
1522
1522
  withIcon: {
1523
1523
  description: 'With Icons',
1524
- jsx: 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 "]))),
1524
+ jsx: 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 "]))),
1525
1525
  },
1526
1526
  },
1527
1527
  },
@@ -1556,7 +1556,7 @@ var SpsButtonExamples = {
1556
1556
  React.createElement(NavigateTo, { to: "Content Row" }, "Content Row"),
1557
1557
  ".")));
1558
1558
  },
1559
- jsx: 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 "]))),
1559
+ jsx: 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 "]))),
1560
1560
  },
1561
1561
  spin: {
1562
1562
  description: 'Spinner',
@@ -1659,14 +1659,14 @@ var SpsButtonExamples = {
1659
1659
  },
1660
1660
  },
1661
1661
  };
1662
- 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;
1662
+ 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;
1663
1663
 
1664
- var propsDoc$1m = {
1664
+ var propsDoc$1p = {
1665
1665
  content: 'ReactNodeLike',
1666
1666
  icon: 'SpsIcon',
1667
1667
  title: 'string',
1668
1668
  };
1669
- var propTypes$1q = __assign(__assign({}, spsGlobalPropTypes), { content: node, icon: enumValue(SpsIcon$1), title: string });
1669
+ var propTypes$1t = __assign(__assign({}, spsGlobalPropTypes), { content: node, icon: enumValue(SpsIcon$1), title: string });
1670
1670
  function SpsCardHeader(props) {
1671
1671
  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"]);
1672
1672
  var classes = clsx(unsafelyReplaceClassName || 'sps-card__header', className);
@@ -1679,16 +1679,16 @@ function SpsCardHeader(props) {
1679
1679
  React.createElement("div", { className: "sps-card__header-content" }, content)));
1680
1680
  }
1681
1681
  Object.assign(SpsCardHeader, {
1682
- props: propsDoc$1m,
1683
- propTypes: propTypes$1q,
1682
+ props: propsDoc$1p,
1683
+ propTypes: propTypes$1t,
1684
1684
  displayName: 'SpsCardHeader',
1685
1685
  });
1686
1686
 
1687
- var propsDoc$1l = {
1687
+ var propsDoc$1o = {
1688
1688
  icon: 'SpsIcon',
1689
1689
  kind: 'TagKind',
1690
1690
  };
1691
- var propTypes$1p = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(SpsIcon$1), kind: enumValue(TagKind) });
1691
+ var propTypes$1s = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(SpsIcon$1), kind: enumValue(TagKind) });
1692
1692
  function SpsTag(props) {
1693
1693
  var children = props.children, className = props.className, icon = props.icon, _a = props.kind, kind = _a === void 0 ? TagKind.DEFAULT : _a, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "icon", "kind", 'data-testid', "unsafelyReplaceClassName"]);
1694
1694
  var title = React.Children.toArray(children)
@@ -1700,12 +1700,12 @@ function SpsTag(props) {
1700
1700
  children));
1701
1701
  }
1702
1702
  Object.assign(SpsTag, {
1703
- props: propsDoc$1l,
1704
- propTypes: propTypes$1p,
1703
+ props: propsDoc$1o,
1704
+ propTypes: propTypes$1s,
1705
1705
  displayName: 'SpsTag',
1706
1706
  });
1707
1707
 
1708
- var propsDoc$1k = {
1708
+ var propsDoc$1n = {
1709
1709
  activateTab: 'Function',
1710
1710
  active: 'boolean',
1711
1711
  icon: 'SpsIcon',
@@ -1715,7 +1715,7 @@ var propsDoc$1k = {
1715
1715
  tagKind: 'TagKind',
1716
1716
  tagIcon: 'SpsIcon',
1717
1717
  };
1718
- var propTypes$1o = __assign(__assign({}, spsGlobalPropTypes), { activateTab: func, active: bool, icon: enumValue(SpsIcon$1), label: string, index: number, tag: string, tagKind: enumValue(TagKind), tagIcon: enumValue(SpsIcon$1) });
1718
+ var propTypes$1r = __assign(__assign({}, spsGlobalPropTypes), { activateTab: func, active: bool, icon: enumValue(SpsIcon$1), label: string, index: number, tag: string, tagKind: enumValue(TagKind), tagIcon: enumValue(SpsIcon$1) });
1719
1719
  function SpsCardTabbedPane(props) {
1720
1720
  var _this = this;
1721
1721
  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"]);
@@ -1736,8 +1736,8 @@ function SpsCardTabbedPane(props) {
1736
1736
  tag && React.createElement(SpsTag, { kind: tagKind || TagKind.KEY, icon: tagIcon }, tag)));
1737
1737
  }
1738
1738
  Object.assign(SpsCardTabbedPane, {
1739
- props: propsDoc$1k,
1740
- propTypes: propTypes$1o,
1739
+ props: propsDoc$1n,
1740
+ propTypes: propTypes$1r,
1741
1741
  displayName: 'SpsCardTabbedPane',
1742
1742
  });
1743
1743
 
@@ -1812,14 +1812,14 @@ function useTab$1(children, activeTab, isTabbedCard) {
1812
1812
  return [currentlyActiveTab, activateTab];
1813
1813
  }
1814
1814
 
1815
- var propsDoc$1j = {
1815
+ var propsDoc$1m = {
1816
1816
  activeTab: 'string',
1817
1817
  footer: 'ReactNodeOrRenderFn',
1818
1818
  headerContent: 'ReactNodeOrRenderFn',
1819
1819
  headerIcon: 'SpsIcon',
1820
1820
  headerTitle: 'string',
1821
1821
  };
1822
- var propTypes$1n = __assign(__assign({}, spsGlobalPropTypes), { activeTab: string, footer: nodeOrRenderFn, headerContent: nodeOrRenderFn, headerIcon: enumValue(SpsIcon$1), headerTitle: string });
1822
+ var propTypes$1q = __assign(__assign({}, spsGlobalPropTypes), { activeTab: string, footer: nodeOrRenderFn, headerContent: nodeOrRenderFn, headerIcon: enumValue(SpsIcon$1), headerTitle: string });
1823
1823
  function SpsCard(props) {
1824
1824
  React.useEffect(function () {
1825
1825
  console.log([
@@ -1850,8 +1850,8 @@ function SpsCard(props) {
1850
1850
  footer && (React.createElement("div", { className: "sps-card__footer", "data-testid": testId + "__footer" }, contentOf(footer)))));
1851
1851
  }
1852
1852
  Object.assign(SpsCard, {
1853
- props: propsDoc$1j,
1854
- propTypes: propTypes$1n,
1853
+ props: propsDoc$1m,
1854
+ propTypes: propTypes$1q,
1855
1855
  displayName: 'SpsCard',
1856
1856
  });
1857
1857
 
@@ -1861,7 +1861,7 @@ var SpsCardExamples = {
1861
1861
  description: '<p>Basic Cards can include any type of content, such as tables, forms, description lists, or general copy</p>',
1862
1862
  examples: {
1863
1863
  basic: {
1864
- jsx: 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 "]))),
1864
+ jsx: 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 "]))),
1865
1865
  },
1866
1866
  sections: {
1867
1867
  jsx: 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 "]))),
@@ -1894,7 +1894,7 @@ var SpsCardExamples = {
1894
1894
  jsx: 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 "]))),
1895
1895
  },
1896
1896
  gridFooter: {
1897
- jsx: 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 "]))),
1897
+ jsx: 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 "]))),
1898
1898
  },
1899
1899
  footerAndHeader: {
1900
1900
  jsx: 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 "]))),
@@ -1903,7 +1903,7 @@ var SpsCardExamples = {
1903
1903
  },
1904
1904
  tabbed: {
1905
1905
  label: 'Card + Tabs',
1906
- description: 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 "]))),
1906
+ description: 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 "]))),
1907
1907
  examples: {
1908
1908
  tabsOnly: {
1909
1909
  jsx: 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 "]))),
@@ -1923,9 +1923,9 @@ var SpsCardExamples = {
1923
1923
  },
1924
1924
  },
1925
1925
  };
1926
- 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;
1926
+ 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;
1927
1927
 
1928
- var propsDoc$1i = {
1928
+ var propsDoc$1l = {
1929
1929
  checked: 'boolean',
1930
1930
  disabled: 'boolean',
1931
1931
  formMeta: 'SpsFormFieldMeta<boolean>',
@@ -1934,7 +1934,7 @@ var propsDoc$1i = {
1934
1934
  label: 'string',
1935
1935
  onChange: 'ChangeEventHandler',
1936
1936
  };
1937
- var propTypes$1m = __assign(__assign({}, spsGlobalPropTypes), { checked: bool, disabled: bool, formControl: impl(), formMeta: impl(), indeterminate: bool, inline: bool, label: string, onChange: fun() });
1937
+ var propTypes$1p = __assign(__assign({}, spsGlobalPropTypes), { checked: bool, disabled: bool, formControl: impl(), formMeta: impl(), indeterminate: bool, inline: bool, label: string, onChange: fun() });
1938
1938
  function SpsCheckbox(_a) {
1939
1939
  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"]);
1940
1940
  var meta = formMeta || formControl;
@@ -1965,15 +1965,15 @@ function SpsCheckbox(_a) {
1965
1965
  React.createElement("label", { className: "sps-checkable__label", htmlFor: controlId }, label || '')));
1966
1966
  }
1967
1967
  Object.assign(SpsCheckbox, {
1968
- props: propsDoc$1i,
1969
- propTypes: propTypes$1m,
1968
+ props: propsDoc$1l,
1969
+ propTypes: propTypes$1p,
1970
1970
  displayName: 'SpsCheckbox',
1971
1971
  });
1972
1972
 
1973
1973
  var SpsCheckboxExamples = {
1974
1974
  labels: {
1975
1975
  label: 'Labels',
1976
- description: 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 "]))),
1976
+ description: 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 "]))),
1977
1977
  examples: {
1978
1978
  label: {
1979
1979
  react: 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 "]))),
@@ -1998,16 +1998,16 @@ var SpsCheckboxExamples = {
1998
1998
  },
1999
1999
  },
2000
2000
  };
2001
- var templateObject_1$N, templateObject_2$I, templateObject_3$A, templateObject_4$s, templateObject_5$k;
2001
+ var templateObject_1$O, templateObject_2$I, templateObject_3$A, templateObject_4$s, templateObject_5$k;
2002
2002
 
2003
- var propsDoc$1h = {
2003
+ var propsDoc$1k = {
2004
2004
  disabled: 'boolean',
2005
2005
  href: 'string',
2006
2006
  kind: 'ClickableTagKind',
2007
2007
  onAdd: '() => void',
2008
2008
  onRemove: '() => void',
2009
2009
  };
2010
- var propTypes$1l = __assign(__assign({}, spsGlobalPropTypes), { disabled: bool, href: string, kind: enumValue(ClickableTagKind), onAdd: fun(), onRemove: fun() });
2010
+ var propTypes$1o = __assign(__assign({}, spsGlobalPropTypes), { disabled: bool, href: string, kind: enumValue(ClickableTagKind), onAdd: fun(), onRemove: fun() });
2011
2011
  function SpsClickableTag(props) {
2012
2012
  var children = props.children, className = props.className, disabled = props.disabled, href = props.href, _a = props.kind, kind = _a === void 0 ? 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"]);
2013
2013
  var classes = clsx(unsafelyReplaceClassName || 'sps-clickable-tag', "sps-clickable-tag--" + kind, className, disabled && 'sps-clickable-tag--disabled', (onAdd || onRemove) && 'sps-clickable-tag--icon');
@@ -2062,8 +2062,8 @@ function SpsMultiSelectTag(props) {
2062
2062
  return React.createElement(SpsClickableTag, __assign({}, clickableTagProps), children);
2063
2063
  }
2064
2064
  Object.assign(SpsClickableTag, {
2065
- props: propsDoc$1h,
2066
- propTypes: propTypes$1l,
2065
+ props: propsDoc$1k,
2066
+ propTypes: propTypes$1o,
2067
2067
  displayName: 'SpsClickableTag',
2068
2068
  });
2069
2069
 
@@ -2072,7 +2072,7 @@ var SpsClickableTagExamples = {
2072
2072
  label: 'Basic',
2073
2073
  examples: {
2074
2074
  basic: {
2075
- react: 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 "]))),
2075
+ react: 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 "]))),
2076
2076
  },
2077
2077
  disabled: {
2078
2078
  react: 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 "]))),
@@ -2102,9 +2102,9 @@ var SpsClickableTagExamples = {
2102
2102
  },
2103
2103
  },
2104
2104
  };
2105
- var templateObject_1$M, templateObject_2$H, templateObject_3$z, templateObject_4$r, templateObject_5$j, templateObject_6$f;
2105
+ var templateObject_1$N, templateObject_2$H, templateObject_3$z, templateObject_4$r, templateObject_5$j, templateObject_6$f;
2106
2106
 
2107
- var propsDoc$1g = {
2107
+ var propsDoc$1j = {
2108
2108
  index: 'number',
2109
2109
  key: 'string',
2110
2110
  columnId: 'string',
@@ -2113,7 +2113,7 @@ var propsDoc$1g = {
2113
2113
  onDelete: '(columnValue: string) => void',
2114
2114
  mandatory: 'boolean',
2115
2115
  };
2116
- var propTypes$1k = __assign(__assign({}, spsGlobalPropTypes), { index: number, key: string, columnId: string, name: string, value: string, onDelete: fun(), mandatory: bool });
2116
+ var propTypes$1n = __assign(__assign({}, spsGlobalPropTypes), { index: number, key: string, columnId: string, name: string, value: string, onDelete: fun(), mandatory: bool });
2117
2117
  function SpsColumnChooserColumn(props) {
2118
2118
  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"]);
2119
2119
  var t = React.useContext(I18nContext).t;
@@ -2132,19 +2132,19 @@ function SpsColumnChooserColumn(props) {
2132
2132
  } })))))); }));
2133
2133
  }
2134
2134
  Object.assign(SpsColumnChooserColumn, {
2135
- props: propsDoc$1g,
2136
- propTypes: propTypes$1k,
2135
+ props: propsDoc$1j,
2136
+ propTypes: propTypes$1n,
2137
2137
  displayName: 'SpsColumnChooserColumn',
2138
2138
  });
2139
2139
 
2140
2140
  // TODO: Put English strings into i18n system
2141
- var propsDoc$1f = {
2141
+ var propsDoc$1i = {
2142
2142
  maxSelectedColumns: 'number',
2143
2143
  unselectedColumns: 'ColumnProps[]',
2144
2144
  selectedColumns: 'ColumnProps[]',
2145
2145
  onApplyChanges: '(selectedColumns: ColumnProps[]) => void',
2146
2146
  };
2147
- var propTypes$1j = __assign(__assign({}, spsGlobalPropTypes), { maxSelectedColumns: number, unselectedColumns: array, selectedColumns: array, onApplyChanges: fun() });
2147
+ var propTypes$1m = __assign(__assign({}, spsGlobalPropTypes), { maxSelectedColumns: number, unselectedColumns: array, selectedColumns: array, onApplyChanges: fun() });
2148
2148
  function SpsColumnChooser(props) {
2149
2149
  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"]);
2150
2150
  var _a = __read(usePatchReducer({
@@ -2232,8 +2232,8 @@ function SpsColumnChooser(props) {
2232
2232
  provided.placeholder)); }))))));
2233
2233
  }
2234
2234
  Object.assign(SpsColumnChooser, {
2235
- props: propsDoc$1f,
2236
- propTypes: propTypes$1j,
2235
+ props: propsDoc$1i,
2236
+ propTypes: propTypes$1m,
2237
2237
  displayName: 'SpsColumnChooser',
2238
2238
  });
2239
2239
 
@@ -2243,45 +2243,45 @@ var SpsColumnChooserExamples = {
2243
2243
  description: 'Column chooser component',
2244
2244
  examples: {
2245
2245
  basic: {
2246
- react: 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 "]))),
2246
+ react: 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 "]))),
2247
2247
  },
2248
2248
  },
2249
2249
  },
2250
2250
  };
2251
- var templateObject_1$L;
2251
+ var templateObject_1$M;
2252
2252
 
2253
- var propsDoc$1e = {
2253
+ var propsDoc$1h = {
2254
2254
  icon: { type: 'SpsIcon', required: true },
2255
2255
  size: 'SpsIconSize',
2256
2256
  };
2257
- var propTypes$1i = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(SpsIcon$1).isRequired, size: enumValue(SpsIconSize) });
2257
+ var propTypes$1l = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(SpsIcon$1).isRequired, size: enumValue(SpsIconSize) });
2258
2258
  function SpsIcon(props) {
2259
2259
  var className = props.className, testId = props["data-testid"], icon = props.icon, _a = props.size, size = _a === void 0 ? SpsIconSize.MEDIUM : _a, unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["className", 'data-testid', "icon", "size", "unsafelyReplaceClassName"]);
2260
2260
  var classes = clsx(unsafelyReplaceClassName || 'sps-icon', "sps-icon-" + icon, "sps-icon--" + size, className);
2261
2261
  return React.createElement("i", __assign({ className: classes, "aria-hidden": "true", "data-testid": testId }, rest));
2262
2262
  }
2263
2263
  Object.assign(SpsIcon, {
2264
- props: propsDoc$1e,
2265
- propTypes: propTypes$1i,
2264
+ props: propsDoc$1h,
2265
+ propTypes: propTypes$1l,
2266
2266
  displayName: 'SpsI',
2267
2267
  });
2268
2268
  function SpsI(props) {
2269
2269
  return React.createElement(SpsIcon, __assign({}, props));
2270
2270
  }
2271
2271
  Object.assign(SpsI, {
2272
- props: propsDoc$1e,
2273
- propTypes: propTypes$1i,
2272
+ props: propsDoc$1h,
2273
+ propTypes: propTypes$1l,
2274
2274
  displayName: 'SpsI',
2275
2275
  });
2276
2276
 
2277
- var propsDoc$1d = {
2277
+ var propsDoc$1g = {
2278
2278
  borderless: 'boolean',
2279
2279
  lean: 'boolean',
2280
2280
  leaner: { type: 'boolean', deprecated: true },
2281
2281
  widthPx: 'number',
2282
2282
  widthRem: 'number',
2283
2283
  };
2284
- var propTypes$1h = __assign(__assign({}, spsGlobalPropTypes), { borderless: bool, lean: bool, leaner: bool, widthPx: number, widthRem: number });
2284
+ var propTypes$1k = __assign(__assign({}, spsGlobalPropTypes), { borderless: bool, lean: bool, leaner: bool, widthPx: number, widthRem: number });
2285
2285
  function SpsContentRowCol(props) {
2286
2286
  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"]);
2287
2287
  React.useEffect(function () {
@@ -2301,25 +2301,25 @@ function SpsContentRowCol(props) {
2301
2301
  return (React.createElement("div", __assign({}, rest, { className: classes, style: inlineStyles }), children));
2302
2302
  }
2303
2303
  Object.assign(SpsContentRowCol, {
2304
- props: propsDoc$1d,
2305
- propTypes: propTypes$1h,
2304
+ props: propsDoc$1g,
2305
+ propTypes: propTypes$1k,
2306
2306
  displayName: 'SpsContentRowCol',
2307
2307
  });
2308
2308
 
2309
- var propsDoc$1c = {};
2310
- var propTypes$1g = __assign({}, spsGlobalPropTypes);
2309
+ var propsDoc$1f = {};
2310
+ var propTypes$1j = __assign({}, spsGlobalPropTypes);
2311
2311
  function SpsContentRowExpansion(props) {
2312
2312
  var children = props.children, className = props.className, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", 'data-testid', "unsafelyReplaceClassName"]);
2313
2313
  var classes = clsx(unsafelyReplaceClassName || 'sps-content-row__expansion', className);
2314
2314
  return (React.createElement("div", __assign({ className: classes }, rest, { "data-testid": testId + "__expansion" }), children));
2315
2315
  }
2316
2316
  Object.assign(SpsContentRowExpansion, {
2317
- props: propsDoc$1c,
2318
- propTypes: propTypes$1g,
2317
+ props: propsDoc$1f,
2318
+ propTypes: propTypes$1j,
2319
2319
  displayName: 'SpsContentRowExpansion',
2320
2320
  });
2321
2321
 
2322
- var propsDoc$1b = {
2322
+ var propsDoc$1e = {
2323
2323
  alternateLayout: 'boolean',
2324
2324
  initiallyExpanded: 'boolean',
2325
2325
  cardSpacing: 'boolean',
@@ -2331,7 +2331,7 @@ var propsDoc$1b = {
2331
2331
  selectable: 'boolean',
2332
2332
  selected: 'boolean',
2333
2333
  };
2334
- var propTypes$1f = __assign(__assign({}, spsGlobalPropTypes), { alternateLayout: bool, cardSpacing: bool, initiallyExpanded: bool, onBeforeCollapsed: fun(), onBeforeExpanded: fun(), onSelectionChange: fun(), onCollapsed: fun(), onExpanded: fun(), selectable: bool, selected: bool });
2334
+ var propTypes$1i = __assign(__assign({}, spsGlobalPropTypes), { alternateLayout: bool, cardSpacing: bool, initiallyExpanded: bool, onBeforeCollapsed: fun(), onBeforeExpanded: fun(), onSelectionChange: fun(), onCollapsed: fun(), onExpanded: fun(), selectable: bool, selected: bool });
2335
2335
  function SpsContentRow(props) {
2336
2336
  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"]);
2337
2337
  var t = React.useContext(I18nContext).t;
@@ -2374,8 +2374,8 @@ function SpsContentRow(props) {
2374
2374
  expansion));
2375
2375
  }
2376
2376
  Object.assign(SpsContentRow, {
2377
- props: propsDoc$1b,
2378
- propTypes: propTypes$1f,
2377
+ props: propsDoc$1e,
2378
+ propTypes: propTypes$1i,
2379
2379
  displayName: 'SpsContentRow',
2380
2380
  });
2381
2381
 
@@ -2384,7 +2384,7 @@ var SpsContentRowExamples = {
2384
2384
  label: 'Content rows',
2385
2385
  examples: {
2386
2386
  basic: {
2387
- react: 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 "]))),
2387
+ react: 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 "]))),
2388
2388
  },
2389
2389
  withCheckbox: {
2390
2390
  react: 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 "]))),
@@ -2410,7 +2410,7 @@ var SpsContentRowExamples = {
2410
2410
  react: 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 "]))),
2411
2411
  },
2412
2412
  expandableWithCheckboxAndFavoriteAlternate: {
2413
- react: 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 "]))),
2413
+ react: 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 "]))),
2414
2414
  },
2415
2415
  },
2416
2416
  },
@@ -2423,7 +2423,7 @@ var SpsContentRowExamples = {
2423
2423
  },
2424
2424
  },
2425
2425
  };
2426
- 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;
2426
+ 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;
2427
2427
 
2428
2428
  var moment$5 = moment$6.default || moment$6;
2429
2429
  function newWeekArray$1() {
@@ -2455,7 +2455,7 @@ function parse(value) {
2455
2455
  function weekOfMonth$1(date) {
2456
2456
  return Math.floor((date.clone().date(1).day() + date.date() - 1) / 7);
2457
2457
  }
2458
- var propsDoc$1a = {
2458
+ var propsDoc$1d = {
2459
2459
  disabled: 'boolean',
2460
2460
  format: 'string',
2461
2461
  maxDate: 'string',
@@ -2465,7 +2465,7 @@ var propsDoc$1a = {
2465
2465
  placeholder: 'string',
2466
2466
  value: 'string',
2467
2467
  };
2468
- var propTypes$1e = __assign(__assign({}, spsGlobalPropTypes), { disabled: bool, format: string, maxDate: string, minDate: string, onChange: fun(), onClickOutside: fun(), placeholder: string, value: string });
2468
+ var propTypes$1h = __assign(__assign({}, spsGlobalPropTypes), { disabled: bool, format: string, maxDate: string, minDate: string, onChange: fun(), onClickOutside: fun(), placeholder: string, value: string });
2469
2469
  function SpsDatepicker(props) {
2470
2470
  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"]);
2471
2471
  var calendarRef = React.useRef();
@@ -2800,8 +2800,8 @@ function SpsDatepicker(props) {
2800
2800
  !disabled && (inputRef && inputRef.current && inputRef.current.value) && (React.createElement("i", { className: "sps-icon sps-icon-x-circle sps-form-control__clear-btn", onClick: handleClearClick }))))));
2801
2801
  }
2802
2802
  Object.assign(SpsDatepicker, {
2803
- props: propsDoc$1a,
2804
- propTypes: propTypes$1e,
2803
+ props: propsDoc$1d,
2804
+ propTypes: propTypes$1h,
2805
2805
  displayName: 'SpsDatepicker',
2806
2806
  });
2807
2807
 
@@ -2810,7 +2810,7 @@ var SpsDatepickerExamples = {
2810
2810
  label: 'Basic',
2811
2811
  examples: {
2812
2812
  basic: {
2813
- react: 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 "]))),
2813
+ react: 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 "]))),
2814
2814
  },
2815
2815
  },
2816
2816
  },
@@ -2831,9 +2831,9 @@ var SpsDatepickerExamples = {
2831
2831
  },
2832
2832
  },
2833
2833
  };
2834
- var templateObject_1$J, templateObject_2$F, templateObject_3$x;
2834
+ var templateObject_1$K, templateObject_2$F, templateObject_3$x;
2835
2835
 
2836
- var propsDoc$19 = {
2836
+ var propsDoc$1c = {
2837
2837
  placeholder: 'string',
2838
2838
  disabled: 'boolean',
2839
2839
  format: 'string',
@@ -2844,7 +2844,7 @@ var propsDoc$19 = {
2844
2844
  value: 'MomentRange',
2845
2845
  preset: 'Duration',
2846
2846
  };
2847
- var propTypes$1d = __assign(__assign({}, spsGlobalPropTypes), { placeholder: string, disabled: bool, format: string, minDate: string, maxDate: string, availablePresets: array, onChange: fun(), value: impl(), preset: impl() });
2847
+ var propTypes$1g = __assign(__assign({}, spsGlobalPropTypes), { placeholder: string, disabled: bool, format: string, minDate: string, maxDate: string, availablePresets: array, onChange: fun(), value: impl(), preset: impl() });
2848
2848
  function weekOfMonth(mmt) {
2849
2849
  return Math.floor((mmt.clone().date(1).day() + mmt.date() - 1) / 7);
2850
2850
  }
@@ -3418,8 +3418,8 @@ function SpsDateRangePicker(props) {
3418
3418
  (currentValue && currentValue.start && currentValue.end && !disabled) ? (React.createElement("i", { className: "sps-icon sps-icon-x-circle sps-form-control__clear-btn", onClick: clear })) : ''))));
3419
3419
  }
3420
3420
  Object.assign(SpsDateRangePicker, {
3421
- props: propsDoc$19,
3422
- propTypes: propTypes$1d,
3421
+ props: propsDoc$1c,
3422
+ propTypes: propTypes$1g,
3423
3423
  displayName: 'SpsDateRangePicker',
3424
3424
  });
3425
3425
 
@@ -3428,7 +3428,7 @@ var SpsDateRangePickerExamples = {
3428
3428
  label: 'Basic',
3429
3429
  examples: {
3430
3430
  basic: {
3431
- react: 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 "]))),
3431
+ react: 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 "]))),
3432
3432
  },
3433
3433
  },
3434
3434
  },
@@ -3458,7 +3458,7 @@ var SpsDateRangePickerExamples = {
3458
3458
  },
3459
3459
  },
3460
3460
  };
3461
- var templateObject_1$I, templateObject_2$E, templateObject_3$w, templateObject_4$p;
3461
+ var templateObject_1$J, templateObject_2$E, templateObject_3$w, templateObject_4$p;
3462
3462
 
3463
3463
  var currentLocale = moment__default.locale();
3464
3464
  require('moment/locale/en-au');
@@ -3556,7 +3556,7 @@ var formatMaps = {
3556
3556
  LONG_FULLDATETIME: 'LLLL',
3557
3557
  LONG_FULLDATETIME_ZONE: 'LLLL z', // Monday February 29, 2016 3:03 PM CST
3558
3558
  };
3559
- var propsDoc$18 = {
3559
+ var propsDoc$1b = {
3560
3560
  currentUser: 'any',
3561
3561
  dateToFormat: 'string | Date',
3562
3562
  format: 'string',
@@ -3565,7 +3565,7 @@ var propsDoc$18 = {
3565
3565
  relativeHrs: 'number',
3566
3566
  tz: 'string',
3567
3567
  };
3568
- var propTypes$1c = __assign(__assign({}, spsGlobalPropTypes), { currentUser: any, dateToFormat: oneOfType([
3568
+ var propTypes$1f = __assign(__assign({}, spsGlobalPropTypes), { currentUser: any, dateToFormat: oneOfType([
3569
3569
  string,
3570
3570
  instanceOf(Date),
3571
3571
  ]), format: string, locale: string, relative: bool, relativeHrs: number, tz: string });
@@ -3622,8 +3622,8 @@ function SpsDateTime(props) {
3622
3622
  })));
3623
3623
  }
3624
3624
  Object.assign(SpsDateTime, {
3625
- props: propsDoc$18,
3626
- propTypes: propTypes$1c,
3625
+ props: propsDoc$1b,
3626
+ propTypes: propTypes$1f,
3627
3627
  displayName: 'SpsDateTime',
3628
3628
  });
3629
3629
 
@@ -3633,7 +3633,7 @@ var SpsDatetimeExamples = {
3633
3633
  description: '<p>Formats dates</p>',
3634
3634
  examples: {
3635
3635
  basicAttribute: {
3636
- jsx: 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 "]))),
3636
+ jsx: 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 "]))),
3637
3637
  },
3638
3638
  basicChild: {
3639
3639
  jsx: 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 "]))),
@@ -3641,14 +3641,14 @@ var SpsDatetimeExamples = {
3641
3641
  },
3642
3642
  },
3643
3643
  };
3644
- var templateObject_1$H, templateObject_2$D;
3644
+ var templateObject_1$I, templateObject_2$D;
3645
3645
 
3646
- var propsDoc$17 = {
3646
+ var propsDoc$1a = {
3647
3647
  compact: 'boolean',
3648
3648
  wideTerms: 'boolean',
3649
3649
  widerTerms: 'boolean',
3650
3650
  };
3651
- var propTypes$1b = __assign(__assign({}, spsGlobalPropTypes), { compact: bool, wideTerms: bool, widerTerms: bool });
3651
+ var propTypes$1e = __assign(__assign({}, spsGlobalPropTypes), { compact: bool, wideTerms: bool, widerTerms: bool });
3652
3652
  function SpsDescriptionList(props) {
3653
3653
  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"]);
3654
3654
  /** holy shit this is awful. TODO: fix this garbage */
@@ -3670,37 +3670,37 @@ function SpsDescriptionList(props) {
3670
3670
  return (React.createElement("dl", __assign({ className: classes, "data-testid": "" + testId }, rest), childrenWithProps));
3671
3671
  }
3672
3672
  Object.assign(SpsDescriptionList, {
3673
- props: propsDoc$17,
3674
- propTypes: propTypes$1b,
3673
+ props: propsDoc$1a,
3674
+ propTypes: propTypes$1e,
3675
3675
  displayName: 'SpsDescriptionList / SpsDl',
3676
3676
  });
3677
3677
  function SpsDl(p) {
3678
3678
  return SpsDescriptionList(p);
3679
3679
  }
3680
3680
  Object.assign(SpsDl, {
3681
- props: propsDoc$17,
3682
- propTypes: propTypes$1b,
3681
+ props: propsDoc$1a,
3682
+ propTypes: propTypes$1e,
3683
3683
  displayName: 'SpsDescriptionList / SpsDl',
3684
3684
  });
3685
3685
 
3686
- var propsDoc$16 = {};
3687
- var propTypes$1a = __assign({}, spsGlobalPropTypes);
3686
+ var propsDoc$19 = {};
3687
+ var propTypes$1d = __assign({}, spsGlobalPropTypes);
3688
3688
  function SpsDescriptionListDefinition(props) {
3689
3689
  var children = props.children, className = props.className, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", 'data-testid', "unsafelyReplaceClassName"]);
3690
3690
  var classes = clsx(unsafelyReplaceClassName || 'sps-description-list__definition', className);
3691
3691
  return (React.createElement("dd", __assign({ className: classes, "data-testid": "" + testId }, rest), children));
3692
3692
  }
3693
3693
  Object.assign(SpsDescriptionListDefinition, {
3694
- props: propsDoc$16,
3695
- propTypes: propTypes$1a,
3694
+ props: propsDoc$19,
3695
+ propTypes: propTypes$1d,
3696
3696
  displayName: 'SpsDescriptionListDefinition / SpsDd',
3697
3697
  });
3698
3698
  function SpsDd(p) {
3699
3699
  return SpsDescriptionListDefinition(p);
3700
3700
  }
3701
3701
  Object.assign(SpsDd, {
3702
- props: propsDoc$16,
3703
- propTypes: propTypes$1a,
3702
+ props: propsDoc$19,
3703
+ propTypes: propTypes$1d,
3704
3704
  displayName: 'SpsDescriptionListDefinition / SpsDd',
3705
3705
  });
3706
3706
 
@@ -3718,7 +3718,7 @@ function toggleTooltipState(state) {
3718
3718
  }
3719
3719
  var CARET_SPACING_PX = 13;
3720
3720
  var openTips = new Map();
3721
- var propsDoc$15 = {
3721
+ var propsDoc$18 = {
3722
3722
  for: { type: 'React.MutableRefObject<any> | string', required: true },
3723
3723
  hideDelay: 'number',
3724
3724
  isShown: 'TooltipVisibility',
@@ -3730,7 +3730,7 @@ var propsDoc$15 = {
3730
3730
  showOn: 'TooltipShowTrigger',
3731
3731
  title: 'string',
3732
3732
  };
3733
- var propTypes$19 = __assign(__assign({}, spsGlobalPropTypes), { for: oneOfType([ref(), string]).isRequired, hideDelay: number, isShown: enumValue(TooltipVisibility), kind: enumValue(TooltipKind), offsets: arrayOf(number), onDeferred: fun(), position: enumValue(Position), altPosition: enumValue(Position), showOn: enumValue(TooltipShowTrigger), title: string });
3733
+ var propTypes$1c = __assign(__assign({}, spsGlobalPropTypes), { for: oneOfType([ref(), string]).isRequired, hideDelay: number, isShown: enumValue(TooltipVisibility), kind: enumValue(TooltipKind), offsets: arrayOf(number), onDeferred: fun(), position: enumValue(Position), altPosition: enumValue(Position), showOn: enumValue(TooltipShowTrigger), title: string });
3734
3734
  function SpsTooltip(_a) {
3735
3735
  var children = _a.children, className = _a.className, forProp = _a.for, testId = _a["data-testid"], _b = _a.hideDelay, hideDelay = _b === void 0 ? TOOLTIP_HIDE_DELAY_MS_DEFAULT : _b, isShown = _a.isShown, _c = _a.kind, kind = _c === void 0 ? TooltipKind.DEFAULT : _c, _d = _a.offsets, offsets = _d === void 0 ? [0, 0] : _d, onDeferred = _a.onDeferred, _e = _a.position, position = _e === void 0 ? Position.TOP_MIDDLE : _e, _f = _a.altPosition, altPosition = _f === void 0 ? flipPosition(position) : _f, _g = _a.showOn, showOn = _g === void 0 ? TooltipShowTrigger.MOUSEOVER : _g, style = _a.style, title = _a.title, unsafelyReplaceClassName = _a.unsafelyReplaceClassName;
3736
3736
  var iref = React.useRef({
@@ -3888,19 +3888,19 @@ function SpsTooltip(_a) {
3888
3888
  React.createElement("span", { className: "sps-tooltip__caret" })));
3889
3889
  }
3890
3890
  Object.assign(SpsTooltip, {
3891
- props: propsDoc$15,
3892
- propTypes: propTypes$19,
3891
+ props: propsDoc$18,
3892
+ propTypes: propTypes$1c,
3893
3893
  displayName: 'SpsTooltip',
3894
3894
  });
3895
3895
 
3896
- var propsDoc$14 = {
3896
+ var propsDoc$17 = {
3897
3897
  error: 'boolean',
3898
3898
  errors: 'ReactNodeOrRenderFn',
3899
3899
  help: 'ReactNodeOrRenderFn',
3900
3900
  labelFor: 'SpsFormFieldMeta<any>',
3901
3901
  required: 'boolean',
3902
3902
  };
3903
- var propTypes$18 = __assign(__assign({}, spsGlobalPropTypes), { error: bool, errors: nodeOrRenderFn, help: nodeOrRenderFn, labelFor: oneOfType([
3903
+ var propTypes$1b = __assign(__assign({}, spsGlobalPropTypes), { error: bool, errors: nodeOrRenderFn, help: nodeOrRenderFn, labelFor: oneOfType([
3904
3904
  impl(),
3905
3905
  impl(),
3906
3906
  ]), required: bool });
@@ -3929,16 +3929,16 @@ function SpsDescriptionListTerm(props) {
3929
3929
  React.createElement(SpsTooltip, { kind: tipKind, for: dtElement, showOn: TooltipShowTrigger.MANUAL, isShown: showTip }, contentOf(tipKind === TooltipKind.ERROR ? errors : help))));
3930
3930
  }
3931
3931
  Object.assign(SpsDescriptionListTerm, {
3932
- props: propsDoc$14,
3933
- propTypes: propTypes$18,
3932
+ props: propsDoc$17,
3933
+ propTypes: propTypes$1b,
3934
3934
  displayName: 'SpsDescriptionListTerm / SpsDt',
3935
3935
  });
3936
3936
  function SpsDt(p) {
3937
3937
  return SpsDescriptionListTerm(p);
3938
3938
  }
3939
3939
  Object.assign(SpsDt, {
3940
- props: propsDoc$14,
3941
- propTypes: propTypes$18,
3940
+ props: propsDoc$17,
3941
+ propTypes: propTypes$1b,
3942
3942
  displayName: 'SpsDescriptionListTerm / SpsDt',
3943
3943
  });
3944
3944
 
@@ -3947,7 +3947,7 @@ var SpsDescriptionListExamples = {
3947
3947
  label: 'Basic Description List',
3948
3948
  examples: {
3949
3949
  basic: {
3950
- jsx: 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 "]))),
3950
+ jsx: 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 "]))),
3951
3951
  },
3952
3952
  dynamic: {
3953
3953
  react: 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 "]))),
@@ -3982,7 +3982,7 @@ var SpsDescriptionListExamples = {
3982
3982
  },
3983
3983
  },
3984
3984
  };
3985
- var templateObject_1$G, templateObject_2$C, templateObject_3$v, templateObject_4$o, templateObject_5$h, templateObject_6$d;
3985
+ var templateObject_1$H, templateObject_2$C, templateObject_3$v, templateObject_4$o, templateObject_5$h, templateObject_6$d;
3986
3986
 
3987
3987
  var SpsDropdownExamples = {
3988
3988
  labelled: {
@@ -3990,7 +3990,7 @@ var SpsDropdownExamples = {
3990
3990
  examples: {
3991
3991
  default: {
3992
3992
  description: '<h3> Default Dropdown</h3>',
3993
- react: 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 "]))),
3993
+ react: 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 "]))),
3994
3994
  },
3995
3995
  key: {
3996
3996
  description: '<h3> Key Dropdown</h3>',
@@ -4023,7 +4023,7 @@ var SpsDropdownExamples = {
4023
4023
  },
4024
4024
  delete: {
4025
4025
  description: '<h3> Delete Dropdown With Icon</h3>',
4026
- react: 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 "]))),
4026
+ react: 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 "]))),
4027
4027
  },
4028
4028
  },
4029
4029
  },
@@ -4036,7 +4036,7 @@ var SpsDropdownExamples = {
4036
4036
  },
4037
4037
  custom: {
4038
4038
  description: '<h3>Custom Icon</h3>',
4039
- react: 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 "]))),
4039
+ react: 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 "]))),
4040
4040
  },
4041
4041
  },
4042
4042
  },
@@ -4072,16 +4072,16 @@ var SpsDropdownExamples = {
4072
4072
  },
4073
4073
  },
4074
4074
  };
4075
- 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;
4075
+ 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;
4076
4076
 
4077
- var propsDoc$13 = {
4077
+ var propsDoc$16 = {
4078
4078
  checked: 'boolean',
4079
4079
  onChange: 'ChangeEventHandler',
4080
4080
  indeterminate: 'boolean',
4081
4081
  disabled: 'boolean',
4082
4082
  options: 'Array<SpsActionMethod | [SpsActionDescriptor, () => void]>',
4083
4083
  };
4084
- var propTypes$17 = __assign(__assign({}, spsGlobalPropTypes), { checked: bool, onChange: fun(), indeterminate: bool,
4084
+ var propTypes$1a = __assign(__assign({}, spsGlobalPropTypes), { checked: bool, onChange: fun(), indeterminate: bool,
4085
4085
  // the type arg to PropTypes.arrayOf<T>() here confuses eslint greatly
4086
4086
  /* eslint-disable */
4087
4087
  options: arrayOf(oneOfType([func, any])).isRequired,
@@ -4095,15 +4095,15 @@ function SpsCheckboxDropdown(props) {
4095
4095
  React.createElement(SpsDropdown, { disabled: disabled, options: options, icon: SpsIcon$1.CHEVRON_DOWN })));
4096
4096
  }
4097
4097
  Object.assign(SpsCheckboxDropdown, {
4098
- props: propsDoc$13,
4099
- propTypes: propTypes$17,
4098
+ props: propsDoc$16,
4099
+ propTypes: propTypes$1a,
4100
4100
  displayName: 'SpsCheckboxDropdown',
4101
4101
  });
4102
4102
 
4103
- var propsDoc$12 = {
4103
+ var propsDoc$15 = {
4104
4104
  kind: 'FeedbackBlockKind',
4105
4105
  };
4106
- var propTypes$16 = __assign(__assign({}, spsGlobalPropTypes), { kind: enumValue(FeedbackBlockKind) });
4106
+ var propTypes$19 = __assign(__assign({}, spsGlobalPropTypes), { kind: enumValue(FeedbackBlockKind) });
4107
4107
  function SpsFeedbackBlock(props) {
4108
4108
  var children = props.children, className = props.className, _a = props.kind, kind = _a === void 0 ? FeedbackBlockKind.TIP : _a, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "kind", 'data-testid', "unsafelyReplaceClassName"]);
4109
4109
  var classes = clsx(unsafelyReplaceClassName || 'sps-feedback-block', "sps-feedback-block--" + kind, className);
@@ -4112,8 +4112,8 @@ function SpsFeedbackBlock(props) {
4112
4112
  React.createElement("span", { className: "sps-feedback-block__content", "data-testid": testId + "__text" }, children)));
4113
4113
  }
4114
4114
  Object.assign(SpsFeedbackBlock, {
4115
- props: propsDoc$12,
4116
- propTypes: propTypes$16,
4115
+ props: propsDoc$15,
4116
+ propTypes: propTypes$19,
4117
4117
  displayName: 'SpsFeedbackBlock',
4118
4118
  });
4119
4119
 
@@ -4124,7 +4124,7 @@ var SpsFeedbackBlockExamples = {
4124
4124
  examples: {
4125
4125
  error: {
4126
4126
  description: 'Error',
4127
- jsx: 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 "]))),
4127
+ jsx: 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 "]))),
4128
4128
  },
4129
4129
  info: {
4130
4130
  description: 'Information',
@@ -4158,7 +4158,7 @@ var SpsFeedbackBlockExamples = {
4158
4158
  },
4159
4159
  proTip: {
4160
4160
  description: 'Pro Tip',
4161
- jsx: 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 "]))),
4161
+ jsx: 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 "]))),
4162
4162
  },
4163
4163
  success: {
4164
4164
  description: 'Success',
@@ -4166,14 +4166,14 @@ var SpsFeedbackBlockExamples = {
4166
4166
  },
4167
4167
  warning: {
4168
4168
  description: 'Warning',
4169
- jsx: 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 "]))),
4169
+ jsx: 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 "]))),
4170
4170
  },
4171
4171
  },
4172
4172
  },
4173
4173
  };
4174
- 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;
4174
+ 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;
4175
4175
 
4176
- var propsDoc$11 = {
4176
+ var propsDoc$14 = {
4177
4177
  errors: 'ReactNodeOrRenderFn',
4178
4178
  formMeta: 'SpsFormSetMeta<any>',
4179
4179
  legend: 'string',
@@ -4182,7 +4182,7 @@ var propsDoc$11 = {
4182
4182
  onToggled: '(isEnabled: boolean) => void',
4183
4183
  tooltip: 'string',
4184
4184
  };
4185
- var propTypes$15 = __assign(__assign({}, spsGlobalPropTypes), { errors: nodeOrRenderFn, formArray: impl(), formGroup: impl(), formMeta: impl(), legend: string, optional: bool, enabled: bool, onToggled: fun(), tooltip: string });
4185
+ var propTypes$18 = __assign(__assign({}, spsGlobalPropTypes), { errors: nodeOrRenderFn, formArray: impl(), formGroup: impl(), formMeta: impl(), legend: string, optional: bool, enabled: bool, onToggled: fun(), tooltip: string });
4186
4186
  function SpsFieldset(_a) {
4187
4187
  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;
4188
4188
  var formControlSet = formGroup || formArray;
@@ -4232,8 +4232,8 @@ function SpsFieldset(_a) {
4232
4232
  children)));
4233
4233
  }
4234
4234
  Object.assign(SpsFieldset, {
4235
- props: propsDoc$11,
4236
- propTypes: propTypes$15,
4235
+ props: propsDoc$14,
4236
+ propTypes: propTypes$18,
4237
4237
  displayName: 'SpsFieldset',
4238
4238
  });
4239
4239
 
@@ -4243,7 +4243,7 @@ var SpsFieldsetExamples = {
4243
4243
  description: 'info about basic fieldsets',
4244
4244
  examples: {
4245
4245
  basic: {
4246
- react: 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 "]))),
4246
+ react: 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 "]))),
4247
4247
  },
4248
4248
  },
4249
4249
  },
@@ -4284,10 +4284,10 @@ var SpsFieldsetExamples = {
4284
4284
  },
4285
4285
  },
4286
4286
  };
4287
- var templateObject_1$D, templateObject_2$z, templateObject_3$s, templateObject_4$l, templateObject_5$e;
4287
+ var templateObject_1$E, templateObject_2$z, templateObject_3$s, templateObject_4$l, templateObject_5$e;
4288
4288
 
4289
- var propsDoc$10 = {};
4290
- var propTypes$14 = __assign({}, spsGlobalPropTypes);
4289
+ var propsDoc$13 = {};
4290
+ var propTypes$17 = __assign({}, spsGlobalPropTypes);
4291
4291
  function SpsFocusedTaskActions(props) {
4292
4292
  var children = props.children, className = props.className, unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "unsafelyReplaceClassName"]);
4293
4293
  var classes = clsx(unsafelyReplaceClassName || 'sps-list-action-bar-container', 'z-stratum-bar', className);
@@ -4296,17 +4296,17 @@ function SpsFocusedTaskActions(props) {
4296
4296
  React.createElement("div", { className: "sps-list-action-bar__actions" }, children))));
4297
4297
  }
4298
4298
  Object.assign(SpsFocusedTaskActions, {
4299
- props: propsDoc$10,
4300
- propTypes: propTypes$14,
4299
+ props: propsDoc$13,
4300
+ propTypes: propTypes$17,
4301
4301
  displayName: 'SpsFocusedTaskActions',
4302
4302
  });
4303
4303
 
4304
- var propsDoc$$ = {
4304
+ var propsDoc$12 = {
4305
4305
  fullWidth: 'boolean',
4306
4306
  isOpen: 'boolean',
4307
4307
  onClose: '() => void',
4308
4308
  };
4309
- var propTypes$13 = __assign(__assign({}, spsGlobalPropTypes), { fullWidth: bool, isOpen: bool, onClose: fun() });
4309
+ var propTypes$16 = __assign(__assign({}, spsGlobalPropTypes), { fullWidth: bool, isOpen: bool, onClose: fun() });
4310
4310
  function SpsFocusedTask(props) {
4311
4311
  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"]);
4312
4312
  var rootRef = React.useRef();
@@ -4329,8 +4329,8 @@ function SpsFocusedTask(props) {
4329
4329
  actions));
4330
4330
  }
4331
4331
  Object.assign(SpsFocusedTask, {
4332
- props: propsDoc$$,
4333
- propTypes: propTypes$13,
4332
+ props: propsDoc$12,
4333
+ propTypes: propTypes$16,
4334
4334
  displayName: 'SpsFocusedTask',
4335
4335
  });
4336
4336
 
@@ -4338,7 +4338,7 @@ var SpsFocusedTaskExamples = {
4338
4338
  basic: {
4339
4339
  examples: {
4340
4340
  basic: {
4341
- react: 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 "]))),
4341
+ react: 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 "]))),
4342
4342
  },
4343
4343
  fullWidth: {
4344
4344
  react: 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 "]))),
@@ -4346,7 +4346,7 @@ var SpsFocusedTaskExamples = {
4346
4346
  },
4347
4347
  },
4348
4348
  };
4349
- var templateObject_1$C, templateObject_2$y;
4349
+ var templateObject_1$D, templateObject_2$y;
4350
4350
 
4351
4351
  var OnBlurErrorKeys = new Set();
4352
4352
 
@@ -5654,7 +5654,7 @@ var SpsFormExamples = {
5654
5654
  description: '',
5655
5655
  examples: {
5656
5656
  basic: {
5657
- react: 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 "]))),
5657
+ react: 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 "]))),
5658
5658
  },
5659
5659
  },
5660
5660
  },
@@ -5677,14 +5677,14 @@ var SpsFormExamples = {
5677
5677
  },
5678
5678
  },
5679
5679
  };
5680
- var templateObject_1$B, templateObject_2$x, templateObject_3$r;
5680
+ var templateObject_1$C, templateObject_2$x, templateObject_3$r;
5681
5681
 
5682
5682
  var SpsAddRemoveFormRowExamples = {
5683
5683
  ideal: {
5684
5684
  label: 'Ideal',
5685
5685
  examples: {
5686
5686
  ideal: {
5687
- react: 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 "]))),
5687
+ react: 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 "]))),
5688
5688
  },
5689
5689
  },
5690
5690
  },
@@ -5697,16 +5697,16 @@ var SpsAddRemoveFormRowExamples = {
5697
5697
  },
5698
5698
  },
5699
5699
  };
5700
- var templateObject_1$A, templateObject_2$w;
5700
+ var templateObject_1$B, templateObject_2$w;
5701
5701
 
5702
- var propsDoc$_ = {
5702
+ var propsDoc$11 = {
5703
5703
  imgSrc: 'string',
5704
5704
  kind: 'GrowlerKind',
5705
5705
  onClose: '() => void',
5706
5706
  persist: 'boolean',
5707
5707
  title: 'string',
5708
5708
  };
5709
- var propTypes$12 = __assign(__assign({}, spsGlobalPropTypes), { imgSrc: string, kind: enumValue(GrowlerKind), onClose: fun(), persist: bool, title: string });
5709
+ var propTypes$15 = __assign(__assign({}, spsGlobalPropTypes), { imgSrc: string, kind: enumValue(GrowlerKind), onClose: fun(), persist: bool, title: string });
5710
5710
  function SpsGrowler(props) {
5711
5711
  var children = props.children, className = props.className, imgSrc = props.imgSrc, _a = props.kind, kind = _a === void 0 ? 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"]);
5712
5712
  var closeCallback = React.useRef(onClose);
@@ -5786,8 +5786,8 @@ function SpsGrowler(props) {
5786
5786
  React.createElement("i", { className: "sps-icon sps-icon-x", title: t('design-system:growler.dismiss') })))));
5787
5787
  }
5788
5788
  Object.assign(SpsGrowler, {
5789
- props: propsDoc$_,
5790
- propTypes: propTypes$12,
5789
+ props: propsDoc$11,
5790
+ propTypes: propTypes$15,
5791
5791
  displayName: 'SpsGrowler',
5792
5792
  });
5793
5793
 
@@ -5819,7 +5819,7 @@ var SpsGrowlerExamples = {
5819
5819
  examples: {
5820
5820
  primary: {
5821
5821
  description: 'Primary Message Only',
5822
- react: 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 "]))),
5822
+ react: 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 "]))),
5823
5823
  },
5824
5824
  primaryAndSecondary: {
5825
5825
  description: 'Primary and Secondary Messages',
@@ -5867,7 +5867,7 @@ var SpsGrowlerExamples = {
5867
5867
  react: 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 "]))),
5868
5868
  },
5869
5869
  primaryAndSecondary: {
5870
- react: 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 "]))),
5870
+ react: 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 "]))),
5871
5871
  },
5872
5872
  },
5873
5873
  },
@@ -5882,7 +5882,7 @@ var SpsGrowlerExamples = {
5882
5882
  react: 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 "]))),
5883
5883
  },
5884
5884
  primaryAndSecondary: {
5885
- react: 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 "]))),
5885
+ react: 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 "]))),
5886
5886
  },
5887
5887
  },
5888
5888
  },
@@ -5903,16 +5903,16 @@ var SpsGrowlerExamples = {
5903
5903
  },
5904
5904
  },
5905
5905
  };
5906
- 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;
5906
+ 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;
5907
5907
 
5908
- var propsDoc$Z = {
5908
+ var propsDoc$10 = {
5909
5909
  disabled: 'boolean',
5910
5910
  min: 'number',
5911
5911
  max: 'number',
5912
5912
  step: 'number',
5913
5913
  onValueChange: '(newValue: number) => void',
5914
5914
  };
5915
- var propTypes$11 = __assign({ disabled: bool, min: number, max: number, step: number, onValueChange: fun() }, spsGlobalPropTypes);
5915
+ var propTypes$14 = __assign({ disabled: bool, min: number, max: number, step: number, onValueChange: fun() }, spsGlobalPropTypes);
5916
5916
  function SpsIncrementor(props) {
5917
5917
  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']);
5918
5918
  var _b = __read(React.useState(min || 0), 2), value = _b[0], setValue = _b[1];
@@ -5972,8 +5972,8 @@ function SpsIncrementor(props) {
5972
5972
  React.createElement("i", { className: "sps-icon sps-icon-plus-sign", "aria-hidden": "true" })))));
5973
5973
  }
5974
5974
  Object.assign(SpsIncrementor, {
5975
- props: propsDoc$Z,
5976
- propTypes: propTypes$11,
5975
+ props: propsDoc$10,
5976
+ propTypes: propTypes$14,
5977
5977
  displayName: 'SpsIncrementor',
5978
5978
  });
5979
5979
 
@@ -5983,32 +5983,32 @@ var SpsIncrementorExamples = {
5983
5983
  description: 'info about incrementor',
5984
5984
  examples: {
5985
5985
  stacked: {
5986
- react: 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 "]))),
5986
+ react: 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 "]))),
5987
5987
  },
5988
5988
  },
5989
5989
  },
5990
5990
  };
5991
- var templateObject_1$y;
5991
+ var templateObject_1$z;
5992
5992
 
5993
- var propsDoc$Y = {
5993
+ var propsDoc$$ = {
5994
5994
  inline: 'boolean',
5995
5995
  };
5996
- var propTypes$10 = __assign(__assign({}, spsGlobalPropTypes), { inline: bool });
5996
+ var propTypes$13 = __assign(__assign({}, spsGlobalPropTypes), { inline: bool });
5997
5997
  function SpsKeyValueList(props) {
5998
5998
  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"]);
5999
5999
  var keyValueListClass = clsx(unsafelyReplaceClassName || 'sps-key-value-list', inline && 'sps-key-value-list--inline', className);
6000
6000
  return (React.createElement("div", __assign({ className: keyValueListClass, "data-testid": "" + testId }, rest), children));
6001
6001
  }
6002
6002
  Object.assign(SpsKeyValueList, {
6003
- props: propsDoc$Y,
6004
- propTypes: propTypes$10,
6003
+ props: propsDoc$$,
6004
+ propTypes: propTypes$13,
6005
6005
  displayName: 'SpsKeyValueList',
6006
6006
  });
6007
6007
 
6008
- var propsDoc$X = {
6008
+ var propsDoc$_ = {
6009
6009
  itemKey: { type: 'string', required: true },
6010
6010
  };
6011
- var propTypes$$ = __assign(__assign({}, spsGlobalPropTypes), { itemKey: string.isRequired });
6011
+ var propTypes$12 = __assign(__assign({}, spsGlobalPropTypes), { itemKey: string.isRequired });
6012
6012
  function SpsKeyValueListItem(props) {
6013
6013
  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"]);
6014
6014
  var classes = clsx(unsafelyReplaceClassName || 'sps-key-value-list__item', className);
@@ -6017,8 +6017,8 @@ function SpsKeyValueListItem(props) {
6017
6017
  React.createElement("span", { className: "sps-key-value-list__value", "data-testid": testId + "__value" }, children)));
6018
6018
  }
6019
6019
  Object.assign(SpsKeyValueListItem, {
6020
- props: propsDoc$X,
6021
- propTypes: propTypes$$,
6020
+ props: propsDoc$_,
6021
+ propTypes: propTypes$12,
6022
6022
  displayName: 'SpsKeyValueListItem',
6023
6023
  });
6024
6024
 
@@ -6027,7 +6027,7 @@ var SpsKeyValueListExamples = {
6027
6027
  label: 'Stacked',
6028
6028
  examples: {
6029
6029
  stacked: {
6030
- jsx: 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 "]))),
6030
+ jsx: 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 "]))),
6031
6031
  },
6032
6032
  },
6033
6033
  },
@@ -6040,9 +6040,9 @@ var SpsKeyValueListExamples = {
6040
6040
  },
6041
6041
  },
6042
6042
  };
6043
- var templateObject_1$x, templateObject_2$u;
6043
+ var templateObject_1$y, templateObject_2$u;
6044
6044
 
6045
- var propsDoc$W = {
6045
+ var propsDoc$Z = {
6046
6046
  for: { type: 'SpsFormMetaBase<any>', required: true },
6047
6047
  description: 'string',
6048
6048
  stronglySuggested: 'boolean',
@@ -6051,7 +6051,7 @@ var propsDoc$W = {
6051
6051
  helpIconColor: 'string',
6052
6052
  errors: 'ReactNodeOrRenderFn',
6053
6053
  };
6054
- var propTypes$_ = __assign(__assign({}, spsGlobalPropTypes), { description: string, for: oneOfType([
6054
+ var propTypes$11 = __assign(__assign({}, spsGlobalPropTypes), { description: string, for: oneOfType([
6055
6055
  impl(),
6056
6056
  impl(),
6057
6057
  ]).isRequired, stronglySuggested: bool, help: nodeOrRenderFn, helpIcon: enumValue(SpsIcon$1), helpIconColor: string, errors: nodeOrRenderFn });
@@ -6168,8 +6168,8 @@ function SpsLabel(_a) {
6168
6168
  description && React.createElement("div", { className: "sps-form-control__description" }, description)));
6169
6169
  }
6170
6170
  Object.assign(SpsLabel, {
6171
- props: propsDoc$W,
6172
- propTypes: propTypes$_,
6171
+ props: propsDoc$Z,
6172
+ propTypes: propTypes$11,
6173
6173
  displayName: 'SpsLabel',
6174
6174
  });
6175
6175
 
@@ -6178,7 +6178,7 @@ var SpsLabelExamples = {
6178
6178
  label: 'Basic',
6179
6179
  examples: {
6180
6180
  basic: {
6181
- react: 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 "]))),
6181
+ react: 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 "]))),
6182
6182
  },
6183
6183
  },
6184
6184
  },
@@ -6226,18 +6226,18 @@ var SpsLabelExamples = {
6226
6226
  react: 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 "]))),
6227
6227
  },
6228
6228
  b_combo2: {
6229
- react: 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 "]))),
6229
+ react: 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 "]))),
6230
6230
  },
6231
6231
  },
6232
6232
  },
6233
6233
  };
6234
- 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;
6234
+ 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;
6235
6235
 
6236
- var propsDoc$V = {
6236
+ var propsDoc$Y = {
6237
6237
  clearSelected: { type: '() => void', required: true },
6238
6238
  itemsSelected: { type: 'string | number', required: true },
6239
6239
  };
6240
- var propTypes$Z = __assign(__assign({}, spsGlobalPropTypes), { clearSelected: fun().isRequired, itemsSelected: oneOfType([string, number]) });
6240
+ var propTypes$10 = __assign(__assign({}, spsGlobalPropTypes), { clearSelected: fun().isRequired, itemsSelected: oneOfType([string, number]) });
6241
6241
  function SpsListActionBar(props) {
6242
6242
  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"]);
6243
6243
  var t = React.useContext(I18nContext).t;
@@ -6258,11 +6258,39 @@ function SpsListActionBar(props) {
6258
6258
  React.createElement(SpsButton, { kind: ButtonKind.LINK, icon: SpsIcon$1.X, onClick: handleClearClick, "data-testid": testId + "__clear-button" }, t('design-system:listActionBar.clearSelected'))))))));
6259
6259
  }
6260
6260
  Object.assign(SpsListActionBar, {
6261
- props: propsDoc$V,
6262
- propTypes: propTypes$Z,
6261
+ props: propsDoc$Y,
6262
+ propTypes: propTypes$10,
6263
6263
  displayName: 'SpsListActionBar',
6264
6264
  });
6265
6265
 
6266
+ var getScrollParent = function (node) {
6267
+ var regex = /(auto|scroll)/;
6268
+ var parents = function (_node, ps) {
6269
+ if (_node.parentNode === null) {
6270
+ return ps;
6271
+ }
6272
+ return parents(_node.parentNode, ps.concat([_node]));
6273
+ };
6274
+ var style = function (_node, prop) { return getComputedStyle(_node, null).getPropertyValue(prop); };
6275
+ var overflow = function (_node) { return style(_node, 'overflow') + style(_node, 'overflow-y'); };
6276
+ var scroll = function (_node) { return regex.test(overflow(_node)); };
6277
+ /* eslint-disable consistent-return */
6278
+ var scrollParent = function (_node) {
6279
+ if (!(_node instanceof HTMLElement || _node instanceof SVGElement)) {
6280
+ return;
6281
+ }
6282
+ var ps = parents(_node.parentNode, []);
6283
+ for (var i = 0; i < ps.length; i += 1) {
6284
+ if (scroll(ps[i])) {
6285
+ return ps[i];
6286
+ }
6287
+ }
6288
+ return null;
6289
+ };
6290
+ return scrollParent(node);
6291
+ /* eslint-enable consistent-return */
6292
+ };
6293
+
6266
6294
  /* eslint-disable no-param-reassign */
6267
6295
  var usePinnedCellStyle = function (isPinned, elementRef) {
6268
6296
  React.useLayoutEffect(function () {
@@ -6334,15 +6362,126 @@ var usePinnedTableBackgroundStyle = function (containerRef) {
6334
6362
  }
6335
6363
  }
6336
6364
  });
6365
+ };
6366
+ var usePinnedTableHeadStyle = function (containerRef) {
6367
+ React.useLayoutEffect(function () {
6368
+ var container = containerRef.current;
6369
+ var headElement = container === null || container === void 0 ? void 0 : container.querySelector('thead');
6370
+ var table = container === null || container === void 0 ? void 0 : container.querySelector('table');
6371
+ var tableBodyFirstRow = table === null || table === void 0 ? void 0 : table.querySelector('tbody>tr');
6372
+ var tableBodyFirstRowCells = tableBodyFirstRow === null || tableBodyFirstRow === void 0 ? void 0 : tableBodyFirstRow.querySelectorAll('td');
6373
+ var tableHeadCells = headElement === null || headElement === void 0 ? void 0 : headElement.querySelectorAll('th');
6374
+ var navBarContainer = document.body.querySelector('.sps-navbar-container');
6375
+ var placeholder = container === null || container === void 0 ? void 0 : container.querySelector('.placeholder-head');
6376
+ var scrollableParent = null;
6377
+ var resetAppliedStyles = function () {
6378
+ if (headElement) {
6379
+ headElement.style.position = null;
6380
+ headElement.style.top = null;
6381
+ headElement.style.overflow = null;
6382
+ headElement.style.maxWidth = null;
6383
+ headElement.style.width = null;
6384
+ headElement.style.minWidth = null;
6385
+ }
6386
+ if (placeholder) {
6387
+ placeholder.style.width = null;
6388
+ placeholder.style.height = null;
6389
+ }
6390
+ if (tableBodyFirstRowCells) {
6391
+ Array.from(tableBodyFirstRowCells).forEach(function (cell, idx) {
6392
+ tableHeadCells[idx].style.minWidth = null;
6393
+ tableHeadCells[idx].style.width = null;
6394
+ tableHeadCells[idx].style.maxWidth = null;
6395
+ cell.style.minWidth = null;
6396
+ cell.style.width = null;
6397
+ cell.style.maxWidth = null;
6398
+ });
6399
+ }
6400
+ };
6401
+ var adjustHorizontalScroll = function () {
6402
+ headElement.scrollLeft = container.scrollLeft;
6403
+ };
6404
+ var adjustHeadPosition = function () {
6405
+ var topPosition = null;
6406
+ if (scrollableParent === window) {
6407
+ topPosition = navBarContainer ? navBarContainer.getBoundingClientRect().height : 0;
6408
+ }
6409
+ else if (scrollableParent instanceof HTMLElement) {
6410
+ topPosition = scrollableParent.getBoundingClientRect().top;
6411
+ }
6412
+ var containerHorizontalScroll = container.scrollLeft;
6413
+ var headRect = headElement.getBoundingClientRect();
6414
+ var containerRect = container.getBoundingClientRect();
6415
+ if (headRect.top <= topPosition
6416
+ && topPosition <= containerRect.bottom - headRect.height
6417
+ && containerRect.top <= topPosition) {
6418
+ headElement.style.position = 'fixed';
6419
+ headElement.style.top = topPosition + "px";
6420
+ headElement.style.overflow = 'hidden';
6421
+ var headElementWidth = containerRect.width + "px";
6422
+ headElement.style.maxWidth = headElementWidth;
6423
+ headElement.style.width = headElementWidth;
6424
+ headElement.style.minWidth = headElementWidth;
6425
+ if (tableBodyFirstRowCells) {
6426
+ Array.from(tableBodyFirstRowCells).forEach(function (cell, idx) {
6427
+ var cellWidth = cell.getBoundingClientRect().width;
6428
+ var headerWidth = tableHeadCells[idx].getBoundingClientRect().width;
6429
+ var width = Math.max(cellWidth, headerWidth) + "px";
6430
+ tableHeadCells[idx].style.minWidth = width;
6431
+ tableHeadCells[idx].style.width = width;
6432
+ tableHeadCells[idx].style.maxWidth = width;
6433
+ cell.style.minWidth = width;
6434
+ cell.style.width = width;
6435
+ cell.style.maxWidth = width;
6436
+ });
6437
+ }
6438
+ if (!placeholder) {
6439
+ placeholder = document.createElement('div');
6440
+ placeholder.style.width = headRect.width + "px";
6441
+ placeholder.style.height = headRect.height + "px";
6442
+ placeholder.className = 'placeholder-head';
6443
+ container.insertBefore(placeholder, table);
6444
+ }
6445
+ }
6446
+ else if (placeholder) {
6447
+ container.removeChild(placeholder);
6448
+ placeholder = null;
6449
+ resetAppliedStyles();
6450
+ }
6451
+ container.scrollLeft = containerHorizontalScroll;
6452
+ adjustHorizontalScroll();
6453
+ };
6454
+ var adjustElements = function () {
6455
+ resetAppliedStyles();
6456
+ adjustHeadPosition();
6457
+ adjustHorizontalScroll();
6458
+ };
6459
+ if (headElement && headElement.classList.contains('sps-table__head--pinned')) {
6460
+ scrollableParent = getScrollParent(container) || window;
6461
+ scrollableParent.addEventListener('scroll', adjustHeadPosition);
6462
+ window.addEventListener('resize', adjustElements);
6463
+ container.addEventListener('scroll', adjustHorizontalScroll);
6464
+ adjustElements();
6465
+ }
6466
+ return function () {
6467
+ if (scrollableParent) {
6468
+ scrollableParent.removeEventListener('scroll', adjustHeadPosition);
6469
+ window.removeEventListener('resize', adjustElements);
6470
+ }
6471
+ if (container) {
6472
+ container.removeEventListener('scroll', adjustHorizontalScroll);
6473
+ }
6474
+ };
6475
+ });
6337
6476
  };
6338
6477
 
6339
- var propsDoc$U = {
6478
+ var propsDoc$X = {
6340
6479
  controlCell: 'boolean',
6341
6480
  currentSort: 'Array<SortedColumn>',
6342
6481
  onSortChange: 'SortChangeHandler',
6343
6482
  sortKey: 'string',
6344
6483
  };
6345
- var propTypes$Y = __assign(__assign({}, spsGlobalPropTypes), { controlCell: bool, currentSort: arrayOf(impl()), onSortChange: fun(), sortKey: string, pinned: bool });
6484
+ var propTypes$$ = __assign(__assign({}, spsGlobalPropTypes), { controlCell: bool, currentSort: arrayOf(impl()), onSortChange: fun(), sortKey: string, pinned: bool });
6346
6485
  function SpsTableHeader(props) {
6347
6486
  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"]);
6348
6487
  var _a = __read(React.useState(), 2), sort = _a[0], setSort = _a[1];
@@ -6371,24 +6510,24 @@ function SpsTableHeader(props) {
6371
6510
  React.createElement("span", { className: "sps-table__header-cell-body", "data-testid": testId + "__header-cell-body", onClick: flipSort, tabIndex: sortKey ? 0 : null, onKeyDown: handleKeyEvent }, children)));
6372
6511
  }
6373
6512
  Object.assign(SpsTableHeader, {
6374
- props: propsDoc$U,
6375
- propTypes: propTypes$Y,
6513
+ props: propsDoc$X,
6514
+ propTypes: propTypes$$,
6376
6515
  displayName: 'SpsTableHeader',
6377
6516
  });
6378
6517
  function SpsTh(props) {
6379
6518
  return SpsTableHeader(props);
6380
6519
  }
6381
6520
  Object.assign(SpsTh, {
6382
- props: propsDoc$U,
6383
- propTypes: propTypes$Y,
6521
+ props: propsDoc$X,
6522
+ propTypes: propTypes$$,
6384
6523
  displayName: 'SpsTh',
6385
6524
  });
6386
6525
 
6387
- var propsDoc$T = {
6526
+ var propsDoc$W = {
6388
6527
  currentSort: 'Array<SortedColumn>',
6389
6528
  onSortChange: 'SortChangeHandler',
6390
6529
  };
6391
- var propTypes$X = __assign(__assign({}, spsGlobalPropTypes), { currentSort: arrayOf(impl()), onSortChange: fun() });
6530
+ var propTypes$_ = __assign(__assign({}, spsGlobalPropTypes), { currentSort: arrayOf(impl()), onSortChange: fun() });
6392
6531
  function SpsTableRow(props) {
6393
6532
  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"]);
6394
6533
  var newProps = {
@@ -6404,31 +6543,31 @@ function SpsTableRow(props) {
6404
6543
  })));
6405
6544
  }
6406
6545
  Object.assign(SpsTableRow, {
6407
- props: propsDoc$T,
6408
- propTypes: propTypes$X,
6546
+ props: propsDoc$W,
6547
+ propTypes: propTypes$_,
6409
6548
  displayName: 'SpsTableRow',
6410
6549
  });
6411
6550
  function SpsTr(props) {
6412
6551
  return SpsTableRow(props);
6413
6552
  }
6414
6553
  Object.assign(SpsTr, {
6415
- props: propsDoc$T,
6416
- propTypes: propTypes$X,
6554
+ props: propsDoc$W,
6555
+ propTypes: propTypes$_,
6417
6556
  displayName: 'SpsTr',
6418
6557
  });
6419
6558
 
6420
- var propsDoc$S = {
6559
+ var propsDoc$V = {
6421
6560
  currentSort: 'Array<SortedColumn>',
6422
6561
  onSortChange: 'SortChangeHandler',
6423
6562
  };
6424
- var propTypes$W = __assign(__assign({}, spsGlobalPropTypes), { onSortChange: fun(), currentSort: arrayOf(impl()) });
6563
+ var propTypes$Z = __assign(__assign({}, spsGlobalPropTypes), { onSortChange: fun(), currentSort: arrayOf(impl()), pinned: bool });
6425
6564
  function SpsTableHead(props) {
6426
- 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"]);
6565
+ 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"]);
6427
6566
  var newProps = {
6428
6567
  onSortChange: onSortChange,
6429
6568
  currentSort: currentSort,
6430
6569
  };
6431
- var classes = clsx(unsafelyReplaceClassName || 'sps-table__head', className);
6570
+ var classes = clsx(unsafelyReplaceClassName || 'sps-table__head', pinned && 'sps-table__head--pinned', className);
6432
6571
  return (React.createElement("thead", __assign({ className: classes, "data-testid": testId + "__head" }, rest), React.Children.map(children, function (child) {
6433
6572
  if (child && (child.type === SpsTableRow || child.type === SpsTr)) {
6434
6573
  return React.cloneElement(child, newProps);
@@ -6437,25 +6576,25 @@ function SpsTableHead(props) {
6437
6576
  })));
6438
6577
  }
6439
6578
  Object.assign(SpsTableHead, {
6440
- props: propsDoc$S,
6441
- propTypes: propTypes$W,
6579
+ props: propsDoc$V,
6580
+ propTypes: propTypes$Z,
6442
6581
  displayName: 'SpsTableHead',
6443
6582
  });
6444
6583
  function SpsThead(props) {
6445
6584
  return SpsTableHead(props);
6446
6585
  }
6447
6586
  Object.assign(SpsThead, {
6448
- props: propsDoc$S,
6449
- propTypes: propTypes$W,
6587
+ props: propsDoc$V,
6588
+ propTypes: propTypes$Z,
6450
6589
  displayName: 'SpsThead',
6451
6590
  });
6452
6591
 
6453
- var propsDoc$R = {
6592
+ var propsDoc$U = {
6454
6593
  sort: 'SortedColumn',
6455
6594
  onSortChange: 'SortChangeHandler',
6456
6595
  selectable: 'boolean',
6457
6596
  };
6458
- var propTypes$V = __assign(__assign({}, spsGlobalPropTypes), { onSortChange: fun(), sort: arrayOf(impl()), selectable: bool });
6597
+ var propTypes$Y = __assign(__assign({}, spsGlobalPropTypes), { onSortChange: fun(), sort: arrayOf(impl()), selectable: bool });
6459
6598
  function SpsTable(props) {
6460
6599
  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"]);
6461
6600
  var _a = __read(React.useState(sort), 2), currentSort = _a[0], setSort = _a[1];
@@ -6480,6 +6619,7 @@ function SpsTable(props) {
6480
6619
  var classes = clsx(unsafelyReplaceClassName || 'sps-table-container', className);
6481
6620
  var containerRef = React.useRef(null);
6482
6621
  usePinnedTableBackgroundStyle(containerRef);
6622
+ usePinnedTableHeadStyle(containerRef);
6483
6623
  return (React.createElement("div", { ref: containerRef, className: classes },
6484
6624
  React.createElement("table", __assign({ className: "sps-table", role: "table", "data-testid": "" + testId }, rest), React.Children.map(children, function (child) {
6485
6625
  if (child.type === SpsTableHead || child.type === SpsThead) {
@@ -6489,38 +6629,38 @@ function SpsTable(props) {
6489
6629
  }))));
6490
6630
  }
6491
6631
  Object.assign(SpsTable, {
6492
- props: propsDoc$R,
6493
- propTypes: propTypes$V,
6632
+ props: propsDoc$U,
6633
+ propTypes: propTypes$Y,
6494
6634
  displayName: 'SpsTable',
6495
6635
  });
6496
6636
 
6497
- var propsDoc$Q = {};
6498
- var propTypes$U = __assign({}, spsGlobalPropTypes);
6637
+ var propsDoc$T = {};
6638
+ var propTypes$X = __assign({}, spsGlobalPropTypes);
6499
6639
  function SpsTableBody(props) {
6500
6640
  var children = props.children, className = props.className, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", 'data-testid', "unsafelyReplaceClassName"]);
6501
6641
  var classes = clsx(unsafelyReplaceClassName || 'sps-table__body', className);
6502
6642
  return (React.createElement("tbody", __assign({ className: classes, "data-testid": testId + "__body" }, rest), children));
6503
6643
  }
6504
6644
  Object.assign(SpsTableBody, {
6505
- props: propsDoc$Q,
6506
- propTypes: propTypes$U,
6645
+ props: propsDoc$T,
6646
+ propTypes: propTypes$X,
6507
6647
  displayName: 'SpsTableBody',
6508
6648
  });
6509
6649
  function SpsTbody(props) {
6510
6650
  return SpsTableBody(props);
6511
6651
  }
6512
6652
  Object.assign(SpsTbody, {
6513
- props: propsDoc$Q,
6514
- propTypes: propTypes$U,
6653
+ props: propsDoc$T,
6654
+ propTypes: propTypes$X,
6515
6655
  displayName: 'SpsTbody',
6516
6656
  });
6517
6657
 
6518
- var propsDoc$P = {
6658
+ var propsDoc$S = {
6519
6659
  buttonCell: 'boolean',
6520
6660
  controlCell: 'boolean',
6521
6661
  wrap: 'SpsTableCellWrapWidth',
6522
6662
  };
6523
- var propTypes$T = __assign(__assign({}, spsGlobalPropTypes), { buttonCell: bool, controlCell: bool, wrap: oneOf([200, 300, 400, 500, 600]), pinned: bool });
6663
+ var propTypes$W = __assign(__assign({}, spsGlobalPropTypes), { buttonCell: bool, controlCell: bool, wrap: oneOf([200, 300, 400, 500, 600]), pinned: bool });
6524
6664
  function SpsTableCell(props) {
6525
6665
  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"]);
6526
6666
  var classes = clsx(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);
@@ -6529,21 +6669,21 @@ function SpsTableCell(props) {
6529
6669
  return (React.createElement("td", __assign({ className: classes, ref: tableCellRef, role: "cell", "data-testid": testId + "__cell" }, rest), children));
6530
6670
  }
6531
6671
  Object.assign(SpsTableCell, {
6532
- props: propsDoc$P,
6533
- propTypes: propTypes$T,
6672
+ props: propsDoc$S,
6673
+ propTypes: propTypes$W,
6534
6674
  displayName: 'SpsTableCell',
6535
6675
  });
6536
6676
  function SpsTd(props) {
6537
6677
  return SpsTableCell(props);
6538
6678
  }
6539
6679
  Object.assign(SpsTd, {
6540
- props: propsDoc$P,
6541
- propTypes: propTypes$T,
6680
+ props: propsDoc$S,
6681
+ propTypes: propTypes$W,
6542
6682
  displayName: 'SpsTd',
6543
6683
  });
6544
6684
 
6545
- var propsDoc$O = {};
6546
- var propTypes$S = __assign({}, spsGlobalPropTypes);
6685
+ var propsDoc$R = {};
6686
+ var propTypes$V = __assign({}, spsGlobalPropTypes);
6547
6687
  var CSS_BLOCK$3 = 'sps-icon-button-panel';
6548
6688
  function SpsIconButtonPanel(_a) {
6549
6689
  var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]);
@@ -6554,8 +6694,8 @@ function SpsIconButtonPanel(_a) {
6554
6694
  return (React.createElement("div", __assign({ className: classes }, rest), iconButtons));
6555
6695
  }
6556
6696
  Object.assign(SpsIconButtonPanel, {
6557
- props: propsDoc$O,
6558
- propTypes: propTypes$S,
6697
+ props: propsDoc$R,
6698
+ propTypes: propTypes$V,
6559
6699
  displayName: 'SpsIconButtonPanel',
6560
6700
  });
6561
6701
 
@@ -6589,7 +6729,7 @@ var SpsTableExamples = {
6589
6729
  React.createElement("div", { className: "sps-body-14" },
6590
6730
  "Tables can be used in conjunction with the",
6591
6731
  ' ',
6592
- React.createElement(NavigateTo, { to: "List Search Bar" }, "List Search Bar"),
6732
+ React.createElement(NavigateTo, { to: "List Toolbar" }, "List Toolbar"),
6593
6733
  " and",
6594
6734
  ' ',
6595
6735
  React.createElement(NavigateTo, { to: "Pagination" }, "Pagination"),
@@ -6597,7 +6737,7 @@ var SpsTableExamples = {
6597
6737
  },
6598
6738
  examples: {
6599
6739
  basic: {
6600
- react: 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 "]))),
6740
+ react: 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 "]))),
6601
6741
  },
6602
6742
  },
6603
6743
  },
@@ -6611,7 +6751,7 @@ var SpsTableExamples = {
6611
6751
  React.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)."))); },
6612
6752
  examples: {
6613
6753
  sorting: {
6614
- react: 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 "]))),
6754
+ react: 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 "]))),
6615
6755
  },
6616
6756
  },
6617
6757
  },
@@ -6629,7 +6769,7 @@ var SpsTableExamples = {
6629
6769
  description: function () { return (React.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.")); },
6630
6770
  examples: {
6631
6771
  scroll: {
6632
- react: 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 "]))),
6772
+ react: 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 "]))),
6633
6773
  },
6634
6774
  },
6635
6775
  },
@@ -6645,7 +6785,7 @@ var SpsTableExamples = {
6645
6785
  },
6646
6786
  examples: {
6647
6787
  controls: {
6648
- react: 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 "]))),
6788
+ react: 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 "]))),
6649
6789
  },
6650
6790
  },
6651
6791
  },
@@ -6674,19 +6814,27 @@ var SpsTableExamples = {
6674
6814
  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.',
6675
6815
  examples: {
6676
6816
  controls: {
6677
- react: 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 "]))),
6817
+ react: 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 "]))),
6818
+ },
6819
+ },
6820
+ },
6821
+ stickyHeaders: {
6822
+ label: 'Sticky Headers',
6823
+ examples: {
6824
+ basic: {
6825
+ react: 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 "]))),
6678
6826
  },
6679
6827
  },
6680
6828
  },
6681
6829
  };
6682
- var templateObject_1$v, templateObject_2$s, templateObject_3$o, templateObject_4$i, templateObject_5$b, templateObject_6$8, templateObject_7$7;
6830
+ 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;
6683
6831
 
6684
6832
  var SpsTagExamples = {
6685
6833
  basic: {
6686
6834
  label: 'Basic Tag',
6687
6835
  examples: {
6688
6836
  basic: {
6689
- react: 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 "]))),
6837
+ react: 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 "]))),
6690
6838
  },
6691
6839
  },
6692
6840
  },
@@ -6699,7 +6847,7 @@ var SpsTagExamples = {
6699
6847
  },
6700
6848
  },
6701
6849
  };
6702
- var templateObject_1$u, templateObject_2$r;
6850
+ var templateObject_1$v, templateObject_2$r;
6703
6851
 
6704
6852
  var SpsListActionBarExamples = {
6705
6853
  general: {
@@ -6745,14 +6893,14 @@ var SpsListActionBarExamples = {
6745
6893
  description: 'This example makes use of the Text Buttons + Icon Buttons + Basic Buttons Group.',
6746
6894
  examples: {
6747
6895
  basic: {
6748
- react: 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 "]))),
6896
+ react: 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 "]))),
6749
6897
  },
6750
6898
  },
6751
6899
  },
6752
6900
  };
6753
- var templateObject_1$t;
6901
+ var templateObject_1$u;
6754
6902
 
6755
- var propTypes$R = __assign(__assign({}, spsGlobalPropTypes), { tabs: arrayOf(impl()).isRequired, activeTab: impl(), onTabChange: fun() });
6903
+ var propTypes$U = __assign(__assign({}, spsGlobalPropTypes), { tabs: arrayOf(impl()).isRequired, activeTab: impl(), onTabChange: fun() });
6756
6904
  function SpsTabs(props) {
6757
6905
  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']);
6758
6906
  var _a = __read(React.useState(null), 2), activeTabState = _a[0], setActiveTabState = _a[1];
@@ -6784,15 +6932,15 @@ function SpsTabs(props) {
6784
6932
  tab.tag && React.createElement("span", { className: "sps-tag sps-tag--key" }, tab.tag))); }))));
6785
6933
  }
6786
6934
  Object.assign(SpsTabs, {
6787
- propTypes: propTypes$R,
6935
+ propTypes: propTypes$U,
6788
6936
  displayName: 'SpsTabs',
6789
6937
  });
6790
6938
 
6791
- var propsDoc$N = {
6939
+ var propsDoc$Q = {
6792
6940
  formMeta: 'SpsFormSetMeta<any>',
6793
6941
  stacked: 'boolean',
6794
6942
  };
6795
- var propTypes$Q = __assign(__assign({}, spsGlobalPropTypes), { formArray: impl(), formGroup: impl(), formMeta: impl(), stacked: bool });
6943
+ var propTypes$T = __assign(__assign({}, spsGlobalPropTypes), { formArray: impl(), formGroup: impl(), formMeta: impl(), stacked: bool });
6796
6944
  function SpsInputGroup(_a) {
6797
6945
  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"]);
6798
6946
  var formControlSet = formGroup || formArray;
@@ -6816,15 +6964,15 @@ function SpsInputGroup(_a) {
6816
6964
  React.createElement("div", { className: clsx('sps-input-group', stacked && 'sps-input-group--stacked') }, children)));
6817
6965
  }
6818
6966
  Object.assign(SpsInputGroup, {
6819
- props: propsDoc$N,
6820
- propTypes: propTypes$Q,
6967
+ props: propsDoc$Q,
6968
+ propTypes: propTypes$T,
6821
6969
  displayName: 'SpsInputGroup',
6822
6970
  });
6823
6971
 
6824
- var propsDoc$M = {
6972
+ var propsDoc$P = {
6825
6973
  onSubmit: 'FormEventHandler',
6826
6974
  };
6827
- var propTypes$P = __assign(__assign({}, spsGlobalPropTypes), { onSubmit: fun() });
6975
+ var propTypes$S = __assign(__assign({}, spsGlobalPropTypes), { onSubmit: fun() });
6828
6976
  function SpsListToolbarSearch(props) {
6829
6977
  var children = props.children, onSubmit = props.onSubmit;
6830
6978
  function handleSubmit(event) {
@@ -6837,12 +6985,12 @@ function SpsListToolbarSearch(props) {
6837
6985
  React.createElement(SpsInputGroup, { className: "sps-list-toolbar__search-field" }, children)));
6838
6986
  }
6839
6987
  Object.assign(SpsListToolbarSearch, {
6840
- props: propsDoc$M,
6841
- propTypes: propTypes$P,
6988
+ props: propsDoc$P,
6989
+ propTypes: propTypes$S,
6842
6990
  displayName: 'SpsListToolbarSearch',
6843
6991
  });
6844
6992
 
6845
- var propsDoc$L = {
6993
+ var propsDoc$O = {
6846
6994
  activeTab: 'SpsTab',
6847
6995
  advancedSearch: '{ isOpen: boolean, enteredFields: number }',
6848
6996
  onToggleAdvancedSearch: '(boolean) => void',
@@ -6850,13 +6998,17 @@ var propsDoc$L = {
6850
6998
  title: 'string',
6851
6999
  tabs: 'Array<SpsTab>',
6852
7000
  onToolbarPinned: '(boolean) => void',
7001
+ selectable: 'boolean',
7002
+ isSelected: 'boolean',
7003
+ isIndeterminate: 'boolean',
7004
+ onSelectionChange: '(boolean) => void',
6853
7005
  };
6854
- var propTypes$O = __assign(__assign({}, spsGlobalPropTypes), { activeTab: impl(), advancedSearch: shape({
7006
+ var propTypes$R = __assign(__assign({}, spsGlobalPropTypes), { activeTab: impl(), advancedSearch: shape({
6855
7007
  isOpen: bool,
6856
7008
  enteredFields: number,
6857
- }), onToggleAdvancedSearch: fun(), onTabChange: fun(), title: string, tabs: arrayOf(impl()), onToolbarPinned: fun() });
7009
+ }), onToggleAdvancedSearch: fun(), onTabChange: fun(), title: string, tabs: arrayOf(impl()), onToolbarPinned: fun(), selectable: bool, isSelected: bool, isIndeterminate: bool, onSelectionChange: fun() });
6858
7010
  function SpsListToolbar(props) {
6859
- 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']);
7011
+ 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']);
6860
7012
  var t = React.useContext(I18nContext).t;
6861
7013
  var unpinScrollY = null;
6862
7014
  var _a = __read(React.useState(false), 2), isPinned = _a[0], setIsPinned = _a[1];
@@ -6910,7 +7062,11 @@ function SpsListToolbar(props) {
6910
7062
  { type: SpsListToolbarSearch },
6911
7063
  ]), 2), listToolbarSearch = _b[0], otherChildren = _b[1];
6912
7064
  return (React.createElement("div", __assign({ className: classes, "data-testid": testId, ref: rootElement }, rest),
6913
- tabs && React.createElement(SpsTabs, { tabs: tabs, onTabChange: handleTabChange, activeTab: activeTab, "data-testid": testId + "__tabs" }),
7065
+ !!selectable && (React.createElement("div", { className: "sps-list-toolbar__selection-controls" },
7066
+ React.createElement(SpsCheckbox, { checked: isSelected, indeterminate: isIndeterminate, onChange: function () {
7067
+ onSelectionChange === null || onSelectionChange === void 0 ? void 0 : onSelectionChange(!isSelected);
7068
+ } }))),
7069
+ tabs && (React.createElement(SpsTabs, { tabs: tabs, onTabChange: handleTabChange, activeTab: activeTab, "data-testid": testId + "__tabs" })),
6914
7070
  React.createElement("div", { className: "sps-list-toolbar__search-controls" },
6915
7071
  !title && listToolbarSearch,
6916
7072
  listToolbarSearch.length > 0 && advancedSearch && (React.createElement("div", { className: "sps-list-toolbar__advanced-search-toggle", "data-testid": testId + "__advanced-search" },
@@ -6918,14 +7074,13 @@ function SpsListToolbar(props) {
6918
7074
  React.createElement(SpsButton, { kind: ButtonKind.LINK, onClick: toggleAdvancedSearch }, t('design-system:listToolbar.advancedSearchToggle'))),
6919
7075
  advancedSearch.enteredFields > 0 && (React.createElement(SpsTag, { kind: TagKind.INFO },
6920
7076
  React.createElement("span", null, advancedSearch.enteredFields))))),
6921
- title
6922
- && (React.createElement("div", { "data-testid": testId + "-title", className: "sps-list-toolbar__advanced-search-title" }, title))),
7077
+ title && (React.createElement("div", { "data-testid": testId + "-title", className: "sps-list-toolbar__advanced-search-title" }, title))),
6923
7078
  isPinned ? (React.createElement("div", { className: "sps-list-toolbar__header-content" },
6924
7079
  React.createElement(PortalContext.Provider, { value: { fixed: true } }, otherChildren))) : (React.createElement("div", { className: "sps-list-toolbar__header-content" }, otherChildren))));
6925
7080
  }
6926
7081
  Object.assign(SpsListToolbar, {
6927
- props: propsDoc$L,
6928
- propTypes: propTypes$O,
7082
+ props: propsDoc$O,
7083
+ propTypes: propTypes$R,
6929
7084
  displayName: 'SpsListToolbar',
6930
7085
  });
6931
7086
 
@@ -7006,34 +7161,25 @@ var SpsListToolbarExamples = {
7006
7161
  label: 'Content Order',
7007
7162
  description: React.createElement(ContentOrderExample, null),
7008
7163
  },
7009
- // TODO: updates needed to the list toolbar component
7010
- // checkbox: {
7011
- // label: 'Checkbox',
7012
- // description: ({ NavigateTo }) => (
7013
- // <p>
7014
- // Use a Checkbox in the List Toolbar when items in a{' '}
7015
- // <NavigateTo to="content-row">Content Row</NavigateTo> or{' '}
7016
- // <NavigateTo to="tile-list">Content Tile</NavigateTo> are selectable. The Checkbox
7017
- // selects all items in the list, and will cause the Action Bar to appear.
7018
- // Do not use this with a Table, as Tables have a built-in checkbox in the
7019
- // header row.
7020
- // </p>
7021
- // ),
7022
- // examples: {
7023
- // checkbox: {
7024
- // react: code`
7025
- // function Component() {
7026
- // const { formValue, formMeta, updateForm } = useSpsForm({
7027
- // searchText: "",
7028
- // });
7029
- // return (
7030
- // <p>placeholder</p>
7031
- // )
7032
- // }
7033
- // `,
7034
- // },
7035
- // },
7036
- // },
7164
+ checkbox: {
7165
+ label: 'Checkbox',
7166
+ description: function (_a) {
7167
+ var NavigateTo = _a.NavigateTo;
7168
+ return (React.createElement("p", null,
7169
+ "Use a Checkbox in the List Toolbar when items in a",
7170
+ ' ',
7171
+ React.createElement(NavigateTo, { to: "content-row" }, "Content Row"),
7172
+ " or",
7173
+ ' ',
7174
+ React.createElement(NavigateTo, { to: "tile-list" }, "Content Tile"),
7175
+ " 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."));
7176
+ },
7177
+ examples: {
7178
+ checkbox: {
7179
+ react: 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 "]))),
7180
+ },
7181
+ },
7182
+ },
7037
7183
  searchAndFilter: {
7038
7184
  label: 'Search + Filter Inputs',
7039
7185
  description: function () { return (React.createElement("p", null, "Use Search and Filter inputs to make it easier to quickly find list items.")); },
@@ -7042,25 +7188,25 @@ var SpsListToolbarExamples = {
7042
7188
  description: function () { return (React.createElement(React.Fragment, null,
7043
7189
  React.createElement("h5", null, "Search"),
7044
7190
  React.createElement("p", null, "Use Search to find list item(s) starting from an empty list."))); },
7045
- react: 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 "]))),
7191
+ react: 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 "]))),
7046
7192
  },
7047
7193
  searchAndSelect: {
7048
7194
  description: function () { return (React.createElement(React.Fragment, null,
7049
7195
  React.createElement("h5", null, "Search + Select"),
7050
7196
  React.createElement("p", null, "Use Select to search for list item(s) in a particular category."))); },
7051
- react: 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 "]))),
7197
+ react: 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 "]))),
7052
7198
  },
7053
7199
  filter: {
7054
7200
  description: function () { return (React.createElement(React.Fragment, null,
7055
7201
  React.createElement("h5", null, "Filter"),
7056
7202
  React.createElement("p", null, "Use Filter to find list item(s) starting from a populated list."))); },
7057
- react: 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 "]))),
7203
+ react: 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 "]))),
7058
7204
  },
7059
7205
  filterAndSelect: {
7060
7206
  description: function () { return (React.createElement(React.Fragment, null,
7061
7207
  React.createElement("h5", null, "Filter + Select"),
7062
7208
  React.createElement("p", null, "Use Select to filter list item(s) in a particular category."))); },
7063
- react: 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 "]))),
7209
+ react: 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 "]))),
7064
7210
  },
7065
7211
  },
7066
7212
  },
@@ -7123,7 +7269,7 @@ var SpsListToolbarExamples = {
7123
7269
  },
7124
7270
  examples: {
7125
7271
  advancedSearch: {
7126
- react: 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 "]))),
7272
+ react: 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 "]))),
7127
7273
  },
7128
7274
  },
7129
7275
  },
@@ -7142,7 +7288,7 @@ var SpsListToolbarExamples = {
7142
7288
  },
7143
7289
  examples: {
7144
7290
  columnEditor: {
7145
- react: 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 "]))),
7291
+ react: 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 "]))),
7146
7292
  },
7147
7293
  },
7148
7294
  },
@@ -7254,7 +7400,7 @@ var SpsListToolbarExamples = {
7254
7400
  },
7255
7401
  examples: {
7256
7402
  buttons: {
7257
- react: 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 "]))),
7403
+ react: 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 "]))),
7258
7404
  },
7259
7405
  },
7260
7406
  },
@@ -7269,7 +7415,7 @@ var SpsListToolbarExamples = {
7269
7415
  },
7270
7416
  examples: {
7271
7417
  tabs: {
7272
- react: 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 "]))),
7418
+ react: 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 "]))),
7273
7419
  },
7274
7420
  },
7275
7421
  },
@@ -7285,18 +7431,18 @@ var SpsListToolbarExamples = {
7285
7431
  },
7286
7432
  examples: {
7287
7433
  title: {
7288
- react: 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 "]))),
7434
+ react: 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 "]))),
7289
7435
  },
7290
7436
  },
7291
7437
  },
7292
7438
  };
7293
- 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;
7439
+ 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;
7294
7440
 
7295
- var propsDoc$K = {
7441
+ var propsDoc$N = {
7296
7442
  kind: 'FeedbackBlockKind',
7297
7443
  message: { type: 'string', required: true },
7298
7444
  };
7299
- var propTypes$N = __assign(__assign({}, spsGlobalPropTypes), { kind: enumValue(FeedbackBlockKind), message: node.isRequired });
7445
+ var propTypes$Q = __assign(__assign({}, spsGlobalPropTypes), { kind: enumValue(FeedbackBlockKind), message: node.isRequired });
7300
7446
  function SpsMicroBlock(props) {
7301
7447
  var className = props.className, _a = props.kind, kind = _a === void 0 ? FeedbackBlockKind.INFO : _a, message = props.message, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["className", "kind", "message", 'data-testid', "unsafelyReplaceClassName"]);
7302
7448
  var classes = clsx(unsafelyReplaceClassName || 'sps-micro-block', "sps-micro-block--" + kind, className);
@@ -7305,8 +7451,8 @@ function SpsMicroBlock(props) {
7305
7451
  React.createElement("span", null, message)));
7306
7452
  }
7307
7453
  Object.assign(SpsMicroBlock, {
7308
- props: propsDoc$K,
7309
- propTypes: propTypes$N,
7454
+ props: propsDoc$N,
7455
+ propTypes: propTypes$Q,
7310
7456
  displayName: 'SpsMicroBlock',
7311
7457
  });
7312
7458
 
@@ -7315,7 +7461,7 @@ var SpsMicroBlockExamples = {
7315
7461
  label: 'Info Micro Block',
7316
7462
  examples: {
7317
7463
  infoBlock: {
7318
- jsx: 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 "]))),
7464
+ jsx: 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 "]))),
7319
7465
  },
7320
7466
  },
7321
7467
  },
@@ -7352,16 +7498,16 @@ var SpsMicroBlockExamples = {
7352
7498
  },
7353
7499
  },
7354
7500
  };
7355
- var templateObject_1$r, templateObject_2$p, templateObject_3$m, templateObject_4$g, templateObject_5$9;
7501
+ var templateObject_1$s, templateObject_2$p, templateObject_3$m, templateObject_4$g, templateObject_5$9;
7356
7502
 
7357
- var propsDoc$J = {
7503
+ var propsDoc$M = {
7358
7504
  kind: 'ModalKind',
7359
7505
  size: 'ModalSize',
7360
7506
  title: 'string',
7361
7507
  onClose: '() => void',
7362
7508
  focusElementOnOpen: 'React.MutableRefObject<HTMLElement>',
7363
7509
  };
7364
- var propTypes$M = __assign(__assign({}, spsGlobalPropTypes), { kind: enumValue(ModalKind), size: enumValue(ModalSize), title: string, onClose: fun(), focusElementOnOpen: ref() });
7510
+ var propTypes$P = __assign(__assign({}, spsGlobalPropTypes), { kind: enumValue(ModalKind), size: enumValue(ModalSize), title: string, onClose: fun(), focusElementOnOpen: ref() });
7365
7511
  function SpsModalV2Footer(_a) {
7366
7512
  var children = _a.children;
7367
7513
  return React.createElement("div", { className: "sps-modal__footer" }, children);
@@ -7431,8 +7577,8 @@ function SpsModalV2(_a) {
7431
7577
  : React.createElement(React.Fragment, null);
7432
7578
  }
7433
7579
  Object.assign(SpsModalV2, {
7434
- props: propsDoc$J,
7435
- propTypes: propTypes$M,
7580
+ props: propsDoc$M,
7581
+ propTypes: propTypes$P,
7436
7582
  displayName: 'SpsModalV2',
7437
7583
  });
7438
7584
 
@@ -7465,7 +7611,7 @@ var SpsModalExamples = {
7465
7611
  description: function () { return (React.createElement(React.Fragment, null,
7466
7612
  React.createElement("h5", null, "Close Button"),
7467
7613
  React.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."))); },
7468
- react: 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 "]))),
7614
+ react: 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 "]))),
7469
7615
  },
7470
7616
  },
7471
7617
  },
@@ -7564,9 +7710,9 @@ var SpsModalExamples = {
7564
7710
  },
7565
7711
  },
7566
7712
  };
7567
- 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;
7713
+ 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;
7568
7714
 
7569
- var propsDoc$I = {
7715
+ var propsDoc$L = {
7570
7716
  captionKey: 'string',
7571
7717
  debounce: 'number',
7572
7718
  disabled: 'boolean',
@@ -7582,7 +7728,7 @@ var propsDoc$I = {
7582
7728
  value: 'any',
7583
7729
  zeroState: 'string',
7584
7730
  };
7585
- var propTypes$L = __assign(__assign({}, spsGlobalPropTypes), { action: fun(), captionKey: string, debounce: number, disabled: bool, disableSelected: bool, formControl: impl(), formMeta: impl(), hideSelected: bool, icon: enumValue(SpsIcon$1), onChange: fun(), options: oneOfType([
7731
+ var propTypes$O = __assign(__assign({}, spsGlobalPropTypes), { action: fun(), captionKey: string, debounce: number, disabled: bool, disableSelected: bool, formControl: impl(), formMeta: impl(), hideSelected: bool, icon: enumValue(SpsIcon$1), onChange: fun(), options: oneOfType([
7586
7732
  array,
7587
7733
  instanceOf(Promise),
7588
7734
  fun(),
@@ -7732,8 +7878,8 @@ function SpsMultiSelect(_a) {
7732
7878
  React.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 })));
7733
7879
  }
7734
7880
  Object.assign(SpsMultiSelect, {
7735
- props: propsDoc$I,
7736
- propTypes: propTypes$L,
7881
+ props: propsDoc$L,
7882
+ propTypes: propTypes$O,
7737
7883
  displayName: 'SpsMultiSelect',
7738
7884
  });
7739
7885
 
@@ -7743,7 +7889,7 @@ var SpsMultiSelectExamples = {
7743
7889
  description: '<p>Multi select component</p>',
7744
7890
  examples: {
7745
7891
  a_basic: {
7746
- react: 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 "]))),
7892
+ react: 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 "]))),
7747
7893
  },
7748
7894
  b_disabled: {
7749
7895
  react: 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 "]))),
@@ -7763,10 +7909,10 @@ var SpsMultiSelectExamples = {
7763
7909
  },
7764
7910
  },
7765
7911
  };
7766
- var templateObject_1$p, templateObject_2$n, templateObject_3$k, templateObject_4$e, templateObject_5$7, templateObject_6$5;
7912
+ var templateObject_1$q, templateObject_2$n, templateObject_3$k, templateObject_4$e, templateObject_5$7, templateObject_6$5;
7767
7913
 
7768
- var propsDoc$H = {};
7769
- var propTypes$K = __assign({}, spsGlobalPropTypes);
7914
+ var propsDoc$K = {};
7915
+ var propTypes$N = __assign({}, spsGlobalPropTypes);
7770
7916
  function SpsPageTitle(props) {
7771
7917
  var children = props.children, className = props.className, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", 'data-testid', "unsafelyReplaceClassName"]);
7772
7918
  var icon;
@@ -7785,21 +7931,21 @@ function SpsPageTitle(props) {
7785
7931
  React.createElement("div", { className: "sps-page-title__text", "data-testid": testId + "__text" }, otherChildren)));
7786
7932
  }
7787
7933
  Object.assign(SpsPageTitle, {
7788
- props: propsDoc$H,
7789
- propTypes: propTypes$K,
7934
+ props: propsDoc$K,
7935
+ propTypes: propTypes$N,
7790
7936
  displayName: 'SpsPageTitle',
7791
7937
  });
7792
7938
 
7793
- var propsDoc$G = {};
7794
- var propTypes$J = __assign({}, spsGlobalPropTypes);
7939
+ var propsDoc$J = {};
7940
+ var propTypes$M = __assign({}, spsGlobalPropTypes);
7795
7941
  function SpsPageSubtitle(props) {
7796
7942
  var children = props.children, className = props.className, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", 'data-testid', "unsafelyReplaceClassName"]);
7797
7943
  var classes = clsx(unsafelyReplaceClassName || 'sps-page-title__subtitle', className);
7798
7944
  return (React.createElement("div", __assign({ className: classes, "data-testid": testId }, rest), children));
7799
7945
  }
7800
7946
  Object.assign(SpsPageSubtitle, {
7801
- props: propsDoc$G,
7802
- propTypes: propTypes$J,
7947
+ props: propsDoc$J,
7948
+ propTypes: propTypes$M,
7803
7949
  displayName: 'SpsPageSubtitle',
7804
7950
  });
7805
7951
 
@@ -7808,7 +7954,7 @@ var SpsPageTitleExamples = {
7808
7954
  label: 'Basic',
7809
7955
  examples: {
7810
7956
  basic: {
7811
- jsx: 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 "]))),
7957
+ jsx: 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 "]))),
7812
7958
  },
7813
7959
  },
7814
7960
  },
@@ -7837,9 +7983,9 @@ var SpsPageTitleExamples = {
7837
7983
  },
7838
7984
  },
7839
7985
  };
7840
- var templateObject_1$o, templateObject_2$m, templateObject_3$j, templateObject_4$d;
7986
+ var templateObject_1$p, templateObject_2$m, templateObject_3$j, templateObject_4$d;
7841
7987
 
7842
- var propsDoc$F = {
7988
+ var propsDoc$I = {
7843
7989
  action: 'SpsActionMethod',
7844
7990
  captionKey: 'string',
7845
7991
  comparisonKey: 'string',
@@ -7858,7 +8004,7 @@ var propsDoc$F = {
7858
8004
  zeroState: 'string',
7859
8005
  autoFixWidth: 'boolean',
7860
8006
  };
7861
- var propTypes$I = __assign(__assign({}, spsGlobalPropTypes), { action: fun(), captionKey: string, comparisonKey: string, disabled: bool, formControl: impl(), formMeta: impl(), notClearable: bool, options: oneOfType([
8007
+ var propTypes$L = __assign(__assign({}, spsGlobalPropTypes), { action: fun(), captionKey: string, comparisonKey: string, disabled: bool, formControl: impl(), formMeta: impl(), notClearable: bool, options: oneOfType([
7862
8008
  array,
7863
8009
  instanceOf(Promise),
7864
8010
  fun(),
@@ -7984,18 +8130,18 @@ var SpsSelect = React.forwardRef(function (props, ref) {
7984
8130
  React.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 })));
7985
8131
  });
7986
8132
  Object.assign(SpsSelect, {
7987
- props: propsDoc$F,
7988
- propTypes: propTypes$I,
8133
+ props: propsDoc$I,
8134
+ propTypes: propTypes$L,
7989
8135
  displayName: 'SpsSelect',
7990
8136
  });
7991
8137
 
7992
- var propsDoc$E = {
8138
+ var propsDoc$H = {
7993
8139
  page: 'number',
7994
8140
  numPages: 'number',
7995
8141
  onPageChange: '(number) => void',
7996
8142
  disabled: 'boolean',
7997
8143
  };
7998
- var propTypes$H = __assign({ numPages: number, onPageChange: fun(), page: number, disabled: bool }, spsGlobalPropTypes);
8144
+ var propTypes$K = __assign({ numPages: number, onPageChange: fun(), page: number, disabled: bool }, spsGlobalPropTypes);
7999
8145
  function SpsPageSelector(props) {
8000
8146
  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"]);
8001
8147
  var t = React.useContext(I18nContext).t;
@@ -8039,12 +8185,12 @@ function SpsPageSelector(props) {
8039
8185
  React.createElement("i", { className: "sps-icon sps-icon-chevron-right", "aria-hidden": "true" }))))));
8040
8186
  }
8041
8187
  Object.assign(SpsPageSelector, {
8042
- props: propsDoc$E,
8043
- propTypes: propTypes$H,
8188
+ props: propsDoc$H,
8189
+ propTypes: propTypes$K,
8044
8190
  displayName: 'SpsPageSelector',
8045
8191
  });
8046
8192
 
8047
- var propsDoc$D = {
8193
+ var propsDoc$G = {
8048
8194
  page: 'number',
8049
8195
  pageSize: 'number',
8050
8196
  pageSizeOptions: 'Array<number>',
@@ -8052,7 +8198,7 @@ var propsDoc$D = {
8052
8198
  onPageChange: '(page: number, pageSize: number, indices: [number, number]) => void',
8053
8199
  disabled: 'boolean',
8054
8200
  };
8055
- var propTypes$G = __assign({ onPageChange: fun()
8201
+ var propTypes$J = __assign({ onPageChange: fun()
8056
8202
  .isRequired, page: number, pageSize: number, pageSizeOptions: arrayOf(number), totalResults: number, disabled: bool }, spsGlobalPropTypes);
8057
8203
  function SpsPagination(props) {
8058
8204
  var className = props.className, onPageChange = props.onPageChange, _a = props.page, pageProp = _a === void 0 ? 1 : _a, _b = props.pageSizeOptions, pageSizeOptions = _b === void 0 ? 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"]);
@@ -8132,8 +8278,8 @@ function SpsPagination(props) {
8132
8278
  React.createElement(SpsPageSelector, { numPages: state.numPages, page: state.page, onPageChange: handlePageChange, disabled: disabled })));
8133
8279
  }
8134
8280
  Object.assign(SpsPagination, {
8135
- props: propsDoc$D,
8136
- propTypes: propTypes$G,
8281
+ props: propsDoc$G,
8282
+ propTypes: propTypes$J,
8137
8283
  displayName: 'SpsPagination',
8138
8284
  });
8139
8285
 
@@ -8143,7 +8289,7 @@ var SpsPaginationExamples = {
8143
8289
  description: 'info about pagination',
8144
8290
  examples: {
8145
8291
  basic: {
8146
- react: 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 "]))),
8292
+ react: 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 "]))),
8147
8293
  },
8148
8294
  disabled: {
8149
8295
  description: 'Disabled state',
@@ -8165,24 +8311,24 @@ var SpsPaginationExamples = {
8165
8311
  },
8166
8312
  },
8167
8313
  };
8168
- var templateObject_1$n, templateObject_2$l, templateObject_3$i, templateObject_4$c;
8314
+ var templateObject_1$o, templateObject_2$l, templateObject_3$i, templateObject_4$c;
8169
8315
 
8170
- var propsDoc$C = {
8316
+ var propsDoc$F = {
8171
8317
  active: 'boolean',
8172
8318
  };
8173
- var propTypes$F = __assign(__assign({}, spsGlobalPropTypes), { active: bool });
8319
+ var propTypes$I = __assign(__assign({}, spsGlobalPropTypes), { active: bool });
8174
8320
  function SpsProductBarTab(props) {
8175
8321
  var children = props.children, active = props.active; props.className; var unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "active", "className", "unsafelyReplaceClassName"]);
8176
8322
  var classes = clsx(unsafelyReplaceClassName || 'sps-nav__item', 'sps-nav__link', active && 'active');
8177
8323
  return (React.createElement("a", __assign({ className: classes }, rest), children));
8178
8324
  }
8179
8325
  Object.assign(SpsProductBarTab, {
8180
- props: propsDoc$C,
8181
- propTypes: propTypes$F,
8326
+ props: propsDoc$F,
8327
+ propTypes: propTypes$I,
8182
8328
  displayName: 'SpsProductBarTab',
8183
8329
  });
8184
8330
 
8185
- var propsDoc$B = {
8331
+ var propsDoc$E = {
8186
8332
  activeTab: 'string',
8187
8333
  fullWidth: 'boolean',
8188
8334
  onTabChange: '(newTab: string) => void',
@@ -8192,7 +8338,7 @@ var propsDoc$B = {
8192
8338
  productNameHref: 'string',
8193
8339
  tabs: 'Array<string>',
8194
8340
  };
8195
- var propTypes$E = __assign(__assign({}, spsGlobalPropTypes), { activeTab: string, fullWidth: bool, onTabChange: fun(), onProductNameClick: fun(), productLogoSrc: string, productName: string.isRequired, productNameHref: string, tabs: arrayOf(string) });
8341
+ var propTypes$H = __assign(__assign({}, spsGlobalPropTypes), { activeTab: string, fullWidth: bool, onTabChange: fun(), onProductNameClick: fun(), productLogoSrc: string, productName: string.isRequired, productNameHref: string, tabs: arrayOf(string) });
8196
8342
  function SpsProductBar(props) {
8197
8343
  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"]);
8198
8344
  var rootElement = React.useRef();
@@ -8223,15 +8369,15 @@ function SpsProductBar(props) {
8223
8369
  React.createElement(PortalContext.Provider, { value: { parentElementRef: rootElement, fixed: true } }, otherChildren)))));
8224
8370
  }
8225
8371
  Object.assign(SpsProductBar, {
8226
- props: propsDoc$B,
8227
- propTypes: propTypes$E,
8372
+ props: propsDoc$E,
8373
+ propTypes: propTypes$H,
8228
8374
  displayName: 'SpsProductBar',
8229
8375
  });
8230
8376
 
8231
8377
  var SpsProductBarExamples = {
8232
8378
  basic: {
8233
8379
  label: 'Basic',
8234
- description: code(templateObject_1$m || (templateObject_1$m = __makeTemplateObject(["\n <p>Product navigation bar</p>\n "], ["\n <p>Product navigation bar</p>\n "]))),
8380
+ description: code(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n <p>Product navigation bar</p>\n "], ["\n <p>Product navigation bar</p>\n "]))),
8235
8381
  examples: {
8236
8382
  basic: {
8237
8383
  react: 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 "]))),
@@ -8263,16 +8409,16 @@ var SpsProductBarExamples = {
8263
8409
  },
8264
8410
  },
8265
8411
  };
8266
- var templateObject_1$m, templateObject_2$k, templateObject_3$h, templateObject_4$b, templateObject_5$6;
8412
+ var templateObject_1$n, templateObject_2$k, templateObject_3$h, templateObject_4$b, templateObject_5$6;
8267
8413
 
8268
- var propsDoc$A = {
8414
+ var propsDoc$D = {
8269
8415
  percentComplete: 'number',
8270
8416
  title: 'string',
8271
8417
  detail: 'string',
8272
8418
  disabled: 'boolean',
8273
8419
  onClose: '() => void',
8274
8420
  };
8275
- var propTypes$D = __assign(__assign({}, spsGlobalPropTypes), { percentComplete: number, title: string, detail: string, disabled: bool, onClose: fun() });
8421
+ var propTypes$G = __assign(__assign({}, spsGlobalPropTypes), { percentComplete: number, title: string, detail: string, disabled: bool, onClose: fun() });
8276
8422
  function SpsProgressBar(props) {
8277
8423
  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"]);
8278
8424
  var t = React.useContext(I18nContext).t;
@@ -8291,8 +8437,8 @@ function SpsProgressBar(props) {
8291
8437
  React.createElement(SpsButton, { kind: ButtonKind.ICON, icon: SpsIcon$1.X, onClick: onClose, title: t('design-system:progressBar.closeButtonTitle') })))));
8292
8438
  }
8293
8439
  Object.assign(SpsProgressBar, {
8294
- props: propsDoc$A,
8295
- propTypes: propTypes$D,
8440
+ props: propsDoc$D,
8441
+ propTypes: propTypes$G,
8296
8442
  displayName: 'SpsProgressBar',
8297
8443
  });
8298
8444
 
@@ -8351,7 +8497,7 @@ var SpsProgressBarExamples = {
8351
8497
  standard: {
8352
8498
  label: 'Building Standard Progress Bars',
8353
8499
  description: function () { return (React.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.")); },
8354
- react: 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 "]))),
8500
+ react: 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 "]))),
8355
8501
  },
8356
8502
  completed: {
8357
8503
  label: 'Completed State',
@@ -8366,9 +8512,9 @@ var SpsProgressBarExamples = {
8366
8512
  },
8367
8513
  },
8368
8514
  };
8369
- var templateObject_1$l, templateObject_2$j, templateObject_3$g;
8515
+ var templateObject_1$m, templateObject_2$j, templateObject_3$g;
8370
8516
 
8371
- var propsDoc$z = {
8517
+ var propsDoc$C = {
8372
8518
  checked: 'boolean',
8373
8519
  disabled: 'boolean',
8374
8520
  formMeta: 'SpsFormFieldMeta<any>',
@@ -8378,7 +8524,7 @@ var propsDoc$z = {
8378
8524
  onChange: 'ChangeEventHandler',
8379
8525
  value: 'any',
8380
8526
  };
8381
- var propTypes$C = __assign(__assign({}, spsGlobalPropTypes), { checked: bool, disabled: bool, formControl: impl(), formMeta: impl(), inline: bool, label: string, name: string.isRequired, onChange: fun(), ref: ref(), value: any });
8527
+ var propTypes$F = __assign(__assign({}, spsGlobalPropTypes), { checked: bool, disabled: bool, formControl: impl(), formMeta: impl(), inline: bool, label: string, name: string.isRequired, onChange: fun(), ref: ref(), value: any });
8382
8528
  function SpsRadioButton(_a) {
8383
8529
  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"]);
8384
8530
  var meta = formMeta || formControl;
@@ -8400,8 +8546,8 @@ function SpsRadioButton(_a) {
8400
8546
  React.createElement("label", { className: "sps-checkable__label", htmlFor: controlId }, label || '')));
8401
8547
  }
8402
8548
  Object.assign(SpsRadioButton, {
8403
- props: propsDoc$z,
8404
- propTypes: propTypes$C,
8549
+ props: propsDoc$C,
8550
+ propTypes: propTypes$F,
8405
8551
  displayName: 'SpsRadioButton',
8406
8552
  });
8407
8553
 
@@ -8411,7 +8557,7 @@ var SpsRadioButtonExamples = {
8411
8557
  description: 'info about radio buttons with labels',
8412
8558
  examples: {
8413
8559
  label: {
8414
- react: 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 "]))),
8560
+ react: 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 "]))),
8415
8561
  },
8416
8562
  },
8417
8563
  },
@@ -8434,19 +8580,19 @@ var SpsRadioButtonExamples = {
8434
8580
  },
8435
8581
  },
8436
8582
  };
8437
- var templateObject_1$k, templateObject_2$i, templateObject_3$f;
8583
+ var templateObject_1$l, templateObject_2$i, templateObject_3$f;
8438
8584
 
8439
- var propsDoc$y = {
8585
+ var propsDoc$B = {
8440
8586
  maxHeight: 'string',
8441
8587
  };
8442
- var propTypes$B = __assign(__assign({}, spsGlobalPropTypes), { maxHeight: string });
8588
+ var propTypes$E = __assign(__assign({}, spsGlobalPropTypes), { maxHeight: string });
8443
8589
  function SpsScrollableContainer(props) {
8444
8590
  var children = props.children, maxHeight = props.maxHeight;
8445
8591
  return (React.createElement("div", { className: "sps-scrollable-container", style: { maxHeight: maxHeight } }, children));
8446
8592
  }
8447
8593
  Object.assign(SpsScrollableContainer, {
8448
- props: propsDoc$y,
8449
- propTypes: propTypes$B,
8594
+ props: propsDoc$B,
8595
+ propTypes: propTypes$E,
8450
8596
  displayName: 'SpsScrollableContainer',
8451
8597
  });
8452
8598
 
@@ -8456,7 +8602,7 @@ var SpsScrollableContainerExamples = {
8456
8602
  description: 'basic scrollable container',
8457
8603
  examples: {
8458
8604
  text: {
8459
- jsx: 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 "]))),
8605
+ jsx: 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 "]))),
8460
8606
  },
8461
8607
  components: {
8462
8608
  react: 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 "]))),
@@ -8464,14 +8610,14 @@ var SpsScrollableContainerExamples = {
8464
8610
  },
8465
8611
  },
8466
8612
  };
8467
- var templateObject_1$j, templateObject_2$h;
8613
+ var templateObject_1$k, templateObject_2$h;
8468
8614
 
8469
- var propsDoc$x = {
8615
+ var propsDoc$A = {
8470
8616
  resultsCount: 'number',
8471
8617
  totalResults: 'number',
8472
8618
  onClear: '() => void',
8473
8619
  };
8474
- var propTypes$A = __assign(__assign({}, spsGlobalPropTypes), { resultsCount: number, totalResults: number, onClear: fun() });
8620
+ var propTypes$D = __assign(__assign({}, spsGlobalPropTypes), { resultsCount: number, totalResults: number, onClear: fun() });
8475
8621
  function SpsSearchResultsBar(props) {
8476
8622
  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"]);
8477
8623
  var t = React.useContext(I18nContext).t;
@@ -8493,8 +8639,8 @@ function SpsSearchResultsBar(props) {
8493
8639
  React.createElement("button", { type: "button", onClick: onClear }, t('design-system:searchResultsBar.clear')))));
8494
8640
  }
8495
8641
  Object.assign(SpsSearchResultsBar, {
8496
- props: propsDoc$x,
8497
- propTypes: propTypes$A,
8642
+ props: propsDoc$A,
8643
+ propTypes: propTypes$D,
8498
8644
  displayName: 'SpsSearchResultsBar',
8499
8645
  });
8500
8646
 
@@ -8504,7 +8650,7 @@ var SpsSearchResultsBarExamples = {
8504
8650
  description: '<p>Info about Basic Search Result Bars</p>',
8505
8651
  examples: {
8506
8652
  noCount: {
8507
- react: 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 "]))),
8653
+ react: 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 "]))),
8508
8654
  },
8509
8655
  },
8510
8656
  },
@@ -8527,7 +8673,7 @@ var SpsSearchResultsBarExamples = {
8527
8673
  },
8528
8674
  },
8529
8675
  };
8530
- var templateObject_1$i, templateObject_2$g, templateObject_3$e;
8676
+ var templateObject_1$j, templateObject_2$g, templateObject_3$e;
8531
8677
 
8532
8678
  var SpsSelectExamples = {
8533
8679
  basic: {
@@ -8536,7 +8682,7 @@ var SpsSelectExamples = {
8536
8682
  examples: {
8537
8683
  a_simple: {
8538
8684
  description: 'Simple value options',
8539
- react: 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 "]))),
8685
+ react: 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 "]))),
8540
8686
  },
8541
8687
  b_formHooks: {
8542
8688
  description: 'Form hooks',
@@ -8599,7 +8745,7 @@ var SpsSelectExamples = {
8599
8745
  },
8600
8746
  },
8601
8747
  };
8602
- 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;
8748
+ 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;
8603
8749
 
8604
8750
  var SpsSideNavBranch = function (_a) {
8605
8751
  var branch = _a.branch, setActiveBranch = _a.setActiveBranch, activeBranch = _a.activeBranch;
@@ -8745,7 +8891,7 @@ var SpsSideNavExamples = {
8745
8891
  description: 'Use Filters when the Side Navigation benefits from filtering, usually when it contains a long list of navigation items.',
8746
8892
  examples: {
8747
8893
  simple: {
8748
- react: 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 "]))),
8894
+ react: 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 "]))),
8749
8895
  },
8750
8896
  },
8751
8897
  },
@@ -8792,9 +8938,9 @@ var SpsSideNavExamples = {
8792
8938
  },
8793
8939
  },
8794
8940
  };
8795
- var templateObject_1$g, templateObject_2$e, templateObject_3$c, templateObject_4$9, templateObject_5$4;
8941
+ var templateObject_1$h, templateObject_2$e, templateObject_3$c, templateObject_4$9, templateObject_5$4;
8796
8942
 
8797
- var propsDoc$w = {
8943
+ var propsDoc$z = {
8798
8944
  sortKey: 'string',
8799
8945
  sortDisabled: 'boolean',
8800
8946
  sort: 'SortedColumn[]',
@@ -8802,7 +8948,7 @@ var propsDoc$w = {
8802
8948
  widthPx: 'number',
8803
8949
  widthRem: 'number',
8804
8950
  };
8805
- var propTypes$z = __assign({ sortKey: string, sortDisabled: bool, sort: arrayOf(impl()), onSortChange: fun(), widthPx: number, widthRem: number }, spsGlobalPropTypes);
8951
+ var propTypes$C = __assign({ sortKey: string, sortDisabled: bool, sort: arrayOf(impl()), onSortChange: fun(), widthPx: number, widthRem: number }, spsGlobalPropTypes);
8806
8952
  function SpsSortingHeaderCell(_a) {
8807
8953
  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"]);
8808
8954
  var sortDirection = React.useMemo(function () {
@@ -8832,16 +8978,16 @@ function SpsSortingHeaderCell(_a) {
8832
8978
  }, "data-testid": testId, style: inlineStyles }, rest), children));
8833
8979
  }
8834
8980
  Object.assign(SpsSortingHeaderCell, {
8835
- props: propsDoc$w,
8836
- propTypes: propTypes$z,
8981
+ props: propsDoc$z,
8982
+ propTypes: propTypes$C,
8837
8983
  displayName: 'SpsSortingHeaderCell',
8838
8984
  });
8839
8985
 
8840
- var propsDoc$v = {
8986
+ var propsDoc$y = {
8841
8987
  sort: 'SortedColumn[]',
8842
8988
  onSortChange: 'SortChangeHandler',
8843
8989
  };
8844
- var propTypes$y = __assign(__assign({}, spsGlobalPropTypes), { sort: arrayOf(impl()), onSortChange: fun() });
8990
+ var propTypes$B = __assign(__assign({}, spsGlobalPropTypes), { sort: arrayOf(impl()), onSortChange: fun() });
8845
8991
  function SpsSortingHeader(_a) {
8846
8992
  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"]);
8847
8993
  var classes = clsx(unsafelyReplaceClassName || 'sps-sorting-header', className);
@@ -8857,17 +9003,17 @@ function SpsSortingHeader(_a) {
8857
9003
  })));
8858
9004
  }
8859
9005
  Object.assign(SpsSortingHeader, {
8860
- props: propsDoc$v,
8861
- propTypes: propTypes$y,
9006
+ props: propsDoc$y,
9007
+ propTypes: propTypes$B,
8862
9008
  displayName: 'SpsSortingHeader',
8863
9009
  });
8864
9010
 
8865
- var propsDoc$u = {
9011
+ var propsDoc$x = {
8866
9012
  alt: 'string',
8867
9013
  size: 'SpinnerSize',
8868
9014
  title: 'string',
8869
9015
  };
8870
- var propTypes$x = __assign(__assign({}, spsGlobalPropTypes), { alt: string, size: enumValue(SpinnerSize), title: string });
9016
+ var propTypes$A = __assign(__assign({}, spsGlobalPropTypes), { alt: string, size: enumValue(SpinnerSize), title: string });
8871
9017
  function SpsSpinner(props) {
8872
9018
  var alt = props.alt, className = props.className, _a = props.size, size = _a === void 0 ? SpinnerSize.MEDIUM : _a, testId = props["data-testid"], title = props.title, unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["alt", "className", "size", 'data-testid', "title", "unsafelyReplaceClassName"]);
8873
9019
  var t = React.useContext(I18nContext).t;
@@ -8876,8 +9022,8 @@ function SpsSpinner(props) {
8876
9022
  return (React.createElement("i", __assign({ className: spinnerClasses, "data-testid": testId, title: altText }, rest)));
8877
9023
  }
8878
9024
  Object.assign(SpsSpinner, {
8879
- props: propsDoc$u,
8880
- propTypes: propTypes$x,
9025
+ props: propsDoc$x,
9026
+ propTypes: propTypes$A,
8881
9027
  displayName: 'SpsSpinner',
8882
9028
  });
8883
9029
 
@@ -8885,7 +9031,7 @@ var SpsSpinnerExamples = {
8885
9031
  basic: {
8886
9032
  examples: {
8887
9033
  small: {
8888
- jsx: 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 "]))),
9034
+ jsx: 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 "]))),
8889
9035
  },
8890
9036
  medium: {
8891
9037
  jsx: 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 "]))),
@@ -8896,9 +9042,9 @@ var SpsSpinnerExamples = {
8896
9042
  },
8897
9043
  },
8898
9044
  };
8899
- var templateObject_1$f, templateObject_2$d, templateObject_3$b;
9045
+ var templateObject_1$g, templateObject_2$d, templateObject_3$b;
8900
9046
 
8901
- var propsDoc$t = {
9047
+ var propsDoc$w = {
8902
9048
  disabled: 'boolean',
8903
9049
  href: 'string',
8904
9050
  label: 'string',
@@ -8906,7 +9052,7 @@ var propsDoc$t = {
8906
9052
  kind: 'StdButtonKind',
8907
9053
  options: 'Array<SpsActionMethod | [SpsActionDescriptor, () => void]>',
8908
9054
  };
8909
- var propTypes$w = __assign(__assign({}, spsGlobalPropTypes), { disabled: bool, href: string, label: string, icon: enumValue(SpsIcon$1), kind: enumValue(StdButtonKind),
9055
+ var propTypes$z = __assign(__assign({}, spsGlobalPropTypes), { disabled: bool, href: string, label: string, icon: enumValue(SpsIcon$1), kind: enumValue(StdButtonKind),
8910
9056
  // eslint thinks there is a space between the name and open paren below for some reason
8911
9057
  // eslint-disable-next-line no-spaced-func
8912
9058
  options: arrayOf(oneOfType([func, any])) });
@@ -8925,15 +9071,15 @@ function SpsSplitButton(props) {
8925
9071
  React.createElement(SpsDropdown, { kind: kind, options: options, disabled: disabled, onOpen: setOpen, onClose: setClose })));
8926
9072
  }
8927
9073
  Object.assign(SpsSplitButton, {
8928
- props: propsDoc$t,
8929
- propTypes: propTypes$w,
9074
+ props: propsDoc$w,
9075
+ propTypes: propTypes$z,
8930
9076
  displayName: 'SpsSplitButton',
8931
9077
  });
8932
9078
 
8933
9079
  var SpsSplitButtonExamples = {
8934
9080
  kinds: {
8935
9081
  label: 'Regular Split Buttons',
8936
- description: code(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["<p>info about split buttons</p>"], ["<p>info about split buttons</p>"]))),
9082
+ description: code(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["<p>info about split buttons</p>"], ["<p>info about split buttons</p>"]))),
8937
9083
  examples: {
8938
9084
  basic: {
8939
9085
  description: code(templateObject_2$c || (templateObject_2$c = __makeTemplateObject(["<p>Basic</p>"], ["<p>Basic</p>"]))),
@@ -8962,12 +9108,12 @@ var SpsSplitButtonExamples = {
8962
9108
  },
8963
9109
  },
8964
9110
  };
8965
- 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;
9111
+ 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;
8966
9112
 
8967
- var propsDoc$s = {
9113
+ var propsDoc$v = {
8968
9114
  channelId: { type: 'string', required: true },
8969
9115
  };
8970
- var propTypes$v = __assign(__assign({}, spsGlobalPropTypes), { channelId: string.isRequired });
9116
+ var propTypes$y = __assign(__assign({}, spsGlobalPropTypes), { channelId: string.isRequired });
8971
9117
  function SpsSlackLink(props) {
8972
9118
  var channelId = props.channelId, className = props.className, unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["channelId", "className", "unsafelyReplaceClassName"]);
8973
9119
  var t = React.useContext(I18nContext).t;
@@ -8977,8 +9123,8 @@ function SpsSlackLink(props) {
8977
9123
  React.createElement("span", null, t('design-system:slackLink.label'))));
8978
9124
  }
8979
9125
  Object.assign(SpsSlackLink, {
8980
- props: propsDoc$s,
8981
- propTypes: propTypes$v,
9126
+ props: propsDoc$v,
9127
+ propTypes: propTypes$y,
8982
9128
  displayName: 'SpsSlackLink',
8983
9129
  });
8984
9130
 
@@ -8986,32 +9132,32 @@ var SpsSlackLinkExamples = {
8986
9132
  basic: {
8987
9133
  examples: {
8988
9134
  basic: {
8989
- react: 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 "]))),
9135
+ react: 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 "]))),
8990
9136
  },
8991
9137
  },
8992
9138
  },
8993
9139
  };
8994
- var templateObject_1$d;
9140
+ var templateObject_1$e;
8995
9141
 
8996
- var propsDoc$r = {};
8997
- var propTypes$u = __assign({}, spsGlobalPropTypes);
9142
+ var propsDoc$u = {};
9143
+ var propTypes$x = __assign({}, spsGlobalPropTypes);
8998
9144
  function SpsSummaryListExpansion(props) {
8999
9145
  var children = props.children, className = props.className, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", 'data-testid', "unsafelyReplaceClassName"]);
9000
9146
  var classes = clsx(unsafelyReplaceClassName || 'sps-content-row__expansion', className);
9001
9147
  return (React.createElement("div", __assign({ className: classes }, rest, { "data-testid": testId + "__expansion" }), children));
9002
9148
  }
9003
9149
  Object.assign(SpsSummaryListExpansion, {
9004
- props: propsDoc$r,
9005
- propTypes: propTypes$u,
9150
+ props: propsDoc$u,
9151
+ propTypes: propTypes$x,
9006
9152
  displayName: 'SpsSummaryListExpansion',
9007
9153
  });
9008
9154
 
9009
- var propsDoc$q = {
9155
+ var propsDoc$t = {
9010
9156
  expanded: 'boolean',
9011
9157
  selected: 'boolean',
9012
9158
  onToggle: '(isExpanded: boolean) => void',
9013
9159
  };
9014
- var propTypes$t = __assign(__assign({}, spsGlobalPropTypes), { expanded: bool, selected: bool, onToggle: fun() });
9160
+ var propTypes$w = __assign(__assign({}, spsGlobalPropTypes), { expanded: bool, selected: bool, onToggle: fun() });
9015
9161
  function SpsSummaryListRow(props) {
9016
9162
  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"]);
9017
9163
  var _a = __read(usePatchReducer({
@@ -9055,26 +9201,26 @@ function SpsSummaryListRow(props) {
9055
9201
  expansion));
9056
9202
  }
9057
9203
  Object.assign(SpsSummaryListRow, {
9058
- props: propsDoc$q,
9059
- propTypes: propTypes$t,
9204
+ props: propsDoc$t,
9205
+ propTypes: propTypes$w,
9060
9206
  displayName: 'SpsSummaryListRow',
9061
9207
  });
9062
9208
 
9063
- var propsDoc$p = {
9209
+ var propsDoc$s = {
9064
9210
  borderless: 'boolean',
9065
9211
  lean: 'boolean',
9066
9212
  leaner: 'boolean',
9067
9213
  width: 'string',
9068
9214
  };
9069
- var propTypes$s = __assign(__assign({}, spsGlobalPropTypes), { borderless: bool, lean: bool, leaner: bool, width: string });
9215
+ var propTypes$v = __assign(__assign({}, spsGlobalPropTypes), { borderless: bool, lean: bool, leaner: bool, width: string });
9070
9216
  function SpsSummaryListColumn(props) {
9071
9217
  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"]);
9072
9218
  var classes = clsx(unsafelyReplaceClassName || 'sps-content-row__col', lean && 'sps-content-row__col--lean', leaner && 'sps-content-row__col--leaner', borderless && 'sps-content-row__col--borderless', className);
9073
9219
  return (React.createElement("div", __assign({ className: classes, style: { width: width } }, rest, { "data-testid": testId + "__col" }), children));
9074
9220
  }
9075
9221
  Object.assign(SpsSummaryListColumn, {
9076
- props: propsDoc$p,
9077
- propTypes: propTypes$s,
9222
+ props: propsDoc$s,
9223
+ propTypes: propTypes$v,
9078
9224
  displayName: 'SpsSummaryListColumn',
9079
9225
  });
9080
9226
 
@@ -9083,7 +9229,7 @@ var SpsSummaryListExamples = {
9083
9229
  label: 'Basic Usage',
9084
9230
  examples: {
9085
9231
  basic: {
9086
- jsx: 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 </>"]))),
9232
+ jsx: 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 </>"]))),
9087
9233
  },
9088
9234
  },
9089
9235
  },
@@ -9115,7 +9261,7 @@ var SpsSummaryListExamples = {
9115
9261
  },
9116
9262
  },
9117
9263
  };
9118
- var templateObject_1$c, templateObject_2$b, templateObject_3$9, templateObject_4$7, templateObject_5$2, templateObject_6$2, templateObject_7$2;
9264
+ var templateObject_1$d, templateObject_2$b, templateObject_3$9, templateObject_4$7, templateObject_5$2, templateObject_6$2, templateObject_7$2;
9119
9265
 
9120
9266
  var props = {
9121
9267
  tasks: 'ReactSpsTask[]',
@@ -9127,7 +9273,7 @@ var props = {
9127
9273
  onClearCompleted: '() => void',
9128
9274
  suppressTooltips: 'boolean',
9129
9275
  };
9130
- var propTypes$r = __assign(__assign({}, spsGlobalPropTypes), { tasks: arrayOf(any), taskQueuePosition: enumValue(Position), notificationText: string, tooltipConfig: shape({
9276
+ var propTypes$u = __assign(__assign({}, spsGlobalPropTypes), { tasks: arrayOf(any), taskQueuePosition: enumValue(Position), notificationText: string, tooltipConfig: shape({
9131
9277
  position: enumValue(Position),
9132
9278
  kind: enumValue(TooltipKind),
9133
9279
  }), onClose: fun(), onOpen: fun(), onClearCompleted: fun(), suppressTooltips: bool });
@@ -9281,7 +9427,7 @@ function SpsTaskQueue(_a) {
9281
9427
  }
9282
9428
  Object.assign(SpsTaskQueue, {
9283
9429
  props: props,
9284
- propTypes: propTypes$r,
9430
+ propTypes: propTypes$u,
9285
9431
  displayName: 'SpsTaskQueue',
9286
9432
  });
9287
9433
 
@@ -9291,7 +9437,7 @@ var SpsTaskQueueExamples = {
9291
9437
  description: '<p>Info about Task Queue</p>',
9292
9438
  examples: {
9293
9439
  inProgress: {
9294
- react: 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 "]))),
9440
+ react: 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 "]))),
9295
9441
  },
9296
9442
  },
9297
9443
  },
@@ -9323,9 +9469,9 @@ var SpsTaskQueueExamples = {
9323
9469
  },
9324
9470
  },
9325
9471
  };
9326
- var templateObject_1$b, templateObject_2$a, templateObject_3$8, templateObject_4$6;
9472
+ var templateObject_1$c, templateObject_2$a, templateObject_3$8, templateObject_4$6;
9327
9473
 
9328
- var propsDoc$o = {
9474
+ var propsDoc$r = {
9329
9475
  disabled: 'boolean',
9330
9476
  formMeta: 'SpsFormFieldMeta<string>',
9331
9477
  icon: 'SpsIcon',
@@ -9334,7 +9480,7 @@ var propsDoc$o = {
9334
9480
  placeholder: 'string',
9335
9481
  value: 'string',
9336
9482
  };
9337
- var propTypes$q = __assign(__assign({}, spsGlobalPropTypes), { disabled: bool, formControl: impl(), formMeta: impl(), icon: enumValue(SpsIcon$1), name: string, onChange: fun(), placeholder: string, value: string });
9483
+ var propTypes$t = __assign(__assign({}, spsGlobalPropTypes), { disabled: bool, formControl: impl(), formMeta: impl(), icon: enumValue(SpsIcon$1), name: string, onChange: fun(), placeholder: string, value: string });
9338
9484
  var SpsTextInput = React.forwardRef(function (_a, ref) {
9339
9485
  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"]);
9340
9486
  var meta = formMeta || formControl;
@@ -9364,8 +9510,8 @@ var SpsTextInput = React.forwardRef(function (_a, ref) {
9364
9510
  value && !disabled && (React.createElement("i", { className: "sps-icon sps-icon-x-circle sps-form-control__clear-btn", onClick: clear })))));
9365
9511
  });
9366
9512
  Object.assign(SpsTextInput, {
9367
- props: propsDoc$o,
9368
- propTypes: propTypes$q,
9513
+ props: propsDoc$r,
9514
+ propTypes: propTypes$t,
9369
9515
  displayName: 'SpsTextInput',
9370
9516
  });
9371
9517
 
@@ -9375,7 +9521,7 @@ var SpsTextInputExamples = {
9375
9521
  description: 'info about standard text inputs',
9376
9522
  examples: {
9377
9523
  standard: {
9378
- react: 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 "]))),
9524
+ react: 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 "]))),
9379
9525
  },
9380
9526
  },
9381
9527
  },
@@ -9407,9 +9553,9 @@ var SpsTextInputExamples = {
9407
9553
  },
9408
9554
  },
9409
9555
  };
9410
- var templateObject_1$a, templateObject_2$9, templateObject_3$7, templateObject_4$5;
9556
+ var templateObject_1$b, templateObject_2$9, templateObject_3$7, templateObject_4$5;
9411
9557
 
9412
- var propsDoc$n = {
9558
+ var propsDoc$q = {
9413
9559
  disabled: 'boolean',
9414
9560
  formMeta: 'SpsFormFieldMeta<string>',
9415
9561
  name: 'string',
@@ -9418,7 +9564,7 @@ var propsDoc$n = {
9418
9564
  rows: 'number',
9419
9565
  value: 'string',
9420
9566
  };
9421
- var propTypes$p = __assign(__assign({}, spsGlobalPropTypes), { disabled: bool, formControl: impl(), formMeta: impl(), name: string, onChange: fun(), placeholder: string, ref: ref(), rows: number, value: string });
9567
+ var propTypes$s = __assign(__assign({}, spsGlobalPropTypes), { disabled: bool, formControl: impl(), formMeta: impl(), name: string, onChange: fun(), placeholder: string, ref: ref(), rows: number, value: string });
9422
9568
  function SpsTextarea(_a) {
9423
9569
  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"]);
9424
9570
  var meta = formMeta || formControl;
@@ -9447,8 +9593,8 @@ function SpsTextarea(_a) {
9447
9593
  value && !disabled && (React.createElement("i", { className: "sps-icon sps-icon-x-circle sps-form-control__clear-btn", onClick: clear })))));
9448
9594
  }
9449
9595
  Object.assign(SpsTextarea, {
9450
- props: propsDoc$n,
9451
- propTypes: propTypes$p,
9596
+ props: propsDoc$q,
9597
+ propTypes: propTypes$s,
9452
9598
  displayName: 'SpsTextarea',
9453
9599
  });
9454
9600
 
@@ -9458,7 +9604,7 @@ var SpsTextareaExamples = {
9458
9604
  description: 'info about basic text areas',
9459
9605
  examples: {
9460
9606
  basic: {
9461
- react: 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 "]))),
9607
+ react: 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 "]))),
9462
9608
  },
9463
9609
  },
9464
9610
  },
@@ -9481,16 +9627,16 @@ var SpsTextareaExamples = {
9481
9627
  },
9482
9628
  },
9483
9629
  };
9484
- var templateObject_1$9, templateObject_2$8, templateObject_3$6;
9630
+ var templateObject_1$a, templateObject_2$8, templateObject_3$6;
9485
9631
 
9486
- var propsDoc$m = {
9632
+ var propsDoc$p = {
9487
9633
  href: 'string',
9488
9634
  icon: { type: 'ReactNodeOrRenderFn', required: 'true' },
9489
9635
  error: 'boolean',
9490
9636
  title: { type: 'string', required: 'true' },
9491
9637
  warning: 'boolean',
9492
9638
  };
9493
- var propTypes$o = __assign(__assign({}, spsGlobalPropTypes), { href: string, target: string, icon: nodeOrRenderFn.isRequired, error: bool, title: string.isRequired, warning: bool });
9639
+ var propTypes$r = __assign(__assign({}, spsGlobalPropTypes), { href: string, target: string, icon: nodeOrRenderFn.isRequired, error: bool, title: string.isRequired, warning: bool });
9494
9640
  function SpsTile(props) {
9495
9641
  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"]);
9496
9642
  var classes = clsx(unsafelyReplaceClassName || 'sps-tile', className, error && 'sps-tile--error', warning && 'sps-tile--warning');
@@ -9512,21 +9658,21 @@ function SpsTile(props) {
9512
9658
  target === '_blank' && (React.createElement("i", { className: clsx('sps-icon', 'sps-icon-tabs') }))))))));
9513
9659
  }
9514
9660
  Object.assign(SpsTile, {
9515
- props: propsDoc$m,
9516
- propTypes: propTypes$o,
9661
+ props: propsDoc$p,
9662
+ propTypes: propTypes$r,
9517
9663
  displayName: 'SpsTile',
9518
9664
  });
9519
9665
 
9520
- var propsDoc$l = {};
9521
- var propTypes$n = __assign({}, spsGlobalPropTypes);
9666
+ var propsDoc$o = {};
9667
+ var propTypes$q = __assign({}, spsGlobalPropTypes);
9522
9668
  function SpsTileList(props) {
9523
9669
  var children = props.children, unsafelyReplaceClassName = props.unsafelyReplaceClassName; props["data-testid"]; var className = props.className, rest = __rest(props, ["children", "unsafelyReplaceClassName", 'data-testid', "className"]);
9524
9670
  var classes = clsx(unsafelyReplaceClassName || 'sps-tile-list', className || 'sfg-row');
9525
9671
  return (React.createElement("div", __assign({ className: classes }, rest), children));
9526
9672
  }
9527
9673
  Object.assign(SpsTileList, {
9528
- props: propsDoc$l,
9529
- propTypes: propTypes$n,
9674
+ props: propsDoc$o,
9675
+ propTypes: propTypes$q,
9530
9676
  displayName: 'SpsTileList',
9531
9677
  });
9532
9678
 
@@ -9535,7 +9681,7 @@ var SpsTileListExamples = {
9535
9681
  label: 'Basic',
9536
9682
  examples: {
9537
9683
  basic: {
9538
- react: 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 "]))),
9684
+ react: 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 "]))),
9539
9685
  },
9540
9686
  },
9541
9687
  },
@@ -9559,9 +9705,9 @@ var SpsTileListExamples = {
9559
9705
  },
9560
9706
  },
9561
9707
  };
9562
- var templateObject_1$8, templateObject_2$7, templateObject_3$5, templateObject_4$4;
9708
+ var templateObject_1$9, templateObject_2$7, templateObject_3$5, templateObject_4$4;
9563
9709
 
9564
- var propsDoc$k = {
9710
+ var propsDoc$n = {
9565
9711
  active: 'boolean',
9566
9712
  activeDescription: { type: 'string', deprecated: true },
9567
9713
  activeLabel: { type: 'string', deprecated: true },
@@ -9574,10 +9720,10 @@ var propsDoc$k = {
9574
9720
  large: 'boolean',
9575
9721
  onChange: '(isActive: boolean) => void',
9576
9722
  };
9577
- var propTypes$m = __assign(__assign({}, spsGlobalPropTypes), { active: bool, activeDescription: deprecated(string), activeLabel: deprecated(string), description: string, disabled: bool, formControl: impl(), formMeta: impl(), id: string, inactiveDescription: deprecated(string), inactiveLabel: deprecated(string), label: string, large: bool, onChange: fun(), ref: ref() });
9723
+ var propTypes$p = __assign(__assign({}, spsGlobalPropTypes), { active: bool, activeDescription: deprecated(string), activeLabel: deprecated(string), description: string, disabled: bool, formControl: impl(), formMeta: impl(), id: string, inactiveDescription: deprecated(string), inactiveLabel: deprecated(string), label: string, large: bool, onChange: fun(), ref: ref() });
9578
9724
  function SpsToggle(props) {
9579
9725
  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"]);
9580
- useCheckDeprecatedProps('SpsToggle', propsDoc$k, props);
9726
+ useCheckDeprecatedProps('SpsToggle', propsDoc$n, props);
9581
9727
  var meta = formMeta || formControl;
9582
9728
  var _c = __read(React.useState(activeProp), 2), active = _c[0], setActive = _c[1];
9583
9729
  var _d = useFormControlId(id, meta), wrapperId = _d.wrapperId, controlId = _d.controlId;
@@ -9607,8 +9753,8 @@ function SpsToggle(props) {
9607
9753
  && (React.createElement("span", { className: "sps-toggle__description", id: descriptionID }, description)))));
9608
9754
  }
9609
9755
  Object.assign(SpsToggle, {
9610
- props: propsDoc$k,
9611
- propTypes: propTypes$m,
9756
+ props: propsDoc$n,
9757
+ propTypes: propTypes$p,
9612
9758
  displayName: 'SpsToggle',
9613
9759
  });
9614
9760
 
@@ -9617,7 +9763,7 @@ var SpsToggleExamples = {
9617
9763
  label: 'Small',
9618
9764
  examples: {
9619
9765
  a_small: {
9620
- react: 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 "]))),
9766
+ react: 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 "]))),
9621
9767
  },
9622
9768
  b_changeHandler: {
9623
9769
  description: 'With UseState',
@@ -9642,7 +9788,7 @@ var SpsToggleExamples = {
9642
9788
  },
9643
9789
  },
9644
9790
  };
9645
- var templateObject_1$7, templateObject_2$6, templateObject_3$4, templateObject_4$3;
9791
+ var templateObject_1$8, templateObject_2$6, templateObject_3$4, templateObject_4$3;
9646
9792
 
9647
9793
  var SpsTooltipExamples = {
9648
9794
  basic: {
@@ -9650,7 +9796,7 @@ var SpsTooltipExamples = {
9650
9796
  description: 'Info about basic usage of tooltip',
9651
9797
  examples: {
9652
9798
  basic: {
9653
- description: 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 "]))),
9799
+ description: 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 "]))),
9654
9800
  react: 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 "]))),
9655
9801
  },
9656
9802
  withElementId: {
@@ -9748,13 +9894,13 @@ var SpsTooltipExamples = {
9748
9894
  },
9749
9895
  },
9750
9896
  };
9751
- 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;
9897
+ 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;
9752
9898
 
9753
- var propsDoc$j = {
9899
+ var propsDoc$m = {
9754
9900
  heading: 'string',
9755
9901
  icon: 'SpsIcon',
9756
9902
  };
9757
- var propTypes$l = __assign(__assign({}, spsGlobalPropTypes), { heading: string, icon: enumValue(SpsIcon$1) });
9903
+ var propTypes$o = __assign(__assign({}, spsGlobalPropTypes), { heading: string, icon: enumValue(SpsIcon$1) });
9758
9904
  function SpsWorkflow(props) {
9759
9905
  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"]);
9760
9906
  var classes = clsx(unsafelyReplaceClassName || 'sps-workflow', className);
@@ -9767,24 +9913,24 @@ function SpsWorkflow(props) {
9767
9913
  children));
9768
9914
  }
9769
9915
  Object.assign(SpsWorkflow, {
9770
- props: propsDoc$j,
9771
- propTypes: propTypes$l,
9916
+ props: propsDoc$m,
9917
+ propTypes: propTypes$o,
9772
9918
  displayName: 'SpsWorkflow',
9773
9919
  });
9774
9920
  function SpsWf(props) {
9775
9921
  return SpsWorkflow(props);
9776
9922
  }
9777
9923
  Object.assign(SpsWf, {
9778
- props: propsDoc$j,
9779
- propTypes: propTypes$l,
9924
+ props: propsDoc$m,
9925
+ propTypes: propTypes$o,
9780
9926
  displayName: 'SpsWf',
9781
9927
  });
9782
9928
 
9783
- var propsDoc$i = {
9929
+ var propsDoc$l = {
9784
9930
  size: 'RingSize',
9785
9931
  progress: 'number',
9786
9932
  };
9787
- var propTypes$k = __assign(__assign({}, spsGlobalPropTypes), { progress: number, size: enumValue(RingSize) });
9933
+ var propTypes$n = __assign(__assign({}, spsGlobalPropTypes), { progress: number, size: enumValue(RingSize) });
9788
9934
  function SpsProgressRing(_a) {
9789
9935
  var _b = _a.size, size = _b === void 0 ? RingSize.SMALL : _b, _c = _a.progress, progress = _c === void 0 ? 0 : _c;
9790
9936
  var stroke = 4;
@@ -9797,15 +9943,15 @@ function SpsProgressRing(_a) {
9797
9943
  React.createElement("circle", { stroke: colors.purple200, fill: "transparent", strokeWidth: stroke, strokeDasharray: circumference + " " + circumference, style: { strokeDashoffset: strokeDashoffset }, r: normalizedRadius, cx: size, cy: size }))));
9798
9944
  }
9799
9945
  Object.assign(SpsProgressRing, {
9800
- props: propsDoc$i,
9801
- propTypes: propTypes$k,
9946
+ props: propsDoc$l,
9947
+ propTypes: propTypes$n,
9802
9948
  displayName: 'SpsProgressRing',
9803
9949
  });
9804
9950
 
9805
- var propsDoc$h = {
9951
+ var propsDoc$k = {
9806
9952
  phases: 'WizardPhase[]',
9807
9953
  };
9808
- var propTypes$j = __assign(__assign({}, spsGlobalPropTypes), { phases: arrayOf(impl()) });
9954
+ var propTypes$m = __assign(__assign({}, spsGlobalPropTypes), { phases: arrayOf(impl()) });
9809
9955
  var CSS_BLOCK$2 = 'sps-wizard-sidebar';
9810
9956
  function SpsWizardSidebar(_a) {
9811
9957
  var className = _a.className, phases = _a.phases;
@@ -9824,17 +9970,17 @@ function SpsWizardSidebar(_a) {
9824
9970
  })));
9825
9971
  }
9826
9972
  Object.assign(SpsWizardSidebar, {
9827
- props: propsDoc$h,
9828
- propTypes: propTypes$j,
9973
+ props: propsDoc$k,
9974
+ propTypes: propTypes$m,
9829
9975
  displayName: 'SpsWizardSidebar',
9830
9976
  });
9831
9977
 
9832
- var propsDoc$g = {
9978
+ var propsDoc$j = {
9833
9979
  display: 'string',
9834
9980
  condition: 'WizardSubstepConditions',
9835
9981
  orderPosition: 'string | number',
9836
9982
  };
9837
- var propTypes$i = __assign(__assign({}, spsGlobalPropTypes), { condition: enumValue(WizardSubstepConditions).isRequired, display: string.isRequired, orderPosition: oneOfType([
9983
+ var propTypes$l = __assign(__assign({}, spsGlobalPropTypes), { condition: enumValue(WizardSubstepConditions).isRequired, display: string.isRequired, orderPosition: oneOfType([
9838
9984
  string,
9839
9985
  number,
9840
9986
  ]).isRequired });
@@ -9847,8 +9993,8 @@ function SpsWizardSubstep(props) {
9847
9993
  React.createElement("div", { className: clsx('sps-wizard-substep__body', "sps-wizard-substep__body--" + condition) }, children)));
9848
9994
  }
9849
9995
  Object.assign(SpsWizardSubstep, {
9850
- props: propsDoc$g,
9851
- propTypes: propTypes$i,
9996
+ props: propsDoc$j,
9997
+ propTypes: propTypes$l,
9852
9998
  displayName: 'SpsWizardSubstep',
9853
9999
  });
9854
10000
 
@@ -9857,7 +10003,7 @@ var SpsWizardExamples = {
9857
10003
  label: 'Substep',
9858
10004
  examples: {
9859
10005
  completed: {
9860
- jsx: 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 "]))),
10006
+ jsx: 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 "]))),
9861
10007
  },
9862
10008
  active: {
9863
10009
  jsx: 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 "]))),
@@ -9876,33 +10022,33 @@ var SpsWizardExamples = {
9876
10022
  },
9877
10023
  },
9878
10024
  };
9879
- var templateObject_1$5, templateObject_2$4, templateObject_3$2, templateObject_4$1;
10025
+ var templateObject_1$6, templateObject_2$4, templateObject_3$2, templateObject_4$1;
9880
10026
 
9881
- var propsDoc$f = {};
9882
- var propTypes$h = __assign({}, spsGlobalPropTypes);
10027
+ var propsDoc$i = {};
10028
+ var propTypes$k = __assign({}, spsGlobalPropTypes);
9883
10029
  function SpsWorkflowDocument(props) {
9884
10030
  var children = props.children, className = props.className, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", 'data-testid', "unsafelyReplaceClassName"]);
9885
10031
  var classes = clsx(unsafelyReplaceClassName || 'sps-workflow__document', className);
9886
10032
  return (React.createElement("span", __assign({ className: classes, "data-testid": testId + "__document" }, rest), children));
9887
10033
  }
9888
10034
  Object.assign(SpsWorkflowDocument, {
9889
- props: propsDoc$f,
9890
- propTypes: propTypes$h,
10035
+ props: propsDoc$i,
10036
+ propTypes: propTypes$k,
9891
10037
  displayName: 'SpsWorkflowDocument',
9892
10038
  });
9893
10039
  function SpsWfDoc(props) {
9894
10040
  return SpsWorkflowDocument(props);
9895
10041
  }
9896
10042
  Object.assign(SpsWfDoc, {
9897
- props: propsDoc$f,
9898
- propTypes: propTypes$h,
10043
+ props: propsDoc$i,
10044
+ propTypes: propTypes$k,
9899
10045
  displayName: 'SpsWfDoc',
9900
10046
  });
9901
10047
 
9902
- var propsDoc$e = {
10048
+ var propsDoc$h = {
9903
10049
  icon: 'SpsIcon',
9904
10050
  };
9905
- var propTypes$g = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(SpsIcon$1) });
10051
+ var propTypes$j = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(SpsIcon$1) });
9906
10052
  function SpsWorkflowDocumentStatus(props) {
9907
10053
  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"]);
9908
10054
  var classes = clsx(unsafelyReplaceClassName || 'sps-workflow__document-status', className);
@@ -9912,24 +10058,24 @@ function SpsWorkflowDocumentStatus(props) {
9912
10058
  children));
9913
10059
  }
9914
10060
  Object.assign(SpsWorkflowDocumentStatus, {
9915
- props: propsDoc$e,
9916
- propTypes: propTypes$g,
10061
+ props: propsDoc$h,
10062
+ propTypes: propTypes$j,
9917
10063
  displayName: 'SpsWorkflowDocumentStatus',
9918
10064
  });
9919
10065
  function SpsWfDs(props) {
9920
10066
  return SpsWorkflowDocumentStatus(props);
9921
10067
  }
9922
10068
  Object.assign(SpsWfDs, {
9923
- props: propsDoc$e,
9924
- propTypes: propTypes$g,
10069
+ props: propsDoc$h,
10070
+ propTypes: propTypes$j,
9925
10071
  displayName: 'SpsWfDs',
9926
10072
  });
9927
10073
 
9928
- var propsDoc$d = {
10074
+ var propsDoc$g = {
9929
10075
  icon: { type: 'SpsIcon', required: true },
9930
10076
  title: { type: 'string', required: true },
9931
10077
  };
9932
- var propTypes$f = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(SpsIcon$1).isRequired, title: string.isRequired });
10078
+ var propTypes$i = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(SpsIcon$1).isRequired, title: string.isRequired });
9933
10079
  function SpsWorkflowStep(props) {
9934
10080
  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"]);
9935
10081
  var classes = clsx(unsafelyReplaceClassName || 'sps-workflow__step', className);
@@ -9939,16 +10085,16 @@ function SpsWorkflowStep(props) {
9939
10085
  children));
9940
10086
  }
9941
10087
  Object.assign(SpsWorkflowStep, {
9942
- props: propsDoc$d,
9943
- propTypes: propTypes$f,
10088
+ props: propsDoc$g,
10089
+ propTypes: propTypes$i,
9944
10090
  displayName: 'SpsWorkflowStep',
9945
10091
  });
9946
10092
  function SpsWfStep(props) {
9947
10093
  return SpsWorkflowStep(props);
9948
10094
  }
9949
10095
  Object.assign(SpsWfStep, {
9950
- props: propsDoc$d,
9951
- propTypes: propTypes$f,
10096
+ props: propsDoc$g,
10097
+ propTypes: propTypes$i,
9952
10098
  displayName: 'SpsWfStep',
9953
10099
  });
9954
10100
 
@@ -9957,7 +10103,7 @@ var SpsWorkflowExamples = {
9957
10103
  label: 'Basic Usage',
9958
10104
  examples: {
9959
10105
  basic: {
9960
- jsx: 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 "]))),
10106
+ jsx: 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 "]))),
9961
10107
  },
9962
10108
  },
9963
10109
  },
@@ -9970,14 +10116,14 @@ var SpsWorkflowExamples = {
9970
10116
  },
9971
10117
  },
9972
10118
  };
9973
- var templateObject_1$4, templateObject_2$3;
10119
+ var templateObject_1$5, templateObject_2$3;
9974
10120
 
9975
- var propsDoc$c = {
10121
+ var propsDoc$f = {
9976
10122
  artwork: { type: 'string', required: true },
9977
10123
  heading: { type: 'string', required: true },
9978
10124
  subHeading: 'string',
9979
10125
  };
9980
- var propTypes$e = __assign(__assign({}, spsGlobalPropTypes), { artwork: string.isRequired, heading: string.isRequired, subHeading: string });
10126
+ var propTypes$h = __assign(__assign({}, spsGlobalPropTypes), { artwork: string.isRequired, heading: string.isRequired, subHeading: string });
9981
10127
  function SpsZeroState(props) {
9982
10128
  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"]);
9983
10129
  var classes = clsx(unsafelyReplaceClassName || 'sps-zero-state', className);
@@ -9989,17 +10135,17 @@ function SpsZeroState(props) {
9989
10135
  React.createElement("div", { className: "sps-zero-state__content", "data-testid": testId + "__content" }, children))));
9990
10136
  }
9991
10137
  Object.assign(SpsZeroState, {
9992
- props: propsDoc$c,
9993
- propTypes: propTypes$e,
10138
+ props: propsDoc$f,
10139
+ propTypes: propTypes$h,
9994
10140
  displayName: 'SpsZeroState',
9995
10141
  });
9996
10142
 
9997
- var propsDoc$b = {
10143
+ var propsDoc$e = {
9998
10144
  icon: { type: 'SpsIcon', required: true },
9999
10145
  heading: 'ReactNodeOrRenderFn',
10000
10146
  subHeading: 'ReactNodeOrRenderFn',
10001
10147
  };
10002
- var propTypes$d = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(SpsIcon$1).isRequired, heading: nodeOrRenderFn, subHeading: nodeOrRenderFn });
10148
+ var propTypes$g = __assign(__assign({}, spsGlobalPropTypes), { icon: enumValue(SpsIcon$1).isRequired, heading: nodeOrRenderFn, subHeading: nodeOrRenderFn });
10003
10149
  function SpsMicroZeroState(props) {
10004
10150
  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"]);
10005
10151
  var classes = clsx(unsafelyReplaceClassName || 'sps-zero-state', 'sps-zero-state--micro', className);
@@ -10009,8 +10155,8 @@ function SpsMicroZeroState(props) {
10009
10155
  subHeading && React.createElement("h2", { className: "sps-zero-state__subheading", "data-testid": testId + "__subheading" }, subHeading)));
10010
10156
  }
10011
10157
  Object.assign(SpsMicroZeroState, {
10012
- props: propsDoc$b,
10013
- propTypes: propTypes$d,
10158
+ props: propsDoc$e,
10159
+ propTypes: propTypes$g,
10014
10160
  displayName: 'SpsMicroZeroState',
10015
10161
  });
10016
10162
 
@@ -10044,7 +10190,7 @@ var SpsZeroStateExamples = {
10044
10190
  examples: {
10045
10191
  illustrationAndHeading: {
10046
10192
  description: 'Illustration + Heading',
10047
- jsx: 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 "]))),
10193
+ jsx: 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 "]))),
10048
10194
  },
10049
10195
  illustrationHeadingAndSubtitle: {
10050
10196
  description: 'Illustration + Heading + Subtitle',
@@ -10083,7 +10229,91 @@ var SpsZeroStateExamples = {
10083
10229
  },
10084
10230
  },
10085
10231
  };
10086
- var templateObject_1$3, templateObject_2$2, templateObject_3$1, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
10232
+ var templateObject_1$4, templateObject_2$2, templateObject_3$1, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
10233
+
10234
+ var propsDoc$d = {};
10235
+ var propTypes$f = __assign({}, spsGlobalPropTypes);
10236
+ function SpsFilterPanel(_a) {
10237
+ var children = _a.children, className = _a.className, rest = __rest(_a, ["children", "className"]);
10238
+ return (React.createElement("div", __assign({ className: clsx('sps-filter-panel', className) }, rest), children));
10239
+ }
10240
+ Object.assign(SpsFilterPanel, {
10241
+ props: propsDoc$d,
10242
+ propTypes: propTypes$f,
10243
+ displayName: 'SpsFilterPanel',
10244
+ });
10245
+
10246
+ var propsDoc$c = {
10247
+ title: 'string',
10248
+ expanded: 'boolean',
10249
+ heightPx: 'number',
10250
+ heightRem: 'number',
10251
+ onExpand: '() => void',
10252
+ onCollapse: '() => void',
10253
+ };
10254
+ var propTypes$e = __assign(__assign({}, spsGlobalPropTypes), { title: string, expanded: bool, heightPx: number, heightRem: number, onExpand: fun(), onCollapse: fun() });
10255
+ function SpsFilterPanelSection(_a) {
10256
+ 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"]);
10257
+ var _b = __read(React.useState(expanded), 2), localExpanded = _b[0], setLocalExpanded = _b[1];
10258
+ var isExpanded = typeof expanded !== 'undefined' ? expanded : localExpanded;
10259
+ var height = heightPx ? heightPx / 16 : heightRem;
10260
+ var inlineStyles = height ? { overflowY: 'scroll', height: height + "rem" } : {};
10261
+ var ExpandHideButton = function () { return (React.createElement("button", { type: "button", className: "sps-filter-panel__section__expand-btn", onClick: function () {
10262
+ setLocalExpanded(!isExpanded);
10263
+ if (!isExpanded && onExpand) {
10264
+ onExpand();
10265
+ }
10266
+ else if (isExpanded && onCollapse) {
10267
+ onCollapse();
10268
+ }
10269
+ } },
10270
+ React.createElement(SpsI, { icon: isExpanded ? SpsIcon$1.MINUS_CIRCLE : SpsIcon$1.PLUS_CIRCLE }))); };
10271
+ React.useEffect(function () {
10272
+ setLocalExpanded(expanded);
10273
+ }, [expanded]);
10274
+ return (React.createElement("div", __assign({ className: clsx('sps-filter-panel__section', className) }, rest),
10275
+ React.createElement("div", { className: "sps-filter-panel__section__title-wrapper" },
10276
+ React.createElement(ExpandHideButton, null),
10277
+ React.createElement("p", null, title)),
10278
+ isExpanded && (React.createElement("div", { className: "sps-filter-panel__section__content-wrapper", style: inlineStyles },
10279
+ React.createElement("div", { className: "sps-filter-panel__section__content" }, children)))));
10280
+ }
10281
+ Object.assign(SpsFilterPanelSection, {
10282
+ props: propsDoc$c,
10283
+ propTypes: propTypes$e,
10284
+ displayName: 'SpsFilterPanelSection',
10285
+ });
10286
+
10287
+ var propsDoc$b = {
10288
+ onClear: '() => void',
10289
+ };
10290
+ var propTypes$d = __assign(__assign({}, spsGlobalPropTypes), { onClear: fun() });
10291
+ function SpsFilterPanelCap(_a) {
10292
+ _a.children; var className = _a.className, onClear = _a.onClear, rest = __rest(_a, ["children", "className", "onClear"]);
10293
+ var t = React.useContext(I18nContext).t;
10294
+ return (React.createElement("div", __assign({ className: clsx('sps-filter-panel__cap', className) }, rest),
10295
+ React.createElement("div", { className: "sps-filter-panel__cap__title-wrapper" },
10296
+ React.createElement(SpsI, { icon: SpsIcon$1.FILTER, size: SpsIconSize.SMALL }),
10297
+ React.createElement("p", null, t('design-system:filterPanel.title'))),
10298
+ React.createElement(SpsButton, { kind: ButtonKind.LINK, onClick: onClear }, t('design-system:filterPanel.clear'))));
10299
+ }
10300
+ Object.assign(SpsFilterPanelCap, {
10301
+ props: propsDoc$b,
10302
+ propTypes: propTypes$d,
10303
+ displayName: 'SpsFilterPanelCap',
10304
+ });
10305
+
10306
+ var SpsFilterPanelExamples = {
10307
+ generalUsage: {
10308
+ label: 'General Usage',
10309
+ examples: {
10310
+ general: {
10311
+ react: 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 "]))),
10312
+ },
10313
+ },
10314
+ },
10315
+ };
10316
+ var templateObject_1$3;
10087
10317
 
10088
10318
  /* eslint-disable react/prop-types */
10089
10319
  var MANIFEST = {
@@ -10194,6 +10424,10 @@ var MANIFEST = {
10194
10424
  components: [SpsFieldset],
10195
10425
  examples: SpsFieldsetExamples,
10196
10426
  },
10427
+ 'Filter Panel': {
10428
+ components: [SpsFilterPanel, SpsFilterPanelSection, SpsFilterPanelCap],
10429
+ examples: SpsFilterPanelExamples,
10430
+ },
10197
10431
  'Focused Task': {
10198
10432
  components: [SpsFocusedTask, SpsFocusedTaskActions],
10199
10433
  examples: SpsFocusedTaskExamples,
@@ -14406,4 +14640,4 @@ Object.assign(SpsVr, {
14406
14640
  displayName: 'SpsDescriptionListTerm / SpsDt',
14407
14641
  });
14408
14642
 
14409
- export { ContentOrderExample, FauxChangeEvent, I18nContext, MANIFEST, OnBlurErrorKeys, PortalContext, SimpleDateUtils, SpsAddRemoveFormRowExamples, SpsAdvancedSearch, SpsAdvancedSearchExamples, SpsAutocomplete, SpsAutocompleteExamples, SpsButton, SpsButtonExamples, SpsButtonGroup, SpsCard, SpsCardExamples, SpsCardTabbedPane, SpsCardV2, SpsCardV2Footer, SpsCardV2Header, SpsCardV2Title, SpsCheckbox, SpsCheckboxDropdown, SpsCheckboxExamples, SpsClickableTag, SpsClickableTagExamples, SpsColumnChooser, SpsColumnChooserColumn, SpsColumnChooserExamples, SpsContentRow, SpsContentRowCol, SpsContentRowExamples, SpsContentRowExpansion, SpsCurrencyInput, SpsCurrencyInputExamples, SpsDateRangePicker, SpsDateRangePickerExamples, SpsDateRangePickerV2, SpsDateTime, SpsDatepicker, SpsDatepickerExamples, SpsDatepickerV2, SpsDatetimeExamples, SpsDd, SpsDescriptionList, SpsDescriptionListDefinition, SpsDescriptionListExamples, SpsDescriptionListTerm, SpsDl, SpsDropdown, SpsDropdownExamples, SpsDt, SpsFeedbackBlock, SpsFeedbackBlockExamples, SpsFieldset, SpsFieldsetExamples, SpsFocusedTask, SpsFocusedTaskActions, SpsFocusedTaskExamples, SpsForm, SpsFormArrayMeta, SpsFormComponentWrapper, SpsFormExamples, SpsFormFieldMeta, SpsFormGroupMeta, SpsFormMetaBase, SpsFormSetMeta, SpsGrowler, SpsGrowlerExamples, SpsI, SpsIcon, SpsIconButtonPanel, SpsIncrementor, SpsIncrementorExamples, SpsInputGroup, SpsKeyValueList, SpsKeyValueListExamples, SpsKeyValueListItem, SpsKeyValueTag, SpsKeyValueTagExamples, SpsLabel, SpsLabelExamples, SpsListActionBar, SpsListActionBarExamples, SpsListToolbar, SpsListToolbarExamples, SpsListToolbarSearch, SpsMicroBlock, SpsMicroBlockExamples, SpsMicroZeroState, SpsModal, SpsModalAction, SpsModalBody, SpsModalExamples, SpsModalFooter, SpsModalHeader, SpsModalOverlay, SpsModalV2, SpsModalV2Footer, SpsMultiSelect, SpsMultiSelectExamples, SpsMultiSelectTag, SpsPageSelector, SpsPageSubtitle, SpsPageTitle, SpsPageTitleExamples, SpsPagination, SpsPaginationExamples, SpsProductBar, SpsProductBarExamples, SpsProductBarTab, SpsProgressBar, SpsProgressBarExamples, SpsProgressRing, SpsRadioButton, SpsRadioButtonExamples, SpsScrollableContainer, SpsScrollableContainerExamples, SpsSearchResultsBar, SpsSearchResultsBarExamples, SpsSelect, SpsSelectExamples, SpsSideNav, SpsSideNavExamples, SpsSlackLink, SpsSlackLinkExamples, SpsSortingHeader, SpsSortingHeaderCell, SpsSortingHeaderExamples, SpsSpinner, SpsSpinnerExamples, SpsSplitButton, SpsSplitButtonExamples, SpsSummaryListColumn, SpsSummaryListExamples, SpsSummaryListExpansion, SpsSummaryListRow, SpsTab, SpsTabPanel, SpsTable, SpsTableBody, SpsTableCell, SpsTableExamples, SpsTableHead, SpsTableHeader, SpsTableRow, SpsTabsV2, SpsTag, SpsTagExamples, SpsTaskQueue, SpsTaskQueueExamples, SpsTbody, SpsTd, SpsTextInput, SpsTextInputExamples, SpsTextarea, SpsTextareaExamples, SpsTh, SpsThead, SpsTile, SpsTileList, SpsTileListExamples, SpsToggle, SpsToggleExamples, SpsTooltip, SpsTooltipExamples, SpsTr, SpsValidators, SpsVerticalRule, SpsVr, SpsWf, SpsWfDoc, SpsWfDs, SpsWfStep, SpsWizardExamples, SpsWizardSidebar, SpsWizardSubstep, SpsWorkflow, SpsWorkflowDocument, SpsWorkflowDocumentStatus, SpsWorkflowExamples, SpsWorkflowStep, SpsZeroState, SpsZeroStateExamples, TooltipVisibility, contentOf, date, dateConstraint, dateRange, findParentBranches, flipPosition, formArray, formControl, formGroup, getMember, getPosition, selectChildren, toggleTooltipState, useCheckDeprecatedProps, useDidUpdateEffect, useDocumentEventListener, useElementId, useForm, useGrowlers, useInputPopup, usePatchReducer, usePortal, useServerSideValidation, useSpsAction, useSpsForm, validate, weekOfMonth };
14643
+ export { ContentOrderExample, FauxChangeEvent, I18nContext, MANIFEST, OnBlurErrorKeys, PortalContext, SimpleDateUtils, SpsAddRemoveFormRowExamples, SpsAdvancedSearch, SpsAdvancedSearchExamples, SpsAutocomplete, SpsAutocompleteExamples, SpsButton, SpsButtonExamples, SpsButtonGroup, SpsCard, SpsCardExamples, SpsCardTabbedPane, SpsCardV2, SpsCardV2Footer, SpsCardV2Header, SpsCardV2Title, SpsCheckbox, SpsCheckboxDropdown, SpsCheckboxExamples, SpsClickableTag, SpsClickableTagExamples, SpsColumnChooser, SpsColumnChooserColumn, SpsColumnChooserExamples, SpsContentRow, SpsContentRowCol, SpsContentRowExamples, SpsContentRowExpansion, SpsCurrencyInput, SpsCurrencyInputExamples, SpsDateRangePicker, SpsDateRangePickerExamples, SpsDateRangePickerV2, SpsDateTime, SpsDatepicker, SpsDatepickerExamples, SpsDatepickerV2, SpsDatetimeExamples, SpsDd, SpsDescriptionList, SpsDescriptionListDefinition, SpsDescriptionListExamples, SpsDescriptionListTerm, SpsDl, SpsDropdown, SpsDropdownExamples, SpsDt, SpsFeedbackBlock, SpsFeedbackBlockExamples, SpsFieldset, SpsFieldsetExamples, SpsFilterPanel, SpsFilterPanelCap, SpsFilterPanelExamples, SpsFilterPanelSection, SpsFocusedTask, SpsFocusedTaskActions, SpsFocusedTaskExamples, SpsForm, SpsFormArrayMeta, SpsFormComponentWrapper, SpsFormExamples, SpsFormFieldMeta, SpsFormGroupMeta, SpsFormMetaBase, SpsFormSetMeta, SpsGrowler, SpsGrowlerExamples, SpsI, SpsIcon, SpsIconButtonPanel, SpsIncrementor, SpsIncrementorExamples, SpsInputGroup, SpsKeyValueList, SpsKeyValueListExamples, SpsKeyValueListItem, SpsKeyValueTag, SpsKeyValueTagExamples, SpsLabel, SpsLabelExamples, SpsListActionBar, SpsListActionBarExamples, SpsListToolbar, SpsListToolbarExamples, SpsListToolbarSearch, SpsMicroBlock, SpsMicroBlockExamples, SpsMicroZeroState, SpsModal, SpsModalAction, SpsModalBody, SpsModalExamples, SpsModalFooter, SpsModalHeader, SpsModalOverlay, SpsModalV2, SpsModalV2Footer, SpsMultiSelect, SpsMultiSelectExamples, SpsMultiSelectTag, SpsPageSelector, SpsPageSubtitle, SpsPageTitle, SpsPageTitleExamples, SpsPagination, SpsPaginationExamples, SpsProductBar, SpsProductBarExamples, SpsProductBarTab, SpsProgressBar, SpsProgressBarExamples, SpsProgressRing, SpsRadioButton, SpsRadioButtonExamples, SpsScrollableContainer, SpsScrollableContainerExamples, SpsSearchResultsBar, SpsSearchResultsBarExamples, SpsSelect, SpsSelectExamples, SpsSideNav, SpsSideNavExamples, SpsSlackLink, SpsSlackLinkExamples, SpsSortingHeader, SpsSortingHeaderCell, SpsSortingHeaderExamples, SpsSpinner, SpsSpinnerExamples, SpsSplitButton, SpsSplitButtonExamples, SpsSummaryListColumn, SpsSummaryListExamples, SpsSummaryListExpansion, SpsSummaryListRow, SpsTab, SpsTabPanel, SpsTable, SpsTableBody, SpsTableCell, SpsTableExamples, SpsTableHead, SpsTableHeader, SpsTableRow, SpsTabsV2, SpsTag, SpsTagExamples, SpsTaskQueue, SpsTaskQueueExamples, SpsTbody, SpsTd, SpsTextInput, SpsTextInputExamples, SpsTextarea, SpsTextareaExamples, SpsTh, SpsThead, SpsTile, SpsTileList, SpsTileListExamples, SpsToggle, SpsToggleExamples, SpsTooltip, SpsTooltipExamples, SpsTr, SpsValidators, SpsVerticalRule, SpsVr, SpsWf, SpsWfDoc, SpsWfDs, SpsWfStep, SpsWizardExamples, SpsWizardSidebar, SpsWizardSubstep, SpsWorkflow, SpsWorkflowDocument, SpsWorkflowDocumentStatus, SpsWorkflowExamples, SpsWorkflowStep, SpsZeroState, SpsZeroStateExamples, TooltipVisibility, contentOf, date, dateConstraint, dateRange, findParentBranches, flipPosition, formArray, formControl, formGroup, getMember, getPosition, selectChildren, toggleTooltipState, useCheckDeprecatedProps, useDidUpdateEffect, useDocumentEventListener, useElementId, useForm, useGrowlers, useInputPopup, usePatchReducer, usePortal, useServerSideValidation, useSpsAction, useSpsForm, validate, weekOfMonth };