@spscommerce/ds-react 5.10.4 → 5.10.5-ie
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/package.json +13 -19
- package/rollup.config.js +22 -0
- package/vite.config.js +1 -1
- 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/advanced-search/SpsAdvancedSearch.d.ts +0 -22
- package/lib/advanced-search/SpsAdvancedSearch.examples.d.ts +0 -2
- package/lib/advanced-search/index.d.ts +0 -2
- package/lib/autocomplete/SpsAutocomplete.d.ts +0 -27
- package/lib/autocomplete/SpsAutocomplete.examples.d.ts +0 -2
- package/lib/autocomplete/index.d.ts +0 -2
- package/lib/button/SpsButton.d.ts +0 -18
- package/lib/button/SpsButton.examples.d.ts +0 -2
- package/lib/button/SpsButtonGroup.d.ts +0 -10
- package/lib/button/SpsIconButtonPanel.d.ts +0 -10
- package/lib/button/index.d.ts +0 -4
- package/lib/card/SpsCard.d.ts +0 -16
- package/lib/card/SpsCard.examples.d.ts +0 -2
- package/lib/card/SpsCardHeader.d.ts +0 -14
- package/lib/card/SpsCardTabbedPane.d.ts +0 -19
- package/lib/card/index.d.ts +0 -3
- package/lib/card/useTab.d.ts +0 -18
- package/lib/card-v2/SpsCardV2.d.ts +0 -2
- package/lib/card-v2/SpsCardV2Footer.d.ts +0 -2
- package/lib/card-v2/SpsCardV2Header.d.ts +0 -2
- package/lib/card-v2/SpsCardV2Title.d.ts +0 -2
- package/lib/card-v2/index.d.ts +0 -5
- package/lib/checkbox/SpsCheckbox.d.ts +0 -21
- package/lib/checkbox/SpsCheckbox.examples.d.ts +0 -2
- package/lib/checkbox/index.d.ts +0 -2
- package/lib/checkbox-dropdown/SpsCheckboxDropdown.d.ts +0 -17
- package/lib/checkbox-dropdown/index.d.ts +0 -1
- package/lib/clickable-tag/SpsClickableTag.d.ts +0 -16
- package/lib/clickable-tag/SpsClickableTag.examples.d.ts +0 -2
- package/lib/clickable-tag/index.d.ts +0 -2
- package/lib/column-chooser/SpsColumnChooser.d.ts +0 -19
- package/lib/column-chooser/SpsColumnChooser.examples.d.ts +0 -2
- package/lib/column-chooser/SpsColumnChooserColumn.d.ts +0 -17
- package/lib/column-chooser/index.d.ts +0 -3
- package/lib/conditional-field/SpsConditionalField.d.ts +0 -11
- package/lib/conditional-field/SpsConditionalField.examples.d.ts +0 -2
- package/lib/conditional-field/index.d.ts +0 -2
- package/lib/content-row/SpsContentRow.d.ts +0 -22
- package/lib/content-row/SpsContentRow.examples.d.ts +0 -2
- package/lib/content-row/SpsContentRowCol.d.ts +0 -15
- package/lib/content-row/SpsContentRowExpansion.d.ts +0 -10
- package/lib/content-row/index.d.ts +0 -4
- package/lib/currency-input/SpsCurrencyInput.d.ts +0 -18
- package/lib/currency-input/SpsCurrencyInput.examples.d.ts +0 -2
- package/lib/currency-input/index.d.ts +0 -2
- package/lib/dateRangePicker/SpsDateRangePicker.d.ts +0 -23
- package/lib/dateRangePicker/SpsDateRangePicker.examples.d.ts +0 -2
- package/lib/dateRangePicker/index.d.ts +0 -2
- package/lib/datepicker/SpsDatepicker.d.ts +0 -19
- package/lib/datepicker/SpsDatepicker.examples.d.ts +0 -2
- package/lib/datepicker/index.d.ts +0 -2
- package/lib/datepicker-v2/SpsDateRangePickerV2.d.ts +0 -21
- package/lib/datepicker-v2/SpsDatepickerCalendar.d.ts +0 -18
- package/lib/datepicker-v2/SpsDatepickerPopup.d.ts +0 -13
- package/lib/datepicker-v2/SpsDatepickerV2.d.ts +0 -18
- package/lib/datepicker-v2/index.d.ts +0 -4
- package/lib/datepicker-v2/useCalendar.d.ts +0 -2
- package/lib/datepicker-v2/useMoment.d.ts +0 -3
- package/lib/datepicker-v2/utils.d.ts +0 -23
- package/lib/datepicker-v2/validation.d.ts +0 -10
- package/lib/datetime/SpsDateTime.d.ts +0 -26
- package/lib/datetime/SpsDateTime.examples.d.ts +0 -2
- package/lib/datetime/index.d.ts +0 -2
- package/lib/description-list/SpsDescriptionList.d.ts +0 -14
- package/lib/description-list/SpsDescriptionList.examples.d.ts +0 -2
- package/lib/description-list/SpsDescriptionListDefinition.d.ts +0 -11
- package/lib/description-list/SpsDescriptionListTerm.d.ts +0 -18
- package/lib/description-list/index.d.ts +0 -4
- package/lib/dropdown/SpsDropdown.d.ts +0 -24
- package/lib/dropdown/SpsDropdown.examples.d.ts +0 -2
- package/lib/dropdown/index.d.ts +0 -2
- package/lib/feedback-block/SpsFeedbackBlock.d.ts +0 -12
- package/lib/feedback-block/SpsFeedbackBlock.examples.d.ts +0 -2
- package/lib/feedback-block/index.d.ts +0 -2
- package/lib/fieldset/SpsFieldset.d.ts +0 -22
- package/lib/fieldset/SpsFieldset.examples.d.ts +0 -2
- package/lib/fieldset/index.d.ts +0 -2
- package/lib/filter-panel/SpsFilterPanel.d.ts +0 -10
- package/lib/filter-panel/SpsFilterPanel.examples.d.ts +0 -2
- package/lib/filter-panel/SpsFilterPanelCap.d.ts +0 -11
- package/lib/filter-panel/SpsFilterPanelFilterBox.d.ts +0 -16
- package/lib/filter-panel/SpsFilterPanelSection.d.ts +0 -16
- package/lib/filter-panel/index.d.ts +0 -5
- package/lib/filter-tile-list/SpsFilterTile.d.ts +0 -15
- package/lib/filter-tile-list/SpsFilterTileList.d.ts +0 -10
- package/lib/filter-tile-list/SpsFilterTileList.examples.d.ts +0 -2
- package/lib/filter-tile-list/index.d.ts +0 -3
- package/lib/focused-task/SpsFocusedTask.d.ts +0 -13
- package/lib/focused-task/SpsFocusedTask.examples.d.ts +0 -2
- package/lib/focused-task/SpsFocusedTaskActions.d.ts +0 -10
- package/lib/focused-task/index.d.ts +0 -3
- package/lib/form/AddRemoveFormRows.examples.d.ts +0 -18
- package/lib/form/SpsForm.d.ts +0 -24
- package/lib/form/SpsForm.examples.d.ts +0 -41
- package/lib/form/SpsFormComponentWrapper.d.ts +0 -19
- package/lib/form/hooks/SpsAbstractControl.interface.d.ts +0 -24
- package/lib/form/hooks/SpsControlSet.interface.d.ts +0 -7
- package/lib/form/hooks/formArray.d.ts +0 -12
- package/lib/form/hooks/formControl.d.ts +0 -9
- package/lib/form/hooks/formGroup.d.ts +0 -10
- package/lib/form/hooks/useForm.d.ts +0 -2
- package/lib/form/hooks/useFormControlId.d.ts +0 -4
- package/lib/form/hooks/useServerSideValidation.d.ts +0 -3
- package/lib/form/hooks/useSpsForm.d.ts +0 -77
- package/lib/form/index.d.ts +0 -15
- package/lib/form/validation/SpsValidators.d.ts +0 -16
- package/lib/form/validation/types.d.ts +0 -7
- package/lib/form/validation/validate.d.ts +0 -2
- package/lib/growler/SpsGrowler.d.ts +0 -17
- package/lib/growler/SpsGrowler.examples.d.ts +0 -2
- package/lib/growler/index.d.ts +0 -3
- package/lib/growler/useGrowlers.d.ts +0 -12
- package/lib/i18n.d.ts +0 -3
- package/lib/icon/SpsIcon.d.ts +0 -13
- package/lib/icon/index.d.ts +0 -1
- package/lib/incrementor/SpsIncrementor.d.ts +0 -15
- package/lib/incrementor/SpsIncrementor.examples.d.ts +0 -2
- package/lib/incrementor/index.d.ts +0 -2
- package/lib/index.cjs.js +0 -8473
- package/lib/index.d.ts +0 -71
- package/lib/index.es.js +0 -38081
- package/lib/input-group/SpsInputGroup.d.ts +0 -17
- package/lib/input-group/index.d.ts +0 -1
- package/lib/insight-tile/SpsInsightTile.d.ts +0 -18
- package/lib/insight-tile/SpsInsightTile.examples.d.ts +0 -2
- package/lib/insight-tile/SpsInsights.d.ts +0 -10
- package/lib/insight-tile/index.d.ts +0 -2
- package/lib/key-value-list/SpsKeyValueList.d.ts +0 -11
- package/lib/key-value-list/SpsKeyValueList.examples.d.ts +0 -2
- package/lib/key-value-list/SpsKeyValueListItem.d.ts +0 -13
- package/lib/key-value-list/index.d.ts +0 -3
- package/lib/key-value-tag/SpsKeyValueTag.d.ts +0 -16
- package/lib/key-value-tag/SpsKeyValueTag.examples.d.ts +0 -2
- package/lib/key-value-tag/index.d.ts +0 -2
- package/lib/label/SpsLabel.d.ts +0 -20
- package/lib/label/SpsLabel.examples.d.ts +0 -2
- package/lib/label/index.d.ts +0 -2
- package/lib/list-action-bar/SpsListActionBar.d.ts +0 -12
- package/lib/list-action-bar/SpsListActionBar.examples.d.ts +0 -2
- package/lib/list-action-bar/index.d.ts +0 -2
- package/lib/list-toolbar/SpsListToolbar.d.ts +0 -25
- package/lib/list-toolbar/SpsListToolbar.examples.d.ts +0 -3
- package/lib/list-toolbar/SpsListToolbarSearch.d.ts +0 -12
- package/lib/list-toolbar/SpsListToolbarSearchInfo.d.ts +0 -10
- package/lib/list-toolbar/index.d.ts +0 -4
- package/lib/manifest.d.ts +0 -2
- package/lib/micro-block/SpsMicroBlock.d.ts +0 -13
- package/lib/micro-block/SpsMicroBlock.examples.d.ts +0 -2
- package/lib/micro-block/index.d.ts +0 -2
- package/lib/modal/SpsModal.d.ts +0 -25
- package/lib/modal/SpsModal.examples.d.ts +0 -2
- package/lib/modal/SpsModalAction.d.ts +0 -18
- package/lib/modal/SpsModalBody.d.ts +0 -10
- package/lib/modal/SpsModalFooter.d.ts +0 -16
- package/lib/modal/SpsModalHeader.d.ts +0 -11
- package/lib/modal/SpsModalOverlay.d.ts +0 -12
- package/lib/modal/index.d.ts +0 -2
- package/lib/modal-v2/SpsModalV2.d.ts +0 -18
- package/lib/modal-v2/index.d.ts +0 -1
- package/lib/multi-select/SpsMultiSelect.d.ts +0 -34
- package/lib/multi-select/SpsMultiSelect.examples.d.ts +0 -2
- package/lib/multi-select/index.d.ts +0 -2
- package/lib/option-list/SpsOptionList.d.ts +0 -3
- package/lib/option-list/SpsOptionListProps.d.ts +0 -75
- package/lib/option-list/index.d.ts +0 -1
- package/lib/option-list/useOptionListOptions.d.ts +0 -8
- package/lib/option-list/useOptionListSearch.d.ts +0 -13
- package/lib/option-list/useSpsAction.d.ts +0 -2
- package/lib/page-title/SpsPageSubtitle.d.ts +0 -10
- package/lib/page-title/SpsPageTitle.d.ts +0 -10
- package/lib/page-title/SpsPageTitle.examples.d.ts +0 -2
- package/lib/page-title/index.d.ts +0 -3
- package/lib/pagination/SpsPageSelector.d.ts +0 -14
- package/lib/pagination/SpsPagination.d.ts +0 -16
- package/lib/pagination/SpsPagination.examples.d.ts +0 -2
- package/lib/pagination/index.d.ts +0 -3
- package/lib/product-bar/SpsProductBar.d.ts +0 -19
- package/lib/product-bar/SpsProductBar.examples.d.ts +0 -2
- package/lib/product-bar/SpsProductBarTab.d.ts +0 -6
- package/lib/product-bar/index.d.ts +0 -3
- package/lib/progress-bar/SpsProgressBar.d.ts +0 -15
- package/lib/progress-bar/SpsProgressBar.examples.d.ts +0 -27
- package/lib/progress-bar/index.d.ts +0 -2
- package/lib/progress-ring/SpsProgressRing.d.ts +0 -13
- package/lib/progress-ring/index.d.ts +0 -1
- package/lib/prop-types.d.ts +0 -23
- package/lib/radio-button/SpsRadioButton.d.ts +0 -23
- package/lib/radio-button/SpsRadioButton.examples.d.ts +0 -2
- package/lib/radio-button/index.d.ts +0 -2
- package/lib/scrollable-container/SpsScrollableContainer.d.ts +0 -11
- package/lib/scrollable-container/SpsScrollableContainer.examples.d.ts +0 -14
- package/lib/scrollable-container/index.d.ts +0 -2
- package/lib/search-results-bar/SpsSearchResultsBar.d.ts +0 -13
- package/lib/search-results-bar/SpsSearchResultsBar.examples.d.ts +0 -2
- package/lib/search-results-bar/index.d.ts +0 -2
- package/lib/select/SpsSelect.d.ts +0 -37
- package/lib/select/SpsSelect.examples.d.ts +0 -2
- package/lib/select/index.d.ts +0 -2
- package/lib/side-nav/SpsSideNav.d.ts +0 -38
- package/lib/side-nav/SpsSideNav.examples.d.ts +0 -2
- package/lib/side-nav/SpsSideNavBranch.d.ts +0 -9
- package/lib/side-nav/index.d.ts +0 -2
- package/lib/slack-link/SpsSlackLink.d.ts +0 -11
- package/lib/slack-link/SpsSlackLink.examples.d.ts +0 -2
- package/lib/slack-link/index.d.ts +0 -2
- package/lib/sorting-header/SpsSortingHeader.d.ts +0 -13
- package/lib/sorting-header/SpsSortingHeader.examples.d.ts +0 -2
- package/lib/sorting-header/SpsSortingHeaderCell.d.ts +0 -17
- package/lib/sorting-header/index.d.ts +0 -3
- package/lib/spinner/SpsSpinner.d.ts +0 -14
- package/lib/spinner/SpsSpinner.examples.d.ts +0 -2
- package/lib/spinner/index.d.ts +0 -2
- package/lib/split-button/SpsSplitButton.d.ts +0 -18
- package/lib/split-button/SpsSplitButton.examples.d.ts +0 -2
- package/lib/split-button/index.d.ts +0 -2
- package/lib/stepped-progress-bar/SpsSteppedProgressBar.d.ts +0 -25
- package/lib/stepped-progress-bar/SpsSteppedProgressBar.examples.d.ts +0 -24
- package/lib/stepped-progress-bar/index.d.ts +0 -2
- package/lib/summary-list/SpsSummaryList.examples.d.ts +0 -2
- package/lib/summary-list/SpsSummaryListColumn.d.ts +0 -14
- package/lib/summary-list/SpsSummaryListExpansion.d.ts +0 -10
- package/lib/summary-list/SpsSummaryListRow.d.ts +0 -13
- package/lib/summary-list/index.d.ts +0 -4
- package/lib/table/SpsTable.d.ts +0 -14
- package/lib/table/SpsTable.examples.d.ts +0 -2
- package/lib/table/SpsTableBody.d.ts +0 -11
- package/lib/table/SpsTableCell.d.ts +0 -15
- package/lib/table/SpsTableHead.d.ts +0 -15
- package/lib/table/SpsTableHeader.d.ts +0 -17
- package/lib/table/SpsTableRow.d.ts +0 -14
- package/lib/table/index.d.ts +0 -7
- package/lib/table/usePinnedStyles.d.ts +0 -4
- package/lib/tabs/SpsTabs.d.ts +0 -14
- package/lib/tabs-v2/SpsTab.d.ts +0 -6
- package/lib/tabs-v2/SpsTabPanel.d.ts +0 -5
- package/lib/tabs-v2/SpsTabsV2.d.ts +0 -2
- package/lib/tabs-v2/index.d.ts +0 -4
- package/lib/tag/SpsTag.d.ts +0 -13
- package/lib/tag/SpsTag.examples.d.ts +0 -2
- package/lib/tag/index.d.ts +0 -2
- package/lib/task-queue/SpsTaskQueue.d.ts +0 -36
- package/lib/task-queue/SpsTaskQueue.examples.d.ts +0 -2
- package/lib/task-queue/index.d.ts +0 -2
- package/lib/test-util.d.ts +0 -2
- package/lib/text-input/SpsTextInput.d.ts +0 -22
- package/lib/text-input/SpsTextInput.examples.d.ts +0 -2
- package/lib/text-input/index.d.ts +0 -2
- package/lib/textarea/SpsTextarea.d.ts +0 -22
- package/lib/textarea/SpsTextarea.examples.d.ts +0 -2
- package/lib/textarea/index.d.ts +0 -2
- package/lib/tile-list/SpsTile.d.ts +0 -16
- package/lib/tile-list/SpsTileList.d.ts +0 -10
- package/lib/tile-list/SpsTileList.examples.d.ts +0 -2
- package/lib/tile-list/index.d.ts +0 -3
- package/lib/toggle/SpsToggle.d.ts +0 -27
- package/lib/toggle/SpsToggle.examples.d.ts +0 -2
- package/lib/toggle/index.d.ts +0 -2
- package/lib/tooltip/SpsTooltip.d.ts +0 -29
- package/lib/tooltip/SpsTooltip.examples.d.ts +0 -2
- package/lib/tooltip/SpsTooltipTitle.d.ts +0 -13
- package/lib/tooltip/index.d.ts +0 -3
- package/lib/utils/FauxChangeEvent.d.ts +0 -20
- package/lib/utils/contentOf.d.ts +0 -2
- package/lib/utils/getPosition.d.ts +0 -11
- package/lib/utils/getScrollParent.d.ts +0 -1
- package/lib/utils/index.d.ts +0 -11
- package/lib/utils/selectChildren.d.ts +0 -5
- package/lib/utils/useCheckDeprecatedProps.d.ts +0 -2
- package/lib/utils/useDidUpdateEffect.d.ts +0 -2
- package/lib/utils/useDocumentEventListener.d.ts +0 -1
- package/lib/utils/useElementId.d.ts +0 -2
- package/lib/utils/useInputPopup.d.ts +0 -6
- package/lib/utils/usePatchReducer.d.ts +0 -2
- package/lib/utils/usePortal.d.ts +0 -6
- package/lib/vertical-rule/SpsVerticalRule.d.ts +0 -11
- package/lib/vertical-rule/index.d.ts +0 -1
- package/lib/wizard/SpsWizard.examples.d.ts +0 -2
- package/lib/wizard/SpsWizardSidebar.d.ts +0 -23
- package/lib/wizard/SpsWizardSubstep.d.ts +0 -14
- package/lib/wizard/index.d.ts +0 -3
- package/lib/workflow/SpsWorkflow.d.ts +0 -14
- package/lib/workflow/SpsWorkflow.examples.d.ts +0 -2
- package/lib/workflow/SpsWorkflowDocument.d.ts +0 -11
- package/lib/workflow/SpsWorkflowDocumentStatus.d.ts +0 -13
- package/lib/workflow/SpsWorkflowStep.d.ts +0 -14
- package/lib/workflow/index.d.ts +0 -5
- package/lib/zero-state/SpsMicroZeroState.d.ts +0 -14
- package/lib/zero-state/SpsZeroState.d.ts +0 -13
- package/lib/zero-state/SpsZeroState.examples.d.ts +0 -2
- package/lib/zero-state/index.d.ts +0 -3
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as PropTypes from "../prop-types";
|
|
2
|
-
declare const propTypes: {
|
|
3
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
4
|
-
className: PropTypes.Requireable<string>;
|
|
5
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
6
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
7
|
-
};
|
|
8
|
-
export declare type SpsTableBodyProps = PropTypes.InferTS<typeof propTypes, HTMLTableSectionElement>;
|
|
9
|
-
export declare function SpsTableBody(props: SpsTableBodyProps): JSX.Element;
|
|
10
|
-
export declare function SpsTbody(props: SpsTableBodyProps): JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as PropTypes from "../prop-types";
|
|
2
|
-
declare const propTypes: {
|
|
3
|
-
buttonCell: PropTypes.Requireable<boolean>;
|
|
4
|
-
controlCell: PropTypes.Requireable<boolean>;
|
|
5
|
-
wrap: PropTypes.Requireable<number>;
|
|
6
|
-
pinned: PropTypes.Requireable<boolean>;
|
|
7
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
8
|
-
className: PropTypes.Requireable<string>;
|
|
9
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
10
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
11
|
-
};
|
|
12
|
-
export declare type SpsTableCellProps = PropTypes.InferTS<typeof propTypes, HTMLTableCellElement>;
|
|
13
|
-
export declare function SpsTableCell(props: SpsTableCellProps): JSX.Element;
|
|
14
|
-
export declare function SpsTd(props: SpsTableCellProps): JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { SortChangeHandler, SortedColumn } from "@spscommerce/ds-shared";
|
|
2
|
-
import * as PropTypes from "../prop-types";
|
|
3
|
-
declare const propTypes: {
|
|
4
|
-
onSortChange: PropTypes.Requireable<SortChangeHandler>;
|
|
5
|
-
currentSort: PropTypes.Requireable<SortedColumn[]>;
|
|
6
|
-
pinned: PropTypes.Requireable<boolean>;
|
|
7
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
8
|
-
className: PropTypes.Requireable<string>;
|
|
9
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
10
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
11
|
-
};
|
|
12
|
-
export declare type SpsTableHeadProps = PropTypes.InferTS<typeof propTypes, HTMLTableSectionElement>;
|
|
13
|
-
export declare function SpsTableHead(props: SpsTableHeadProps): JSX.Element;
|
|
14
|
-
export declare function SpsThead(props: SpsTableHeadProps): JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { SortChangeHandler, SortedColumn } from "@spscommerce/ds-shared";
|
|
2
|
-
import * as PropTypes from "../prop-types";
|
|
3
|
-
declare const propTypes: {
|
|
4
|
-
controlCell: PropTypes.Requireable<boolean>;
|
|
5
|
-
currentSort: PropTypes.Requireable<SortedColumn[]>;
|
|
6
|
-
onSortChange: PropTypes.Requireable<SortChangeHandler>;
|
|
7
|
-
sortKey: PropTypes.Requireable<string>;
|
|
8
|
-
pinned: PropTypes.Requireable<boolean>;
|
|
9
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
10
|
-
className: PropTypes.Requireable<string>;
|
|
11
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
12
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
13
|
-
};
|
|
14
|
-
export declare type SpsTableHeaderProps = PropTypes.InferTS<typeof propTypes, HTMLTableHeaderCellElement>;
|
|
15
|
-
export declare function SpsTableHeader(props: SpsTableHeaderProps): JSX.Element;
|
|
16
|
-
export declare function SpsTh(props: SpsTableHeaderProps): JSX.Element;
|
|
17
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { SortChangeHandler, SortedColumn } from "@spscommerce/ds-shared";
|
|
2
|
-
import * as PropTypes from "../prop-types";
|
|
3
|
-
declare const propTypes: {
|
|
4
|
-
currentSort: PropTypes.Requireable<SortedColumn[]>;
|
|
5
|
-
onSortChange: PropTypes.Requireable<SortChangeHandler>;
|
|
6
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
7
|
-
className: PropTypes.Requireable<string>;
|
|
8
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
9
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
10
|
-
};
|
|
11
|
-
export declare type SpsTableRowProps = PropTypes.InferTS<typeof propTypes, HTMLTableRowElement>;
|
|
12
|
-
export declare function SpsTableRow(props: SpsTableRowProps): JSX.Element;
|
|
13
|
-
export declare function SpsTr(props: SpsTableRowProps): JSX.Element;
|
|
14
|
-
export {};
|
package/lib/table/index.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export declare const usePinnedCellStyle: (isPinned: boolean, elementRef: React.MutableRefObject<HTMLTableHeaderCellElement | HTMLTableCellElement>) => void;
|
|
3
|
-
export declare const usePinnedTableBackgroundStyle: (containerRef: React.MutableRefObject<HTMLDivElement>) => void;
|
|
4
|
-
export declare const usePinnedTableHeadStyle: (containerRef: React.MutableRefObject<HTMLDivElement>) => void;
|
package/lib/tabs/SpsTabs.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { SpsTab } from "@spscommerce/ds-shared";
|
|
2
|
-
import * as PropTypes from "../prop-types";
|
|
3
|
-
declare const propTypes: {
|
|
4
|
-
tabs: PropTypes.Validator<SpsTab[]>;
|
|
5
|
-
activeTab: PropTypes.Requireable<SpsTab>;
|
|
6
|
-
onTabChange: PropTypes.Requireable<(newTab: SpsTab) => void>;
|
|
7
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
8
|
-
className: PropTypes.Requireable<string>;
|
|
9
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
10
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
11
|
-
};
|
|
12
|
-
export declare type SpsTabsProps = PropTypes.InferTS<typeof propTypes, HTMLElement>;
|
|
13
|
-
export declare function SpsTabs(props: SpsTabsProps): JSX.Element;
|
|
14
|
-
export {};
|
package/lib/tabs-v2/SpsTab.d.ts
DELETED
package/lib/tabs-v2/index.d.ts
DELETED
package/lib/tag/SpsTag.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SpsIcon, TagKind } from "@spscommerce/ds-shared";
|
|
2
|
-
import * as PropTypes from "../prop-types";
|
|
3
|
-
declare const propTypes: {
|
|
4
|
-
icon: PropTypes.Requireable<SpsIcon>;
|
|
5
|
-
kind: PropTypes.Requireable<TagKind>;
|
|
6
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
7
|
-
className: PropTypes.Requireable<string>;
|
|
8
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
9
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
10
|
-
};
|
|
11
|
-
export declare type SpsTagProps = PropTypes.InferTS<typeof propTypes, HTMLSpanElement>;
|
|
12
|
-
export declare function SpsTag(props: SpsTagProps): JSX.Element;
|
|
13
|
-
export {};
|
package/lib/tag/index.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import type { SpsIcon, SpsTask } from "@spscommerce/ds-shared";
|
|
3
|
-
import { TooltipKind, Position } from "@spscommerce/ds-shared";
|
|
4
|
-
import * as PropTypes from "../prop-types";
|
|
5
|
-
declare const propTypes: {
|
|
6
|
-
tasks: PropTypes.Requireable<ReactSpsTask[]>;
|
|
7
|
-
taskQueuePosition: PropTypes.Requireable<Position>;
|
|
8
|
-
notificationText: PropTypes.Requireable<string>;
|
|
9
|
-
tooltipConfig: PropTypes.Requireable<PropTypes.InferProps<{
|
|
10
|
-
position: PropTypes.Requireable<Position>;
|
|
11
|
-
kind: PropTypes.Requireable<TooltipKind>;
|
|
12
|
-
}>>;
|
|
13
|
-
onClose: PropTypes.Requireable<() => void>;
|
|
14
|
-
onOpen: PropTypes.Requireable<() => void>;
|
|
15
|
-
onClearCompleted: PropTypes.Requireable<() => void>;
|
|
16
|
-
suppressTooltips: PropTypes.Requireable<boolean>;
|
|
17
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
18
|
-
className: PropTypes.Requireable<string>;
|
|
19
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
20
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
21
|
-
};
|
|
22
|
-
export declare type SpsTaskQueueProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
23
|
-
export interface ReactSpsTaskAction {
|
|
24
|
-
label?: string;
|
|
25
|
-
caption?: string;
|
|
26
|
-
icon?: SpsIcon;
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
onClick?: (task: ReactSpsTask) => void;
|
|
29
|
-
}
|
|
30
|
-
export declare type ReactSpsTask = Pick<SpsTask, "heading" | "status" | "unread"> & {
|
|
31
|
-
id?: string;
|
|
32
|
-
subheading?: React.ReactNode;
|
|
33
|
-
actions?: Array<ReactSpsTaskAction | React.ReactElement>;
|
|
34
|
-
};
|
|
35
|
-
export declare function SpsTaskQueue({ tasks, taskQueuePosition, notificationText, tooltipConfig, onOpen, onClose, onClearCompleted, className, "data-testid": testId, unsafelyReplaceClassName, suppressTooltips, ...rest }: SpsTaskQueueProps): JSX.Element;
|
|
36
|
-
export {};
|
package/lib/test-util.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SpsIcon } from "@spscommerce/ds-shared";
|
|
3
|
-
import * as PropTypes from "../prop-types";
|
|
4
|
-
import type { SpsFormControl } from "../form/hooks/formControl";
|
|
5
|
-
import type { SpsFormFieldMeta } from "../form/hooks/useSpsForm";
|
|
6
|
-
declare const propTypes: {
|
|
7
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
8
|
-
formControl: PropTypes.Requireable<SpsFormControl<string>>;
|
|
9
|
-
formMeta: PropTypes.Requireable<SpsFormFieldMeta<string>>;
|
|
10
|
-
icon: PropTypes.Requireable<SpsIcon>;
|
|
11
|
-
name: PropTypes.Requireable<string>;
|
|
12
|
-
onChange: PropTypes.Requireable<React.ChangeEventHandler<HTMLInputElement>>;
|
|
13
|
-
placeholder: PropTypes.Requireable<string>;
|
|
14
|
-
value: PropTypes.Requireable<string>;
|
|
15
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
16
|
-
className: PropTypes.Requireable<string>;
|
|
17
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
18
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
19
|
-
};
|
|
20
|
-
export declare type SpsTextInputProps = PropTypes.InferTS<typeof propTypes, HTMLInputElement>;
|
|
21
|
-
export declare const SpsTextInput: React.ForwardRefExoticComponent<Pick<SpsTextInputProps, "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" | "icon" | "data-testid" | "unsafelyReplaceClassName" | "formMeta" | "formControl"> & React.RefAttributes<HTMLInputElement>>;
|
|
22
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as PropTypes from "../prop-types";
|
|
3
|
-
import type { SpsFormControl } from "../form/hooks/formControl";
|
|
4
|
-
import type { SpsFormFieldMeta } from "../form/hooks/useSpsForm";
|
|
5
|
-
declare const propTypes: {
|
|
6
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
7
|
-
formControl: PropTypes.Requireable<SpsFormControl<string>>;
|
|
8
|
-
formMeta: PropTypes.Requireable<SpsFormFieldMeta<string>>;
|
|
9
|
-
name: PropTypes.Requireable<string>;
|
|
10
|
-
onChange: PropTypes.Requireable<React.ChangeEventHandler<Element>>;
|
|
11
|
-
placeholder: PropTypes.Requireable<string>;
|
|
12
|
-
ref: PropTypes.Requireable<React.MutableRefObject<HTMLDivElement>>;
|
|
13
|
-
rows: PropTypes.Requireable<number>;
|
|
14
|
-
value: PropTypes.Requireable<string>;
|
|
15
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
16
|
-
className: PropTypes.Requireable<string>;
|
|
17
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
18
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
19
|
-
};
|
|
20
|
-
export declare type SpsTextareaProps = PropTypes.InferTS<typeof propTypes, HTMLTextAreaElement>;
|
|
21
|
-
export declare function SpsTextarea({ className, disabled, formControl, formMeta, id, name, onChange, placeholder, ref, rows, "data-testid": testId, unsafelyReplaceClassName, value, ...rest }: SpsTextareaProps): JSX.Element;
|
|
22
|
-
export {};
|
package/lib/textarea/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as PropTypes from "../prop-types";
|
|
2
|
-
declare const propTypes: {
|
|
3
|
-
href: PropTypes.Requireable<string>;
|
|
4
|
-
target: PropTypes.Requireable<string>;
|
|
5
|
-
icon: PropTypes.Validator<PropTypes.ReactNodeOrRenderFn>;
|
|
6
|
-
error: PropTypes.Requireable<boolean>;
|
|
7
|
-
title: PropTypes.Validator<string>;
|
|
8
|
-
warning: PropTypes.Requireable<boolean>;
|
|
9
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
10
|
-
className: PropTypes.Requireable<string>;
|
|
11
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
12
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
13
|
-
};
|
|
14
|
-
export declare type SpsTileProps = PropTypes.InferTS<typeof propTypes, HTMLAnchorElement>;
|
|
15
|
-
export declare function SpsTile(props: SpsTileProps): JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as PropTypes from "../prop-types";
|
|
2
|
-
declare const propTypes: {
|
|
3
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
4
|
-
className: PropTypes.Requireable<string>;
|
|
5
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
6
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
7
|
-
};
|
|
8
|
-
export declare type SpsTileListProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
9
|
-
export declare function SpsTileList(props: SpsTileListProps): JSX.Element;
|
|
10
|
-
export {};
|
package/lib/tile-list/index.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import type { SpsFormControl } from "../form/hooks/formControl";
|
|
3
|
-
import type { SpsFormFieldMeta } from "../form/hooks/useSpsForm";
|
|
4
|
-
import * as PropTypes from "../prop-types";
|
|
5
|
-
declare const propTypes: {
|
|
6
|
-
active: PropTypes.Requireable<boolean>;
|
|
7
|
-
activeDescription: PropTypes.Deprecated<string>;
|
|
8
|
-
activeLabel: PropTypes.Deprecated<string>;
|
|
9
|
-
description: PropTypes.Requireable<string>;
|
|
10
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
11
|
-
formControl: PropTypes.Requireable<SpsFormControl<boolean>>;
|
|
12
|
-
formMeta: PropTypes.Requireable<SpsFormFieldMeta<boolean>>;
|
|
13
|
-
id: PropTypes.Requireable<string>;
|
|
14
|
-
inactiveDescription: PropTypes.Deprecated<string>;
|
|
15
|
-
inactiveLabel: PropTypes.Deprecated<string>;
|
|
16
|
-
label: PropTypes.Requireable<string>;
|
|
17
|
-
large: PropTypes.Requireable<boolean>;
|
|
18
|
-
onChange: PropTypes.Requireable<(isActive: boolean) => void>;
|
|
19
|
-
ref: PropTypes.Requireable<React.MutableRefObject<HTMLDivElement>>;
|
|
20
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
21
|
-
className: PropTypes.Requireable<string>;
|
|
22
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
23
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
24
|
-
};
|
|
25
|
-
export declare type SpsToggleProps = PropTypes.InferTS<typeof propTypes, HTMLInputElement>;
|
|
26
|
-
export declare function SpsToggle(props: SpsToggleProps): JSX.Element;
|
|
27
|
-
export {};
|
package/lib/toggle/index.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Position, TooltipKind, TooltipShowTrigger } from "@spscommerce/ds-shared";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import * as PropTypes from "../prop-types";
|
|
4
|
-
export declare enum TooltipVisibility {
|
|
5
|
-
VISIBLE = "visible",
|
|
6
|
-
DEFER_VISIBLE = "defer_visible",
|
|
7
|
-
HIDDEN = "hidden",
|
|
8
|
-
DELAYED_HIDDEN = "delayed_hidden"
|
|
9
|
-
}
|
|
10
|
-
export declare function toggleTooltipState(state: TooltipVisibility): TooltipVisibility.VISIBLE | TooltipVisibility.HIDDEN;
|
|
11
|
-
declare const propTypes: {
|
|
12
|
-
for: PropTypes.Validator<string | React.MutableRefObject<any>>;
|
|
13
|
-
hideDelay: PropTypes.Requireable<number>;
|
|
14
|
-
isShown: PropTypes.Requireable<TooltipVisibility>;
|
|
15
|
-
kind: PropTypes.Requireable<TooltipKind>;
|
|
16
|
-
offsets: PropTypes.Requireable<number[]>;
|
|
17
|
-
onDeferred: PropTypes.Requireable<() => void>;
|
|
18
|
-
position: PropTypes.Requireable<Position>;
|
|
19
|
-
altPosition: PropTypes.Requireable<Position>;
|
|
20
|
-
showOn: PropTypes.Requireable<TooltipShowTrigger>;
|
|
21
|
-
title: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
22
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
23
|
-
className: PropTypes.Requireable<string>;
|
|
24
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
25
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
26
|
-
};
|
|
27
|
-
export declare type SpsTooltipProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
28
|
-
export declare function SpsTooltip({ children, className, for: forProp, "data-testid": testId, hideDelay, isShown, kind, offsets, onDeferred, position, altPosition, showOn, style, title, unsafelyReplaceClassName, }: SpsTooltipProps): React.ReactPortal;
|
|
29
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SpsIcon, SpsIconSize } from "@spscommerce/ds-shared";
|
|
2
|
-
import * as PropTypes from "../prop-types";
|
|
3
|
-
declare const propTypes: {
|
|
4
|
-
icon: PropTypes.Requireable<SpsIcon>;
|
|
5
|
-
iconSize: PropTypes.Requireable<SpsIconSize>;
|
|
6
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
7
|
-
className: PropTypes.Requireable<string>;
|
|
8
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
9
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
10
|
-
};
|
|
11
|
-
export declare type SpsTooltipTitleProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
12
|
-
export declare function SpsTooltipTitle({ icon, iconSize, children, }: SpsTooltipTitleProps): JSX.Element;
|
|
13
|
-
export {};
|
package/lib/tooltip/index.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { ChangeEvent } from "react";
|
|
2
|
-
export declare class FauxChangeEvent<T> implements ChangeEvent<T> {
|
|
3
|
-
target: EventTarget & T;
|
|
4
|
-
nativeEvent: Event;
|
|
5
|
-
currentTarget: EventTarget & T;
|
|
6
|
-
private isPgStoppedInternal;
|
|
7
|
-
constructor(target: EventTarget & T, eventInit?: EventInit);
|
|
8
|
-
get bubbles(): boolean;
|
|
9
|
-
get cancelable(): boolean;
|
|
10
|
-
get defaultPrevented(): boolean;
|
|
11
|
-
get eventPhase(): number;
|
|
12
|
-
get isTrusted(): boolean;
|
|
13
|
-
get timeStamp(): number;
|
|
14
|
-
get type(): string;
|
|
15
|
-
preventDefault(): void;
|
|
16
|
-
isDefaultPrevented(): boolean;
|
|
17
|
-
stopPropagation(): void;
|
|
18
|
-
isPropagationStopped(): boolean;
|
|
19
|
-
persist(): void;
|
|
20
|
-
}
|
package/lib/utils/contentOf.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties, RefObject } from "react";
|
|
2
|
-
import { Position } from "@spscommerce/ds-shared";
|
|
3
|
-
export declare function flipPosition(position: Position): Position;
|
|
4
|
-
export declare function getPosition(subjectRef: RefObject<HTMLElement>, targetRef: RefObject<HTMLElement>, position: Position, { altPosition, setMinWidth, setWidth, parentElementRef, fixed, offsets, }: {
|
|
5
|
-
altPosition?: Position;
|
|
6
|
-
setMinWidth?: boolean;
|
|
7
|
-
setWidth?: boolean;
|
|
8
|
-
parentElementRef?: RefObject<HTMLElement>;
|
|
9
|
-
fixed?: boolean;
|
|
10
|
-
offsets?: [number, number];
|
|
11
|
-
}): [CSSProperties, boolean];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getScrollParent: (node: any) => any;
|
package/lib/utils/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from "./contentOf";
|
|
2
|
-
export * from "./FauxChangeEvent";
|
|
3
|
-
export * from "./getPosition";
|
|
4
|
-
export * from "./selectChildren";
|
|
5
|
-
export * from "./useCheckDeprecatedProps";
|
|
6
|
-
export * from "./useDidUpdateEffect";
|
|
7
|
-
export * from "./useDocumentEventListener";
|
|
8
|
-
export * from "./useElementId";
|
|
9
|
-
export * from "./useInputPopup";
|
|
10
|
-
export * from "./usePatchReducer";
|
|
11
|
-
export * from "./usePortal";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useDocumentEventListener(eventName: string, listenerFactory: (...args: unknown[]) => EventListenerOrEventListenerObject, deps: unknown[]): void;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export declare function useInputPopup(rootRef: React.MutableRefObject<HTMLElement>, popupRef: React.MutableRefObject<HTMLElement>): {
|
|
3
|
-
showPopup: boolean;
|
|
4
|
-
doShowPopup: () => void;
|
|
5
|
-
doHidePopup: (suppressNextShow?: any) => void;
|
|
6
|
-
};
|
package/lib/utils/usePortal.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ReactNode, ReactPortal, RefObject } from "react";
|
|
2
|
-
export declare const PortalContext: import("react").Context<{
|
|
3
|
-
parentElementRef?: RefObject<HTMLElement>;
|
|
4
|
-
fixed?: boolean;
|
|
5
|
-
}>;
|
|
6
|
-
export declare function usePortal(id: string, classes?: string[]): (jsx: ReactNode) => ReactPortal;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as PropTypes from "../prop-types";
|
|
2
|
-
declare const propTypes: {
|
|
3
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
4
|
-
className: PropTypes.Requireable<string>;
|
|
5
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
6
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
7
|
-
};
|
|
8
|
-
export declare type SpsVerticalRuleProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
9
|
-
export declare function SpsVerticalRule(props: SpsVerticalRuleProps): JSX.Element;
|
|
10
|
-
export declare function SpsVr(props: SpsVerticalRuleProps): JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./SpsVerticalRule";
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as PropTypes from "../prop-types";
|
|
2
|
-
export interface WizardStep {
|
|
3
|
-
title: string;
|
|
4
|
-
percentComplete: number;
|
|
5
|
-
active: boolean;
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
}
|
|
9
|
-
export interface WizardPhase {
|
|
10
|
-
steps: WizardStep[];
|
|
11
|
-
title: string;
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
}
|
|
14
|
-
declare const propTypes: {
|
|
15
|
-
phases: PropTypes.Requireable<WizardPhase[]>;
|
|
16
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
17
|
-
className: PropTypes.Requireable<string>;
|
|
18
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
19
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
20
|
-
};
|
|
21
|
-
export declare type SpsWizardSidebarProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
22
|
-
export declare function SpsWizardSidebar({ className, phases, }: SpsWizardSidebarProps): JSX.Element;
|
|
23
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { WizardSubstepConditions } from "@spscommerce/ds-shared";
|
|
2
|
-
import * as PropTypes from "../prop-types";
|
|
3
|
-
declare const propTypes: {
|
|
4
|
-
condition: PropTypes.Validator<WizardSubstepConditions>;
|
|
5
|
-
display: PropTypes.Validator<string>;
|
|
6
|
-
orderPosition: PropTypes.Validator<string | number>;
|
|
7
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
8
|
-
className: PropTypes.Requireable<string>;
|
|
9
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
10
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
11
|
-
};
|
|
12
|
-
export declare type SpsWizardSubstepProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
13
|
-
export declare function SpsWizardSubstep(props: SpsWizardSubstepProps): JSX.Element;
|
|
14
|
-
export {};
|
package/lib/wizard/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SpsIcon } from "@spscommerce/ds-shared";
|
|
2
|
-
import * as PropTypes from "../prop-types";
|
|
3
|
-
declare const propTypes: {
|
|
4
|
-
heading: PropTypes.Requireable<string>;
|
|
5
|
-
icon: PropTypes.Requireable<SpsIcon>;
|
|
6
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
7
|
-
className: PropTypes.Requireable<string>;
|
|
8
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
9
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
10
|
-
};
|
|
11
|
-
export declare type SpsWorkflowProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
12
|
-
export declare function SpsWorkflow(props: SpsWorkflowProps): JSX.Element;
|
|
13
|
-
export declare function SpsWf(props: SpsWorkflowProps): JSX.Element;
|
|
14
|
-
export {};
|