@vygruppen/spor-react 12.4.6 → 12.4.8

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.4.6 build /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.4.8 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
- CJS dist/index.js 310.51 KB
13
+ CJS dist/index.js 310.50 KB
14
14
  CJS dist/icons/index.js 380.00 B
15
- CJS dist/index.js.map 622.22 KB
15
+ CJS dist/index.js.map 621.95 KB
16
16
  CJS dist/icons/index.js.map 157.00 B
17
- CJS ⚡️ Build success in 2607ms
18
- ESM dist/index.mjs 290.17 KB
17
+ CJS ⚡️ Build success in 2782ms
18
+ ESM dist/index.mjs 289.96 KB
19
19
  ESM dist/icons/index.mjs 110.00 B
20
- ESM dist/index.mjs.map 622.22 KB
20
+ ESM dist/index.mjs.map 621.95 KB
21
21
  ESM dist/icons/index.mjs.map 157.00 B
22
- ESM ⚡️ Build success in 2607ms
23
- DTS ⚡️ Build success in 26071ms
22
+ ESM ⚡️ Build success in 2783ms
23
+ DTS ⚡️ Build success in 30215ms
24
24
  DTS dist/icons/index.d.ts 44.00 B
25
- DTS dist/index.d.ts 126.31 KB
25
+ DTS dist/index.d.ts 126.70 KB
26
26
  DTS dist/icons/index.d.mts 44.00 B
27
- DTS dist/index.d.mts 126.31 KB
27
+ DTS dist/index.d.mts 126.70 KB
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.4.6 postinstall /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.4.8 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,18 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 12.4.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 0781619: Remove unnecessary box wrapper from table to allow props to be inserted directly to table root.
8
+
9
+ ## 12.4.7
10
+
11
+ ### Patch Changes
12
+
13
+ - 5b6e4fa: Export ClientOnly and fix types for ProgressBar
14
+ - 727a771: Fix variant type in timepicker
15
+
3
16
  ## 12.4.6
4
17
 
5
18
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -2,7 +2,7 @@ import * as React$1 from 'react';
2
2
  import React__default, { PropsWithChildren, ReactNode } 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, InputProps as InputProps$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, 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, 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, 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';
@@ -672,6 +672,11 @@ type TimePickerProps = Omit<BoxProps, "defaultValue" | "onChange"> & FieldBasePr
672
672
  minuteInterval?: number;
673
673
  /** Whether or not the field is disabled */
674
674
  disabled?: boolean;
675
+ /**
676
+ * The variant of the time picker.
677
+ * Defaults to "core".
678
+ */
679
+ variant?: "core" | "floating" | "ghost";
675
680
  };
676
681
  /** A time picker component.
677
682
  *
@@ -2482,7 +2487,7 @@ declare const progressBarRecipe: _chakra_ui_react.SlotRecipeDefinition<"descript
2482
2487
 
2483
2488
  type ProgressBarVariants = RecipeVariantProps<typeof progressBarRecipe>;
2484
2489
  type ProgressBarProps = BoxProps & UseProgressProps & PropsWithChildren<ProgressBarVariants> & {
2485
- children: React__default.ReactNode;
2490
+ children?: React__default.ReactNode;
2486
2491
  /** The height of the progress bar.
2487
2492
  * Defaults to .5rem
2488
2493
  **/
@@ -2493,12 +2498,12 @@ type ProgressBarProps = BoxProps & UseProgressProps & PropsWithChildren<Progress
2493
2498
  **/
2494
2499
  width?: BoxProps["width"];
2495
2500
  /** Pass if no label is passed to the label */
2496
- "aria-label": string;
2501
+ "aria-label"?: string;
2497
2502
  /** Optional text shown below the loader.
2498
2503
  *
2499
2504
  * If you pass an array of strings, the text will rotate every 5 seconds. If you want to change the delay, pass the delay in milliseconds to the `labelRotationDelay` prop.
2500
2505
  */
2501
- label: string | string[];
2506
+ label?: string | string[];
2502
2507
  /** The number of milliseconds a label is shown, if an array of strings is passed to the `label` prop.
2503
2508
  *
2504
2509
  * Defaults to 5000 (5 seconds).
@@ -2539,7 +2544,7 @@ type ProgressBarProps = BoxProps & UseProgressProps & PropsWithChildren<Progress
2539
2544
  declare const ProgressBar: React__default.ForwardRefExoticComponent<BoxProps & UseProgressProps & {
2540
2545
  children?: React__default.ReactNode | undefined;
2541
2546
  } & {
2542
- children: React__default.ReactNode;
2547
+ children?: React__default.ReactNode;
2543
2548
  /** The height of the progress bar.
2544
2549
  * Defaults to .5rem
2545
2550
  **/
@@ -2550,12 +2555,12 @@ declare const ProgressBar: React__default.ForwardRefExoticComponent<BoxProps & U
2550
2555
  **/
2551
2556
  width?: BoxProps["width"];
2552
2557
  /** Pass if no label is passed to the label */
2553
- "aria-label": string;
2558
+ "aria-label"?: string;
2554
2559
  /** Optional text shown below the loader.
2555
2560
  *
2556
2561
  * If you pass an array of strings, the text will rotate every 5 seconds. If you want to change the delay, pass the delay in milliseconds to the `labelRotationDelay` prop.
2557
2562
  */
2558
- label: string | string[];
2563
+ label?: string | string[];
2559
2564
  /** The number of milliseconds a label is shown, if an array of strings is passed to the `label` prop.
2560
2565
  *
2561
2566
  * Defaults to 5000 (5 seconds).
@@ -3315,16 +3320,17 @@ declare const tableSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "b
3315
3320
  backgroundColor: "none";
3316
3321
  };
3317
3322
  columnHeader: {
3318
- borderLeft: "none";
3319
3323
  borderBottom: "sm";
3320
3324
  borderColor: "outline.disabled";
3321
3325
  backgroundColor: "none";
3322
3326
  color: "text";
3323
3327
  };
3324
3328
  cell: {
3325
- _first: {
3326
- borderLeft: "none";
3329
+ "&[data-is-numeric=true]": {
3330
+ textAlign: string;
3327
3331
  };
3332
+ };
3333
+ row: {
3328
3334
  "&[data-is-numeric=true]": {
3329
3335
  textAlign: string;
3330
3336
  };
@@ -3333,35 +3339,41 @@ declare const tableSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "b
3333
3339
  };
3334
3340
  };
3335
3341
  core: {
3342
+ root: {
3343
+ boxShadow: "0 0 0 1px var(--shadow-color)";
3344
+ shadowColor: "outline.disabled";
3345
+ borderRadius: "sm";
3346
+ };
3336
3347
  table: {
3337
- borderRadius: "md";
3338
3348
  overflow: "hidden";
3339
- border: "sm";
3340
- borderColor: "outline.disabled";
3341
3349
  };
3342
3350
  cell: {
3343
- _first: {
3344
- borderLeft: "none";
3351
+ borderRight: "sm";
3352
+ borderColor: "outline.disabled";
3353
+ _last: {
3354
+ borderRight: "none";
3345
3355
  };
3346
3356
  "&[data-is-numeric=true]": {
3347
3357
  textAlign: string;
3348
3358
  };
3349
- borderLeft: "sm";
3350
- borderColor: "outline.disabled";
3351
- };
3352
- header: {
3353
- border: "none";
3354
3359
  };
3355
3360
  columnHeader: {
3361
+ borderRight: "sm";
3362
+ borderColor: "outline.disabled";
3356
3363
  _first: {
3357
- borderLeft: "none";
3364
+ borderTopLeftRadius: "sm";
3365
+ };
3366
+ _last: {
3367
+ borderTopRightRadius: "sm";
3368
+ borderRight: "none";
3358
3369
  };
3359
3370
  "&[data-is-numeric=true]": {
3360
3371
  textAlign: string;
3361
3372
  };
3373
+ };
3374
+ header: {
3362
3375
  borderBottom: "sm";
3363
- borderLeft: "sm";
3364
- borderLeftColor: "outline.disabled";
3376
+ borderColor: "outline.disabled";
3365
3377
  };
3366
3378
  row: {
3367
3379
  borderBottom: "sm";
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as React$1 from 'react';
2
2
  import React__default, { PropsWithChildren, ReactNode } 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, InputProps as InputProps$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, 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, 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, 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';
@@ -672,6 +672,11 @@ type TimePickerProps = Omit<BoxProps, "defaultValue" | "onChange"> & FieldBasePr
672
672
  minuteInterval?: number;
673
673
  /** Whether or not the field is disabled */
674
674
  disabled?: boolean;
675
+ /**
676
+ * The variant of the time picker.
677
+ * Defaults to "core".
678
+ */
679
+ variant?: "core" | "floating" | "ghost";
675
680
  };
676
681
  /** A time picker component.
677
682
  *
@@ -2482,7 +2487,7 @@ declare const progressBarRecipe: _chakra_ui_react.SlotRecipeDefinition<"descript
2482
2487
 
2483
2488
  type ProgressBarVariants = RecipeVariantProps<typeof progressBarRecipe>;
2484
2489
  type ProgressBarProps = BoxProps & UseProgressProps & PropsWithChildren<ProgressBarVariants> & {
2485
- children: React__default.ReactNode;
2490
+ children?: React__default.ReactNode;
2486
2491
  /** The height of the progress bar.
2487
2492
  * Defaults to .5rem
2488
2493
  **/
@@ -2493,12 +2498,12 @@ type ProgressBarProps = BoxProps & UseProgressProps & PropsWithChildren<Progress
2493
2498
  **/
2494
2499
  width?: BoxProps["width"];
2495
2500
  /** Pass if no label is passed to the label */
2496
- "aria-label": string;
2501
+ "aria-label"?: string;
2497
2502
  /** Optional text shown below the loader.
2498
2503
  *
2499
2504
  * If you pass an array of strings, the text will rotate every 5 seconds. If you want to change the delay, pass the delay in milliseconds to the `labelRotationDelay` prop.
2500
2505
  */
2501
- label: string | string[];
2506
+ label?: string | string[];
2502
2507
  /** The number of milliseconds a label is shown, if an array of strings is passed to the `label` prop.
2503
2508
  *
2504
2509
  * Defaults to 5000 (5 seconds).
@@ -2539,7 +2544,7 @@ type ProgressBarProps = BoxProps & UseProgressProps & PropsWithChildren<Progress
2539
2544
  declare const ProgressBar: React__default.ForwardRefExoticComponent<BoxProps & UseProgressProps & {
2540
2545
  children?: React__default.ReactNode | undefined;
2541
2546
  } & {
2542
- children: React__default.ReactNode;
2547
+ children?: React__default.ReactNode;
2543
2548
  /** The height of the progress bar.
2544
2549
  * Defaults to .5rem
2545
2550
  **/
@@ -2550,12 +2555,12 @@ declare const ProgressBar: React__default.ForwardRefExoticComponent<BoxProps & U
2550
2555
  **/
2551
2556
  width?: BoxProps["width"];
2552
2557
  /** Pass if no label is passed to the label */
2553
- "aria-label": string;
2558
+ "aria-label"?: string;
2554
2559
  /** Optional text shown below the loader.
2555
2560
  *
2556
2561
  * If you pass an array of strings, the text will rotate every 5 seconds. If you want to change the delay, pass the delay in milliseconds to the `labelRotationDelay` prop.
2557
2562
  */
2558
- label: string | string[];
2563
+ label?: string | string[];
2559
2564
  /** The number of milliseconds a label is shown, if an array of strings is passed to the `label` prop.
2560
2565
  *
2561
2566
  * Defaults to 5000 (5 seconds).
@@ -3315,16 +3320,17 @@ declare const tableSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "b
3315
3320
  backgroundColor: "none";
3316
3321
  };
3317
3322
  columnHeader: {
3318
- borderLeft: "none";
3319
3323
  borderBottom: "sm";
3320
3324
  borderColor: "outline.disabled";
3321
3325
  backgroundColor: "none";
3322
3326
  color: "text";
3323
3327
  };
3324
3328
  cell: {
3325
- _first: {
3326
- borderLeft: "none";
3329
+ "&[data-is-numeric=true]": {
3330
+ textAlign: string;
3327
3331
  };
3332
+ };
3333
+ row: {
3328
3334
  "&[data-is-numeric=true]": {
3329
3335
  textAlign: string;
3330
3336
  };
@@ -3333,35 +3339,41 @@ declare const tableSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "b
3333
3339
  };
3334
3340
  };
3335
3341
  core: {
3342
+ root: {
3343
+ boxShadow: "0 0 0 1px var(--shadow-color)";
3344
+ shadowColor: "outline.disabled";
3345
+ borderRadius: "sm";
3346
+ };
3336
3347
  table: {
3337
- borderRadius: "md";
3338
3348
  overflow: "hidden";
3339
- border: "sm";
3340
- borderColor: "outline.disabled";
3341
3349
  };
3342
3350
  cell: {
3343
- _first: {
3344
- borderLeft: "none";
3351
+ borderRight: "sm";
3352
+ borderColor: "outline.disabled";
3353
+ _last: {
3354
+ borderRight: "none";
3345
3355
  };
3346
3356
  "&[data-is-numeric=true]": {
3347
3357
  textAlign: string;
3348
3358
  };
3349
- borderLeft: "sm";
3350
- borderColor: "outline.disabled";
3351
- };
3352
- header: {
3353
- border: "none";
3354
3359
  };
3355
3360
  columnHeader: {
3361
+ borderRight: "sm";
3362
+ borderColor: "outline.disabled";
3356
3363
  _first: {
3357
- borderLeft: "none";
3364
+ borderTopLeftRadius: "sm";
3365
+ };
3366
+ _last: {
3367
+ borderTopRightRadius: "sm";
3368
+ borderRight: "none";
3358
3369
  };
3359
3370
  "&[data-is-numeric=true]": {
3360
3371
  textAlign: string;
3361
3372
  };
3373
+ };
3374
+ header: {
3362
3375
  borderBottom: "sm";
3363
- borderLeft: "sm";
3364
- borderLeftColor: "outline.disabled";
3376
+ borderColor: "outline.disabled";
3365
3377
  };
3366
3378
  row: {
3367
3379
  borderBottom: "sm";
package/dist/index.js CHANGED
@@ -6238,15 +6238,11 @@ var tableSlotRecipe = react.defineSlotRecipe({
6238
6238
  columnHeader: {
6239
6239
  fontWeight: "bold",
6240
6240
  textAlign: "start",
6241
- borderBottom: "sm",
6242
- borderColor: "outline.disabled",
6243
6241
  ...numericStyles,
6244
6242
  paddingX: 1.5,
6245
6243
  paddingY: 1
6246
6244
  },
6247
6245
  row: {
6248
- borderBottom: "sm",
6249
- borderColor: "outline.disabled",
6250
6246
  ...numericStyles
6251
6247
  },
6252
6248
  cell: {
@@ -6300,48 +6296,53 @@ var tableSlotRecipe = react.defineSlotRecipe({
6300
6296
  backgroundColor: "none"
6301
6297
  },
6302
6298
  columnHeader: {
6303
- borderLeft: "none",
6304
6299
  borderBottom: "sm",
6305
6300
  borderColor: "outline.disabled",
6306
6301
  backgroundColor: "none",
6307
6302
  color: "text"
6308
6303
  },
6309
6304
  cell: {
6305
+ ...numericStyles
6306
+ },
6307
+ row: {
6310
6308
  borderBottom: "sm",
6311
6309
  borderColor: "outline.disabled",
6312
- ...numericStyles,
6313
- _first: {
6314
- borderLeft: "none"
6315
- }
6310
+ ...numericStyles
6316
6311
  }
6317
6312
  },
6318
6313
  core: {
6314
+ root: {
6315
+ boxShadow: "0 0 0 1px var(--shadow-color)",
6316
+ shadowColor: "outline.disabled",
6317
+ borderRadius: "sm"
6318
+ },
6319
6319
  table: {
6320
- borderRadius: "md",
6321
- overflow: "hidden",
6322
- border: "sm",
6323
- borderColor: "outline.disabled"
6320
+ overflow: "hidden"
6324
6321
  },
6325
6322
  cell: {
6326
- borderLeft: "sm",
6327
- borderColor: "outline.disabled",
6328
6323
  ...numericStyles,
6329
- _first: {
6330
- borderLeft: "none"
6324
+ borderRight: "sm",
6325
+ borderColor: "outline.disabled",
6326
+ _last: {
6327
+ borderRight: "none"
6331
6328
  }
6332
6329
  },
6333
- header: {
6334
- border: "none"
6335
- },
6336
6330
  columnHeader: {
6337
- borderBottom: "sm",
6338
- borderLeft: "sm",
6339
- borderLeftColor: "outline.disabled",
6340
6331
  ...numericStyles,
6332
+ borderRight: "sm",
6333
+ borderColor: "outline.disabled",
6341
6334
  _first: {
6342
- borderLeft: "none"
6335
+ borderTopLeftRadius: "sm"
6336
+ },
6337
+ _last: {
6338
+ borderTopRightRadius: "sm",
6339
+ borderRight: "none"
6343
6340
  }
6344
6341
  },
6342
+ header: {
6343
+ borderBottom: "sm",
6344
+ borderColor: "outline.disabled"
6345
+ },
6345
6346
  row: {
6346
6347
  ...numericStyles,
6347
6348
  borderBottom: "sm",
@@ -6417,7 +6418,7 @@ var Table = React28.forwardRef((props, ref) => {
6417
6418
  const { variant = "ghost", size, colorPalette = "green", children } = props;
6418
6419
  const recipe = react.useSlotRecipe({ recipe: tableSlotRecipe });
6419
6420
  const styles = recipe({ variant, size });
6420
- return /* @__PURE__ */ jsxRuntime.jsx(react.Box, { overflowX: "auto", role: "region", ...getStyleProps(props), ...props, children: /* @__PURE__ */ jsxRuntime.jsx(
6421
+ return /* @__PURE__ */ jsxRuntime.jsx(
6421
6422
  react.Table.Root,
6422
6423
  {
6423
6424
  variant,
@@ -6425,18 +6426,12 @@ var Table = React28.forwardRef((props, ref) => {
6425
6426
  colorPalette,
6426
6427
  css: styles,
6427
6428
  ref,
6429
+ ...props,
6428
6430
  children
6429
6431
  }
6430
- ) });
6432
+ );
6431
6433
  });
6432
6434
  Table.displayName = "Table";
6433
- function getStyleProps(props) {
6434
- return props.variant === "core" ? {
6435
- borderRadius: "sm",
6436
- border: "sm",
6437
- borderColor: "outline.disabled"
6438
- } : {};
6439
- }
6440
6435
  var buttonRecipe = react.defineRecipe({
6441
6436
  className: "spor-button",
6442
6437
  base: {
@@ -10546,6 +10541,10 @@ Object.defineProperty(exports, "Center", {
10546
10541
  enumerable: true,
10547
10542
  get: function () { return react.Center; }
10548
10543
  });
10544
+ Object.defineProperty(exports, "ClientOnly", {
10545
+ enumerable: true,
10546
+ get: function () { return react.ClientOnly; }
10547
+ });
10549
10548
  Object.defineProperty(exports, "Collapsible", {
10550
10549
  enumerable: true,
10551
10550
  get: function () { return react.Collapsible; }
@@ -10638,6 +10637,10 @@ Object.defineProperty(exports, "TableColumn", {
10638
10637
  enumerable: true,
10639
10638
  get: function () { return react.TableColumn; }
10640
10639
  });
10640
+ Object.defineProperty(exports, "TableColumnGroup", {
10641
+ enumerable: true,
10642
+ get: function () { return react.TableColumnGroup; }
10643
+ });
10641
10644
  Object.defineProperty(exports, "TableColumnHeader", {
10642
10645
  enumerable: true,
10643
10646
  get: function () { return react.TableColumnHeader; }