@spscommerce/ds-react 8.4.0 → 8.4.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 +1 -0
- package/lib/checkbox/SpsCheckbox.d.ts +1 -0
- package/lib/currency-input/SpsCurrencyInput.d.ts +1 -0
- package/lib/dateRangePicker/SpsDateRangePicker.d.ts +1 -0
- package/lib/datepicker/SpsDatepicker.d.ts +1 -0
- package/lib/incrementor/SpsIncrementor.d.ts +1 -0
- package/lib/index.cjs.js +59 -59
- package/lib/index.es.js +878 -874
- package/lib/multi-select/SpsMultiSelect.d.ts +1 -0
- package/lib/multi-value-text-input/SpsMultiValueTextInput.d.ts +1 -0
- package/lib/radio-button/SpsRadioButton.d.ts +1 -0
- package/lib/text-input/SpsTextInput.d.ts +2 -0
- package/lib/textarea/SpsTextarea.d.ts +1 -0
- package/lib/time-input/SpsTimeInput.d.ts +2 -1
- package/lib/toggle/SpsToggle.d.ts +1 -0
- package/package.json +12 -12
|
@@ -5,6 +5,7 @@ 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
7
|
export declare type SpsMultiSelectProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
8
|
+
autoComplete?: string;
|
|
8
9
|
action?: SpsActionMethod;
|
|
9
10
|
captionKey?: string;
|
|
10
11
|
clearSearchOnBlur?: boolean;
|
|
@@ -4,6 +4,7 @@ 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
6
|
export declare type SpsMultiValueTextInputProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
7
|
+
autoComplete?: string;
|
|
7
8
|
disabled?: boolean;
|
|
8
9
|
formControl?: SpsFormControl<any[]>;
|
|
9
10
|
formMeta?: SpsFormFieldMeta<any[]>;
|
|
@@ -3,6 +3,7 @@ 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
5
|
export declare type SpsRadioButtonProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
6
|
+
autoComplete?: string;
|
|
6
7
|
checked?: boolean;
|
|
7
8
|
disabled?: boolean;
|
|
8
9
|
formControl?: SpsFormControl<any>;
|
|
@@ -4,6 +4,7 @@ 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
6
|
export declare type SpsTextInputProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
7
|
+
autoComplete?: string;
|
|
7
8
|
disabled?: boolean;
|
|
8
9
|
formControl?: SpsFormControl<string>;
|
|
9
10
|
formMeta?: SpsFormFieldMeta<string>;
|
|
@@ -16,6 +17,7 @@ export declare type SpsTextInputProps = React.PropsWithChildren<SpsGlobalPropTyp
|
|
|
16
17
|
notClearable?: boolean;
|
|
17
18
|
}> & React.HTMLAttributes<HTMLInputElement>;
|
|
18
19
|
export declare const SpsTextInput: React.ForwardRefExoticComponent<SpsGlobalPropTypes & {
|
|
20
|
+
autoComplete?: string | undefined;
|
|
19
21
|
disabled?: boolean | undefined;
|
|
20
22
|
formControl?: SpsFormControl<string> | undefined;
|
|
21
23
|
formMeta?: SpsFormFieldMeta<string> | undefined;
|
|
@@ -3,6 +3,7 @@ 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
5
|
export declare type SpsTextareaProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
6
|
+
autoComplete?: string;
|
|
6
7
|
disabled?: boolean;
|
|
7
8
|
formControl?: SpsFormControl<string>;
|
|
8
9
|
formMeta?: SpsFormFieldMeta<string>;
|
|
@@ -2,10 +2,11 @@ import * as React from "react";
|
|
|
2
2
|
import type { SpsGlobalPropTypes } from "../prop-types";
|
|
3
3
|
import type { SpsFormFieldMeta } from "../form/hooks/useSpsForm";
|
|
4
4
|
export declare type SpsTimeInputProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
5
|
+
autoComplete?: string;
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
formMeta?: SpsFormFieldMeta<string>;
|
|
7
8
|
onChange?: (newValue: string) => void;
|
|
8
9
|
value?: string;
|
|
9
10
|
twentyFourHour?: boolean;
|
|
10
11
|
}> & React.HTMLAttributes<HTMLInputElement>;
|
|
11
|
-
export declare function SpsTimeInput({ className, disabled, formMeta, id, onChange, value, twentyFourHour, "data-testid": testId, }: SpsTimeInputProps): React.JSX.Element;
|
|
12
|
+
export declare function SpsTimeInput({ className, disabled, formMeta, id, onChange, value, twentyFourHour, "data-testid": testId, ...rest }: SpsTimeInputProps): React.JSX.Element;
|
|
@@ -3,6 +3,7 @@ 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
5
|
export declare type SpsToggleProps = React.PropsWithChildren<SpsGlobalPropTypes & {
|
|
6
|
+
autoComplete?: string;
|
|
6
7
|
active?: boolean;
|
|
7
8
|
description?: string;
|
|
8
9
|
disabled?: boolean;
|
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": "8.4.
|
|
4
|
+
"version": "8.4.1",
|
|
5
5
|
"author": "SPS Commerce",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"repository": "https://github.com/spscommerce/woodland/tree/main/packages/@spscommerce/ds-react",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"moment-timezone": "^0.5.28",
|
|
47
47
|
"react": "^16.9.0",
|
|
48
48
|
"react-dom": "^16.9.0",
|
|
49
|
-
"@sps-woodland/illustrations": "8.4.
|
|
50
|
-
"@sps-woodland/tabs": "8.4.
|
|
51
|
-
"@spscommerce/ds-colors": "8.4.
|
|
52
|
-
"@spscommerce/ds-shared": "8.4.
|
|
53
|
-
"@spscommerce/positioning": "8.4.
|
|
49
|
+
"@sps-woodland/illustrations": "8.4.1",
|
|
50
|
+
"@sps-woodland/tabs": "8.4.1",
|
|
51
|
+
"@spscommerce/ds-colors": "8.4.1",
|
|
52
|
+
"@spscommerce/ds-shared": "8.4.1",
|
|
53
|
+
"@spscommerce/positioning": "8.4.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@react-spectrum/provider": "^3.4.1",
|
|
@@ -72,12 +72,12 @@
|
|
|
72
72
|
"raf-stub": "^2.0.2",
|
|
73
73
|
"react": "^16.9.0",
|
|
74
74
|
"react-dom": "^16.9.0",
|
|
75
|
-
"@sps-woodland/illustrations": "8.4.
|
|
76
|
-
"@sps-woodland/tabs": "8.4.
|
|
77
|
-
"@spscommerce/ds-colors": "8.4.
|
|
78
|
-
"@spscommerce/ds-shared": "8.4.
|
|
79
|
-
"@spscommerce/positioning": "8.4.
|
|
80
|
-
"test": "8.4.
|
|
75
|
+
"@sps-woodland/illustrations": "8.4.1",
|
|
76
|
+
"@sps-woodland/tabs": "8.4.1",
|
|
77
|
+
"@spscommerce/ds-colors": "8.4.1",
|
|
78
|
+
"@spscommerce/ds-shared": "8.4.1",
|
|
79
|
+
"@spscommerce/positioning": "8.4.1",
|
|
80
|
+
"test": "8.4.1"
|
|
81
81
|
},
|
|
82
82
|
"scripts": {
|
|
83
83
|
"build": "pnpm run build:js && pnpm run build:types",
|