@spscommerce/ds-react 6.0.0-rc1 → 6.1.1
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/autocomplete/SpsAutocomplete.d.ts +2 -1
- package/lib/dropdown/SpsDropdown.d.ts +1 -0
- package/lib/fieldset/SpsFieldset.d.ts +1 -1
- package/lib/index.cjs.js +514 -357
- package/lib/index.es.js +755 -322
- package/lib/multi-select/SpsMultiSelect.d.ts +2 -1
- package/lib/option-list/SpsOptionListProps.d.ts +2 -0
- package/lib/pagination/SpsPageSelector.d.ts +1 -0
- package/lib/pagination/SpsPagination.d.ts +1 -0
- package/lib/product-bar/SpsProductBar.d.ts +1 -1
- package/lib/select/SpsSelect.d.ts +3 -1
- package/lib/table/SpsTable.d.ts +5 -2
- package/lib/table/SpsTableContext.d.ts +20 -0
- package/lib/table/SpsTableHead.d.ts +1 -4
- package/lib/table/SpsTableHeader.d.ts +3 -5
- package/lib/table/SpsTableRow.d.ts +1 -4
- package/lib/table/index.d.ts +1 -0
- package/lib/table/useColumnResizer.d.ts +8 -0
- package/lib/table/usePinnedStyles.d.ts +1 -1
- package/lib/tile-list/SpsTile.d.ts +3 -0
- package/lib/utils/Provide.d.ts +24 -0
- package/lib/utils/bindProps.d.ts +33 -0
- package/lib/utils/index.d.ts +2 -0
- package/package.json +13 -12
- package/lib/datepicker/SpsDateRangePicker.d.ts +0 -21
- 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/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-v2/SpsModalV2.d.ts +0 -18
- package/lib/modal-v2/index.d.ts +0 -1
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as PropTypes from "../prop-types";
|
|
2
|
-
declare const propTypes: {
|
|
3
|
-
header: PropTypes.Requireable<string | (() => string)>;
|
|
4
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
5
|
-
className: PropTypes.Requireable<string>;
|
|
6
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
7
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
8
|
-
};
|
|
9
|
-
export declare type SpsModalHeaderProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
10
|
-
export declare function SpsModalHeader(props: SpsModalHeaderProps): JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as PropTypes from "../prop-types";
|
|
2
|
-
declare const propTypes: {
|
|
3
|
-
onOverlayClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
4
|
-
backdrop: PropTypes.Requireable<string>;
|
|
5
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
6
|
-
className: PropTypes.Requireable<string>;
|
|
7
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
8
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
9
|
-
};
|
|
10
|
-
export declare type SpsModalOverlayProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
11
|
-
export declare function SpsModalOverlay(props: SpsModalOverlayProps): JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ModalKind, ModalSize } from "@spscommerce/ds-shared";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import * as PropTypes from "../prop-types";
|
|
4
|
-
declare const propTypes: {
|
|
5
|
-
kind: PropTypes.Requireable<ModalKind>;
|
|
6
|
-
size: PropTypes.Requireable<ModalSize>;
|
|
7
|
-
title: PropTypes.Requireable<string>;
|
|
8
|
-
onClose: PropTypes.Requireable<() => void>;
|
|
9
|
-
focusElementOnOpen: PropTypes.Requireable<React.MutableRefObject<HTMLElement>>;
|
|
10
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
11
|
-
className: PropTypes.Requireable<string>;
|
|
12
|
-
"data-testid": PropTypes.Requireable<string>;
|
|
13
|
-
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
14
|
-
};
|
|
15
|
-
export declare type SpsModalV2Props = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
16
|
-
export declare function SpsModalV2Footer({ children }: SpsModalV2Props): JSX.Element;
|
|
17
|
-
export declare function SpsModalV2({ children, className, id: idProp, kind, size, onClose, focusElementOnOpen, title, ...rest }: SpsModalV2Props): JSX.Element;
|
|
18
|
-
export {};
|
package/lib/modal-v2/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./SpsModalV2";
|