@commercetools/nimbus 0.0.4-rc8 → 0.0.5-rc1
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.cjs +3 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +7 -6
- package/dist/index.js +1224 -9219
- package/dist/index.js.map +1 -1
- package/package.json +42 -43
package/dist/index.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ import { Highlight as Highlight_2 } from '@chakra-ui/react';
|
|
|
34
34
|
import { HTMLAttributes } from 'react';
|
|
35
35
|
import { HTMLChakraProps } from '@chakra-ui/react';
|
|
36
36
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
37
|
+
import { JSX as JSX_3 } from 'react';
|
|
37
38
|
import { JsxStyleProps } from '@chakra-ui/react';
|
|
38
39
|
import { Kbd } from '@chakra-ui/react';
|
|
39
40
|
import { List } from '@chakra-ui/react';
|
|
@@ -1089,14 +1090,14 @@ export declare function NimbusProvider({ children, ...props }: ColorModeProvider
|
|
|
1089
1090
|
|
|
1090
1091
|
export declare const Select: {
|
|
1091
1092
|
Root: ForwardRefExoticComponent<SelectRootProps_2 & RefAttributes<HTMLDivElement>>;
|
|
1092
|
-
Options: <T extends object>(props: SelectOptionsProps_2<T> & RefAttributes<HTMLDivElement>) =>
|
|
1093
|
-
Option: <T extends object>(props: SelectOptionProps_2<T> & RefAttributes<HTMLDivElement>) =>
|
|
1094
|
-
OptionGroup: <T extends object>(props: SelectOptionGroupProps_2<T> & RefAttributes<HTMLDivElement>) =>
|
|
1093
|
+
Options: <T extends object>(props: SelectOptionsProps_2<T> & RefAttributes<HTMLDivElement>) => JSX_3.Element;
|
|
1094
|
+
Option: <T extends object>(props: SelectOptionProps_2<T> & RefAttributes<HTMLDivElement>) => JSX_3.Element;
|
|
1095
|
+
OptionGroup: <T extends object>(props: SelectOptionGroupProps_2<T> & RefAttributes<HTMLDivElement>) => JSX_3.Element;
|
|
1095
1096
|
};
|
|
1096
1097
|
|
|
1097
|
-
export declare const _SelectOption: <T extends object>(props: SelectOptionProps<T> & RefAttributes<HTMLDivElement>) =>
|
|
1098
|
+
export declare const _SelectOption: <T extends object>(props: SelectOptionProps<T> & RefAttributes<HTMLDivElement>) => JSX_3.Element;
|
|
1098
1099
|
|
|
1099
|
-
export declare const _SelectOptionGroup: <T extends object>(props: SelectOptionGroupProps<T> & RefAttributes<HTMLDivElement>) =>
|
|
1100
|
+
export declare const _SelectOptionGroup: <T extends object>(props: SelectOptionGroupProps<T> & RefAttributes<HTMLDivElement>) => JSX_3.Element;
|
|
1100
1101
|
|
|
1101
1102
|
export declare interface SelectOptionGroupProps<T> extends ListBoxSectionProps<T>, Omit<SelectOptionGroupSlotProps, keyof ListBoxSectionProps<T>> {
|
|
1102
1103
|
/** the label for the section */
|
|
@@ -1109,7 +1110,7 @@ declare interface SelectOptionGroupSlotProps extends HTMLChakraProps<"div"> {
|
|
|
1109
1110
|
export declare interface SelectOptionProps<T> extends Omit<ListBoxItemProps<T>, keyof SelectOptionSlotProps>, SelectOptionSlotProps {
|
|
1110
1111
|
}
|
|
1111
1112
|
|
|
1112
|
-
export declare const _SelectOptions: <T extends object>(props: SelectOptionsProps<T> & RefAttributes<HTMLDivElement>) =>
|
|
1113
|
+
export declare const _SelectOptions: <T extends object>(props: SelectOptionsProps<T> & RefAttributes<HTMLDivElement>) => JSX_3.Element;
|
|
1113
1114
|
|
|
1114
1115
|
declare interface SelectOptionSlotProps extends HTMLChakraProps<"div"> {
|
|
1115
1116
|
}
|