@nimbus-ds/components 5.54.1 → 5.56.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.
package/dist/index.d.ts CHANGED
@@ -2350,8 +2350,15 @@ declare const propertiesTable: {
2350
2350
  none: string;
2351
2351
  };
2352
2352
  };
2353
+ declare const propertiesWrapper: {
2354
+ borderRadius: {
2355
+ none: string;
2356
+ "2": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2357
+ };
2358
+ };
2353
2359
  export type TablePaddingProperties = keyof typeof propertiesTable.padding;
2354
2360
  export type TableRowBackgroundColorProperties = keyof typeof propertiesTable.backgroundColor;
2361
+ export type TableBorderRadiusProperties = keyof typeof propertiesWrapper.borderRadius;
2355
2362
  export interface TableConditions<T> extends Conditions<T> {
2356
2363
  rest?: T;
2357
2364
  focus?: T;
@@ -2380,6 +2387,14 @@ export interface TableSprinkle {
2380
2387
  */
2381
2388
  padding?: TablePaddingProperties | TableConditions<TablePaddingProperties>;
2382
2389
  }
2390
+ export interface TableWrapperSprinkle {
2391
+ /**
2392
+ * Controls the border radius of the table wrapper.
2393
+ * Use "none" for no border radius or "2" for the default token value.
2394
+ * @default "2"
2395
+ */
2396
+ borderRadius?: TableBorderRadiusProperties;
2397
+ }
2383
2398
  export interface BoxProperties extends BoxSprinkle {
2384
2399
  /**
2385
2400
  * Element to be rendered inside the Box component.
@@ -3525,12 +3540,25 @@ export interface DividerProperties {
3525
3540
  * Visual appearance color.
3526
3541
  * @default neutral
3527
3542
  */
3528
- appearance?: "neutral";
3543
+ appearance?: "neutral" | "primary";
3529
3544
  /**
3530
3545
  * Thickness level based on shape.border.width tokens.
3531
3546
  * @default 1
3532
3547
  */
3533
3548
  thickness?: 1 | 2 | 3;
3549
+ /**
3550
+ * CSS width of the divider. Applies to horizontal orientation only.
3551
+ * @default "100%"
3552
+ */
3553
+ width?: string;
3554
+ /**
3555
+ * CSS margin-left applied to the divider.
3556
+ */
3557
+ marginLeft?: string;
3558
+ /**
3559
+ * CSS margin-right applied to the divider.
3560
+ */
3561
+ marginRight?: string;
3534
3562
  }
3535
3563
  export type DividerProps = DividerProperties & HTMLAttributes<HTMLHRElement>;
3536
3564
  export declare const Divider: React.FC<DividerProps>;
@@ -4404,7 +4432,7 @@ export interface TableColumnLayout {
4404
4432
  */
4405
4433
  fixed?: "left" | "right";
4406
4434
  }
4407
- export interface TableProperties {
4435
+ export interface TableProperties extends TableWrapperSprinkle {
4408
4436
  /**
4409
4437
  * The content of the table.
4410
4438
  * @TJS-type React.ReactNode