@spscommerce/ds-react 8.0.0-rc1 → 8.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.
@@ -10,5 +10,7 @@ export declare type SpsSplitButtonProps = React.PropsWithChildren<SpsGlobalPropT
10
10
  icon?: SpsIcon;
11
11
  kind?: StdButtonKind;
12
12
  options?: Parameters<typeof SpsDropdown>[0]["options"];
13
+ spinning?: boolean;
14
+ spinningTitle?: string;
13
15
  }> & React.HTMLAttributes<HTMLDivElement>;
14
16
  export declare function SpsSplitButton(props: SpsSplitButtonProps): JSX.Element;
@@ -13,6 +13,7 @@ export declare type SpsTextInputProps = React.PropsWithChildren<SpsGlobalPropTyp
13
13
  placeholder?: string;
14
14
  value?: string;
15
15
  additionalText?: string;
16
+ notClearable?: boolean;
16
17
  }> & React.HTMLAttributes<HTMLInputElement>;
17
18
  export declare const SpsTextInput: React.ForwardRefExoticComponent<SpsGlobalPropTypes & {
18
19
  disabled?: boolean | undefined;
@@ -24,6 +25,7 @@ export declare const SpsTextInput: React.ForwardRefExoticComponent<SpsGlobalProp
24
25
  placeholder?: string | undefined;
25
26
  value?: string | undefined;
26
27
  additionalText?: string | undefined;
28
+ notClearable?: boolean | undefined;
27
29
  } & {
28
30
  children?: React.ReactNode;
29
31
  } & React.HTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,11 @@
1
+ import * as React from "react";
2
+ import type { SpsGlobalPropTypes } from "../prop-types";
3
+ import type { SpsFormFieldMeta } from "../form/hooks/useSpsForm";
4
+ export declare type SpsTimeInputProps = React.PropsWithChildren<SpsGlobalPropTypes & {
5
+ disabled?: boolean;
6
+ formMeta?: SpsFormFieldMeta<string>;
7
+ onChange?: (newValue: string) => void;
8
+ value?: string;
9
+ twentyFourHour?: boolean;
10
+ }> & React.HTMLAttributes<HTMLInputElement>;
11
+ export declare function SpsTimeInput({ className, disabled, formMeta, id, onChange, value, twentyFourHour, "data-testid": testId, }: SpsTimeInputProps): JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { DSReactExamples } from "@spscommerce/ds-shared";
2
+ export declare const SpsTimeInputExamples: DSReactExamples;
@@ -0,0 +1,2 @@
1
+ export * from "./SpsTimeInput";
2
+ export * from "./SpsTimeInput.examples";
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.0.0-rc1",
4
+ "version": "8.0.0",
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.0.0-rc1",
50
- "@spscommerce/ds-shared": "8.0.0-rc1",
51
- "@spscommerce/ds-colors": "8.0.0-rc1",
52
- "@sps-woodland/tabs": "8.0.0-rc1",
53
- "@spscommerce/positioning": "8.0.0-rc1"
49
+ "@sps-woodland/illustrations": "8.0.0",
50
+ "@sps-woodland/tabs": "8.0.0",
51
+ "@spscommerce/ds-colors": "8.0.0",
52
+ "@spscommerce/ds-shared": "8.0.0",
53
+ "@spscommerce/positioning": "8.0.0"
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.0.0-rc1",
76
- "@spscommerce/ds-shared": "8.0.0-rc1",
77
- "test": "8.0.0-rc1",
78
- "@spscommerce/ds-colors": "8.0.0-rc1",
79
- "@spscommerce/positioning": "8.0.0-rc1",
80
- "@sps-woodland/tabs": "8.0.0-rc1"
75
+ "@sps-woodland/illustrations": "8.0.0",
76
+ "@sps-woodland/tabs": "8.0.0",
77
+ "@spscommerce/ds-colors": "8.0.0",
78
+ "@spscommerce/ds-shared": "8.0.0",
79
+ "@spscommerce/positioning": "8.0.0",
80
+ "test": "8.0.0"
81
81
  },
82
82
  "scripts": {
83
83
  "build": "pnpm run build:js && pnpm run build:types",