@vygruppen/spor-react 12.6.0 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-react",
3
- "version": "12.6.0",
3
+ "version": "12.6.2",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",
@@ -6,7 +6,7 @@ import {
6
6
  useControllableState,
7
7
  useSlotRecipe,
8
8
  } from "@chakra-ui/react";
9
- import React, { PropsWithChildren, useRef } from "react";
9
+ import React, { useRef } from "react";
10
10
 
11
11
  import { BoxProps, createTexts, IconButton, Text, useTranslation } from "..";
12
12
  import { numericStepperRecipe } from "../theme/slot-recipes/numeric-stepper";
@@ -14,10 +14,9 @@ import { Field, FieldBaseProps } from "./Field";
14
14
 
15
15
  type NumericStepperVariants = RecipeVariantProps<typeof numericStepperRecipe>;
16
16
 
17
- export type NumericStepperProps = BoxProps &
18
- FieldBaseProps &
19
- PropsWithChildren<NumericStepperVariants> & {
20
- children: React.ReactNode;
17
+ export type NumericStepperProps = FieldBaseProps &
18
+ NumericStepperVariants & {
19
+ children?: React.ReactNode;
21
20
  /** The name of the input field */
22
21
  name?: string;
23
22
  /** The current value */
@@ -11,6 +11,7 @@ export {
11
11
  LocaleProvider,
12
12
  Portal,
13
13
  Show,
14
+ chakra as spor,
14
15
  useBreakpointValue,
15
16
  useCheckbox,
16
17
  useClipboard,