@spscommerce/ds-react 6.37.3 → 7.0.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/advanced-search/SpsAdvancedSearch.d.ts +8 -20
- package/lib/autocomplete/SpsAutocomplete.d.ts +19 -25
- package/lib/button/SpsButton.d.ts +13 -17
- package/lib/button/SpsButtonGroup.d.ts +3 -9
- package/lib/button/SpsIconButtonPanel.d.ts +3 -9
- package/lib/card/SpsCard.d.ts +9 -14
- package/lib/card/SpsCardHeader.d.ts +8 -13
- package/lib/card/SpsCardTabbedPane.d.ts +14 -18
- package/lib/card/index.d.ts +0 -1
- package/lib/checkbox/SpsCheckbox.d.ts +12 -17
- package/lib/checkbox-dropdown/SpsCheckboxDropdown.d.ts +6 -14
- package/lib/clickable-tag/SpsClickableTag.d.ts +9 -14
- package/lib/column-chooser/SpsColumnChooser.d.ts +8 -13
- package/lib/column-chooser/SpsColumnChooserColumn.d.ts +12 -16
- package/lib/conditional-field/SpsConditionalField.d.ts +6 -11
- package/lib/content-row/SpsContentRow.d.ts +14 -20
- package/lib/content-row/SpsContentRowCol.d.ts +9 -14
- package/lib/content-row/SpsContentRowExpansion.d.ts +3 -9
- package/lib/currency-input/SpsCurrencyInput.d.ts +9 -15
- package/lib/dateRangePicker/SpsDateRangePicker.d.ts +10 -16
- package/lib/datepicker/SpsDatepicker.d.ts +10 -15
- package/lib/datepicker/SpsDatepickerCalendar.d.ts +8 -15
- package/lib/datepicker/SpsDatepickerPopup.d.ts +10 -12
- package/lib/datepicker/useMoment.d.ts +1 -1
- package/lib/datepicker/utils.d.ts +7 -7
- package/lib/datetime/SpsDateTime.d.ts +10 -16
- package/lib/description-list/SpsDescriptionList.d.ts +8 -13
- package/lib/description-list/SpsDescriptionListDefinition.d.ts +4 -10
- package/lib/description-list/SpsDescriptionListTerm.d.ts +10 -15
- package/lib/dropdown/SpsDropdown.d.ts +20 -25
- package/lib/feedback-block/SpsFeedbackBlock.d.ts +5 -10
- package/lib/fieldset/SpsFieldset.d.ts +13 -18
- package/lib/filter-panel/SpsFilterPanel.d.ts +3 -9
- package/lib/filter-panel/SpsFilterPanelCap.d.ts +5 -10
- package/lib/filter-panel/SpsFilterPanelFilterBox.d.ts +7 -13
- package/lib/filter-panel/SpsFilterPanelSection.d.ts +10 -15
- package/lib/filter-tile-list/SpsFilterTile.d.ts +8 -13
- package/lib/filter-tile-list/SpsFilterTileList.d.ts +3 -9
- package/lib/focused-task/SpsFocusedTask.d.ts +7 -12
- package/lib/focused-task/SpsFocusedTaskActions.d.ts +3 -9
- package/lib/form/SpsForm.d.ts +6 -12
- package/lib/form/SpsFormComponentWrapper.d.ts +7 -12
- package/lib/form/hooks/useFormControlId.d.ts +2 -2
- package/lib/form/hooks/useServerSideValidation.d.ts +1 -1
- package/lib/form/hooks/useSpsForm.d.ts +9 -9
- package/lib/growler/SpsGrowler.d.ts +8 -14
- package/lib/growler/useGrowlers.d.ts +2 -2
- package/lib/icon/SpsIcon.d.ts +8 -12
- package/lib/incrementor/SpsIncrementor.d.ts +9 -14
- package/lib/index.cjs.js +1075 -1600
- package/lib/index.es.js +22208 -28833
- package/lib/input-group/SpsInputGroup.d.ts +8 -13
- package/lib/insight-tile/SpsInsightTile.d.ts +12 -17
- package/lib/insight-tile/SpsInsights.d.ts +3 -9
- package/lib/key-value-list/SpsKeyValueList.d.ts +5 -10
- package/lib/key-value-list/SpsKeyValueListItem.d.ts +6 -11
- package/lib/key-value-list/index.d.ts +0 -1
- package/lib/key-value-tag/SpsKeyValueTag.d.ts +9 -14
- package/lib/label/SpsLabel.d.ts +11 -16
- package/lib/list-action-bar/SpsListActionBar.d.ts +7 -12
- package/lib/list-toolbar/SpsListToolbar.d.ts +20 -25
- package/lib/list-toolbar/SpsListToolbarSearch.d.ts +4 -10
- package/lib/list-toolbar/SpsListToolbarSearchInfo.d.ts +3 -9
- package/lib/list-toolbar/SpsListToolbarSortBy.d.ts +8 -13
- package/lib/micro-block/SpsMicroBlock.d.ts +6 -11
- package/lib/modal/SpsModal.d.ts +9 -15
- package/lib/multi-select/SpsMultiSelect.d.ts +27 -34
- package/lib/multi-value-text-input/SpsMultiValueTextInput.d.ts +13 -19
- package/lib/option-list/SpsOptionListProps.d.ts +46 -69
- package/lib/option-list/useOptionListSearch.d.ts +1 -1
- package/lib/option-list-v2/SpsOptionListV2.d.ts +0 -0
- package/lib/option-list-v2/index.d.ts +0 -0
- package/lib/page-title/SpsPageSubtitle.d.ts +3 -9
- package/lib/page-title/SpsPageTitle.d.ts +3 -9
- package/lib/pagination/SpsPageSelector.d.ts +10 -15
- package/lib/pagination/SpsPagination.d.ts +13 -18
- package/lib/product-bar/SpsProductBar.d.ts +11 -17
- package/lib/progress-bar/SpsProgressBar.d.ts +9 -14
- package/lib/progress-ring/SpsProgressRing.d.ts +6 -11
- package/lib/prop-types.d.ts +4 -23
- package/lib/radio-button/SpsRadioButton.d.ts +14 -20
- package/lib/scrollable-container/SpsScrollableContainer.d.ts +5 -10
- package/lib/scrollable-container/index.d.ts +0 -1
- package/lib/search-results-bar/SpsSearchResultsBar.d.ts +7 -12
- package/lib/search-results-bar/SpsSearchResultsBarV2.d.ts +8 -13
- package/lib/select/SpsSelect.d.ts +57 -34
- package/lib/slack-link/SpsSlackLink.d.ts +5 -10
- package/lib/slide-in-panel/SpsSlideInPanel.d.ts +8 -14
- package/lib/sorting-header/SpsSortingHeader.d.ts +6 -11
- package/lib/sorting-header/SpsSortingHeaderCell.d.ts +10 -15
- package/lib/spinner/SpsSpinner.d.ts +7 -12
- package/lib/spinner/index.d.ts +0 -1
- package/lib/split-button/SpsSplitButton.d.ts +13 -17
- package/lib/stepped-progress-bar/SpsSteppedProgressBar.d.ts +11 -12
- package/lib/summary-list/SpsSummaryListColumn.d.ts +8 -13
- package/lib/summary-list/SpsSummaryListExpansion.d.ts +3 -9
- package/lib/summary-list/SpsSummaryListRow.d.ts +7 -12
- package/lib/table/SpsTable.d.ts +12 -17
- package/lib/table/SpsTableBody.d.ts +3 -9
- package/lib/table/SpsTableCell.d.ts +8 -13
- package/lib/table/SpsTableHead.d.ts +5 -10
- package/lib/table/SpsTableHeader.d.ts +8 -13
- package/lib/table/SpsTableRow.d.ts +3 -9
- package/lib/table/useColumnResizer.d.ts +2 -2
- package/lib/table/usePinnedStyles.d.ts +4 -4
- package/lib/tabs/SpsTabs.d.ts +7 -12
- package/lib/tag/SpsTag.d.ts +8 -12
- package/lib/task-queue/SpsTaskQueue.d.ts +14 -20
- package/lib/text-input/SpsTextInput.d.ts +26 -20
- package/lib/textarea/SpsTextarea.d.ts +13 -19
- package/lib/tile-list/SpsTile.d.ts +13 -18
- package/lib/tile-list/SpsTileList.d.ts +3 -9
- package/lib/toggle/SpsToggle.d.ts +13 -19
- package/lib/tooltip/SpsTooltip.d.ts +13 -19
- package/lib/tooltip/SpsTooltipTitle.d.ts +8 -12
- package/lib/utils/contentOf.d.ts +2 -2
- package/lib/utils/useCheckDeprecatedProps.d.ts +1 -2
- package/lib/utils/useElementId.d.ts +3 -2
- package/lib/utils/useInputPopup.d.ts +1 -1
- package/lib/utils/usePortal.d.ts +3 -3
- package/lib/vertical-rule/SpsVerticalRule.d.ts +3 -9
- package/lib/wizard/SpsWizardSidebar.d.ts +5 -10
- package/lib/wizard/SpsWizardSubstep.d.ts +7 -12
- package/lib/workflow/SpsWorkflow.d.ts +7 -12
- package/lib/workflow/SpsWorkflowDocument.d.ts +3 -9
- package/lib/workflow/SpsWorkflowDocumentStatus.d.ts +6 -11
- package/lib/workflow/SpsWorkflowStep.d.ts +7 -12
- package/lib/zero-state/SpsMicroZeroState.d.ts +9 -14
- package/lib/zero-state/SpsZeroState.d.ts +8 -13
- package/package.json +35 -22
- package/vite.config.js +6 -6
- package/lib/_template/SpsComponent.d.ts +0 -15
- package/lib/_template/SpsComponent.examples.d.ts +0 -2
- package/lib/_template/index.d.ts +0 -2
- package/lib/card/SpsCard.examples.d.ts +0 -2
- package/lib/insight-tile/SpsInsightTile.examples.d.ts +0 -2
- package/lib/key-value-list/SpsKeyValueList.examples.d.ts +0 -2
- package/lib/scrollable-container/SpsScrollableContainer.examples.d.ts +0 -14
- package/lib/spinner/SpsSpinner.examples.d.ts +0 -2
- package/lib/test-util.d.ts +0 -2
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
className: PropTypes.Requireable<string>;
|
|
5
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
6
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
7
|
-
};
|
|
8
|
-
export declare type SpsPageSubtitleProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
3
|
+
export declare type SpsPageSubtitleProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLDivElement>;
|
|
9
4
|
export declare function SpsPageSubtitle(props: SpsPageSubtitleProps): JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
className: PropTypes.Requireable<string>;
|
|
5
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
6
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
7
|
-
};
|
|
8
|
-
export declare type SpsPageTitleProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
3
|
+
export declare type SpsPageTitleProps = React.PropsWithChildren<SpsGlobalPropTypes> & React.HTMLAttributes<HTMLDivElement>;
|
|
9
4
|
export declare function SpsPageTitle(props: SpsPageTitleProps): JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
unknownPageCount: PropTypes.Requireable<boolean>;
|
|
12
|
-
nextPageBtnDisabled: PropTypes.Requireable<boolean>;
|
|
13
|
-
};
|
|
14
|
-
export declare type SpsPageSelectorProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
3
|
+
export declare type SpsPageSelectorProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
4
|
+
numPages?: number;
|
|
5
|
+
onPageChange?: (number: any) => void;
|
|
6
|
+
page?: number;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
unknownPageCount?: boolean;
|
|
9
|
+
nextPageBtnDisabled?: boolean;
|
|
10
|
+
}> & React.HTMLAttributes<HTMLDivElement>;
|
|
15
11
|
export declare function SpsPageSelector(props: SpsPageSelectorProps): JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
nextPageBtnDisabled: PropTypes.Requireable<boolean>;
|
|
15
|
-
resultsOnPage: PropTypes.Requireable<number>;
|
|
16
|
-
};
|
|
17
|
-
export declare type SpsPaginationProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
3
|
+
export declare type SpsPaginationProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
4
|
+
onPageChange: (page: number, pageSize: number, indices: [number, number]) => void;
|
|
5
|
+
page?: number;
|
|
6
|
+
pageSize?: number;
|
|
7
|
+
pageSizeOptions?: number[];
|
|
8
|
+
totalResults?: number;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
unknownPageCount?: boolean;
|
|
11
|
+
nextPageBtnDisabled?: boolean;
|
|
12
|
+
resultsOnPage?: number;
|
|
13
|
+
}> & React.HTMLAttributes<HTMLDivElement>;
|
|
18
14
|
export declare function SpsPagination(props: SpsPaginationProps): JSX.Element;
|
|
19
|
-
export {};
|
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import
|
|
3
|
-
declare
|
|
4
|
-
activeTab
|
|
5
|
-
fullWidth
|
|
6
|
-
onTabChange
|
|
7
|
-
onProductNameClick
|
|
8
|
-
productLogoSrc
|
|
9
|
-
productName
|
|
10
|
-
productNameHref
|
|
11
|
-
tabs
|
|
12
|
-
|
|
13
|
-
className: PropTypes.Requireable<string>;
|
|
14
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
15
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
16
|
-
};
|
|
17
|
-
export declare type SpsProductBarProps = PropTypes.InferTS<typeof propTypes, HTMLElement>;
|
|
2
|
+
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
3
|
+
export declare type SpsProductBarProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
4
|
+
activeTab?: string;
|
|
5
|
+
fullWidth?: boolean;
|
|
6
|
+
onTabChange?: (newTab: string) => void;
|
|
7
|
+
onProductNameClick?: React.MouseEventHandler;
|
|
8
|
+
productLogoSrc?: string;
|
|
9
|
+
productName?: string;
|
|
10
|
+
productNameHref?: string;
|
|
11
|
+
tabs?: string[];
|
|
12
|
+
}> & React.HTMLAttributes<HTMLElement>;
|
|
18
13
|
export declare function SpsProductBar(props: SpsProductBarProps): JSX.Element;
|
|
19
|
-
export {};
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
11
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
12
|
-
};
|
|
13
|
-
export declare type SpsProgressBarProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
3
|
+
export declare type SpsProgressBarProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
4
|
+
percentComplete?: number;
|
|
5
|
+
title?: string;
|
|
6
|
+
detail?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
}> & React.HTMLAttributes<HTMLDivElement>;
|
|
14
10
|
export declare function SpsProgressBar(props: SpsProgressBarProps): JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import { RingSize } from "@spscommerce/ds-shared";
|
|
2
|
-
import
|
|
3
|
-
declare
|
|
4
|
-
progress
|
|
5
|
-
size
|
|
6
|
-
|
|
7
|
-
className: PropTypes.Requireable<string>;
|
|
8
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
9
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
10
|
-
};
|
|
11
|
-
export declare type SpsProgressRingProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
3
|
+
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
4
|
+
export declare type SpsProgressRingProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
5
|
+
progress?: number;
|
|
6
|
+
size?: RingSize;
|
|
7
|
+
}> & React.HTMLAttributes<HTMLDivElement>;
|
|
12
8
|
export declare function SpsProgressRing({ size, progress, }: SpsProgressRingProps): JSX.Element;
|
|
13
|
-
export {};
|
package/lib/prop-types.d.ts
CHANGED
|
@@ -1,23 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare function enumValue<T>(e: any): PropTypes.Requireable<T>;
|
|
6
|
-
export declare function fun<T extends (...args: any[]) => any>(): PropTypes.Requireable<T>;
|
|
7
|
-
export declare function impl<T>(): PropTypes.Requireable<T>;
|
|
8
|
-
export declare function ref<T>(): PropTypes.Requireable<MutableRefObject<T>>;
|
|
9
|
-
export declare type ReactNodeOrRenderFn = PropTypes.ReactNodeLike | (() => PropTypes.ReactNodeLike);
|
|
10
|
-
export declare const nodeOrRenderFn: PropTypes.Requireable<ReactNodeOrRenderFn>;
|
|
11
|
-
export declare type TypeDoc = Record<string, string | {
|
|
12
|
-
type: string;
|
|
13
|
-
required?: boolean;
|
|
14
|
-
deprecated?: boolean;
|
|
15
|
-
}>;
|
|
16
|
-
export declare type InferTS<T, K extends HTMLElement> = PropTypes.InferProps<T> & Omit<HTMLProps<K>, keyof T>;
|
|
17
|
-
export declare const spsGlobalPropTypes: {
|
|
18
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
19
|
-
className: PropTypes.Requireable<string>;
|
|
20
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
21
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
22
|
-
};
|
|
23
|
-
export * from "prop-types";
|
|
1
|
+
export interface SpsGlobalPropTypes {
|
|
2
|
+
"data-testid"?: string;
|
|
3
|
+
unsafelyReplaceClassName?: string;
|
|
4
|
+
}
|
|
@@ -1,24 +1,18 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import
|
|
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
|
-
declare
|
|
6
|
-
checked
|
|
7
|
-
disabled
|
|
8
|
-
formControl
|
|
9
|
-
formMeta
|
|
10
|
-
inline
|
|
11
|
-
centered
|
|
12
|
-
label
|
|
13
|
-
name:
|
|
14
|
-
onChange
|
|
15
|
-
ref
|
|
16
|
-
value
|
|
17
|
-
|
|
18
|
-
className: PropTypes.Requireable<string>;
|
|
19
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
20
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
21
|
-
};
|
|
22
|
-
export declare type SpsRadioButtonProps = PropTypes.InferTS<typeof propTypes, HTMLInputElement>;
|
|
5
|
+
export declare type SpsRadioButtonProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
6
|
+
checked?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
formControl?: SpsFormControl<any>;
|
|
9
|
+
formMeta?: SpsFormFieldMeta<any>;
|
|
10
|
+
inline?: boolean;
|
|
11
|
+
centered?: boolean;
|
|
12
|
+
label?: string;
|
|
13
|
+
name: string;
|
|
14
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
15
|
+
ref?: React.MutableRefObject<HTMLDivElement>;
|
|
16
|
+
value?: any;
|
|
17
|
+
}> & React.HTMLAttributes<HTMLInputElement>;
|
|
23
18
|
export declare function SpsRadioButton({ checked, className, "data-testid": testId, disabled, formControl, formMeta, id, inline, centered, label, name, onChange, ref, unsafelyReplaceClassName, value, ...rest }: SpsRadioButtonProps): JSX.Element;
|
|
24
|
-
export {};
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
7
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
8
|
-
};
|
|
9
|
-
export declare type SpsScrollableContainerProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
3
|
+
export declare type SpsScrollableContainerProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
4
|
+
maxHeight?: string;
|
|
5
|
+
}> & React.HTMLAttributes<HTMLDivElement>;
|
|
10
6
|
export declare function SpsScrollableContainer(props: SpsScrollableContainerProps): JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
9
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
10
|
-
};
|
|
11
|
-
export declare type SpsSearchResultsBarProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
3
|
+
export declare type SpsSearchResultsBarProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
4
|
+
resultsCount?: number;
|
|
5
|
+
totalResults?: number;
|
|
6
|
+
onClear?: () => void;
|
|
7
|
+
}> & React.HTMLAttributes<HTMLDivElement>;
|
|
12
8
|
export declare function SpsSearchResultsBar(props: SpsSearchResultsBarProps): JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
10
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
11
|
-
};
|
|
12
|
-
export declare type SpsSearchResultsBarV2Props = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
3
|
+
export declare type SpsSearchResultsBarV2Props = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
4
|
+
results?: number | null;
|
|
5
|
+
selections?: Record<string, string[]>;
|
|
6
|
+
zeroStateText?: string;
|
|
7
|
+
onClear?: () => void;
|
|
8
|
+
}> & React.HTMLAttributes<HTMLDivElement>;
|
|
13
9
|
export declare function SpsSearchResultsBarV2(props: SpsSearchResultsBarV2Props): JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,41 +1,64 @@
|
|
|
1
1
|
import type { SpsActionMethod } from "@spscommerce/ds-shared";
|
|
2
2
|
import type { Eventually } from "@spscommerce/utils";
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
import
|
|
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
|
-
declare
|
|
8
|
-
action
|
|
9
|
-
captionKey
|
|
10
|
-
comparisonKey
|
|
11
|
-
disabled
|
|
12
|
-
formControl
|
|
13
|
-
formMeta
|
|
14
|
-
notClearable
|
|
15
|
-
options:
|
|
16
|
-
onChange
|
|
17
|
-
onOpen
|
|
18
|
-
placeholder
|
|
19
|
-
searchDebounce
|
|
20
|
-
searchPlaceholder
|
|
21
|
-
tallOptionList
|
|
22
|
-
textKey
|
|
23
|
-
valueKey
|
|
24
|
-
value
|
|
25
|
-
zeroState
|
|
26
|
-
autoFixWidth
|
|
27
|
-
loading
|
|
28
|
-
filterByTextAndCaptionKey
|
|
29
|
-
maxHeightOptionListPx
|
|
30
|
-
maxHeightOptionListRem
|
|
31
|
-
disableOptionsMemoization
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
35
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
36
|
-
};
|
|
37
|
-
export declare type SpsSelectProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
38
|
-
export declare const SpsSelect: React.ForwardRefExoticComponent<Pick<SpsSelectProps, "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "data-testid" | "unsafelyReplaceClassName" | "formMeta" | "formControl" | "loading" | "filterByTextAndCaptionKey" | "disableOptionsMemoization" | "searchDebounce" | "searchPlaceholder" | "captionKey" | "comparisonKey" | "options" | "textKey" | "valueKey" | "zeroState" | "tallOptionList" | "maxHeightOptionListPx" | "maxHeightOptionListRem" | "onOpen" | "notClearable" | "autoFixWidth"> & React.RefAttributes<{
|
|
7
|
+
export declare type SpsSelectProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
8
|
+
action?: SpsActionMethod;
|
|
9
|
+
captionKey?: string;
|
|
10
|
+
comparisonKey?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
formControl?: SpsFormControl<any>;
|
|
13
|
+
formMeta?: SpsFormFieldMeta<any>;
|
|
14
|
+
notClearable?: boolean;
|
|
15
|
+
options: Eventually<any[]> | ((filter?: string) => Eventually<any[]>);
|
|
16
|
+
onChange?: React.ChangeEventHandler;
|
|
17
|
+
onOpen?: () => void;
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
searchDebounce?: number;
|
|
20
|
+
searchPlaceholder?: string;
|
|
21
|
+
tallOptionList?: boolean;
|
|
22
|
+
textKey?: string;
|
|
23
|
+
valueKey?: string;
|
|
24
|
+
value?: any;
|
|
25
|
+
zeroState?: string;
|
|
26
|
+
autoFixWidth?: boolean;
|
|
27
|
+
loading?: boolean;
|
|
28
|
+
filterByTextAndCaptionKey?: boolean;
|
|
29
|
+
maxHeightOptionListPx?: number;
|
|
30
|
+
maxHeightOptionListRem?: number;
|
|
31
|
+
disableOptionsMemoization?: boolean;
|
|
32
|
+
}> & React.HTMLAttributes<HTMLDivElement>;
|
|
33
|
+
declare type FocusRef = {
|
|
39
34
|
focus: () => void;
|
|
40
|
-
}
|
|
35
|
+
} | null;
|
|
36
|
+
export declare const SpsSelect: React.ForwardRefExoticComponent<SpsGlobalPropTypes & {
|
|
37
|
+
action?: SpsActionMethod | undefined;
|
|
38
|
+
captionKey?: string | undefined;
|
|
39
|
+
comparisonKey?: string | undefined;
|
|
40
|
+
disabled?: boolean | undefined;
|
|
41
|
+
formControl?: SpsFormControl<any> | undefined;
|
|
42
|
+
formMeta?: SpsFormFieldMeta<any> | undefined;
|
|
43
|
+
notClearable?: boolean | undefined;
|
|
44
|
+
options: Eventually<any[]> | ((filter?: string) => Eventually<any[]>);
|
|
45
|
+
onChange?: React.ChangeEventHandler<Element> | undefined;
|
|
46
|
+
onOpen?: (() => void) | undefined;
|
|
47
|
+
placeholder?: string | undefined;
|
|
48
|
+
searchDebounce?: number | undefined;
|
|
49
|
+
searchPlaceholder?: string | undefined;
|
|
50
|
+
tallOptionList?: boolean | undefined;
|
|
51
|
+
textKey?: string | undefined;
|
|
52
|
+
valueKey?: string | undefined;
|
|
53
|
+
value?: any;
|
|
54
|
+
zeroState?: string | undefined;
|
|
55
|
+
autoFixWidth?: boolean | undefined;
|
|
56
|
+
loading?: boolean | undefined;
|
|
57
|
+
filterByTextAndCaptionKey?: boolean | undefined;
|
|
58
|
+
maxHeightOptionListPx?: number | undefined;
|
|
59
|
+
maxHeightOptionListRem?: number | undefined;
|
|
60
|
+
disableOptionsMemoization?: boolean | undefined;
|
|
61
|
+
} & {
|
|
62
|
+
children?: React.ReactNode;
|
|
63
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<FocusRef>>;
|
|
41
64
|
export {};
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
7
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
8
|
-
};
|
|
9
|
-
export declare type SpsSlackLinkProps = PropTypes.InferTS<typeof propTypes, HTMLAnchorElement>;
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
3
|
+
export declare type SpsSlackLinkProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
4
|
+
channelId: string;
|
|
5
|
+
}> & React.HTMLAttributes<HTMLAnchorElement>;
|
|
10
6
|
export declare function SpsSlackLink(props: SpsSlackLinkProps): JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import
|
|
3
|
-
declare
|
|
4
|
-
title
|
|
5
|
-
show
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
className: PropTypes.Requireable<string>;
|
|
11
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
12
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
13
|
-
};
|
|
14
|
-
export declare type SpsSlideInPanelProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
2
|
+
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
3
|
+
export declare type SpsSlideInPanelProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
4
|
+
title?: string;
|
|
5
|
+
show?: boolean;
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
focusElementOnOpen?: React.MutableRefObject<HTMLElement>;
|
|
8
|
+
closeOnEscapePressed: boolean;
|
|
9
|
+
}> & React.HTMLAttributes<HTMLDivElement>;
|
|
15
10
|
export declare function SpsSlideInPanel({ children, className, id: idProp, show, closeOnEscapePressed, onClose, focusElementOnOpen, title, ...rest }: SpsSlideInPanelProps): JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import type { SortChangeHandler, SortedColumn } from "@spscommerce/ds-shared";
|
|
2
|
-
import
|
|
3
|
-
declare
|
|
4
|
-
sort:
|
|
5
|
-
onSortChange:
|
|
6
|
-
|
|
7
|
-
className: PropTypes.Requireable<string>;
|
|
8
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
9
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
10
|
-
};
|
|
11
|
-
export declare type SpsSortingHeaderProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
3
|
+
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
4
|
+
export declare type SpsSortingHeaderProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
5
|
+
sort: SortedColumn[];
|
|
6
|
+
onSortChange: SortChangeHandler;
|
|
7
|
+
}> & React.HTMLAttributes<HTMLDivElement>;
|
|
12
8
|
export declare function SpsSortingHeader({ className, "data-testid": testId, unsafelyReplaceClassName, sort, onSortChange, children, ...rest }: SpsSortingHeaderProps): JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
import type { SortChangeHandler, SortedColumn } from "@spscommerce/ds-shared";
|
|
2
|
-
import
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
onSortChange: PropTypes.Requireable<SortChangeHandler>;
|
|
12
|
-
widthPx: PropTypes.Requireable<number>;
|
|
13
|
-
widthRem: PropTypes.Requireable<number>;
|
|
14
|
-
};
|
|
15
|
-
export declare type SpsSortingHeaderCellProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
3
|
+
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
4
|
+
export declare type SpsSortingHeaderCellProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
5
|
+
sortKey?: string;
|
|
6
|
+
sortDisabled?: boolean;
|
|
7
|
+
sort?: SortedColumn[];
|
|
8
|
+
onSortChange?: SortChangeHandler;
|
|
9
|
+
widthPx?: number;
|
|
10
|
+
widthRem?: number;
|
|
11
|
+
}> & React.HTMLAttributes<HTMLDivElement>;
|
|
16
12
|
export declare function SpsSortingHeaderCell({ className, "data-testid": testId, unsafelyReplaceClassName, sortKey, sort, sortDisabled, onSortChange, onClick, children, widthPx, widthRem, style, ...rest }: SpsSortingHeaderCellProps): JSX.Element;
|
|
17
|
-
export {};
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { SpinnerSize } from "@spscommerce/ds-shared";
|
|
2
|
-
import * as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
10
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
11
|
-
};
|
|
12
|
-
export declare type SpsSpinnerProps = PropTypes.InferTS<typeof propTypes, HTMLElement>;
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
4
|
+
export declare type SpsSpinnerProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
5
|
+
alt?: string;
|
|
6
|
+
size?: SpinnerSize;
|
|
7
|
+
title?: string;
|
|
8
|
+
}> & React.HTMLAttributes<HTMLElement>;
|
|
13
9
|
export declare function SpsSpinner(props: SpsSpinnerProps): JSX.Element;
|
|
14
|
-
export {};
|
package/lib/spinner/index.d.ts
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { StdButtonKind
|
|
3
|
-
import * as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
15
|
-
};
|
|
16
|
-
export declare type SpsSplitButtonProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
1
|
+
import type { SpsIcon } from "@spscommerce/ds-shared";
|
|
2
|
+
import { StdButtonKind } from "@spscommerce/ds-shared";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
5
|
+
import { SpsDropdown } from "../dropdown/SpsDropdown";
|
|
6
|
+
export declare type SpsSplitButtonProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
href?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
icon?: SpsIcon;
|
|
11
|
+
kind?: StdButtonKind;
|
|
12
|
+
options?: Parameters<typeof SpsDropdown>[0]["options"];
|
|
13
|
+
}> & React.HTMLAttributes<HTMLDivElement>;
|
|
17
14
|
export declare function SpsSplitButton(props: SpsSplitButtonProps): JSX.Element;
|
|
18
|
-
export {};
|