@nimbus-ds/components 5.54.1 → 5.55.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.
@@ -4404,7 +4419,7 @@ export interface TableColumnLayout {
4404
4419
  */
4405
4420
  fixed?: "left" | "right";
4406
4421
  }
4407
- export interface TableProperties {
4422
+ export interface TableProperties extends TableWrapperSprinkle {
4408
4423
  /**
4409
4424
  * The content of the table.
4410
4425
  * @TJS-type React.ReactNode