@commercetools/nimbus 0.0.5-rc4 → 0.0.5-rc7

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
@@ -63,6 +63,15 @@ import { SlotRecipeDefinition } from '@chakra-ui/react';
63
63
  import { StackProps as StackProps_2 } from '@chakra-ui/react';
64
64
  import { SystemContext } from '@chakra-ui/react';
65
65
  import { Table } from '@chakra-ui/react';
66
+ import { Tag } from 'react-aria-components';
67
+ import { TagGroup as TagGroup_2 } from 'react-aria-components';
68
+ import { TagGroupProps as TagGroupProps_2 } from 'react-aria-components';
69
+ import { TagGroupRootComponent as TagGroupRootComponent_2 } from './tag-group.types';
70
+ import { TagGroupTagComponent as TagGroupTagComponent_2 } from './tag-group.types';
71
+ import { TagGroupTagListComponent as TagGroupTagListComponent_2 } from './tag-group.types';
72
+ import { TagList } from 'react-aria-components';
73
+ import { TagListProps } from 'react-aria-components';
74
+ import { TagProps } from 'react-aria-components';
66
75
  import { TextFieldProps } from 'react-aria-components';
67
76
  import { TextProps as TextProps_2 } from '@chakra-ui/react';
68
77
  import { ThemeProviderProps } from 'next-themes';
@@ -850,7 +859,7 @@ declare interface FormFieldRootSlotProps extends HTMLChakraProps<"div", RecipeVa
850
859
  declare type FunctionalAvatarProps = AvatarRootProps & AvatarComponentProps;
851
860
 
852
861
  /** combine chakra-button props with aria-button props */
853
- declare type FunctionalButtonProps = ButtonRootProps & AriaButtonProps & {
862
+ declare type FunctionalButtonProps = AriaButtonProps & Omit<ButtonRootProps, keyof AriaButtonProps> & {
854
863
  [key: `data-${string}`]: unknown;
855
864
  };
856
865
 
@@ -1247,6 +1256,78 @@ export declare const TableRow: (props: TableRowProps) => JSX_2.Element;
1247
1256
 
1248
1257
  export declare type TableRowProps = React.ComponentProps<typeof Table.Row>;
1249
1258
 
1259
+ /**
1260
+ * TagGroup
1261
+ * ============================================================
1262
+ * A tag group is a focusable list of labels, categories, keywords, filters, or other items, with support for keyboard navigation, selection, and removal.
1263
+ *
1264
+ */
1265
+ export declare const TagGroup: {
1266
+ Root: TagGroupRootComponent_2;
1267
+ TagList: TagGroupTagListComponent_2<object>;
1268
+ Tag: TagGroupTagComponent_2;
1269
+ };
1270
+
1271
+ /** Final external props for the `<TagGroup>` component, including `children`. */
1272
+ export declare type TagGroupProps = PropsWithChildren<TagGroupRootProps>;
1273
+
1274
+ /** Type signature for the main `TagGroup` component (using `forwardRef`). */
1275
+ export declare type TagGroupRootComponent = ForwardRefExoticComponent<TagGroupRootProps & RefAttributes<typeof TagGroup_2>>;
1276
+
1277
+ /** Combined props for the root element (Chakra styles + Aria behavior + Recipe variants). */
1278
+ declare type TagGroupRootProps = TagGroupRootSlotProps & TagGroupProps_2 & RecipeVariantProps<typeof tagGroupSlotRecipe>;
1279
+
1280
+ /** Base Chakra styling props for the root `div` slot. */
1281
+ declare type TagGroupRootSlotProps = HTMLChakraProps<"div", RecipeProps<"div">>;
1282
+
1283
+ /**
1284
+ * Recipe configuration for the TagGroup component.
1285
+ * Defines the styling variants and base styles using Chakra UI's recipe system.
1286
+ */
1287
+ declare const tagGroupSlotRecipe: SlotRecipeDefinition<"root" | "tagList" | "tag", {
1288
+ size: {
1289
+ sm: {
1290
+ tag: {
1291
+ maxH: "3600";
1292
+ paddingX: "200";
1293
+ fontSize: "350";
1294
+ lineHeight: "400";
1295
+ };
1296
+ };
1297
+ md: {
1298
+ tag: {
1299
+ maxH: "3800";
1300
+ paddingX: "200";
1301
+ paddingY: "100";
1302
+ };
1303
+ };
1304
+ lg: {
1305
+ tag: {
1306
+ maxH: "4000";
1307
+ padding: "200";
1308
+ };
1309
+ };
1310
+ };
1311
+ }>;
1312
+
1313
+ /** Type signature for the `TagGroup.Tag` sub-component (using `forwardRef`). */
1314
+ export declare type TagGroupTagComponent = ForwardRefExoticComponent<TagGroupTagProps & RefAttributes<typeof Tag>>;
1315
+
1316
+ /** Type signature for the `TagGroup.TagList` sub-component (using `forwardRef`). */
1317
+ export declare type TagGroupTagListComponent<T extends object> = ForwardRefExoticComponent<TagGroupTagListProps<T> & RefAttributes<typeof TagList>>;
1318
+
1319
+ /** Combined props for the tagList element (Chakra styles + Aria behavior + Recipe variants). */
1320
+ export declare type TagGroupTagListProps<T extends object> = TagListProps<T> & Omit<TagGroupTagListSlotProps, keyof TagListProps<T>>;
1321
+
1322
+ /** Base Chakra styling props for the root `div` slot. */
1323
+ declare type TagGroupTagListSlotProps = HTMLChakraProps<"div", RecipeProps<"div">>;
1324
+
1325
+ /** Combined props for the tag element (Chakra styles + Aria behavior + Recipe variants). */
1326
+ export declare type TagGroupTagProps = TagProps & Omit<TagGroupTagSlotProps, keyof TagProps>;
1327
+
1328
+ /** Base Chakra styling props for the root `div` slot. */
1329
+ declare type TagGroupTagSlotProps = HTMLChakraProps<"div", RecipeProps<"div">>;
1330
+
1250
1331
  /**
1251
1332
  * Render Text
1252
1333
  *
@@ -1429,6 +1510,8 @@ export declare function useColorMode(): {
1429
1510
 
1430
1511
  export declare function useColorModeValue<T>(light: T, dark: T): T;
1431
1512
 
1513
+ export declare function useColorScheme(): string;
1514
+
1432
1515
  export { useCopyToClipboard }
1433
1516
 
1434
1517
  export { useHotkeys }