@commercetools/nimbus 0.0.7-rc5-experimental → 0.0.7-rc7-experimental
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 +16 -17
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
|
|
3
1
|
import { AccordionItemProps as AccordionItemProps_2 } from './accordion.types';
|
|
4
2
|
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';
|
|
6
7
|
import { AriaButtonProps } from 'react-aria';
|
|
7
8
|
import { AriaCheckboxProps } from 'react-aria';
|
|
8
9
|
import { AriaLinkOptions } from 'react-aria';
|
|
9
10
|
import { AriaToggleButtonGroupProps } from 'react-aria';
|
|
10
11
|
import { AriaToggleButtonProps } from 'react-aria';
|
|
11
12
|
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 } from '@chakra-ui/react';
|
|
33
|
+
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 } from 'react/jsx-runtime';
|
|
@@ -65,7 +65,6 @@ 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 '..';
|
|
69
68
|
import { ThemeProviderProps } from 'next-themes';
|
|
70
69
|
import { ToggleButton } from 'react-aria-components';
|
|
71
70
|
import { ToggleButtonGroup as ToggleButtonGroup_2 } from 'react-aria-components';
|
|
@@ -86,11 +85,11 @@ export declare const Accordion: {
|
|
|
86
85
|
Root: ForwardRefExoticComponent<Omit<DisclosureGroupProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
87
86
|
Item: ForwardRefExoticComponent<AccordionItemProps_2 & {
|
|
88
87
|
children: ReactNode;
|
|
89
|
-
id?: string
|
|
90
|
-
value?: string
|
|
91
|
-
isDisabled?: boolean
|
|
92
|
-
isExpanded?: boolean
|
|
93
|
-
onExpandedChange?: (
|
|
88
|
+
id?: string;
|
|
89
|
+
value?: string;
|
|
90
|
+
isDisabled?: boolean;
|
|
91
|
+
isExpanded?: boolean;
|
|
92
|
+
onExpandedChange?: (isExpanded: boolean) => void;
|
|
94
93
|
} & RefAttributes<HTMLDivElement>>;
|
|
95
94
|
Header: ForwardRefExoticComponent<Omit<DisclosureGroupProps_2, "ref"> & RefAttributes<HTMLButtonElement>>;
|
|
96
95
|
Content: ForwardRefExoticComponent<Omit<DisclosureGroupProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
@@ -169,11 +168,11 @@ panel: {
|
|
|
169
168
|
export declare const Alert: {
|
|
170
169
|
Root: AlertRootComponent_2;
|
|
171
170
|
Title: {
|
|
172
|
-
({ children, ...props }:
|
|
171
|
+
({ children, ...props }: AlertTitleProps_2): null;
|
|
173
172
|
displayName: string;
|
|
174
173
|
};
|
|
175
174
|
Description: {
|
|
176
|
-
({ children, ...props }:
|
|
175
|
+
({ children, ...props }: AlertDescriptionProps_2): null;
|
|
177
176
|
displayName: string;
|
|
178
177
|
};
|
|
179
178
|
Actions: {
|
|
@@ -181,7 +180,7 @@ export declare const Alert: {
|
|
|
181
180
|
displayName: string;
|
|
182
181
|
};
|
|
183
182
|
DismissButton: {
|
|
184
|
-
({ children, ...props }:
|
|
183
|
+
({ children, ...props }: AlertDismissButtonProps_2): null;
|
|
185
184
|
displayName: string;
|
|
186
185
|
};
|
|
187
186
|
};
|
|
@@ -874,7 +873,7 @@ export declare interface GridProps extends GridProps_2 {
|
|
|
874
873
|
|
|
875
874
|
export { Heading }
|
|
876
875
|
|
|
877
|
-
export { Highlight }
|
|
876
|
+
export { Highlight_2 as Highlight }
|
|
878
877
|
|
|
879
878
|
/**
|
|
880
879
|
* IconButton
|
|
@@ -1084,7 +1083,7 @@ declare type LoadingSpinnerVariantProps = LoadingSpinnerRootProps_2 & RecipeVari
|
|
|
1084
1083
|
* - [ARIA Tooltip Pattern](https://www.w3.org/TR/wai-aria-1.2/#tooltip)
|
|
1085
1084
|
*/
|
|
1086
1085
|
export declare const MakeElementFocusable: ForwardRefExoticComponent<FocusableOptions<HTMLElement> & {
|
|
1087
|
-
children?: ReactNode;
|
|
1086
|
+
children?: ReactNode | undefined;
|
|
1088
1087
|
} & RefAttributes<HTMLElement>>;
|
|
1089
1088
|
|
|
1090
1089
|
export declare function NimbusProvider({ children, ...props }: ColorModeProviderProps): JSX.Element;
|
|
@@ -1092,8 +1091,8 @@ export declare function NimbusProvider({ children, ...props }: ColorModeProvider
|
|
|
1092
1091
|
export declare const Select: {
|
|
1093
1092
|
Root: ForwardRefExoticComponent<SelectRootProps_2 & RefAttributes<HTMLDivElement>>;
|
|
1094
1093
|
Options: <T extends object>(props: SelectOptionsProps_2<T> & RefAttributes<HTMLDivElement>) => JSX_2.Element;
|
|
1095
|
-
Option: <
|
|
1096
|
-
OptionGroup: <
|
|
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;
|
|
1097
1096
|
};
|
|
1098
1097
|
|
|
1099
1098
|
export declare const _SelectOption: <T extends object>(props: SelectOptionProps<T> & RefAttributes<HTMLDivElement>) => JSX_2.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools/nimbus",
|
|
3
|
-
"version": "0.0.7-
|
|
3
|
+
"version": "0.0.7-rc7-experimental",
|
|
4
4
|
"main": "./dist/index.cjs",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
"vite-plugin-dts": "^4.5.3",
|
|
75
75
|
"vite-tsconfig-paths": "^5.1.4",
|
|
76
76
|
"vitest": "^3.1.3",
|
|
77
|
-
"@commercetools/nimbus-
|
|
78
|
-
"@commercetools/nimbus-
|
|
77
|
+
"@commercetools/nimbus-icons": "^0.0.4",
|
|
78
|
+
"@commercetools/nimbus-tokens": "^0.0.2"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
81
|
"@chakra-ui/react": "^3.17.0",
|
|
82
82
|
"react": "^19.0.0",
|
|
83
83
|
"react-dom": "^19.0.0",
|
|
84
|
-
"typescript": "5.
|
|
84
|
+
"typescript": "5.x",
|
|
85
85
|
"@commercetools/nimbus-icons": "^0.0.4",
|
|
86
86
|
"@commercetools/nimbus-tokens": "^0.0.2"
|
|
87
87
|
},
|