@stokelp/ui 1.10.0 → 1.11.0

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.
@@ -13,3 +13,4 @@ export * from './input';
13
13
  export * from './box';
14
14
  export * from './date-picker';
15
15
  export * from './tag';
16
+ export * from './radio-button-group';
@@ -0,0 +1,15 @@
1
+ import { RadioGroup as ArkRadioGroup } from '@ark-ui/react';
2
+ import { ComponentProps, ForwardRefExoticComponent, RefAttributes } from 'react';
3
+ import { ComponentVariants } from '../../utils/slots';
4
+ import { StyledComponent } from '@stokelp/styled-system/jsx';
5
+ import { RadioButtonGroupRecipe } from '@stokelp/styled-system/recipes';
6
+
7
+ export declare const RadioButtonGroup: ComponentVariants<StyledComponent<ForwardRefExoticComponent<ArkRadioGroup.RootProps & RefAttributes<HTMLDivElement>>, {}>, RadioButtonGroupRecipe>;
8
+ export declare const RadioButtonGroupItem: StyledComponent<ForwardRefExoticComponent<Omit<ArkRadioGroup.ItemProps & RefAttributes<HTMLLabelElement>, "ref"> & RefAttributes<HTMLLabelElement>>, {}>;
9
+ export declare const RadioButtonGroupLabel: StyledComponent<ForwardRefExoticComponent<ArkRadioGroup.LabelProps & RefAttributes<HTMLLabelElement>>, {}>;
10
+ export interface RadioButtonGroupProps extends ComponentProps<typeof RadioButtonGroup> {
11
+ }
12
+ export interface RadioButtonGroupItemProps extends ComponentProps<typeof RadioButtonGroupItem> {
13
+ }
14
+ export interface RadioButtonGroupLabelProps extends ComponentProps<typeof RadioButtonGroupLabel> {
15
+ }
@@ -0,0 +1 @@
1
+ export * from './RadioButtonGroup';
@@ -4,7 +4,7 @@ import { select } from '@stokelp/styled-system/recipes';
4
4
  import { HTMLStyledProps, RecipeVariantProps } from '@stokelp/styled-system/types';
5
5
 
6
6
  export type SelectItem = {
7
- value: string;
7
+ value: string | number;
8
8
  label: string;
9
9
  disabled?: boolean;
10
10
  };