@vygruppen/spor-react 2.3.3 → 2.3.4

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@2.3.3 build
2
+ > @vygruppen/spor-react@2.3.4 build
3
3
  > tsup src/index.tsx --dts --treeshake --format cjs,esm
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -9,13 +9,13 @@
9
9
  CJS Build start
10
10
  ESM Build start
11
11
  DTS Build start
12
- "toTime" is imported from external module "@internationalized/date" but never used in "dist/index.js".
13
12
  "toTime" is imported from external module "@internationalized/date" but never used in "dist/chunk-QXVLVC2K.mjs".
14
- CJS dist/index.js 890.77 KB
15
- CJS ⚡️ Build success in 4231ms
13
+ "toTime" is imported from external module "@internationalized/date" but never used in "dist/index.js".
16
14
  ESM dist/index.mjs 2.02 KB
17
15
  ESM dist/CountryCodeSelect-WGG2Z3VI.mjs 351.65 KB
18
16
  ESM dist/chunk-QXVLVC2K.mjs 411.46 KB
19
- ESM ⚡️ Build success in 4233ms
20
- DTS ⚡️ Build success in 17246ms
21
- DTS dist/index.d.ts 256.10 KB
17
+ ESM ⚡️ Build success in 6549ms
18
+ CJS dist/index.js 890.77 KB
19
+ CJS ⚡️ Build success in 6552ms
20
+ DTS ⚡️ Build success in 24466ms
21
+ DTS dist/index.d.ts 256.14 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 2.3.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 517c5aad: Fix an issue with the onChange handler for NumericStepper and PhoneNumberInput
8
+
3
9
  ## 2.3.3
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -751,7 +751,7 @@ type NumericStepperProps = {
751
751
  maxValue?: number;
752
752
  /** Whether the stepper is disabled or not */
753
753
  isDisabled?: boolean;
754
- } & BoxProps;
754
+ } & Omit<BoxProps, "onChange">;
755
755
  /** A simple stepper component for integer values
756
756
  *
757
757
  * Allows you to choose a given integer value, like for example the number of
@@ -1065,7 +1065,7 @@ type CountryCodeAndPhoneNumber = {
1065
1065
  countryCode: string;
1066
1066
  nationalNumber: string;
1067
1067
  };
1068
- type PhoneNumberInputProps = BoxProps & {
1068
+ type PhoneNumberInputProps = Omit<BoxProps, "onChange"> & {
1069
1069
  /** The root name.
1070
1070
  *
1071
1071
  * Please note that when specifying the name, the rendered names will be `${name}-country-code` and `${name}-phone-number`, respectively
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-react",
3
- "version": "2.3.3",
3
+ "version": "2.3.4",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -31,7 +31,7 @@ type NumericStepperProps = {
31
31
  maxValue?: number;
32
32
  /** Whether the stepper is disabled or not */
33
33
  isDisabled?: boolean;
34
- } & BoxProps;
34
+ } & Omit<BoxProps, "onChange">;
35
35
  /** A simple stepper component for integer values
36
36
  *
37
37
  * Allows you to choose a given integer value, like for example the number of
@@ -12,7 +12,7 @@ type CountryCodeAndPhoneNumber = {
12
12
  countryCode: string;
13
13
  nationalNumber: string;
14
14
  };
15
- type PhoneNumberInputProps = BoxProps & {
15
+ type PhoneNumberInputProps = Omit<BoxProps, "onChange"> & {
16
16
  /** The root name.
17
17
  *
18
18
  * Please note that when specifying the name, the rendered names will be `${name}-country-code` and `${name}-phone-number`, respectively