@spscommerce/ds-react 7.2.1 → 7.2.2

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.
Files changed (114) hide show
  1. package/lib/advanced-search/SpsAdvancedSearch.d.ts +1 -1
  2. package/lib/autocomplete/SpsAutocomplete.d.ts +1 -1
  3. package/lib/button/SpsButton.d.ts +1 -1
  4. package/lib/button/SpsButtonGroup.d.ts +1 -1
  5. package/lib/button/SpsIconButtonPanel.d.ts +1 -1
  6. package/lib/card/SpsCard.d.ts +1 -1
  7. package/lib/card/SpsCardHeader.d.ts +1 -1
  8. package/lib/card/SpsCardTabbedPane.d.ts +1 -1
  9. package/lib/card/useTab.d.ts +1 -1
  10. package/lib/checkbox/SpsCheckbox.d.ts +1 -1
  11. package/lib/checkbox-dropdown/SpsCheckboxDropdown.d.ts +3 -3
  12. package/lib/clickable-tag/SpsClickableTag.d.ts +1 -1
  13. package/lib/column-chooser/SpsColumnChooser.d.ts +1 -1
  14. package/lib/column-chooser/SpsColumnChooserColumn.d.ts +1 -1
  15. package/lib/conditional-field/SpsConditionalField.d.ts +1 -1
  16. package/lib/content-row/SpsContentRow.d.ts +1 -1
  17. package/lib/content-row/SpsContentRowCol.d.ts +1 -1
  18. package/lib/content-row/SpsContentRowExpansion.d.ts +1 -1
  19. package/lib/currency-input/SpsCurrencyInput.d.ts +1 -1
  20. package/lib/dateRangePicker/SpsDateRangePicker.d.ts +1 -1
  21. package/lib/datepicker/SpsDatepicker.d.ts +1 -1
  22. package/lib/datepicker/SpsDatepickerCalendar.d.ts +1 -1
  23. package/lib/datepicker/SpsDatepickerPopup.d.ts +1 -1
  24. package/lib/datetime/SpsDateTime.d.ts +1 -1
  25. package/lib/description-list/SpsDescriptionList.d.ts +1 -1
  26. package/lib/description-list/SpsDescriptionListDefinition.d.ts +1 -1
  27. package/lib/description-list/SpsDescriptionListTerm.d.ts +1 -1
  28. package/lib/dropdown/SpsDropdown.d.ts +1 -1
  29. package/lib/feedback-block/SpsFeedbackBlock.d.ts +1 -1
  30. package/lib/fieldset/SpsFieldset.d.ts +1 -1
  31. package/lib/filter-panel/SpsFilterPanel.d.ts +1 -1
  32. package/lib/filter-panel/SpsFilterPanelCap.d.ts +1 -1
  33. package/lib/filter-panel/SpsFilterPanelFilterBox.d.ts +1 -1
  34. package/lib/filter-panel/SpsFilterPanelSection.d.ts +1 -1
  35. package/lib/filter-tile-list/SpsFilterTile.d.ts +1 -1
  36. package/lib/filter-tile-list/SpsFilterTileList.d.ts +1 -1
  37. package/lib/focused-task/SpsFocusedTask.d.ts +1 -1
  38. package/lib/focused-task/SpsFocusedTaskActions.d.ts +1 -1
  39. package/lib/form/SpsForm.d.ts +3 -3
  40. package/lib/form/SpsFormComponentWrapper.d.ts +3 -3
  41. package/lib/form/hooks/useSpsForm.d.ts +9 -9
  42. package/lib/form/validation/types.d.ts +4 -4
  43. package/lib/growler/SpsGrowler.d.ts +1 -1
  44. package/lib/icon/SpsIcon.d.ts +1 -1
  45. package/lib/incrementor/SpsIncrementor.d.ts +1 -1
  46. package/lib/input-group/SpsInputGroup.d.ts +1 -1
  47. package/lib/insight-tile/SpsInsightTile.d.ts +1 -1
  48. package/lib/insight-tile/SpsInsights.d.ts +1 -1
  49. package/lib/key-value-list/SpsKeyValueList.d.ts +1 -1
  50. package/lib/key-value-list/SpsKeyValueListItem.d.ts +1 -1
  51. package/lib/key-value-tag/SpsKeyValueTag.d.ts +1 -1
  52. package/lib/label/SpsLabel.d.ts +1 -1
  53. package/lib/list-action-bar/SpsListActionBar.d.ts +1 -1
  54. package/lib/list-toolbar/SpsListToolbar.d.ts +1 -1
  55. package/lib/list-toolbar/SpsListToolbarSearch.d.ts +1 -1
  56. package/lib/list-toolbar/SpsListToolbarSearchInfo.d.ts +1 -1
  57. package/lib/list-toolbar/SpsListToolbarSortBy.d.ts +1 -1
  58. package/lib/micro-block/SpsMicroBlock.d.ts +1 -1
  59. package/lib/modal/SpsModal.d.ts +1 -1
  60. package/lib/modal/useModals.d.ts +1 -1
  61. package/lib/multi-select/SpsMultiSelect.d.ts +1 -1
  62. package/lib/multi-value-text-input/SpsMultiValueTextInput.d.ts +1 -1
  63. package/lib/option-list/SpsOptionListProps.d.ts +1 -1
  64. package/lib/page-title/SpsPageSubtitle.d.ts +1 -1
  65. package/lib/page-title/SpsPageTitle.d.ts +1 -1
  66. package/lib/pagination/SpsPageSelector.d.ts +1 -1
  67. package/lib/pagination/SpsPagination.d.ts +1 -1
  68. package/lib/product-bar/SpsProductBar.d.ts +1 -1
  69. package/lib/product-bar/SpsProductBarTab.d.ts +1 -1
  70. package/lib/progress-bar/SpsProgressBar.d.ts +1 -1
  71. package/lib/progress-ring/SpsProgressRing.d.ts +1 -1
  72. package/lib/radio-button/SpsRadioButton.d.ts +1 -1
  73. package/lib/scrollable-container/SpsScrollableContainer.d.ts +1 -1
  74. package/lib/search-results-bar/SpsSearchResultsBar.d.ts +1 -1
  75. package/lib/search-results-bar/SpsSearchResultsBarV2.d.ts +1 -1
  76. package/lib/select/SpsSelect.d.ts +2 -2
  77. package/lib/slack-link/SpsSlackLink.d.ts +1 -1
  78. package/lib/slide-in-panel/SpsSlideInPanel.d.ts +1 -1
  79. package/lib/sorting-header/SpsSortingHeader.d.ts +1 -1
  80. package/lib/sorting-header/SpsSortingHeaderCell.d.ts +1 -1
  81. package/lib/spinner/SpsSpinner.d.ts +1 -1
  82. package/lib/split-button/SpsSplitButton.d.ts +1 -1
  83. package/lib/stepped-progress-bar/SpsSteppedProgressBar.d.ts +1 -1
  84. package/lib/summary-list/SpsSummaryListColumn.d.ts +1 -1
  85. package/lib/summary-list/SpsSummaryListExpansion.d.ts +1 -1
  86. package/lib/summary-list/SpsSummaryListRow.d.ts +1 -1
  87. package/lib/table/SpsTable.d.ts +1 -1
  88. package/lib/table/SpsTableBody.d.ts +1 -1
  89. package/lib/table/SpsTableCell.d.ts +1 -1
  90. package/lib/table/SpsTableHead.d.ts +1 -1
  91. package/lib/table/SpsTableHeader.d.ts +1 -1
  92. package/lib/table/SpsTableRow.d.ts +1 -1
  93. package/lib/tabs/SpsTabs.d.ts +1 -1
  94. package/lib/tag/SpsTag.d.ts +1 -1
  95. package/lib/task-queue/SpsTaskQueue.d.ts +2 -2
  96. package/lib/text-input/SpsTextInput.d.ts +1 -1
  97. package/lib/textarea/SpsTextarea.d.ts +1 -1
  98. package/lib/tile-list/SpsTile.d.ts +1 -1
  99. package/lib/tile-list/SpsTileList.d.ts +1 -1
  100. package/lib/toggle/SpsToggle.d.ts +1 -1
  101. package/lib/tooltip/SpsTooltip.d.ts +1 -1
  102. package/lib/tooltip/SpsTooltipTitle.d.ts +1 -1
  103. package/lib/utils/Provide.d.ts +1 -1
  104. package/lib/utils/bindProps.d.ts +1 -1
  105. package/lib/vertical-rule/SpsVerticalRule.d.ts +1 -1
  106. package/lib/wizard/SpsWizardSidebar.d.ts +1 -1
  107. package/lib/wizard/SpsWizardSubstep.d.ts +1 -1
  108. package/lib/workflow/SpsWorkflow.d.ts +1 -1
  109. package/lib/workflow/SpsWorkflowDocument.d.ts +1 -1
  110. package/lib/workflow/SpsWorkflowDocumentStatus.d.ts +1 -1
  111. package/lib/workflow/SpsWorkflowStep.d.ts +1 -1
  112. package/lib/zero-state/SpsMicroZeroState.d.ts +1 -1
  113. package/lib/zero-state/SpsZeroState.d.ts +1 -1
  114. package/package.json +12 -12
@@ -1,7 +1,7 @@
1
1
  import { FeedbackBlockKind } from "@spscommerce/ds-shared";
2
2
  import * as React from "react";
3
3
  import type { SpsGlobalPropTypes } from "../prop-types";
4
- export declare type SpsMicroBlockProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
+ export type SpsMicroBlockProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
5
  kind?: FeedbackBlockKind;
6
6
  message: string;
7
7
  }> & React.HTMLAttributes<HTMLDivElement>;
@@ -1,7 +1,7 @@
1
1
  import { ModalKind, ModalSize } from "@spscommerce/ds-shared";
2
2
  import * as React from "react";
3
3
  import type { SpsGlobalPropTypes } from "../prop-types";
4
- export declare type SpsModalProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
+ export type SpsModalProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
5
  kind?: ModalKind;
6
6
  size?: ModalSize;
7
7
  title?: string;
@@ -1,4 +1,4 @@
1
- declare type UseModalsType = [
1
+ type UseModalsType = [
2
2
  modals: JSX.Element[],
3
3
  pushModal: <T>(component: JSX.Element) => Promise<ModalResult<T>>,
4
4
  popModal: <T>(result?: ModalResult<T>) => void
@@ -4,7 +4,7 @@ import type { SpsActionMethod, SpsIcon } from "@spscommerce/ds-shared";
4
4
  import type { SpsGlobalPropTypes } from "../prop-types";
5
5
  import type { SpsFormControl } from "../form/hooks/formControl";
6
6
  import type { SpsFormFieldMeta } from "../form/hooks/useSpsForm";
7
- export declare type SpsMultiSelectProps = React.PropsWithChildren<SpsGlobalPropTypes & {
7
+ export type SpsMultiSelectProps = React.PropsWithChildren<SpsGlobalPropTypes & {
8
8
  action?: SpsActionMethod;
9
9
  captionKey?: string;
10
10
  clearSearchOnBlur?: boolean;
@@ -3,7 +3,7 @@ import type { SpsIcon } from "@spscommerce/ds-shared";
3
3
  import type { SpsGlobalPropTypes } from "../prop-types";
4
4
  import type { SpsFormControl } from "../form/hooks/formControl";
5
5
  import type { SpsFormFieldMeta } from "../form/hooks/useSpsForm";
6
- export declare type SpsMultiValueTextInputProps = React.PropsWithChildren<SpsGlobalPropTypes & {
6
+ export type SpsMultiValueTextInputProps = React.PropsWithChildren<SpsGlobalPropTypes & {
7
7
  disabled?: boolean;
8
8
  formControl?: SpsFormControl<any[]>;
9
9
  formMeta?: SpsFormFieldMeta<any[]>;
@@ -39,7 +39,7 @@ export interface SpsSearchableOptionListProps {
39
39
  searchInputRef?: MutableRefObject<HTMLInputElement | null>;
40
40
  onSpecialActionSelect?: () => void;
41
41
  }
42
- export declare type SpsOptionListProps = PropsWithChildren<SpsGlobalPropTypes & SpsOptionListPassthroughProps & SpsSearchableOptionListProps & {
42
+ export type SpsOptionListProps = PropsWithChildren<SpsGlobalPropTypes & SpsOptionListPassthroughProps & SpsSearchableOptionListProps & {
43
43
  attachTo: MutableRefObject<HTMLElement | null>;
44
44
  conformWidth?: boolean;
45
45
  id: string;
@@ -1,4 +1,4 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsPageSubtitleProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLDivElement>;
3
+ export type SpsPageSubtitleProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLDivElement>;
4
4
  export declare function SpsPageSubtitle(props: SpsPageSubtitleProps): JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsPageTitleProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLDivElement>;
3
+ export type SpsPageTitleProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLDivElement>;
4
4
  export declare function SpsPageTitle(props: SpsPageTitleProps): JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsPageSelectorProps = React.PropsWithChildren<SpsGlobalPropTypes & {
3
+ export type SpsPageSelectorProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
4
  numPages?: number;
5
5
  onPageChange?: (number: any) => void;
6
6
  page?: number;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsPaginationProps = React.PropsWithChildren<SpsGlobalPropTypes & {
3
+ export type SpsPaginationProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
4
  onPageChange: (page: number, pageSize: number, indices: [number, number]) => void;
5
5
  page?: number;
6
6
  pageSize?: number;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsProductBarProps = React.PropsWithChildren<SpsGlobalPropTypes & {
3
+ export type SpsProductBarProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
4
  activeTab?: string;
5
5
  fullWidth?: boolean;
6
6
  onTabChange?: (newTab: string) => void;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- export declare type SpsProductBarTagProps<T extends React.ElementType> = {
2
+ export type SpsProductBarTagProps<T extends React.ElementType> = {
3
3
  active: boolean;
4
4
  as?: T;
5
5
  } & React.ComponentPropsWithoutRef<T>;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsProgressBarProps = React.PropsWithChildren<SpsGlobalPropTypes & {
3
+ export type SpsProgressBarProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
4
  percentComplete?: number;
5
5
  title?: string;
6
6
  detail?: string;
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { RingSize } from "@spscommerce/ds-shared";
3
3
  import type { SpsGlobalPropTypes } from "../prop-types";
4
- export declare type SpsProgressRingProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
+ export type SpsProgressRingProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
5
  progress?: number;
6
6
  size?: RingSize;
7
7
  }> & React.HTMLAttributes<HTMLDivElement>;
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
3
  import type { SpsFormControl } from "../form/hooks/formControl";
4
4
  import type { SpsFormFieldMeta } from "../form/hooks/useSpsForm";
5
- export declare type SpsRadioButtonProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
+ export type SpsRadioButtonProps = React.PropsWithChildren<SpsGlobalPropTypes & {
6
6
  checked?: boolean;
7
7
  disabled?: boolean;
8
8
  formControl?: SpsFormControl<any>;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsScrollableContainerProps = React.PropsWithChildren<SpsGlobalPropTypes & {
3
+ export type SpsScrollableContainerProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
4
  maxHeight?: string;
5
5
  }> & React.HTMLAttributes<HTMLDivElement>;
6
6
  export declare function SpsScrollableContainer(props: SpsScrollableContainerProps): JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsSearchResultsBarProps = React.PropsWithChildren<SpsGlobalPropTypes & {
3
+ export type SpsSearchResultsBarProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
4
  resultsCount?: number;
5
5
  totalResults?: number;
6
6
  onClear?: () => void;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsSearchResultsBarV2Props = React.PropsWithChildren<SpsGlobalPropTypes & {
3
+ export type SpsSearchResultsBarV2Props = React.PropsWithChildren<SpsGlobalPropTypes & {
4
4
  results?: number | null;
5
5
  selections?: Record<string, string[]>;
6
6
  zeroStateText?: string;
@@ -4,7 +4,7 @@ import * as React from "react";
4
4
  import type { SpsGlobalPropTypes } from "../prop-types";
5
5
  import type { SpsFormControl } from "../form/hooks/formControl";
6
6
  import type { SpsFormFieldMeta } from "../form/hooks/useSpsForm";
7
- export declare type SpsSelectProps = React.PropsWithChildren<SpsGlobalPropTypes & {
7
+ export type SpsSelectProps = React.PropsWithChildren<SpsGlobalPropTypes & {
8
8
  action?: SpsActionMethod;
9
9
  captionKey?: string;
10
10
  comparisonKey?: string;
@@ -31,7 +31,7 @@ export declare type SpsSelectProps = React.PropsWithChildren<SpsGlobalPropTypes
31
31
  disableOptionsMemoization?: boolean;
32
32
  disableDefaultOptionsFiltering?: boolean;
33
33
  }> & React.HTMLAttributes<HTMLDivElement>;
34
- declare type FocusRef = {
34
+ type FocusRef = {
35
35
  focus: () => void;
36
36
  } | null;
37
37
  export declare const SpsSelect: React.ForwardRefExoticComponent<SpsGlobalPropTypes & {
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsSlackLinkProps = React.PropsWithChildren<SpsGlobalPropTypes & {
3
+ export type SpsSlackLinkProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
4
  channelId: string;
5
5
  }> & React.HTMLAttributes<HTMLAnchorElement>;
6
6
  export declare function SpsSlackLink(props: SpsSlackLinkProps): JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsSlideInPanelProps = React.PropsWithChildren<SpsGlobalPropTypes & {
3
+ export type SpsSlideInPanelProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
4
  title?: string;
5
5
  show?: boolean;
6
6
  onClose?: () => void;
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import type { SortChangeHandler, SortedColumn } from "@spscommerce/ds-shared";
3
3
  import type { SpsGlobalPropTypes } from "../prop-types";
4
- export declare type SpsSortingHeaderProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
+ export type SpsSortingHeaderProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
5
  sort: SortedColumn[];
6
6
  onSortChange: SortChangeHandler;
7
7
  }> & React.HTMLAttributes<HTMLDivElement>;
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import type { SortChangeHandler, SortedColumn } from "@spscommerce/ds-shared";
3
3
  import type { SpsGlobalPropTypes } from "../prop-types";
4
- export declare type SpsSortingHeaderCellProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
+ export type SpsSortingHeaderCellProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
5
  sortKey?: string;
6
6
  sortDisabled?: boolean;
7
7
  sort?: SortedColumn[];
@@ -1,7 +1,7 @@
1
1
  import { SpinnerSize } from "@spscommerce/ds-shared";
2
2
  import * as React from "react";
3
3
  import type { SpsGlobalPropTypes } from "../prop-types";
4
- export declare type SpsSpinnerProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
+ export type SpsSpinnerProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
5
  alt?: string;
6
6
  size?: SpinnerSize;
7
7
  title?: string;
@@ -3,7 +3,7 @@ import { StdButtonKind } from "@spscommerce/ds-shared";
3
3
  import * as React from "react";
4
4
  import type { SpsGlobalPropTypes } from "../prop-types";
5
5
  import { SpsDropdown } from "../dropdown/SpsDropdown";
6
- export declare type SpsSplitButtonProps = React.PropsWithChildren<SpsGlobalPropTypes & {
6
+ export type SpsSplitButtonProps = React.PropsWithChildren<SpsGlobalPropTypes & {
7
7
  disabled?: boolean;
8
8
  href?: string;
9
9
  label?: string;
@@ -9,7 +9,7 @@ export interface SteppedProgressBarData {
9
9
  description: string;
10
10
  skipped: boolean;
11
11
  }
12
- export declare type SpsSteppedProgressBarProps = React.PropsWithChildren<SpsGlobalPropTypes & {
12
+ export type SpsSteppedProgressBarProps = React.PropsWithChildren<SpsGlobalPropTypes & {
13
13
  title?: string;
14
14
  stepsCount?: number;
15
15
  completedStepsCount?: number;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsSummaryListColumnProps = React.PropsWithChildren<SpsGlobalPropTypes & {
3
+ export type SpsSummaryListColumnProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
4
  borderless?: boolean;
5
5
  lean?: boolean;
6
6
  leaner?: boolean;
@@ -1,4 +1,4 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsSummaryListExpansionProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLDivElement>;
3
+ export type SpsSummaryListExpansionProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLDivElement>;
4
4
  export declare function SpsSummaryListExpansion(props: SpsSummaryListExpansionProps): JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsSummaryListRowProps = React.PropsWithChildren<SpsGlobalPropTypes & {
3
+ export type SpsSummaryListRowProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
4
  expanded?: boolean;
5
5
  selected?: boolean;
6
6
  onToggle?: (isExpanded: boolean) => void;
@@ -1,7 +1,7 @@
1
1
  import type { SortChangeHandler, SortedColumn, ResizeState, ResizeStateChangeHandler } from "@spscommerce/ds-shared";
2
2
  import * as React from "react";
3
3
  import type { SpsGlobalPropTypes } from "../prop-types";
4
- export declare type SpsTableProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
+ export type SpsTableProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
5
  onSortChange?: SortChangeHandler;
6
6
  sort?: SortedColumn[];
7
7
  selectable?: boolean;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsTableBodyProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLTableSectionElement>;
3
+ export type SpsTableBodyProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLTableSectionElement>;
4
4
  export declare function SpsTableBody(props: SpsTableBodyProps): JSX.Element;
5
5
  export declare function SpsTbody(props: SpsTableBodyProps): JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsTableCellProps = React.PropsWithChildren<SpsGlobalPropTypes & {
3
+ export type SpsTableCellProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
4
  buttonCell?: boolean;
5
5
  controlCell?: boolean;
6
6
  wrap?: 200 | 300 | 400 | 500 | 600;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsTableHeadProps = React.PropsWithChildren<SpsGlobalPropTypes & {
3
+ export type SpsTableHeadProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
4
  pinned?: boolean;
5
5
  }> & React.HTMLAttributes<HTMLTableSectionElement>;
6
6
  export declare function SpsTableHead({ children, className, "data-testid": testId, unsafelyReplaceClassName, pinned, ...rest }: SpsTableHeadProps): JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsTableHeaderProps = React.PropsWithChildren<SpsGlobalPropTypes & {
3
+ export type SpsTableHeaderProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
4
  controlCell?: boolean;
5
5
  sortKey?: string;
6
6
  resizeKey?: string;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsTableRowProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLTableRowElement>;
3
+ export type SpsTableRowProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLTableRowElement>;
4
4
  export declare function SpsTableRow({ children, className, "data-testid": testId, unsafelyReplaceClassName, ...rest }: SpsTableRowProps): JSX.Element;
5
5
  export declare function SpsTr(props: SpsTableRowProps): JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import type { SpsTab } from "@spscommerce/ds-shared";
2
2
  import * as React from "react";
3
3
  import type { SpsGlobalPropTypes } from "../prop-types";
4
- export declare type SpsTabsProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
+ export type SpsTabsProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
5
  tabs: SpsTab[];
6
6
  activeTab?: SpsTab;
7
7
  onTabChange?: (newTab: SpsTab) => void;
@@ -2,7 +2,7 @@ import type { SpsIcon } from "@spscommerce/ds-shared";
2
2
  import { TagKind } from "@spscommerce/ds-shared";
3
3
  import * as React from "react";
4
4
  import type { SpsGlobalPropTypes } from "../prop-types";
5
- export declare type SpsTagProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
+ export type SpsTagProps = React.PropsWithChildren<SpsGlobalPropTypes & {
6
6
  icon?: SpsIcon;
7
7
  kind?: TagKind;
8
8
  }> & React.HTMLAttributes<HTMLSpanElement>;
@@ -9,12 +9,12 @@ export interface ReactSpsTaskAction {
9
9
  disabled?: boolean;
10
10
  onClick?: (task: ReactSpsTask) => void;
11
11
  }
12
- export declare type ReactSpsTask = Pick<SpsTask, "heading" | "status" | "unread"> & {
12
+ export type ReactSpsTask = Pick<SpsTask, "heading" | "status" | "unread"> & {
13
13
  id?: string;
14
14
  subheading?: React.ReactNode;
15
15
  actions?: Array<ReactSpsTaskAction | React.ReactElement>;
16
16
  };
17
- export declare type SpsTaskQueueProps = React.PropsWithChildren<SpsGlobalPropTypes & {
17
+ export type SpsTaskQueueProps = React.PropsWithChildren<SpsGlobalPropTypes & {
18
18
  tasks?: ReactSpsTask[];
19
19
  taskQueuePosition?: Position;
20
20
  notificationText?: string;
@@ -3,7 +3,7 @@ import type { SpsIcon } from "@spscommerce/ds-shared";
3
3
  import type { SpsGlobalPropTypes } from "../prop-types";
4
4
  import type { SpsFormControl } from "../form/hooks/formControl";
5
5
  import type { SpsFormFieldMeta } from "../form/hooks/useSpsForm";
6
- export declare type SpsTextInputProps = React.PropsWithChildren<SpsGlobalPropTypes & {
6
+ export type SpsTextInputProps = React.PropsWithChildren<SpsGlobalPropTypes & {
7
7
  disabled?: boolean;
8
8
  formControl?: SpsFormControl<string>;
9
9
  formMeta?: SpsFormFieldMeta<string>;
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
3
  import type { SpsFormControl } from "../form/hooks/formControl";
4
4
  import type { SpsFormFieldMeta } from "../form/hooks/useSpsForm";
5
- export declare type SpsTextareaProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
+ export type SpsTextareaProps = React.PropsWithChildren<SpsGlobalPropTypes & {
6
6
  disabled?: boolean;
7
7
  formControl?: SpsFormControl<string>;
8
8
  formMeta?: SpsFormFieldMeta<string>;
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsTileProps = React.PropsWithChildren<SpsGlobalPropTypes & {
3
+ export type SpsTileProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
4
  href?: string;
5
5
  target?: string;
6
6
  icon: React.ReactNode | (() => React.ReactNode);
@@ -1,4 +1,4 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsTileListProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLDivElement>;
3
+ export type SpsTileListProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLDivElement>;
4
4
  export declare function SpsTileList(props: SpsTileListProps): JSX.Element;
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import type { SpsFormControl } from "../form/hooks/formControl";
3
3
  import type { SpsFormFieldMeta } from "../form/hooks/useSpsForm";
4
4
  import type { SpsGlobalPropTypes } from "../prop-types";
5
- export declare type SpsToggleProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
+ export type SpsToggleProps = React.PropsWithChildren<SpsGlobalPropTypes & {
6
6
  active?: boolean;
7
7
  description?: string;
8
8
  disabled?: boolean;
@@ -8,7 +8,7 @@ export declare enum TooltipVisibility {
8
8
  DELAYED_HIDDEN = "delayed_hidden"
9
9
  }
10
10
  export declare function toggleTooltipState(state: TooltipVisibility): TooltipVisibility.VISIBLE | TooltipVisibility.HIDDEN;
11
- export declare type SpsTooltipProps = React.PropsWithChildren<SpsGlobalPropTypes & {
11
+ export type SpsTooltipProps = React.PropsWithChildren<SpsGlobalPropTypes & {
12
12
  for: React.MutableRefObject<any> | string;
13
13
  hideDelay?: number;
14
14
  isShown?: TooltipVisibility;
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import type { SpsIcon } from "@spscommerce/ds-shared";
3
3
  import { SpsIconSize } from "@spscommerce/ds-shared";
4
4
  import type { SpsGlobalPropTypes } from "../prop-types";
5
- export declare type SpsTooltipTitleProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
+ export type SpsTooltipTitleProps = React.PropsWithChildren<SpsGlobalPropTypes & {
6
6
  icon?: SpsIcon;
7
7
  iconSize?: SpsIconSize;
8
8
  }> & React.HTMLAttributes<HTMLDivElement>;
@@ -16,7 +16,7 @@ import * as React from "react";
16
16
  * (component tree that will have access to context from these providers)
17
17
  * </Provide>
18
18
  */
19
- declare type ProvideProps = React.HTMLProps<HTMLDivElement> & {
19
+ type ProvideProps = React.HTMLProps<HTMLDivElement> & {
20
20
  providers?: React.ElementType[];
21
21
  };
22
22
  export declare const Provide: React.FC<ProvideProps>;
@@ -29,5 +29,5 @@ import * as React from "react";
29
29
  * This was created to be used with <Provide> (see Provide.tsx in this same directory),
30
30
  * but may have other use cases.
31
31
  */
32
- export declare type BoundFC<T extends React.ElementType, K extends Partial<React.ComponentProps<T>>> = React.FC<Omit<React.ComponentProps<T>, keyof K>>;
32
+ export type BoundFC<T extends React.ElementType, K extends Partial<React.ComponentProps<T>>> = React.FC<Omit<React.ComponentProps<T>, keyof K>>;
33
33
  export declare function bindProps<T extends React.ElementType, K extends Partial<React.ComponentProps<T>>>(E: T, boundProps: K, deps?: unknown[]): BoundFC<T, K>;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsVerticalRuleProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLDivElement>;
3
+ export type SpsVerticalRuleProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLDivElement>;
4
4
  export declare function SpsVerticalRule(props: SpsVerticalRuleProps): JSX.Element;
5
5
  export declare function SpsVr(props: SpsVerticalRuleProps): JSX.Element;
@@ -12,7 +12,7 @@ export interface WizardPhase {
12
12
  title: string;
13
13
  disabled: boolean;
14
14
  }
15
- export declare type SpsWizardSidebarProps = React.PropsWithChildren<SpsGlobalPropTypes & {
15
+ export type SpsWizardSidebarProps = React.PropsWithChildren<SpsGlobalPropTypes & {
16
16
  phases?: WizardPhase[];
17
17
  }> & React.HTMLAttributes<HTMLDivElement>;
18
18
  export declare function SpsWizardSidebar({ className, phases, }: SpsWizardSidebarProps): JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { WizardSubstepConditions } from "@spscommerce/ds-shared";
3
3
  import type { SpsGlobalPropTypes } from "../prop-types";
4
- export declare type SpsWizardSubstepProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
+ export type SpsWizardSubstepProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
5
  condition: WizardSubstepConditions;
6
6
  display: string;
7
7
  orderPosition: string | number;
@@ -1,7 +1,7 @@
1
1
  import type { SpsIcon } from "@spscommerce/ds-shared";
2
2
  import * as React from "react";
3
3
  import type { SpsGlobalPropTypes } from "../prop-types";
4
- export declare type SpsWorkflowProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
+ export type SpsWorkflowProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
5
  heading?: string;
6
6
  icon?: SpsIcon;
7
7
  }> & React.HTMLAttributes<HTMLDivElement>;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsWorkflowDocumentProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLSpanElement>;
3
+ export type SpsWorkflowDocumentProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLSpanElement>;
4
4
  export declare function SpsWorkflowDocument(props: SpsWorkflowDocumentProps): JSX.Element;
5
5
  export declare function SpsWfDoc(props: SpsWorkflowDocumentProps): JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import type { SpsIcon } from "@spscommerce/ds-shared";
2
2
  import * as React from "react";
3
3
  import type { SpsGlobalPropTypes } from "../prop-types";
4
- export declare type SpsWorkflowDocumentStatusProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
+ export type SpsWorkflowDocumentStatusProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
5
  icon?: SpsIcon;
6
6
  }> & React.HTMLAttributes<HTMLSpanElement>;
7
7
  export declare function SpsWorkflowDocumentStatus(props: SpsWorkflowDocumentStatusProps): JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import type { SpsIcon } from "@spscommerce/ds-shared";
2
2
  import * as React from "react";
3
3
  import type { SpsGlobalPropTypes } from "../prop-types";
4
- export declare type SpsWorkflowStepProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
+ export type SpsWorkflowStepProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
5
  icon: SpsIcon;
6
6
  title: string;
7
7
  }> & React.HTMLAttributes<HTMLDivElement>;
@@ -1,7 +1,7 @@
1
1
  import type { SpsIcon } from "@spscommerce/ds-shared";
2
2
  import * as React from "react";
3
3
  import type { SpsGlobalPropTypes } from "../prop-types";
4
- export declare type SpsMicroZeroStateProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
+ export type SpsMicroZeroStateProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
5
  illustration?: string;
6
6
  icon?: SpsIcon;
7
7
  heading?: React.ReactNode | (() => React.ReactNode);
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import type { SpsGlobalPropTypes } from "../prop-types";
3
- export declare type SpsZeroStateProps = React.PropsWithChildren<SpsGlobalPropTypes & {
3
+ export type SpsZeroStateProps = React.PropsWithChildren<SpsGlobalPropTypes & {
4
4
  illustration?: string;
5
5
  artwork?: string;
6
6
  heading: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spscommerce/ds-react",
3
3
  "description": "SPS Design System React components",
4
- "version": "7.2.1",
4
+ "version": "7.2.2",
5
5
  "author": "SPS Commerce",
6
6
  "license": "UNLICENSED",
7
7
  "repository": "https://github.com/spscommerce/woodland/tree/main/packages/@spscommerce/ds-react",
@@ -34,11 +34,11 @@
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@react-stately/collections": "^3.3.3",
37
- "@sps-woodland/illustrations": "7.2.1",
38
- "@sps-woodland/tabs": "7.2.1",
39
- "@spscommerce/ds-colors": "7.2.1",
40
- "@spscommerce/ds-shared": "7.2.1",
41
- "@spscommerce/positioning": "7.2.1",
37
+ "@sps-woodland/illustrations": "7.2.2",
38
+ "@sps-woodland/tabs": "7.2.2",
39
+ "@spscommerce/ds-colors": "7.2.2",
40
+ "@spscommerce/ds-shared": "7.2.2",
41
+ "@spscommerce/positioning": "7.2.2",
42
42
  "@spscommerce/utils": "^6.11.3",
43
43
  "moment": "^2.25.3",
44
44
  "moment-timezone": "^0.5.28",
@@ -52,11 +52,11 @@
52
52
  "@react-types/select": "^3.6.1",
53
53
  "@react-types/shared": "^3.8.0",
54
54
  "@react-types/tabs": "^3.0.1",
55
- "@sps-woodland/illustrations": "7.2.1",
56
- "@sps-woodland/tabs": "7.2.1",
57
- "@spscommerce/ds-colors": "7.2.1",
58
- "@spscommerce/ds-shared": "7.2.1",
59
- "@spscommerce/positioning": "7.2.1",
55
+ "@sps-woodland/illustrations": "7.2.2",
56
+ "@sps-woodland/tabs": "7.2.2",
57
+ "@spscommerce/ds-colors": "7.2.2",
58
+ "@spscommerce/ds-shared": "7.2.2",
59
+ "@spscommerce/positioning": "7.2.2",
60
60
  "@spscommerce/utils": "^6.12.1",
61
61
  "@testing-library/dom": "^8.17.1",
62
62
  "@testing-library/react": "^10.0.0",
@@ -70,7 +70,7 @@
70
70
  "raf-stub": "^2.0.2",
71
71
  "react": "^16.9.0",
72
72
  "react-dom": "^16.9.0",
73
- "test": "7.2.1"
73
+ "test": "7.2.2"
74
74
  },
75
75
  "scripts": {
76
76
  "build": "pnpm run build:js && pnpm run build:types",