@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/.turbo/turbo-build.log +12 -12
- package/.turbo/turbo-postinstall.log +1 -1
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +5 -7
- package/dist/index.d.ts +5 -7
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/input/NumericStepper.tsx +4 -5
- package/src/util/externals.tsx +1 -0
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.6.
|
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
|
-
|
14
|
-
ESM dist/icons/index.mjs 110.00 B
|
15
|
-
ESM dist/index.mjs.map 623.01 KB
|
16
|
-
ESM dist/icons/index.mjs.map 157.00 B
|
17
|
-
ESM ⚡️ Build success in 3245ms
|
18
|
-
CJS dist/index.js 311.13 KB
|
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.
|
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
|
23
|
-
|
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.
|
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.
|
27
|
+
DTS dist/index.d.mts 153.28 KB
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
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
|
+
|
9
|
+
## 12.6.1
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- 476e905: export chakra function as spor to allow for custom components
|
14
|
+
|
3
15
|
## 12.6.0
|
4
16
|
|
5
17
|
### Minor Changes
|
package/dist/index.d.mts
CHANGED
@@ -2,7 +2,7 @@ import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, PropsWithChildren, ComponentProps } from 'react';
|
3
3
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
4
4
|
import { Accordion as Accordion$1, Alert as Alert$1, ConditionalValue, Breadcrumb as Breadcrumb$1, RecipeVariantProps, ButtonProps as ButtonProps$1, GroupProps, Clipboard as Clipboard$1, IconButtonProps as IconButtonProps$1, BoxProps, Field as Field$1, PopoverRootProps, Dialog, Drawer as Drawer$1, Checkbox as Checkbox$1, CheckboxGroupProps as CheckboxGroupProps$1, CheckboxCardRootProps, CheckboxCard, Fieldset as Fieldset$1, Input as Input$1, ListRootProps, NativeSelectFieldProps, NativeSelect as NativeSelect$1, RadioGroup as RadioGroup$1, SelectRootProps, SelectLabelProps, Select as Select$1, CollectionItem, Switch as Switch$1, TextareaProps as TextareaProps$1, RadioCard as RadioCard$1, SeparatorProps, LinkProps as LinkProps$1, List as List$1, UseProgressProps, SkeletonProps as SkeletonProps$1, CircleProps, Popover as Popover$1, Pagination as Pagination$1, ChakraProviderProps, SystemContext, TabsRootProps, Tabs as Tabs$1, TableRootProps, Table as Table$1, BadgeProps as BadgeProps$1, CodeProps, HeadingProps as HeadingProps$1, TextProps as TextProps$1 } from '@chakra-ui/react';
|
5
|
-
export { Box, BoxProps, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, CenterProps, ClientOnly, Collapsible, CollapsibleRootProps, Container, ContainerProps, Em, Flex, FlexProps, For, FormatByte, FormatNumber, Grid, GridItem, GridItemProps, GridProps, HStack, Image, ImageProps, Kbd, LocaleProvider, Portal, PortalProps, Show, SimpleGrid, SimpleGridProps, Spacer, SpacerProps, Span, Stack, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableColumn, TableColumnGroup, TableColumnHeader, TableColumnHeaderProps, TableColumnProps, TableFooter, TableFooterProps, TableHeader, TableHeaderProps, TableRoot, TableRootProps, TableRow, TableRowProps, UseDisclosureProps, VStack, VisuallyHidden, createListCollection, createSystem, defineConfig, defineRecipe, defineStyle, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useToken } from '@chakra-ui/react';
|
5
|
+
export { Box, BoxProps, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, CenterProps, ClientOnly, Collapsible, CollapsibleRootProps, Container, ContainerProps, Em, Flex, FlexProps, For, FormatByte, FormatNumber, Grid, GridItem, GridItemProps, GridProps, HStack, Image, ImageProps, Kbd, LocaleProvider, Portal, PortalProps, Show, SimpleGrid, SimpleGridProps, Spacer, SpacerProps, Span, Stack, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableColumn, TableColumnGroup, TableColumnHeader, TableColumnHeaderProps, TableColumnProps, TableFooter, TableFooterProps, TableHeader, TableHeaderProps, TableRoot, TableRootProps, TableRow, TableRowProps, UseDisclosureProps, VStack, VisuallyHidden, createListCollection, createSystem, defineConfig, defineRecipe, defineStyle, chakra as spor, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useToken } from '@chakra-ui/react';
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
7
7
|
import { IconComponent } from '@vygruppen/spor-icon-react';
|
8
8
|
import { ThemeProviderProps } from 'next-themes';
|
@@ -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 =
|
1366
|
-
children
|
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<
|
1417
|
-
children?: React__default.ReactNode
|
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
@@ -2,7 +2,7 @@ import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, PropsWithChildren, ComponentProps } from 'react';
|
3
3
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
4
4
|
import { Accordion as Accordion$1, Alert as Alert$1, ConditionalValue, Breadcrumb as Breadcrumb$1, RecipeVariantProps, ButtonProps as ButtonProps$1, GroupProps, Clipboard as Clipboard$1, IconButtonProps as IconButtonProps$1, BoxProps, Field as Field$1, PopoverRootProps, Dialog, Drawer as Drawer$1, Checkbox as Checkbox$1, CheckboxGroupProps as CheckboxGroupProps$1, CheckboxCardRootProps, CheckboxCard, Fieldset as Fieldset$1, Input as Input$1, ListRootProps, NativeSelectFieldProps, NativeSelect as NativeSelect$1, RadioGroup as RadioGroup$1, SelectRootProps, SelectLabelProps, Select as Select$1, CollectionItem, Switch as Switch$1, TextareaProps as TextareaProps$1, RadioCard as RadioCard$1, SeparatorProps, LinkProps as LinkProps$1, List as List$1, UseProgressProps, SkeletonProps as SkeletonProps$1, CircleProps, Popover as Popover$1, Pagination as Pagination$1, ChakraProviderProps, SystemContext, TabsRootProps, Tabs as Tabs$1, TableRootProps, Table as Table$1, BadgeProps as BadgeProps$1, CodeProps, HeadingProps as HeadingProps$1, TextProps as TextProps$1 } from '@chakra-ui/react';
|
5
|
-
export { Box, BoxProps, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, CenterProps, ClientOnly, Collapsible, CollapsibleRootProps, Container, ContainerProps, Em, Flex, FlexProps, For, FormatByte, FormatNumber, Grid, GridItem, GridItemProps, GridProps, HStack, Image, ImageProps, Kbd, LocaleProvider, Portal, PortalProps, Show, SimpleGrid, SimpleGridProps, Spacer, SpacerProps, Span, Stack, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableColumn, TableColumnGroup, TableColumnHeader, TableColumnHeaderProps, TableColumnProps, TableFooter, TableFooterProps, TableHeader, TableHeaderProps, TableRoot, TableRootProps, TableRow, TableRowProps, UseDisclosureProps, VStack, VisuallyHidden, createListCollection, createSystem, defineConfig, defineRecipe, defineStyle, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useToken } from '@chakra-ui/react';
|
5
|
+
export { Box, BoxProps, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, CenterProps, ClientOnly, Collapsible, CollapsibleRootProps, Container, ContainerProps, Em, Flex, FlexProps, For, FormatByte, FormatNumber, Grid, GridItem, GridItemProps, GridProps, HStack, Image, ImageProps, Kbd, LocaleProvider, Portal, PortalProps, Show, SimpleGrid, SimpleGridProps, Spacer, SpacerProps, Span, Stack, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableColumn, TableColumnGroup, TableColumnHeader, TableColumnHeaderProps, TableColumnProps, TableFooter, TableFooterProps, TableHeader, TableHeaderProps, TableRoot, TableRootProps, TableRow, TableRowProps, UseDisclosureProps, VStack, VisuallyHidden, createListCollection, createSystem, defineConfig, defineRecipe, defineStyle, chakra as spor, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useToken } from '@chakra-ui/react';
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
7
7
|
import { IconComponent } from '@vygruppen/spor-icon-react';
|
8
8
|
import { ThemeProviderProps } from 'next-themes';
|
@@ -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 =
|
1366
|
-
children
|
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<
|
1417
|
-
children?: React__default.ReactNode
|
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.js
CHANGED
@@ -10713,6 +10713,10 @@ Object.defineProperty(exports, "defineStyle", {
|
|
10713
10713
|
enumerable: true,
|
10714
10714
|
get: function () { return react.defineStyle; }
|
10715
10715
|
});
|
10716
|
+
Object.defineProperty(exports, "spor", {
|
10717
|
+
enumerable: true,
|
10718
|
+
get: function () { return react.chakra; }
|
10719
|
+
});
|
10716
10720
|
Object.defineProperty(exports, "useBreakpointValue", {
|
10717
10721
|
enumerable: true,
|
10718
10722
|
get: function () { return react.useBreakpointValue; }
|