@vygruppen/spor-react 12.5.4 → 12.5.5
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 +6 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
- package/src/accordion/types.ts +3 -3
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.5.
|
2
|
+
> @vygruppen/spor-react@12.5.5 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/icons/index.mjs 110.00 B
|
14
|
-
ESM dist/index.mjs 290.52 KB
|
15
|
-
ESM dist/icons/index.mjs.map 157.00 B
|
16
|
-
ESM dist/index.mjs.map 622.96 KB
|
17
|
-
ESM ⚡️ Build success in 2871ms
|
18
|
-
CJS dist/index.js 311.06 KB
|
19
13
|
CJS dist/icons/index.js 380.00 B
|
20
|
-
CJS dist/index.js.
|
14
|
+
CJS dist/index.js 311.06 KB
|
21
15
|
CJS dist/icons/index.js.map 157.00 B
|
22
|
-
CJS
|
23
|
-
|
16
|
+
CJS dist/index.js.map 622.96 KB
|
17
|
+
CJS ⚡️ Build success in 2688ms
|
18
|
+
ESM dist/index.mjs 290.52 KB
|
19
|
+
ESM dist/icons/index.mjs 110.00 B
|
20
|
+
ESM dist/index.mjs.map 622.96 KB
|
21
|
+
ESM dist/icons/index.mjs.map 157.00 B
|
22
|
+
ESM ⚡️ Build success in 2688ms
|
23
|
+
DTS ⚡️ Build success in 29261ms
|
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.11 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.11 KB
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as React$1 from 'react';
|
2
|
-
import React__default, {
|
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
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';
|
@@ -22,7 +22,7 @@ type HeadingLevel = {
|
|
22
22
|
};
|
23
23
|
type ExpandableItemProps = HeadingLevel & {
|
24
24
|
value: string;
|
25
|
-
title:
|
25
|
+
title: ReactNode;
|
26
26
|
children?: React.ReactNode;
|
27
27
|
startElement?: React.ReactNode;
|
28
28
|
};
|
@@ -67,7 +67,7 @@ declare const Expandable: React$1.ForwardRefExoticComponent<_chakra_ui_react.Acc
|
|
67
67
|
startElement?: React.ReactNode;
|
68
68
|
showChevron?: boolean;
|
69
69
|
} & {
|
70
|
-
title:
|
70
|
+
title: React$1.ReactNode;
|
71
71
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
72
72
|
/**
|
73
73
|
* An item in a set of Expandables. Must be wrapped in an `<Accordion>` component.
|
package/dist/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as React$1 from 'react';
|
2
|
-
import React__default, {
|
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
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';
|
@@ -22,7 +22,7 @@ type HeadingLevel = {
|
|
22
22
|
};
|
23
23
|
type ExpandableItemProps = HeadingLevel & {
|
24
24
|
value: string;
|
25
|
-
title:
|
25
|
+
title: ReactNode;
|
26
26
|
children?: React.ReactNode;
|
27
27
|
startElement?: React.ReactNode;
|
28
28
|
};
|
@@ -67,7 +67,7 @@ declare const Expandable: React$1.ForwardRefExoticComponent<_chakra_ui_react.Acc
|
|
67
67
|
startElement?: React.ReactNode;
|
68
68
|
showChevron?: boolean;
|
69
69
|
} & {
|
70
|
-
title:
|
70
|
+
title: React$1.ReactNode;
|
71
71
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
72
72
|
/**
|
73
73
|
* An item in a set of Expandables. Must be wrapped in an `<Accordion>` component.
|
package/package.json
CHANGED
package/src/accordion/types.ts
CHANGED
@@ -3,7 +3,7 @@ import {
|
|
3
3
|
Accordion as ChakraAccordion,
|
4
4
|
AccordionRootProps as ChakraAccordionProps,
|
5
5
|
} from "@chakra-ui/react";
|
6
|
-
import { PropsWithChildren } from "react";
|
6
|
+
import { PropsWithChildren, ReactNode } from "react";
|
7
7
|
|
8
8
|
import { accordionSlotRecipe } from "@/theme/slot-recipes/accordion";
|
9
9
|
|
@@ -51,12 +51,12 @@ export type AccordionItemContentProps = ChakraAccordion.ItemContentProps & {
|
|
51
51
|
export type ExpandableProps = AccordionProps &
|
52
52
|
AccordionItemTriggerProps &
|
53
53
|
HeadingLevel & {
|
54
|
-
title:
|
54
|
+
title: ReactNode;
|
55
55
|
};
|
56
56
|
|
57
57
|
export type ExpandableItemProps = HeadingLevel & {
|
58
58
|
value: string;
|
59
|
-
title:
|
59
|
+
title: ReactNode;
|
60
60
|
children?: React.ReactNode;
|
61
61
|
startElement?: React.ReactNode;
|
62
62
|
};
|