@vygruppen/spor-react 12.6.1 → 12.6.2

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@12.6.1 build /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.6.2 build /home/runner/work/spor/spor/packages/spor-react
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.tsx, src/icons/index.tsx
@@ -10,18 +10,18 @@ CLI Target: node16
10
10
  CJS Build start
11
11
  ESM Build start
12
12
  DTS Build start
13
- ESM dist/index.mjs 290.58 KB
14
- ESM dist/icons/index.mjs 110.00 B
15
- ESM dist/index.mjs.map 623.05 KB
16
- ESM dist/icons/index.mjs.map 157.00 B
17
- ESM ⚡️ Build success in 2656ms
18
13
  CJS dist/index.js 311.23 KB
19
14
  CJS dist/icons/index.js 380.00 B
20
- CJS dist/index.js.map 623.05 KB
15
+ CJS dist/index.js.map 623.00 KB
21
16
  CJS dist/icons/index.js.map 157.00 B
22
- CJS ⚡️ Build success in 2657ms
23
- DTS ⚡️ Build success in 28506ms
17
+ CJS ⚡️ Build success in 2615ms
18
+ ESM dist/index.mjs 290.58 KB
19
+ ESM dist/icons/index.mjs 110.00 B
20
+ ESM dist/icons/index.mjs.map 157.00 B
21
+ ESM dist/index.mjs.map 623.00 KB
22
+ ESM ⚡️ Build success in 2616ms
23
+ DTS ⚡️ Build success in 29060ms
24
24
  DTS dist/icons/index.d.ts 44.00 B
25
- DTS dist/index.d.ts 153.38 KB
25
+ DTS dist/index.d.ts 153.28 KB
26
26
  DTS dist/icons/index.d.mts 44.00 B
27
- DTS dist/index.d.mts 153.38 KB
27
+ DTS dist/index.d.mts 153.28 KB
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.6.1 postinstall /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.6.2 postinstall /home/runner/work/spor/spor/packages/spor-react
3
3
  > chakra typegen src/theme/index.ts
4
4
 
5
5
  ┌ Chakra CLI ⚡️
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 12.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - cad7ba5: Fix NumericStepper props: onChange correct type and children not mandatory.
8
+
3
9
  ## 12.6.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1362,8 +1362,8 @@ declare const NativeSelect: React$1.ForwardRefExoticComponent<{
1362
1362
  declare const numericStepperRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "container" | "input" | "text" | "button", _chakra_ui_react.SlotRecipeVariantRecord<"root" | "container" | "input" | "text" | "button">>;
1363
1363
 
1364
1364
  type NumericStepperVariants = RecipeVariantProps<typeof numericStepperRecipe>;
1365
- type NumericStepperProps = BoxProps & FieldBaseProps & PropsWithChildren<NumericStepperVariants> & {
1366
- children: React__default.ReactNode;
1365
+ type NumericStepperProps = FieldBaseProps & NumericStepperVariants & {
1366
+ children?: React__default.ReactNode;
1367
1367
  /** The name of the input field */
1368
1368
  name?: string;
1369
1369
  /** The current value */
@@ -1413,10 +1413,8 @@ type NumericStepperProps = BoxProps & FieldBaseProps & PropsWithChildren<Numeric
1413
1413
  * ```
1414
1414
  * @see https://spor.vy.no/components/numeric-stepper
1415
1415
  */
1416
- declare const NumericStepper: React__default.ForwardRefExoticComponent<BoxProps & FieldBaseProps & {
1417
- children?: React__default.ReactNode | undefined;
1418
- } & {
1419
- children: React__default.ReactNode;
1416
+ declare const NumericStepper: React__default.ForwardRefExoticComponent<FieldBaseProps & {
1417
+ children?: React__default.ReactNode;
1420
1418
  /** The name of the input field */
1421
1419
  name?: string;
1422
1420
  /** The current value */
package/dist/index.d.ts CHANGED
@@ -1362,8 +1362,8 @@ declare const NativeSelect: React$1.ForwardRefExoticComponent<{
1362
1362
  declare const numericStepperRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "container" | "input" | "text" | "button", _chakra_ui_react.SlotRecipeVariantRecord<"root" | "container" | "input" | "text" | "button">>;
1363
1363
 
1364
1364
  type NumericStepperVariants = RecipeVariantProps<typeof numericStepperRecipe>;
1365
- type NumericStepperProps = BoxProps & FieldBaseProps & PropsWithChildren<NumericStepperVariants> & {
1366
- children: React__default.ReactNode;
1365
+ type NumericStepperProps = FieldBaseProps & NumericStepperVariants & {
1366
+ children?: React__default.ReactNode;
1367
1367
  /** The name of the input field */
1368
1368
  name?: string;
1369
1369
  /** The current value */
@@ -1413,10 +1413,8 @@ type NumericStepperProps = BoxProps & FieldBaseProps & PropsWithChildren<Numeric
1413
1413
  * ```
1414
1414
  * @see https://spor.vy.no/components/numeric-stepper
1415
1415
  */
1416
- declare const NumericStepper: React__default.ForwardRefExoticComponent<BoxProps & FieldBaseProps & {
1417
- children?: React__default.ReactNode | undefined;
1418
- } & {
1419
- children: React__default.ReactNode;
1416
+ declare const NumericStepper: React__default.ForwardRefExoticComponent<FieldBaseProps & {
1417
+ children?: React__default.ReactNode;
1420
1418
  /** The name of the input field */
1421
1419
  name?: string;
1422
1420
  /** The current value */