@commercetools/nimbus 0.0.7-rc3 → 0.0.7-rc4

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/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
+ /// <reference types="react" />
2
+
1
3
  import { AccordionItemProps as AccordionItemProps_2 } from './accordion.types';
2
4
  import { AlertActionsProps as AlertActionsProps_2 } from './alert.types';
3
- import { AlertDescriptionProps as AlertDescriptionProps_2 } from './alert.types';
4
- import { AlertDismissButtonProps as AlertDismissButtonProps_2 } from './alert.types';
5
5
  import { AlertRootComponent as AlertRootComponent_2 } from './alert.types';
6
- import { AlertTitleProps as AlertTitleProps_2 } from './alert.types';
7
6
  import { AriaButtonProps } from 'react-aria';
8
7
  import { AriaCheckboxProps } from 'react-aria';
9
8
  import { AriaLinkOptions } from 'react-aria';
10
9
  import { AriaToggleButtonGroupProps } from 'react-aria';
11
10
  import { AriaToggleButtonProps } from 'react-aria';
12
11
  import { Bleed } from '@chakra-ui/react';
12
+ import { ButtonProps as ButtonProps_2 } from '..';
13
13
  import { CardContentProps as CardContentProps_2 } from './card.slots';
14
14
  import { CardHeaderProps as CardHeaderProps_2 } from './card.slots';
15
15
  import { CardProps as CardProps_2 } from './card.types';
@@ -30,7 +30,7 @@ import { ForwardRefExoticComponent } from 'react';
30
30
  import { GridItemProps } from '@chakra-ui/react';
31
31
  import { GridProps as GridProps_2 } from '@chakra-ui/react';
32
32
  import { Heading } from '@chakra-ui/react';
33
- import { Highlight as Highlight_2 } from '@chakra-ui/react';
33
+ import { Highlight } from '@chakra-ui/react';
34
34
  import { HTMLAttributes } from 'react';
35
35
  import { HTMLChakraProps } from '@chakra-ui/react';
36
36
  import { JSX } from 'react/jsx-runtime';
@@ -65,6 +65,7 @@ import { SystemContext } from '@chakra-ui/react';
65
65
  import { Table } from '@chakra-ui/react';
66
66
  import { TextFieldProps } from 'react-aria-components';
67
67
  import { TextProps as TextProps_2 } from '@chakra-ui/react';
68
+ import { TextProps as TextProps_3 } from '..';
68
69
  import { ThemeProviderProps } from 'next-themes';
69
70
  import { ToggleButton } from 'react-aria-components';
70
71
  import { ToggleButtonGroup as ToggleButtonGroup_2 } from 'react-aria-components';
@@ -85,11 +86,11 @@ export declare const Accordion: {
85
86
  Root: ForwardRefExoticComponent<Omit<DisclosureGroupProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
86
87
  Item: ForwardRefExoticComponent<AccordionItemProps_2 & {
87
88
  children: ReactNode;
88
- id?: string;
89
- value?: string;
90
- isDisabled?: boolean;
91
- isExpanded?: boolean;
92
- onExpandedChange?: (isExpanded: boolean) => void;
89
+ id?: string | undefined;
90
+ value?: string | undefined;
91
+ isDisabled?: boolean | undefined;
92
+ isExpanded?: boolean | undefined;
93
+ onExpandedChange?: ((isExpanded: boolean) => void) | undefined;
93
94
  } & RefAttributes<HTMLDivElement>>;
94
95
  Header: ForwardRefExoticComponent<Omit<DisclosureGroupProps_2, "ref"> & RefAttributes<HTMLButtonElement>>;
95
96
  Content: ForwardRefExoticComponent<Omit<DisclosureGroupProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
@@ -168,11 +169,11 @@ panel: {
168
169
  export declare const Alert: {
169
170
  Root: AlertRootComponent_2;
170
171
  Title: {
171
- ({ children, ...props }: AlertTitleProps_2): null;
172
+ ({ children, ...props }: TextProps_3): null;
172
173
  displayName: string;
173
174
  };
174
175
  Description: {
175
- ({ children, ...props }: AlertDescriptionProps_2): null;
176
+ ({ children, ...props }: TextProps_3): null;
176
177
  displayName: string;
177
178
  };
178
179
  Actions: {
@@ -180,7 +181,7 @@ export declare const Alert: {
180
181
  displayName: string;
181
182
  };
182
183
  DismissButton: {
183
- ({ children, ...props }: AlertDismissButtonProps_2): null;
184
+ ({ children, ...props }: ButtonProps_2): null;
184
185
  displayName: string;
185
186
  };
186
187
  };
@@ -873,7 +874,7 @@ export declare interface GridProps extends GridProps_2 {
873
874
 
874
875
  export { Heading }
875
876
 
876
- export { Highlight_2 as Highlight }
877
+ export { Highlight }
877
878
 
878
879
  /**
879
880
  * IconButton
@@ -1083,7 +1084,7 @@ declare type LoadingSpinnerVariantProps = LoadingSpinnerRootProps_2 & RecipeVari
1083
1084
  * - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)
1084
1085
  */
1085
1086
  export declare const MakeElementFocusable: ForwardRefExoticComponent<FocusableOptions<HTMLElement> & {
1086
- children?: ReactNode | undefined;
1087
+ children?: ReactNode;
1087
1088
  } & RefAttributes<HTMLElement>>;
1088
1089
 
1089
1090
  export declare function NimbusProvider({ children, ...props }: ColorModeProviderProps): JSX.Element;
@@ -1091,8 +1092,8 @@ export declare function NimbusProvider({ children, ...props }: ColorModeProvider
1091
1092
  export declare const Select: {
1092
1093
  Root: ForwardRefExoticComponent<SelectRootProps_2 & RefAttributes<HTMLDivElement>>;
1093
1094
  Options: <T extends object>(props: SelectOptionsProps_2<T> & RefAttributes<HTMLDivElement>) => JSX_2.Element;
1094
- Option: <T extends object>(props: SelectOptionProps_2<T> & RefAttributes<HTMLDivElement>) => JSX_2.Element;
1095
- OptionGroup: <T extends object>(props: SelectOptionGroupProps_2<T> & RefAttributes<HTMLDivElement>) => JSX_2.Element;
1095
+ Option: <T_1 extends object>(props: SelectOptionProps_2<T_1> & RefAttributes<HTMLDivElement>) => JSX_2.Element;
1096
+ OptionGroup: <T_2 extends object>(props: SelectOptionGroupProps_2<T_2> & RefAttributes<HTMLDivElement>) => JSX_2.Element;
1096
1097
  };
1097
1098
 
1098
1099
  export declare const _SelectOption: <T extends object>(props: SelectOptionProps<T> & RefAttributes<HTMLDivElement>) => JSX_2.Element;